Latest Uploads
image-25-0 ... 26-04.jpeg

Jayenkai

Help_Fight ... rivacy.png

Jayenkai

Gameboy...Colour!!

rychan

Day 1 - Ga ... eboy Racer

rychan

Pain_Claim.png

Jayenkai

Monkey Maz ... pload test

Pakz

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 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
''New'' Spectrum
steve_ancell Thu 10:41
GfK's Father
steve_ancell Thu 10:34
NerdBlock
rockford Thu 08:44
AGameAWeek : 2016 - Part One
Jayenkai Wed 12:27
Comcast's TwitterFail
GfK Tue 10:29
HoboBen's Return
Jayenkai Tue 08:44
RIP : Some astrologer dude
rockford Tue 08:26
Windowblinds 10
rockford Tue 08:20
Leicester : The Underdog Wins
GfK Tue 05:35
RIP : Bob Hoskins
steve_ancell Tue 05:35
More

Latest Items
Showcase : No Plumbing Required
steve_ancell Mon 10:51
Blog : Feedback
Pakz Fri 14:05
Blog : Pixeljoint
Pakz Thu 14:08
Blog : Sprite editor getting better.
Pakz Thu 01:25
Showcase : 8-Bit Boulders
steve_ancell Wed 08:19
Blog : Testing out my Pixel editor
Pakz Wed 07:10
Dev-Diary : PS2 to N64 Adapter
Jayenkai Wed 03:07
Dev-Ideas : Pixel editor
Jayenkai Mon 23:40
Showcase : Geartography
Jayenkai Mon 02:55
Showcase : Blitzplus Pixeling Tool Project
Pakz Sun 21:36
Snippet : Sprite editor 16x16 10 colors
Jayenkai Sat 12:50
Showcase : Nags Heed Darts
Dabz Tue 11:05
News : Newsletter #259
Dabz Tue 02:20
Showcase : Farming Game
realtime Thu 18:53
News : Newsletter #258
Dabz Fri 12:59
More

Who's Online
Krakatomato
Thu, at 10:59
Dabz
Thu, at 10:56
GfK
Thu, at 10:55
steve_ancell
Thu, at 10:43
rockford
Thu, at 10:17
Jayenkai
Thu, at 10:11
shroom_monk
Thu, at 07:40
HoboBen
Thu, at 06:08
spinal
Thu, at 05:34
rychan
Thu, at 01:02
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.