Search found 237 matches

by ReFreezed
Sat Jun 05, 2021 4:12 pm
Forum: General
Topic: where can I host binary files
Replies: 3
Views: 1402

Re: where can I host binary files

How about itch.io?

What limits are you talking about? I never had trouble sharing files through Dropbox, though it's been a while now.
by ReFreezed
Wed Jun 02, 2021 8:57 am
Forum: General
Topic: Best practices and things you'd like changed about Love2D
Replies: 28
Views: 4736

Re: Best practices and things you'd like changed about Love2D

love.load has no real purpose. Everything you do in love.load you can do at the top level of main.lua instead. Maybe what should actually happen is for LÖVE to remove main.lua since all you need is a conf.lua file. In this case it makes a lot of sense to have love.load as that would be the first pl...
by ReFreezed
Sun May 30, 2021 12:38 pm
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 41
Views: 49461

Re: LuaPreprocess - straightforward preprocessor with simple syntax

yetneverdone wrote: Sun May 30, 2021 2:08 am I've noticed that a syntax error in a handler.lua file does throw an error but not detailed enough? Like there is no line number where the syntax error is.
Thanks for the report! There was an internal error in the error reporting function. Oops. It's been fixed now.
by ReFreezed
Thu May 20, 2021 10:19 am
Forum: Games and Creations
Topic: Alchemist, a "traditional" roguelike
Replies: 3
Views: 2151

Re: Alchemist, a "traditional" roguelike

This looks promising. Nice work so far.
by ReFreezed
Sun May 16, 2021 8:48 pm
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 41
Views: 49461

LuaPreprocess update 1.13.1

Update 1.13.1 Changes since 1.13: Library: Dual code now supports multiple assignment targets: !!x, y = ... Some non-ASCII characters in serialized strings look nicer. Added params.fastStrings . Fixed backtick strings not working in macros. Command line program: Added --faststrings option.
by ReFreezed
Fri May 14, 2021 8:37 pm
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 41
Views: 49461

Re: LuaPreprocess - straightforward preprocessor with simple syntax

Update 1.13 Changes since 1.12: Library: Added macros (in the form of `@insert func()` or `@@func()`). Fixed processedFileInfo.hasPreprocessorCode being false even though @keywords were present. processedFileInfo.hasPreprocessorCode now means anything that isn't pure Lua. Added processedFileInfo.ha...
by ReFreezed
Fri May 14, 2021 4:59 pm
Forum: Support and Development
Topic: Changing the keyboard style in Android & iOS
Replies: 3
Views: 2957

Re: Changing the keyboard style in Android & iOS

I'm just wondering - why not make you own virtual in-game keyboard?
by ReFreezed
Thu May 13, 2021 1:32 am
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 41
Views: 49461

Re: LuaPreprocess - straightforward preprocessor with simple syntax

Hmm, I think I agree with you, so I added @@ as an alias for @insert.

Code: Select all

-- Have we reached nirvana yet?
@@assert(i >= 1 and i <= 5, "i out of range, expected: 1<=i<=5, actual: " .. i)
by ReFreezed
Wed May 12, 2021 5:18 pm
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 41
Views: 49461

Re: LuaPreprocess - straightforward preprocessor with simple syntax

Because @blah is already used for preprocessor keywords I though about adding @@func() as new syntax (for what could be seen as a "user-defined" keyword), but I think reusing @insert like this makes more sense as it has similar functionality already, and I don't have to add a new kind of &...