How do i make a Moving Sun?

How do i make a object follow my camera? Im trying to make my Sun Object to follow me.

You can make a rotating sun by using many sine calculations. I’d recommend using the example if you haven’t taken algebra 2 yet. Flowlab Game Creator - The Orbit Example

2 Likes

if its just supposed to stay in a corner all the time or something put it in the user interface layer. That will make it automatically follow the player. just go to user interface then make a new object and click browse if you already have a sun design.

1 Like

A game link would really help. Is the sun supposed to be a background object? If so, go into your player’s camera behavior and move the parallax slider a bit until you find the right amount you need.

1 Like