Here is my folder structure:
src/config/objects/bird.lua
src/objects/Bird.lua
In Bird.lua, I tried to import src/config/objects/bird.lua by using:
package.path = package.path .. ';../config/objects/?.lua'
local BIRD = require("bird")
But it doesn't work and no module is found. What I'm doing wrong ?
Here is my error screen:
