Image Background with scroll issues...

Komsomol

  • Posts: 4
Am making a small game where the player starts on a ship on the 'ground' and it goes up to 'sky', 'space' and finally a moon background.

My scene size is 360 wide and 640 high.

My background image is 360 wide and 1024 high.

My background is imported in the scene and a velocity Y is added to make it scroll up. However when the game starts the background is at exactly half point i.e. the 'sky' instead of the 'ground'.

All I want to do is clamp it so it starts from the 'ground'. Not the 'sky'

I can't seem to figure this out.