0 Members and 2 Guests are viewing this topic.
Thanks! and yeah, collisions are in there.Look at the getkey parts of the code, it won't let you step on anything that isn't 0 in the data. You can also code in other exceptions.
Just one question: why is the last row of your map longer than the others ? Because I would like to make scrolling maps and if this extra 0C is necessary, I have to put one too (but I'll do my own routine because I don't want exactly this result).
:Pt-Off(40,32,Pic1+8+(θ/4^2*8+8*(θ≠0))+{r1}:Pt-Off(40,24,Pic1+{r1}
:Pt-Off(40,32,8+(θ/4^2*8+8*(θ≠0))+Y+Pic1:Pt-Off(40,24,Y+Pic1