This is my attempt to simplify CS2D's Lua API. It was inspired by
![user](img/i_friend.png)
![thread](img/i_forum.png)
![cs2d](img/icons/cs2d.png)
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
![user](img/i_friend.png)
![file](img/i_file.png)
![cs2d](img/icons/cs2d.png)
2× editiert, zuletzt 16.12.17 23:44:31
Zugelassen von SQ
Download
13 kb, 414 Downloads