Re: [stella] Collision detection

Subject: Re: [stella] Collision detection
From: Glenn Saunders <cybpunks@xxxxxxxxxxxxx>
Date: Thu, 04 May 2000 16:16:35 -0700
At 12:29 PM 5/4/00 -0700, you wrote:
If I understand you fully....

P0 and P1 could only collide ONCE per TV frame.  In
other words, if P0 and P1 are to collide on scanline 4
and 104, it would occurr in two different frames.  So
you could put your code to check the collision latches
in VBLANK.  And in your situation, you'd see the
collision TWO different times in VBLANK.


Take any game that reuses sprites, though. If one "pseudosprite" collides on a given scanline and during the same frame, another "pseudosprite" collides, how do you track this? Both would be the same player, but you need to track collisions independently in order to treat the player as two virtual sprites.




Glenn Saunders - Producer - Cyberpunks Entertainment Personal homepage: http://www.geocities.com/Hollywood/1698 Cyberpunks Entertainment: http://cyberpunks.uni.cc -- "One World, One Web, One Program" - Microsoft Promotional Ad "Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler


-- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/

Current Thread