How to create subway surfer like game in construct 2?

2

Stats

5,300 visits, 7,505 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 6 Nov, 2017. Last updated 19 Feb, 2019

Hi Friends,

Today I am going to show you the code for creating subway surfer or temple run like game. You can update this code and make it lot better as per your requirement.

Download template: Download Royalty Free Capx file

Play game here.

Click here to play

Game will look like this:

This game is made into two main parts.

1. Start screen

2. Gameplay screen.

Start screen code:

Gameplay screen code:

1. Create player with platform behavior. Then create button actions. You can see that in the screenshot.

2. Create object for collision cone and sprite 4 (barrier) object.

3. Then set code for collision of cone & sprite 4 (barrier) object. Also see motion angle in screenshot.

4. Final code part

  • 1 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Hi Jatin,

    Can you please share the capx or c2p again I think the link mentioned here is expired! It would be a great favour from your side

    Thanks in Advance