- Joined
- Mar 15, 2019
- Messages
- 523
- Reaction score
- 415
- First Language
- English
- Primarily Uses
- RMMV
You know, the classic effect where a newspaper starts off tiny, spins around its center rapidly, and gets bigger, before abruptly stopping.
The rotation is a pretty simple effect, but the base RMMV options for displaying pictures don't seem to let you set the scale of an image to a variable, and I'd prefer not to have 200 lines of wait statements and incremental increases in image size.
I'd also like to be able to guarantee the rotation stops at exactly the right point (with the newspaper upright), and the built-in rotation command only let you set a rotation speed (which isn't ideal).
I can roll my own JS if necessary, but I'm hoping either that I've missed an easy default method of doing this, or that there's a plugin where someone else already did the gruntwork for scaling and rotating pictures easily.
EDIT: meh, did it myself by putting this in a loop
The rotation is a pretty simple effect, but the base RMMV options for displaying pictures don't seem to let you set the scale of an image to a variable, and I'd prefer not to have 200 lines of wait statements and incremental increases in image size.
I'd also like to be able to guarantee the rotation stops at exactly the right point (with the newspaper upright), and the built-in rotation command only let you set a rotation speed (which isn't ideal).
I can roll my own JS if necessary, but I'm hoping either that I've missed an easy default method of doing this, or that there's a plugin where someone else already did the gruntwork for scaling and rotating pictures easily.
EDIT: meh, did it myself by putting this in a loop
Code:
$gameVariables.setValue(24,$gameVariables.value(24)+1)
zoomPercent=200*$gameVariables.value(24)/50;
$gameScreen.picture(2).move(1, 412, 318, zoomPercent, zoomPercent, 255, 0, 1);
$gameScreen.picture(2)._angle+=(360/25);
Last edited:
