Category : allegro5

Sorry for my english. I followed this tutorial https://www.youtube.com/watch?v=shTvg2lbjjA to draw a map with rectangle but my problem is it seems to just draw at position (0,0). Here is my code. Firstly, i load the map with a text file. void Carte::loadMap(const char*filename) { std::ifstream openfile(filename); if(openfile.fail()) { cout <<"Failed to open this file!" << ..

Read more

I have downloaded agui from github recently and went through Cmake process: Set agui root directory as source Set "build" directory as target Click "configure" Check if backend is set to Allegro Click "generate" I’ve opened the .sln file, selected the "ALLBUILD" project and run it. I got the following compilation error a few times ..

Read more

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 is the error message (it’s in Spanish): Excepción no controlada en 0x7BE755AF (allegro-5.0.10-monolith-md.dll) en Geometry World.exe: 0xC0000005: Infracción de acceso al leer la ubicación 0x00000000. This is the code ..

Read more