Search found 30 matches

by Lord Tim
Mon Dec 15, 2008 4:38 am
Forum: Support and Development
Topic: Some other computer...
Replies: 11
Views: 15449

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...
by Lord Tim
Tue Dec 09, 2008 2:04 am
Forum: Support and Development
Topic: Some other computer...
Replies: 11
Views: 15449

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...
by Lord Tim
Sat Dec 06, 2008 4:29 am
Forum: Support and Development
Topic: Lua question : how to intercept function call
Replies: 6
Views: 4681

Re: Lua question : how to intercept function call

bartbes wrote:I'm not sure, but I thought ... returns all the arguments

Code: Select all

function test(...)
print(...)
end
should call print with all arguments.

PS: posting on PS3
You just put the "..." in the parenthesis. to access them you use "arg" as a table.
by Lord Tim
Wed Dec 03, 2008 2:39 am
Forum: Support and Development
Topic: Fonts!
Replies: 7
Views: 6005

Re: Fonts!

Haha. Put this at the start of your draw callback.

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
You should totally keep that in. And add some way to rotate around a different point.
by Lord Tim
Tue Dec 02, 2008 1:39 am
Forum: Support and Development
Topic: Support for saving/loading the Lua state?
Replies: 19
Views: 11811

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.
by Lord Tim
Mon Dec 01, 2008 5:28 am
Forum: General
Topic: API Wars
Replies: 39
Views: 25144

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...
by Lord Tim
Fri Nov 28, 2008 4:45 am
Forum: Support and Development
Topic: Changing keyboard input into characters.
Replies: 10
Views: 9115

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?
by Lord Tim
Tue Nov 25, 2008 5:00 am
Forum: General
Topic: LÖVE! On an iPod touch?
Replies: 8
Views: 6815

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...
by Lord Tim
Sun Nov 23, 2008 7:45 pm
Forum: Support and Development
Topic: Transparency issues
Replies: 8
Views: 9426

Re: Transparency issues

Ah. Thanks. Using .tga fixes this.
by Lord Tim
Sun Nov 23, 2008 6:39 pm
Forum: Support and Development
Topic: Transparency issues
Replies: 8
Views: 9426

Re: Transparency issues

Would a different image format not have this problem? Like if I used .gif instead?