Introduction
Grid based games are a common type of game that many new game programmers like to create. One of the most popular grid based games of all time is Pac-Man. You can probably think of many others. In this lesson we will introduce you to some concepts that can help you create a grid based game. In Lesson 02 you will use some of your script and list knowledge to simulate some basic ghost movement in a Pac-Man type grid.
Part A – Sprite Sizes, Collision Boxes, Keyboard
There are many ways to set up a grid based game. In this video you will take a look at some simple ways to help setup your grid based game and get the player moving around the grid smoothly.
Watch the video: 12-01-A
Done File: L12-01-A-Done.gmk
Challenge 1 – Your Own Grid Based Game
For this challenge, start a new project.
Select sprites for your own grid based game that will consists of a player moving around with enemies chasing.
Use the concepts presented in the video to make sure that your sprites, room, and player movement will work properly.