This is my attempt to simplify CS2D's Lua API. It was inspired by



The wrapper allows you to treat players like objects (similar to classes or structures) by using tables and metatables. It also overrides a few CS2D functions to make them easier to use, while maintaining compatibility with existing code.
I'm not going to give a lot of details here because I've already written a large readme, available on github and in the file archive.
The archive also includes samples which are also available on github. These are based on the samples in sys/lua/samples and include gungame.lua and utsfx.lua.
A snippet from gungame.lua
The wrapper will detect if



edited 2×, last 16.12.17 11:44:31 pm
Approved by SQ
Download
13 kb, 447 Downloads