I'm not exactly sure, but for some reason it seems to miss the density value for the fixtures instead of falling back to the default values. Please clone again and tell me if it got fixed (what OS btw?)josefnpat wrote:The game doesn't run for me
edit: I cloned from your repo, and I get the same error.Code: Select all
seppi@seppi7:~/Downloads/love$ love --version LOVE 0.8.0 (Rubber Piggy) seppi@seppi7:~/Downloads/love$ love lsd.love Error: main.lua:284: bad argument #3 to 'newFixture' (number expected, got no value) stack traceback: [C]: in function 'newFixture' main.lua:284: in function 'addSensor' levels/level1.lua:4: in main chunk main.lua:153: in function 'load' [string "boot.lua"]:375: in function <[string "boot.lua"]:373> [C]: in function 'xpcall'
LSD - Little Sticky Destroyer [Crowdfunding started]
Re: LSD - Little Sticky Destroyer
Re: LSD - Little Sticky Destroyer
He uses linux - the problem with the mpg starts at the [C] which denotes that it is a problem with your operating system -- I'll try to fix this problem by converting the .mp3 to .ogg
Lua is not an acronym.
Re: LSD - Little Sticky Destroyer
That seems to be the problem for osa1, not for josefnpat. or am i wrong?qaisjp wrote:He uses linux - the problem with the mpg starts at the [C] which denotes that it is a problem with your operating system -- I'll try to fix this problem by converting the .mp3 to .ogg
Re: LSD - Little Sticky Destroyer
Paranoiax can you implement a map pack selector? I already implemented the directory structure and game support, all you need to do is currentPack = "packname"
they both use linux anyway (terminal output gives it away)paranoiax wrote:That seems to be the problem for osa1, not for josefnpat. or am i wrong?qaisjp wrote:He uses linux - the problem with the mpg starts at the [C] which denotes that it is a problem with your operating system -- I'll try to fix this problem by converting the .mp3 to .ogg
Lua is not an acronym.
Re: LSD - Little Sticky Destroyer
The [C] in the traceback means that the function was given to Lua as a C function, it was not written in Lua. It doesn't really tell you what the problem is.qaisjp wrote:the [C] which denotes that it is a problem with your operating system
Shallow indentations.
Re: LSD - Little Sticky Destroyer
I know what it means but I said it wrong, the [C] code of love tries to find the mp3 module for playing the .mp3, but love can't find it. The fact that there is no mp3 module is dependent on your operating system.Boolsheet wrote:The [C] in the traceback means that the function was given to Lua as a C function, it was not written in Lua. It doesn't really tell you what the problem is.qaisjp wrote:the [C] which denotes that it is a problem with your operating system
Lua is not an acronym.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: LSD - Little Sticky Destroyer
Except that josefnpat's error has nothing to do with mp3, but instead seems to indicate there was a bug in LÖVE 0.8.0 that didn't use a default value for the third argument of love.physics.newFixture.
Help us help you: attach a .love.
Re: LSD - Little Sticky Destroyer
Ah, Box2D error messages. Luckily, the assert is commented:
Hm, hm. Looks like my destruction-queue code didn't work out as planned after all. If my code really broke, then you should move your object destruction after the callbacks. You're actually not supposed to destroy stuff in plain Box2D during the callbacks. LÖVE throws them in a queue for convenience, but (it looks like) it's better if you just take care of that yourself. At least I think that is the problem.
Code: Select all
// You tried to remove a shape that is not attached to this body.
b2Assert(found);
Shallow indentations.
Re: LSD - Little Sticky Destroyer
Anyone wants to help make this super hard epic editor? ._.
Lua is not an acronym.
Who is online
Users browsing this forum: No registered users and 1 guest