I was wondering. I’ve been building a project and I wanted to see if I can separate out some code that I might want to use later in other projects.
So in my case, I’ve made an on-screen control, and it’s a lengthy blob of code that loads images and positions things into a display group. I’d like to maybe reuse this, and move it to a separate file called “conrtoller.lua”. Any tips on how to do this? Do I look into modules that I require? I’ve been looking around and I can’t really seem to find a simple explanation.
Thanks [import]uid: 100618 topic_id: 32064 reply_id: 332064[/import]