I have decided that enough is enough and I need to sit my butt down on my creaky $35 walmart office chair and finish a darn Ti 84+ project for once.
I've had some experience as of late making small roguelikes (I have a roguelike I wrote in C for the 6502 that's build is <3.5kb!) and I want a "real" (ascii) roguelike for the ti 84+. I absolutely adore Calcrogue for the m68k calcs and I want that experience on the 84+ b/w calculators.
I just got maps that are larger than the screen working. Here's the main code (don't worry about GDB0, its just an Axe 1D/2D array):
Code:
So basically, this shows that I have the main rendering loop going, and this is very very nice. But how do I change the code so that I can render NxM map sizes? Right now, the code can only render a set size (offsets of 3, see?)
Once I get NxM maps working, I may shrink the tileset so its not 8x8 (possibly 6x6 or something a tad smaller to fit more map on the screen)
I've had some experience as of late making small roguelikes (I have a roguelike I wrote in C for the 6502 that's build is <3.5kb!) and I want a "real" (ascii) roguelike for the ti 84+. I absolutely adore Calcrogue for the m68k calcs and I want that experience on the 84+ b/w calculators.
I just got maps that are larger than the screen working. Here's the main code (don't worry about GDB0, its just an Axe 1D/2D array):
Code:
.ROGUE A roguelike in Axe
prgmFLOR2SRC
DiagnosticOff
[3C429AA6A69C423C]->Pic100
[0042665A5A424200]->Pic101
1->X->Y
Repeat getKey(15)
If getKey(4)?TCh(X,Y-1)
Y--
ElseIf getKey(1)?TCh(X,Y+1)
Y++
ElseIf getKey(2)?TCh(X-1,Y)
X--
ElseIf getKey(3)?TCh(X+1,Y)
X++
ElseIf getKey(48) and getKey(14)?TCh(X,Y)=2
1->X->Y
End
If X>6:3->U
Else:0->U
End
If Y>4:4->V
Else:0->V
End
Lbl DP
For(B,0,7)
For(A,0,11)
Pt-Off(A*8,B*8,{B+V*G+A+U+GDB0}*8+Pic000)
End
End
Pt-Off(X*8,Y*8,Pic100)
DispGraph
End
Return
Lbl TCh
.<Row#>*<Total Columns> + <Column#> + <Start of Data>
Return {[r2]+V*G+[r1]+U+GDB0}
Lbl MonsGenChk
Return
So basically, this shows that I have the main rendering loop going, and this is very very nice. But how do I change the code so that I can render NxM map sizes? Right now, the code can only render a set size (offsets of 3, see?)
Once I get NxM maps working, I may shrink the tileset so its not 8x8 (possibly 6x6 or something a tad smaller to fit more map on the screen)