Hi everyone!
I'm working on a minigame in my RPG Maker project where the player can pick up different items and move them around. Right now, when the player picks something up, I change the player sprite to one that shows them carrying a wooden box.
However, I'd really like to show the actual item the player is carrying — for example, if they're holding a flower pot or a book, I'd like the sprite to reflect that. I could create a unique player sprite for every possible item, but I'd rather overlay a sprite on top of the player instead.
The idea is to use an event that stays on top of the player and follows them, so I can just change that event's graphic depending on the item they're holding.
I already created the graphics (a chara of each item), and I tried doing it with a parallel process event using this simple script in the event.
px = $game_player.x
py = $game_player.y
$game_map.events[97].moveto(px, py)
But it feels a bit laggy and overlaps oddly with other sprites.
Is there a better way to do this? Or maybe a plugin that could help me achieve the effect of a dynamic overlay sprite on the player?
Thanks in advance!
I'm working on a minigame in my RPG Maker project where the player can pick up different items and move them around. Right now, when the player picks something up, I change the player sprite to one that shows them carrying a wooden box.
However, I'd really like to show the actual item the player is carrying — for example, if they're holding a flower pot or a book, I'd like the sprite to reflect that. I could create a unique player sprite for every possible item, but I'd rather overlay a sprite on top of the player instead.
The idea is to use an event that stays on top of the player and follows them, so I can just change that event's graphic depending on the item they're holding.
I already created the graphics (a chara of each item), and I tried doing it with a parallel process event using this simple script in the event.
px = $game_player.x
py = $game_player.y
$game_map.events[97].moveto(px, py)
But it feels a bit laggy and overlaps oddly with other sprites.
Is there a better way to do this? Or maybe a plugin that could help me achieve the effect of a dynamic overlay sprite on the player?
Thanks in advance!