What Wick Editor Version are you using?
1.19.3
Describe the Problem
I coded an image so it rotates and moves on the x and y axis by a random integer:
this.FPSCounter = 0;
this.interval = 0.000001*project.framerate;
onEvent('update', function () {
if(this.FPSCounter++ >= this.interval) {
this.x += random.integer(3,5,7);
this.y += random.integer(3,5,7);
this.x -= random.integer(3,5,7);
this.y -= random.integer(3,5,7);
this.rotation += random.integer(3,5,7);
this.rotation -= random.integer(3,5,7);
this.scaleX += 0.0025;
this.scaleY += 0.0025;
this.FPSCounter = 0;
}
});
But I want the random integers to increase over time, so it gets more chaotic over time. I’m know it’s possible, but I don’t know how. Does anybody else know?
What have you tried so far?
I couldn’t figure out how to.
Do you have a Wick Editor File that we can see? Optional
Here is the wick file: Kirby put down the knife.wick (327.8 KB)