3 in 1 Game

2

Index

Attached Files

The following files have been attached to this tutorial:

.capx

3-in-1-simplegame.capx

Download now 2.42 MB

Stats

7,728 visits, 17,063 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 25 Jul, 2015. Last updated 19 Feb, 2019

Layout number Three:

In this layout create 3 layouts as before and named as Background, Numbers, Guide and add textbox. Your layout screen looks like below.

Now Add Apple sprite and name it sprApple. Now add Numbers sprites like below.

Now your screen layout Game 1 looks something like this

Now add one more layout and name this layout Game 2 and hide it. Your layer should looks like below

Also on start of Number you must set Game 2 layer as INVISIBLE. Reason for this is if you don’t it will look like below and spoils everything.

Your Property looks like this

Now open your Event Editor and Enter code below.

Now click right button and add group, name it Game 1, and add Game 2.

REMEMBER TO UNCHECK ACTIVE ON START FOR GAME 2

Everything will be cleared what are we doing and why? In Game 1 group add this code

Now add Game 2 code

By adding groups we can create many screen layouts for games and use it in our game. Example if certain condition is met we can set that screen Visible or Invisible without worrying about odd, out of the ordinary screen.

If you use your imagination Construct 2 is powerful engine. Just like Construct 2 developer Ashley and co. These guys have given you and me very powerful tool. No doubt or uncertainty in my mind.

  • 0 Comments

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