Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
Metroid: Return to Maridia
« previous
next »
Print
Pages:
1
2
[
3
]
Go Down
Author
Topic: Metroid: Return to Maridia (Read 16247 times)
0 Members and 1 Guest are viewing this topic.
JoeyBelgier
LV7
Elite (Next: 700)
Posts: 545
Rating: +25/-21
Joey
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
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
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
)
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
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
)
(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".)
Logged
calc84maniac
eZ80 Guru
Coder Of Tomorrow
LV11
Super Veteran (Next: 3000)
Posts: 2912
Rating: +471/-17
Re: Metroid: Return to Maridia
«
Reply #33 on:
October 04, 2009, 10:48:59 pm »
I think "modulo" is actually the correct term.
Logged
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
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.
Logged
simplethinker
LV7
Elite (Next: 700)
Posts: 695
Rating: +16/-5
snjwffl
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".
Logged
"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: ħ%
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
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.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
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
»
Logged
Print
Pages:
1
2
[
3
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI Z80
»
Metroid: Return to Maridia