CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Thomas1207

Search: Search took 0.02 seconds.

  1. Re: Collision with corners of a picturebox – C#

    Is there perhaps someone who has a better idea for code then mine to solve this problem?

    Thanks!
  2. Re: Collision with corners of a picturebox – C#

    Hi,

    I first had something in mind like your piece of code but it didn't work.
    Either the ball went through the picturebox or I had an error because I couldn't use "IntersectsWith".

    Maybe you...
  3. Collision with corners of a picturebox – C#

    Hi,

    I’m having a problem with collision between 2 pictureboxes.

    The situation: I have a picturebox that represents a ball and that bounces around the form. In the middle of the form I’ve...
  4. Replies
    7
    Views
    15,016

    Re: Collision with a picturebox

    Thank you !!

    It was really helpful!

    I have now changed my code to your last piece of code because I use 7 pictureboxes.

    Thanks!!
  5. Replies
    7
    Views
    15,016

    Re: Collision with a picturebox

    Thank you for your quick responses !!

    In my case the for loop wouldn't work.
    I was really desperate but now I've found a solution for my problem. I just have to add before each if statement (for...
  6. Replies
    7
    Views
    15,016

    Re: Collision with a picturebox

    Hi arrokai,

    I'm having the same problem with the collision detection between the two pictureboxes.
    I have +- the same code for removing the picturebox, but -as you said- the player still collides...
Results 1 to 6 of 6





Click Here to Expand Forum to Full Width

Featured