How to make collidable sprites

Hello! Im making a collidable sprite in my platformer game, and while i do have a somewhat-working sprite physics system, its very buggy and you often glitch into the sprites. Hence: i figured i should ask for some help.

What i mean with collidable is that, like tiles, you cant go trough them.

The sprites don’t move, so dont worry about moving sprites.

could you post your project so i can look at your code

@hasanchik the easiest way to do this is to just use the tilemap and set the tiles as walls wherever the sprite is.

I also made an example of something similar to this: How to make pushable sprites using blocks? - #3 by richard

1 Like