I am having so much trouble, getting the cube (Willy) going and passing through the Galaxy
as you see in the web-page, there is a galaxy full of little cubes (Willies)
the main willy is “flying” or moving at certain speed
let speed = 0.32;
I notice, that it has to do with the speed, and the .position.x and .position.y
I have tried many numbers, and kind of get it.
I’m sure there is a way to say something like this,
willy.position.x += willyCreatures.position.x:
Like “From where you are, traveled in the direction where is the center of the galaxy”
"so you can pass right in the middle of the galaxy.
and if it’s not too much to ask, say something like this:
if willy.position.x == willyCreatures.position.x; willy.speed == slowDown; willy.stayThereFor = 0.8: //seconds then willy.speed += 0.4;
If I can get thoe to get Willy to the center of the galaxy will be great
to make him stay there using time counter, and then keep going is extra.
I appreciate all the help you can give me
it feels great to learn more everytime.