Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Collision Detection



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Visual Basic Forum
View previous topic :: View next topic  
Author Message
theLustFull



Joined: 20 Nov 2006
Posts: 5

PostPosted: Mon Nov 20, 2006 11:16 pm    Post subject: Collision Detection Reply with quote

Hello i'm new here, been learning VB.NET for a few months starting with simple applications i have started a game (a breakout clone)have managed to complete everything bar the collision detection the game uses two draw metheds one for the ball and other for the bat,

Drawlline(bat, x1,y1,x2,y2)
DrawEllipse(ball, bx,by,b_width,b_height)

i have declared all varibles as intergars
everything else works from movement to the blocks appearing

please could someone explain to me how to work out the collision detection between two drawn objects (i would have used a picturebox and used the left, right, bottom, top properties, but we are only permitted to use drawn objects )

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Visual Basic Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap