Author Topic: Metroid: Return to Maridia  (Read 16260 times)

0 Members and 2 Guests are viewing this topic.

Offline JoeyBelgier

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 545
  • Rating: +25/-21
  • Joey
    • View Profile
Re: Metroid: Return to Maridia
« Reply #30 on: October 04, 2009, 04:52:22 pm »
it's anexpression here too, but I thought you didn't understand it (cz thats what is'ts used for (here)) :p

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Metroid: Return to Maridia
« Reply #31 on: October 04, 2009, 05:25:28 pm »
Well just for clarification, Modulus is a type of division that gives you the remainder, not the answer.  It is useful because if I have an increasing value 1 2 3 4 5 6 7 8 9... and I take a Modulus # of it, the result will be a looping value up to that number.

For instance, A % 4, (% is the Modulus operation) where A is increasing by 1 each iteration would yield:
0 1 2 3 0 1 2 3 0 1 2 3

So if I took the Modulus of the X coordinate, I could use it to yield a positively increasing loop while moving to the right (0,1,2,3,0,1,2,3...) and a negatively increasing loop while moving to the left (3,2,1,0,3,2,1,0...) and when standing still the sprite would not change at all.  The benefit to this method is that you don't have to do any monitoring of the keys, as everything is entirely dependent on only the x coordinate. (Monitoring the keys can be difficult when using xLibs real(8 ) because of the multiple key commands x.x)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Metroid: Return to Maridia
« Reply #32 on: October 04, 2009, 10:39:05 pm »
(the speak english thing is often a grammar nazi sentence implying the other poster's grammar/spelling sucks, which is probably why someone thumbed down the comment :P)

(Btw I didn't knew what modulus was either until Builderboy last post. (I have the same issue with half of the math words stated anywhere not in french). Over here I am used to "modulo".)


Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Metroid: Return to Maridia
« Reply #33 on: October 04, 2009, 10:48:59 pm »
I think "modulo" is actually the correct term.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Metroid: Return to Maridia
« Reply #34 on: October 04, 2009, 11:04:58 pm »
Hmm, i just did some research, and Modulo is the opperation, and Modulus is the maximum nomber or something?  Oops!  I always heard my comp-sci teacher call it that way, but I guess he was wrong.

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: Metroid: Return to Maridia
« Reply #35 on: October 05, 2009, 03:25:00 pm »
Two numbers are said to be congruent modulo n when their remainder upon division by n is the same (e.g. 7 is congruent to 3 modulo 4).  The modulus is n.  When you perform "a % n" and get "c", this is saying "a is congruent to c, with a modulus of n".  The word "modulo" translated from Latin literally means "with modulus".
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Metroid: Return to Maridia
« Reply #36 on: April 14, 2010, 11:28:51 am »
Hehe my science teacher in seventh grade always pronounced nuclear nukular and nucleus Neuculus. She even spelled it that way!

This game looks like it will be really cool.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Metroid: Return to Maridia
« Reply #37 on: April 14, 2010, 12:42:00 pm »
Btw you might want to be careful when replying to topics, to check the last post date before posting (The board will give you a warning if the topic has been over 180 days old anyway), since necroposting (reviving threads that are several months old) is generally not appreciated on web forums.

I think this project is kinda dead, unfortunately :(
« Last Edit: April 14, 2010, 12:42:40 pm by DJ Omnimaga »