Need help with Movements of the Camera for the Title screen of my game


#1

I’ve been trying a lot of different things, but none of them have worked. I want the camera to move slightly away from the mouse on the title screen. I need to finish this really soon, so please help if you can!


#2

What have you already tried? How do you want the camera to move - in a random direction or in a set way? How far and how fast?


#3

Hm. You can try centering the camera on the centre - (cursor distance to centre[from the expression builder]/10)

This should keep it roughly on centre while moving it a tad left, away from centre as the mouse goes right. Not a concrete event, but I hope it helps.

Toodles!


#4

Change Camera Position X ((SceneWindowWidth() / 2 - MouseX()) / 5) + SceneWindowWidth() / 2)