Skip to content

Commit

Permalink
spawn codes
Browse files Browse the repository at this point in the history
  • Loading branch information
seann999 committed Mar 21, 2017
1 parent bb01d85 commit 01709b3
Show file tree
Hide file tree
Showing 9 changed files with 37 additions and 2 deletions.
17 changes: 16 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,22 @@ setup:
2. replace lis/gym_client/gym/envs/unity folder with unity folder included here

for manual play:
$> ./test.x86_64 5000 10 0 0
./test.x86_64 <port> <render_every> <msg_server_every> <use_server> <object_spawn>
$> ./test.x86_64 5000 10 0 0 abbbc

controls for manual play:
WASD to move, space to grab

spawn code:
a = サイコロ
b = ダンベル
c = ボール(テニス)
d = マグカップ
e = マラッカ
f = ボール(バスケ)
g = ボール(サッカー)
h = アンドロイドマスコット

example:
aaggdh
-> サイコロ2個、サッカーボール2個、マグカップ1個、アンドロイド1個
20 changes: 20 additions & 0 deletions README.txt~
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
setup:
1. install lis
2. replace lis/gym_client/gym/envs/unity folder with unity folder included here

for manual play:
./test.x86_64 <port> <render_every> <msg_server_every> <use_server> <object_spawn>
$> ./test.x86_64 5000 10 0 0 abbbc

controls for manual play:
WASD to move, space to grab

spawn code:
a = サイコロ
b = ダンベル
c = ボール(テニス)
d = マグカップ
e = マラッカ
f = ボール(バスケ)
g = ボール(サッカー)
h = アンドロイドマスコット
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
game_processes = []

# port render_freq msg_freq server
game_processes.append(subprocess.Popen("./test.x86_64 5000 50 10 1", shell=True, stdout=subprocess.PIPE, preexec_fn=os.setsid))
game_processes.append(subprocess.Popen("./test.x86_64 5000 50 10 1 abc", shell=True, stdout=subprocess.PIPE, preexec_fn=os.setsid))

time.sleep(7)

Expand Down
Binary file modified test_Data/Managed/Assembly-CSharp-firstpass.dll
Binary file not shown.
Binary file modified test_Data/Managed/Assembly-CSharp.dll
Binary file not shown.
Binary file modified test_Data/globalgamemanagers
Binary file not shown.
Binary file modified test_Data/globalgamemanagers.assets
Binary file not shown.
Binary file modified test_Data/level0
Binary file not shown.
Binary file modified test_Data/sharedassets0.assets
Binary file not shown.

0 comments on commit 01709b3

Please sign in to comment.