Search found 6382 matches

by Robin
Tue May 17, 2016 10:43 pm
Forum: Support and Development
Topic: Multiplayer Help
Replies: 6
Views: 5142

Re: Multiplayer Help

Zvoc47 wrote:I have a question. If I format the string, will it be sent as a string?
Yes.
Zvoc47 wrote:Can I send packages as raw bytes to increase bandwidth?
No.

You can only send strings, because what's sent is the contents of the string, and they're sent as raw bytes.
by Robin
Tue May 17, 2016 8:09 pm
Forum: General
Topic: What's obey?
Replies: 18
Views: 11222

Re: What's obey?

by Robin
Mon May 09, 2016 3:34 pm
Forum: General
Topic: Library sub-forum?
Replies: 36
Views: 17661

Re: Library sub-forum?

If every thread would take an average of 5 seconds to classify and move, you're looking at almost four hours worth of work, btw.
by Robin
Sun May 08, 2016 11:38 pm
Forum: Support and Development
Topic: sick.lua - what is the right path to file?
Replies: 1
Views: 2099

Re: sick.lua - what is the right path to file?

Did you look in the write directory? (See the wiki for where to find it.)
by Robin
Sun May 08, 2016 11:23 pm
Forum: Support and Development
Topic: how do i check if a value is nil?
Replies: 6
Views: 4883

Re: how do i check if a value is nil?

Right, you're nearly there. The problem is that you have a doubly nested table. This should work:

Code: Select all

if not CurrentLevel[chartiley] or not CurrentLevel[chartiley][chartilex] then return end
by Robin
Wed Apr 20, 2016 3:56 pm
Forum: Support and Development
Topic: Wiki
Replies: 3
Views: 2562

Re: Wiki

You should be able to log in the wiki using your forum username and password.
by Robin
Wed Apr 20, 2016 3:54 pm
Forum: General
Topic: How to LÖVE - Now with text-based tutorials
Replies: 34
Views: 15524

Re: How to LÖVE - A LÖVE tutorial series

It's still treating the symptoms of high coupling. Organising your code in a way that leads to more separation of concerns leads to less moving parts, less bugs, less boilerplate and less temptation to use globals. I never use globals any more and it makes my code healthier, because I can actually s...
by Robin
Wed Apr 20, 2016 11:57 am
Forum: General
Topic: How to LÖVE - Now with text-based tutorials
Replies: 34
Views: 15524

Re: How to LÖVE - A LÖVE tutorial series

Basically thats what I do for every module, but why should I add an extra line "local Object=require("class")" to every single class, for every single required module I create. I don't see the mysterious big advantage when doing everything local. All my main.lua files look like ...
by Robin
Tue Apr 19, 2016 10:05 am
Forum: Support and Development
Topic: Table.remove removing things twice
Replies: 6
Views: 5755

Re: Table.remove removing things twice

That should be table.remove(enemiesList, i), though

otherwise you end up with holes in your list
by Robin
Mon Mar 28, 2016 11:55 pm
Forum: General
Topic: I am an unfortunate victim of perfectionism.
Replies: 13
Views: 7262

Re: I am an unfortunate victim of perfectionism.

I know that perfectionism feel. Some other ideas that might work for you: Make a lot of small games. Set yourself a really short time limit for each of them so that you can't get sucked in too much with the perfectionism. Get in the habit of releasing things because you want to release them, even if...