Skip to content

Bachelor Degree Project developed for the dome at Visualiseringscenter C.

License

Notifications You must be signed in to change notification settings

pannacotta98/DomeDagen

Repository files navigation

DomeDagen

A multi-player game made for the dome theatre at Visualiseringscenter C as a Bachelor's project in Media Technology at Linköping University during the spring of 2020. The code stub given in SGCT-Networked-Application was used as the foundation for the project.

To clone this repository, don't forget to recurse submodules: git clone --recurse-submodules https://github.com/Lrssn/DomeDagen.git or the dependent libraries will not work correctly.

Getting started

  1. Execute npm install in the webserver folder
  2. Compile the application
  3. Start the web server with node server.js in the webserver folder
  4. Start the application
  5. Connect from a second device

In the current version, it is necessary to start the server before starting the application, as the application will only try to connect once at startup.

Configurations

Currently, the server and application addresses are encoded in several places that all have to be changed:

  1. Create config.json in /webserver without comments

    {
        "serverAddress":"ws://192.168.0.103",   //ip to your local server
        "gameAddress":"::ffff:127.0.0.1",       //ip to gameserver localhost when on your own machine
        "gamePort":"8081",                      //port to gameserver
        "serverPort":"8081"                     //port to your local server
    } 
    
  2. The ip and port at which the game application will try to connect to to the webserver is set in config.ini in the root directory, ex:

    [Network]
    ip = localhost
    port = 81

About

Bachelor Degree Project developed for the dome at Visualiseringscenter C.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published