Search:

Type: Posts; User: Eielef

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    6,699

    I didn't know that, and I didn't realize when...

    I didn't know that, and I didn't realize when Salem pointed it, so thank you for saying it.
  2. Replies
    2
    Views
    1,582

    Thank you for the help, but I think I didn't...

    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...
  3. Replies
    14
    Views
    6,699

    First time I try to use a variable to initialize...

    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...
  4. Replies
    14
    Views
    6,699

    Yeah, maybe you can set a maxSize for your...

    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...
  5. Replies
    2
    Views
    1,582

    Trying to play a beep

    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?
  6. Oh, I found the mistake....I'm so silly... I had...

    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,...
  7. I checked it. In the main function it's ok, but...

    I checked it. In the main function it's ok, but in the class variable the bitmap is NULL. I don't get it...
  8. Yes, I create a pointer to an ALLEGRO_BITMAP, and...

    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...
  9. A small problem with bitmaps and classes in Alllegro 5

    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...
Results 1 to 9 of 9