Giter Site home page Giter Site logo

linecode / replication Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fg123/replication

0.0 0.0 0.0 552.18 MB

Replication is a network-replicated 3D game engine that runs on the browser, written from scratch in C++.

Shell 0.01% JavaScript 0.84% C++ 91.23% C 7.11% OpenEdge ABL 0.01% CSS 0.01% Makefile 0.10% HTML 0.02% CMake 0.03% GLSL 0.41% Dockerfile 0.01% Roff 0.08% CWeb 0.15%

replication's Introduction

Replication

Replication is a 3D game engine written from scratch in C++.

Features

  • Game Client Runs on the browser via WebAssembly and WebGL
  • Network Replication of Game Objects with client-side prediction and interpolation
  • Fast(ish) Deferred Renderer with support for
    • Global Shadow Mapping (CSM)
    • Skysphere
    • Dynamic Realtime Lighting
    • Post-processing (Bloom, SSAA, Tone Mapping)
    • Transparent and semi-transparent textures
  • Physics Engine for multi-phase collision between different primitive types
    • Static Mesh
    • AABB and OBB
    • Sphere
  • Game object scripting built on WendyScript

Prerequisites

You will need:

- NodeJS / NPM to serve the client side pages and Webpack the client side code
- build-essentials to build the server (C++ 17)
- emscripten toolchain to build the client side engine in WebAssembly

Running

With all those installed, open one terminal instance to serve the client service:

npm install
npm run dev

And open one terminal to build and run the server:

cd server
make
bin/game_server

replication's People

Contributors

dependabot[bot] avatar fg123 avatar solomonyu 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.