How do I spawn sprites on a specific value?

Get help using Construct 2

Post » Mon Apr 03, 2017 1:09 pm

my combos increases by two each successful button press on a specific time and will reset back to 0 on an unsuccessful button press like a timing based game i also changed it like you suggested but the sprite spawning is still the sprite 2 not sprite 3
B
6
S
1
Posts: 36
Reputation: 424

Post » Mon Apr 03, 2017 6:41 pm

i guess is really that hard to do
B
6
S
1
Posts: 36
Reputation: 424

Post » Mon Apr 03, 2017 8:03 pm

As nickar said, it is not know how you exactly increase/decrease 'combo'.
Even not with that weird explanation (to me) above. So lets (again) gamble.

If Combo gets its value with some logic, then the spawning works as expected.
https://www.dropbox.com/s/4dvsetn1jr9ve ... .capx?dl=0

You can drag the green one to alter the overlap condition.

So, what i miss (besides a clear .capx) ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Apr 03, 2017 8:35 pm

Message: jakeedge02 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
here's a pic on how i get scores and how the combo meter increases

http://fav.me/db4kabr
B
6
S
1
Posts: 36
Reputation: 424

Post » Mon Apr 03, 2017 9:11 pm

So the question changed now to "Why is 'combo' always zero?" ?

Press W, and when sprite 4 overlaps sprite 3, you subtract combo from combo ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Mon Apr 03, 2017 9:24 pm

yea its like a timing based game an arrow moves up and down when the button is pressed while overlapping sprite 3 you get a score and 2 combo and combo is always 0 as it it only gets point when the button is pressed if sprite 4 overlaps sprite 3 and goes to 0 if it overlaps the blue sprite
B
6
S
1
Posts: 36
Reputation: 424

Post » Tue Apr 04, 2017 11:08 am

anyone? so all i can use are random numbers then????
B
6
S
1
Posts: 36
Reputation: 424

Post » Wed Apr 05, 2017 9:07 am

I guess its impossible then...
B
6
S
1
Posts: 36
Reputation: 424

Post » Thu Apr 06, 2017 3:50 pm

@99Instances2Go
any advice?
B
6
S
1
Posts: 36
Reputation: 424

Post » Thu Apr 06, 2017 6:19 pm

combo is always < 6,
because combo is always zero under the same conditions (when sprite 4 overlaps sprite 3)

i said that already, no ?

suggestions? well, dont make it always zero, dont ask me how, i dont understand your logic at all, only you do

you do something like ....

If you press my button (event 18)
and If you talk to me
____ i take your all your money

and a few lines later

If you press my button (event 25)
and If you talk to me
and if you have less then 6 dollars
____ i kick your ass

and

If you press my button (event 26)
and If you talk to me
and if you have more then 6 dollars
____ kick my ass

I never get to kick your ass, u dont see that ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: dop2000, Yahoo [Bot], zenox98 and 9 guests