Page 1 of 1

HUD for Link/HP styled HUD

Posted: 9 Mar 2018, 12:59
by PK Esper
Hey everyone, so I have to make a request that I need something that the title explains it all. I got the code for it but I don't really know how to make a HP-styled HUD. Can someone do this for me? I'm doing this for a contest that I'm in right now.
Here's the code btw.
Spoiler

Code: Select all

call hudset("initialize",0,0,0,0,0,0,0,0,-1)
'!!!!!!!!!!bitmap source = "scflash.png"!!!!!!!!!!
'bitmap,id,sourcex,sourcey,width,height,destx,desty,advset,-1

'text:text,id,destx,desty,startasc,endasc,lnum,npcid,-1,-1
call hudset("bitmap",1,0,0,760,236,10,10,0,-1)

'player1------
'Contador de Monedas.
call hudset("text:&sys(coincount)",2,49,114,48,57,1,214,-1,-1)
'Score
call hudset("text:&sys(score)",3,508,40,48,57,1,214,-1,-1)
'Contador de Vidas
call hudset("text:&sys(playerhealth)",4,60,40,48,57,1,213,-1,-1)
'item
Call hudset("bitmap",6,0,0,100,100,384,30,5001,-1)
'Star
call hudset("text:&val(a)",5,304,40,48,57,1,213,-1,-1)
'Monedas Estrella
call hudset("bitmap",7,764,0,50,50,21,58,6000,-8)
call hudset("bitmap",8,764,0,50,50,59,58,6001,-8)
call hudset("bitmap",9,764,0,50,50,97,58,6002,-8)
'Timer
call hudset("text:&sys(lvltimer)",17,645,40,48,57,1,213,-1,-1)
These aren't made by me as it belongs to a Spanish user around here somewhere.

And for the HUD.
scflash.png
scflash.png (2.82 KiB) Viewed 393 times

(As you may be wondering why Ness is there it's because I replaced Link with Ness)

Posted: 12 Apr 2018, 0:55
by Super Mario Player
Can you access YouTube from the sky? If yes:
phpBB [youtube]

Original link: https://youtu.be/UjRym__aqOM


Also, you can see the post by clicking here.

Posted: 7 Jun 2018, 12:30
by PK Esper
Y-Yeah I can.
But what I actually wanted was just like the other character's which includes.. star coins, stars a score and so on. But I guess this should do the job (instead) as there is a "/" at my topic's title. xP Thanks 'chap.