Subject: Re: [stella] variations on a theme From: Erik Mooney <emooney@xxxxxxxxxxxxxxxx> Date: Mon, 19 Jan 1998 09:45:20 -0500 (EST) |
> I think that it would be better to convert the code to the standard format, > as this would allow other things like diagonal moving bombs. Can you do this, or do you want me to try? > Couldn't the already existing destroy-the-shields routine be generalized for > use with bombs and player shots? I can use the existing routine to easily make an invaders-destroy-shields routine, but it'd be difficult to do it within the same code. Reason: the players-destroy-shields routine searches from the bottom up to find a pixel to remove, while the invaders-destroy-shields must start at the top of the shield and go down. It's easier to copy the routine and change a couple things than to try to shoehorn everything into one routine. > >About two minutes after I wrote that message I realized that simply setting > >COLUPF to zero would work perfectly, except that you couldn't see the bombs > >until they dropped below the last row of invaders. > > But Atari SI allows you to hit the invaders even when they're invisible. > This would be the difficult part. Don't the collision registers activate even when COLUPF is zero? I'm pretty sure they do. The collision-detection hardware only checks PFx, ENAMx, ENABL, and GRPxx, not the color registers. -- Stella list is Administered by krishna@xxxxxxxxxxxx <Glenn Saunders> Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/stella.html +-shameless plugs-------------------------------------------------------+ | Stella documentary at http://www.primenet.com/~krishna | | Nick's VCS links via http://www.primenet.com/~nickb/atariprg.htm | | Write the best game, win framed autographs of famous Atari alumni!! | +-----------------------------------------------------------------------+
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [stella] variations on a theme, Piero Cavina | Thread | Re: [stella] variations on a theme, Piero Cavina |
Re: [stella] variations on a theme, Piero Cavina | Date | Re: [stella] Screen shots, John Saeger |
Month |