Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 2D Collisions Module :)

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
game_maker Posted - Jul 08 2004 : 08:22:24 AM
Hi

I wrote a simple 2d Collision Module ,It contains :

  
'// Functions :-
'// 01 - Collision_CircleCircle
'// 02 - Collision_CircleCircleEx
'// 03 - Collision_PointCircle
'// 04 - Collision_PointCircleEx
'// 05 - Collision_RectRect
'// 06 - Collision_RectRectEx
'// 07 - Collision_PointTriangle
'// 08 - Collision_PointTriangleEx
'// 09 - Collision_CircleTriangle
'// 10 - Collision_LineCircle
  


I hope you find it useful


Download Attachment: Colls.zip
3.59 KB

regrads ,,, yazeed
9   L A T E S T    R E P L I E S    (Newest First)
VBBR Posted - Jul 19 2004 : 07:09:07 AM
Oh yeah. I just love the M$ beta programs.

I got VS.NET 2002 Beta 1, learned it, and when the final version launched, everything was different, including the stupid framework.
cbx Posted - Jul 18 2004 : 9:43:36 PM
quote:
Originally posted by VBBR

... VB.NET 2005?


Yep! Check it out. Free software. Err Um,.. Betaware

http://lab.msdn.microsoft.com/express/vbasic/default.aspx
VBBR Posted - Jul 18 2004 : 8:39:24 PM
... VB.NET 2005?
cbx Posted - Jul 18 2004 : 8:19:15 PM
quote:
Originally posted by game_maker

Hi

I wrote a simple 2d Collision Module ,It contains :
...
regrads ,,, yazeed



I have converted the test projects into a vb.net 2005 solution. But the code files can still be copied over to vb.net 2002 if needed. It is a direct conversion to vb.net code, the only thing I changed/removed was the 'Upgrade tags that the vb6 to vb.net upgrade wizard inserts into the code. I also re-worked the graphics code to use .net based graphics. Other then that it's basically the same code.



Download Attachment: Collision.zip
67.37 KB
game_maker Posted - Jul 18 2004 : 2:23:31 PM
I think it's better to keep it in the files section

Sorry for confusion
Eric Coleman Posted - Jul 18 2004 : 11:46:24 AM
Do you want me to put it in the files section or just leave it here in this post?
VBBR Posted - Jul 18 2004 : 09:28:02 AM
See, I think this line-circle check is going to save my collision-checking life... This was the only thing I needed to create my great-all-purpose-collisions-with-sliding-module.

Actually, sliding is so easy to do, I dunno why I didn't figure it out earlier. Let me just arrange averything here and I should post the code.
game_maker Posted - Jul 18 2004 : 08:42:58 AM
Maybe

here is 5 examples to show you how to perform tests using the module

Download Attachment: Colls.zip
11.57 KB

regards
Lachlan87 Posted - Jul 08 2004 : 5:04:04 PM
Maybe Eric or Peter could put it under the Files section?

VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.