HUD and main screen separate screens?

Get help using Construct 2

Post » Sun Sep 08, 2013 8:33 pm

Hello, I'm not exactly sure how to word this idea. How do I have it so that the screen is separate as one half the main game and the other the HUD that has the controls, and have proper scrolling at the top screen when the player moves?

As it is right now, scrolling horizontally is fine, but scrolling vertically leads the player to go past the main screen and under the HUD one. Do you get what I'm saying? My window size is 192 width by 341 height, and im testing on a layout that is 384 by 384.

I maed some images here to try to explain what I need.






B
11
S
2
Posts: 91
Reputation: 1,017

Post » Sun Sep 08, 2013 9:09 pm

seems you need to both limit the movement of the player so that they cant go that low in the "layout" and you should also make sure that all the HUD and UI stuff is on a seperate layer that is highest up on the z-order so that it will cover anything that ends up down there.

You can also limit the "camera" to never go too low.

You're going to have to work the exact logic and events out yourself to do these things unless you want to share your capx with someone so they can help you work around your specific needs and design.

best of luck.

Mike Parent
B
49
S
9
G
4
Posts: 426
Reputation: 7,071

Post » Sun Sep 08, 2013 10:13 pm

Okay then, here's my capx

https://dl.dropboxusercontent.com/u/30826419/Quick%20Example.capx
B
11
S
2
Posts: 91
Reputation: 1,017


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 48 guests