user modules folder?

About Monkey 2 Forums Monkey 2 Programming Help user modules folder?

This topic contains 11 replies, has 5 voices, and was last updated by  cocon 1 year, 9 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #9089

    EdzUp
    Participant

    Is there a way to allow MX2 to access a separate user module folder?

    MX1 had the modules directories in the config that you could add the user modules to the path.

    #9091

    abakobo
    Participant

    I’ve never seen such thing..

    #9092

    Mark Sibly
    Keymaster

    Will probably happen eventually, but isn’t high priority right now.

    #9094

    EdzUp
    Participant

    OK 🙂

    #9095

    Mark Sibly
    Keymaster

    Creating a github issue would help remind me…

    #9096

    EdzUp
    Participant

    will do 🙂

    #9102

    cocon
    Participant

    What this would be? To use dynamic libraries instead of sources?

    #9103

    EdzUp
    Participant

    Basically you have a module folder that when compiling MX2 looks at for imports and includes etc. This makes it so you can have one copy of your source code and edit that instead of copying it for each project.

     

    In MX1 I had a edzup folder with Ultim in the list so a simple import and it was there from any source code anywhere.

    #9104

    therevills
    Participant

    +1 for this from me!

    #9125

    cocon
    Participant

    Now I got the idea for a workaround, to use full path imports: #Import “C:/___.monkey2”

    However by doing some tests it seems that it doesn’t work, only relative paths work.

    #9127

    EdzUp
    Participant

    @cocon: also running mx2 from a USB key is impossible using paths as the drive letter changes.

    #9133

    cocon
    Participant
Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.