[DYNRPG] DYNPEC

Additional control over you pictures

  • Kazesui
  • 06/01/2014 05:01 PM
  • 7427 views
The Dyn Picture Extended Commands Plugin gives you some extra control over your pictures in rm2k3.
It allows you to control most aspects of the picture with variables as well as provide some new functionality like flipping the picture.

It also allows you to load a spritesheet into the picture and then loading single sprites from that sheet, to more efficiently animate using pictures (and has the added bonus of making the picture folder a lot more maintainable).


Current Version: 1.05

Details

  • 706.3 KB
  • 363
  • 12/23/2023 04:31 PM

Actions

Posts

Pages: 1
Wow, i tried this new pluguin, i also liked changing the angle and the sheet properties into a image, it could save some extra coding!
(number) parameter#2: effect strength
/ sets the effects strength (rotation / wavering)

There is no command for wavering pictures. Or is there?...

I also don't see much of a difference when I use this for rotation. What exactly does it do?

----

I loaded up an image and made a system to press keys to alter zoom and rotation. It's a giant picture and I start the zoom at 20%. It runs smooth, but when I start zooming it in there is considerable lag. It starts lagging even before the image gets to 100%. I removed the system and it doesn't lag when you simply display a picture at any zoom. It must be the parallel process constantly running the set_magnification and set_rotation. There was nothing to redraw the image, just that.

I changed the picture to something smaller and it only lags when the image gets about half screen large.

Oh wait, I think the lag comes from a large image being rotated to any abnormal angle. Yep, definitely. An image that is about 250x250(possibly even smaller) drawn once at an angle, with no further processing on it, will cause lag as long as it is on screen. Just something to note.
@effect_strength sets the strength of whatever effect you've chosen for the picture, either rotation or waver. Since you can only have one (and this is how it's stored internally anyway) there's no need to make another separate command for the two scenarios.

And yes, rotating anything big is rarily a good idea in rm2k3 if you want to avoid lag. This has been true since before DynRPG, and this plugin does not change that, since it just gives some extra control over the pictures, not change how they are executed.
I'm confused. Are you saying that rotation and waver already existed in 2k3 before this?
o.O How did I not know that after all these years. I've even been on the screen and never noticed those 2 effects.
Hey, I think I've discovered a bug.

I'm displaying a picture which isn't using a transparent color, however, after using "@pec_flip_picture" it displays using transparent color. (Which results in a visual glitch)

A bug, or is it my mishandling? :) No big deal though, I can work around this by editing the picture.
That was indeed a bug. It should now be gone
Works great! Thank you very much!

Hope I'm not bothersome, but I would like to request a feature if possible:

Would it be possible to add a command changing only the ROW or the COLUMN when using a sprite sheet? I've automated some of my sprite display stuff with variables and it would be great to change either row or column only - @pec_jump_to_frame would require me to repeat the variable calculations. Also a @pec_previous_frame would be great (unless it's there, but undocumented) ;)

Cheers and thanks!
Pages: 1