Scrolling Lives/Health ...

For questions about using Classic.

Post » Sat Dec 25, 2010 6:38 pm

Hi All,

I have an layout size of 1024 x 728 while the main application layout is 640 x 480 , the player is scrolling through the level perfectly however! I want the lives and health object to always remain on the right corner while the player is moving.

Any idea what event to create for that? Sorry for sounding like a newbie :P
B
1
G
4
Posts: 9
Reputation: 1,043

Post » Sat Dec 25, 2010 7:05 pm

This problem is addressed quite easily in the platform tutorial, which you should really check out.


Basically, you create another layer on top of the one which has the player and the ground and stuff (in fact it should be the very top layer), name it HUD or something, and then set its scroll rate for X and Y to 0%.

Now if you add stuff to that layer, it will stay on the screen regardless of where the character is.
Check out my VGM on my soundcloud page!
Video-Game Music: E.C.2151
B
7
S
2
G
2
Posts: 193
Reputation: 1,561

Post » Sat Dec 25, 2010 7:44 pm

Thanks :D , btw... Construct is 10x better than MMF , I hope that program gets abadoned...
B
1
G
4
Posts: 9
Reputation: 1,043


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests