0 Members and 2 Guests are viewing this topic.
Quote from: chattahippie on October 30, 2011, 09:21:18 pmStore 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 thatActually this would be much more efficient with the Copy command:Code: [Select][Pic0]->Pic0Copy(A+Pic0,A+L3,755) // Also, put constants at the end of equations for a small optimizationDispGraph^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]->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
[Pic0]->Pic0Copy(A+Pic0,A+L3,755) // Also, put constants at the end of equations for a small optimizationDispGraph^rRepeat getkey(15)End
K. What does ^r do?
Use the A+pic without using the for?
Do you have to give A a number or something, or does copy do that for you.
[Pic0]->Pic0Copy(Pic0,L3,768) // Fixed this lineDispGraph^rRepeat getkey(15)End
Keoni29 + gfx = BRAIN CRUSH
Bullets bigger than the gun itself You might want to make the gun slightly bigger. As well as the enemies. Something like this:
Quote from: aeTIos on November 04, 2011, 09:47:53 amKeoni29 + gfx = BRAIN CRUSHAns + Sound = Brain Implosion
for(a,0,maxamountofbullets)0->{L1+a}End