Search found 2 matches

by Neekoy
Thu Dec 31, 2015 1:58 am
Forum: Support and Development
Topic: Using separate files for some functionality
Replies: 2
Views: 931

Re: Using separate files for some functionality

Sorry, after some trial and error it turned out that I can define functions in any file, then "require" it, and then call those functions under whichever LOVE function I want. Well, since I already wasted your time reading this thread, I think I'd at least say that the engine is great and ...
by Neekoy
Thu Dec 31, 2015 12:41 am
Forum: Support and Development
Topic: Using separate files for some functionality
Replies: 2
Views: 931

Using separate files for some functionality

Heya :) I'm pretty new here and had a quick question. I'd like to separate some of the functionality in other files, however I'm not sure how to include their functionality in the love.draw(), love.update() and etc. functions. To be more specific, I'd like to create a window and have all the informa...