Day 7 Game 7: 30 games in 30 days using Grids for GameMaker

[button url=”https://gamelogic.co.za/examples/30-games-in-30-days-for-gamemaker/Game07/index.html” size=”large”]CLICK HERE TO PLAY GAME 7 [/button]

[divider]

[slogan]This is what Grids did for us today. What can Grids do for you?[/slogan]

Developer: Kevin Marais (Microsoft AppFactory)

Game 7 is the first game to use a wrapped grid!

The aim of the game is to get your ship to Castle White as many times as you can. You also need to avoid the cannon balls shot by Castle Black to stay alive and can use the mountains to protect you.

Sounds easy enough, but what makes the game quite tricky is that we used a wrapped hex grid. Wrapped hex grids work quite differently from wrapped rect grids. With a wrapped rect grid, objects enter on the opposite side of the board to which they exit. To get your mind around a hex wrapped grid is a bit trickier. The best way is to look at the interactive example of a wrapped grid on Red Blob Games.

As you can see, the grid is repeated, and if an object exits the centered grid, it is in a new grid. The wrapped point is then the corresponding cell in the original grid. What makes this different from rect grid wrapping is that the object can travel across the grid several times before hitting getting back to a location where it was before.

[divider]

Click here to check out all 30 games 

[divider]

1 thought on “Day 7 Game 7: 30 games in 30 days using Grids for GameMaker”

Comments are closed.

Scroll to Top