alemart / opensurge

A retro game engine with a fun platformer for making your dreams come true!
http://opensurge2d.org
GNU General Public License v3.0
386 stars 33 forks source link

Conversion to use a different rendering library? #82

Closed lolriven closed 1 year ago

lolriven commented 1 year ago

Would it be possible to allow this engine to run with a separate rendering library like SDL2 or Raylib. Allegro is nice but I have to jump through hoops to get the engine to compile because Allegro has a whole set of different dependencies in order to first compile that library then to compile the engine.

alemart commented 1 year ago

Allegro has a SDL backend. Depending on your operating system, you may just get pre-compiled binaries. What's your operating system?

lolriven commented 1 year ago

I'm currently on MacOS, I did manage to get it to compile but as I mentioned it was quite a bit of work. I did want to make changes to the engine which is why I preferred the source over the precompiled binaries.

alemart commented 1 year ago

Glad to know that you managed to compile Allegro. Once you do it, compiling the engine is simple.