Code Monkey home page Code Monkey logo

bolt-sample's Introduction

Disclaimer

This folder contains a set of samples built on top of Bolt, that can be downloaded directly from the repository at https://github.com/BoltEngine/Bolt-Sample, where you can find the latest version of them or it can come inside the Bolt Free SDK from Asset Store (https://assetstore.unity.com/packages/tools/network/photon-bolt-free-127156).

Bolt Samples

This repository will contain a series of samples made using Photon Bolt. They are intended to help understand how Bolt works and use it properly. This repository is not restricted to ExitGame developers and should be used by the community to learn, improve and share their own results using Bolt.

Samples Documentation

This repository contains samples that highlight the most important Bolt features. The following samples are included:

Sample Description Documentation Source
Getting Started Overview on Bolt and its capabilities link link
Advanced Tutorial More complex example using Bolt link link
PhotonCloud How to init Bolt to work on top of Photon Cloud or custom hosted Photon servers --- link
ClickToMove A simple, server-authoritative example for moving a character by clicking on terrain --- link
ThirdPersonCharacter Multiplayer versions of the Unity TPC demo, both with and without server authoritative movement --- link
HeadlessServer A simple example of how to run Bolt in headless mode for server purpose link link
ServerMonitor Monitor a Bolt server using a standalone client. --- link
Zeuz A simple example of dedicated Bolt server hosted by zeuz. Requires AdvancedTutorial. WIP link

Running the Samples

  1. Create a new Unity project;
  2. Download Photon Bolt Free from Asset Store;
  3. Follow the instructions on the Wizard Window. If it did not show up, run it from Window/Bolt/Wizard;
  4. Download this repository and place it inside your Unity Project. Download link;
  5. Replace the Bolt Assets files:
    1. data/bolt.user.dll.backup -> Assets/Photon/PhotonBolt/assemblies/bolt.user.dll;
    2. data/project.bytes.backup -> Assets/Photon/PhotonBolt/project.bytes
  6. Compile Bolt: Assets/Bolt/Compile Assembly.

Any of the gameplay scenes from the included samples can be directly tested from Bolt's Scenes window (found on Window/Bolt/Scenes by following the instructions below:

  1. Make sure the scene is added to Unity's Build Settings.
    • If you skip this, Bolt's Scene window won't show any scene.
  2. Edit the Player Settings to make sure Run in Background is enabled!
    • The demos must be able to run in background. If you can't control the clients, or don't see coordinated movement, Run in Background is probably not set.
  3. Open Window/Bolt/Scenes and click Debug Start to start any of the samples.
    • This will build and run the demo in Editor and (at least) 1 client.

bolt-sample's People

Contributors

tykev avatar ramonmelo avatar herpdederp avatar starburst997 avatar

Watchers

James Cloos 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.