• Axe Parser 5 1
Currently:  

Author Topic: Axe Parser  (Read 551838 times)

0 Members and 2 Guests are viewing this topic.

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: Axe Parser
« Reply #945 on: July 11, 2010, 05:20:54 pm »
Ooh nice to hear about the pics :D

By not having any effect with tilemap import, do you also mean archive?

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Axe Parser
« Reply #946 on: July 11, 2010, 05:24:00 pm »
No, I mean it will only import 12 rows and 7 columns of tiles even if the pic is the full 96x64 pixels.  All pics can be read from archive.
___Axe_Parser___
Today the calculator, tomorrow the world!

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: Axe Parser
« Reply #947 on: July 11, 2010, 05:26:02 pm »
Aaah ok I see ^^

Well it's nice because it makes development and testing much easier when you dont need to constantly archive/unarchive stuff

Keep up the good work on this quigibo!

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Parser
« Reply #948 on: July 11, 2010, 06:12:27 pm »
Nice to hear about the update, and nice to know about pics and rectangles (I also like being able to do 16*16=32 multiplication)
Quigibo, could you check the documentation for the rectangle routines? It sounds like an added r does nothing and that RectI( always draws to the backbuffer.
Keep up the good work!
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Axe Parser
« Reply #949 on: July 11, 2010, 06:31:23 pm »
It looks to me like he just copied the descriptions for Rect() and RectI() and pasted it to the r commands as well. My guess is that he was just in a hurry to release it so he didn't pay much attention to the documentation.  ;)
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Parser
« Reply #950 on: July 11, 2010, 06:34:02 pm »
Fine by me, I had guessed the correct uses of the commands, but I was hoping he would clarify it for confused others. ;)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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: Axe Parser
« Reply #951 on: July 11, 2010, 07:38:14 pm »
Yeah I got confused at those commands. Hopefully should be fixed in next release (or in a small update) ^^

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Parser
« Reply #952 on: July 11, 2010, 08:38:16 pm »
I just tried (or rather am trying) the fractal program. Two words: amazingly awesome! :D
Keep up the good work!
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axe Parser
« Reply #953 on: July 12, 2010, 01:38:38 am »
That fractal program is epic!  I wonder if it could be converted to 4 color greyscale instead of the looping pattern.  Hmm i will have to see if i can get it to work :D

Fantastic update!

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Axe Parser
« Reply #954 on: July 12, 2010, 03:16:48 am »
Sorry about the typos in the commands list, I'll fix it next update.

@Builderboy, yeah, its really easy to get 4 lvl gs for the fractal using mod 3, I had it originally, but i thought it was overkill.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axe Parser
« Reply #955 on: July 12, 2010, 03:27:17 am »
Hmmmm what does *^ do?  There is only that one line definition that i can find, and i dont understand what that means.

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Axe Parser
« Reply #956 on: July 12, 2010, 06:51:05 am »
Its pretty interesting actually.  Let me explain using decimal and then you can extrapolate to hexadecimal.

So say you have two 4 digit numbers, always positive.  If you do a multiplication, what is the largest number you can possibly get?  Well, that's simple to find:

9999 x 9999 = 99980001

Notice how we end up with an 8 digit number.  Since our variables can only hold 4 digit numbers, like the input, we have to decide which 4 digits to keep and which ones to throw away.  We have now have 3 methods to choose (only the underlined part is kept):

9999 *   9999 = 99980001
9999 ** 9999 = 99980001
9999 *^ 9999 = 99980001

There is a little more to ** when you have negative numbers because its signed instead of unsigned, but this is basically how all of these commands works.  Don't forget, you won't get these answers on the calculator because my examples are in base 10 for demonstration.
« Last Edit: July 12, 2010, 06:51:23 am by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axe Parser
« Reply #957 on: July 12, 2010, 01:12:52 pm »
Ah i see, so basically you can use *^ for floating point arithmetic?  You would still need to keep track of the decimal point though...

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #958 on: July 12, 2010, 01:56:56 pm »
I know that this may be off-topic but exactly what should we expect in 0.4.0? :D
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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: Axe Parser
« Reply #959 on: July 12, 2010, 02:07:02 pm »
I am curious about this too. I wonder if this will include reading from archive and the other options in the poll that are almost tied. I am curious about what other features there will be too.