So I'm well versed in BASIC programs, but am new to BASIC libraries, assembly programming, and home screen graphics. I just started trying to learn about how to use DoorsCSE to make more graphics based programs, but can't seem to get sprites to work. I tried to get the calculator to just display a few 8x8 tiles but it's displaying them 8x16 (twice as tall). Here's what I have:
Code:
This is to make a string to represent an entire lime green tile. Then I try to load and display it:
Code:
However, instead of displaying a 32x32 green square at the coordinates 50,50, I get a 32x64 rectangle at 50,100. I've done some tests involving trying to display only one tile, adding a design to the tile, etc., and I've found that every single pixel I have in the Ans string is corresponding to two displayed pixels, so it's basically stretching everything I do (tiles, coordinates, etc.) vertically by a factor of 2. Is there some value messed up somewhere? Am I using the commands incorrectly? What's going on?
Code:
:"07"→Str1
:For(I,1,6)
:Str1+Str1→Str1:End
This is to make a string to represent an entire lime green tile. Then I try to load and display it:
Code:
:real(5,5,155
:real(4,0,50,50,4,4,0,0,0,1,0,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155,155
:Pause
However, instead of displaying a 32x32 green square at the coordinates 50,50, I get a 32x64 rectangle at 50,100. I've done some tests involving trying to display only one tile, adding a design to the tile, etc., and I've found that every single pixel I have in the Ans string is corresponding to two displayed pixels, so it's basically stretching everything I do (tiles, coordinates, etc.) vertically by a factor of 2. Is there some value messed up somewhere? Am I using the commands incorrectly? What's going on?