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

Post » Tue Aug 14, 2012 5:51 pm

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

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: 948
Reputation: 11,101

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
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

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
247
S
85
G
40
Posts: 7,000
Reputation: 57,805

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: 948
Reputation: 11,101

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
247
S
85
G
40
Posts: 7,000
Reputation: 57,805


Return to How do I....?

Who is online

Users browsing this forum: selaus and 0 guests