Btw, someone mentioned that functions are kept in the global environment as well. Could one do this:
Code: Select all
local function thisFunctionIsOnlyForThisFile()
--stuff
end
Code: Select all
local function thisFunctionIsOnlyForThisFile()
--stuff
end
Ugh, here I am again, with my "GML" knowledge where fps and game logic is the same thing. (well at least you could uncouple them tho)zorg wrote:@KayleMaster: That caps frames per second, it does not give you a constant rate for logic, or anything Nilxoc wanted to do.
raidho36 wrote:
Yes your GameMaker background is apparent from the way you code.
Code: Select all
local chunk_width = 15
function get_chunk_width()
return chunk_width
end