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
I have been trying to do something like show in this image of apex legends. The two names on the bottom left and top right are off screen but it has markers for each teammate. I am trying to do this for enemies on a top down game.. any ideas?
Any help would be appreciated.
https://gamespot1.cbsistatic.com/uploads/original/1581/15811374/3495559-apex%20legends%20snipe.jpg
Simplified:
clamp(object.x, viewport left, viewport right)
clamp(object.y, viewport top, viewport bottom)
Develop games in your browser. Powerful, performant & highly capable.
Thank you for your reply, newt! I had to play around a bit, turns out the keyword is "ViewportLeft(<layer index>)" and "ViewportRight(<layer index>)" etc. I really appreciate this!!