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.)Refpeuk wrote: PS: What's PO2, Ellohir?
Physics Issues
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Physics Issues
Kurosuke needs beta testers
Re: Physics Issues
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!
Thanks!
- Attachments
-
- platformer.love
- (22.9 KiB) Downloaded 56 times
It was the best of times, it was the worst of times . . .
Re: Physics Issues
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
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
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 . . .
Re: Physics Issues
A .love file is just a fancy name for .zip. Just use your favorite unzipper to extract.
EDIT: Whoops. Misunderstood.
EDIT: Whoops. Misunderstood.
Last edited by MarekkPie on Fri Jan 20, 2012 4:46 pm, edited 1 time in total.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Physics Issues
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.Refpeuk wrote:Anyone know a tutorial or resource showing how to open/read/write a file outside the .love file?
Kurosuke needs beta testers
Re: Physics Issues
Again...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$
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: Physics Issues
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 . . .
Re: Physics Issues
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
I have an Nvidia Geforce 4 MX (old and low-cost card) and it works for me.
Who is online
Users browsing this forum: Bing [Bot] and 12 guests