Search found 4 matches

by Bereb
Thu Mar 05, 2015 6:32 pm
Forum: General
Topic: LÖVE 2D for everything.
Replies: 13
Views: 6075

Re: LÖVE 2D for everything.

well, if one wants the game to actually not-quit, but show that one frame forever, then one could do all processing in love.load, then display in love.draw; since nothing's updating, what gets drawn will be static... or just comment the while loop in love.run. Thanks for the advice. I didn't yet re...
by Bereb
Thu Mar 05, 2015 6:30 pm
Forum: General
Topic: LÖVE 2D for everything.
Replies: 13
Views: 6075

Re: LÖVE 2D for everything.

[you could either overwrite love.run or quit at the end of love.draw. (first is cleaner probably) First, thanks for the suggestions. I already used this trick for an animation script. I wished to prevent the automatic 'love.graphics.clear' in 'run.lua', so as to manage it in my script. And that wor...
by Bereb
Sat Feb 28, 2015 9:54 am
Forum: General
Topic: LÖVE 2D for everything.
Replies: 13
Views: 6075

Re: LÖVE 2D for everything.

I think we can do a lot of things with Löve, because there is Lua behind the scene. But there is also and above all SDL; and that tells us Löve is really meant for graphics (not only games). It's not so difficult to build with Löve some command buttons of one's own, if need bee (in graphic programs,...
by Bereb
Tue Dec 10, 2013 8:54 am
Forum: General
Topic: Newbie questions?
Replies: 10
Views: 7851

Re: Newbie questions?

locals are faster to access than globals, but that never matters in practice Nevertheless you do gain some signifiant time when you declare all your variables, even internal or user functions, as local from the start. It's because local variables are accessed directly, unlike global variables which...