Page 1 of 2 12 LastLast
Results 1 to 10 of 61

Thread: Allegro.pas

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Darkhog View Post
    I realize that it's not part of standard allegro, but could you consider for next version adding some functions to make color from HSV (Hue, Saturation, Value, known sometimes also as HSL) values? Also values for getting hue, saturation and value from color integer. The reason I'm asking is because with HSV model it is easy to do things like lighting (for 2d games), cool gradients or some of advanced AI (I've seen AI designs based on following objects with certain Hue).
    al_hsv_to_rgb
    al_rgb_to_hsv


    Unless you're talking about Allegro.pas 5.0 beta. If you are, then may be I can translate those functions from C to Pascal.
    No signature provided yet.

  2. #2
    How can I check if allegro sample is stopped? I need that because some of music I'm going to use has "intro" part, then actual looping one.

    //edit: It turns out... I can't . There is Allegro's library function which would help with that... but isn't implemented for one reason or another. Damn.
    Last edited by Darkhog; 30-06-2013 at 11:58 PM.

  3. #3
    Sorry for d-posting, but could you write some unit that could make Allegro to load fonts made with AngelCode's BMFont (http://angelcode.com/products/bmfont/)? Under that link there's full documentation, but my understanding of Allegro is too limited to actually implement this.
    Last edited by Darkhog; 02-07-2013 at 07:58 AM. Reason: Fix'd link

  4. #4
    Quote Originally Posted by Darkhog View Post
    Link fix for the lazy ;-)

  5. #5
    Thanks, didn't notice when posted it that link's broken. Fixed now.

  6. #6
    Quote Originally Posted by Darkhog View Post
    //edit: It turns out... I can't . There is Allegro's library function which would help with that... but isn't implemented for one reason or another. Damn.
    I didn't know that function exists; that's why it isn't implemented. May be I implement it this week (if I have time enough).

    Quote Originally Posted by Darkhog View Post
    Sorry for d-posting, but could you write some unit that could make Allegro to load fonts made with AngelCode's BMFont (http://angelcode.com/products/bmfont/)? Under that link there's full documentation, but my understanding of Allegro is too limited to actually implement this.
    AFAIK font loading isn't trivial. Anyway I'll take a look. may be I can do something.
    No signature provided yet.

  7. #7
    Well, I know isn't trivial That's why I didn't do it myself .

    Anyway, maybe you should look into official allegro docs to see what functions are there? So we can avoid such things in future.

  8. #8
    Quote Originally Posted by Darkhog View Post
    Well, I know isn't trivial That's why I didn't do it myself .

    Anyway, maybe you should look into official allegro docs to see what functions are there? So we can avoid such things in future.
    he made that allegro port you are using with your game, have some respect

  9. #9
    I have. That was just friendly tip (notice amount of Smilleys in my post). Anyway my sense of humor is weird at times, so you may need to adjust.

  10. #10
    Sorry for the hiatus, but this month I was busy because I've looking for a job. Fortunately I've found one () so I can work on Allegro.pas and KOFFE now.

    It will we a bit more complex that I thought because I didn't added any "voice stuff", just digital samples. Anyway it should be finished this week.

    Quote Originally Posted by Darkhog View Post
    Anyway, maybe you should look into official allegro docs to see what functions are there? So we can avoid such things in future.
    If you read Allegro.pas README file:
    I wrote it to use it by myself, so I didn't included all functionality of
    Allegro. Anyway, I'll fix it and complete it as I'm using it (or as other
    users do). Any collaboration will be welcomed.
    Anyway, I changed the way I update version 5; in this version I load a C header and port and document everything.
    Last edited by Ñuño Martínez; 16-07-2013 at 09:58 AM.
    No signature provided yet.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •