oh okay, thanks!
On created - set animation frame to round(random(x,y)) where x and y are the upper and lower limits and round ensures it is a rounded number.
how do i do 'On created'and where do i put it?
I am making a game that has minigames, and i need to have the sprite to spawn with a random animation frame at the start of each wave
Develop games in your browser. Powerful, performant & highly capable.
i was needing them because im making a game that has minigames in it, and they needed to be different sizes, but i found out that i could just use set canvas size on start of layout
I am try to make a mini games game but I can't if I cant have different viewports