0 Members and 3 Guests are viewing this topic.
What's a TD? (I'm guessing "top-down" shooter, but I'm not sure.) Good luck with your project, anyway
[Pic0]->Pic0 //Uses the OS Pic0 in the programFor(A,0,755) //756 time loop{Pic0+A}->{L3+A} //Stores the info in the Pic to the greyscale bufferEndDispGraph^rRepeat getkey(15)End
Store your image to either L3 or draw sprites using Pt-On()^r (2nd, angle, 3), then use DispGraph^r. This displays them in greyscale.For example:Code: [Select][Pic0]->Pic0 //Uses the OS Pic0 in the programFor(A,0,755) //756 time loop{Pic0+A}->{L3+A} //Stores the info in the Pic to the greyscale bufferEndDispGraph^rRepeat getkey(15)Endtry that
[Pic0]->Pic0Copy(A+Pic0,A+L3,755) // Also, put constants at the end of equations for a small optimizationDispGraph^rRepeat getkey(15)End