Skip to content

Commit

Permalink
Merge pull request #1 from fishtopher/master
Browse files Browse the repository at this point in the history
Updated unitydocs to include extra steps that I had to do for a fresh install
  • Loading branch information
greggman committed Apr 22, 2014
2 parents a8ce8bb + 920cb7f commit ebe4d4f
Showing 1 changed file with 19 additions and 2 deletions.
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

0 comments on commit ebe4d4f

Please sign in to comment.