Are there no minimal or maximal values?
I don't think so, but you don't want to go more than 5 or -5 or you'll break someone's eyesight.
Are there no minimal or maximal values?
Ooooh! I'm excited about this!
Two questions:
What values does the setDepth accept? I take it, the higher the value the "deeper" it is "in the screen"?
Any chance of getting ogg or mp3 support?
After trying to load a new background music file, after loading one already, I get the error "Could not allocate sound buffer". What's causing this? Not enough RAM? I've already tried to make all other loaded audio files nil but it doesn't do anything.
One more question: Does lovepotion benefit from the n3DS's more powerful hardware?
Not that I expect it to matter with 2d games.
Yes, LövePotion should perform better on n3DS.
love.graphics.draw - Partial
What exactly isn't working in love.graphics.draw at the minute?
I've just spent a long time trying to figure out why an image was behaving perfectly on my PC but not on my 3DS.
I wanted to scale the image to the screens size and rotate it 90 degrees. The rotation worked (though it seemed to not rotate from the top left like it does on PC, which is odd) but scaling wasn't working at all.
I may just be doing it wrong, but have those features been implemented?
Scaling and rotating at the same time aren't implemented yet and the function generally doesn't act as it should at times, I'm probably gonna rewrite it soon.
Well damn, wasted a good few hours on that then
Is there a more detailed list of what has been implemented currently?
At the moment, no, I'm constantly changing stuff so I've never had a chance to write up a proper list
love.graphics.draw(page.image, page.x, page.y, 0, page.sx, page.sy)
That's a shame, though you have a lot of the features covered already so not too big of a problem.
Just to make sure it's not an error on my part, I have this:
Code:love.graphics.draw(page.image, page.x, page.y, 0, page.sx, page.sy)
where page.sx and sy are both 0.25 and while on PC it scales fine, on 3DS (Citra and via HB Launcher) I don't see a change at all.
I don't think I am missing anything am I? Is there a way to scale images that currently works in LovePotion or am I out of luck for now?
I don't think scaling down works right now, only scaling up (not sure, haven't done much testing on the scaling)
You could have a version of the image pre-scaled just for the 3DS version, seeing as that versions only targeting one possible resolution.
require 'otherfile.lua'
Does LövePotion support usingfor better organization of the main.lua?Code:require 'otherfile.lua'
require("stuff.stuff.code")
Yup, I use it like this:
Code:require("stuff.stuff.code")
require "stuff.stuff.code"