Construct 2 Tutorials – Car Racing Game
Simple Car racing tutorial made in construct 2
launch Construct 2. Click the File button, and select New.
Set the layout width and height : 480×854
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
add a bullet behavior and set the speed to 300
rotate it 90* set the width to 100000
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.
Now same way add new sprite and import all the opponent cars
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
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