Simple Boat Game using Scratch [Step-by-Step]

Idea:

Boat= Hero

Crab= Villian 

Steps for Creating a Boat Game :

  1. Choose a Background 

  2. Create a Sprite for Boat

  3. Centre the Boat sprite in the paint window

  4. Code the Boat for Boundary Conditions and L/R movement

  5. Create/select a Sprite for Crab[obstacle]

  6. Code the boat for Boundary conditions and sprite interaction

  7. Code a Sprite for Game Over Animation

  8. 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……!!!

Post a Comment

0 Comments

Comments