Urho3D/bin/NinjaSnowWar.sh
2015-11-03 17:46:56 +08:00

14 lines
716 B
Bash
Executable File

#!/usr/bin/env bash
# To avoid cacophony of multiple background music when testing with multiple connections on the same test machine,
# start all the other non-headless connections with '-nobgm' argument.
# E.g. 1 - headless server
# Start the server with "./NinjaSnowWar.sh -headless -server"
# Start the first client with "./NinjaSnowWar.sh -w -address `hostname`"
# Start the subsequent clients on the same host with "./NinjaSnowWar.sh -w -nobgm -address `hostname`"
#
# E.g. 2 - non-headless server
# Start the server with "./NinjaSnowWar.sh -w -server"
# Start the client on the same host with "./NinjaSnowWar.sh -w -nobgm -address `hostname`"
#
$(dirname $0)/Urho3DPlayer Scripts/NinjaSnowWar.as $@