HP instead of hearts
#16
Posted 29 September 2010 - 03:59 PM
Each heart is worth 32 HP. So for each HC you get, you'll have (x) hp + 32. And you can make custom life bar graphics to look like a meter, instead of hearts.
#17
Posted 29 September 2010 - 04:00 PM
#18
Posted 29 September 2010 - 04:02 PM
-- PRESS A KEY --
#19
Posted 29 September 2010 - 04:04 PM
In that case, you should make some minitiles. Basically, take 10 tiles, for the numbers 0-9. Make the numbers in the top left corner of each tile, no more than 8 pixels wide each. I may be able to fix up something for you as far as a counter script goes using it.
Tbh, it won't be too hard, and won't take a custom subscreen.
#20
Posted 29 September 2010 - 04:07 PM
I would just rather do it this way (besides I need to learn how to use scripts theres a whole bunch I want to try out but couldn't figure out how)
#21
Posted 29 September 2010 - 04:07 PM
Use this code:
void run(){
while(true){
Game->Counter[7] = Link->HP;
Waitframe();
}
}
}
And set it to the slot called "Active". Enjoy!
(And yes, I tested it myself this time)
Edited by MoscowModder, 29 September 2010 - 04:09 PM.
#22
Posted 29 September 2010 - 04:10 PM
Use this code:
void run(){
while(true){
Game->Counter[7] = Link->HP;
Waitframe();
}
}
}
And set it to the slot called "Active". Enjoy!
(And yes, I tested it myself this time)
What about drawtiles? It won't display anything as it is, though you have the functional part somewhat down.
Though you wouldn't need to set Game->Counter[7]. If it's not going to have anything done to it mathematically, then I see no reason to assign it to a variable.
When I figure out how to work digits, I'll post up something.
#23
Posted 29 September 2010 - 04:11 PM
Edited by Ovasity, 29 September 2010 - 04:11 PM.
#24
Posted 29 September 2010 - 04:14 PM
Use this code:
void run(){
while(true){
Game->Counter[7] = Link->HP;
Waitframe();
}
}
}
And set it to the slot called "Active". Enjoy!
(And yes, I tested it myself this time)
What about drawtiles? It won't display anything as it is, though you have the functional part somewhat down.
Though you wouldn't need to set Game->Counter[7]. If it's not going to have anything done to it mathematically, then I see no reason to assign it to a variable.
When I figure out how to work digits, I'll post up something.
No need for drawtiles. It's changing a counter, so the counter on the subscreen will change automatically.
#25
Posted 29 September 2010 - 04:16 PM
But, I think Ima make my script anyway. That way I can post it to contain HP for multiple characters on the screen XD
#26
Posted 29 September 2010 - 04:17 PM
#27
Posted 29 September 2010 - 04:20 PM
Set item 1 to Script 1, ignore the other 2. Set digits to however many digits you will need (3 or 4?), set the other properties to whatever you want. This will produce an undecorated counter.
From there you can add a text description, tack it on to the end of your heart meter, put it next to a minitile/tile block, whatever.
#28
Posted 29 September 2010 - 04:23 PM
And how the hell do you spell apreciate
#29
Posted 29 September 2010 - 04:34 PM
You're welcome :}
#30
Posted 29 September 2010 - 04:48 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users