Jump to content
IGNORED

SpiceWare's Blog - sprite engine back in play


RSS Bot

Recommended Posts

Both players are being used to draw all the sprites. At the initial position there will not be any flicker.


The blue test sprite can be moved around with your joystick, the score is used to show your X and Y position. Hold fire to slow down the movement.


During tests I did discover a minor issue, which was most likely present in the DPC+ version as well. X position 4 the sprite looks OK (cropped due to HMOVE bar).


However, at X position 3 the first line of the sprite is missing!


I believe it's because the HMOVE for that player is still active. Should be an easy fix - just do the repositions 1 scanline earlier.

The entire world exists, but the window into it is currently fixed at (0, 0) so it's possible for you to move offscreen in any direction. The radar will show your location so you can make it back to the top-left corner of the world.


Another interesting thing to note - the top of the screen has 5 extra scanlines, you can see both players, both missiles and the ball turned on for those 5 scanlines as a frame of reference. In the old DPC+ version of DPC+ I used the traditional PosObject routine in 6507 code to set the positions of the topmost objects. Due to how that routine works, it would take 6-11 scanlines to set the initial position of all 5 objects. Those 5 extra scanlines now position all 5 objects in 5 scanlines, which saves quite a bit of processing time!

Additionally, I've implemented preliminary support for CDF and BUS in Stella, so keep an eye on this topic for the pre6 test build. Once it's released you can run this, and teh Bus Stuffing Demos, in Stella.

Attached thumbnail(s)
  • blogentry-3056-0-60557600-1490575983.png
  • blogentry-3056-0-65896300-1490575672.png
  • blogentry-3056-0-14740700-1490575680.png
  • blogentry-3056-0-83837100-1490575683.png
  • blogentry-3056-0-90697000-1490575676.png
Attached File(s)


http://atariage.com/forums/blog/148/entry-13755-sprite-engine-back-in-play/
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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