Search found 155 matches

by szensk
Sun Apr 05, 2015 10:45 pm
Forum: Support and Development
Topic: Is there a library that lets me use a wait() function?
Replies: 3
Views: 923

Re: Is there a library that lets me use a wait() function?

Do you simply need something like Javascript's setTimeout?

Take a look at kikito's cron library.
by szensk
Sun Mar 22, 2015 7:35 pm
Forum: Support and Development
Topic: [SOLVED] Fast JSON lib for big files ?
Replies: 5
Views: 3093

Re: Fast JSON lib for big files ?

Glad it worked out for you. I've been rallying against using JSON in the Lua community for a while now. There's no reason* to use JSON unless you're dealing with a web API or program that uses JSON. Also, if for some reason you must return to JSON, dkjson is about 2-3x faster than json4lua in my tes...
by szensk
Sat Mar 21, 2015 7:09 am
Forum: Support and Development
Topic: [SOLVED] Fast JSON lib for big files ?
Replies: 5
Views: 3093

Re: Fast JSON lib for big files ?

Why do you have to use JSON? Try serializing as Lua or msgpack. luamsgpack has the advantage of a very fast decoder, much faster than any pure Lua json library that I tried. Or by using Lua, you get a fast C parser with no extra dependencies. Secondly, regardless of encoding, the data scheme of Dyna...
by szensk
Wed Feb 18, 2015 6:07 am
Forum: Support and Development
Topic: love.graphics.newImage not working
Replies: 2
Views: 992

Re: love.graphics.newImage not working

textrues should be textures. That is:

Code: Select all

      image = love.graphics.newImage('textrues/images/enemys/ID_2/ID_2.png'),
should be:

Code: Select all

      image = love.graphics.newImage('textures/images/enemys/ID_2/ID_2.png'),
You spelled enemies incorrectly as well, but if ID_1 is working then who cares.
by szensk
Wed Feb 18, 2015 5:32 am
Forum: General
Topic: How Come Folders Can't Have a Dot in their Name?
Replies: 3
Views: 1578

Re: How Come Folders Can't Have a Dot in their Name?

In the example.love it's a Lua problem (require blindly replaces . with the system separator). The easiest solution, in Lua, is to use loadfile . I suspect it is not Love's fault because assert(love.filesystem.exists('Folder.with.dots/File.lua')) works perfectly fine, for instance. Your example requ...
by szensk
Fri Feb 13, 2015 8:44 pm
Forum: Support and Development
Topic: love.graphics.newImage hanging
Replies: 12
Views: 2771

Re: love.graphics.newImage hanging

Solution: Use a threaded image loader.

Question: how many/how big of images are you loading? 1-5s delay is quite long.
by szensk
Sun Jan 18, 2015 11:49 am
Forum: General
Topic: New subforum for libraries?
Replies: 21
Views: 6432

Re: New subforum for libraries?

Maybe it could be a subforum?

Projects & Demos
-> Libraries

It'd probably make searching through easier.
by szensk
Thu Jan 15, 2015 2:55 pm
Forum: Libraries and Tools
Topic: So, how's that Bump-based platformer coming along, Jasoco?
Replies: 31
Views: 10733

Re: So, how's that Bump-based platformer coming along, Jasoc

There are many animated and moving things, it feels very alive. Looks very nice, Jasoco. Not unexpected as all the projects you've shown look nice.

The light flicker is painful for my eyes, though.
by szensk
Wed Jan 14, 2015 9:06 pm
Forum: General
Topic: Memory Leak?
Replies: 7
Views: 2173

Re: Memory Leak?

It's not an issue with Love. The garbage is coming from the backpack.draw function. It looks like you keep adding buttons forever. I end up with about 2000 buttons in backpack.buttons.list in a few seconds. You need to remove them from the list as you add more. Comment it out on line 188 of main.lua...
by szensk
Tue Jan 13, 2015 8:41 am
Forum: Libraries and Tools
Topic: [library] shine - post processing effects for everyone
Replies: 26
Views: 14873

Re: [library] shine - post processing effects for everyone

CaptainMaelstrom wrote:I get this error:
capture.PNG
AMD card?