Swing Copters...From The Ground Up

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

3,284 visits, 7,683 views

Translations

This tutorial hasn't been translated.

Tools

-System: Set layer visible

Set all the layers to visible. Remember that we made them invisible in the Intro Event sheet just before we jumped to the Game layout.

-obj_LeftPropeller: Destroy

-obj_RightRopeller: Destroy

-obj_Girder: Destroy

-obj_Hammer: Destroy

Since these objects are already on the layout, it is safe to destroy them. We will be creating or spawning these object later in the tutorial. There really is no use for these objects off the screen and they are only adding to the object count. It is not necessary to destroy any objects off screen that will NOT be created or spawned because these objects will only have a change of position. There is only 1 instance of these objects throughout the game.

-obj_Background: Set frame and for Frame use the System expression choose(0,1,2).

Remember that the background object consists of 3 frames. The expression choose will choose either 0, 1 or 2, corresponding to the background animation frame.

-System: Set value. Set variable to CloudColor and the value to choose(0,1,2)

Set the variable CloudColor to 0, 1 or 2. This will be used to select the obj_Clouds animation frame.

-LocalStorage: Check item exists. For Key, type "Hiscore"

Checks if the key Hiscore exists.

  • 0 Comments

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