Latest Uploads
Bumble Bee

dna

Tires

dna

Guess The Remake

rychan

Julia Set Visualer

Andy_A

Julia Set Visualizer

Andy_A

image-07-0 ... -34-29.jpg

Jayenkai

Code Snippets > Collisions and Physics ( Created 06 March 2009 | Last Edited 06 March 2009)

Box/Circle collisions by Jayenkai | No Votes
Really really simple bog standard collisions..
Written in
Blitz
-->

Just your basic bog standard collision stuff.
Box vs Box = Abs(x) and Abs(y) checks.
Circle vs Circle = Sqr((x*x)+(y*y)) check. (Pythagoras)

Probably useful for folk!

There are no comments for this entry.
Latest Posts
They Are Everywhere Gameplay Video at 2x Speed!
rockford Thu 23:51
What have you done? - July 2014
rychan Thu 11:32
Dig out the VCR!!
steve_ancell Thu 04:57
Google : LanguageName KnownCommand
dna Wed 13:26
Jay's New Lumia 1020
Jayenkai Mon 23:47
AGameAWeek Progress Report
Jayenkai Mon 14:49
Mog's Village
Jayenkai Mon 02:06
Ants?
steve_ancell Sat 13:22
Free SIMS 2
Afr0 Sat 11:15
More

Latest Items
Techy : Back from Game Dev Con!
Jayenkai Sun 15:52
Family : Sunday
Jayenkai Wed 02:31
Family : Good News (for once)
Kuron Tue 14:37
Showcase : Don't Tap The Zombies
therevillsgames Mon 15:26
Showcase : Mutant Monty
steve_ancell Wed 18:26
Blog : Update
Kuron Mon 12:52
Techy : New Laptop!?
Kuron Fri 14:52
Showcase : Ascension 2 Live Wallpaper
CodersRule Fri 12:48
Showcase : Saviors of Gundthor
CodersRule Fri 11:50
Showcase : Lava Monkey
rychan Tue 15:13
Blog : Mac Rant!
rockford Fri 13:48
Dev-Diary : Yup, another song
Kuron Wed 05:39
Pets : Old pic to share...
rockford Sat 16:01
Blog : EmuMenu
spinal Sat 10:07
Family : More bad news :c(
Kuron Mon 06:07
More

Who's Online
steve_ancell
Fri, at 00:32
rockford
Fri, at 00:14
rychan
Thu, at 23:12
9572AD
Thu, at 22:40
HoboBen
Thu, at 22:02
Mog
Thu, at 21:17
dna
Thu, at 17:05
Jayenkai
Thu, at 16:48
therevillsgames
Thu, at 16:18
shroom_monk
Thu, at 15:21
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.