Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Piguy-3.14 on June 08, 2013, 02:31:09 pm

Title: Tilemapping in axe?
Post by: Piguy-3.14 on June 08, 2013, 02:31:09 pm
Hey Omnimaga, I am working on implementing tilemapps into my game(Picraft 2) but am unsure how to do so. I've tried every tutorial, but none seem to work. If you know a good code for tilemapping(platform) then please share it with me or give me some tips on how I could, as I am lost.
Title: Re: Tilemapping in axe?
Post by: Runer112 on June 08, 2013, 02:35:05 pm
Have you tried this tutorial (http://www.omnimaga.org/index.php?action=articles;sa=view;article=85)? It's probably the most straightforward Axe tilemapping tutorial available, and it starts out pretty simple with a non-scrolling 8*8 tilemap that fits the screen.

If you try it or have tried it and got stuck/confused at any part, tell us what part and what problem you're having and we'll help!


EDIT: I just noticed an error in that tutorial. In some places, it includes [0F0F0F0F0F0F0F0] as sprite data, but that's missing a hexadecimal digit; make it [0F0F0F0F0F0F0F0F].
Title: Re: Tilemapping in axe?
Post by: Piguy-3.14 on June 08, 2013, 11:57:19 pm
Ya I noticed that. Weird thing is; I copied this code TO THE VERY PERIOD and all it does is display a black screen, nothing else! I even fixed the bug and changed the code multiple times but for some reason all I get is a black screen!!! If you know why this is happening please tell me, as with as simple of a tutorial this is, it just does not work!
Title: Re: Tilemapping in axe?
Post by: Runer112 on June 09, 2013, 12:17:41 am
It works fine for me. I've attached the source programs to this post. The only changes I made were to fix that one sprite that was missing a hexadecimal digit and to remove the pauses, neither of which really alters the base program logic. Without the pauses, it's actually stupidly fast, but I love seeing Axe performing stupidly fast. :P