Starlight

Do you have any advice or details about how you made that parallax effect and scrolling with off-screen objects?

I essentially have x, y values that act as the base camera position (also the ships position as it is centered). The stars randomly positioned on screen, when drawn, I offset them by the camera position multiplied by, say, 1.2 which makes them move faster than the camera (ship) is moving. I can have objects move slower by multiplying by less than 1. Then it's just a matter of finding the values that feel right for each layer.

1 Like

That makes a ton of sense, thanks for sharing! I'm excited to get back to it and see what I can do. This project is really inspiring, cant wait for more updates :slight_smile:

1 Like

Likewise! I can't wait to see what other people like yourself do with the platform.

1 Like