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
So I would like to read the screen center X value. Any ideas on how to do this would be appreciated. Guessing that their are many ways to do this. Was sizing things based on their Y value but hope use this value to keep thing connected vs just getting smaller.
. . . . . .
' ' ' ' ' '
* * * * * * * * *
Develop games in your browser. Powerful, performant & highly capable.
The screen center is in the middle between ViewPortLeft(L) and ViewPortRight(L), where "L" is layer name or number.
So you can use lerp(ViewPortLeft(L), ViewPortRight(L), 0.5)