Wondering how to..

Get help using Construct 2

Post » Tue Aug 14, 2012 5:25 pm

Hello im new! I was wodering if there is a way to make a "Boss" Sprite appear once at a certian number of score.

Like say: Score: 102

Once at 102 a "Boss" sprite would appear to attack the player. But only once.


( Id provide a capx. but I dont know how.. an the project is abit secret)
B
2
Posts: 2
Reputation: 429

Post » Tue Aug 14, 2012 5:48 pm

hmmm what about this :
event:
     condition:system:compare two values -->>score variable >= 120
     action : system : create object : boss object at X,Y
B
52
S
16
G
7
Posts: 795
Reputation: 12,820

Post » Tue Aug 14, 2012 5:51 pm

Remember to add the 'trigger once' condition! It's amazing!
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,674

Post » Tue Aug 14, 2012 6:45 pm

About that sqiddster.. where is the trigger once condition, I can never seem to find it. I have to use groups and turn off the group in the event itself :/
B
37
S
11
G
6
Posts: 962
Reputation: 11,254

Post » Tue Aug 14, 2012 6:48 pm

"Special conditions" section in the "Add event" or "Add condition" window.
It depends how big is your screen, for me "Trigger once while true" is last one on the right ;Pshinkan2012-08-14 18:49:55
ImageImageImageImage
B
156
S
64
G
41
Posts: 2,589
Reputation: 34,613

Post » Tue Aug 14, 2012 9:08 pm

"Special conditions" in System.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
280
S
104
G
86
Posts: 7,313
Reputation: 84,356

Post » Wed Aug 15, 2012 3:18 am

Soo what would I put for first value... this? :

FValue: 0 Greater then SValue: 120
B
2
Posts: 2
Reputation: 429

Post » Wed Aug 15, 2012 4:42 am

@shinkan @Kyatric
Ah, damn it. I'm blind.
Thanks!
B
37
S
11
G
6
Posts: 962
Reputation: 11,254

Post » Wed Aug 15, 2012 6:53 am

System: Compare global variable => SValue Greater or equal 120

@XonixGaming: Perhaps you should go back and check the beginner's guide for C2 as well as carefully checking the tutorials linked in the C2 part of this tutorial.

Those tutorials display clearly how to do most basics stuffs in C2 like checking for global variables.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
280
S
104
G
86
Posts: 7,313
Reputation: 84,356


Return to How do I....?

Who is online

Users browsing this forum: hielo777, istero, S1mon and 9 guests