Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

Looking for a good HUD tutorial

Archive: 2 posts


I am looking for a tutorial on how to create a HUD (Heads-up Display), an interface overlay that follows the player and contains for instance a health bar, toolbars, menus... I can imagine this will look a bit messy in multiplayer (in which each players sees the other ones HUD moving around also), but - unless there is a fix for that - for now I am just interested in a single-player solution.

Will it require Halo material exclusively? Can I use stickers for icons in my HUD? Can it contain sliding animations? Can I call up a menu and temporarily disable my sackbot remote control and have the player control the menu instead?

Thanks in advance.
2011-01-25 11:30:00

Author:
Antikris
Posts: 1340


I made a HUD yesterday, with an Health / Power bar (Mana bar if you like).
The only problem i have so far is that when i move to the right the bars slide down vertically and disappear half into the ground. I have to find a better solution thn a follower. While typing this, i thought of a solution: Create a big piece of invisible holo, and paste ur bars / menus in it then place it on the ground and set a follower on sackboys height. Im going to try this out in a minute.

I think you'll be kind of stuck with holographic material, because you want to place the different bar lenghts in eachother. otherwise it doesn't look like a changing image.
Now for the logic, i used my scoreboard logic. It's here:

https://lbpcentral.lbp-hub.com/index.php?t=44947-Creating-a-Scoreboard-Counter

The only difference is that you can cut out any number of counters/XO gates you don't use, and instead of counting up, you count down. (If this is an health bar)
I'm still working on a menu.
2011-01-25 14:57:00

Author:
TjoxYorro
Posts: 220


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.