I don't believe such library exists in ANY language. Select & transform tools depends on your implementation of storing, rendering and picking objects. You could try to find tiny open-sourced graphics editor and look at its code, but wouldn't it be easer to make these tools yourself from scratch...
Sure. You have to use custom shader(s) and mesh vertex format like this: local vs = [[extern mat4 model; extern mat4 projection; extern mat4 view; vec4 position(mat4 transform_projection, vec4 vertex_position) { return projection * view * model * vertex_position; }]] local format = {{"VertexPos...
Hmm. Using *.so library on Windows looks strange for me. Shouldn't you compile as a *.dll? Also AFAIK to load dynamic library from current directory you should call ffi.load("<your library>", true). At least on Linux. EDIT: Sorry, my statement about ffi.load "global" flag was inc...
Only in the sense if your game would actually need cryptographically secure random numbers, and i'd wager that's nowhere near true. Agreed! @EliterScripts, it can be right the opposite on how to generate random numbers for games. Good explanation here: http://howtomakeanrpg.com/a/better-than-dice.h...
I think this issue is not about tables. Your "enemy" table is global AND is also child of table "enemystuff". So enemy.y is correct expression.
But you asking if a > enemy.y i.e. if 10 > 100 which is obviously is never true.