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
How do you make a camera that only scroll to when the player reach the end of the camera buffer area? The camera will not move while the player is inside the white buffer area.
You can put a big invisible sprite/tiledbackground.
If character overlapping sprite -> set scroll X to lerp(scrollx, sprite.x, dt*4)
Else set scroll X to lerp(scrollx, character.x, dt*4)
Thank you, after some tweaking I have a working camera. You are a live saver!
i am having the exact same "problem", can you explain it a bit more please?
step by step would be awesome, you would help me a ton!
Develop games in your browser. Powerful, performant & highly capable.
Meanplaya Demo:
dropbox.com/s/8zm9bjlxmp2kyhr/LimitedScroll2.capx
You can check out the "Monk fight" template - editor.construct.net
It does contain a camera that fixes itself to an area until a specific set of conditions is met.
Thanks everyone, you helped me a ton!
good luck in your future projects!