Skip to content

Getting Started with the new version of the MiddleWare

nautuan edited this page Aug 23, 2024 · 14 revisions

Getting Started with the new version of the MiddleWare

Launch Gama

https://gama-platform.org/download

Launch the Middleware

  • Install latest version of NodeJS : https://nodejs.org/en
  • Clone the repository
  • Open the project into a terminal then enter those command lines :
    • npm install
    • npm start
  • Open on browser the link showed in the terminal
  • (there will be an error, to resolve it) : Open the project folder, or file explorer and rename src/components/navigation/navigation.tsx to src/components/Navigation/Navigation.tsx
  • Back on the app, Click on a simulation card
  • Click on button Try connection to connect to Gama (if gama still not launch )
  • Click on start button to launch the simulation, you will see on gama charging the experience
  • Possibility after to Click on Pause or End button

Launch Unity

  • Open with Unity, the "Unity Template" folder from the simple.toolchain project:
  • On the /ManagersSolo/Connection Manager file put this : default IP : localhost default port : 8080 image
  • Then select the scene by clicking on it from this path on unity : Assets/Scenes/Single Player Game/ Main Scene
    image
  • launch it by clicking on the play button at the top of the Unity Window : image

Results

  • Simulation launched on unity : image
  • On Gama :

image

  • On MiddleWare : image

We can see on the middleware one connected headset connected to Middleware 👍