Search found 2 matches

by pandna
Fri May 03, 2024 6:09 am
Forum: Support and Development
Topic: fixture:setMask requiring two arguments
Replies: 6
Views: 2048

Re: fixture:setMask requiring two arguments

I'm not sure this is a VSCode bug, but more a result of how love2d has its definition. Any reason it's not just Fixture:setMask(mask1, ...)?
by pandna
Thu May 02, 2024 6:48 am
Forum: Support and Development
Topic: fixture:setMask requiring two arguments
Replies: 6
Views: 2048

fixture:setMask requiring two arguments

I have a fixture that I'd like to add a mask to, I'm using VSCode, and it looks like it's interpreting that the function requires two arguments. I don't have any runtime errors, and the wiki shows an example with 1 parameter. Anybody have info on how to fix this? Any reason the love2d has two params...