RE: (no subject)
- Posted by Steve <bleak_outlook at hotmail.com> Jun 23, 2006
- 715 views
Hello, Here is what I have found. If you want to make games in euphoria then you have two good choices. SDL and Allegro. Both are well wrapped and will give you a complete game library package. Some finer points of the two: Simplicity - Allegro all the way. I made a game the first night I started using it. Not a good game mind you, but a game nonetheless. I have been using SDL for over a year and still get stuck when I want to do something tricky. I love SDL but Allegro is cake. Tools - Allegro again. SDL would match it but most of the extra libraries have yet to be wrapped. Both have fully functioning keyboard/mouse/game controller support. They also have sound & datafile management tools. SDL (bonus!) has direct CD-ROM handling functions. Allegro has a release grade tilemapping program, sprite editor, and datafile maker. I have a mostly functioning datafile maker for SDL but it is currently only useful for graphics (rather than sound /etc.) Portability - SDL. You can pretty much write a game in SDL and run the same code on Linux or Windows with trivial modifications. The only problem I have had is case sensitivity on linux filenames. "dog.bmp" vs. "dog.BMP" EuAllegro as it currently stands will not run on linux. At least, not the version on the contributions page. Power - SDL. I usually see a 10-20% increase in fps using SDL over Allegro. For the intrepid you can also experiment with running 2D graphics in 3D acceleration. Lookee-at-me-mom-them-polygons-iz-dancin! 3D - SDL via OpenGL. I don't believe Allegro will do this natively. Graphics - They both work with 8/16/24/32 bit modes. Both look the same, smell the same, taste the same. Allegro will call you the next morning. Support - SDL. Mark Akita (my hero) has recently released all his work on euSDL, SDL_gfx & SDL_ttf. EuAllegro hasn't been touched in ages. In addition, the actual SDL core DLL can be replaced with new versions by simply replacing the old one. This means you get the latest bugfixes to the core library. Any new features would have to be rewrapped though. That may have been overkill but I thought I would give you my ten cents. I have been working on several hobby games with these libs for the last 3 years. Allegro for the first two. I would highly recommend starting with Allegro though as it is VERY simple to use. It is also pretty feature rich. SDL is the schizel but requires a bit more patience and could use some more Euphoriazation. Whatever that means. It all comes down to what you value the most. They both have their strengths and weaknesses. If you have any other questions or want clarification, feel free to email me at ssallen(at)gmail(dot)com. Take it easy, Steve A. Andy wrote: > > > posted by: Andy <videogamefreak101 at hotmail.com> > > What is a good graphics libray