Search found 10 matches

by maxtrautwein
Wed May 01, 2019 6:13 pm
Forum: General
Topic: LÖVE 11.2 released!
Replies: 30
Views: 191650

Re: LÖVE 11.2 released!

I also have some issue with the 11.2 on mac OS 10.14.3 with the fps.. Where can i get back the 11.1 version ??
update : just done the 10.14.4 update and it works fine now, great.
by maxtrautwein
Sat Apr 27, 2019 11:53 pm
Forum: Support and Development
Topic: [bump.lua] detect a collision only between 2 items
Replies: 6
Views: 761

Re: [bump.lua] detect a collision only between 2 items

Ok now i understand! thank you very much for your time :))
by maxtrautwein
Sat Apr 27, 2019 11:07 pm
Forum: Support and Development
Topic: [bump.lua] detect a collision only between 2 items
Replies: 6
Views: 761

Re: [bump.lua] detect a collision only between 2 items

function camera.filter(item,other) if other.is3 then return "cross" end end function camera.update(dt) local filter = camera.filter(player,camera.rect[3]) player.x, player.y, cols, len = world:move(player,player.x,player.y,filter) for i = 1, len do if cols[i].other.is3 then print('player collide wi...
by maxtrautwein
Sat Apr 27, 2019 10:53 pm
Forum: Support and Development
Topic: [bump.lua] detect a collision only between 2 items
Replies: 6
Views: 761

Re: [bump.lua] detect a collision only between 2 items

I don't understand what I should return in the filter function, when i put "cross" it raises an error
by maxtrautwein
Sat Apr 27, 2019 10:03 pm
Forum: Support and Development
Topic: [bump.lua] detect a collision only between 2 items
Replies: 6
Views: 761

[bump.lua] detect a collision only between 2 items

hi! Let's say I have 4 items in my world item1, item2, item3 and item4. I want to print "Collision between item1 and item2" only when item1 and item2 collide, and not when item1 and item3 collide for example, is there a way to check a specific collision between 2 items from the world with bump.lua??...
by maxtrautwein
Mon Apr 15, 2019 12:48 pm
Forum: Support and Development
Topic: [bump.lua] world:remove doesn't work
Replies: 6
Views: 6047

Re: [bump.lua] world:remove doesn't work

hoo ok now I understand, thank you very much it works perfectly! I
by maxtrautwein
Mon Apr 15, 2019 11:17 am
Forum: Support and Development
Topic: [bump.lua] world:remove doesn't work
Replies: 6
Views: 6047

Re: [bump.lua] world:remove doesn't work

Ho ok yes it works this time but with my other items it still doesn't work, here is an exemple of where I want to use world:remove, "tir" means bullet in french, these are some functions that create a bullet each time I press "space" and delete it when the bullet collide. local tirs = {liste={}} -- ...
by maxtrautwein
Mon Apr 15, 2019 10:18 am
Forum: Support and Development
Topic: A bump.lua question
Replies: 4
Views: 6116

Re: A bump.lua question

If you don't want your character to collide with the button maybe just don't add it with world:add ?
by maxtrautwein
Mon Apr 15, 2019 10:02 am
Forum: Support and Development
Topic: [bump.lua] world:remove doesn't work
Replies: 6
Views: 6047

Re: [bump.lua] world:remove doesn't work

First thank you for your answer. I have only this at the top of my code local red = {x=120, y=300, w=30, h=50, vx=0, vy=0, jump=false} But I don't understand why it doesn't work, I also tried this inside love.keypressed as a test and it still doesn't work : test = {x=0,y=0,w=10,h=10} if key == "c" t...
by maxtrautwein
Sun Apr 14, 2019 5:23 pm
Forum: Support and Development
Topic: [bump.lua] world:remove doesn't work
Replies: 6
Views: 6047

[bump.lua] world:remove doesn't work

Hi! I'm using the collision library bump.lua and everything works well except world:remove, I can't remove any items from my world and I have the following error message "item table must be added to the world before getting its rect. Use world:add." but i have already used world:add to add my player...