Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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.
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
5)Done.
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