I have a problem with my Allegro 5 code. It has three, sections, a section that checks for inputs, then a section that runs every 1/30th of a second w ...
I have a problem with my Allegro 5 code. It has three, sections, a section that checks for inputs, then a section that runs every 1/30th of a second w ...
First attempt: Second attempt: I've googled and tried my own code as you can see above... However using this multi-leveled loop is very slow. My ...
I'm making a project in C, with Allegro 5 library. I got some skins for my snake, but I want to make something better, like user-styled skin. And I th ...
I'm trying to learn how to use the Allegro 5 game programming library. I'm wondering how I can find out which library functions are threadsafe. I unde ...
i try to compile my allegro 5 program but i get this for some reason i want to make sort of an engine like structure so i made an app class to make i ...
I'm trying to create an event queue in Allegro using ALLEGRO_EVENT_QUEUE but I get an error of infringement for trying to read a location 0x0000. This ...
I'm new in allegro and trying to make a small, very basic painting program. I want this program to stop painting when in the area from A(0, 0) to B(10 ...
I wrote the following code to implement a periodic thread terminated when someone presses escape. The result is a periodic thread that continues also ...
I am trying to configure compilation of a project in NetBeans. I downloaded the latest version of the library assembly from GitHub. Unpacked to the ...
I using two bitmaps, image (subbitmap) and grid (main bitmap) Until here it is all going well, but If I draw directly to image(subbitmapt) then I n ...
When I initialize Allegro, I draw a 2D table that its cells will change white/black during the program Before the while loop it initialize the 2D d ...
I am experiencing the following problem: I am able to compile my allegro application with a make file without errors, however when I run the ./file I ...
I am trying to make a text box in allegro and need a way of getting the ascii keycodes from the key presses. The ev.type == ALLEGRO_EVENT_KEY_DOWN doe ...
I created a class for a type of enemy using allegro4 and C++; in this class I have a function that makes move a sprite, like this: The problem is t ...
So I am trying to make a game that has collation in it and I have been trying and looking for what works for me. This is the class.cpp file and I ...
I'm trying to make simple games, because I want to teach design patterns and lot of things. But I and my students are using VS2017 and I'd seen that a ...
I'm developing a 2D game using C with Allegro 5. Right now, I'm coding the movement of an in-game enemy, a bitmap that follows the player (coordinates ...
I'm developing a 2D game in C using Allegro 5, where an enemy from a fixed position shoots a projectile at the player's current position. I know I wil ...
I am a complete beginner in allegro and i just installed allegro correctly and this is my code(my first code): Now this is what the build log displ ...
I have a problem with adding a background in my game. My code looks like that: And I have visible an apple and a black screen most of the time. I'v ...