Move Picture, then Tint Picture, without freezing player

JDevain

Veteran
Veteran
Joined
Oct 21, 2018
Messages
121
Reaction score
46
First Language
English
Primarily Uses
RMMV
I have a button on the left side of the screen that can be clicked to run a common event (I'm using YEP_PictureCommonEvents for that). What I want to happen is that, when clicked, the button turns gray and quickly slides off screen, and then gradually slides back into place, and THEN changes back to its original color. (This is for a non-battle cooldown system I'm working on.) Here's what I have now for the common event:



It does everything I want, but the problem is the player freezes while the "Move Picture" is processing because the "Wait for Completion" box is ticked. Of course, if I untick it, the image regains color instantly instead of after the button has slid back into place.

I tried using "Set Movement Route" to wait and apply it to This Event instead of the player, like:



but that didn't work either. I also tried several other things that would require a lot of explanation (and would have been convoluted even if they'd worked, which they didn't). So let me just ask: How do I do this?

Thanks!
 

Attachments

Jules98

Veteran
Veteran
Joined
Jul 10, 2017
Messages
308
Reaction score
163
First Language
Dutch
Primarily Uses
RMMV
Should be doable by setting 'Trigger' to 'Parallel'. Just make sure that the chosen switch is turned off at the end of the event, else the whole thing will just loop indefinitely.
 

JDevain

Veteran
Veteran
Joined
Oct 21, 2018
Messages
121
Reaction score
46
First Language
English
Primarily Uses
RMMV
You mean like this?



It still freezes the player while the picture is moving. Or did I misunderstand?
 

Attachments

Jules98

Veteran
Veteran
Joined
Jul 10, 2017
Messages
308
Reaction score
163
First Language
Dutch
Primarily Uses
RMMV
That's odd. It shouldn't be freezing the player anymore since it's now a parallel event. Perhaps there is a different event somewhere set to autorun that is triggered by switch 38 as well?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
then the freeze is not caused by this common event but by the event or function that activates it. please tell us how you trigger that common event, preferably with the full screenshot.
 

JDevain

Veteran
Veteran
Joined
Oct 21, 2018
Messages
121
Reaction score
46
First Language
English
Primarily Uses
RMMV
The common event gets triggered by clicking the image itself, using the YEP_PictureCommonEvents plugin. You simply assign a picture ID to the common event. No plugin commands or script calls involved.




------------------------------------------------------------------------------------------------

UPDATE:

I think we may be having a communication breakdown. I just created a new map, turned off every plugin, and then set up this common event:



and this map event:



and it still freezes the player while the picture is moving. There are no other events or anything on this map. I thought what you were saying was that if the common event was set to parallele, then ticking the "Wait for Completion" box wouldn't make the player freeze.
 

Attachments

Last edited:

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

Latest Threads

Latest Posts

Latest Profile Posts

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.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top