Physics Issues

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Physics Issues

Post 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.)
Kurosuke needs beta testers
User avatar
Refpeuk
Citizen
Posts: 91
Joined: Wed Dec 14, 2011 6:16 pm

Re: Physics Issues

Post 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!
Attachments
platformer.love
(22.9 KiB) Downloaded 56 times
It was the best of times, it was the worst of times . . .
User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: Physics Issues

Post 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.
User avatar
Refpeuk
Citizen
Posts: 91
Joined: Wed Dec 14, 2011 6:16 pm

Re: Physics Issues

Post 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
It was the best of times, it was the worst of times . . .
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Physics Issues

Post by MarekkPie »

A .love file is just a fancy name for .zip. Just use your favorite unzipper to extract.

EDIT: Whoops. Misunderstood.
Last edited by MarekkPie on Fri Jan 20, 2012 4:46 pm, edited 1 time in total.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Physics Issues

Post 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.
Kurosuke needs beta testers
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Physics Issues

Post 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...
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Refpeuk
Citizen
Posts: 91
Joined: Wed Dec 14, 2011 6:16 pm

Re: Physics Issues

Post 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 . . .
It was the best of times, it was the worst of times . . .
User avatar
MarekkPie
Inner party member
Posts: 587
Joined: Wed Dec 28, 2011 4:48 pm
Contact:

Re: Physics Issues

Post 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).
User avatar
Ellohir
Party member
Posts: 235
Joined: Sat Oct 22, 2011 11:12 pm

Re: Physics Issues

Post by Ellohir »

I have an Nvidia Geforce 4 MX (old and low-cost card) and it works for me.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 12 guests