How do I create one hud

Just started using Construct 2? Post your questions here

Post » Tue Feb 09, 2016 3:25 am

how i create one hud for my game? and i need create one login area for players, how i create it?
B
4
Posts: 23
Reputation: 248

Post » Tue Feb 09, 2016 8:07 am

I would say a login screen would be a little out of reach when you're unable to get a global HUD to display, but I digress. I can at least help with your first problem! I have no experience with the websockets in Construct.

To build a UI that tags along onto each Layout you'll want to set the object to be global, and possibly set their behaviour to Anchor to make sure they stick to the same place when the screen scrolls. The following tutorial should give you a decent idea of how to make a basic global UI: https://www.scirra.com/tutorials/594/bu ... terface-ui

Of course, if you only wish to know how to make an object global (i.e. it traverses through every layout that comes AFTER the one it has been made on) the following image should help:
Image

That image comes from the object properties in the layout editor. (Courtesy of the aforementioned tutorial)
B
5
S
1
Posts: 43
Reputation: 461


Return to Beginner's Questions

Who is online

Users browsing this forum: Sockratease and 0 guests