Latest Uploads
Duck Invaders

zzoom

Smaller Scar?

zzoom

Big Scar

Jayenkai

Swirly Thing

Jayenkai

Best Title

rychan

Spaceplosi ... nator 2086

rychan

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. -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 713|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
No Power!!
therevillsgames Thu 16:19
What Have You Done - Sept 2016
Cower Thu 12:11
Crystal Maze Returns
Jayenkai Thu 11:37
Jay Gets XBoned...
rockford Thu 11:30
WW - #248 - The Duck Challenge
zzoom Thu 09:58
Kuron vs His Parents?
Kuron Thu 02:44
GoPro Hero 4 Silver vs Nikon KeyMission 170
Kuron Thu 01:55
WW - #249 - The Symmetrical Challenge
rychan Thu 00:39
The New Fiver
Jayenkai Wed 15:02
More

Latest Items
Dev-Diary : 1st Ever Wed Workshop Progress
Jayenkai Thu 10:13
Dev-Diary : Intellivision Controller Adapter
spinal Sun 11:33
Snippet : Contour Map from Data
HoboBen Fri 18:14
Snippet : FPS Control (WASD+Mouse)
Pakz Wed 22:30
Article : Concurrency in C#
Afr0 Sun 12:28
Snippet : Mandelbrot in BMax
Jayenkai Sun 03:37
News : Newsletter #281
HoboBen Fri 04:18
News : Newsletter #280
Jayenkai Sat 05:10
Blog : Monkey-X Box2D: Learning from my perspective... Hopefully!
steve_ancell Sun 14:49
Snippet : JNKrunch v1.0
spinal Sun 12:02
Snippet : Dungeon/Cave Generator - Simple
Pakz Wed 15:05
Snippet : Platform Sprite Generator
Jayenkai Tue 15:22
Snippet : Code Creates Crates
HoboBen Tue 07:02
Snippet : Texture - Leafy camouflage
HoboBen Tue 07:00
Snippet : Texture - Stone 3
Pakz Mon 09:55
More

Who's Online
Kuron
Thu, at 17:17
9572AD
Thu, at 16:49
therevillsgames
Thu, at 16:25
Cower
Thu, at 16:17
GfK
Thu, at 15:49
LineOf7s
Thu, at 14:22
Jayenkai
Thu, at 14:06
zzoom
Thu, at 13:06
spinal
Thu, at 12:11
rockford
Thu, at 11:46
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.