Search found 8 matches

by jpnk
Sat Jun 08, 2013 8:39 pm
Forum: Support and Development
Topic: Lua 5.2 in LÖVE 0.9.0
Replies: 9
Views: 2942

Re: Lua 5.2 in LÖVE 0.9.0

slime wrote:if LuaJIT is built with "-DLUAJIT_ENABLE_LUA52COMPAT" then you get the __len metamethod on tables as well.
that should work for me. thanks a lot.
by jpnk
Sat Jun 08, 2013 6:39 pm
Forum: Support and Development
Topic: Lua 5.2 in LÖVE 0.9.0
Replies: 9
Views: 2942

Re: Lua 5.2 in LÖVE 0.9.0

What's the bug? Maybe it's fixed in LuaJIT as well. '__len' metamethod isn't invoked on tables. so '#some_table' always returns the actual length of some_table and the metatable isn't checked. The only notewhile feature we receive in lua5.2 is the _ENV table, which is cool and all, but we get along...
by jpnk
Sat Jun 08, 2013 5:13 am
Forum: Support and Development
Topic: Lua 5.2 in LÖVE 0.9.0
Replies: 9
Views: 2942

Re: Lua 5.2 in LÖVE 0.9.0

thanks. i just bumped into an annoying bug that is fixed in 5.2. *sigh*
by jpnk
Sat Jun 08, 2013 4:50 am
Forum: Support and Development
Topic: Lua 5.2 in LÖVE 0.9.0
Replies: 9
Views: 2942

Lua 5.2 in LÖVE 0.9.0

any chance to see that happen?
by jpnk
Thu Dec 27, 2012 5:06 pm
Forum: Support and Development
Topic: Full-standalone Linux binaries. Virtually possible?
Replies: 8
Views: 3272

Re: Full-standalone Linux binaries. Virtually possible?

as a linux user i prefer either .love or .deb/.rpm/whatever. chances that a binary downloaded from the web will run on your computer without problems are generally quite small.

has anyone here ever used https://build.opensuse.org/ ?
by jpnk
Wed Dec 26, 2012 8:41 pm
Forum: Support and Development
Topic: Collisions not working correctly
Replies: 4
Views: 615

Re: Collisions not working correctly

so the problem was caused by friction. turns out every fixture has non-zero friction upon creation. so i called setFriction(0) on every fixture and the problem disappeared. now the ball is bouncing correctly. - How can I stop the player and the computer to not collide with the walls? (isn't the box2...
by jpnk
Mon Dec 24, 2012 7:30 pm
Forum: Support and Development
Topic: Collisions not working correctly
Replies: 4
Views: 615

Re: Collisions not working correctly

you made a few typos when creating fixures. you also made the player and computer dynamic bodies - you don't want them to be pushed by the ball so they need to be static. i've corrected those issues but it still doens't work well. i've changed love.draw() to any make sure all the shapes are displaye...
by jpnk
Mon Dec 24, 2012 6:28 pm
Forum: Support and Development
Topic: A huge issue with collision
Replies: 1
Views: 425

Re: A huge issue with collision

here's a short checklist for you: 1. check if you use METER correctly 2. check if you use world:setMeter() correctly (if you use it at all) 3. check the dimensions of your world 4. check if you update the world correctly 5. try to visualize all your shapes you don't need to use world:setCallbacks() ...