Skip to content
This repository has been archived by the owner on Sep 11, 2019. It is now read-only.

Add boundary box/circle around player #69

Open
nulltone opened this issue Jun 11, 2014 · 1 comment
Open

Add boundary box/circle around player #69

nulltone opened this issue Jun 11, 2014 · 1 comment

Comments

@nulltone
Copy link
Contributor

Need to add a boundary box/circle around player so it doesn't overlap with collidable tiles.

@cantsin
Copy link
Contributor

cantsin commented Oct 16, 2014

Maybe come up with a generic library/aabb.lua (axis aligned bounding box) file that we can use for moveable sprites? Ideally the aabb would fit the image as tightly as possible, and there would be functions to e.g., quickly determine if two aabbs overlap (the math is simple).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants