A port of Tyrian for TI 84 + CE
Currently a scrolling background demo with memory corruption(a free feature I may have added myself)

Files on Google Drive:https://drive.google.com/drive/folders/1ocya7z4OoT7bIlmJsH7Y01g9p3jy8wvs?usp=sharing
Source Coder project: http://sc.cemetech.net/?hash=+xQr8JyXnworWp7L5eYXHU8X+Bol
OpenTyrian on GitHub
Does anyone know why the variables are being corrupted?
I happens when the map is scrolled, among other places.
Are you able to re-share the source code somewhere for assistance (it looks like the SourceCoder share link has expired)?
I'm having issues sharing the source coder project but I made text file of the main source code in google drive.
Another issue (or maybe the same one) is that this code is overwriting the first sprite slot when adding the second
Code:
   [i]The second sprite is corrupting the first in this function
   For(A,0,MAXPROJ
      A*4->E
      If *{PROJECTILES+E} and {PROJECTILES+E+1} and SPRITEQ<MAXSPRITES
         [i]Get current place in    queue
         [i]Get a pointer to projectile info
         {PROJECTILES+E+1}->PROJ
         [i]get current number of sprites to draw
         SPRITEQ->B
         [i]convert it to an offset to put data at
         B*12->B
         [i]Sprite
         {PROJ+3}->{SPRITES+B}
         BLSHOTF->{SPRITES+B}
         [i]X
         {PROJ+6}->{SPRITES+B+3}
         [i]Y
         {PROJ+9}->{SPRITES+B+6}
         [i]Offset
         If {SPRITES+B+0}!={PROJ+3}
            [i]{PROJ+3}->{SPRITES+B}
         End
         SPRITEQ+1->SPRITEQ
      End
   End
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement