Most voted "allegro" questions
The Allegro tag refers to problems and questions related to the Allegro game development library and other multimedia applications, expanding from the original version of Allegro to the current one.
Learn more…18 questions
Sort by count of
-
3
votes0
answers203
viewsCannot find -lalleg (DEV C++ and Allegro)
People every time I try to run this code is giving this error follows the code below: #include <allegro.h> int main() { allegro_init(); install_keyboard(); set_color_depth(32);…
-
2
votes1
answer137
viewsAllegro Debug -Abort() Has Been Called
I tried to make an animation and Visual Studio gives the error Debug -Abort() Has Been Called. Code: #include <allegro5\allegro.h> #include <allegro5\allegro_native_dialog.h> #include…
-
2
votes2
answers208
viewsProblem with threaded list pointer offset
I’ve had a problem with the shift of pointers in my code for a few days now. I try to make that if the point of my object on the screen is greater than a value, offset this object from memory, but…
-
2
votes1
answer153
viewsRemoval item in chained list C
Guys I’m having a very annoying little problem, I’m implementing a simple A* . When I move the already checked item to the closed list and move the item from the open list, it is giving undeclared…
-
1
votes1
answer87
viewsProblem with Allegro 4 and C++
I’m trying to create a game in Allegro 4, but I am having problems with a method, more specifically with an attribute BITMAP. The program compiles but stops working right away. Follow the code:…
-
1
votes0
answers581
viewsAuto-Complete from IDE Code::Blocks does not display the methods from the Allegro library
I’m using Allegro in Code:Blocks, but when it comes to something from Allegro Code::Blocks can’t use Autocomplete, what should I do to fix it?
-
1
votes1
answer946
viewsDlls error when compiling
Studio: #include <allegro5\allegro.h> int main(void) { ALLEGRO_DISPLAY *display = NULL; if(!al_init()) { return -1; display = al_create_display(800, 600); } if(!display) { return -1; }…
-
1
votes1
answer51
viewsAllegro does not perform anything graphic
It simply does not appear anything graphic, the functional (close the window) works perfectly, but the graphic (background color and "ship") do not work. #include <allegro5\allegro.h> #include…
-
1
votes1
answer58
viewsIs it possible to include Allegro in a C kernel?
I have been studying for some time the construction of Operating Systems with bootloader in Assembly and kernel in C, and recently I started studying Allegro. Theoretically it is possible to include…
-
1
votes0
answers1246
viewsError while compiling Allegro
I installed and created the Allegro project following this tutorial. I have that code: #include <stdio.h> #include <stdlib.h> #include <allegro5/allegro.h> #include…
-
1
votes1
answer108
viewsword manipulation with Allegro
Hello, I am in doubt about the string manipulation with Allegro, as well as using "fgets" or "scanf" in C to receive a keyboard word I want to know how you do it with Allegro.
-
1
votes1
answer35
viewsHow to add . Asd systems in Lisp/Windows7?
So guys, here’s the thing, I’m trying to run a code that interprets BRAINFUCK written in LISP, so I found this git: https://github.com/equwal/LispFuck it seems to be very friendly and the best so…
-
1
votes1
answer55
viewsProblem on game startup
I’m trying to run a game I made in Allegro 4, the application only runs normally in the first compilation/execution. If I close Devc++ and open again or try to run the generated . exe file, the game…
-
0
votes1
answer253
viewsProblem with Allegro image call by Mac C terminal
Guys have a problem here, I’m playing a game using the Allegro, I am compiling by the terminal and ta ok, there is only one however, when I load an image of the fault when loading the image, the…
-
0
votes1
answer123
viewsAllegro 5 C/C++: Color problem
I am using Allegro 5, and read that to create colors just use al_map_rgb or al_color_html, then I made a map to easily access various colors: #include "allegro5\allegro.h" #include…
-
0
votes0
answers28
viewsC++ Reduction of space spent
I’m creating a c++ project with Allegro 5 using code::Blocks, and I put the Allegro files right into the project folder to make it simpler. I’m only using functions to display images and text with…
-
0
votes0
answers227
viewsIndefinite reference error - Allegro 5
I installed the lib Allegro 5 with the following script : cd ~/Documentos sudo apt install -y git build-essential subversion cmake xorg-dev libgl1-mesa-dev libglu-dev install libpng-dev libz-dev…
-
0
votes0
answers11
viewsALLEGRO - Error in flip_display when starting draw_bitmap
all right? My code is giving error when I start it, the error occurs in al_flip_display(); and it always occurs when I try to start the al_draw_bitmap(rline, 120, 220, 0); If I remove draw_bitmap,…