toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
can i do so there is example 100 lanes and when i touch play it take a random of them ??
champ442
Member
Posts:
42
August 2012
edited August 2012
in
Working with GS (Mac)
can i do so there is example 100 lanes and when i touch play it take a random of them ??
Comments
jamie_c
ImagineLabs.rocks
Member, PRO
Posts:
5,772
August 2012
I think you might need to be a little more specific in your question details but if you want to pick a random number between 1 and 100 you would:
Make an Integer attribute called: Lanes
then use a Change Attribute behavior to set its value to: random(1,100)
Jamie
champ442
Member
Posts:
42
August 2012
also example in "doodle jump" when you play, it's not the same lane, so i think how o can make 100 lanes and when i touch play, it plays a random of the 100 ??
Sign In
or
Register
to comment.
Comments
Make an Integer attribute called: Lanes
then use a Change Attribute behavior to set its value to: random(1,100)
Jamie