2022年 10月 31日
タイトル画面の設定と製作者の画面を作った。

設定

内容も表示も前に作ったゲーム画面から入れるオプション画面のものと同じで、必要なものだけを抜粋してる。
あ、表題の「ゲームを始める」は「設定」にでも書き換えないと、忘れてた。
製作者(クレジット CREDIT)


全 2画面。
文字類は全部、英語と日本語を切り替えられるように作っている、まあ大した英語ではないけど。
クレジットは両併記。
この他、前に作ったオプション画面等の日本語化も全部済んだ。
文字グラはまとめに入ってる。

製作者表示のソース
////////// CREDIT //////////
#deffunc cre_put
gmode 2 : gmulcolor 255,255,255
; 背景
pos 0,0 : celput opt1w
if creditf=0 {
x=0 : y=19 : k1=64 : k2=57
pos x-2,y : celput crew,0 : y+=k1+3
pos x+2,y : celput crew,1 : y+=k2+1 ;P
pos x-1,y : celput crew,2 : y+=k1
pos x-1,y : celput crew,3 : y+=k2+3 ;R
pos x-3,y : celput crew,4 : y+=k1-1
pos x+5,y : celput crew,5 : y+=k2-11;G
pos x-3,y : celput crew,6 : y+=k2+2
pos x+0,y : celput crew,7 : y+=k1+2
pos x-1,y : celput crew,8 : y+=k2-10;S
pos x-4,y : celput crew,9 : y+=k2+1
pos x-2,y : celput crew,10 : y+=k1+6
pos x+0,y : celput crew,29 : y+=k2-5 ;C
pos x+9,y : celput crew,30 : y+=k1+4
pos x-4,y : celput crew,11 : y+=k2-2 ;U
pos x+3,y : celput crew,12 : y+=k2-4
pos x-7,y : celput crew,13
}
if creditf=1 {
x=0 : y=16 : k1=76 : k2=61
pos x-8,y : celput crew,14 : y+=k1-4
pos x-2,y : celput crew,15 : y+=k2-2 ;M
pos x+2,y : celput crew,16 : y+=k1-2
pos x+2,y : celput crew,17 : y+=k2 ;T
pos x+1,y : celput crew,18 : y+=k1+1
pos x+0,y : celput crew,19 : y+=k2-0 ;MAP
pos x-2,y : celput crew,20 : y+=k2-16
pos x+3,y : celput crew,21 : y+=k2+1
pos x-1,y : celput crew,22 : y+=k2-9
pos x-3,y : celput crew,23 : y+=k2+2
pos x+1,y : celput crew,24 : y+=k1+0
pos x-1,y : celput crew,25 : y+=k2+2 ;SOUND
pos x+0,y : celput crew,26 : y+=k2+3
pos x-4,y : celput crew,27 : y+=k2-4
pos x+1,y : celput crew,28 : y+=k2-0
}
return
*credit
creditf=0
kwc=10
repeat
k=0 ; 入力リセット
repeat 1
if kwc>0 : kwc- : break ; ウエイト
stick k,256 ; マウスボタン、スマホクリック
if k=0 : break
kwc=10
creditf+
mmplay 3
loop
if creditf=2 : break
redraw 0
cre_put
redraw 1
await 1000/50
loop
return
後は細々としたバグを直してる。
軍師が強すぎたので 6にするダイスの選定を変えた。
最初は「ランダムに振りなおし」だったんだけど、これだと弱すぎた。
なので「小さい順に 6にする」にしたら強すぎた。
今度は「ランダムに 6にする」にした、まあ少し弱い感じだけど「攻撃時 +ダイス数」「防衛時 +ダイス数」ユニットとのバランス的には良いかもしれない。
つまり攻撃専門なら「攻撃時 +ダイス数」の方が強いけど、軍師の場合攻守両面で使えるので、こんな感じかな。
以上で表示関係は概ね終わった。
音声も終わっているので、後は文字グラのまとめが終わったら最終的な実機テストに入れると思う。