Save me from Cactus
About This Project
Let us have a look at an interesting ‘Save me from Cactus’ game. You have to save the dog from the Cactus. Press the space key to jump and the left and right keys to move forward and backward. But be careful as you move further, Cactus will start moving with more speed. If they touch you, you will die and the game will be over. Enjoy……!!!!!
In this project, we have used cactus sprite which has multiple costumes. The cactus will keep on switching the costumes every time it touches the edge and start moving again. ‘If then’ and ‘key pressed’ commands are used to check which button is pressed. “Change x by” and “change y by” commands are used to make the dog jump and to move it back and forth.