Questions tagged [allegro]

Allegro is a low-level game programming library distributed freely, supporting desktop and mobile platforms. It is coded in C and offers several language bindings.

The latest stable version is 5.0. It is completely rewritten with a new API and full hardware accelerated graphics via OpenGL or D3D. There is official support for Windows, OS X, Linux, and iOS. There is also an unstable branch 5.1.

Links

383 questions
0
votes
1 answer

does allegro uses X11 for creating display windows?

How are the windows created in linux when working on graphics using allegro library? does it uses X11 or its own primitive library?
KawaiKx
  • 9,558
  • 19
  • 72
  • 111
0
votes
1 answer

CPP file runs, but doesn't work when compiled to exe

I have created a cpp file using Microsoft Visual Studio 2010 and Allegro. It runs perfectly fine in the Visual Studio interface, but when I compile it into an exe, it says: "The program can't start because allegro-5.0.10-monolith-md-debug.dll is…
user2759989
  • 1
  • 1
  • 2
0
votes
1 answer

Allegro4/C++ giving error

I'm using the following code (Allegro 4, C++), and getting the following error: #include //defines #define MODE GFX_SAFE #define WIDTH 640 #define HEIGHT 480 int main (void) { int ret; int counter; //initialize allegro …
0
votes
1 answer

Undefined reference during linking with DUMB and Allegro

Ive been up for 10 hours trying to figure out this. Ive tried out a bunch of different libraries to try to get ogg or mp3 files to play with allegro 4. I downloaded DUMB library and copied the include and lib files to mingw respective places (i use…
Kelvin
  • 233
  • 1
  • 4
  • 13
0
votes
1 answer

How to install allegro 5 on Code::blocks windows

As in question how to do that I used a lot of guides and it never work could someone explain it to me step by step I would be very grateful.
Higeath
  • 47
  • 3
  • 14
0
votes
1 answer

Can't load bitmap, ALLEGRO C++ CODEBLOCKS

My problem is I can't load bitmap to allegro after compiling windows stops working. I tried different bitmaps with different color depths but it still doesn't work. #include int main(int argc, char *argv[]) { allegro_init(); …
Higeath
  • 47
  • 3
  • 14
0
votes
1 answer

MFC visibile function

I have an assignment using MFC which is a completely foreign language to me. I have to be able to upload Image1, and Image2 into 2 picture controls. And using a slider: when it is on the far left, you see Image1 in a third picture control, when it…
May
  • 21
  • 5
0
votes
0 answers

How to configure allegro in wxdevc++

I have searched a lot on the web regarding how to setup allegro on wxdevc++(an extension of the old devc++) I planned to switch to wxdevcpp from old devcpp, I downloaded and installed allegro 4.2.1 and also added the parameters and directories in…
Sarim Javaid Khan
  • 810
  • 15
  • 30
0
votes
1 answer

Why won't Allegro initialize?

I tried installing allegro 5 to code blocks, but even though it seems the program compiles it won't initialize. I get an error saying the application failed to start because allegro-5.0.9-monolith-md-debug.dll was not found. It also says…
user2442129
  • 1
  • 2
  • 3
0
votes
1 answer

Make DUMB Fails on Mac OS X 10.8

I am trying to install DUMB to be able to install allegro 5 on Mac OS X 10.8. I downloaded the source files and when I type make I get an error. Below is the whole thing I get when I type make. I couldn't fit the whole text of error, so here it is…
hakuna matata
  • 3,243
  • 13
  • 56
  • 93
0
votes
1 answer

Allegro 4 not detecting keypresses in Tetris implementation

I'm making a simple version of Tetris using Allegro 4 and C++. I've got most of the code in place and everything is working except user input. The keypresses are only being detected by the game on a few, random occasions. I fear it's a timing…
0
votes
2 answers

C++ Allegro visual glitch

I am training in using the allegro library with c++ but I am getting an issue, while using large images for parrallax backgrounds i get a constant sort of load/glitch scrolling down the screen, making all my images flicker for a bit, is there a way…
Ted
  • 629
  • 2
  • 8
  • 19
0
votes
1 answer

Makefile allegro-nasm

Hi i have to write a code where i'll be combining NASM (assembly) with C and allegro library CC = gcc OBJ = main.o func.o BIN = program CFLAGS = -m32 $(BIN): $(OBJ) $(CC) $(OBJ) $(CFLAGS) -o $(BIN) main.o: main.c $(CC) $(CFLAGS) -c main.c…
MartiMarti
  • 23
  • 4
0
votes
1 answer

How do I add Allegro (or any library) to the header include path on Mac?

I had no problem with Allegro while using Linux, but I can't figure out how to include the library on OS X. I built it from source originally, but I uninstalled it to try the MacPorts version. The headers are currently in…
ICoffeeConsumer
  • 882
  • 1
  • 8
  • 22
0
votes
2 answers

Vector iterator error

I am writing an Allegro based snake game and have a problem with vector which contains the coordinates of the parts of the snake. Here is the function which deletes the last element of the snake and adds a new one. Previously I have declared vector…
samvel1024
  • 1,123
  • 4
  • 15
  • 39