Latest Uploads
Kuron Cap Get!

rychan

Merry Christmas

Jayenkai

Invasion V ... tup screen

rychan

image-07-1 ... -20-59.jpg

Jayenkai

PixeLink - ... oween 2014

rockford

PixeLink P ... zle Editor

rockford

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
Daily Doodles
Kuron Sun 05:36
Favourite Consoles
Dabz Sun 00:36
Think before you Smurf!
steve_ancell Sat 17:29
AGameAWeek : Year 7 : Part One
Jayenkai Sat 15:58
Happy Birthday JamardaDigital
Kuron Sat 11:35
Penguin Party
rychan Fri 16:43
Watch Picking
rockford Fri 16:40
Cleanup on Aisle 404
Kuron Thu 13:23
My continued bad luck...
Jayenkai Wed 13:27
The Show WILL Go On
rockford Wed 13:00
More

Latest Items
Showcase : Flappy New Year
rychan Wed 02:49
Snippet : Simple stack-based interpreter
tbohon Wed 12:08
Link : Protolol
Afr0 Tue 10:53
Showcase : Santa's Workout 2
jayparker Tue 00:43
Dev-Diary : Stripping it All Away
Jayenkai Mon 01:57
News : Newsletter #245
rychan Fri 06:36
Showcase : GPS Fun Runner 3D
zzoom Wed 15:35
Showcase : The Biggest Snowman
rychan Mon 01:06
News : Newsletter #243
Dabz Thu 03:29
Dev-Diary : Scaling Back
rychan Wed 14:33
Showcase : Alpha Collexion
rychan Wed 06:23
Life : Health Update
rockford Thu 12:41
Blog : Powerball Hack
steve_ancell Tue 18:47
Hols : Advent Calendars
rychan Wed 04:56
Life : MIA until better
Jayenkai Mon 07:03
More

Who's Online
spinal
Sun, at 06:58
Jayenkai
Sun, at 06:52
Kuron
Sun, at 06:47
shroom_monk
Sun, at 04:25
rychan
Sun, at 02:27
steve_ancell
Sun, at 01:22
Dabz
Sun, at 00:36
HoboBen
Sun, at 00:23
JamardaDigital
Sat, at 17:20
Afr0
Sat, at 15:24
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.