Sign in / Join

Construct 2 Tutorials – Car Racing Game

Simple Car racing tutorial made in construct 2

Construct 2 car Tutorials 8

 

Getting started

launch Construct 2. Click the File button, and select New.

The File menu 'New' button.

Set the layout  width and height : 480×854

construct2_car_tutorial

Double-click a space in the layout. This will bring up the Insert Object dialog. Double click the Tiled Background object to insert it.

Click on layout to place the Tiled Background  , it will open the image editor , import all the road sprite and name it road

 

Construct 2 car Tutorials

add a bullet behavior and set the speed to 300

 

Construct 2 car Tutorials 2

 

rotate it 90* set the width to 100000

Now

 

Double-click a space in the layout. This will bring up the Insert Object dialog. Double click the Sprite object to insert it.

Click on the layout to place the sprite , it will open the image editor , import all the car sprite and name it Player.

Construct 2 car Tutorials 3

 

 

Now same way add new sprite and import all the opponent cars

Construct 2 car Tutorials 4

Now add the Touch object

 

code to move player left or right –  when the player is touching the screen the car well move in that direction

condition check to see if the car is on the left or right side player touch input

Construct 2 car Tutorials 5

 

Now Spawn the opponent car every 3 and 5 sec – that will create opponent cars every interval of time

set the x at random position and y position way outside the layout

Construct 2 car Tutorials 6

 

Virendra kumre on Facebook
Virendra kumre
Virendra kumre
hi, i am indie game developer

Leave a Reply