Tilengine - The 2D retro graphics engine forum
Python platformer prototype - Printable Version

+- Tilengine - The 2D retro graphics engine forum (http://tilengine.org/forum)
+-- Forum: Tabloid (http://tilengine.org/forum/forumdisplay.php?fid=4)
+--- Forum: News & Announcements (http://tilengine.org/forum/forumdisplay.php?fid=6)
+--- Thread: Python platformer prototype (/showthread.php?tid=36)



Python platformer prototype - megamarc - 11-02-2017

I've spawned a new GitHub project that will act as a series of work-in-progress, showing how to implement actual game mechanics with tilengine:
https://github.com/megamarc/TilenginePythonPlatformer

The features implemented so far are:
  • Two layer parallax scrolling
  • Sprite and tileset animations
  • Raster effects for sky gradient color, cloud motion, sea water linescroll and hills movement on a single background layer
  • Basic list of game entities (actors)
  • Three character states: idle, running and jumping
  • Tileset attributes in Tiled editor: type and priority



RE: Python platformer prototype - megamarc - 11-04-2017

Updated platform prototype in WIP2: adds player/level interacion showing the usage of Layer::get_tile() and Tilemap:: set_tile() methods, to get info about the environment and modify it, respectively:
https://youtu.be/uQiE7VM_8r8