Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: jonjetjon on March 05, 2012, 12:28:53 pm
-
alright, so i have been trying to make a simple program with zedd
so my code looks something like this sorry if it is not accurate, i had to type this up real fast
.PHYS8XP
[FFFFFFFFFFFFFFFF]->pic1
[010101010101010101010101010000000000000000000001010000000000000000000001010000000000000000000001010000000000000000000001010000000000000000000001010000000000000000000001010101010101010101010101]->gdb0tm
24->gdbowd
//not exactly sure of what that does
1->gdb0cl
8->gdb0sp
L1->gdb0vr
4->gdb0fr
[e7bde74242e7bde7]->str0sp
loadz(0,15
addz(40,40,8,8,8,0
repeat getkey
clrdraw
for(q,0,7
for(w,0,11
q*12->d
if {gdb0tm+d+w}=1
pton(W*8,Q*8,pic1
end
end
end
simz()
dispgraph
return
prgrmzedd
lbl clz
return
-
The released beta for Zedd uses tiles that are 4x4 and not 8x8. Either you will have to modify Zedd to use 8x8 tiles or accommodate your tilemap for 4x4 tiles. Your sytnax looks very good though, so it looks like the single issue is the tile size. Apologies on the tile size, as the released version is only a Beta and doesn't have 100% of the features or flexibility that the final project will have.
The lines you will be wanting to change will look like:
:If {T+θ/2/2*GDB0WD+(S/2/2)+GDB0TM} or {T+θ/2/2*GDB0WD+(S+C-1/2/2)+GDB0TM}
And you will want to all the /2/2 into /2/2/2
:If {T+θ/2/2/2*GDB0WD+(S/2/2/2)+GDB0TM} or {T+θ/2/2/2*GDB0WD+(S+C-1/2/2/2)+GDB0TM}
-
Welcome to the forums!