Swing Copters...From The Ground Up

3

Index

Attached Files

The following files have been attached to this tutorial:

.zip

swing-copters-assets.zip

Download now 195.54 KB
.capx

swing-copters.capx

Download now 328.31 KB

Stats

16,333 visits, 37,333 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 11 Aug, 2017. Last updated 19 Feb, 2019

Set all the layers' visibility to Invisible. The quickest way to do this is by selecting these actions we added on the On start of layout event and then right click to copy them.

Right click anywhere on the Touch event and select paste. Double click the action System: Set layer visible and change the Visibility to Invisible. Do this for the remaining layers.

Add two more System events: Wait and Go to layout. Set the wait time to 0.3 seconds and select Game for the Go to layout.

Save your project and run the Intro layout.

[page="

The Game layout"]

The Game layout

Now we will start adding the necessary sprite objects on the Game layout. I will not go into too much detail on how to do this since you have already done this for the Intro layout.

N.B. Sprite objects that are already in the Objects folder can be dragged onto the Game layout.

Click the Game layout and add 5 more layers. Name these layers accordingly.

-Background (layer 0)

-Midground (layer 1)

-Enemies (layer 2)

-Player (layer 3)

-Foreground (layer 4)

-HUD (Heads Up Display) (layer 5)

If you are using the Free version of Construct 2, then you know that there is a 4 layer limitation. I recommend putting the Midground layer sprite objects on the Background layer and the Foreground layer sprite objects on the HUD layer.

-Background (layer 0) - Sprite objects on the Midground layer go on this layer

-Enemies (layer 1)

-Player (layer 2)

-HUD (layer 3) - Sprite objects on the Foreground layer go on this layer

  • 2 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • dazedangels We us this counter for the Medal screen. If your score is 10 and you die then on the Medal screen. Start at 0 and increase by 1 every 0.07 seconds until 10 is reached.

    youtube.com/watch

    Check this vid at 0:36.

    Hope this helps.

  • Why are we creating an event in "Game Over" to add 1 to ScoreCounter every 0.07 if ScoreCounter isn't equal to Score? What is ScoreCounter doing, if the game is over?

    "-System: Every X seconds, where seconds is 0.07"

    Thank you.