Search found 232 matches

by Luke100000
Sun Jul 16, 2017 6:07 pm
Forum: Support and Development
Topic: [Solved] How to kill thread on any error?
Replies: 10
Views: 15798

Re: How to kill thread on any error?

If the thread crashes or finishes, the thread is dead. If you call thread:start() again it restarts.
So, the thread should not continue running, unless you restart it somewhere in the main app.
by Luke100000
Sat Jul 15, 2017 8:02 am
Forum: Support and Development
Topic: Error when creating canvas
Replies: 1
Views: 2529

Error when creating canvas

Hello, My game receives this error when creating a new normal 8rgba canvas where I do not know why: "Cannot create canvas: Texture format cannot be rendered to on this system." I can reproduce this error when creating thousands of canvases until my system runs out of memory, but I'm very s...
by Luke100000
Tue Jun 13, 2017 8:33 pm
Forum: Games and Creations
Topic: [alpha0.1] Intelligent Design/Guidance [WIP Game Concept]
Replies: 11
Views: 8944

Re: [alpha0.1] Intelligent Design/Guidance [WIP Game Concept]

I once made a similar cell simulator too XD In my case, the cell only can eat and get eaten and you have to program a perfect system.
by Luke100000
Tue Jun 13, 2017 8:28 pm
Forum: Games and Creations
Topic: Space Rocks
Replies: 3
Views: 4107

Re: Space Rocks

Looks great!
One thing I found (As long as it's not made on purpose): the particles should despawn not all at once so it looks smoother.
by Luke100000
Tue Jun 13, 2017 1:03 pm
Forum: Games and Creations
Topic: Cactus game.
Replies: 37
Views: 33971

Re: Cactus game.

Hey, my highscore is 190!
CACTUS GAME!
by Luke100000
Tue Jun 13, 2017 7:01 am
Forum: Games and Creations
Topic: Nano Space
Replies: 29
Views: 16440

Re: Nano Space

I didn't paid attention to that detail, my bad. Still, SSL is only some encryption on top of HTTP, it can be accomplished in Lua. And you would probably have better luck using LuaSec instead. Also, you don't need secure connection to download some public files. Public files on a secure server allow...
by Luke100000
Tue Jun 13, 2017 6:26 am
Forum: Games and Creations
Topic: Nano Space
Replies: 29
Views: 16440

Re: Nano Space

Ugh. Just you look at that mess. I would not be surprised to know there is a whole host of systems where it still doesn't work. This is precisely why you are discouraged from using binary libraries. Besides, the packaged Lua already has all the necessary networking facilities do there was no need t...
by Luke100000
Mon Jun 12, 2017 9:27 pm
Forum: Games and Creations
Topic: Nano Space
Replies: 29
Views: 16440

Re: Nano Space

Nixola wrote: Mon Jun 12, 2017 9:24 pm The new version seems to work out of the box for me!
(little tip: _, C = pcall(ffi.load, "/usr/lib/libcurl.so"))
oh, didn't know that :awesome: will do this next time. I'm glad we fixed it now.
by Luke100000
Mon Jun 12, 2017 9:12 pm
Forum: Games and Creations
Topic: Nano Space
Replies: 29
Views: 16440

Re: Nano Space

soo, update published, game launching fixed and hopefully the lib loading too, as long as this code here works: _, C = pcall(function() return ffi.load("/usr/lib/libcurl.so") end) if not C then _, C = pcall(function() return ffi.load("/usr/local/lib/libcurl.so") end) if not C the...
by Luke100000
Mon Jun 12, 2017 8:27 pm
Forum: Games and Creations
Topic: Nano Space
Replies: 29
Views: 16440

Re: Nano Space

Finally got it working! I had to rename the file and remove both the save folders (lovum and Lovum) and, again, change the loaded lib to /usr/lib/libcurl.so (which will always be the same architecture as LÖVE iirc, or at least in most cases; you can use /usr/lib32 and /usr/lib64 if you want to be s...