Search found 30 matches
- Mon Dec 15, 2008 4:38 am
- Forum: Support and Development
- Topic: Some other computer...
- Replies: 11
- Views: 17161
Re: Some other computer...
Well, at least with the current version of the love.physics engine, a higher framerate and more updates means that certain things like joint restraints become more accurate. This makes the experience slightly different on each computer, and could even lead to messing with actual mechanics. This is a...
- Tue Dec 09, 2008 2:04 am
- Forum: Support and Development
- Topic: Some other computer...
- Replies: 11
- Views: 17161
Re: Some other computer...
This is strange. I've been making my Löve games on my own 64bit Vista computer, and when I play my games on other computers (A 32bit Vista, and the old XP school computers) they all run the game faster. There is a literal increase from steady 60 FPS on my PC to between 200-400 FPS on the other compu...
- Sat Dec 06, 2008 4:29 am
- Forum: Support and Development
- Topic: Lua question : how to intercept function call
- Replies: 6
- Views: 5442
Re: Lua question : how to intercept function call
You just put the "..." in the parenthesis. to access them you use "arg" as a table.bartbes wrote:I'm not sure, but I thought ... returns all the argumentsshould call print with all arguments.Code: Select all
function test(...) print(...) end
PS: posting on PS3
- Wed Dec 03, 2008 2:39 am
- Forum: Support and Development
- Topic: Fonts!
- Replies: 7
- Views: 6837
Re: Fonts!
Haha. Put this at the start of your draw callback.
You should totally keep that in. And add some way to rotate around a different point.
Code: Select all
if(not shake) then
shake = 3
end
love.graphics.rotate(shake)
shake = shake * -1
if(shake > 0) then
shake = math.random()*3
end
- Tue Dec 02, 2008 1:39 am
- Forum: Support and Development
- Topic: Support for saving/loading the Lua state?
- Replies: 19
- Views: 13432
Re: Support for saving/loading the Lua state?
The way I set it up, a "save" file is just a single line of Lua code saved as text to a file, which returns a table that holds all the info for that level. Then you can just go dofile("levelname"), and you've got the level back.
Re: API Wars
I definitely support going entirely radian. It would be a lot more consistent. And as for input devices, it would be neat if you could define a "controller" object or something, and the assign functions/callbacks to certain code-defined outputs of the controller. You would be able to easil...
- Fri Nov 28, 2008 4:45 am
- Forum: Support and Development
- Topic: Changing keyboard input into characters.
- Replies: 10
- Views: 10450
Re: Changing keyboard input into characters.
What about stuff like parenthesis? I mean you could go through and do an if statement for each key, but surely it's not that bad, is it?
- Tue Nov 25, 2008 5:00 am
- Forum: General
- Topic: LÖVE! On an iPod touch?
- Replies: 8
- Views: 7661
Re: LÖVE! On an iPod touch?
Oh man. I would love this so much. Though, I wonder what the exact limits are on "interpreted code". I mean, I've got an app called "Stanza" that basically allows you to download books in the form of text files from anywhere you want. Lua files aren't that far from plain text. An...
- Sun Nov 23, 2008 7:45 pm
- Forum: Support and Development
- Topic: Transparency issues
- Replies: 8
- Views: 10539
Re: Transparency issues
Ah. Thanks. Using .tga fixes this.
- Sun Nov 23, 2008 6:39 pm
- Forum: Support and Development
- Topic: Transparency issues
- Replies: 8
- Views: 10539
Re: Transparency issues
Would a different image format not have this problem? Like if I used .gif instead?