Latest Uploads
Invasion V ... prototype

rychan

Invasion V ... Prototype

rychan

Shields 64x64

Pakz

Ffs_Spam

Jayenkai

Hives Screen shot

rychan

Rpg Potion Sprites

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 684|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Favourite Amstrad CPC Games
Jayenkai Sun 12:04
RIP - Gregg Allman
rockford Sun 10:33
CSS-Me-Do - SoCoder2
Jayenkai Sun 05:31
TheRevillsNewPC
rychan Sun 04:11
AGameAWeek : 2017 - Part One
Jayenkai Sun 03:17
Inside Donald Trump
rockford Sat 12:09
Any Feature Requests?
Jayenkai Sat 09:36
More Monkey Madness - With Ducks
rockford Sat 05:13
Arms on Switch
rockford Sat 05:02
Time for a new Android Test Doohickey
Jayenkai Fri 09:26
More

Latest Items
Showcase : Hives
zzoom Fri 16:10
Dev-Diary : My Journey into NES Development
rychan Thu 12:31
Showcase : Flappadiddle
Jayenkai Sun 14:39
Snippet : QFind
Jayenkai Sun 13:02
Showcase : Tiny Blocks
Jayenkai Sun 04:08
Showcase : Read Error A
rychan Fri 05:13
Blog : All my makes!
Jayenkai Tue 05:48
Showcase : Infinitron
rychan Mon 18:03
Showcase : Quadoban
rskgames Fri 10:11
Blog : My Arduino experience.
steve_ancell Wed 17:02
Showcase : Roguelike Explorer
Pakz Fri 06:59
News : Newsletter #311
Jayenkai Thu 17:27
Link : Super Shapes Exploration Kit
Andy_A Thu 11:09
Dev-Diary : Sensitive - Arduboy!
rychan Thu 17:27
Snippet : Skylines
steve_ancell Tue 14:25
More

Who's Online
Jayenkai
Sun, at 12:14
shroom_monk
Sun, at 11:29
rockford
Sun, at 10:42
rskgames
Sun, at 10:11
spinal
Sun, at 09:55
rychan
Sun, at 09:44
Socoder
Sun, at 07:51
9572AD
Sun, at 06:52
Pakz
Sun, at 02:14
therevillsgames
Sat, at 23:27
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.