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
Title says it all pretty much.
I've searched around, apparently windowwidth/height it no longer the way.
Ashly mentioned viewport here - scirra.com/forum/windowheight-selfheight-not-centering-n-stretch_topic53031.html
But that doesn't seem to be working.
Any suggestions guys? Bit stumped on this one, thanks for reading :)
(ViewportLeft("Layer") + ViewportRight("Layer")) / 2
(ViewportTop("Layer") + ViewportBottom("Layer")) / 2
^ That should work fine. Make sure you substitute "Layer" with your layer name.
Develop games in your browser. Powerful, performant & highly capable.
I did rename it, but me being stupid (blaming tiredness haha) called it "3" instead of the actual layout name!
It worked now. Thanks :D