Tile Based Movement behavior for 3.0 and 2.2

Leaufai

  • Posts: 327
I've taken this offline for a moment. I made some design errors when it came to event-based movement, which I didn't notice before. When that's fixed, I'll put it back online.

This behavior makes actors move on a grid, like many top-down NES, SNES and Game Boy games such as The Legend of Zelda, Final Fantasy and Pokémon. I made this because I loved those games and their movement style and 3.0 didn't have a tile based movement behavior on its StencylForge yet. So I loaded up some of the other behaviors on the old StencylForge, figured out how they worked and made this behavior for 3.0 (which also seems to work fine on 2.2).

Current Features:
  • Usable with keyboard controls or by triggering events (handy for cutscenes)
  • Tile gridsize is self-definable
  • Four-way move and idle animations
  • Works with both Stencyl 3.0 and 2.2

Planned Features:
  • Move automatically (without holding the key) à la Pac-Man
  • Allow side-scrolling implementation with gravity à la Lode Runner

License:
CC0 Public Domain

« Last Edit: November 18, 2013, 04:38:22 am by Leaufai »