Hello!
Trying to rotate a picture with script. I think using the angle parameter would allow me to change it the way I want based on a wait command instead of the RTP arbitrary speed function.
I don't know how to reference the picture with the below code, if its even the correct call...
I don't know how to refer to the proper picture index and also how to even write the code for it.
EDIT: Seems to be closer to:
This just breaks the game though since it's not a function. Still searching for answers.
EDIT: Here we go, solved.
Trying to rotate a picture with script. I think using the angle parameter would allow me to change it the way I want based on a wait command instead of the RTP arbitrary speed function.
I don't know how to reference the picture with the below code, if its even the correct call...
Code:
Game_Picture.prototype.updateRotation = this._angle + 15
I don't know how to refer to the proper picture index and also how to even write the code for it.
EDIT: Seems to be closer to:
JavaScript:
$gameScreen.picture(31).angle = 15
EDIT: Here we go, solved.
JavaScript:
$gameScreen._pictures[31]._angle = Math.floor($gameScreen._pictures[31]._angle + 15)