Hi! I have created a fence border using sprites, since unfortunately gdevelop doesn’t have an integrated tilemap editor. The player collides properly when moving left and right while touching them, but up and down seems very buggy. Anybody know why?
You’re going to have to explain in better detail what is happening and what you expect or want to happen. We cannot see what the issue is from the video.
I’ve made a bug showcase project that should show what I mean. Hold right while moving up and down against the wall and notice how the character sticks to the wall a bit on sprite borders. It seems to happen less in this than in my game, but is still there and noticeable. I hope this will help show what I mean better.
I downloaded the project, tried it, and I don’t see the problem.
I mean, you’re using “move away” to simulate the collision. That means there’s always some friction caused between the “repulsion force” of that behavior and the “forward force” due to pressing the directional arrow. However, that’s not an unexpected behavior or bug.
If you’re looking for a smoother behavior, you’ll need to try a different approach. Maybe you can use a platformer object and platforms with gravity set to 0.