Search found 3 matches

by uSources
Mon Apr 15, 2019 5:10 pm
Forum: Support and Development
Topic: A bump.lua question
Replies: 4
Views: 6246

Re: A bump.lua question

maxtrautwein wrote:
Mon Apr 15, 2019 10:18 am
If you don't want your character to collide with the button maybe just don't add it with world:add ?
As I have already put in the post, I need to register the collision

But thanks for the response :awesome:
by uSources
Mon Apr 15, 2019 5:09 pm
Forum: Support and Development
Topic: A bump.lua question
Replies: 4
Views: 6246

Re: A bump.lua question

You need to define a filter for your character and use it in conjuction with world:move(). Consider the example filter from the github page: local playerFilter = function(item, other) if other.isCoin then return 'cross' elseif other.isWall then return 'slide' elseif other.isExit then return 'touch'...
by uSources
Sun Apr 14, 2019 5:53 pm
Forum: Support and Development
Topic: A bump.lua question
Replies: 4
Views: 6246

A bump.lua question

Hi everyone! I recently started studying Love2D, to create small personal projects. For the physics library I used the kikito´s library called bump.lua I have created a small stage which has a character, a wall and a button. I would like to make the character collide with the wall. But pass over the...