I have had problems figuring out how to display the tilemap. I have been experimenting and either the compiled programs displays weird colored boxes all over the screen and then resets or a blank white screen shows up. I have the documentation and the example program, The World's Hardest Game. Looking at the example program helped a lot, except I don't have levels, and my program still doesn't work. By the way, The tilemap have 8x8 tiles (not sure why I didn't do 16x16). I am using a tilemap because I want to display a screen-sized picture, and when I tried using a sprite, it was to big. Also I am aware that my definetilemap() only defines 160x120 screen, but the picture is that size.. for now.
For now, just assume everything up to the code I did right.
Code:
For now, just assume everything up to the code I did right.
Code:
det(0
LoadData("EXDES1",0,1800->A
DefineTilemap(8,8,30,20,3,3,30,20,0,0,A)->TILEMAP
det(50,TILEMAP,0,0
Pause
det(1