Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Modulus
« previous next »
  • Print
Pages: [1]

Author Topic: Modulus  (Read 3820 times)

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Modulus
« 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?
Logged

Offline Felix-0

  • And we'll never be
  • Royal
  • *
  • Posts: 3,563
  • (royals)
Re: Modulus
« Reply #1 on: August 12, 2008, 06:28:48 PM »
ask Rahl or Murikao
Logged
------------------------------------------------------------
Hence nothing remains except for our regrets...
------------------------------------------------------------

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Modulus
« Reply #2 on: August 12, 2008, 06:37:05 PM »
>.>
Okay... o.o
That's not the answer I was looking for... >.<
« Last Edit: August 13, 2008, 03:19:26 PM by A Forgotten Legend »
Logged

Offline Muraiko

  • Cuddly Wuddly Snuggly
  • Zealot
  • *
  • Posts: 606
  • I'm really 4 years old... born on leap year...
Re: Modulus
« Reply #3 on: August 13, 2008, 03:31:08 PM »
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?
Logged

http://www.charas-project.net/forum/index.php?topic=23774.0

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Modulus
« Reply #4 on: August 13, 2008, 04:25:17 PM »
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.
« Last Edit: August 13, 2008, 05:17:13 PM by A Forgotten Legend »
Logged

Offline Muraiko

  • Cuddly Wuddly Snuggly
  • Zealot
  • *
  • Posts: 606
  • I'm really 4 years old... born on leap year...
Re: Modulus
« Reply #5 on: August 13, 2008, 05:16:58 PM »
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!)
Logged

http://www.charas-project.net/forum/index.php?topic=23774.0

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
Re: Modulus
« Reply #6 on: August 13, 2008, 05:17:33 PM »
Thanks.
Logged

Offline Rayonius

  • Associate
  • *
  • Posts: 171
  • Patiently waiting, biding...
Re: Modulus
« Reply #7 on: August 13, 2008, 07:06:42 PM »
Modulus (%) is where you divide X by Y, and get the remainder (e.g., 7 % 3 = 1, 8 % 3 = 2, 9 % 3 = 0).
Logged
How's my spriting? 1-888-247-3650


  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Modulus
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum