annotate README @ 0:0fae5658fb0b

Initial revision
author gongo
date Thu, 02 Nov 2006 08:55:19 +0000
parents
children ce9ef7dcf2f0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
1 /*
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
2 * $Id$
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
3 *
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
4 * 2006/02/24 とりあえずできました。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
5 *
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
6 * 2006/02/20 すいませんまだ作成中です
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
7 * 1,2日中には必ず!
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
8 */
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
9
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
10 なにか問題有りましたら連絡ください (gongo@cr.ie.u-ryukyu.ac.jp)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
11
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
12
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
13 MAKE:
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
14 % make
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
15
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
16 CLEAN:
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
17 % make clean
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
18
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
19
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
20 [2P通信対戦]
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
21
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
22 あらかじめ ./Makefile の DEFINES で
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
23 -DLINDA
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
24 が定義されているか確認して make してください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
25
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
26 (起動) ====================================
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
27 Linda Server: % ./ldserv
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
28 Player 1: % ./main
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
29 Player 2: % ./main
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
30
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
31 ・Linda ServerのIPは ./linda.c の
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
32 # define LINDA_HOST
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
33 に記述されています。デフォルトは 133.13.49.195 (firefly.cr)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
34 ./ldserv は LINDA_HOST にて指定したマシンで実行してください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
35
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
36 ・1P及び2Pは実行の順番で決まります(最初に実行した人が1P)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
37
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
38 <例>
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
39 [gongo@firefly]% ./ldserv (サーバー起動)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
40
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
41 [gongo@mammaaiuto]% ./main (これが1P)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
42
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
43 [gongo@gina]% ./main (これが2P)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
44
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
45 (タイトル画面→車、コースの選択) ============================
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
46
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
47 [注意] --------------------------
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
48 ここは主に1Pが操作します。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
49 2Pができる操作は
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
50
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
51 車の選択
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
52
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
53 だけです。その他の
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
54
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
55 コースの選択
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
56 次に進む
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
57
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
58 みたいなことは全て1Pにお任せしてください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
59 「2Pが車を選択する前に1Pが勝手に次に進む」みたいなことで
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
60 友情を壊さないよう気をつけてください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
61 ---------------------------------
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
62
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
63 1Pは、2Pが起動するまでは何も操作できず
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
64 画面に「waiting...」の文字が表示されます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
65 2Pが起動すると両方の画面に「Connect OK!!」と表示され、
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
66 1P側には「PUSH START」と出ます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
67 そこでスタートボタンを押すとタイトルにいきます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
68
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
69 タイトル画面が表示されたら、1P側がスタートボタンを押し、
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
70 車選択画面へと移行します。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
71
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
72 十字キーの左右で車を選択してください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
73 選択し終わったら1Pが○ボタンを押して次に進みます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
74
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
75 十字キーの左右でコースを選択してください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
76 ここでは1Pしか操作できません。1Pに委ねてください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
77 選択し終わったら1Pが○ボタンを押して次に進みます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
78
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
79 自分が選んだ車とコースが、それぞれの画面に表示されます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
80 ○ボタン: レース開始
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
81 x ボタン: コースの選択に戻る
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
82
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
83 (レース) ====================================
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
84
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
85 コースが表示され、続いて車が出てきます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
86 2台が被って登場しますが、今は気にしないでください
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
87
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
88 基本操作
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
89 丸ボタン : 加速
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
90 罰ボタン : 減速
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
91 十字キー(右) : 右回転
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
92 十字キー(左) : 左回転
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
93 R1ボタン : 視点変更(運転席目線<->後方目線)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
94
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
95 スタートボタン: ポーズ(1Pのみ可能)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
96
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
97 スタートは各自で確かめ合ってスタートしてください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
98 基本は3周勝負です。当然、先に3周したほうの勝ち。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
99
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
100 壁(コース外)にあたると強制速度0になります。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
101
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
102
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
103 (ポーズ) ===================================
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
104
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
105 2P
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
106 「Pause...」と出て何もできなくなります。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
107 1P
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
108 BACK TO GAME # ゲームに戻ります
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
109 GO TO TITLE # レース終了(GAME OVERに進む)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
110 上のどちらかを十字キーの上下で選択して
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
111 丸ボタンを押します。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
112 もしくは、スタートを押せばゲームに戻ります。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
113
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
114 (ゴール) ===================================
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
115
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
116 どちらかがゴールした時点で終了。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
117 勝った方の画面に「You WIN!!」、
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
118 負けた方の画面に「You Lose..」と出ます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
119
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
120 1Pがスタートボタンを押せば終了します。(GAME OVERに進む)
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
121
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
122 (GAME OVER) ===================================
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
123
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
124 1Pがスタートボタンを押せばタイトルに戻ります
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
125
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
126 ===============================================
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
127
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
128
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
129
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
130
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
131 [1Pでゲーム]
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
132
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
133 ./Makefile の DEFINES で
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
134 -DLINDA
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
135 が定義「されていない」ことを確認してください。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
136
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
137
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
138 実行
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
139 % ./main
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
140
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
141 2Pと違い、すぐにタイトル画面が出ます。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
142 移行の操作は2P対戦と同じです。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
143
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
144 タイトル画面でしばらく(10秒?ほど)待つと
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
145 デモ画面が流れます。開発者のプレイです。微妙です。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
146
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
147 デモ画面でスタートを押すか、
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
148 デモが終了すればタイトルに戻ります。
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
149