Jump to content



0

playfield collision question


1 reply to this topic

#1 atari2600land ONLINE  

atari2600land

    Quadrunner

  • 6,491 posts
  • All hail the zyzzyva!
  • Location:Salem, Oregon

Posted Thu Apr 17, 2008 6:35 PM

Why won't the ball ricochet once it's collided with a playfield block? What I want to happen here is:

1. Ball hits block
2. block goes away
3. ball goes in opposite direction from where it came from.

but it's not working for some reason. Any help would be appreciated.

Attached Files



#2 Random Terrain ONLINE  

Random Terrain

    Visual batari Basic User

  • 20,910 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Thu Apr 17, 2008 7:40 PM

Understanding that I'm always going to be like a bB newbie no matter how long I use bB, I used pfread instead of collision in the old game I was working on. That way I could look ahead of the object and 'bounce' before it actually got on top of the playfield pixel.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users