Latest Uploads
Merry Christmas

Jayenkai

Invasion V ... tup screen

rychan

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

Jayenkai

PixeLink - ... oween 2014

rockford

PixeLink P ... zle Editor

rockford

PixeLink

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
iOS dev on Windows.
steve_ancell Thu 14:33
Foodless
rychan Thu 13:52
Advent Calendars 2014
rockford Thu 13:22
Cold Neck = Sore Neck
rockford Thu 11:30
Festive Pics
Jayenkai Thu 10:09
OUYA Download Stats
rychan Thu 09:40
Drip Drip Drip
zzoom Wed 15:37
Jay's New Lumia 1020
Jayenkai Wed 04:14
PlayMyTunes
9572AD Wed 02:17
Sydney : Lindt
rockford Wed 01:40
More

Latest Items
Showcase : GPS Fun Runner 3D
zzoom Wed 15:35
Showcase : Santa's Workout 2
Jayenkai Wed 08:10
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
News : Newsletter #241
steve_ancell Thu 20:46
Snippet : Monkey Framework - HTML Layout
steve_ancell Thu 08:35
Woot : Update on hand issues
rychan Fri 10:00
News : Newsletter #240
steve_ancell Fri 05:29
:
Wed 17:00
More

Who's Online
rockford
Thu, at 15:49
Jayenkai
Thu, at 15:44
rychan
Thu, at 15:33
spinal
Thu, at 14:44
steve_ancell
Thu, at 14:33
HoboBen
Thu, at 13:48
shroom_monk
Thu, at 11:18
Krakatomato
Thu, at 08:18
Afr0
Thu, at 05:46
9572AD
Wed, at 23:47
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.