Search found 2 matches
- Tue Dec 25, 2018 6:49 pm
- Forum: Libraries and Tools
- Topic: [library] bump.lua v3.1.4 - Collision Detection
- Replies: 227
- Views: 124137
Re: [library] bump.lua v3.1.4 - Collision Detection
Darn, oh well. My current solution is to use queryRect on the area around the players feet, then use a simple pointInRect check to determine the actual tile the player is inside. From there I just use my slope code and it all seems to work.. https://youtu.be/Ca7IU6CBxCA Maybe I'll have a look at bum...
- Sun Dec 23, 2018 10:39 pm
- Forum: Libraries and Tools
- Topic: [library] bump.lua v3.1.4 - Collision Detection
- Replies: 227
- Views: 124137
Re: [library] bump.lua v3.1.4 - Collision Detection
Hi kikito, love your bump library but I'm having a wee issue when it comes to using queryPoint(). I have made the following code.. local bump = require('bump').newWorld(128) bump:add({gid = 1}, 0, 256, 128, 128) bump:add({gid = 2}, 128, 256, 128, 128) local x, y = 0, 257 for k = 1, 16 do local items...