Warning: Division by zero in /home/peachround/peachround.com/public_html/wp-content/plugins/advanced-responsive-video-embedder/php/functions-misc.php on line 75
Script Preview
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#============================================================================== # ★RGSS2 # STR36_1/100秒タイマー v0.8 08/05/11 # # ・タイマーを1/100秒まで表示、ちょっとだけ見た目強化。 # #============================================================================== # ■ Sprite_Timer #============================================================================== class Sprite_Timer < Sprite # テキスト FONTNAME = "Arial" # タイマーのフォント FONTSIZE = 32 # 数字の大きさ TEXTEDGR = true # 数字を縁取りする TEXTCOLO = Color.new(255,255,255) # 通常色 TEXTFCOL = Color.new(64,32,128) # 縁取り色 # スプライト位置 XY = {:x => 410, :y => 0} # :x = X :y = Y # 数字一桁あたりのサイズ NUM_WH = {:w => 16, :h => 36} # :w = 幅 :h = 高さ # その他 DRAWSKIP = 1 # 描画スキップ (1 以上の値を指定) NUMBER = ["0","1","2","3","4","5","6","7","8","9",":","."] |