tutorial in game

Get help using Construct 2

Post » Thu Aug 15, 2013 11:30 am

Hey,
how to make tutorial features in my game? I mean when you for example start a new game I would like to have some arrows pointing at a particular place so the players will know what to do in order to start play.

Or at least tell me how to spawn an object on start of layout - > but only on the FIRST start of layout..trance2013-08-15 11:31:20
B
13
S
4
Posts: 105
Reputation: 1,503

Post » Thu Aug 15, 2013 11:40 am

@trance

Add Action > System > On Start Of Layout
Add Event > System > Create Object
B
45
S
15
G
73
Posts: 2,002
Reputation: 43,386

Post » Thu Aug 15, 2013 11:49 am

yes i know that but it will be spawned on every start of layout right? I need just the FIRST start !
B
13
S
4
Posts: 105
Reputation: 1,503

Post » Thu Aug 15, 2013 12:00 pm

@trance
When you add the action 'On Start Of Layout' you select the first layout.
If you mean that you're going to be restarting the tutorial layout a second time and you don't want the object to appear again, set up a global variable 'TutorialFirstRun' and set to 1.

Add Action > System > On Start Of Layout
- (If TutorialFirstRun=1) Add Event > System > Create Object
- Set 'TutorialFirstRun' to 0

When the layout is restarted, global variable should remain at 0 and stop the object creation
B
45
S
15
G
73
Posts: 2,002
Reputation: 43,386

Post » Thu Aug 15, 2013 2:06 pm

@trance

Here is the .capx
B
45
S
15
G
73
Posts: 2,002
Reputation: 43,386

Post » Sun Aug 25, 2013 1:28 pm

@plinkie

Same problem...
Thanks!
But i cant download, there's an error..
Heeeelppp..

B
9
S
2
Posts: 82
Reputation: 914

Post » Sun Aug 25, 2013 1:50 pm

@karlmahmen

What is the error?
B
45
S
15
G
73
Posts: 2,002
Reputation: 43,386

Post » Sun Aug 25, 2013 2:05 pm

@plinkie

Every time i download your sample/capx.



Error...
B
9
S
2
Posts: 82
Reputation: 914

Post » Sun Aug 25, 2013 2:23 pm

@karlmahmen

Thisplinkie2013-08-25 14:24:23
B
45
S
15
G
73
Posts: 2,002
Reputation: 43,386


Return to How do I....?

Who is online

Users browsing this forum: Lancifer, Mayfly and 7 guests