[Solved] Starting enemy movement just before it comes on to screen

Hello. I’m making a side scroller and I want my enemies to start moving just before coming onto the screen. How can I do this? Thanks.

Maybe you can look at Flappy Bird example.

1 Like

Hi, did you check the space shooter example?
GDevelop 5

The simple space-shooter example uses the same approach:

Thanks, yes I figured it out, the space shooter example has the camera code I needed. It wasn’t working at first because the camera width was divided by 2 (which still allowed the nose of my enemies to be visible before they started moving), so I changed it to 1.9. Now my enemies are completely hidden before they start moving onto the screen.

1 Like