Latest Uploads
image-15-0 ... -19-40.jpg

Jayenkai

image-15-0 ... -20-07.jpg

Jayenkai

Bumble Bee

dna

Tires

dna

Guess The Remake

rychan

Julia Set Visualer

Andy_A

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
Shoutbox Topic - 428
rockford Wed 06:48
''Unique''
spinal Wed 02:20
Legitimate Logo Services
spinal Tue 13:26
Coming soon, to a printer near you!
steve_ancell Tue 12:22
RIP : Douglas E Smith
steve_ancell Tue 12:16
Telly Picks
HoboBen Tue 09:38
Microbricks aka BingCraft aka XBlocks
spinal Tue 02:25
Preemptive Lock!
Jayenkai Mon 16:07
Who Hype 2014
rockford Mon 02:28
Batch Recolouring Images
rockford Sun 15:09
More

Latest Items
Blog : Bedroom 2.0
Kuron Wed 06:47
Blog : 20 Years Ago....
steve_ancell Mon 15:28
Life : Back Online
Kuron Tue 11:48
Showcase : Munky Blocks DX
Jayenkai Mon 07:06
Showcase : Little Nemo's Nightmare
Jayenkai Sat 04:14
News : Newsletter #234
rychan Fri 08:02
Showcase : Space Rocket Adventurers
HoboBen Thu 16:56
Blog : Health Update : August 2014
Jayenkai Sat 11:31
Techy : Back from Game Dev Con!
Jayenkai Sun 16:52
Family : Sunday
Jayenkai Wed 03:31
Family : Good News (for once)
Kuron Tue 15:37
Showcase : Don't Tap The Zombies
therevillsgames Mon 16:26
Showcase : Mutant Monty
steve_ancell Wed 19:26
Techy : New Laptop!?
Kuron Fri 15:52
Showcase : Ascension 2 Live Wallpaper
CodersRule Fri 13:48
More

Who's Online
spinal
Wed, at 07:18
HoboBen
Wed, at 07:09
rockford
Wed, at 06:48
Kuron
Wed, at 06:47
steve_ancell
Wed, at 06:41
rychan
Wed, at 06:36
Jayenkai
Wed, at 06:04
shroom_monk
Wed, at 01:32
Krakatomato
Wed, at 01:21
Afr0
Tue, at 23:51
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.