0
What is the code to move an object left to right of the screen?
I need the code for a game in development with my partner Ian. (not IRL, clean your heads)
5 Réponses
+ 5
Wich language?
You can use linear movement with constant speed or sinusoidal movement.
For second one just get center of screen,
then use (Math.sin(timePassed) + 1) * center
+ 4
@CzarCoder. Hehe {:D I'm learning at scool too, like a lot of users here
+ 1
I will do it
0
js,HTML,css
0
OK thank you, sorry for the late reply, school you know?