Hello there,
I'm tring to create a sinewave line that moves left to right on the screen.
What I'm trying to do is to spawn many sprites (squares) from an object that moves with a sin behaviour outside the screen, and then connect these sprites one by one in order to create a continuous line. My idea is that, if I were able to connect the sprite with the lowest x coordinates with the sprite with the 'second-lowest' x coordinates, and then move to the next and do the same, this should work.
But obviously it does not.
In the attached file you can see my experiment, but i know something is missing in the loop sintax.
drive.google.com/file/d/1dn_IrDmOZ7UOZAnxeOUzrx7NrJS2nnd9/view
I'm a newbie and I know this is beyond my current capabilities. Any help would be truly appreciated.
thanks