12 years, 2 months ago
Highlights
Community contributions featured-- the object Player = {} -- ID is set upon object load ID = nil -- define the object function Player:new() -- define our parameters here local object = { x = 0, y = 0, w = 16,…
12 years, 2 months ago
12 years, 2 months ago
Hello, it has taken me awhile to realize, but I notice that there is a spike in memory any time a lua file is being accessed, and it never goes down. I have read around t…
12 years, 2 months ago
I am a little confused as to why this happens in what I have been working on. if( game_debug == true ) { render_var( 16, 184, TEXT_LEFT, "FPS:", (int)framespersecond, true ); re…
12 years, 2 months ago
get_string is like this: char *get_string(lua_State *L, const char *key) { /* assumes there's a table at -1 this puts the table[key] value at -1 on the stack */ lua_getfield…
12 years, 2 months ago
Latest Activity
See all in Discussions-- the object Player = {} -- ID is set upon object load ID = nil -- define the object …
12 years, 2 months ago
get_string is like this: char *get_string(lua_State *L, const char *key) { /* assumes there's a table at -1 this puts …
12 years, 2 months ago
Just coming back to this, you did say use one lua state for everything. I'm not entirely sure how to …
12 years, 2 months ago