As you said:
That would be pretty slow.
That's why I thought of having StorePic and RecallPic. Besides, it isn't really "annoying".
This is a screenshot of Rhombus P's engine for his abandoned idea, Man of War. I have shown it to the community before, they may find it familiar. Is the gameplay here annoying?
The code in that demo is:
:"XXJYXX NIIIN ozoqvq σx[yhat][xhat][yhat][xhat] ::H:H: 48X84 QIIIIQ →Str1
:"COLISION DETECTION. IF THE VALUE IS THE SAME AS THE INDEX,THATSRRITE IS SOLID
:B-(K=24 and [A](A,B-1)≠L3([A](A,B-1)+1))+(K=26 and [A](A,B+1)≠L3([A](A,B+1)+1))→B
:A+(K=34 and [A](A+1,B)≠L3([A](A+1,B)+1))-(K=25 and [A](A-1,B)≠L3([A](A-1,B)+1))→A
I can think of a FEW optimizations, but that's beside the point…
command is used there, in that While 1
loop at the end. That's what I was thinking for that.
Also, from the screenshot, it seems some pixels to the LEFT are also erased. And because I want it fast, and there is no faster way in TI-BASIC to display multiple pixels at a time, I see no other way.
P.S. Nice picture-to-list routine, Xeda! I haven't seen you around here for a while, although I know you've been visiting my Shutdown thread on Omnimaga. ;-)