Git Product home page Git Product logo

cry-spatialos's Introduction

CrySpatialOS ("crysos")

SpatialOS 11 integration for CRYENGINE 5.4

Directory Structure

sdk

sdk contains the C++ files to be included in your CRYENGINE project to integrate with SpatialOS.

tools

tools contains the project ComponentGenerator, which is used to generate CRYENGINE Entity Components to mirror your SpatialOS components for use within CRYENGINE from C++ and/or Schematyc.

tps-example

This is a simple third-person shooter game template produced using the integration.

Building The Example Project

  1. Ensure CryENGINE 5.4 or later and spatial are installed
  2. Run spatial worker build from the tps-example directory (which will build the game-worker)
  3. Generate the solution for tps-client by right-clicking Game.cryproject
  4. Build the solution in Visual Studio to provide the tps-client worker. (See below section for more information)
  5. Run spatial local launch from the tps-example directory
  6. Run GameWorker.exe 0 from the appropriate output directory (we arbitrarily give it worker ID 0)
  7. Run any number of clients by right-clicking Game.cryproject and selecting Run Game (or the exe generated from the Package Build option)

Building tps-client

At the moment it is currently required to use the generated code provided in the git repository as it has been modified to include default constructors. Building the solution will overwrite these files (on first build) so it is necessary to checkout these files (tps-client/Code/Generated) once they have been overwritten.

tps-client should also be built in the Profile or Release build configuration - linking in the Debug configuration currently fails.

cry-spatialos's People

Contributors

shivammistry avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.