Day 24 Game 24: 30 games in 30 days using Grids
This is what Grids did for us today. What can Grids do for you?
In game 24 you have travel up a spiral stair case and avoid objects in your path.
In today’s game we use another map technique. We modified the disc map that we used in some other games, and turned it into a spiral map changing the Z-coordinate proportional to the grid X. Unlike most games, we do not use an explicit grid data structure here – we only use grid points that we obtain from the map to create objects. This allows us to have a pseudo-infinite grid, and not worry too much about storage space.