Hi, pls how to random frame for object1? I have lot of objects1 and need for each random frame... I tryed some solutions but all of my objects1 have got same frame, and i do not want it!
Have you tried setting up an instance variable for the object and having it generate a random number for that variable when the object is created?Then you can just set the frame to match the variable.
Yes i tryed it, but no effect.... This solution works in Classic erfect :( but here no :(
Set Animation speed to 0 !!
And in events set "animation frame - to random(n)"
If you have a static animation
Develop games in your browser. Powerful, performant & highly capable.
I have this:
On start layout: object-> set animation speed to 0 and set objectvar to random(2)
objectvar = 0 -> set animation frame to 0
object var = 1 -> set animation frame to 1
and it does not work....
Why you do this with object var?
Make it:
set animation speed to 0 in animation properties and
On start layout: object->set "animation frame to random(2)"