Search found 188 matches
- Fri Jun 25, 2021 3:22 pm
- Forum: Libraries and Tools
- Topic: Lovejs packer for old lovejs
- Replies: 2
- Views: 10903
Lovejs packer for old lovejs
A very barebones packer for old lovejs (Since old lovejs seems to work better on firefox after removing filesystem calls from your game) Unpack it to a folder, place your love file inside that folder Change zipname in main.lua to the name of your love file Run "love ." inside that folder a...
- Wed Jun 23, 2021 6:11 pm
- Forum: Games and Creations
- Topic: nono: a game based on no
- Replies: 36
- Views: 52915
Re: nono: a game based on no
I thought, enforcing a unique solution wouldn't be good. It calculates a random grid, calculates the column and row numbers, then clears the grid. Downside is two different seed values can give you the same puzzle.
- Wed Jun 23, 2021 2:46 pm
- Forum: Support and Development
- Topic: Create Font that fit on dimensions (...or hot to compute Font size). Best Practices
- Replies: 8
- Views: 10669
Re: Create Font that fit on dimensions (...or hot to compute Font size). Best Practices
Using a precomputed ratio seems to be a good way local ver = love.getVersion() if ver <= 11 then FONTSCALE = 1.16364 -- love v11.3, vera else FONTSCALE = 1.36233 end -- love v12, noto -- get pixel size from point size. This works without error for almost all cases except for a few with +-1 pixel err...
- Fri Jun 18, 2021 8:29 am
- Forum: Games and Creations
- Topic: nono: a game based on no
- Replies: 36
- Views: 52915
Re: nono: a game based on no
Some visual and bhs improvements
- Fri Jun 18, 2021 8:24 am
- Forum: General
- Topic: What UI library do you recommend?
- Replies: 8
- Views: 15152
Re: What UI library do you recommend?
https://github.com/tavuntu/urutora
Easy to learn and use.
Unfortunately it doesn't support multitouch, I don't know any gui library that does.
Easy to learn and use.
Unfortunately it doesn't support multitouch, I don't know any gui library that does.
- Fri May 14, 2021 11:31 am
- Forum: Libraries and Tools
- Topic: Lua-gestures: effortless recognition of trained single-stroke gestures
- Replies: 7
- Views: 13515
Re: Lua-gestures: effortless recognition of trained single-stroke gestures
* made it use flat arrays for points * moved functions around (a lot) * tried to reduce the creation of new (temp) tables * noticed a typo in recognize score before return ("/" instead of "-") * probably some other minor optimizations https://github.com/monolifed/lua-modules/blob...
- Mon May 10, 2021 12:19 pm
- Forum: Libraries and Tools
- Topic: LuaPreprocess - straightforward preprocessor with simple syntax
- Replies: 76
- Views: 166828
Re: LuaPreprocess - straightforward preprocessor with simple syntax
Nice. using !! and multiline strings you can keep multiline statements intact !( if debug then ondebug = function(s) return s end else --ondebug = function(s) return "--[==["..s.."]==]" end ondebug = function(s) return "" end end ) !!(ondebug[[print("hello", &...
- Mon May 10, 2021 10:59 am
- Forum: Libraries and Tools
- Topic: LuaPreprocess - straightforward preprocessor with simple syntax
- Replies: 76
- Views: 166828
Re: LuaPreprocess - straightforward preprocessor with simple syntax
!if DEBUG then myassert = assert !else myassert = function() end !end Then you use myassert, which ends up with a function call either case (in C, no op one would probably be optimized out). But you probably meant a no call one: a short hand for typing something like the following for every assert ...
- Sun May 09, 2021 11:48 pm
- Forum: Libraries and Tools
- Topic: Lua-gestures: effortless recognition of trained single-stroke gestures
- Replies: 7
- Views: 13515
Re: Lua-gestures: effortless recognition of trained single-stroke gestures
link to the original code for reference:
https://depts.washington.edu/acelab/pro ... index.html
https://depts.washington.edu/acelab/pro ... index.html
- Sun May 09, 2021 11:41 pm
- Forum: Games and Creations
- Topic: [LD31] GridCars
- Replies: 28
- Views: 26787
Re: [LD31] GridCars
Good work
Dedicated can also be modified to run with love. Since:
* LFS function utilized is available in love
* socket is available in love
* installing lua, and lfs and socket for lua can be relatively difficult
Dedicated can also be modified to run with love. Since:
* LFS function utilized is available in love
* socket is available in love
* installing lua, and lfs and socket for lua can be relatively difficult