Allegro is a cross-platform, open source, game programming library, primarily for C and C++ developers.

learn more… | top users | synonyms

-1
votes
3answers
508 views

How can I have multiple layers in my map array?

How do I load Levels in my game, as in Layer 1 would be Objects, Layer 2 would be Characters and so on. I only need 3 layers, and they will all be put on top of each other. i.e having a flower with a ...
3
votes
1answer
213 views

How to solve the big video memory requirements in 2d game

We are developing 2d game (Factorio) in allegro C/C++ and we are facing the problem with increasing video memory requirements as the game content increases. What we currently do is, that we gather ...
1
vote
0answers
239 views

Full screen shader causes performance hit

I basically want to have a shader run that can do something like toon shading, or grayscale the whole screen, or radial lighting. To do this, I create a new bitmap each time the display resizes that ...