B
BlueBird02
Guest
I've been trying to add an enemy named Flygito, a small bug enemy. I decided to shrink her sprite down (Picture above) on the room editor, but when I start the game and her sprite started moving, Flygito's sprite size goes wrong.
But her sprite remains the same when I use her default size (By taking the obj_sprite to the map without changing the size) her sprite doesn't look squashed or weird looking. Just fine.
But I wanted Flygito to be a small enemy when it moves without making the sprite look "off".
This is her code.
switch (state) {
case "chase":
if not instance_exists(obj_hero) break;
if place_meeting(x, y, obj_hero) and obj_hero.state != "roll" and attacked == false {
create_hitbox(x, y, self, sprite_index, knockback, 1, damage, image_xscale);
attacked = true
}
if attacked == true {
vspeed = -1;
}
break;
}
Is there a way to change the size of a sprite in Room Editor without making it look "off" when starting a game?