Hi everyone, I am currently trying to create a game on the engine using this guide “How To Make A Video Game GDevelop Beginner Tutorial” on youtube. I got an object “Enemy” with this event description, set up the platformer behaviour.
I set in the “Edit points” a point named sensor, that’s is right in front of the sprite.
stones is a tilemap, there are two tiles left and right sorrounding the Enemy
It’s supposed to turn and go in the other direction in a loop each time it touches “stones” but it gets stuck when the sensor collides with the tile of the stone tilemap.
There doesn’t appear to be anything wrong with the events. I’ve made a test project with the same events, and it works fine. This would suggest the issue lies elsewhere.
Does it only happen when the Enemy is moving to the right, or in both directions? If it’s just to the right, then I’d hazard a guess that somewhere else you’re unflipping the Enemy, negating the event in your screenshot.
Hi ya’ll. I appreciate everyone who reached out. turns out the problem was that the enemy latched on to the ledge of the stones, I checked off “Can grab platform Ledges” In the behaviours so if anybody else faces this problem that might be their issue too.
Thanks again, happy sumer