Jump to content
Sign in to follow this  
RSS Bot

SpiceWare's Blog - Vanity, take two

Recommended Posts

I recalled reading about hitting HMOVE at weird times and had an idea on how to extend the left/right edge of the SpiceWare logo using it. It worked surprisingly well! I took the ball, make it 8 pixels wide, then positioned it to extend the right of the logo by 8 pixels. I then unrolled the graphic 48 loop and turned the ball on for the first line, off for the next. I then used a late HMOVE and shifted the ball over 56 pixels over course of 4 scanlines(yep, shifted by 14 pixels per line). I then turned the ball back on for the last scan line, where it was perfectly lined up to extend 8 pixels to left. I've tested this on my 6 switcher and it looks fine.

 

After implementign this, I found that this might cause problems on some PAL and Jr. systems and would appreciate any feedback. Since I've already unrolled the loop I could hard-code the logo using immediate mode (2 cycles per graphic load vs 5, freeing up 18 cycles per line) and do the ball positioning the "proper" way, or maybe even use the Playfield to extend it the full width of the screen.

 

Original Logo

blog-3056-1144286306_thumb.jpg

 

Updated Logo

blog-3056-1144286289_thumb.jpg

 

 

I also implemented a change suggested by Jacob Rose which eliminated the worse case flickering of the fireballs where a fireball was visible only 1 out of 3 frames. Now the worse case scenerio is a fireball being shown 2 out of 3 frames if one of the kings is dead. As before, you can test this out using the difficulty switches.

 

BIN mm.bin

 

Source Medieval_Mayhem.zip

 

http://www.atariage.com/forums/index.php?a...&showentry=1442

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...