0 votes

Hello everyone, thank you for reading

I need to make an invader like object, meaning a sprite that'll go from right to left of the screen, back and forth with a slight acceleration when arriving to the center; except it doesn't go down when reaching the side limits of the screen. I guess i'll use a rigidbody2d but how can I script that ? I looked everywhere but I can't seem to find a tutorial for it.

If you have an idea ?

Thanks for your time and help

in Engine by (19 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.