Educational · 2020 · Released
MBoffin · May 9, 2020 · Web
Nobody has tracked this yet.
Pixel Movement with Map Collision This cart demonstrates how to have simple pixel movement that can use the map to block movement. It is heavily commented so you can pull apart how this is being achieved. Notes: Sprites that you want to be blocking tiles (meaning the player cant walk through them), should have the first sprite flag turned on. The basic idea is that when the player tries to move, we first check the new location they are trying to move to in both the left/right and up/down directions. If that position has a map tile with a sprite flag of 1 under it, we ignore player movement in ...
Be the first to rank it.
Be the first to review PICO-8: Movement with Map Collision.