LoginSignup
2
0

More than 5 years have passed since last update.

「クラウドゲームをつくる技術」で解説されているゲームライブラリ moyai の動かし方

Posted at

概要

githubのサンプル、もしくは本の275ページから書いてあるけど、すぐに解らなかったので。

「クラウドゲームをつくる技術」
https://gihyo.jp/book/2018/978-4-7741-9941-2

ゲームライブラリ moyai サンプル
https://github.com/kengonakajima/moyai_samples

環境
Mac OS 10.14 + Xcode 10.1

インストール


xcode-select --install
git clone https://github.com/kengonakajima/moyai_samples
cd moyai_samples
git submodule update --init
brew install autoconf
brew install automake

#moyai を make
cd moyai
make

#moyai_samples を make
cd ..
make
#※ OpenGL API が deprecated である warning が出るが動く。

起動

サーバー起動
※ キャラクターが表示されるまで十数秒かかります


./min --ss

viewer起動(別ターミナルで)

./viewer
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0