CaTcatM200 / ynoclient

EasyRPG Player online fork

Home Page:https://easyrpg.org/player/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EasyRPG Player online fork

Adds multiplayer functionality.

-Syncs other players sprites and movement.

-Syncs other players SFX with volume depending on distance to the player.

-Syncs other players weather graphics.

-Syncs other players animation frames.

-Syncs other players facing direction.

-Adds posibility of switch sync (custom switch whitelist needed for each game)

-Displays players nicknames over player sprites.

-Adds API for main player sprite change.

-Adds chat API and in-game chat.

Builds for the emscripten target only.

Server: https://gitlab.com/CataractJustice/YNOnline

Documentation

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

Building

Follow these steps:

  1. 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.

About

EasyRPG Player online fork

https://easyrpg.org/player/

License:GNU General Public License v3.0


Languages

Language:C++ 91.1%Language:Java 4.1%Language:CMake 2.1%Language:Makefile 1.1%Language:HTML 0.5%Language:M4 0.3%Language:Ruby 0.2%Language:Shell 0.2%Language:Python 0.1%Language:JavaScript 0.1%Language:Perl 0.0%Language:Objective-C++ 0.0%Language:Batchfile 0.0%Language:PHP 0.0%