Easiest Way to do a Spinning Newspaper Effect?

Restart

Veteran
Veteran
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

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:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,585
Latest member
Reversinator
Top