Jump to content
  • entries
    657
  • comments
    2,692
  • views
    898,671

dragon drawing routines


SpiceWare

885 views

While I don't have dragon graphics, I have updated the routines that draw the dragon to use single line resolution & shifting with double wide pixels.

blog-3056-1144812404_thumb.png

 

It's a really slick effect - but it's taking a lot more processing time per scanline than I was expecting, not leaving much time for the processing of paddles. Any input?

 

Source Medieval_Mayhem.zip

 

BIN mm.bin

2 Comments


Recommended Comments

I hope you can get it to work. The effect looks really good. If you can get by with fewer than 8-bits of drawing then you can do the shift on alternating scanlines and shift the bit pattern instead on every frame. The end result is still a diagonal line.

 

XX00111111
X00111111 < SHIFT
X01111110 --bit pattern changes
01111110 < SHIFT

Link to comment

Having slept I may have come up with something. The routines are still drawing the missiles and the ball due to the fireball color cycling. If the cycling doesn't happen while the dragon is on screen then I can eliminate 2 of them. That'll save 12 cycles which might be enough.

 

The drawing every other but shifting every line may help too - thanx for the suggestion! I'll see what the fireballs savings do first, and if that doesn't help I'll check with Nathan to see if that would be a restriction he could work around when designing the dragon sprites.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...