Author Topic: Program request. Drawing of pictures.  (Read 8398 times)

0 Members and 2 Guests are viewing this topic.

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: Program request. Drawing of pictures.
« Reply #30 on: September 28, 2010, 11:46:54 am »
Cool! :D
And is there a converter for this or do I need to make that on my own...?

EDIT: Never mind. C3 FTW.
« Last Edit: September 28, 2010, 11:47:53 am by Raylin »
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: Program request. Drawing of pictures.
« Reply #31 on: September 28, 2010, 11:56:18 am »
I think you can do tokens fairly easily like so:

Data(TDisp ,T",TH,TE,TL,TL,TO,T ,TW,TO,TR,TL,TD,T!

This only works for single-byte tokens, though. If you have a two-byte token, you can do the following for example:

Data(TDisp ,TStr1/256, TStr1
woah I didn't knew we could store data this way in Axe o.o

Darn that's great! We could almost create BASIC game makers or even enhanced versions of the RPG Starter kit, for example.

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: Program request. Drawing of pictures.
« Reply #32 on: September 28, 2010, 11:57:18 am »
I can has new shell? :P
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 Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Program request. Drawing of pictures.
« Reply #33 on: September 28, 2010, 04:07:54 pm »
i   am a little confused but ok...  who wants to work out the bugs in my code?  I just can't focus anymore on it.

Code: [Select]
.BA
GetCalc("prgmPIC1",700)->Z
[3004630A3E393404630B3E310463023E310463033E3004630C3E363304630D3F7E093F]->Str1
conj(Str1,Z,35
35->S
0->X->Y->A->N
Repeat N=1
Repeat getKey(9)
If getKey(15):1->N:End

If X<95 and getKey(3):X+1->X:Pause 30
End
If Y>0 and getKey(4):Y-1->Y:Pause 30
End
If X>0 and getKey(2):X-1->X:Pause 30
End
If Y<62 and getKey(1):Y+1->Y:Pause 30
End
DispGraph
End


Pxl-On(X,Y)
If A=0
conj([9C],Z+S,1):S+1->S
X->D:Y->E
95-D->I:62-E->J
End
If A=1
X->F:Y->G
95-F->K:62-G->L
Line(D,E,F,G)
End
For(M,1,2)
If M=1 and (A=0):I->H:End
If M=2 and (A=0):J->H:End
If M=1 and (A=1):K->H:End
If M=2 and (A=1):L->H:End
If H(less than or equal to)9:conj([30],Z+S,1):S+1->S:End
If H(less than or equal to)19 and (H(greater than or equal to)10):conj([31],Z+S,1):S+1->S:H-10->H:End
If H(less than or equal to)29 and (H(greater than or equal to)20):conj([32],Z+S,1):S+1->S:H-20->H:End
If H(less than or equal to)39 and (H(greater than or equal to)30):conj([33],Z+S,1):S+1->S:H-30->H:End
If H(less than or equal to)49 and (H(greater than or equal to)40):conj([34],Z+S,1:S+1->S:H-40->H:End
If H(less than or equal to)59 and (H(greater than or equal to)50):conj([35],Z+S,1:S+1->S:H-50->H:End
If H(less than or equal to)69 and (H(greater than or equal to)60):conj([36],Z+S,1:S+1->S:H-60->H:End
If H(less than or equal to)79 and (H(greater than or equal to)70):conj([37],Z+S,1):S+1->S:H-70->H:End
If H(less than or equal to)89 and (H(greater than or equal to)80):conj([38],Z+S,1):S+1->S:H-80->H:End
If H(less than or equal to)99 and (H(greater than or equal to)90):conj([39],Z+S,1):S+1->S:H-90->H:End

If H=0:conj([30],Z+S,1:End
If H=1:conj([31],Z+S,1:End
If H=2:conj([32],Z+S,1:End
If H=3:conj([33],Z+S,1:End
If H=4:conj([34],Z+S,1:End
If H=5:conj([35],Z+S,1:End
If H=6:conj([36],Z+S,1:End
If H=7:conj([37],Z+S,1:End
If H=8:conj([38],Z+S,1:End
If H=9:conj([39],Z+S,1:End
S+1->S
If A=0 or ((A=1) and (M=1))
conj([2B],Z+S,1):S+1->S:End
If A=1 and (M=2):conj([3F],Z+S,1):1+S->S:End
End
A+1->A
If A=2:0->A
End
End

It would be great if someone helped me fix this.
« Last Edit: September 28, 2010, 04:15:10 pm by happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Program request. Drawing of pictures.
« Reply #34 on: September 28, 2010, 04:19:06 pm »
I just skimmed over the code right now and you shouldn't be using Copy() for 1 byte.
Quigibo said so somewhere else...
Instead store the value directly to the address.
For example:
Instead of
conj([30],Z+S,1
use
E30→{Z+S}


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Program request. Drawing of pictures.
« Reply #35 on: September 28, 2010, 04:23:44 pm »
y not? what happens?  is that why i get a ton of ram clears?

EDIT:  I am confused by, E30→{Z+S}
« Last Edit: September 28, 2010, 04:25:47 pm by happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Program request. Drawing of pictures.
« Reply #36 on: September 28, 2010, 04:26:08 pm »
I'm not exactly sure what happens, but I remember reading that somewhere.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Program request. Drawing of pictures.
« Reply #37 on: September 28, 2010, 04:28:29 pm »
i doubt it will work but i'll try.

EDIT: i stand corrected
« Last Edit: September 28, 2010, 05:53:17 pm by happybobjr »
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Program request. Drawing of pictures.
« Reply #38 on: September 28, 2010, 04:32:30 pm »
There might be other problems, but I just started to skim the code and noticed that.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

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: Program request. Drawing of pictures.
« Reply #39 on: September 28, 2010, 10:52:47 pm »
I can has new shell? :P
That, and it would be awesome to list external levels for a specific game :)

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Program request. Drawing of pictures.
« Reply #40 on: September 29, 2010, 03:56:06 pm »
I can has new shell? :P
That, and it would be awesome to list external levels for a specific game :)

This confuses me ^
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

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: Program request. Drawing of pictures.
« Reply #41 on: September 29, 2010, 04:00:18 pm »
Think Super Mario 1.2, for example.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Program request. Drawing of pictures.
« Reply #42 on: September 29, 2010, 04:12:56 pm »
still confused.  (never played it)
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

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: Program request. Drawing of pictures.
« Reply #43 on: September 29, 2010, 11:05:50 pm »
It has external level support and comes with a level editor. The level editor stores your levels in 8xp files. Such level editor would be possible with Axe I am sure.