Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Morgana retro Dungeon Crawler (uses Tilengine)
#3
(03-17-2019, 07:09 AM)megamarc Wrote: Great work Jaume, impressive! Congratulations! I'm glad to see that the modifications you suggested about the mouse support have been useful :-)

Could you share some insights about your Morgana project? Is it entirely built with tilengine, or do you use another framework and combine them? I'm really curious about it

Thank you very much Smile

Well, it's programmed in pure C and Tilengine. I miss the Object Orientation from C++ but now it's too late to port it all to C++ so I would recommend to use C++ instead of C for all of you if you want to start a medium/big sized project.

I "emulate" the object orientation with structs (for the attributes of the objects) and .h files (for the functions of the objects), altough this is a primitive and rudimentary way to do it and defenitely it would be better to use C++, C#, or maybe even Object Oriented C.

The only another libraries that I use are some SDL complements, namely:

- SDL2 mixer for sound and FX.
- SDL2 ttf for text.
- SDL2 image, I don't remember what for, I think it's for the conversion of text to images for Tilengine to use.

My compiler is MinGW and the platform is Windows.

Another insight maybe would be the difficult managing/tracking of sprite ids in the engine. Now I'm doing it manually/semi-automatically but this has to be improved to avoid confusion and depleting of Sprite ids.

As you stated to me in private message the ids for the sprites refer to a maximum number of sprites inscreen at a given time, not the TOTAL number of sprites in your game. Keep in mind this if you are starting a new project with Tilengine. I will fix this with time, hopefully.

Thanks for your time reading/watching this.
Reply


Messages In This Thread
RE: First video of Morgana game (uses Tilengine) - by JaumeAlcazo - 03-20-2019, 09:02 PM
WOW!!! - by PerspexSphinx - 11-19-2019, 07:39 AM
Morgana game (uses Tilengine) - by JaumeAlcazo - 01-02-2020, 04:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)