Moonscript does get a bit strange, but I'm slowly growing accustomed to it. It's much more concise. It does make it rather easy to create very natural looking 'DSL'.markgo wrote:You can use moonscript. It has fancy shortcuts.
Search found 155 matches
- Mon Aug 26, 2013 4:00 am
- Forum: Support and Development
- Topic: Can we have += -= in LÖVE ?
- Replies: 9
- Views: 1604
Re: Can we have += -= in LÖVE ?
- Sun Aug 25, 2013 3:42 am
- Forum: General
- Topic: Lua and LÖVE Link Collection
- Replies: 6
- Views: 3347
Re: Lua and LÖVE Link Collection
LDoc LuaDoc compatible, but much improved (now with Markdown)
- Sun Aug 25, 2013 3:32 am
- Forum: Libraries and Tools
- Topic: Vapor - LÖVE Distribution Client
- Replies: 162
- Views: 62932
Re: Vapor - LÖVE Distribution Client
Undocumented? things. Some of these are probably documented. love._version_codename: string love._os: string love._modules: table love.arg: table love._version_revision: number love._openConsole: function love._exe: boolean love._version_compat: table love._version_minor: number love._version_major:...
- Sun Aug 25, 2013 12:18 am
- Forum: Libraries and Tools
- Topic: enet demonstration
- Replies: 1
- Views: 1408
enet demonstration
An lua-enet demonstration in Love (>0.8). To run this you'll need a nightly build. Nothing creative. I'll try creativity some other time. Instructions: 1. Run server.love 2. Run client.love 3. Run another client.love 4. Muck about and see your changes reflected on each client and the server Controls...
- Fri Aug 23, 2013 5:04 am
- Forum: Libraries and Tools
- Topic: Tile-Based Physics
- Replies: 2
- Views: 2414
Re: Tile-Based Physics
You can tap the jump button really fast and your man will fly up. Set a bool in your code, and only apply upward force to the player when the bool is true. When you press the jump button, it's set to false, and won't be true again until the player collides with a tile. That will make me unable to p...
- Thu Aug 22, 2013 9:38 pm
- Forum: Libraries and Tools
- Topic: Multiplayer Demo
- Replies: 21
- Views: 4799
Re: Multiplayer Demo
Can the clients be notified of server shutdown? ping seems useful in this regard, if you can't get a response from the server after let's say 5s then alert client with the option to disconnect. If the client has to receive a disconnect message then an unexpected server shutdown could leave the clie...
- Thu Aug 22, 2013 6:22 pm
- Forum: General
- Topic: Overllaping matrices
- Replies: 13
- Views: 7792
Re: Overllaping matrices
from my naive mind, do a rectangle intersection for each axis. obviously it's a bad idea as you only need 8 points...
- Thu Aug 22, 2013 4:16 pm
- Forum: Libraries and Tools
- Topic: Löve Frames - A GUI Library
- Replies: 406
- Views: 353698
Re: Löve Frames - A GUI Library
I don't have a github account so starting at line #693 in objects/textinput.lua if loveversion == "0.9.0" then unicode = string.byte(unicode) end what about nil unicode? (ie a function key) if loveversion == "0.9.0" then unicode = unicode and string.byte(unicode) or -1 end Or the...
- Mon Jul 29, 2013 11:47 pm
- Forum: Support and Development
- Topic: Looking for a .nds or .gba exporter
- Replies: 19
- Views: 12909
Re: Looking for a .nds or .gba exporter
Also, all numbers in lua are floats whereas the DS has no FPU (floating point unit) on either of its processors and would require software conversion -- further eating up your meager allotment of clock cycles. You're definitely correct here, but he could build lua with just integers instead of doub...
- Fri Jul 05, 2013 7:53 pm
- Forum: Libraries and Tools
- Topic: LuaSQLite3 - Cross Platform Binary Collection
- Replies: 12
- Views: 8930
Re: LuaSQLite3 - Cross Platform Binary Collection
bizarre. I tried to require the windows-x86 and simply "lua.dll" not found, which is odd.