|
2d Tilemap Platformer Demo with Source Code |
MikiZX
Member #17,092
June 2019
|
Hi, Recently there was a question on the forum regarding tilemaps - due to this, this demo was created so that it can load 'Tiled' editor map layers and display them using VBOs. The graphics, tilemaps and source code are here attached. Posting in hope it will be useful to someone. Additions, improvements welcome - publishing the source code as CC0. Archive also contains CC-BY 3.0, CC0 licensed graphics by Pyromantic (https://opengameart.org/content/sunset-temple-tiles). |
Edgar Reynaldo
Major Reynaldo
May 2007
|
This is worthy of a bump. Ran fine after a few tries. Smooth drawing and scrolling. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
MikiZX
Member #17,092
June 2019
|
Thanks for checking it out Edgar. What made it require few tries? (I imagine something to do with the project setup? , so I guess a CodeBlock and VS project files could be useful to have included) |
GullRaDriel
Member #3,861
September 2003
|
It's missing a Makefile or a CMakefile at least. That aside thanks for sharing. That's the kind of example that should go to the a.cc wiki. "Code is like shit - it only smells if it is not yours" |
MikiZX
Member #17,092
June 2019
|
Thanks for the feedback, I'll look into making a makefile - will be a first for me. |
|