Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: A Forgotten Legend on August 12, 2008, 06:25:42 PM
-
So, I know I'll have to use the mod (modulus) option in order to show my character"s health for my cbs I'm working on, but I'm not sure how it works exactly, and I can't access the help file on vista. Damn you vista!!!
And I tried using looking for the tutorial on here, but all the links I tried in Warxe's sticky up there no longer work. Any help?
-
ask Rahl or Murikao
-
>.>
Okay... o.o
That's not the answer I was looking for... >.<
-
Just to make a health bar? I didn't even use modulus. Truth be told, I still have no idea what mod is... I think it's used for showing how much damage you do in battle though, is that what you're asking?
-
No, I want to show numbers as a charset/picture for health, mp without making 999 pictures/charsets. But, yeah, as damage too.
I'm still doing a battle system like the default, just a few things that are going to be different about it.
-
Well, I found this short tutorial about how to put each diget into seperate variables, and it doesn't even use Modulus, so if it's kinda more easier to understand:
http://www.blade2k.net/writings/0/1/1/writing_58
I just read it, and it makes alot of sense. If you're going to have a fixed posistion on where the numbers will appear, then I think this tutorial will work perfectly. (I tried it myself, but because my game was an ABS, I had no idea where to display the numbers for the damage and stuff, so that's why I didn't bother using it, but I'm sure it'll work for you though!)
-
Thanks.
-
Modulus (%) is where you divide X by Y, and get the remainder (e.g., 7 % 3 = 1, 8 % 3 = 2, 9 % 3 = 0).