Giter VIP home page Giter VIP logo

ynoclient's Introduction

EasyRPG Player online fork

Adds multiplayer functionality.

Builds for the emscripten target only.

Server: https://github.com/twig33/orbs

Documentation

Documentation is available at the documentation wiki: https://wiki.easyrpg.org

Configuring

Change the server url as needed in game_multiplayer.cpp:

const std::string server_url = "wss://dry-lowlands-62918.herokuapp.com/";

Building

Follow these steps:

  1. Download required tools and dependencies for ynoclient.

    • cmake 3.10 or higher
    • meson & ninja (You'll need python3-pip package to install meson build system)
    • automake
    • autoconf
    • libtool
    • m4
  2. Set up emscripten toolchain

cd
mkdir workdir
cd workdir
git clone https://github.com/EasyRPG/buildscripts
cd buildscripts
cd emscripten
./0_build_everything.sh
cd emsdk-portable
source ./emsdk_env.sh
  1. Build liblcf
cd ~/workdir
git clone https://github.com/EasyRPG/liblcf
cd liblcf
export EM_PKG_CONFIG_PATH=$HOME/workdir/buildscripts/emscripten/lib/pkgconfig
autoreconf -fi
emconfigure ./configure --prefix=$HOME/workdir/buildscripts/emscripten --disable-shared
make install
  1. Build ynoclient
cd ~/workdir
git clone https://github.com/twig33/ynoclient
cd ynoclient
./cmake_build.sh
cd build
ninja

The files you want are build/index.wasm and build/index.js

Source files of interest

Check the initial commit.

ynoclient's People

Contributors

ghabry avatar fmatthew5876 avatar fdelapena avatar carstene1ns avatar zegeri avatar take-cheeze avatar glynnc avatar blisterb avatar vgvgf avatar rinnegatamante avatar scurest avatar albeleon avatar rohkea avatar flashfyre avatar shin-nil avatar marianognu avatar tondorian avatar christianbreitwieser avatar kakurasan avatar johannschopplich avatar tyrone-sudeium avatar rikku2000 avatar 20kdc avatar sorlok avatar bszili avatar twig33 avatar lobomon avatar dblobster avatar lotharsm avatar horahoradev 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.