Solarus-Games English Forum

Solarus => Development => Topic started by: GameboyArda on November 12, 2015, 06:16:53 PM

Title: How to Do a Hud
Post by: GameboyArda on November 12, 2015, 06:16:53 PM
I looked for a tuto on youtube But not found one pls help!
Title: Re: How to Do a Hud
Post by: Diarandor on November 12, 2015, 07:29:38 PM
In my opinion as a quest maker I recommend first to copy a Hud of other people and make it work in your game, then study all the code until you understand everything of it (this may take weeks or even months with a lot of patience and hard work), and finally start modifying and customizing that code, but with small changes and testing if it works each time you change something. With time you will get what you want (this is what I did, so I say this from my own experience). You have examples of scripts, including a Hud, in Christopho's repositories, like this one:
https://github.com/christopho/zelda_mercuris_chest
Title: Re: How to Do a Hud
Post by: Christopho on November 12, 2015, 08:10:58 PM
Yes, sorry, tutorials about the HUD are not done in English yet!
Title: Re: How to Do a Hud
Post by: GameboyArda on November 14, 2015, 10:11:53 AM
Thanks Diarandor It works now I have a HUD
Title: Re: How to Do a Hud
Post by: Diarandor on November 14, 2015, 10:56:49 AM
Actually, you should give thanks to Christopho. He is the one who wrote that HUD script, and he is also the creator of this masterpiece of engine called Solarus. All the credit goes for him. ;D
Title: Re: How to Do a Hud
Post by: GameboyArda on November 14, 2015, 06:48:37 PM
Anyway Thanks! for the tip
P.S: Thanks For the great code Christopho ;)