Level 02 Lesson 01 [Sprites, Objects, Rooms]

In this lesson we will get started on creating our two player game. The first steps will include learning about sprites, objects, and how to create the game room. The sprites (graphics) that are used in this lesson can be found in your downloaded resources in the level 02 folder.

Part A – Setting Up Sprites, Objects, and the Room

Watch the video: 02-01-A
Done File: L02-01-A-Done.gmk
(located in the resources/Projects_Levels_02_to_06 folder that is inside of the resources zip file that you downloaded)

The ‘done file‘ is the GameMaker Project that you will have if you follow and imitate the programming in the lesson video. The done file is useful for when you want to watch a video lesson but not actually code it in yourself. You can use the done file to examine the code in a video lesson or when continuing onto the next part of the lesson.

Challenge 1 – Add a Second Player
Continue working with your project and add a second player to the game – it is a two player game!  You will need to add spr_player2, obj_player2, and also obj_ball2 since player2 will want to fire their own type of ball.

Challenge 1 Solution
Solution video: 02-01-X1Solution
Done file: L02-01-X1-Done.gmk