hi everyone, in my game i have some sprites with the bullet attribute that i spawn at some intervals from top and bottom on the screen however this sprites maintain their angle when spawn, but i would like the images to always be at 90 degrees in both direction(that is always upright). how can i achieve this.
thanks
here is a capx file explaining what i mean.
sprite rotate
Develop games in your browser. Powerful, performant & highly capable.
Don't rotate black objetcs, it can relate to spawned objects with its own angle.
In bullet behavior, change "Set Angle" -> "Yes" to "No"
and add some actions when bullet objects are spawned
Set Angle of Motion, 90 (-90 goes top)
Joannesalfa, thanks a lot, concept works well, needed to tweek some other things though, but wasn't hard to figure out