Saving player and event's sprite when changed map

OngkrubG

Villager
Member
Joined
Aug 24, 2014
Messages
6
Reaction score
1
First Language
Thai
Primarily Uses
RMMV
(Sorry for my English) Hi! I am making a game about cheese and I make a cheese placing system which change cheese event sprite to that cheese's type by using change image function in set movement route. It went fine until I change map and when I came back, I find that the cheese's sprite became the same sprite of event. So I have to make 8 Event page for every sprite in the sheet. It went fine(again) until I changed player's image to a cheese-carrying image, and again, when I changed map, my player sprite became the normal player sprite and I have to make common event that use a lot of cpu to fix this, so I am requesting plugin for this (Plugin that save or retain player and event's sprite when changing map) on this board so someone can see it and make it for me and other gamemaker, Thank you! (My language maybe confusing, Sorry)
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
381
Reaction score
356
First Language
german
Primarily Uses
RMMZ
Make a Common Event that is runned once you change Maps and then updates Player's sprite. That should be much easier than a JS Plugin
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,108
Reaction score
13,713
First Language
English
Primarily Uses
RMMV
Anything done by a set movement route will be reset when you leave the map and return.

Normally, to make an event change its sprite and keep it when you leave the map, you'd have multiple event pages and use conditions to indicate which page should be active. You can use self switches if you have up to 4, but if more, and there are multiple similar events, it might pay to look for a self variables script/plugin, or one that provides additional self switches.

If you want to change the player's sprite, you should use the Change Actor Images event command, not a move route.
 

Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
480
Reaction score
1,468
First Language
Indonesia
Primarily Uses
RMMV
.... Feels like I'm going to be hated if I pointed this out.

Change Event Graphic from move route only act temporary. It will refresh when you change map.
For event, you can change their page instead.
As for the player, use Change Actor Images from the 3rd tab of the event comand.
It's permanent change.
1591689983731.png
 

OngkrubG

Villager
Member
Joined
Aug 24, 2014
Messages
6
Reaction score
1
First Language
Thai
Primarily Uses
RMMV
.... Feels like I'm going to be hated if I pointed this out.

Change Event Graphic from move route only act temporary. It will refresh when you change map.
For event, you can change their page instead.
As for the player, use Change Actor Images from the 3rd tab of the event comand.
It's permanent change.
View attachment 147051
Oh, Thank! I forgot that though
 

OngkrubG

Villager
Member
Joined
Aug 24, 2014
Messages
6
Reaction score
1
First Language
Thai
Primarily Uses
RMMV
Anything done by a set movement route will be reset when you leave the map and return.

Normally, to make an event change its sprite and keep it when you leave the map, you'd have multiple event pages and use conditions to indicate which page should be active. You can use self switches if you have up to 4, but if more, and there are multiple similar events, it might pay to look for a self variables script/plugin, or one that provides additional self switches.

If you want to change the player's sprite, you should use the Change Actor Images event command, not a move route.
Yes, I did just like that and I use Self variables too! but I think It too complicated so I ask for this
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
381
Reaction score
356
First Language
german
Primarily Uses
RMMZ
.... Feels like I'm going to be hated if I pointed this out.

Change Event Graphic from move route only act temporary. It will refresh when you change map.
For event, you can change their page instead.
As for the player, use Change Actor Images from the 3rd tab of the event comand.
It's permanent change.
View attachment 147051
Ah yes, I totally forgot about this one
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top