Search found 3 matches

by TheJebForge
Sat Aug 22, 2015 9:22 am
Forum: Support and Development
Topic: How to run a lua file
Replies: 7
Views: 12695

Re: How to run a lua file

Put something like this in a separate file: local Foo = {}; function Foo.someFunction() ... end return Foo; and then in your main file: local Foo = require("Foo"); -- Call function from other module. Foo.someFunction(); Also if you want to do options and stuff like that you should read ab...
by TheJebForge
Fri Aug 21, 2015 10:40 pm
Forum: Support and Development
Topic: How to run a lua file
Replies: 7
Views: 12695

Re: How to run a lua file

I want to run other love script. Like options... Or actual game... Sorry for not accurate post.
by TheJebForge
Wed Aug 19, 2015 9:55 pm
Forum: Support and Development
Topic: How to run a lua file
Replies: 7
Views: 12695

How to run a lua file

I was searching it in wiki, but didn't found it. How do I run other lua file?