Hello , i need help with scrolling verticaly in my game .
So i have my scene where my vertical scrolling is. I have a level selection but i need to fit more (with a touch scrolling event) , so here are my events :
Its working , but i have a problem. I want it to have a limit , where it cant scroll further . So the camera doesnt go to no where. A limit where the camera stops scrolling ,can anyone help?
Do i need to set the maxCameraY variable somewhere in my scene first in order to do this because its not working for me , i understand the process but it doesnt work.
Yes, you need to set the value of maxCameraY. Do this either when you define the variable in the editor, or in an event with a “At the beginning of the scene” condition.