Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
The following files have been attached to this tutorial:
This tutorial hasn't been translated.
This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.
1) First you need to create an sprite, lets call it camera.
2) add ScrollTo behavior to Camera object.
3)Create a Global number named UpDown.
4)create events as below
And how can you scroll horizontally? I tried to do the same but with the X instead of the Y and it doesn't work
THANK YOU. The Capx really isn't necessary just follow the screenshot exactly. Now it makes total sense and I learned alot.
YOU NEED A GLOBAL VARIABLE CALLED: UpDown
It's the only thing not in the screenshot.
Also note that lines 4/5 are "System -> Compare two values"
THANKS DUDE :)
I also found it necessary to create a specific sprite called ScrollSizer -- which was a like a group for my many scrolling sprites.
If that is off screen, disable bottom scroll.
This example ONLY worked with one single scroll object, not many, as it would put ALL of them on the bottom. I suppose I could detect some offsets, or something -- there are many ways to handle this.
error on the zip
error open the capx