Monday, March 26, 2012

I see more collision detection

Check out this link: http://create.msdn.com/en-US/education/catalog/tutorial/collision_2d_perpixel

Per pixel collision detection - very cool. My game doesn't have this yet but it's a priority now. It looks simple enough to add too. At the moment I have a block around my character that I'm using to detect collisions. The problem with this is that he's wider than his feet, so he can hover over the edge of platforms, standing on nothing because the square around him isn't over the edge yet.

What per pixel collision detection does, is check every pixel in the image and see if it's colliding with the pixels on another image. It's on my to-do list. Now to do some real work :/

Thanks to Evan for linking me to this.

This is his true power. Or a glitch. Nice lack of background.


2 comments:

  1. Hahah... THIS IS MY TRUE POWER!!!

    ReplyDelete
  2. A lack of information means it’s impossible to know the dimensions of the activity, though it quantities to “many billions of dollars yearly,” it stated. One example of how the auto-generated slot machines looked on Android units. Missing right here is the text-to-speech singing about curling that may play upon 안전바카라 any jackpot. In this project, you'll construct a real, working slot machine modeled after some actual life Video Lottery Terminals from Manitoba, Canada. You’ll the underside of|resolve|unravel} this scandal by writing a program that recreates the slot machines. You’ll then do some calculations and run some simulations that reveal the true payout rate of the machines.

    ReplyDelete