0 Members and 2 Guests are viewing this topic.
Pxl-On(90,1Pxl-On(91,2Pxl-On(92,3Pxl-On(93,2Pxl-On(94,1Pxl-On(90,5Pxl-On(91,4Pxl-On(93,4Pxl-On(94,5
meh... Somehow, I managed to forget how to display a grayscale sprite anyone?
What was in this post has been removed since I found a way to get through it.EDIT:How to optimize this?:Code: [Select]Pxl-On(90,1Pxl-On(91,2Pxl-On(92,3Pxl-On(93,2Pxl-On(94,1Pxl-On(90,5Pxl-On(91,4Pxl-On(93,4Pxl-On(94,5I made it with a For( loop or nested For( loops, and I did it! I really did, but I lost the source code (deleted it in Doors CS7 by mistake) and rewrote 900bytes of code (phew) but can't remember how to make a cross with a loop... I can't make it now (even though I did it before).Thanks.
How to optimize this?:Code: [Select]Pxl-On(90,1Pxl-On(91,2Pxl-On(92,3Pxl-On(93,2Pxl-On(94,1Pxl-On(90,5Pxl-On(91,4Pxl-On(93,4Pxl-On(94,5
Pt-On(88,0,[0022140814220000])
Quote from: Scout on March 23, 2011, 02:20:37 pmHow to optimize this?:Code: [Select]Pxl-On(90,1Pxl-On(91,2Pxl-On(92,3Pxl-On(93,2Pxl-On(94,1Pxl-On(90,5Pxl-On(91,4Pxl-On(93,4Pxl-On(94,5Pixel method: 117 bytes not counting the pixel routine, 158 bytes with it; 2853 cycles Code: [Select]Pt-On(88,0,[0022140814220000])Aligned sprite method: 24 bytes not counting the sprite routine, 150 bytes with it; 918 cycles
Pt-change(80,0,[FFFFFFFFFFFFFFF])Pt-Change(88,0,[0022140814220000])I think that would work
* Happybobjr slaps himself awake.Opps, thanks scout.
.Example call63sub(SRL).Shift Row LeftLbl SRLAsm(140140937DE6C0B4C02C7D87856F292909060C2BCB1610FBC9).Shift Row RightLbl SRRAsm(140140937DE6C0B4C07D87856F292909060C2BCB1E10FBC9)