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.
Search found 232 matches
- Sun Jul 16, 2017 6:07 pm
- Forum: Support and Development
- Topic: [Solved] How to kill thread on any error?
- Replies: 10
- Views: 15889
- Sat Jul 15, 2017 8:02 am
- Forum: Support and Development
- Topic: Error when creating canvas
- Replies: 1
- Views: 2556
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...
- Tue Jun 13, 2017 8:33 pm
- Forum: Games and Creations
- Topic: [alpha0.1] Intelligent Design/Guidance [WIP Game Concept]
- Replies: 11
- Views: 8997
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.
- Tue Jun 13, 2017 8:28 pm
- Forum: Games and Creations
- Topic: Space Rocks
- Replies: 3
- Views: 4164
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.
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.
- Tue Jun 13, 2017 1:03 pm
- Forum: Games and Creations
- Topic: Cactus game.
- Replies: 37
- Views: 34297
Re: Cactus game.
CACTUS GAME!
- Tue Jun 13, 2017 7:01 am
- Forum: Games and Creations
- Topic: Nano Space
- Replies: 29
- Views: 16539
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...
- Tue Jun 13, 2017 6:26 am
- Forum: Games and Creations
- Topic: Nano Space
- Replies: 29
- Views: 16539
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...
- Mon Jun 12, 2017 9:27 pm
- Forum: Games and Creations
- Topic: Nano Space
- Replies: 29
- Views: 16539
- Mon Jun 12, 2017 9:12 pm
- Forum: Games and Creations
- Topic: Nano Space
- Replies: 29
- Views: 16539
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...
- Mon Jun 12, 2017 8:27 pm
- Forum: Games and Creations
- Topic: Nano Space
- Replies: 29
- Views: 16539
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...