Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Project Tiny for Nodejs

Discussion in 'Project Tiny' started by Rehkitz, Jan 14, 2019.

  1. Rehkitz

    Rehkitz

    Joined:
    Sep 9, 2015
    Posts:
    1
    Hi,
    Is it possible to run project tiny on nodejs?
    I'm thinking about creating multiplayer games and the ability to share code on the server and client running project tiny would be really cool.
     
  2. abeisgreat

    abeisgreat

    Joined:
    Nov 21, 2016
    Posts:
    44
    Compiling out for Node is not currently supported.

    However, I'm working on a turn-based online game and I've done the reverse - I wrote my server code with rules / options for Node then compiled a runtime which is included in my Tiny app which shares the same codebase as the server. This solution works well if the majority of your logic is independent from TIny, however if you intend to use your server as an authoritative source for physics, etc. then for now you're out of luck.