Search found 21 matches

by Frohman
Mon Feb 22, 2016 9:51 am
Forum: Libraries and Tools
Topic: bitser: faster, harder, better serialization with LuaJIT
Replies: 16
Views: 11171

Re: bitser: faster, harder, better serialization with LuaJIT

Looks interesting! I'll have to compare performance to msgpack. Does it build up some kind of schema internally? Could totally make use of that for some sexy delta encoding.

How does it handle tables of class instances (tables)?
by Frohman
Sun Feb 21, 2016 6:43 pm
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 81
Views: 55189

Re: [Lib] SUIT - Simple User Interface Toolkit

What'd be the cleanest way to implement pasting functionality? So from the keypressed callback, how can I determine which text input field is active such that I can then set its content accordingly?
by Frohman
Thu Jan 21, 2016 3:33 pm
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 81
Views: 55189

Re: [Lib] SUIT - Simple User Interface Toolkit

What's the intended way to change the color of a widget, say, to indicate an incorrect state or disabled status? e: Aha, got it. You've got to specify the color, whether it is fore or background and the state it represents. For example; {font = textFont, color = {normal = {bg = {255,0,0}, fg = {225,...
by Frohman
Mon Jan 18, 2016 10:24 am
Forum: Libraries and Tools
Topic: Zimpel (Encoding / Decoding of files)
Replies: 8
Views: 1918

Re: Zimpel (Encoding / Decoding of files)

Not to detract from this, but can't you use love's (now built in) compression wrapper functions to achieve the same thing, faster?
See; https://love2d.org/wiki/love.math.compress and https://love2d.org/wiki/love.math.decompress

Nice work, though!
by Frohman
Wed Jan 06, 2016 10:47 pm
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 81
Views: 55189

Re: [Lib] SUIT - Simple User Interface Toolkit

Fantastic work, man. I was literally looking for the Quickie repo just now to fix it for .10 and add mobile keyboard support, but found SUIT instead, haha! About the only thing I can think of within my first 5 minutes of messing with it is some way to specify pixel scale, or at least rescale all ele...
by Frohman
Thu Apr 16, 2015 8:08 pm
Forum: LÖVE-Android
Topic: love-android-sdl2 (native, 0.9.2)
Replies: 324
Views: 218515

Re: love-android-sdl2 (native, 0.9.2)

Edit: Hadn't occurred to me that you'd likely do this in the packaging step, so for basic testing with .love's and main.lua's, should I rebuild the apk myself with the orientation specified? Yeah I think that is how you have to do it... Seems silly to have to rebuild the entire apk for just that bu...
by Frohman
Thu Apr 16, 2015 12:48 pm
Forum: LÖVE-Android
Topic: love-android-sdl2 (native, 0.9.2)
Replies: 324
Views: 218515

Re: love-android-sdl2 (native, 0.9.2)

Just wondering if it's possible to lock device orientation/rotation, or otherwise force an orientation?

Edit:
Hadn't occurred to me that you'd likely do this in the packaging step, so for basic testing with .love's and main.lua's, should I rebuild the apk myself with the orientation specified?
by Frohman
Fri Jun 21, 2013 3:24 pm
Forum: Support and Development
Topic: Game Obfuscation
Replies: 38
Views: 8431

Re: Game Obfuscation

My main problem with slapping LuaJIT on the official builds is that it is not pure Lua 5.1 or 5.2, but something in between. This has already confused new lovers because their game worked on one system that used LuaJIT, but not on the other that had Lua 5.1. And there's the issue that not all Linux...
by Frohman
Tue Feb 26, 2013 4:43 pm
Forum: Support and Development
Topic: [SOLVED] LUBE client reception issue
Replies: 2
Views: 1540

Re: LUBE client reception issue

Yeah, I thought it might be some kind of disagreement between the two layers. Maybe you could throw in an assert that explicitly reinforces this?
by Frohman
Tue Feb 26, 2013 9:58 am
Forum: Support and Development
Topic: [SOLVED] LUBE client reception issue
Replies: 2
Views: 1540

[SOLVED] LUBE client reception issue

Hello yet again, now that I've got LUBE working (due to a bug in hump.class that has since been squashed), I've started to move my plain luasocket processes over to use LUBE, but have hit a snag. I can set up a server and client (UDP) fine, the server recognises the connection of the client and anyt...