; this file permit change skin of game and make intros/demos


; in [config] section we can change time (in seconds) for intro 
; in this example time are 20 seconds, 10 for "KOTAI PRESENTS" and 10 for menu of game
; when time finish intro return to begining
[config]
time_loop = 20


; in [menu] section we configure the main menu of game
; time_in are time (in seconds) from intro when main menu is showed
; time_out are time (in seconds) from intro when main menu is hide
; if main menu hide (time not between time_in and time_out) and we push a key time is put to time_in and main menu show
; with "font_???" we can change font style, color, size, shadow and color (color1=letters and color2=shadow) for main menu
; with "???_x" and "???_y" we change position X and Y from menus (offline, join, create...)
[menu]
time_in=10
time_out=18

font_name   = Gradion Txt Style III
font_size   = 9
font_shadow = 2
font_color1 = A3C3FF
font_color2 = 000000
font_color3 = FF0000
font_bold   = 1
font_italic = 0

offline_x   = 310
offline_y   = 180 
join_x      = 310
join_y      = 210
create_x    = 310
create_y    = 240
hiscores_x  = 310
hiscores_y  = 270
options_x   = 310
options_y   = 300
exit_x      = 310
exit_y      = 330


; with [menu_picture_???] we can make up to 1000 [000..999] pictures for menu/intro
; pictures with lower index [000 to 999] are under pictures with hi index ("menu_picture_003" are over "menu_picture_002" but under "menu_picture_005")
; alpha=255 are solid image and alpha=0 are invisible
; with frames_h we indicate how many subimages (frames) are in horizontal
; with frames_v we indicate how many subimages (frames) are in vertical
; if transparent=1 all pixels with same color of [left,bottom] are invisible
; if we set bkcolor to value (not blank) when picture is showed bakground color of game set to color
; image only visible between time_in and time_out (in seconds)
; fade_in and fade_out are in seconds. fade_out is set when time_out  (if time_out=5 and fade_out=2 image are visible up to time=7 (5+2))
; we can crete up to 100 "movements" [00..99]
; x[00..99] x position (movement is from x[i-1] to x[i])
; y[00..99] y position (movement is from y[i-1] to y[i])
; wait[00..99] indicate wait time after movement finish to change to next movement 
; anim_spd[00..99] is speed of animation in this movement. if image have more than one subimage (frames_h > 1 or frames_v > 1) we have change animation speed (more value more speed)
; anim_ini[00..99] is first subimage in this movement
; anim_end[00..99] is last subimage in this movement
; loops[00..99] we change number of repetitions for complete animation with value loops. loops=1 only one complete animation.  loops=0 infinite loop for animation
; speed[00..99] is a speed of chage x[i-1],y[i-1] to x[i],y[i]

[menu_picture_000]
x00         = -40
y00         = 0
wait00 	    = 0
anim_spd00  = 0
anim_ini00  = 0	
anim_end00  = 0	
loops00     = 0
speed00     = 0
bmp         = fondoD.bmp
alpha       = 255
frames_h    = 1
frames_v    = 1
transparent = 0
bkcolor	    = 000000
time_in     = 9
time_out    = 18
fade_in	    = 1
fade_out    = 2


[menu_picture_001]
x00         = 230
y00         = 165
wait00      = 0
anim_spd00  = 0
anim_ini00  = 0	
anim_end00  = 0	
loops00     = 0
speed00     = 0
bmp         = blue_rectangle.bmp
alpha       = 120
frames_h    = 1
frames_v    = 1
transparent = 0
bkcolor     =
time_in     = 10
time_out    = 18
fade_in	    = 0
fade_out    = 2


[menu_picture_002]
x00         = 150
y00         = 130
wait00      = 0
anim_spd00  = 0
anim_ini00  = 0	
anim_end00  = 0	
loops00	    = 0
speed00     = 0
bmp         = kotai.bmp
alpha       = 255
frames_h    = 1
frames_v    = 1
transparent = 0
bkcolor     = FFFFFF
time_in     = 0
time_out    = 7
fade_in	    = 0
fade_out    = 2


[menu_picture_003]
x00         = 150
y00         = 130
wait00      = 0
anim_spd00  = 0
anim_ini00  = 0	
anim_end00  = 0	
loops00     = 0
speed00     = 0
x01         = 150
y01         = 250
wait01      = 0
anim_spd01  = 0
anim_ini01  = 0	
anim_end01  = 0	
loops01     = 0
speed01     = 30
bmp         = hidekotai.bmp
alpha       = 255
frames_h    = 1
frames_v    = 1
transparent = 0
bkcolor     = 
time_in     = 0
time_out    = 7
fade_in	    = 0
fade_out    = 0


[menu_picture_004]
x00         = 270
y00         = 280
wait00      = 0
anim_spd00  = 0
anim_ini00  = 0	
anim_end00  = 0	
loops00     = 0
speed00     = 0
bmp         = presents.bmp
alpha       = 255
frames_h    = 1
frames_v    = 1
transparent = 0
bkcolor     = 
time_in     = 4
time_out    = 7
fade_in	    = 2
fade_out    = 2


; we can add up to 100 [00..99] musics for intro/menu
; valid formats for music are MP3, OGG and MID
; loop are for infinite loops
; fade_in and fade_out are in seconds
; volumen is in % [20%..100%]
[menu_music_00]
file     = menu.mp3
time_in  = 10
time_out = 19
fade_in  = 0
fade_out = 0
loop     = 1
volumen	 = 80



; in [chat] section we configure the game in cockpit page
; with music we can change music (only one music) from cockpit page
; "display_???" are display for chat and summary of stage
[chat]
music = chat.mp3

cockpit_x           = -40
cockpit_y           = 0
cockpit_bmp         = cockpit.bmp
cockpit_frames_h    = 1
cockpit_frames_v    = 1
cockpit_anim_spd    = 0
cockpit_alpha       = 255
cockpit_transparent = 1


display_x           = 82
display_y           = 1
display_bmp         = display.bmp
display_frames_h    = 3
display_frames_v    = 6
display_alpha       = 255
display_transparent = 1

preview_x = 261
preview_y = 293

lcd_font_name   = verdana
lcd_font_size   = 10 
lcd_font_color  = 252512 
lcd_font_bold   = 0
lcd_font_italic = 0

lcd_stage_name_x      = 262
lcd_stage_name_y      = 392
lcd_stage_name_width  = 118
lcd_stage_name_height = 17

lcd_level_x      = 357
lcd_level_y      = 407
lcd_level_width  = 25
lcd_level_height = 17

lcd_description_x      = 264
lcd_description_y      = 407
lcd_description_width  = 90
lcd_descripcion_height = 17

players_font_name   = MS Sans Serif
players_font_size   = 8
players_font_color  = FF0708
players_font_bold   = 1
players_font_italic = 0

player1_led_x      = 95
player1_led_y      = 380
player1_led_bmp    = ledsleft.bmp
player1_name_x     = 126
player1_name_y     = 384
player1_name_width = 65
player1_name_height = 15

player2_led_x      = 81
player2_led_y      = 403
player2_led_bmp    = ledsleft.bmp
player2_name_x     = 116 
player2_name_y     = 408
player2_name_width = 70
player2_name_height = 15

player3_led_x      = 65
player3_led_y      = 430
player3_led_bmp    = ledsleft.bmp
player3_name_x     = 102
player3_name_y     = 434
player3_name_width = 75
player3_name_height = 15

player4_led_x      = 49
player4_led_y      = 456
player4_led_bmp    = ledsleft.bmp
player4_name_x     = 85
player4_name_y     = 460
player4_name_width = 85
player4_name_height = 15

player5_led_x      = 523
player5_led_y      = 378
player5_led_bmp    = ledsright.bmp
player5_name_x     = 445
player5_name_y     = 384
player5_name_width = 65
player5_name_height = 15

player6_led_x      = 538
player6_led_y      = 403
player6_led_bmp    = ledsright.bmp
player6_name_x     = 452
player6_name_y     = 408
player6_name_width = 70
player6_name_height = 15

player7_led_x      = 554
player7_led_y      = 430
player7_led_bmp    = ledsright.bmp
player7_name_x     = 460
player7_name_y     = 434
player7_name_width = 75
player7_name_height = 15

player8_led_x      = 570
player8_led_y      = 455
player8_led_bmp    = ledsright.bmp
player8_name_x     = 466
player8_name_y     = 460
player8_name_width = 85
player8_name_height = 15

menu_font_name   = SonicCutThru Hv BT 
menu_font_size1  = 9
menu_font_size2  = 16
menu_font_color1 = 00FF00 
menu_font_color2 = FFFF00
menu_font_color3 = 800000 

menu_x     = 242
menu_y     = 452
menu_width = 160
menu_bmp_x = 208
menu_bmp_y = 456

menu_chat_x     = 206
menu_chat_y     = 441
menu_chat_width = 45
menu_chat_bmp   = menuchat.bmp

menu_play_x     = 255
menu_play_y     = 441
menu_play_width = 62
menu_play_bmp   = menuplay.bmp

menu_exit_x     = 321
menu_exit_y     = 441
menu_exit_width = 50
menu_exit_bmp   = menuexit.bmp

menu_stage_x     = 375
menu_stage_y     = 441
menu_stage_width = 55
menu_stage_bmp   = menustage.bmp

lives_x   = 406
lives_y   = 334
lives_bmp = live.bmp
max_lives = 5

;secction [chat_picture_??] is like [menu_picture_??] up to 100 pictures/animations for cockpit page but not time, all pictures show simultaneously


[chat_picture_00]
x           = 127
y           = 311
bmp         = animacion1.bmp
alpha       = 255
frames_h    = 5
frames_v    = 1
anim_spd    = 5
transparent = 1

[chat_picture_01]
x           = 528
y           = 323
bmp         = animacion2.bmp
alpha       = 255
frames_h    = 8
frames_v    = 1
anim_spd    = 100
transparent = 1

[chat_picture_02]
x           = 137
y           = 333
bmp         = animacion3.bmp
alpha       = 255
frames_h    = 3
frames_v    = 1
anim_spd    = 20
transparent = 1

[chat_picture_03]
x           = 35
y           = 357
bmp         = animacion4.bmp
alpha       = 255
frames_h    = 7
frames_v    = 1
anim_spd    = 80
transparent = 1

[chat_picture_04]
x           = -1
y           = 382
bmp         = animacion4.bmp
alpha       = 255
frames_h    = 7
frames_v    = 1
anim_spd    = 10
transparent = 1
