Hey guys. I’m new to GDevelop and was wondering how do I make an enemy that moves just like a platformer object without giving them that behavior. Pretty much I want to make enemies move towards the character but if i make them a platformer character the player can just move them around with the arrow keys but if i dont give it the behavior, the enemies just float thru walls.
If you apply the platformer behaviour to your enemy object, there is an option to disable default button input.
That way you should be able to control the enemy purely with events in the behaviour, eg: ‘simulate left keypress’ to make the enemy move left. I’m not at a pc right now to test, but it could be a good starting place.
2 Likes
Ayyyy. It worked! THank you!
1 Like