Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated unitydocs to include extra steps that I had to do for a fresh install #1

Merged
merged 1 commit into from
Apr 22, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions unitydocs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Unity Docs for HappyGameFun
===========================
Unity Docs for HappyFunTimes
============================

Very similar to the JavaScript version but note there is no gameclient
(something to run on a smartphone), there is only gameserver, something to
Expand All @@ -9,6 +9,23 @@ needing to install any software. The browser becomes a controller. The
game itself can be in Unity but the controllers need to be browsers
to achieve this goal.

Installation
------------
* Clone [websocket-sharp](https://github.com/sta/websocket-sharp)
* Build websocket-sharp (open the .sln in that repo, set the target to Release and hit Build)
* Copy **websocket-sharp/websocket-sharp/bin/Release/websockets-csharp.dll** to **
Assets/Plugins/WebsocketSharp** folder (you'll need to make the folder yourself)
* Clone the HappyFunTimes repo
* From **HappyFunTimes/Unity3D/** copy the **src** and **Extra** folders to **[MyProject]/Assets/Plugins/HappyFunTimes**

### Server ###

The actual server is completely seperate to the Unity project.
Follow the instructions in the main readme.md to install and run the server with node.js

Integration with your app
-------------------------

`GameServer`

In some MonoBehaviour (in other words, Add a Script Component), make `GameServer` and
Expand Down