0 Members and 2 Guests are viewing this topic.
ooh, nice. Looks a lot better than my sprite editor.
wow looks nice
where's the actual code?
I will really need to update the site download section at one point with most program tools posted in this section. That stuff may be useful and might be hard to find since these topics grow larger and larger.
HoMM: [==--------] Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :PtiDE: [----------] Explored and understood the main part of the code: just started writing a Tokenizer.
Btw for 16x16 sprites do you still just display 8x8 sprites or did people figure out a way to display 16x16 ones faster?
The draw routine draws a sprite from the data stored in Pic1 and the 24 bytes after its standard 8 bytes.It just copies the sprite in couples of 2 bytes (r) to the plotSScreen (L6) in a For loopafter that it Draws the buffer to the screen with a simple DispGraph.
Quote from: DJ Omnimaga on April 06, 2010, 01:51:31 pmBtw for 16x16 sprites do you still just display 8x8 sprites or did people figure out a way to display 16x16 ones faster?My routine doesn't display 4 8x8 sprites, but one 16x16 sprite:Quote from: LordConiupiter on April 05, 2010, 02:35:34 pmThe draw routine draws a sprite from the data stored in Pic1 and the 24 bytes after its standard 8 bytes.It just copies the sprite in couples of 2 bytes (r) to the plotSScreen (L6) in a For loopafter that it Draws the buffer to the screen with a simple DispGraph.The code is attached with that post: 'SPRT1X16 source Axe.8xp'
Quote from: BASIC Code:.SPRT1X16:DiagnosticOff:ClrDraw:[00002A5455AA4002→Pic1:[481254AA5CBA48524182481247E241824C32342C03C00000:64→X:16→Y:For(A,0,15:{2*A+Pic1}r→{A+Y*12+L6+X}r:End:DispGraphGenerated by SourceCoder, © 2005 Cemetech
:.SPRT1X16:DiagnosticOff:ClrDraw:[00002A5455AA4002→Pic1:[481254AA5CBA48524182481247E241824C32342C03C00000:64→X:16→Y:For(A,0,15:{2*A+Pic1}r→{A+Y*12+L6+X}r:End:DispGraphGenerated by SourceCoder, © 2005 Cemetech
and source code in text form
Interesting I didn't knew we could do that . I was sure it either required inline assembly or 4 pt-ons