A Grid-Based Puzzle: Discrete Movement
In this chapter, you'll push crates around Crate Cove, one square at a time. The big idea is discrete movement: instead of letting physics move things smoothly, the game moves by turns on a grid, which makes puzzles, guards, and an undo button possible.
I'm still writing this chapter, step by step. In the meantime, you can play the finished game, and read the code and the assets that make it, so that you can run it and change it yourself.
Play the Game
The code that makes it:
The assets, which go in an assets folder next to the game: