Construct inspired modules for regular programming

0 favourites
  • 1 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • ( This is a pure conception, inspired by Construct, Node Machines, ES6)

    Like this:

    import buddy from people;
    import narrator from voices;
    import database from machines;
    
    on( buddy.events.onCreated or ship.events.onUnloaded ){
      narrator.actions.say("New buddy has arrived!");
      buddy.actions.blink({time: 2}, function(){
        // on blink finished
        narrator.actions.say("Buddy is waiting orders.");
      });
    }
    
    const masterDb = new database;
    masterDb.actions.connect({
      dbUrl: "...",
      dbUser: "...",
      dbPass: "..."
      dbPass: "...",
    });
    
    on( masterDb.events.onConnected ){
      console.log( masterDb.expressions.listCollections );
    }[/code:ryyyy82s]
    
    Think it would be useful for making projects directly from code?
    Ps. this would also allow to create editor for any JS Code (and possibly other languages).
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)