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
51
S
15
G
6
Posts: 795
Reputation: 12,205

Post » Tue Aug 14, 2012 5:51 pm

Remember to add the 'trigger once' condition! It's amazing!
B
92
S
30
G
24
Posts: 3,189
Reputation: 32,570

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
36
S
10
G
6
Posts: 960
Reputation: 11,125

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
154
S
60
G
40
Posts: 2,574
Reputation: 33,728

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
262
S
93
G
55
Posts: 7,145
Reputation: 67,059

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
36
S
10
G
6
Posts: 960
Reputation: 11,125

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
262
S
93
G
55
Posts: 7,145
Reputation: 67,059


Return to How do I....?

Who is online

Users browsing this forum: clissy09, lamar and 7 guests