Page 2 of 5

Re: Physics Issues

Posted: Thu Jan 19, 2012 4:41 pm
by tentus
Refpeuk wrote: PS: What's PO2, Ellohir?
PO2_Syndrome is where a graphic is not a Power Of 2 and some video cards can't render it properly. 0.8.0 is going to add a fix to this problem, where images will get padded up to a power of 2 (so if you have a 50 pixel by 100 pixel image, it will become 64 pixel by 128 pixel.)

Re: Physics Issues

Posted: Thu Jan 19, 2012 8:08 pm
by Refpeuk
OK, I have a new build with the only thing I could think of fixed; the floor now doesn't extend into the negative in regards to the world. If you have time please try it. (I also fixed a jump freeze bug)

Thanks!

Re: Physics Issues

Posted: Fri Jan 20, 2012 4:27 pm
by Ellohir
I think it works better now, I had a few freezes before. Going up between two walls it's really easy, that's really cool. I'd say this is an excelent start for a game.

Re: Physics Issues

Posted: Fri Jan 20, 2012 4:37 pm
by Refpeuk
Sorry to hear about the freezes; hopefully that'll be ironed out when I update it to 0.8 with all it's new physics. I'd do that right now except I don't know how.

PS: Anyone know a tutorial or resource showing how to open/read/write a file outside the .love file?

Thanks

Re: Physics Issues

Posted: Fri Jan 20, 2012 4:41 pm
by MarekkPie
A .love file is just a fancy name for .zip. Just use your favorite unzipper to extract.

EDIT: Whoops. Misunderstood.

Re: Physics Issues

Posted: Fri Jan 20, 2012 4:41 pm
by tentus
Refpeuk wrote:Anyone know a tutorial or resource showing how to open/read/write a file outside the .love file?
I don't have a tutorial link, but the place to start is love.filesystem.load and love.filesystem.newFile. Each of those pages have examples to help you out.

Re: Physics Issues

Posted: Fri Jan 20, 2012 6:49 pm
by Nixola
MarekkPie wrote:I can't even get it to load. When I run it from the terminal I get this:

Code: Select all

[redacted]:~/Downloads/LOVE$ love platformer/
love: modules/physics/box2d/Source/Collision/Shapes/b2PolygonShape.cpp:225: b2PolygonShape::b2PolygonShape(const b2ShapeDef*): Assertion `d.y >= 0.0f' failed.
Aborted
[redacted]:~/Downloads/LOVE$ 
Again...

Re: Physics Issues

Posted: Fri Jan 20, 2012 8:27 pm
by Refpeuk
Sorry, I don't know why it loads for some people and not others. Anyone have any ideas? I have an AMD graphics card and everything works fine; can you let me know which brand your running and whether it works or not? I read somewhere about one of the majors being more sensitive to a certain thing than others, I wish I could find that again . . .

Re: Physics Issues

Posted: Fri Jan 20, 2012 8:35 pm
by MarekkPie
Just tried it on my netbook, and it gave me the same error (along with another error, but that comes up every time I load a love with the audio module on this computer).

Re: Physics Issues

Posted: Fri Jan 20, 2012 9:25 pm
by Ellohir
I have an Nvidia Geforce 4 MX (old and low-cost card) and it works for me.