HUD layer dissapears :(

For questions about using Classic.

Post » Tue Sep 04, 2012 3:02 pm

Howdy!

So im making a game, each layout has a height of 1000 and width of 640. When I make my HUD layer and set the Scroll rate to zero on both X and Y the layer doesn't appear when the game runs.

However if I set the scroll X to zero and the scroll Y to 100% the layer appears but does not scroll, this doesn't work vice versa (Scroll Y to zero, Scroll X to 100). Im stumped. Could anybody help?
B
2
Posts: 5
Reputation: 260

Post » Tue Sep 04, 2012 3:57 pm

Make sure that when your layer has a 0% scrollrate your object's coordinates are on the top left of the layout. Since it's obvious that the screenspace they'll use will be the size of the screen located at the top left of the layout nothing outside that will appear. That's all there is to it.

I don't think I understood your second point.

I made a scrolling example with a hud layer for you:
http://up.servut.us/39952.t4p2 CC r2 capZotged2012-09-04 16:00:14
B
11
S
2
G
3
Posts: 100
Reputation: 2,150

Post » Tue Sep 04, 2012 5:54 pm

I will look into it and tell you if my problem is fixed :)
B
2
Posts: 5
Reputation: 260

Post » Tue Sep 04, 2012 5:59 pm

Okay it worked :) Does the hud have to be in the top left? :/
B
2
Posts: 5
Reputation: 260

Post » Tue Sep 04, 2012 6:13 pm

Yes it does :)
B
36
S
10
G
6
Posts: 948
Reputation: 11,101


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests