What does maurice use for collision detection iin his games?

Feel free to showcase your own projects!
Post Reply
User avatar
rokit
Posts: 2095
Joined: 03 Feb 2012, 00:47

Post » 24 Feb 2012, 23:47

Title says. BTW, I use BoundingBox.lua .

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 24 Feb 2012, 23:53

My own.

http://pastebin.com/Lqyj8q5S

Took out the portal parts.

Demo: (Sort of outdated)
http://dl.dropbox.com/u/17466990/physics.love
Control with arrow keys, drag boxes with mouse (from topleft to bottomright only)

Camewel
Posts: 2996
Joined: 02 Feb 2012, 21:32

Post » 24 Feb 2012, 23:57

Some day I'm going to come up with something smart like that instead of the messy way I do it now. I'll be staring into the soul of this code for a bit.

User avatar
rokit
Posts: 2095
Joined: 03 Feb 2012, 00:47

Post » 25 Feb 2012, 01:28

Holy shit. Thanks.

User avatar
Qcode
Posts: 1479
Joined: 05 Feb 2012, 18:00
Contact:

Post » 25 Feb 2012, 01:36

...
Last edited by Qcode on 21 Oct 2021, 07:46, edited 2 times in total.

Camewel
Posts: 2996
Joined: 02 Feb 2012, 21:32

Post » 22 Mar 2012, 22:28

Okay, I'm working on a collision engine, but there's something I'm not getting. How are you making it only check collidable tiles? I know you set a variable up on a individual tile basis for self.collision, but I can't see where, if anywhere, you use this data in the collision checking process. Is there something obvious I'm missing?

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 23 Mar 2012, 09:39

I'm not creating objects for not collidable tiles.

User avatar
marrio33
Posts: 8
Joined: 21 Sep 2012, 15:09

Post » 24 Sep 2012, 13:32

Maurice, I downloaded and then 404 why Maurice?

User avatar
BobTheLawyer
Posts: 2232
Joined: 01 May 2012, 21:00

Post » 26 Sep 2012, 14:51

Maurice,
Can you please reupload physics.love?

Maurice
Stabyourself.net
Posts: 2145
Joined: 01 Feb 2012, 20:19

Post » 27 Sep 2012, 18:42

It's in Mari0.

User avatar
BobTheLawyer
Posts: 2232
Joined: 01 May 2012, 21:00

Post » 29 Sep 2012, 15:04

The demo? Where?

User avatar
renhoek
Posts: 4545
Joined: 11 Feb 2012, 10:04

Post » 29 Sep 2012, 15:09

BobTheLawyer wrote:The demo? Where?
I think he means the collision coding not the demo.

User avatar
frezhanez
Posts: 1
Joined: 28 Dec 2012, 06:55

Post » 28 Dec 2012, 12:02

Maurice wrote:My own.

http://pastebin.com/Lqyj8q5S

Took out the portal parts.

Demo: (Sort of outdated)
http://dl.dropbox.com/u/17466990/physics.love
Control with arrow keys, drag boxes with mouse (from topleft to bottomright only)

Thanks dude!! I've been looking for this, I already download it.

User avatar
TheJonyMyster
Posts: 1795
Joined: 03 Sep 2012, 05:12
Contact:

Post » 30 Dec 2012, 04:00

frezhanez wrote:
Maurice wrote:My own.

http://pastebin.com/Lqyj8q5S

Took out the portal parts.

Demo: (Sort of outdated)
http://dl.dropbox.com/u/17466990/physics.love
Control with arrow keys, drag boxes with mouse (from topleft to bottomright only)

Thanks dude!! I've been looking for this, I already download it.
Welcome to the forums! Hope you enjoy your time here! (I hope he/she reads this)

Camewel
Posts: 2996
Joined: 02 Feb 2012, 21:32

Post » 30 Dec 2012, 05:42

Turning people's first topic into a welcome thread for them is such a pointless idea as it only derails the thread and it's unlikely they'll revisit the thread anyway.
Of course this message also derails the thread but you've done this a few times so I felt I should say something. Also, you'll be coming back to this topic.

User avatar
TheJonyMyster
Posts: 1795
Joined: 03 Sep 2012, 05:12
Contact:

Post » 30 Dec 2012, 07:38

Camewel wrote:Turning people's first topic into a welcome thread for them is such a pointless idea as it only derails the thread and it's unlikely they'll revisit the thread anyway.
Of course this message also derails the thread but you've done this a few times so I felt I should say something. Also, you'll be coming back to this topic.
How'd you know? Alright, thx for the info.

Post Reply