Search found 33 matches

by Star Crunch
Thu Jun 04, 2009 7:38 pm
Forum: General
Topic: Recent Lua Library Findings
Replies: 11
Views: 4522

Re: Recent Lua Library Findings

Steve Donovan has been promoting Penlight, a big bunch of utilties, recently over on the Lua mailing list. I was going to mention this earlier but got distracted and lazy and stuff.

I think outside of the file operations it's pure Lua.
by Star Crunch
Thu Jun 04, 2009 7:30 pm
Forum: General
Topic: Hate: In love with C
Replies: 55
Views: 13606

Re: Hate: In love with C

Depending on what you want to do, this may also be worth a look:

http://luaforge.net/projects/alien/
by Star Crunch
Mon Apr 20, 2009 7:18 pm
Forum: Support and Development
Topic: Best GUI lib?
Replies: 15
Views: 2955

Re: Best GUI lib?

And something I'm almost sure of none of the libraries have: a list. Like this? http://www.netbeans.org/images/articles/vwp-listbox_components/final_page.png I've got one in TacoShell, though it's single-selection only. (Also, no scroll bar.) I left it and a few other widgets out of the demo. A dia...
by Star Crunch
Tue Apr 14, 2009 2:52 am
Forum: Support and Development
Topic: using continue
Replies: 17
Views: 5431

Re: using continue

There was a reason for the repeat-until loop, but I messed up the example. :P It should read repeat until true ... this "loops" once, but you can still break out, thereby faking the continue. If you don't break, it proceeds normally. If you need to mix breaks and continues, though, this isn't the wa...
by Star Crunch
Tue Apr 14, 2009 1:24 am
Forum: Support and Development
Topic: using continue
Replies: 17
Views: 5431

Re: using continue

If you don't need to do a break, you can simulate a continue as follows:

Code: Select all

for i = 1, NumberOfThingsToIterate do  -- OUTER LOOP
  repeat   -- "LOOP" to break out of in order to continue
    if WantsToContinue() then
      break -- "continue"
    end

    DoRegularStuff()
  until false
end
by Star Crunch
Fri Apr 03, 2009 9:15 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 742
Views: 421932

Re: Avatars: OBEY!

solsword wrote:Star Crunch, a good pun shall not go unanswered.
:)

I followed the link in your sig... Out of curiosity, how many tries/hours/days did it take to get the Hookshot?
by Star Crunch
Wed Apr 01, 2009 3:57 pm
Forum: Libraries and Tools
Topic: TacoShell, sample program
Replies: 12
Views: 6350

Re: TacoShell, sample program

What/Where is the LÖVE ETA policy ? http://love2d.org/forum/viewtopic.php?f=3&t=601 :) Don't be discouraged so easily! Nah, don't worry, I'm not discouraged. I'm sorry for being such an ass with my comment, the code is certainly of high quality and the 'TacoShell' itself is brilliant. The criticism...
by Star Crunch
Sat Mar 28, 2009 12:30 am
Forum: Libraries and Tools
Topic: TacoShell, sample program
Replies: 12
Views: 6350

Re: TacoShell, sample program

I have some difficulties to anderstand why do you use so many Boot.lua etc. Thanks :D EDIT: the Boot.lua is used to index the content of the directory ? Yes, that's all the Boot.lua scripts are for; it's just a file that the loader will check for when it hits a new directory. [1] I used to load eve...
by Star Crunch
Thu Mar 26, 2009 6:44 am
Forum: Libraries and Tools
Topic: TacoShell, sample program
Replies: 12
Views: 6350

Re: TacoShell, sample program

Kudomiku wrote:Code is messy and unreadable.

That's not even a coding style, it's just unnecessarily bad.
osgeld wrote:ive seen worse
:ehem: Anything in particular?

I'm planning some cleanup; I'll take anything reasonable into consideration.
by Star Crunch
Thu Mar 26, 2009 6:23 am
Forum: General
Topic: Love on a Higher Level
Replies: 5
Views: 1115

Re: Love on a Higher Level

Have you tested how much replacing all global variables with locals does in practice? It's been a while since I started localizing a lot, and I think I adopted LuaJIT around that same time, so I can't really say. It's probably not a major concern unless you actually start seeing issues, and then th...