Ikaruga Game

An "Ikaruga" game is a Japanese name for color-matching games. In this game, you move the cat with the mouse and try to collect apples of the same color as the cat. You can press the space key to change the cat's color. The game is over if you touch an apple of a different color.

Step 1 - Rename the Cat Sprite

Rename the sprite from Sprite1 to Cat.

Step 2 - Add Costumes to the Cat Sprite

On the Costumes tab, duplicate the costume twice.

Step 3 - Repaint the Cat Costumes

Paint the costumes red, blue, and green (in that order).

Step 4 - Set the Backdrop

Change the backdrop to "Light".

Step 5 - Create the "Score" Variable

Click "Make a Variable" to make the Score variable.

Step 6 - Add Cat Code

Add the following code to the Cat sprite.

Step 7 - Add Cat Code

Add the following code to the Cat sprite.

Step 8 - Add Cat Code

Add the following code to the Cat sprite.

Test #1

Ask the person next to you to test your program.

Tester, make sure the program has the following:

Step 9 - Add Cat Code

Add the following code to the Cat sprite.

Test #2

Ask the person next to you to test your program.

Tester, make sure the program has the following:

Step 10 - Add the Apple Sprite

Add the new Apple sprite from the Sprite Library.

Step 11 - Add Costumes to the Apple Sprite

Duplicate the apple's costume twice.

Step 12 - Repaint the Apple Costumes

Paint the apple costumes red, blue, and green (in that order).

Step 13 - Add Code to Apple

Add the following code to the Apple sprite.

Step 14 - Add Code to Apple

Add the following code to the Apple sprite.

Step 15 - Add Code to Apple

Add the following code to the Apple sprite.

Step 16 - Add Code to Apple

Add the following code to the Apple sprite.

Step 17 - Add Code to Apple

Add the following code to the Apple sprite.

Test #3

Ask the person next to you to test your program.

Tester, make sure the program has the following:

Step 18 - Add Code to Apple

Add the following code to the Apple sprite.

Step 19 - Add Code to Apple

Add the following code to the Apple sprite.

Step 20 - Add Code to Apple

Add the following code to the Apple sprite.

Test #4

Ask the person next to you to test your program.

Tester, make sure the program has the following:

Step 21 - Add Code to Apple

Add the following code to the Apple sprite.

Step 22 - Add New Broadcast Message

Create a new broadcast message named "Game Over".

Test #5

Ask the person next to you to test your program.

Tester, make sure the program has the following:

Step 23 - Add Code to Apple

Add the following code to the Apple sprite.

Step 24 - Add Code to Apple

Add the following code to the Apple sprite.

Test #6

Ask the person next to you to test your program.

Tester, make sure the program has the following: