XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

How do I use Rectangle collision?

Last post 05-11-2008 11:21 AM by Demii Poet. 2 replies.
  • 05-11-2008 5:40 AM

    How do I use Rectangle collision?

    I'm trying to make a very simple game. Basickally, the two players try to catch a carrot that's moving and bouncing off the walls. When a player touches the carrot, they get a point. My problem is I don't know how to use collision rectangles and how to tell if the carrot is dead or alive. I can move the player characters and I can make the carrot move and bounce.

    I've completed the XNA Beginner's Video Tutorial twice but I can't seem to dumb down how they used collision.

    Even if i could get it to work using only one player and the carrot, I'd be very happy.

    Also, a quick response would be much appreciated as I need this within 24 hours.

    Thanks for any replies.
  • 05-11-2008 10:01 AM In reply to

    Re: How do I use Rectangle collision?

    We are boki. The rest is known.
    The not so known part of the rest: It is Björn or Bjoern, but never Bjorn.
    Björn does not stalk John Sedlak
  • 05-11-2008 11:21 AM In reply to

    Re: How do I use Rectangle collision?

    Answer
    Ah, I'm sorry. I've been up for 16 hours straight when i asked. I did a search and a turtorial titled that kept popping up, but whenever I clicked on it it said it no longer existed...

    Thank you.
Page 1 of 1 (3 items) Previous Next