To begin you will need a main character. You can draw the sprite, use one from the library or download one from the internet. If you download one you may need to remove the background
This code does the following
Changes the size of the Santa Sprite
Tells Santa to go to the bottom middle of the screen
Checks to see if a movement button has been pressed
Remember X moves the sprite from left to right and Y moves the sprite up and down
This code tells the object to...
Hide
Wait for a random amount of time between 2 and 5 seconds
Go to a random spot on the X axis and the top of the screen
Show
Move down the screen in a straight line
Hide when it reaches the bottom of the screen
We can duplicate this code to add multiple collectible items. They can have different amounts of points to make the game more interesting.
This is the code to make the Grinch randomly appear at the side of the screen.
This is the code for the snowball. You can change the speed by adjusting the value in change X by.
This is the code to change lives when Santa gets hit by a snowball. It can go on either Santa or the snowball sprite.
This is the code to end the game when Santa runs out of lives.
Add this code to the collectible object. Remember to also add the show command into the previous code which programs the collectible object.