PDA

View Full Version : Updated [2006-07-12] - Lua Box Collision Snippet



yaustar
July 9th, 2006, 00:26
Note to news posters
I do not permit this Lua code snippet to be placed on ANY news page unless it is posted with the following quote:

This is just a small code snippet for Lua beginners/developers. This is not a release, game or application. Do not treat it as such.

2006-07-12
Pixel perfect collision now added

Warning: CPU expensive.

2006-07-08
Here is a code snippet to do box collision tests in Lua.

Todo: Worms like destructable terrain?

http://i2.tinypic.com/1zqv6kp.png

dtothabreezy
July 9th, 2006, 18:23
Thanks yaustar

MasterChafed
July 11th, 2006, 06:49
this should come in handy to many

The Hombrew Hunter
July 11th, 2006, 06:59
Woo, cool. I need a mass Lua code list to try to make that Donkey Kong clone in DS Lua...

Though this box collision might be better later once I begin coding...

Gizmo356
July 11th, 2006, 07:03
awesome

yaustar
July 12th, 2006, 19:53
Update with pixel perfect collision

MasterChafed
July 12th, 2006, 20:12
noice, thx a lot yaustar.