Search found 410 matches

by miko
Thu Mar 31, 2011 10:06 am
Forum: Games and Creations
Topic: Volley Brawl is for sale in the USC
Replies: 41
Views: 13185

Re: Volley Brawl is for sale in the USC

So, as many of those of you who hang out in #love know, Volley Brawl is now for sale in the Ubuntu Software Center as one of 7 commercial games in there. Congratulations! I wish you luck! Your success will mean more love users and developers ;) Buying it through there gives you access to a .love fi...
by miko
Thu Mar 31, 2011 8:58 am
Forum: Libraries and Tools
Topic: LFXR - Preview [Update]
Replies: 7
Views: 4409

Re: LFXR - Preview

headchant wrote:However, feedback and improvement suggestions are highly appreciated.
Error: ./vstruct/common.lua:11: cannot dump functions

Probably because I use love compiled with luajit.
by miko
Tue Mar 29, 2011 8:31 am
Forum: Support and Development
Topic: Unstable getImageData? (crash)
Replies: 14
Views: 6814

Re: Unstable getImageData? (crash)

That surely does the trick. After a couple of tests -just checking the memory usage with collectgarbage(count)-, it seems there's actually no memory tradeoff in using collectgarbage() every step, even with a full collect . So, any caveats about just doing so? In theory garbage collector should coll...
by miko
Sat Mar 26, 2011 2:10 am
Forum: Support and Development
Topic: Unstable getImageData? (crash)
Replies: 14
Views: 6814

Re: Unstable getImageData? (crash)

Clearly a memory leak somewhere I'm pretty sure there's no memory leak, it's just the way Lua handles user data. Youare right in the sense you have described. It is a "leak" from the lua point of view. The "workaround" is to put collectgarbage("step") or collectgarbage...
by miko
Sat Mar 26, 2011 1:35 am
Forum: Support and Development
Topic: Unstable getImageData? (crash)
Replies: 14
Views: 6814

Re: Unstable getImageData? (crash)

hi, same happened on my computer... after 1001 cycles the program crashes. In my process manager I could see, that love is eating all of my memory until the crash. Same for me - at about 1500 I get love crash, and top shows it gets almost 3GB of RAM. Clearly a memory leak somewhere (maybe in underl...
by miko
Mon Mar 14, 2011 3:40 pm
Forum: General
Topic: there has any tricks to improve FPS for old PC?
Replies: 30
Views: 15327

Re: there has any tricks to improve FPS for old PC?

But, are you really sure you want to be playing a game that refuses dt in favor of that assumption? :huh: I know I wouldn't. BTW, how does everyone tell Löve to ignore the max FPS anyway? I've never been able to get my projects to break past 60FPS. It caps it there. (The vsync option doesn't seem t...
by miko
Mon Mar 14, 2011 10:24 am
Forum: General
Topic: How to write this code in LUA?
Replies: 10
Views: 3163

Re: How to write this code in LUA?

Hey guys, I'm wondering how I would go about converting this BASIC code to LUA.. What's getting me is the "field X[4] and "en:enemy = new enemy". I've been looking at code from the people on this forum, but couldn't find anything like this; I really should read Programming in Lua. Bu...
by miko
Mon Mar 14, 2011 10:06 am
Forum: Support and Development
Topic: Problem overriding love.graphics.print
Replies: 11
Views: 5672

Re: Problem overriding love.graphics.print

This scales properly: love.graphics.oldPrint = love.graphics.print function love.draw() love.graphics.scale(2, 2) love.graphics.print("Hardcore LOVE", 1, 1) end function love.graphics.print(text, x, y) love.graphics.oldPrint(text, x, y) end This doesn't (only the position of love.graphics...
by miko
Wed Feb 23, 2011 2:39 pm
Forum: Support and Development
Topic: Love security flaw
Replies: 42
Views: 13444

Re: Love security flaw

What about a compromise, then: If a Love game tries to use io.popen or other potentially-malicious functions (which aren't often used in games), Love pops up a message warning the user about what the function does, and asking if it should be executed or not. May I propose something simpler? If love...
by miko
Tue Feb 22, 2011 10:36 am
Forum: Support and Development
Topic: Love security flaw
Replies: 42
Views: 13444

Re: Love security flaw

I was checking out the Lua documentation, and noticed a little function called io.popen. What it does is execute a specified program. I checked, and io.popen is available in Love 0.7. I think it should be blocked - Love games have no need to execute other programs. Amongst other uses, someone could...