lua-cmake
moonsharp
lua-cmake | moonsharp | |
---|---|---|
1 | 4 | |
26 | 1,361 | |
- | 0.8% | |
10.0 | 0.0 | |
over 3 years ago | 5 months ago | |
CMake | C# | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lua-cmake
-
Lua: Good, Bad, and Ugly Parts
Lua is a very nice piece of technology. Its source code is pretty easy to get into, the documentation is complete.
It has its quirks yes, but if I need to add scripting to a software, I'd consider Lua before considering writing a DSL, simply because you can pretty much embed Lua's source in your C/C++ software as a static library[0].
The stack-based approach makes it so easy to interact with C/C++, and I've been looking at the Rust bindings[1] recently out of curiosity, looks promising.
[0] - https://github.com/lubgr/lua-cmake
moonsharp
-
MoonSharp or How we combined JSON and LUA for game ability management
Some of you may be familiar with MoonSharp LUA interpreter for C#, often use in Unity engine to add scripting support to your game. That's what we took as a base for writing the code for abilities. Each ability can subscribe to different events such as whenever a card takes damage, is placed on the field or ability is used manually on some specific targets. Besides having event handlers we needed a way to specify some metadata like mana cost of abilities, cooldown, icon, etc. and in the first iteration of the system we had a pair of JSON metadata file and LUA code file.
-
Edit script on running game?
Rather than making your own language, just add Lua to your project. Moonsharp is pretty good with Unity...
- Can I change unity coding language?
- Lua: Good, Bad, and Ugly Parts
What are some alternatives?
fengari - 🌙 φεγγάρι - The Lua VM written in JS ES6 for Node and the browser
luau - A fast, small, safe, gradually typed embeddable scripting language derived from Lua
atom-tabletopsimulator-lua - Tabletop Simulator scripting package for Atom.
mlua
fungus - An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
piccolo - An experimental stackless Lua VM implemented in pure Rust
IntelliJ-Luanalysis - Type-safe Lua IDE — IntelliJ IDEA plugin
lua-lockbox - A collection of cryptographic primitives written in pure Lua
gopher-lua - GopherLua: VM and compiler for Lua in Go
rlua - High level Lua bindings to Rust
DistorteD - Ruby multimedia toolkit with deep Jekyll integration 🧪