Inspiration
I was inspired by a Club Penguin minigame, where you would have to move yourself to avoid the lasers being blasted form the walls.
What it does
Use your arrow keys to move from one patch of sand to another. Dodge the incoming cactuses coming up from the ground and avoid the spines they shoot out in all four directions. Try to get the top high score!
How I built it
I used the Scratch game engine to make the game and Piskelapp to make the sprites. The object that clones the cactuses to have them spawn in certain locations is given a set of coordinates of where it can spawn it. The objects randomly chooses one, and chooses more, if there are anymore that need to be chosen, and if that spot is already taken, it will choose a new spot. Your player moves by a certain x and y position every time by pressing your arrow keys. Your character cannot move beyond a certain x and y limit, making borders for the character.
Challenges I ran into
One problem I had trouble with was the colliders for the character. Because this isn't a top down game, you could get hit if you were stand in a different row than the spine moving making you die, which is an unfair death. To avoid this I added a shadow to the player so if a spine hit's your shadow you lose.
Accomplishments that I'm proud of
This is my first attempt of using cloud variables in a Scratch game, and I got it able to work
What I learned
For this hack, I wanted to try using the graphic effects that are in Scratch, so I was able to learn how to use those
Built With
- scratch
Log in or sign up for Devpost to join the conversation.