Author Topic: Features Wishlist  (Read 689800 times)

0 Members and 4 Guests are viewing this topic.

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: Features Wishlist
« Reply #45 on: February 04, 2010, 03:53:57 pm »
Alright, (x,y) at 0 it is!  I've finished that command.  Interestingly enough, "Output(" and "Disp" are nearly identical commands.  The only difference is that output first gets the coordinate position.  Then, after the second comma, the compiler treats whatever follows as if it were a Disp command.  Since my Disp command, unlike BASIC, does not have automatic line returns, they really are equivalent!  That also means that things like Output(x,y,Str1,"Hello",Str3) are valid.

Thanks for the feedback!
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Features Wishlist
« Reply #46 on: February 04, 2010, 04:23:01 pm »
Wow, that's really cool.  So it's like this (in basic and on the graphscreen in my example): Text(-1,8y,6x,Str1,"Hello",Str3

Excellent!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #47 on: February 04, 2010, 05:14:34 pm »
Woot!  So when is the next release coming around?  

* Builderboy is eager to start making primitive ASCII games in asm ^^ *
« Last Edit: February 04, 2010, 07:43:55 pm by Builderboy »

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Features Wishlist
« Reply #48 on: February 04, 2010, 06:39:46 pm »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #49 on: February 04, 2010, 06:51:19 pm »
Haha yeah oops :P

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Features Wishlist
« Reply #50 on: February 04, 2010, 07:40:58 pm »
Wow, self aware software is apparently a master of typos. j/k :P

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #51 on: February 04, 2010, 07:42:47 pm »
Its an imprecise technology >.>

Mostly the error was due to attempting to interface with such a device such as the iTouch using remotely controlled gerbils.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Features Wishlist
« Reply #52 on: February 04, 2010, 07:48:12 pm »
Mostly the error was due to attempting to interface with such a device such as the iTouch using remotely controlled gerbils.
Lesson learned: Never use gerbils for a job better suited to something with opposable thumbs!
I'd also like to second that at some point, linking would be uber 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: Features Wishlist
« Reply #53 on: February 05, 2010, 02:15:31 am »
Can't iTouch spellchecker be disabled? I personally would disable it if it was gonna do such typos x.x

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #54 on: February 05, 2010, 02:57:06 am »
Yeah I think it can, imma have to see I can find that.

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: Features Wishlist
« Reply #55 on: February 05, 2010, 04:03:53 am »
Back on topic...

I'm going to get to the sprite stuff soon, but I don't know quite how the user will define a sprite.  I think I will offer multiple methods for different purposes, but I'm not sure what they will be exactly.

My first idea was to do something like this:
Code: [Select]
StorePic 1A
[--****--]
[-******-]
[**-**-**]
[********]
[*-****-*]
[**----**]
[-******-]
[--****--]
It looks better on the calc.  This would store a happy face into Pic1A.  The problem with this, is that it uses a lot of space in the Source file, but the advantage is that you can make the entire program without needing any external tools and it becomes very easy to make sprites.

Another option is to store pictures using Hex code.
Code: [Select]
[3C7EDBFFBDC37E3C]->Pic1A
It uses less space in the source, but it would require you to run an external program to convert a pic into Hex code.

A third option is to save the sprites as tiles on one of the picture files.
Code: [Select]
GetCalc(Pic1,8,16)->Pic1A
The biggest problem with this is that the source is dependent on the extra picture files and it is difficult to draw the sprites on-calc (although I guess you can still use an external helper program).

Does anyone have any other ideas for how to define sprites?  Or a better syntax?
___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: Features Wishlist
« Reply #56 on: February 05, 2010, 05:27:19 am »
If an hex code is done, I think it might be best that someone writes a binary to hex converter or something else it will be hard to add 300+ sprites in a game x.x

Maybe it would be cool if you allowed sprites to be stored in a set of TI-BASIC pictures, for example pic1, 2 and 3, and upon compiling, the user would be asked how many sprites the program will include. Then it would store each 8x8 sprites contained in the pic in separate sprites, scanning the pic from left to right and top to bottom, storing them inside your compiled program

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Features Wishlist
« Reply #57 on: February 05, 2010, 08:16:47 am »
Whatever method you choose for sprites I would prefer if Axe did not have to rely on a seprate external program to implement sprites. However, if the most efficient way to handle sprites is by the use of an external program then I am all for it. Hmm... perhaps sprites could be stored in a user defined appvar and called from there?

Actually, now that I am thinking more about it, I think an external program would be the best way. It would be used to edit, view, and save sprites.

For usage in a program: Syntax: RecallPic Appvar name, sprite width(multiple of 8), sprite height, screen x coordinate, screen y coordinate.

Each appvar would be predefined to hold 768 bytes of data( i dont know if appvars themselves take up space), so you can either fill it with one full screen pic or several smaller sprites 8x8, 16x16 etc.

At compile time all the necessary data could be copied from the Appvar. If this is plausible, I don't know that the StorePic command would even be necessary in it's normal sense.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Features Wishlist
« Reply #58 on: February 05, 2010, 10:04:15 am »
I'd rather do hex for small sprites, but for large ones, what art said is good.
@builderboy:there is an option in settings, but be carefully if you are a fast typed like me, it can actually hurt you to have it turned off.
/e

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: Features Wishlist
« Reply #59 on: February 05, 2010, 11:55:49 am »
Actually now that you mention it, maybe the option of storing sprites to an external program might be an idea if the program is archived. That way games with a lot of sprites wouldn't be a big problem to be ran in 24 KB of RAM. The issue, though, is that running stuff from archive would be much slower