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

Thread: Allegro.pas Next Step

  1. #1

    Allegro.pas Next Step

    I know there aren't a lot of Allegro.pas users here but anyway may be you can give me your opinion and suggestions about it. Next text is mostly a copy of the one I did send to the Allegro.pas' mailing-list and forums.

    There are some issues about Allegro.pas that makes it hard to evolve. For example: Free Pascal's way to load the OpenGL libraries seems to conflict AllegroGL; and Allegro.pas broke Delphi support in version 4.3 due to technical issues (Delphi doesn't support shared variables with DLL libraries).

    Due these issues I was thinking about to make Allegro.pas actually a fork from the original Allegro reimplementing the whole thing directly in Pascal keeping the original idea. There will be some benefits:
    • No more problems with libraries as it will use them through the FPC/Delphi RTL.
    • Delphi support granted (hopefully ).
    • Use only Pascal data types, which means no more pointers, no more wrap procedures/functions, no more INTEGER to represent BOOLEAN, etc. And also easier integration with Delphi and Lazarus.
    • No need of external dynamic libraries (except the usual ones: OpenGL, OpneAL, zlib, ...).
    • More platforms potentially available, as DOS, Haiku, PalmOS, etc. May be also some game consoles too (Game Boy, DS, GP32...).

    My idea is to create a new branch which will use almost the same API than the current version, and implement it using Free Pascal's RTL library which includes cross-platform units to deal with almost everything. Then use this implementation to create more specific and optimised code for each platform and compiler (i.e. Delphi).

    So, what do you think? Will this approach attract more developers to the project? It will be easer to keep it stable and useful? Should I kill the project and use any other?

    I hope you'll not suggest the last one.
    No signature provided yet.

  2. #2

    Re: Allegro.pas Next Step

    I think adding delphi support will really matter here. I have both Delphi and FPC/Lazarus installed, but I'm more familiar with delphi so I use it for my projects. I think there are quite some others who use only Delphi.

    The other features are also quite nice.

    However, if you really want more people to use it, you should show it off a bit more. I knew about Allergo for some time, but I was never interested because I was writing my own engine/library. If you let us know about its features + some screenshots, more people will actually check it out.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  3. #3

    Re: Allegro.pas Next Step

    Delphi compatibility is a must
    From brazil (:

    Pascal pownz!

  4. #4

    Re: Allegro.pas Next Step

    Thanks for the answers, and sorry. I was bussy.

    Yes, Delphi is a must. And yes, I should show more things done by Allegro.pas. Actually I have a lot of ideas but I want to do all them at same time, and you can imagine the results.
    No signature provided yet.

  5. #5
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    So how goes the next version of Allegro.pas?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #6

    Exclamation

    I'd updaded version 4.4.2 on Monday. I didn't say it here because after this summer I have less free time (I don't know why as I didn't changed my routine).

    It has new functions to calculate "paths". They're similar than the ones that draws lines, circles, ellipses, etc. but they call a callback function for each point instead. Also I've added "splines", few more examples and some other small changes.

    And I've changed the demonstration game a bit. I've simplified the tilemap unit so the drawing function is simpler (actually I don't know why I did it so complicated) and I've made a better interface for the map-editor using some "algui" objects and drawings.



    Download it from here.

    About the next version, I've decided that version 4.5 will be fully rewritten; actually it should be version 5.0, but I want to use the old API (Allegro developers are designing a new one for 5.0). The idea is to wipe out the shared library and do everything in Pascal (first using the RTL to define the basic drivers, then adding new drivers for DirectX, DOS, Linux, GameBoy, etc), trying to make it compilable in FPC, Delphi and others (GNU/Pascal, may be)

    But first I'll try to create some small games to try to attract developers that would help in the new version. And also the new TileStudio...
    Last edited by Ñuño Martínez; 06-10-2010 at 11:09 AM.
    No signature provided yet.

  7. #7
    Will you rewrite some of the docs to match the changes that are done in Pascal verion of Allegro vs the C/C++ one?

  8. #8
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    How much cross platform compatibility is there? Ie. Can I run it natively on Linux and Mac? Just wondering...
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  9. #9
    DOS and DS support sound good

  10. #10
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    How are those small game demos coming too btw? It's always nice to have a few examples that you can play around with when starting with a new game library/engine.
    Jason McMillen
    Pascal Game Development
    Co-Founder





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
  •