Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Hayleia

Pages: 1 ... 106 107 [108] 109 110 ... 239
1606
TI Z80 / Re: [Axe] Super Crate Box
« on: March 11, 2013, 06:59:25 am »
Man, I was going to start bug hunting but got discouraged by all your unclosed parenthesises and brackets -.-°
That is really calling for bugs for nothing since that doesn't optimize anything.

1607
TI-Nspire / Re: gpSP-Nspire (GBA Emulator)
« on: March 10, 2013, 01:29:59 am »
What is the file extension ? If it is a rar for example, it is normal that you don't see it since gpSP only supports zip and gba files.

1608
TI Z80 / Re: [Axe] Super Crate Box
« on: March 10, 2013, 01:27:06 am »
Do you end your program with ClrHome? I think I heard somewhere that when you use files, random stuffs happen if you don't use ClrHome at the end...
I think this has nothing to do with files but L5.

1609
TI Z80 / Re: [Axe] Super Crate Box
« on: March 09, 2013, 01:05:05 pm »
No you can't, I made it myself ;D

Anyway, I added it to the game, and it's much more than beautiful O.O


That menu looks great persalteas :D
However, I think that if the available options scrolled smoothly, it would be even better ;)

1610
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: March 09, 2013, 01:18:50 am »
4677: You can't
lol, how did you answer that then ? :P
Anyway, there seems to be an error in the count since this one says 4677 while the previous one said 4679. Dunno if it was fixed by this post or if the error appeared here, just saying :P

1611
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 09, 2013, 01:15:14 am »
Does zStaxe have to be last for it to work?
I don't know if it "has to be last", but the alphabetical order works while the anti-alphabetical order doesn't. I'll try other orders when I get back on the right PC (now on my sister's computer).

1612
TI Z80 / Re: zStart - an app that runs on ram clears
« on: March 08, 2013, 03:45:26 pm »
I have absolutely no idea what is going on ???
I am making a program using zstaxe and it has many problems. I don't know at all if that comes from zstaxe, maybe it is Wabbitemu's fault, but the problems appeared when I added zstaxe, so I assumed it was its fault.

First problem:
When the first 3 lines of the code were those,
#Axiom(ZSTAXE)
#Axiom(TEXT)
#Axiom(AMEMKIT)

Axe freezed a few seconds after the first pass, then continued compiling and the outputted program "worked".
Then, I tried changing the first 3 lines in to this (basically, changing their order):
#Axiom(AMEMKIT)
#Axiom(TEXT)
#Axiom(ZSTAXE)

And the freezing time disappeared ???

Second problem:
I said "worked" because the background image had an offset, for some reason, even though I didn't change any command on the background drawing code.

Here is the full source code if you are interested, in spoiler. See the offset in Lbl DG, there is a "+156" that should normally not be necessary but the background is not at the right place if that "+156" is not there.
Spoiler For Spoiler:
.A1DROID

Fix 5
Axiom(AMEMKIT)
Axiom(TEXT)
Axiom(ZSTAXE)

L1+714->°TC

[03]
[]->°Credits
"Quigibo, Runer 112: Axe Parser"[00]
"Thepenguin77: zStart, zStAxe"[00]
"Jacobly: TEXT-AMEMKIT Axioms"[00]

[]->°Sprites
[00001E00210021FC20047FFE400240024002400240024002400240027FFE0000].Folder16^^2
[9999000000008001800100000000800180010000000080018001000000009999].Empty16^^2
[0180324C4E7240022BD4242469968A599A51699624242BD440024E72324C0180].Settings16^^2
[07E01818200440024602878187E187F987F987E18781460240022004181807E0].ExecProg
[FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF].Credits

3->°NbOpt
[]->°OptNames
"Settings"[00]
"ExecProg"[00]
"Credits"[00]

.put here the labels of the subroutines of the included options, then we'll call it with a Goto {...}^^r
Data(|LSettings^^r,|LExecProg^^r,|LCredits^^r)->°Labels

Lbl CODE

Fill(L5,128,0)
[07]->°List
"ExecProg"[0000]
"Settings"[0000]
"|vTEST"[0000000000]
[00000000000000000000]
"|vTEST2"[00000000]
"Credits"[000000]

"|vTEMPBUFF"->Str0
DelVar Str0
GetCalc(Str0,10000)->A
!If
 Disp "NOT ENOUGH MEM"
 Pause 3600
 Goto RET
End
ClrDraw^^r^^r


0->B->C->D
Lbl Menu
Fill(A,10000,0)

Copy(°List+1,L5,{°List}-1*10)
For(theta,0,11)
 theta*10+L5->Z
 .options included in the prog
 For(W,0,°NbOpt-1)
  !If Equ>String(Z,stdDev(°OptNames,W)->r1)
   r1->T
   W*32+°Sprites+64->S
  End
 End
 .other options
 !If {Z}
  "Empty"->T
  32+°Sprites->S
 Else!If -21
  .Folder in |var
  Z+1->T
  °Sprites->S
 End
 ~1->r1
 For(16)
  {r1++*2+S}^^r->{theta/3*24+r1+1*12+(theta^3*4)+1+A}^^r
 End
 TEXT(theta^3*32,17,T,theta/3*24*12+A)
End
TEXT(,,"Top Text Test",L6)
TEXT(0,57,"Bottom Text Test",L6)
Fill(L6+84,12,255)
Fill(L6+672,12,255)
GreyON()

Lbl MainL
While 1
 B->T
 getKey(1)?D?B+24->B,+1->D
 getKey(4)?D?-1->D,B?-24->B
 getKey(3)-getKey(2)+C+3^3->C
 B/24+D*3+C->Z
 .Z holds number of current choice
 If getKey(54)
  For(W,0,°NbOpt-1)
   !If Equ>String(Z*10+L5,stdDev(°OptNames,W))
    Goto ({W*2+°Labels}^^r)
   End
  End
 End
 For(30)
  Copy(T<B+T-(T>B)->T*12+A,L6+96,576)
  T!=B*5+1
  Pause
 End
EndIf getKey(15)

Lbl RET
DelVar Str0
LnReg
ClrHome
Return

Lbl Notif
->r1
Copy(L6,L1+84,84)
Fill(L1,84,255)
0->ZXmin+1->ZXmax->Z
ZXsclr1,L1)
For(2)
 Pause Z*200+1
 7->r1
 For(7)
  Copy(r1--*12+L1,L6,84)
  .DispGraph
  Pause 50
 End
 Exch(L1,+84,84)
End
Return

Lbl TEXT
r2->ZXmin
r1->ZXmax
ZXsclr3,r4)
Return

Lbl WKP
Pause 200
Lbl W4P
While 1
EndIf getKey(0)
Return

Lbl WLP
While 1
Pause 50
End!If getKey(0)
Return

Lbl GreyON
FnOff
fnInt(DG,0)
Return

Lbl DG
TC++
!If ^10
 Cursor()
 DispGraph(L6,°BG+156)^^r
 Cursor()
End
Return

Lbl Cursor
RectI(C*32,D*24+8,32,24)
Return

Lbl Settings
stdDev(°OptNames,0)
sub(Notif)
Goto Menu

Lbl ExecProg
FnOff
Prgm()
If
 DelVar Str0
 .DelVar TEMPBUFF to save mem
 Fill(L5,128,0)
 .Clears L5 to prevent strange tokens on homescreen
 Fpdf(T)
End
Goto Menu

Lbl Credits
stdDev(°OptNames,2)
sub(Notif)
Goto Menu

Lbl Prgm
.browse programs and returns pointer to selected program, or 0 if no programs found
.btw, how could there be no program if you launched this program ?
StorePic
ClrDraw(L1)
0->N
First(5)
If
 Print(A)
 While Next()
  Print(N++*10+A)
 End
 0->T->S
 WLP()
 While 1
  S+getKey(1)-getKey(4)->S
  !If S+1
   ->S
   T--+1??->T
  Else!If S-9
   S--
   N-8>T+T->T
  End
  S-(+T>N)->S
  ~1->Z
  ClrDraw
  For(8)
   If Z+++T<=N
    Text(5,Z*6,T+Z*10+A+1)
   End
  End
  Text(0,S*6,"-")
  DispGraph
 EndIf getKey(54) or getKey(48)
 5->{T+S*10+A->T}
Else
 0
End
RecallPic
Return

Lbl First
Xminr1)
Return

Lbl Last
Xmaxr1)
Return

Lbl Next
Xscl)
Return

Lbl Prev
Ymin)
Return

Lbl Print
Ymaxr1)
Ymaxr1)^^r
Return

Lbl BG
[00000000000000000000000000000000000000000000000000000000000000000000000000000000003F8000000000000000000003FFF00000000000000000000FFFFE0000000000000000003FFFFF800000000000000000FFFFFFE00000000000000000FFFFFFF00000000000000007FFFFFFF80000000000000007FFFFFFFC000000000000000FFFFFFFFE000000000000000E000071FE000000000000003E000071FF000000000000003E000071FF800000000000007FFE3FF1FFC00000000000007FFE3FF1FFC0000000000000FFFE3FF1FFC0000000000000FFFE3FF1FFE0000000000000FFFE3FF1FFE0000000000000FFFE3FF1FFF0000000000001FFFE3FF1FFF0000000000003FFFE3FF1FFF0000000000007FFFE3FF1FFF0000000000007FFFE3FF1FFF0000000000005FFFE3FF1FFF000000000000DFFFE3FF1FFF000000000000DFFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000018FFFE3FF1FFE0000000000018FFFE3FF1FFE0000000000030FFFFFFFFFFE0000000000030FFFFFFFFFFE00000000000307FFDFFFF7FC00000000000307F8D8E733FC00000000000307FB56DAD7F800000000000303FB5CDA17F800000000000301FB52DAF7F000000000000301F8D15A11E000000000000180FBFFFFFFF8000000000001807BFFFFFFFE000000000001803FFFFFFFFF000000000001800FFFFFFFFF800000000001C007FFFFFFFFC00000000000C001FFFFFFFFC00000000000E0007FFFF8CCC0000000000060000FFC3ABB400000000000700000003ABB4000000000003800000028B8C000000000001C0000003FFBC000000000000E0000003FFCC0000000000007800001FFFF80000000000003C00007FFFF80000000000001FC003FEFFF000000000000007FFFFF87FE000000000000000FFFF800F00000000000000001FFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000]->°BG

1613
TI Z80 / Re: VVVVVV
« on: March 08, 2013, 04:52:41 am »
wow! Looking amazing! You will just have to run this at the start of a room and copy the buffer you wrote it to to the screen.
Thanks :)
But, yeah, either run it just before a room in the main program, or as Shmibs said run it in the program editor ;)

1614
TI Z80 / Re: VVVVVV
« on: March 07, 2013, 03:24:46 pm »
It is not really hard to make an outline routine using several sprites. I have one just below (where 0 is nothing and 1 is wall) :)
On the contrary, I have no idea how to do it without sprites ???

So, here is for example a rendering of a map with only 0s and 1s, first without borders, then with borders
Spoiler For Spoiler:

.AA
. . .
 8
2 4
 1
. . .
[]->°Sprites
[0000000000000000]
[FF81B9B5AD9D81FF]
[FF81B9B5AD9DB9B5]
[FF01B975EDDD01FF]
[FF01B975EDDDB975]
[FF80BBB7AE9D80FF]
[FF80BBB7AE9DBBB7]
[FF00BB77EEDD00FF]
[FF00BB77EEDDBB77]
[AD9DB9B5AD9D81FF]
[AD9DB9B5AD9DB9B5]
[EDDDB975EDDD01FF]
[EDDDB975EDDDB975]
[AE9DBBB7AE9D80FF]
[AE9DBBB7AE9DBBB7]
[EEDDBB77EEDD00FF]
[EEDDBB77EEDDBB77]

.create a random map in L1 with only 0s and 1s
~1->r1
For(96)
 rand^2->{r1+++L1}
End

Draw()
Fill(L5,128,0)
Copy(L1,L5,96)
For(X,0,11)
 For(Y,0,7)
  If {Y*12+X+L5}
   {Y-1*12+X+L5}*2+{Y*12+X+1+L5}*2+{Y*12+X-1+L5}*2+{Y+1*12+X+L5}+1->{Y*12+X+L1}
  End
 End
End

Lbl Draw
ClrDraw
0->X
For(12)
 ~1->Y
 For(8
)
  Pt-On(X*8,Y++*8,{Y*12+X+L1}*8+°Sprites)
 End
 X++
End
DispGraph
Pause 3600
ClrHome
Return

edit of course it can be optimized, but I made that like that so I didn't optimize at all :P

1615
Axe / Re: [AXE] Slime Volleyball
« on: March 07, 2013, 02:39:23 pm »
Ah I see. I assume it's mostly for jumping precision?
Yes, exactly this (I know, my explanations are always confusing, you should not have asked me but someone else :P)

1616
Axe / Re: [AXE] Slime Volleyball
« on: March 07, 2013, 02:26:48 pm »
What's inflation? ???
I don't know what that word means (:P) but "inflation by Z" is somehow a programming technic. Basically, when your coordinate increases by one, you don't move of a pixel. You only move by a pixel when your coordinate increased by Z. And 256 is a good number because dividing by 256 is really optimized for Axe :)

1617
Axe / Re: [AXE] Slime Volleyball
« on: March 07, 2013, 02:22:28 pm »
Yep, pretty similar. Also glad you added smooth jumping Hayleia :P
Well I just made it more obvious by adding inflation by 256 but I didn't add it, it is SpenceBoy's work ;)

1618
Other Calculators / Re: Orion TI 84+
« on: March 07, 2013, 01:34:47 pm »
Is there a way to connect earphones to it ? It would be stupid to prevent visually impaired people from using it at test due to it giving the answer to everybody.

1619
Axe / Re: [AXE] Slime Volleyball
« on: March 07, 2013, 05:58:28 am »
This is what I love with open-source projects, everyone can contribute :D

So SpenceBoy, here is the code with some lines changed:
-I added a grey background
-I added inflation by 256 (for more precision)
-I inverted the lines such as "getKey(...) and (meh>blah)" into "meh>blah and getKey(...)" to get rid of useless parenthesises
-I didn't optimize anything since it is your project so I don't want to interfere with your way of coding ;)

New source code in attachement and in spoiler, with screenshot :)

Spoiler For Spoiler:
.TENNIS
[030F1F3F7F7FFFFF]->Pic1
[C0F0F89C9EFEFFFF]
[030C1026464080FF]->Pic2
[C0300804020201FF]
0->X
56->Y
88->Z
56->W
0.1->G
0->V
Repeat getKey(15)
 ClrDraw
 G+V->V
 Pt-On(X/256,Y/256,Pic1)
 Pt-On(X/256+8,Y/256,8+Pic1)
 If Y/256>=56
  56*256->Y
  0->V
 End
 Y+V->Y
 If  X>0 and getKey(2)
  X-256->X
 End
 If X/256<80 and getKey(3)
  X+256->X
 End
 If Y/256=56 and getKey(54)
  ~256->V
  Y+V->Y
 End
 DispGraph(L6,°BG)^^r
End

Return

[]->°BG
[00000000000000000000000000000000000000000000000000000000000000000000000000000000003F8000000000000000000003FFF00000000000000000000FFFFE0000000000000000003FFFFF800000000000000000FFFFFFE00000000000000000FFFFFFF00000000000000007FFFFFFF80000000000000007FFFFFFFC000000000000000FFFFFFFFE000000000000000E000071FE000000000000003E000071FF000000000000003E000071FF800000000000007FFE3FF1FFC00000000000007FFE3FF1FFC0000000000000FFFE3FF1FFC0000000000000FFFE3FF1FFE0000000000000FFFE3FF1FFE0000000000000FFFE3FF1FFF0000000000001FFFE3FF1FFF0000000000003FFFE3FF1FFF0000000000007FFFE3FF1FFF0000000000007FFFE3FF1FFF0000000000005FFFE3FF1FFF000000000000DFFFE3FF1FFF000000000000DFFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000019FFFE3FF1FFF0000000000018FFFE3FF1FFE0000000000018FFFE3FF1FFE0000000000030FFFFFFFFFFE0000000000030FFFFFFFFFFE00000000000307FFDFFFF7FC00000000000307F8D8E733FC00000000000307FB56DAD7F800000000000303FB5CDA17F800000000000301FB52DAF7F000000000000301F8D15A11E000000000000180FBFFFFFFF8000000000001807BFFFFFFFE000000000001803FFFFFFFFF000000000001800FFFFFFFFF800000000001C007FFFFFFFFC00000000000C001FFFFFFFFC00000000000E0007FFFF8CCC0000000000060000FFC3ABB400000000000700000003ABB4000000000003800000028B8C000000000001C0000003FFBC000000000000E0000003FFCC0000000000007800001FFFF80000000000003C00007FFFF80000000000001FC003FEFFF000000000000007FFFFF87FE000000000000000FFFF800F00000000000000001FFC000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000]

edit that background is the only image that I had available directly in hex and that was not a trollface so I put that for example, but it can be easily changed ;)
edit 2 forgot the spoiler :P

1620
General Calculator Help / Re: TI-84+ SE Menu
« on: March 06, 2013, 05:41:56 pm »
Not a big update, just some more generic code.
I am basically posting here for a lot of reasons:
-to let you know this is alive
-to have the code somewhere in case my hard drive fails
-if you have suggestions after testing, you can tell or add them

(note, this needs two Axioms to compile: TEXT by Jacobly and AMEMKIT by Jacobly, which can be found here even though it is not used yet)

Pages: 1 ... 106 107 [108] 109 110 ... 239