Battle Arena
Dependencies
- Unity 4.6
- Ruby
Setting up the environment
Downloading Battle Arena
git clone [email protected]:mpereira/battle-arena.git
Setting up Unity
- Open Unity.
- Click your way to
Edit > Project Settings > Player
- Make sure the
Run In Background*
checkbox underResolution and Presentation
is checked. - Make sure the
Api Compatibility Level
select underOther Settings
is set to ".NET 2.0". - Click
File > Open Project
,Open Other...
and then select the Battle Arena git repository directory.
Now you should see "Starting REPL..." in the Unity Console and a "ClojureRepl" window. Unity is ready to run some Clojure!
Running Battle Arena
In the Battle Arena git repository directory:
./load.sh
Now you should see a populated scene in the Unity window. If you press the play button you should be able to click around to move the blue block.
Interacting with the game
$ ruby Assets/Arcadia/Editor/repl-client.rb
; Arcadia REPL
; Clojure 1.7.0-master-SNAPSHOT
; Unity 4.6.1f1 (d1db7a1b5196)
; Mono 2.6.5 (tarball)
user=>
TODO