Enemy on the floor

I am trying to do a Mario game and have several enemies on some platforms using the variable Direction “Right” which is perfect for some enemies if they are in between barriers or on the floor

the problem is the enemies float in mid air is there anyway to make them drop down instead of float?

This is the enemy events

Video of what I mean

Thanks

mabe you can use force and pull the enemy down. i did not test it

so do add a force and make it like y 100 or higher
here is an example:

That actually looks pretty interesting. I hope you keep one scene where, inexplicably and for no conceivable purpose, 2 goombas appear in midair and waddle across the sky before disappearing from the viewport.

Do you have to use forces for them? Could you make them a platformer character with no default controls and just simulate their movements with events?

if you use another sprite, you need to do it again but you dont seem to have more than 2 sprites

Do you have to use forces for them? Could you make them a platformer character with no default controls and just simulate their movements with events?

platformer behavior works but the character will be able to move with arrow keys and jump with spacebar but force does not

1 Like

oh, hmm what os do you use gdevelop in ? this looks diffrent ! i use windows 11 gdevelop desktop

1 Like

I meant a platformer character but uncheck Default Controls. That way the character can’t move at all unless you set events like “space bar pressed simulate jump for character” or w/e. But since it’s an enemy the events to make it move could be something the player can’t do, like "enemy in collision with TurnLeft - change enemy animation to “left” and “enemy animation is “left” - simulate moving left for enemy” or however it’s done.

1 Like

I use Windows 11 desktop could be that I use the light theme.