Search found 2 matches

by reydefuego
Sun Oct 26, 2014 3:29 am
Forum: Support and Development
Topic: Class structure using hardonCollider
Replies: 3
Views: 3592

Re: Class structure using hardonCollider

I figured it out now, thanks bartbes. so it's either implementing AABB and collision method on custome obejcts OR mannually add a reference field to the shape after it has been added to the collider... I am wondering if there is any alternative way to handle this more elegantly? What I did was check...
by reydefuego
Sat Oct 25, 2014 7:35 am
Forum: Support and Development
Topic: Class structure using hardonCollider
Replies: 3
Views: 3592

Class structure using hardonCollider

I started on my first project with Love2d and lua, and for the collision detection I started by implementing it on my own but I decided to use hardoncollider instead. My question is right now I have three classes Sprite, Unit, Player: That's the hierarchy of the classes Sprite->Unit->Player and, jud...