0 Favourites

Construct inspired modules for regular programming

  • ( 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).
  • Construct 3

    Buy Construct 3

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

    Buy 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)