Idea:
Boat= Hero
Crab= Villian
Steps for Creating a Boat Game :
Choose a Background
Create a Sprite for Boat
Centre the Boat sprite in the paint window
Code the Boat for Boundary Conditions and L/R movement
Create/select a Sprite for Crab[obstacle]
Code the boat for Boundary conditions and sprite interaction
Code a Sprite for Game Over Animation
Run the Game and Debug accordingly
Let's build the Game based on the above Guidelines but first Sketch the Game idea in Paper
Now that we have visualized the underlying concepts of the Game let's build it.
Step 1: Delete unnecessary sprites/components/hardware, Rename the project, and save the project to your computer.
Step 2: Choose a Background related to the project or Create your own using Paint.
Step 3: Choose or create a sprite to represent Boat using mBlocks library or Paint window.
Step 4: Declare necessary Variables for the project [Score, direction, and Speed]
Step 5: code the boat sprite as shown below following the necessary conditions.
Step 6: Choose or create a sprite to represent Crab[obstacle/enemy] using mBlocks library or Paint window.
Step 7:code the Crab Sprite as shown below following the necessary conditions.
Step 8: Choose or create a sprite to represent Game-Over using mBlocks library or Paint window.
Step 9: code the Game Over as shown below following the necessary conditions.
Step 10: Debug the Game for any issues.
Step 11: Enjoy the Game……!!!
0 Comments