Snappy Cobra - Global Game Jame Game 2018.
Clone or download
Latest commit ffb33a7 Jan 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Assets
ProjectSettings Added game title. Jan 28, 2018
UnityPackageManager
snappy_server
test_Data
webclient put client code in snappy server Jan 27, 2018
.gitignore
README.md
test.x86_64 opened stuff on WM's ArchLinux version of Unity, 2017.3.0p2 Jan 25, 2018

README.md

GGJ18

A game developed for the Global Game Jam 2018!

🔩 Build and Run

This is a Unity project, so simply open the project from Unity and build it. The project is setup under Unity 2017.3.0 Windows, other versions might work, but are not officially supported!. Linux users might try this build.

💼 Branch Workflow

Development

The development branch (or branches related to it) contains all active work.

Master

The master branch contains all work that is production-ready. Before anything can be merged into master, it must be approved by a pull-request!

🎮 Unity Workflow

Within the Scenes folder, there is space for an ignored KlootScenes folder. This folder is for you to mess around with on your own, the folder is never commited such that you do not need to worry about merge conflicts.

Keep in mind: merge conflicts are truly avoided by proper communication!

Installing and running Elixir for the server code:

The server code is contained in te snappy_server folder.

To install Elixir, I recommend using the asdf version manager.

https://github.com/asdf-vm/asdf

You'll need Erlang, Elixir and nodejs.

asdf plugin-add erlang
asdf plugin-add elixir
asdf plugin-add nodejs

# If problems during installing Erlang, install these packages first: https://github.com/asdf-vm/asdf-erlang#before-asdf-install
asdf install erlang 20.1
asdf global erlang 20.1

asdf install elixir 1.5.2
asdf global elixir 1.5.2

asdf install nodejs 9.4.0
asdf global nodejs 9.4.0

Then, go to the snappy_server folder and run mix deps.get to install the Elixir dependencies.

Then, go to the snappy_server/assets folder, and install the nodejs dependencies using npm install.

Then, you can start the server from snapp_server by typing mix phx.server.

While running this in your terminal, start the game in Unity. It will attempt to connect at (for now) port 8002.

The web-view for on phones can (for now) be seen at port 4000.