Hi, I'm trying to make a basic player moving around and colliding with things. I used the bounding box collision that was on the wiki. It stops when it hits the box but theres sometimes a small gap of a few pixels between the player and the box. I've tried to make a loop that moves the player until it collides but that isn't working. Any help is appreciated, thanks!
EDIT: I ended up using bump.lua and its all working now
[Solved] Bounding box collision gaps
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- SpiritedDusty
- Prole
- Posts: 1
- Joined: Mon Nov 11, 2013 6:04 am
[Solved] Bounding box collision gaps
- Attachments
-
- collision_gaps.love
- (720 Bytes) Downloaded 81 times
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: [Solved] Bounding box collision gaps
I'm glad that bump worked out for you.
A word of warning: bump 2.0 is coming soon, and it will change lots of things.
When I write def I mean function.
Who is online
Users browsing this forum: Google [Bot] and 3 guests