toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
How to make combo in game?
Jaxter
Member, PRO
Posts:
398
April 2012
edited April 2012
in
Working with GS (Mac)
In game for each cought feather i got points but i want to make combo + bonuss points. if player get 6 feathers in about 3 secs.. What i need to do?
Answers
Fabri Damazio
Member
Posts:
97
April 2012
You can make a attribute called "combo counter".
For each feather taken, make change attribute to combo counter = combo counter+1
Make a timer for EACH 3 seconds check if combo counter = 6. If yes, add points in your score. If not, make combo counter = 0
I hope it help.
Jaxter
Member, PRO
Posts:
398
April 2012
how to make it "IF" because i made rule with atribute: game.combo => 6
Jaxter
Member, PRO
Posts:
398
April 2012
and timer " Every" is doing each 3 sec it. even if i dont caching feathers
Sign In
or
Register
to comment.
Answers
For each feather taken, make change attribute to combo counter = combo counter+1
Make a timer for EACH 3 seconds check if combo counter = 6. If yes, add points in your score. If not, make combo counter = 0
I hope it help.