This is a little snippet I wrote for my project.
It's to fix the problem that sprite is too high or too low for the tiles behind.
I actually ran into this problem when I'm trying to put stuffs in 1 block height of cave's ground.
So I think to use script is easier than edit the sprite image~
The red fire use Sprite Mover, the blue fire doesn't~Script
Place it above main
( 2.18K )
Number of downloads: 351Instruction
In the event page that you want to move sprite, add comment:
MOVE x_plus, y_plus
** x_plus: how many pixel you want to move sprite horizontally
(- number: move left | + number: move right)
** y_plus: how many pixel you want to move sprite vertically
(- number: move up | + number: move down)For example
, add comment:
MOVE 0, -20
to move sprite up 20 pixel~Author's Notes
Free for use in your work if credit is included.Bug Report?
Please give me these informations:
- What is it says in error window?
- When is it get error? (Right after run game, when you choose something, etc.)
- Do you have any other scripts running in your game that may crash with this script?