TeButtonLayout {
	name = "puzzleAstralTheme",
	sizeType = Percent, size = {1.0, 1.0},

	TeSpriteLayout {
		name = "background",
		sizeType = Percent, size = {1.0, 1.0},	
		ratioMode = PanScan,			
		image = "2D/puzzles/AstralTheme/ZZA12212210001.png",
		
		
		TeButtonLayout {
			name = "backgroundButton",
			sizeType = Percent, size = {1.0, 1.0},			
		},
		
		TeLayout {
			sizeType = Percent, size = {3/4, 1.0},	
			positionType = Percent, position = {675/1365, 0.5},		
			
			TeLayout {
				name = "quadrant0",
				sizeType = Percent, size = {768/1024, 768/768},	
				positionType = Percent, position = {517/1024, 413/768},
				TeSpriteLayout {
					anchor = {0.5, 1.0},
					sizeType = Percent, size = {100/768, 384/768},			
					image = "2D/puzzles/AstralTheme/ZFA12212210001.png",
				},	
				TeButtonLayout {
					name = "button0",
					position = {0.5, 0.12},
					validationSound = "Sounds/SFX/ChoixMenu.wav",
					sizeType = Percent, size = {40/768, 70/768},				
				},
				TeSpriteLayout {
					name = "marker0",
					position = {0.5, 0.1},
					image = "2D/Menus/InGame/Marker_1_over.png",
				},
			},
			TeLayout {
				name = "quadrant1",
				sizeType = Percent, size = {768/1024, 768/768},	
				positionType = Percent, position = {517/1024, 413/768},
				TeSpriteLayout {
					anchor = {0.5, 1.0},
					sizeType = Percent, size = {100/768, 384/768},					
					image = "2D/puzzles/AstralTheme/ZJA12212210001.png",
				},	
				TeButtonLayout {
					name = "button1",
					position = {0.5, 0.12},
					validationSound = "Sounds/SFX/ChoixMenu.wav",
					sizeType = Percent, size = {40/768, 70/768},				
				},	
				TeSpriteLayout {
					name = "marker1",
					position = {0.5, 0.1},
					image = "2D/Menus/InGame/Marker_1_over.png",
				},
			},
			TeLayout {
				name = "quadrant2",
				sizeType = Percent, size = {768/1024, 768/768},	
				positionType = Percent, position = {517/1024, 413/768},
				TeSpriteLayout {
					anchor = {0.5, 1.0},
					sizeType = Percent, size = {100/768, 384/768},					
					image = "2D/puzzles/AstralTheme/ZHA12212210001.png",
				},	
				TeButtonLayout {
					name = "button2",
					position = {0.5, 0.12},
					validationSound = "Sounds/SFX/ChoixMenu.wav",
					sizeType = Percent, size = {40/768, 70/768},			
				},	
				TeSpriteLayout {
					name = "marker2",
					position = {0.5, 0.1},
					image = "2D/Menus/InGame/Marker_1_over.png",
				},			
			},
			TeLayout {
				name = "quadrant3",
				sizeType = Percent, size = {768/1024, 768/768},	
				positionType = Percent, position = {517/1024, 413/768},
				TeSpriteLayout {
					anchor = {0.5, 1.0},
					sizeType = Percent, size = {100/768, 384/768},					
					image = "2D/puzzles/AstralTheme/ZLA12212210001.png",
				},	
				TeButtonLayout {
					name = "button3",
					position = {0.5, 0.12},
					validationSound = "Sounds/SFX/ChoixMenu.wav",
					sizeType = Percent, size = {40/768, 70/768},			
				},	
				TeSpriteLayout {
					name = "marker3",
					position = {0.5, 0.1},
					image = "2D/Menus/InGame/Marker_1_over.png",
				},			
			},		
			TeLayout {
				name = "quadrant4",
				sizeType = Percent, size = {768/1024, 768/768},	
				positionType = Percent, position = {517/1024, 413/768},
				TeSpriteLayout {
					anchor = {0.5, 1.0},
					sizeType = Percent, size = {100/768, 384/768},					
					image = "2D/puzzles/AstralTheme/ZBA12212210001.png",
				},
				TeButtonLayout {
					name = "button4",
					position = {0.5, 0.12},
					validationSound = "Sounds/SFX/ChoixMenu.wav",
					sizeType = Percent, size = {40/768, 70/768},			
				},		
				TeSpriteLayout {
					name = "marker4",
					position = {0.5, 0.1},
					image = "2D/Menus/InGame/Marker_1_over.png",
				},			
			},	
			TeLayout {
				name = "quadrant5",
				sizeType = Percent, size = {768/1024, 768/768},	
				positionType = Percent, position = {517/1024, 413/768},
				TeSpriteLayout {
					anchor = {0.5, 1.0},
					sizeType = Percent, size = {100/768, 384/768},					
					image = "2D/puzzles/AstralTheme/ZDA12212210001.png",
				},
				TeButtonLayout {
					name = "button5",
					position = {0.5, 0.12},
					validationSound = "Sounds/SFX/ChoixMenu.wav",
					sizeType = Percent, size = {40/768, 70/768},			
				},		
				TeSpriteLayout {
					name = "marker5",
					position = {0.5, 0.1},
					image = "2D/Menus/InGame/Marker_1_over.png",
				},			
			},			
			TeButtonLayout {
				name = "scrollButton",
				sizeType = Percent, size = {1.0, 1.0}
			},	
			
			TeButtonLayout {
				name = "quitButton",
				position = {0.83, 0.07},
				validationSound = "Sounds/SFX/Clic_Retour.wav",
				upLayout = TeSpriteLayout {
					image = "2D/btn_back.png",
				},
				downLayout = TeSpriteLayout {
					image = "2D/btn_backOver.png",
				}
			},	
			TeCheckboxLayout {
				name = "helpButton",
				position = {0.83, 0.93},
				activationSound = "Sounds/SFX/Clic_Deb-fin.wav",
				unactivationSound = "Sounds/SFX/Clic_Deb-fin.wav",
				unactiveLayout = TeSpriteLayout {
					image = "2D/Menus/InGame/Help.png",
				},
				activeLayout = TeSpriteLayout {
					image = "2D/Menus/InGame/Help_over.png",
				},
				hitZone = TeLayout {
					sizeType = Percent, size = {1.5, 1.5},
				},		
			},			
			TeButtonLayout {
				name = "diaryButton",
				position = {0.90, 0.5},
				validationSound = "Sounds/SFX/Clic_Retour.wav",
				upLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/DiaryButton.png",
				},
				hitZone = TeLayout {
					sizeType = Percent, size = {1.5, 1.5},
				},		
			},				
				
			TeButtonLayout {
				name = "dizainePlusButton",
				position = {458/1024, 55/768},	
				anchor = {0.5, 1.0},
				sizeType = Percent, size = {30/1024, 28/768},		
				validationSound = "Sounds/SFX/Clic_Retour.wav",
				upLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/ZSA12212210001.png",
					sizeType = Percent, size = {1.0, 1.0},				
				},
				downLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/ZSA12212210004.png",
					sizeType = Percent, size = {1.0, 1.0},				
				},
				hitZone = TeLayout {
					position = {0.5, 0.5},
					sizeType = Percent, size = {1.5, 1.5},
				},				
			},	
			TeSpriteLayout {
				name = "dizaineCountText",
				position = {488/1024, 42/768},	
				anchor = {0.0, 0.0},		
				sizeType = Percent, size = {19/1024, 32/768},				
			},
			TeButtonLayout {
				name = "dizaineMinusButton",
				position = {458/1024, 64/768},	
				anchor = {0.5, 0.0},
				sizeType = Percent, size = {30/1024, 28/768},				
				validationSound = "Sounds/SFX/Clic_Retour.wav",
				upLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/ZTA12212210001.png",
					sizeType = Percent, size = {1.0, 1.0},				
				},
				downLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/ZTA12212210004.png",
					sizeType = Percent, size = {1.0, 1.0},
				},
				hitZone = TeLayout {
					position = {0.5, 0.5},
					sizeType = Percent, size = {1.5, 1.5},
				},				
			},
		
			TeButtonLayout {
				name = "unitPlusButton",
				position = {569/1024, 55/768},	
				anchor = {0.5, 1.0},
				sizeType = Percent, size = {30/1024, 28/768},				
				validationSound = "Sounds/SFX/Clic_Retour.wav",
				upLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/ZSA12212210001.png",
					sizeType = Percent, size = {1.0, 1.0},				
				},
				downLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/ZSA12212210004.png",
					sizeType = Percent, size = {1.0, 1.0},				
				},
				hitZone = TeLayout {
					position = {0.5, 0.5},
					sizeType = Percent, size = {1.5, 1.5},
				},				
			},	
			TeSpriteLayout {
				name = "unitCountText",
				position = {520/1024, 42/768},	
				anchor = {0.0, 0.0},	
				sizeType = Percent, size = {19/1024, 32/768},				
			},	
			TeButtonLayout {
				name = "unitMinusButton",
				position = {569/1024, 63/768},	
				anchor = {0.5, 0.0},
				sizeType = Percent, size = {30/1024, 28/768},				
				validationSound = "Sounds/SFX/Clic_Retour.wav",
				upLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/ZTA12212210001.png",
					sizeType = Percent, size = {1.0, 1.0},				
				},
				downLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/ZTA12212210004.png",
					sizeType = Percent, size = {1.0, 1.0},
				},
				hitZone = TeLayout {
					position = {0.5, 0.5},
					sizeType = Percent, size = {1.5, 1.5},
				},				
			},		
			TeButtonLayout {
				name = "diary",
				sizeType = Percent, size = {1.0, 1.0},				
				upLayout = TeSpriteLayout {
					image = "2D/puzzles/AstralTheme/Diary.png",		
					sizeType = Percent, size = {1.0, 1.0},				
				},		
				
				TeButtonLayout {
					name = "diaryQuitButton",
					position = {0.5, 1.0},	
					anchor = {0.5, 1.0},
					sizeType = Percent, size = {60/480, 60/320},				
					validationSound = "Sounds/SFX/Clic_Retour.wav",			
				},			
			},			
		},
	},
}

positionCount = 6

quadrant0Offset = 24 + 15
quadrant1Offset = 6 + 15
quadrant2Offset = 14 + 15
quadrant3Offset = 30 + 4 + 15
quadrant4Offset = 30 + 26 + 15
quadrant5Offset = 20 + 15

quadrant0Solution = 2 * 30 + 24 + 15
quadrant1Solution = 4 * 30 + 6 + 15
quadrant2Solution = 2 * 30 + 14 + 15
quadrant3Solution = 11 * 30 + 4 + 15
quadrant4Solution = 5 * 30 + 26 + 15
quadrant5Solution = 0 * 30 + 20 + 15

quadrant0RevolutionPerYear = 4.1666666666666666666666666666667
quadrant1RevolutionPerYear = 1.6129032258064516129032258064516
quadrant2RevolutionPerYear = 0.53191489361702127659574468085106
quadrant3RevolutionPerYear = 13.518518518518518518518518518519
quadrant4RevolutionPerYear = 0.084317032040472175379426644182125
quadrant5RevolutionPerYear = 0.033944331296673455532926001357773

TeRotationLinearAnimation {
	name = "rotate0", duration = 500, curve = {0.0, 0.03, 0.1, 0.3, 0.5, 0.7, 0.9, 0.97, 1.0},
}
TeRotationLinearAnimation {
	name = "rotate1", duration = 500, curve = {0.0, 0.03, 0.1, 0.3, 0.5, 0.7, 0.9, 0.97, 1.0},
}
TeRotationLinearAnimation {
	name = "rotate2", duration = 500, curve = {0.0, 0.03, 0.1, 0.3, 0.5, 0.7, 0.9, 0.97, 1.0},
}
TeRotationLinearAnimation {
	name = "rotate3", duration = 500, curve = {0.0, 0.03, 0.1, 0.3, 0.5, 0.7, 0.9, 0.97, 1.0},
}
TeRotationLinearAnimation {
	name = "rotate4", duration = 500, curve = {0.0, 0.03, 0.1, 0.3, 0.5, 0.7, 0.9, 0.97, 1.0},
}
TeRotationLinearAnimation {
	name = "rotate5", duration = 500, curve = {0.0, 0.03, 0.1, 0.3, 0.5, 0.7, 0.9, 0.97, 1.0},
}