
My contribution to this project is to do a small TIPS checklist for newcomers:
Create a new main.lua in the PARENT folder of your main source code (i.e. go up one folder and create a main.lua file). This will be your sstrict script.
Add the following to that new main.lua:
Code: Select all
require("sstrict")
require("Source.main")
Some coding practices that sstrict is expecting:
- functions need to be declared as local functions
Code: Select all
local function foo()
end
Code: Select all
local function foo()
local msg = "Hello foo"
print(msg)
end
Code: Select all
local function foo()
local msg = "Hello foo"
print(msg)
end
love.load()
foo()
end