[stella] some thoughts

Subject: [stella] some thoughts
From: Piero Cavina <p.cavina@xxxxxxxxxxxxx>
Date: Tue, 25 Mar 1997 12:27:25 +0100 (MET)
I'm trying to write the code to draw a screen where sprites have the
following features:

1- sprite 0 has full movement in both X and Y axis (it's controlled by the
player), and is used only once. This means that it can be positioned during
VBLANK, but it must be turned on and drawn during a number of scanlines.

2- sprite 1 can move only on the X axis but it is reused more times so that
it appears at various fixed Y positions.

This picture can help:

|   ^                 |
|   |                 |
|   |                 |
|   |                 |
|   |                 |
|   |                 |
|   V                 |

If you've seen the demo I posted some time ago, I've already been able to
write the code to draw S1 with sprite reuse (and more); now I need to throw
in S0 but this looks more difficult that I thought.

In particular, for each scanline (or pair of scanlines) one must find the
time to draw _also_ the correct slice of S0 _if needed_.

And of course this must happen even in those lines where S1 is repositioned.

I'm working on this, but if you've some ideas I would like to hear from you.

BTW, there should be a missile too... :-/


Archives available at http://www.biglist.com/lists/stella/archives/
E-mail UNSUBSCRIBE in the body to stella-request@xxxxxxxxxxx to be removed.

Current Thread