Monday, May 11, 2026
banner
Top Selling Multipurpose WP Theme

This can be a 2D sport by which a personality within the type of a dice strikes sideways and passes by numerous obstacles of spikes positioned at totally different heights and ranges.

Step 1: Create the background on your geometric sprint sport

To decide on/design your personal background, click on on the icon on the fitting aspect of the display and choose your background.

Select a background in Scratch

Choose the blue sky 2 background as proven under

Background theme selectionBackground theme selection

The background will likely be created as proven under. As soon as the background is seen, take away the cat sprite.

Preparing the geometry dash programPreparing the geometry dash program

Click on on the background within the higher left nook of the picture above. You will notice:

Geometry Dash - BackgroundGeometry Dash - Background

Click on Rectangle and draw a rectangle on the backside of the background. You’ll be able to fill the rectangle with any coloration utilizing the fill possibility.

Geometry Dash Program - UnicMindsGeometry Dash Program - UnicMinds

Create a second background on your sport by clicking on the paint possibility under the create background icon, as proven under.

Coding a geometry dash programCoding a geometry dash program

An empty background will likely be created as proven under.

Geometry Dash Background - UnicMindsGeometry Dash Background - UnicMinds

Click on T (Textual content possibility) to write down the Sport Over textual content on the background. You’ll be able to alter the dimensions and font in response to your choice.

Geometry Dash Background - UnicMindsGeometry Dash Background - UnicMinds

Step 2: Create sprites for the geometric sprint sport

The primary sprite is the participant, which is a sq. sprite.

Draw a brand new sprite by clicking the blue cat icon within the backside proper nook. Choose the Paintbrush possibility to attract the sprite.

Geometry Dash - PaintbrushGeometry Dash - Paintbrush

Click on on the outfit within the higher left nook.

Geometry Dash - CostumeGeometry Dash - Costume

Click on on the sq. and use the assorted choices to create your personal model of the sprite with eyes and a mouth as proven under.

Geometry Dash - Sprite - UnicMinds - Square BlockGeometry Dash - Sprite - UnicMinds - Square Block

The second sprite is the in-game spike. Obtain photographs of spikes from the web. Remember to take away the background earlier than utilizing the downloaded picture in your sport. After downloading the picture.

Click on the add possibility under the sprite creation icon and choose the picture you downloaded.

Programming geometry dashProgramming geometry dash
Geometry Dash - TriangleGeometry Dash - Triangle

Resize the sprite in response to your choice and drag it to the highest of the rectangle as proven under.

Geometry Dash - Base - UnicMindsGeometry Dash - Base - UnicMinds

The subsequent step is to create totally different spikes. Proper-click the uploaded sprite and choose Duplicate, as proven under.

geometry dash trianglegeometry dash triangle

Click on on the choice possibility highlighted in purple within the picture under.

Geometry dash triangle obstacle designGeometry dash triangle obstacle design

Click on on the copy and paste choice to create a replica of the picture. You’ll be able to drag the duplicated picture to regulate its place to create a number of spikes, as proven under. After creating the brand new spike, resize it in response to your choice.

Geometry Dash Triangle Obstacle - UnicMindsGeometry Dash Triangle Obstacle - UnicMinds
geometry dash trianglegeometry dash triangle

Step 3: Make the participant bounce when urgent spacebar

The code under makes the participant bounce diagonally when the spacebar is pressed.

Make the player jump with Geometry Dash - UnicMindsMake the player jump with Geometry Dash - UnicMinds

Step 4: Create and transfer a number of spikes

Click on on the spike sprite and add the next code block.

When the sport begins, Spike repeatedly creates a clone of himself each 3 seconds. By altering the variety of seconds, you’ll be able to alter the frequency of spikes within the sport. Because the variety of seconds will increase, the frequency of spikes that seem within the sport decreases.

Create multiple spikes and move spikes with geometry dash - UnicMindsCreate multiple spikes and move spikes with geometry dash - UnicMinds

Every time a spike is cloned, the clone strikes to a beginning place of x:200 and y:-83. You’ll be able to change the beginning place in response to your sport design.

Spikes are randomly chosen. There are 4 sorts of spikes, so the pc randomly selects a spike primarily based on a random quantity between 1 and 4. The created clone then strikes from left to proper with a set y place. It would then be deleted when the clone goes off display.

Geometry Dash - Cloning - UnicMindsGeometry Dash - Cloning - UnicMinds

Step 5: Earn factors

As quickly as the sport begins, gamers begin incomes factors. Till the participant touches the spike, the participant scores factors.

Add the next code for the spike sprite. The rating continues to extend by 1 each 2 seconds till the spike touches the participant. You’ll be able to alter the velocity at which gamers can earn factors by altering the variety of seconds.

Geometry Dash Program for Kids - UnicMindsGeometry Dash Program for Kids - UnicMinds

Step 6: If a participant touches a spike and the sport ends

Add the next code to the participant sprite. Checks if the participant has touched any of the spikes repeatedly.

When the participant touches the sprite, the spikes cease shifting, the rating stops altering, and all loops cease working. A Sport Over background will seem to point that the sport is over.

As soon as the sport is completed, we have to disguise the participant sprites.

Kids can code Geometry Dash in ScratchKids can code Geometry Dash in Scratch

I hope this helps, thanks.

Additionally Learn: C Programming for Children, Academic Video games for six Yr Olds, 11+ Grammar Colleges within the UK

banner
Top Selling Multipurpose WP Theme

Converter

Top Selling Multipurpose WP Theme

Newsletter

Subscribe my Newsletter for new blog posts, tips & new photos. Let's stay updated!

banner
Top Selling Multipurpose WP Theme

Leave a Comment

banner
Top Selling Multipurpose WP Theme

Latest

Best selling

22000,00 $
16000,00 $
6500,00 $

Top rated

6500,00 $
22000,00 $
900000,00 $

Products

Knowledge Unleashed
Knowledge Unleashed

Welcome to Ivugangingo!

At Ivugangingo, we're passionate about delivering insightful content that empowers and informs our readers across a spectrum of crucial topics. Whether you're delving into the world of insurance, navigating the complexities of cryptocurrency, or seeking wellness tips in health and fitness, we've got you covered.