0 Members and 1 Guest are viewing this topic.
.SPRWKTWO[7E81A58181DB423C->Pic0[7E81A581A599817E1866A5A5BD24246C->Pic1[7E81A581A599817E1866A5A5BD242436->Pic2[4949414149494141->Pic3[FF0000CC0000FF00->Pic4[90D8B681BD81FE88A8A8A8A8A8A884FE->Pic6[091B6D81BD817F11151515151515217F->Pic7[030404043F40807F->Pic8[C0202020FC0201FE->Pic5[80502070888888889090505050505020->Pic9ClrDrawFix5Pt-Change(0,0,Pic0Pt-Change(0,10,Pic1Pt-Change(0,18,Pic1+8Pt-Change(0,30,Pic2Pt-Change(0,38,Pic2+8Pt-Change(10,0,Pic3Pt-Change(10,8,Pic3Pt-Change(10,16,Pic3Pt-Change(10,24,Pic3Pt-Change(10,32,Pic3Pt-Change(10,40,Pic3Pt-Change(0,50,Pic4Pt-Change(8,50,Pic4Pt-Change(16,50,Pic4Pt-Change(24,50,Pic4Pt-Change(32,50,Pic4Pt-Change(20,0,Pic6Pt-Change(20,8,Pic6+8Pt-Change(20,18,Pic7Pt-Change(20,26,Pic7+8Pt-Change(30,1,Pic8Pt-Change(38,1,Pic5Pt-Change(50,0,Pic9Pt-Change(50,8,Pic9+8Text(50,40,"David GomesDispGraphRepeat getKey→ZEndClrDraw
cool, open source sprites! I'm sure many people would like using a sprite or two from this list, like that cool looking one of a guy!
.SPRWKTWO[7E81A58181DB423C]→Pic0[7E81A581A599817E1866A5A5BD24246C]→Pic1[1866A5A5BD242436]→Pic2[4949414149494141]→Pic3[FF0000CC0000FF00]→Pic4[90D8B681BD81FE88A8A8A8A8A8A884FE]→Pic6[091B6D81BD817F11151515151515217F]→Pic7[030404043F40807F]→Pic8[C0202020FC0201FE]→Pic5[80502070888888889090505050505020]→Pic9[]→GDB0∆List(0,0,Pic0-Pic0)∆List(0,10,Pic1-Pic0)∆List(0,18,Pic1+8-Pic0)∆List(0,30,Pic1-Pic0)∆List(0,38,Pic2-Pic0)∆List(10,0,Pic3-Pic0)∆List(10,8,Pic3-Pic0)∆List(10,16,Pic3-Pic0)∆List(10,24,Pic3-Pic0)∆List(10,32,Pic3-Pic0)∆List(10,40,Pic3-Pic0)∆List(0,50,Pic4-Pic0)∆List(8,50,Pic4-Pic0)∆List(16,50,Pic4-Pic0)∆List(24,50,Pic4-Pic0)∆List(32,50,Pic4-Pic0)∆List(20,0,Pic6-Pic0)∆List(20,8,Pic6+8-Pic0)∆List(20,18,Pic7-Pic0)∆List(20,26,Pic7+8-Pic0)∆List(30,1,Pic8-Pic0)∆List(38,1,Pic5-Pic0)∆List(50,0,Pic9-Pic0)∆List(50,8,Pic9+8-Pic0)ClrDrawconj(GDB0-1→P,ᴇ9900+GDB0-Pic0-1,GDB0-Pic0)ʳWhile -ᴇ9407Pt-Change(sub(PP1),sub(PP1),sub(PP1)+ᴇ9900)EndDispGraphText(40*256+50)DrawF "David GomesRepeat getKeyEndReturnLbl PP1{P+1→P}
Sorry, I couldn't help myself. For some reason when I saw this thread I impulsively decided to try to optimize to oblivion whatever code I saw.761 bytes → 486 bytes Code: [Select].SPRWKTWO[7E81A58181DB423C]→Pic0[7E81A581A599817E1866A5A5BD24246C]→Pic1[1866A5A5BD242436]→Pic2[4949414149494141]→Pic3[FF0000CC0000FF00]→Pic4[90D8B681BD81FE88A8A8A8A8A8A884FE]→Pic6[091B6D81BD817F11151515151515217F]→Pic7[030404043F40807F]→Pic8[C0202020FC0201FE]→Pic5[80502070888888889090505050505020]→Pic9[]→GDB0∆List(0,0,Pic0-Pic0)∆List(0,10,Pic1-Pic0)∆List(0,18,Pic1+8-Pic0)∆List(0,30,Pic1-Pic0)∆List(0,38,Pic2-Pic0)∆List(10,0,Pic3-Pic0)∆List(10,8,Pic3-Pic0)∆List(10,16,Pic3-Pic0)∆List(10,24,Pic3-Pic0)∆List(10,32,Pic3-Pic0)∆List(10,40,Pic3-Pic0)∆List(0,50,Pic4-Pic0)∆List(8,50,Pic4-Pic0)∆List(16,50,Pic4-Pic0)∆List(24,50,Pic4-Pic0)∆List(32,50,Pic4-Pic0)∆List(20,0,Pic6-Pic0)∆List(20,8,Pic6+8-Pic0)∆List(20,18,Pic7-Pic0)∆List(20,26,Pic7+8-Pic0)∆List(30,1,Pic8-Pic0)∆List(38,1,Pic5-Pic0)∆List(50,0,Pic9-Pic0)∆List(50,8,Pic9+8-Pic0)ClrDrawconj(GDB0-1→P,ᴇ9900+GDB0-Pic0-1,GDB0-Pic0)ʳWhile -ᴇ9407Pt-Change(sub(PP1),sub(PP1),sub(PP1)+ᴇ9900)EndDispGraphText(40*256+50)DrawF "David GomesRepeat getKeyEndReturnLbl PP1{P+1→P}
That looks way more complicated and seems to ocuppy more size.My original program: 660 bytesYour program (compiled using Tokens): 1,02 KBEDIT: When compiled using SourceCoder, it gives me 84 errors :OSo, hum... Optimization?
The source may be larger, but the compiled code is not. All Axe optimizations should aim to reduce the size of the compiled code, not the source.As for getting errors in SourceCoder, that's probably because it doesn't use the same characters as my forum post uses. If you want the source as an 8xp file so you can avoid conversion errors, I'll attach it.Anyways, you don't have to worry about this or anything. I just randomly decided to optimize this for fun, there's really no reason this would need to be as hyper-optimized as I made it.[/quote]Optimizing the compiled code...Optimizing the compiled code...Optimizing the compiled code...Optimizing the compiled code...Optimizing the compiled code...Optimizing the compiled code...Optimizing the compiled code...That makes a lot of sense, really it does!
Nice. Also the first three sprites reminds me of your new avatar.
Quote from: DJ Omnimaga on December 04, 2010, 11:58:17 pmNice. Also the first three sprites reminds me of your new avatar. xDI may be posting something like 100 sprites at a time someday, that would be sweet!
Quote from: ScoutDavid on December 05, 2010, 10:03:47 amQuote from: DJ Omnimaga on December 04, 2010, 11:58:17 pmNice. Also the first three sprites reminds me of your new avatar. xDI may be posting something like 100 sprites at a time someday, that would be sweet!you have a 100 new sprites for us someday? Can't wait, it's great to see someone else who loves spriting as much as coding!