"Run Blinka Run" Game in MakeCode Arcade using the block-based editor

"Run Blinka Run" in MakeCode Arcade using the block-based editor

Run Blinka Run is a simple endless runner game. The goal is to help Blinka run and avoid obstacles while collecting items to increase the score.

Game Summary:

  • Character: Blinka.
  • Objective: Keep Blinka running while dodging obstacles and collecting items.
  • Controls: Use arrow keys or buttons to jump over obstacles.

Mechanics:

  • Blinka moves automatically across the screen.
  • The player must time jumps to avoid hazards.
  • Collectible items increase the score.
  • The game ends if Blinka collides with an obstacle.

Development in MakeCode Arcade:

  • Uses sprites to display Blinka and obstacles.
  • Implements tile maps for the ground and background.
  • Utilizes game loops for continuous movement.
  • Includes collision detection for obstacles and collectibles.
  • Adds sound effects for jumps and score updates.

Steps to Create the Game in MakeCode Arcade

Go to MakeCode Arcade.

Click "New Project" to start.

Use the following block-based code instructions to build the game.


Step 1: Create Blinka (Player)

Go to "Sprites" → "Set mySprite to sprite of kind Player"

Click the sprite image to draw Blinka.

Rename mySprite to blinka.

Go to "Controller" → "Move mySprite with buttons" (Set X to 100, Y to 0).

Go to "Sprites" → "Set blinka ay to 300" (Gravity).


Step 2: Create the Ground

Go to "Scene" → "Set background color" (Choose a color).

Go to "Sprites" → "Set ground to sprite of kind Food".

Click the image to draw a platform.

Go to "Sprites" → "Set ground position to (80, 110)".

Go to "Sprites" → "Set ground ghost flag to ON" (So Blinka doesn't collide).


 Step 3: Make Blinka Jump

Go to "Controller" → "On A button pressed".

Add "If blinka vy = 0 then set blinka vy to -150" (So Blinka only jumps when on the ground).


 Step 4: Create Moving Obstacles

Go to "Game" → "On game update every 1500ms".

Create a new obstacle sprite using "Set obstacle to sprite of kind Enemy".

Draw an obstacle (e.g., spikes).

Set obstacle position to (160, 100).

Set obstacle velocity to (-50, 0) (Moves left).


 Step 5: Game Over if Blinka Hits an Obstacle

Go to "Sprites" → "On sprite of kind Player overlaps with sprite of kind Enemy".

Add "Game Over (Lose)".


 Step 6: Add Collectible Stars for Points

Go to "Info" → "Set score to 0".

Go to "Game" → "On game update every 2000ms".

Create a new sprite for stars (Set to kind Food).

Set star position to (160, random Y between 50-90).

Set star velocity to (-50, 0) (Moves left).

Go to "Sprites" → "On Player overlaps with Food".

Increase score by 1 and destroy the star.


 Step 7: Play the Game!

Press Run and control Blinka using the arrow keys.

Jump over obstacles and collect stars!

This Content Sponsored by Buymote Shopping app

BuyMote E-Shopping Application is One of the Online Shopping App

Now Available on Play Store & App Store (Buymote E-Shopping)

Click Below Link and Install Application: https://buymote.shop/links/0f5993744a9213079a6b53e8

Sponsor Content: #buymote #buymoteeshopping #buymoteonline #buymoteshopping #buymoteapplication

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.