Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey thank you for this really useful tool! I was testing it a bit and i encountered this bug, i tried to understand why it happens, but i really have no clue. Any idea?

Here a clip with terrible encoding:

This may have to do with the collision masks of the sprites you are using. I'd have to check but your project to know for sure. I recommend having a separate sprite be the collision mask for the player object (You can see in the base engine I set the mask of the object to a black square). Does that make sense?

Setting a blank sprite as the mask fixed it (also setting the idle sprite as mask seems to work), i didn't tried it because the sprites have slightly different sizes so i would need a different mask for every sprite, but this are placeholders so it's really a non issue. Can you elaborate a bit why it happens? I'm curious.

Because the jump sprite and idle sprite have different collision sizes (masks) the character is switching between the idle and jump sprite. It lands on the ground so it switches to the idle sprite, but wait, the idle sprite isn't as big as the jump sprite so it switches back to the jump sprite but wait now it is on the ground again cause the jump sprite is bigger so it switches to the idle sprite again. And it goes on like this forever.

Does that makes sense?

Yes it makes sense, it's actually pretty obvious now that you pointed it out! Thank you again for the tool and the insight, really appreciated.

No problem! Glad I could help.

For example, if you replace those sprites with a single sprite of a plain black box does it still happen? If not than it is an issue with the sprite collision masks.