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

Thread: Dellegro - Delphi Allegro Game Library

  1. #1

    Dellegro - Delphi Allegro Game Library



    Allegro 5 Bindings | Monolithic DLL | Thin Game Framework


    DOWNLOAD

    For a contract project I am working on, I needed a full featured/latest release bindings for Allegro 5 library for Delphi for which a thin game framework could be built on top. So I forced my way through the very painful process of converting Allegro C headers to Delphi. For this project it needed to be 32 bits, support the newer versions of Delphi with a minimal DLL/binding unit count.

    I had never used Allegro before and I'm liking it very much. Video playback out of the box, virtual file system that supports zip files. You just have to mount the zip and read in your resource as normal. It will even play the video from within the zip. The API is simple and easy to pick up.

    I'm making it available if anyone needs something similar for Delphi, saving you the trouble of doing the conversion yourself. Trust me, if not for a high degree of need, it would have not gotten done otherwise. I had considered a conversion about a year or so ago, but could not be bothered wading through all those c header files and c syntax. Oh my... a HUGE reminder of why I love Delphi so much.

    NOTE: This project was created for very specific needs/time frame so using existing bindings was not possible. However, I do want to acknowledge the great work done by other binding authors. Respect!

    Version supported:
    - 5.2.4.0

    Notes:
    - Tested on Delphi 10.2.3
    - 32 bit monolithic binary
    - Windows only

    Road map:
    - Continue improving/fixing issues, keeping it update with latest allegro
    - Add more examples
    - Add a framework to easily make game projects
    Last edited by drezgames; 22-04-2018 at 06:31 AM.

  2. #2
    Looks like an amazing task you did that will happy to take a look.
    But the link is broken... have you considered to publish it on github?

  3. #3
    @piXelicidio
    Hi, thx. Hmm... I just tested on IE, Edge, FireFox and Chrome and I was able to get the file on all. What specific error are you getting? which browser are you using etc. Yea eventually I will move it there. Just had not had time to setup an account and get it posted.

  4. #4
    [CHANGELOG]

    Version 2018.2:
    - Added ex_acodec and ex_inject_events examples
    - Added hepatic and touch_input routines
    - Added all experimental|unstable labeled routines
    - Added '&' symbol in front of record field names that conflict with Delphi keywords. (ex if (event.&type = ALLEGRO_EVENT_KEY_DOWN) then...
    - Fixed a few routine prototype params
    Last edited by drezgames; 09-04-2018 at 01:56 AM.

  5. #5
    [CHANGELOG]

    Version 2018.3:
    - Added ex_opengl, ex_opengl_pixel_shader, ex_ttf and ex_camera examples
    - Added allegro_opengl routines
    - Added al_draw_multiline_textf
    - Misc fixes and enhancements
    Last edited by drezgames; 09-04-2018 at 01:56 AM.

  6. #6
    Hello! Very interesting but where is the link to download the library?

  7. #7
    Hi, it was brought to my attention that another project with the same name is already in use, DAllegro5, which are d language bindings. I'm in the process of renaming it and changing a few things around. I will post an update soon. I finally manage to build Allegro5 using VS2017 (oh my what a pain) so I can generate the binaries when I need them. I would say sometime during the weekend I will have a new build posted.

  8. #8
    [CHANGELOG]

    Version 2018.4:
    - Reorganize the distro folder
    - Added a5docs viewer to view allegro 5 docs locally
    - Change name to Dellegro, to avoid confusion with existing DAllegro5 project on github.
    Last edited by drezgames; 14-04-2018 at 06:33 AM.

  9. #9
    PGD Community Manager AthenaOfDelphi's Avatar
    Join Date
    Dec 2004
    Location
    South Wales, UK
    Posts
    1,246
    Blog Entries
    2
    Just an administrative note - The title of the thread has been changed at the request of the original author to remove the ambiguity the name could cause with the D Allegro bindings.
    :: AthenaOfDelphi :: My Blog :: My Software ::

  10. #10
    [CHANGELOG]

    Version 2018.5:
    - Smaller, compact help viewer. HTML now being streamed from a compressed zip file.
    - Smaller allegro5.dll (now using local allegro5 build system)

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •