Search found 206 matches

by pekka
Sat Jan 09, 2010 6:40 pm
Forum: General
Topic: LOVEFEST 1/10
Replies: 20
Views: 4894

Re: LOVEFEST 1/10

I am thinking of taking part. Making or finding passable graphics in this short a time is kind of a challenge, but if I can manage that somehow, my idea itself is pretty clear already. And seems quite doable in a few evenings of hacking. We'll see what'll come out.
by pekka
Sat Jan 09, 2010 6:32 pm
Forum: Libraries and Tools
Topic: Physics demo with GetRestitution typo fix
Replies: 10
Views: 1908

Re: Physics demo with GetRestitution typo fix

Oh the silliness (of me). I had a code where I tested for getRestitution being nil and only assigning to it if it is nil. Thanks for pointing out I didn't include that bit in the code I posted. -- off the top of my head if mt.getRestitution == nil then mt.getRestitution = mt.getRestituion end I remo...
by pekka
Sat Jan 09, 2010 10:55 am
Forum: Libraries and Tools
Topic: Physics demo with GetRestitution typo fix
Replies: 10
Views: 1908

Re: Physics demo with GetRestitution typo fix

I could spam the boards with nonsense to make that work out. Seems like a good idea!! And by good here I mean bad, so I won't do it. Just to avoid any bad copyright mojo, I'll edit my postings above and put the code under the BSD License. In the future I'll be explicit about the copyrights whenever ...
by pekka
Sat Jan 09, 2010 10:32 am
Forum: Libraries and Tools
Topic: Physics demo with GetRestitution typo fix
Replies: 10
Views: 1908

Re: Physics demo with GetRestitution typo fix

I hereby grant the rights to use this code under the terms of the LPC License. This code is under the LPC License too. I have to ask: which community? Oh, right. Ahem. Well, if being a member of the LÖVE CLUB forum enables me to place my code under the LPC License with the community being the LÖVE ...
by pekka
Fri Jan 08, 2010 6:27 am
Forum: Libraries and Tools
Topic: Physics demo with GetRestitution typo fix
Replies: 10
Views: 1908

Re: Physics demo with GetRestitution typo fix

Well, I'll just leave this message here. It'll come up in a search if someone happens to run across that misspelled method name for real (not exactly likely I think). I decided to add a fps cap to the program (so it doesn't immediately run the batteries out on your laptops) and switched the order of...
by pekka
Thu Jan 07, 2010 9:03 pm
Forum: Libraries and Tools
Topic: Physics demo with GetRestitution typo fix
Replies: 10
Views: 1908

Physics demo with GetRestitution typo fix

I wrote a little physics demo that shows how to correct for the typo with Shape:getRestitution() method. Some versions of LÖVE have it as getRestituion instead, but you can just monkey with the metatables a bit and everything turns out right. If you don't fix this, you might get an error saying you ...