bitmapfont=type:BitmapFont, bitmap:(font.png;font X3.png;font X3.png), columns:10, rows:6
bitmapfontBright=type:BitmapFont, bitmap:(fontBright.png;fontBright X3.png;fontBright X3.png), columns:10, rows:6
bitmapfontProp=type:BitmapFont, bitmap:(propFont13.png; propFont13 X2.png; propFont13 X3.png), columns:91, rows:1, startCode:32, caseConvertion:0, monospace:FALSE

CHMN_LD = piece
CHMN_MD = piece X2
CHMN_HD = piece X3

piece_0 = type:Texture, src:({CHMN_LD}/p0.gif; {CHMN_MD}/p0.gif; {CHMN_HD}/p0.gif)
piece_1 = type:Texture, src:({CHMN_LD}/p1.gif; {CHMN_MD}/p1.gif; {CHMN_HD}/p1.gif)
piece_2 = type:Texture, src:({CHMN_LD}/p2.gif; {CHMN_MD}/p2.gif; {CHMN_HD}/p2.gif)
piece_3 = type:Texture, src:({CHMN_LD}/p3.gif; {CHMN_MD}/p3.gif; {CHMN_HD}/p3.gif)
piece_4 = type:Texture, src:({CHMN_LD}/p4.gif; {CHMN_MD}/p4.gif; {CHMN_HD}/p4.gif)
piece_5 = type:Texture, src:({CHMN_LD}/p5.gif; {CHMN_MD}/p5.gif; {CHMN_HD}/p5.gif)
piece_6 = type:Texture, src:({CHMN_LD}/p6.gif; {CHMN_MD}/p6.gif; {CHMN_HD}/p6.gif)
piece_7 = type:Texture, src:({CHMN_LD}/p7.gif; {CHMN_MD}/p7.gif; {CHMN_HD}/p7.gif)
piece_8 = type:Texture, src:({CHMN_LD}/p8.gif; {CHMN_MD}/p8.gif; {CHMN_HD}/p8.gif)
piece_9 = type:Texture, src:({CHMN_LD}/p9.gif; {CHMN_MD}/p9.gif; {CHMN_HD}/p9.gif)

#========== SCENE GAME ===================
sceneGame=type:SceneSprite, x:CENTER, y:CENTER, width:240, height:240, navigationMode:DVD_MODE
sptSceneBKG=type:Sprite, container:sceneGame, x:CENTER, y:CENTER, width:400, height:400, texture:bkg.png, textureTiling:TRUE

sptBoard=type:Sprite, container:sceneGame, x: 18, y: 23, width:164, height:164, color:(80;80;80), frame:(100;100;100), frameBevel:1, frameBevelThickness:4
sptBoardFrame=type:Sprite, container:sceneGame, x:23, y:28, width:154, height:154, color:(80;80;80), frame:(100;100;100), frameBevel:2
sptBoardCell = type:Sprite, container:sceneGame, GUIType:BUTTON, number:9, width:40, height:40, color:(70;70;70), frame:(100;100;100), frameBevel:2, frameBevelThickness:1
sptSideCell = type:Sprite, container:sceneGame, GUIType:BUTTON, number:9, texture:sideCellBkg.png, frame:(0;0;0), frameBevel:2

sptTileGroup = type:GUIType:CHECKBOXGROUP
sptTile = type:Sprite, container:sceneGame, GUIType:CHECKBOX, group:sptTileGroup, number:9, textColor:(255;255;255), textShadow:(0;0;0), textOffsetX:-3, textOffsetY:-7

btnExit = type:Sprite, GUIType:BUTTON, container:sceneGame, x:155, y:0, texture:(exitButton.png; exitButton X2.png; exitButton X3.png), textureBright:(exitButtonBright.png; exitButtonBright X2.png; exitButtonBright X3.png), defaultFocus:TRUE, z:1000
btnHelp = type:Sprite, GUIType:BUTTON, container:sceneGame, x:185, y:0, texture:(helpButton.png; helpButton X2.png; helpButton X3.png), textureBright:(helpButtonBright.png; helpButtonBright X2.png; helpButtonBright X3.png), z:1001
btnSound = type:Sprite, GUIType:CHECKBOX, container:sceneGame, x:215, y:0, texture:(soundButton.png; soundButton X2.png; soundButton X3.png), textureBright:(soundButtonBright.png; soundButtonBright X2.png; soundButtonBright X3.png), status:0, persistent:TRUE, z:1008
btnRotR = type:Sprite, GUIType:BUTTON, container:sceneGame, x:125, y:0, texture:(rotateButtonRight.png; rotateButtonRight X2.png; rotateButtonRight X3.png), textureBright:(rotateButtonRightBright.png; rotateButtonRightBright X2.png; rotateButtonRightBright X3.png), z:1003
btnRotL = type:Sprite, GUIType:BUTTON, container:sceneGame, x:95, y:0, texture:(rotateButtonLeft.png; rotateButtonLeft X2.png; rotateButtonLeft X3.png), textureBright:(rotateButtonLeftBright.png; rotateButtonLeftBright X2.png; rotateButtonLeftBright X3.png), z:1002

txtTime = type:Sprite, container:sceneGame, x:2, y:5, width:40, height:20, textSize:13, bitmapFont:bitmapfontProp, textColor:(255;255;255), textBold:1
txtLevel= type:Sprite, container:sceneGame, x:45, y:5, width:50, height:20, textSize:13, bitmapFont:bitmapfontProp, textColor:(255;255;255), textBold:1

#============= SCENE HELP ===============
sceneHelp = type:SceneSprite, x:CENTER, y:CENTER, width:240, height:240, navigationMode:DVD_MODE, visible:FALSE
sptHelpBox=type:Sprite, container:sceneHelp, x:5, y:5, width:230, height:230, frame:(0;0;0), color:(40;40;40)
txtHelpTitle=type:Sprite, container:sceneHelp, x:5, y:5, width:230, height:20, textShadow:(0;0;0), textAlignment:CENTER, bitmapFont:bitmapfontBright, textColor:(139;192;41), textBold:1, LTID:HELP_TITLE, text:Game Help
txtGameObjectiveTittle=type:Sprite, container:sceneHelp, x:5, y:22, width:230, height:20, textSize:14, textShadow:(0;0;0), textAlignment:LEFT, bitmapFont:bitmapfontBright, textColor:(139;192;41), textBold:1, LTID:OBJECTIVE, text:Game Objective
txtGameRulesTittle=type:Sprite, container:sceneHelp, x:5, y:77, width:230, height:20, textSize:14, textShadow:(0;0;0), textAlignment:LEFT, bitmapFont:bitmapfontBright, textColor:(139;192;41), textBold:1, LTID:HOW_TO_PLAY, text:How to Play

TEXT_BOX = container:sceneHelp, x:7, width:226, textSize:13, textPadding:0, textFormatted:TRUE, bitmapFont:bitmapfontProp, textColor:(255;255;255)
txtGameObjective=type:Sprite, y:38, height:50, {TEXT_BOX}, \
	LTID:OBJ_TXT, text:Place all the tiles on the board. A tile may only be placed next to another tile if they have matching edges.
txtGameRules=type:Sprite, y:93, height:142, {TEXT_BOX}, \
	LTID:HOW_TO_PLAY_TXT, text:Select a tile you want to move, then select an empty cell you want the tile to move to. \
	If moving to a board cell, tile won't be moved unless its edges match with the chosen cell's neighbours'. \
	If moving to a side cell, tile won't be moved unless it's currently on board. \
	Active tile will have a red frame. \
	Some tiles will be rotated as you advance the levels.

btnHelpClose=type:Sprite, container:sceneHelp, GUIType:BUTTON, x:180, y:10, width:50, height:16, textColor:(255;255;255), textAlignment:CENTER, textUnderline:FALSE, textSize:13, bitmapFont:bitmapfontProp, textShadow:(0;0;0), LTID:CLOSE, text:Close, defaultFocus:TRUE

#============= SCENE MESSAGEBOX ===============
sceneMessageBox = type:SceneSprite, x:10, y:80, width:256, height:64, \
	virtualContainerWidth:240, virtualContainerHeight:240, visible:FALSE, navigationMode:DVD_MODE
sptBoxFrame = type:Sprite, container:sceneMessageBox, x:0, y:0, texture:msgboxframe.png
btnYes 	= type:Sprite, GUIType:BUTTON, container:sceneMessageBox, x:60, y:40, texture:button.png, textureBright:buttonBright.png, \
	textShadow:(0;0;0), textAlignment:CENTER, textOffsetY:2, textSize:14, textColor:(50;50;150), bitmapFont:bitmapfont, bitmapFontBright:bitmapfontBright, textColor:(111;111;111), textColorBright:(139;192;41), textBold:1, LTID:YES, text:Yes
btnNo 	= type:Sprite, GUIType:BUTTON, container:sceneMessageBox, x:120, y:40, texture:button.png, textureBright:buttonBright.png, \
	textShadow:(0;0;0), textAlignment:CENTER, textOffsetY:2, textSize:14, textColor:(50;50;150), bitmapFont:bitmapfont, bitmapFontBright:bitmapfontBright, textColor:(111;111;111), textColorBright:(139;192;41), textBold:1, LTID:NO, text:No
btnOk 	= type:Sprite, GUIType:BUTTON, container:sceneMessageBox, x:90, y:40, texture:button.png, textureBright:buttonBright.png, \
	textShadow:(0;0;0), textAlignment:CENTER, textOffsetY:2, textSize:14, textColor:(50;50;150), bitmapFont:bitmapfont, bitmapFontBright:bitmapfontBright, textColor:(111;111;111), textColorBright:(139;192;41), textBold:1, LTID:OK, text:Ok
sptMessage = type:Sprite, container:sceneMessageBox, x:10, y:8, width:200, height:32, \
	textShadow:(0;0;0), textAlignment:CENTER, bitmapFont:bitmapfontBright, textColor:(139;192;41), textBold:1, textSize:16
sptMessageContext = type:Sprite, container:sceneMessageBox, x:0, y:0, width:10, height:10, visible:FALSE

#================= SOUND & MUSIC =====================
enterLevel=type:Sound, src:..\Sounds\newLevel.wav
click=type:Sound, src:..\Sounds\ding.wav
unmatch=type:Sound, src:..\Sounds\mistake.wav
win=type:Sound, src:..\Sounds\wow.wav
lose=type:Sound, src:..\Sounds\fail.wav
