hmm...tags have problems x_x
dim Map(4,4):Map(1,1)=2:Map(1,2)=3:Map(1,3)=3:Map(1,4)=3
Map(2,1)=2:Map(2,2)=2:Map(2,3)=3:Map(2,4)=3:Map(3,1)=3
Map(3,2)=2:Map(3,3)=3:Map(3,4)=3:Map(4,1)=3:Map(4,2)=2
Map(4,3)=2:Map(4,4)=2:load image "sprite.png",1,1:load image "wtile.png",2,1:load image "gtile.png",3,1
sprx=260:spry=160:set sprite 1,1,1
do
if upkey() and spry>152 then spry=spry-2
if downkey() and spry<280-31 then spry=spry+2
if leftkey() and sprx>242 then sprx=sprx-2
if rightkey() and sprx<370-22 then sprx=sprx+2
sprite 1,sprx,spry,1
for x=1 to 4
for y=1 to 4
paste image Map(y,x),x*32+210,y*32+120
next y
next x
loop
end
Media:
I know its not much, but im new so be gentle
I followed all the rules too, most commands i have on a line is 5.
So enjoy my crummy little Tile Engine ^_^