I didn't know that, and I didn't realize when Salem pointed it, so thank you for saying it.
Type: Posts; User: Eielef
I didn't know that, and I didn't realize when Salem pointed it, so thank you for saying it.
Thank you for the help, but I think I didn't explain propertly what I'm looking for. I'm writing a code in c++, in which I want to introduce a function to play a beep. Like, for example, when you...
First time I try to use a variable to initialize an array, but it works! I feel so newbie sometimes... XD
BTW, @titanicmango, listen to @oogabooga, it was actually hard to read that. I started...
Yeah, maybe you can set a maxSize for your gameboard, for example, 25x25 or 50x50, and have them as constants at the beggining of your program.
By the way, cool idea the battleship game. I'd like to...
Hi!
How can I play a beep in a program made in C++ in linux? What library do I have to use? It allows me to controle the duration and the frequency of the sound?
Oh, I found the mistake....I'm so silly... I had the initialation code separated in a function called init(), and in the main function I was calling init() AFTER the class constructor... ¬¬ (Oh,...
I checked it. In the main function it's ok, but in the class variable the bitmap is NULL. I don't get it...
Yes, I create a pointer to an ALLEGRO_BITMAP, and that pointer is what I pass to my constructor. The code is here_
In the main program, I use that part of the code to create and initialize a...
Hello. I'm programming a 2D game in Allegro, and I'm stuck in the very beggining. I have a main program and a class for the player. In that class, I have a function who draws a circle:
void...