Tilengine - The 2D retro graphics engine forum

Full Version: Python platformer prototype
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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