That leaves the question: why does this happen in 0.6.0, but not in 0.5.0?bartbes wrote:Ah, so it wasn't the netbook I ran it on this afternoon. I can confirm it DID work on windows vista.
But since it apparently happens to windows 7 too, I think this might be a driver problem. So it's either the windows default driver, or it's the hardware that's crappy
0.6.0 Update
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
Help us help you: attach a .love.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
Did we switch a lib? I don't know? I hereby summon rude.
Re: 0.6.0 Update
This is probably because LÖVE 0.6.0 no longer auto-pads images to a power-of-two-sized texture.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
So the problem is crappy videocards/drivers who can't handle images which are not power-of-2-sized?
Re: 0.6.0 Update
Yes. But LÖVE will still work as long as you use power-of-two textures, of course. I'm sorry if this decision disappoints someone, but I think hiding the true nature of a texture is a really bad idea.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
So we have to change the size of textures manually if we want it to work with crappy drivers?rude wrote:Yes. But LÖVE will still work as long as you use power-of-two textures, of course. I'm sorry if this decision disappoints someone, but I think hiding the true nature of a texture is a really bad idea.
Help us help you: attach a .love.
Re: 0.6.0 Update
Yes. The plan is also to add a function to ImageData:
That may change the width/height of the image, so you don't want to divide getWidth/getHeight by 2 to get the center of the image, for instance.
Code: Select all
imgd = love.image.newImageData("evil.png")
imgd:padPowerTwo()
image = love.graphics.newImage(imdg)
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: 0.6.0 Update
Cool. But I hope padPowerTwo will return self, so we can do:rude wrote:Yes. The plan is also to add a function to ImageData:
That may change the width/height of the image, so you don't want to divide getWidth/getHeight by 2 to get the center of the image, for instance.Code: Select all
imgd = love.image.newImageData("evil.png") imgd:padPowerTwo() image = love.graphics.newImage(imdg)
Code: Select all
image = love.graphics.newImage(love.image.newImageData("evil.png"):padPowerTwo())
Code: Select all
image = love.graphics.newImage("evil.png", "padPowerTwo") --or something, you get the idea
Help us help you: attach a .love.
Re: 0.6.0 Update
I dont think its that big of a deal, course I have been used to power's of 2 images for a long time and its usually a fluke if one i use is not
- qubodup
- Inner party member
- Posts: 775
- Joined: Sat Jun 21, 2008 9:21 pm
- Location: Berlin, Germany
- Contact:
Re: 0.6.0 Update
Code: Select all
love.cpp:22:27: error: common/config.h: No such file or directory
love.cpp:23:28: error: common/version.h: No such file or directory
love.cpp:24:28: error: common/runtime.h: No such file or directory
love.cpp:25:31: error: common/MemoryData.h: No such file or directory
love.cpp:79: error: expected constructor, destructor, or type conversion before ‘int’
make[3]: *** [love.o] Error 1
make[3]: Leaving directory `/home/qubodup/love-20090906-9e20498a4252/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/qubodup/love-20090906-9e20498a4252/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/qubodup/love-20090906-9e20498a4252'
make: *** [all] Error 2
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
Who is online
Users browsing this forum: Ahrefs [Bot] and 4 guests