Re: [stella] latest Star Fire

Subject: Re: [stella] latest Star Fire
From: Manuel Polik <cybergoth@xxxxxxxx>
Date: Fri, 25 Oct 2002 10:48:27 +0200
Hi Andrew!

> In case it hasn't been mentioned before, the collision 
> detection is a bit suss.

Thanks for spotting that!

> Occasionally at the instant of firing, my target 
> explodes.  There should be some time delay for the 
> shot to get there, and that time delay should be
> based on distance, not just screen position of the 
> sprites. Otherwise, coming along nicely.

That's exactly how it was intended, actually I'm not 
even checking for a collision before the particle hits 
the center of the screen.

Only, to make it somewhat friendlier for the player, I 
allow a "Hit" on both the frame the shot expires and the 
frame before that. Now thanks to your hint I manged to 
track down a bug in the code determining these last two 

Oh, and before someone else reports this as a bug: To 
make hitting the single pixel targets a little easier, 
the collision detection is very friendly towards the 
horizontal position of an object. I experienced it was 
very frustrating, next to impossible, to hit those 
without helping the player a bit.


Archives (includes files) at
Unsub & more at

Current Thread