Move Picture - Extended

Galenmereth

I thought what I'd do was
Veteran
Joined
May 15, 2013
Messages
2,207
Reaction score
1,934
First Language
English
Primarily Uses
RMMV
TDDP_MovePictureEx 1.0.0
Galenmereth

Introduction
This plugin allows you to use variables and relative values with all the properties of Move Picture events (not only X and Y) via an intuitive and simple Plugin Command structure. Very useful for mini-games and picture-based menu systems.

Features
  • Very useful for event based menus and minigames using pictures. In addition to x and y, you can also use variables for duration, width, height, blend mode and even picture ID.
  • Easy Plugin Command structure where properties can be in any order, and omitted properties are given their current values as defaults.
  • Supports relative values "+" and "-", modifying the existing value by the amount given
  • Supports variables for values, even for the picture's ID. This enables complete dynamic handling of Move Picture events.
  • Integrates and works with TDDP_AnimationCurves. You can use its Plugin Command like you would with MV's built-in Move Picture event command, or use the property "curve:<CurveFunction>" to set them both in one!
  • Does not overwrite or change MV's internal Move Picture functionality; this is just another interface to it. Therefore compatibility should be as high as possible.

Screenshots
More and better visual examples of how this can be used coming soon, as I'm using this actively in my own game.



How to use
Use the following Plugin Command structure:

Code:
MovePicture <id> <property:value>
For example, to move a picture's X position without altering its other properties, simply write:

Code:
MovePicture 1 x:500 duration:45 wait
Variables
You can use variables as property values. For example:

Code:
MovePicture 1 x:v1 y:v2 duration:v3
This would use variable 1 for x, variable 2 for y, and variable 3 for duration.

Variables can be used for all properties, even the picture id:

Code:
MovePicture v1 opacity:v2 duration:60
Relative values
If you want to set a property relative to its current value, you can do that too. For example:

Code:
MovePicture 1 x:+100 y:-50 width:+25
Both "+" and "-" are supported.

You may have noticed "duration" was omitted here. It falls back to MV's default of 60 when omitted.

See the Help section of the plugin for more information.

Changelog

Code:
Date       | Version | Description
- - - - - -|- - - - -|- - - - - - - - - - - - - - - - - - - - - - - - - - - - 
03/05/2019 | 1.0.1   | Fix issue with unscoped origin var causing crashes with
           |         | my other plugins.
Download
Grab the latest release here: TDDP_MovePictureEx.js

Credit
- Tor Damian Design / Galenmereth

License
Released under an MIT License (free for commercial use)
 
Last edited:

Galenmereth

I thought what I'd do was
Veteran
Joined
May 15, 2013
Messages
2,207
Reaction score
1,934
First Language
English
Primarily Uses
RMMV
Important: Plugin has been updated to 1.0.1, fixing a bug that could cause crashes when used with some of my other plugins, due to an unscoped variable. Please redownload if you are able.
 

Galenmereth

I thought what I'd do was
Veteran
Joined
May 15, 2013
Messages
2,207
Reaction score
1,934
First Language
English
Primarily Uses
RMMV
Bumping for visibility :kaohi:
 

happip

Warper
Member
Joined
Jun 25, 2019
Messages
2
Reaction score
25
First Language
Spanish
Primarily Uses
RMMV
Absolutely brilliant!
 

Riazey

Master of None
Veteran
Joined
Feb 27, 2014
Messages
72
Reaction score
57
First Language
English
Primarily Uses
RMMV
Heya there! This plugin is super useful and I totally recommend it to people, easy plugin commands and lots uses for it!

I do have a question though, would we be able to perform say y: v#+1 in some way?
 

Roezaka

Villager
Member
Joined
Jan 4, 2020
Messages
5
Reaction score
0
First Language
Rus
Primarily Uses
Other
Great plugin! I use it to make a duration of more than 999
 

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

Latest Threads

Latest Profile Posts

Well, well, well, well....Lemme get a look at this fanart.
The Google Play rating for one of my games finally rose above 4.0 after getting review-bombed from a $0 sale. Now the game's sales are doing much better when discounted, so that's nice.
I'm getting close to releasing a demo. Working on formatting my Games in Development post.
I always see a few people asking for C# in next engine and I always thought: Do I not know enough about that language to tell it will affect extensibility and customizability to the negative? Watching a video from SumRndmDde today I feel confirmed.
If you had some musical requests in line with me.. feel free to re post! Corona has killed me and have recently got my internet back <3

Forum statistics

Threads
98,220
Messages
950,459
Members
129,516
Latest member
Aedgonz
Top