What's the difference between load and require?
Posted: Fri Nov 21, 2014 10:00 pm
I've tested a demo with a simple key press showed with a text on game window and it works in both cases:
what's the difference?
Code: Select all
-- a file with load
love.filesystem.load("keypress.lua")()
-- a file with require
require "keypress"