Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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?
set animation speed to 0 in animation properties and
On start layout: object->set "animation frame to random(2)"