Hello can anyone hel me, i cant fix front. i want fishing string in water. what wrong with my tamplate?
Sprites Fishing in RPG MZ
RPG Maker MZ SupportDid you follow the instructions to put $ in front of the filename if it only has one character in the spritesheet?
If that's not the problem, we'd need to see the actual image.
If that's not the problem, we'd need to see the actual image.
yes i put $
right, left, back. works great. but the front does not work at all. I do not know
By default the game shifts characters up 6 pixels (if i recall correctly). The $ makes it a single sprite sheet. You'd need a ! to prevent the shifting (although this causes some other behaviors such as not showing bush effects). So that'd be my guess why the front isn't reaching the water.
edit: actually, since it's counting up from the bottom, the event would need to be standing in the water for the line to be in the water. As it is drawn, the line is in the bottom two squares, so that's going to draw at the bottom of whatever grid it is in (technically I think the event will be in the bottom left square of the grid, it just graphically overlaps upwards with surrounding tiles). Given this, leaviing the autoshift up is probably better - i.e. don't use "!", and push the image up a bit in the frame, you'll still have to place the event in the water to make this work
edit: actually, since it's counting up from the bottom, the event would need to be standing in the water for the line to be in the water. As it is drawn, the line is in the bottom two squares, so that's going to draw at the bottom of whatever grid it is in (technically I think the event will be in the bottom left square of the grid, it just graphically overlaps upwards with surrounding tiles). Given this, leaviing the autoshift up is probably better - i.e. don't use "!", and push the image up a bit in the frame, you'll still have to place the event in the water to make this work
Sprites are drawn centered left to right and from the bottom of the tile it's on and then up. Meaning it'll never go below the tile you are standing on.
You'll have to look into a plugin that can offset the sprite down a few pixels if you want the fishing line in the water.
You'll have to look into a plugin that can offset the sprite down a few pixels if you want the fishing line in the water.
I tried it, but it still doesn't work. I made another version, and it still doesn't work. I thought the fishing rod wasn't long enough, but in the end it's the same.
can you recommend it?
Sorry, I have mz but I don't use it, I'm still using MV. You could try visustella or galv.
Alternatively you can try this script call in a move route:
$gamePlayer._y += .5
You'll need to play with the number to get it right and plus is down minus is up
VERY IMPORTANT whatever you offset here needs to be "undone" before you give the player back control or it will look weird. So in our example above we added .5, so to undo it we'll need to do
$gamePlayer._y -= .5
Works for me in MV.
Good luck
(edited to add picture)
Alternatively you can try this script call in a move route:
$gamePlayer._y += .5
You'll need to play with the number to get it right and plus is down minus is up
VERY IMPORTANT whatever you offset here needs to be "undone" before you give the player back control or it will look weird. So in our example above we added .5, so to undo it we'll need to do
$gamePlayer._y -= .5
Works for me in MV.
Good luck
(edited to add picture)
alternatively you could increase the size of the sprite sheet to for each frame. The event would still need to be in the water, and you'd have to fiddle with placement of the graphic to have the character on land/line in water. So the offset might be better.
But something like this:
thanks, I'll try it
Original thread: https://forums.rpgmakerweb.com/threads/sprites-fishing-in-rpg-mz.167439/