When a crate is destroyed it creates the apple (and assorted fruit). I'd like the fruit to 'pop' out of the crate making the player go and pick it up.
So i have to create the fruit at the crate and set the angle from the crate as well. I'm not sure exactly how to do this.
So far I have
On the create sprite 2 (crate.y, crate.x) action I'm missing something in the random(35, 40) expression.
I tried = crate.Y(random(35, 40))
I'm not exactly sure how to write the expression after crate.y, crate.x