Search found 2 matches

by RawArkanis
Wed Aug 18, 2010 7:23 pm
Forum: Support and Development
Topic: Require inside require isn't working!
Replies: 3
Views: 2425

Re: Require inside require isn't working!

It sounds like you are using functions before requiring them. I'm sorry if I'm not more specific; I can't without seeing your folder structure and requires. Folder Structure: lib --graphics ----utils.lua <-- where newPaddedImage code is in --oo ----middleclass.lua --states ----sm.lua ----state.lua ...
by RawArkanis
Wed Aug 18, 2010 4:33 pm
Forum: Support and Development
Topic: Require inside require isn't working!
Replies: 3
Views: 2425

Require inside require isn't working!

Hai! This is my first post here. I'm brazillian and my english is a bit poor. Hope you can understand me. =) I have a file (utils.lua) with a code for padded imagens that i have found here in the forum. In another file I add utisl.lua with a require(). This second file (essentials.lua) is for put al...