Newbie having trouble with collision detection for class project.
Hi, I'm a complete newbie to programming and I'm taking a few classes on programming this semester. I'm working with .Net and I have to make a game for a project. I'm thinking of making a bullet-hell game of sorts.
My main setback is how to detect collision with controls. I've seen tutorials saying to check "Me.(control).Bounds.IntersectsWith()" but there is no bounds property for my controls. I've tried using SetBounds but that does nothing, unless I'm somehow doing it wrong. Other methods I've seen seem to work but I can't figure out how to implement them for each and every bullet shot an follow the location (such as using a "Rectangle.IntersectsWith(Rectangle2)"
Any help or hints would be appreciated, please and thank you!
0 comments:
Post a Comment