Hello everyone, I would like to know if there is any way to create a like a 'parent object' which allows you to have children drawables objects and move them together. Like a Unity GameObject or Godot Nodes, witch allow to group multiple object and move together
Thanks!!
Search found 4 matches
- Fri Jan 03, 2020 11:46 pm
- Forum: Support and Development
- Topic: drawable groups
- Replies: 2
- Views: 2673
- Mon Apr 15, 2019 5:10 pm
- Forum: Support and Development
- Topic: A bump.lua question
- Replies: 4
- Views: 9772
Re: A bump.lua question
As I have already put in the post, I need to register the collisionmaxtrautwein 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 ?
But thanks for the response
- Mon Apr 15, 2019 5:09 pm
- Forum: Support and Development
- Topic: A bump.lua question
- Replies: 4
- Views: 9772
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'...
- Sun Apr 14, 2019 5:53 pm
- Forum: Support and Development
- Topic: A bump.lua question
- Replies: 4
- Views: 9772
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...