Explorar o código

Ajout stage 0 pour briefing

François Gautrais %!s(int64=8) %!d(string=hai) anos
pai
achega
728e526a57

+ 1565 - 0
final/final (copie 1).json

@@ -0,0 +1,1565 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4931292533874512,
+					48.385768890380859
+				],
+				[
+					-4.4937028884887695,
+					48.385353088378906
+				],
+				[
+					-4.4932527542114258,
+					48.384967803955078
+				],
+				[
+					-4.4926304817199707,
+					48.385303497314453
+				]
+			],
+			"name" : "aa",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4931449890136719,
+						48.385330200195312
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "aa"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4913053512573242,
+					48.382537841796875
+				],
+				[
+					-4.4912090301513672,
+					48.381877899169922
+				],
+				[
+					-4.488161563873291,
+					48.382923126220703
+				],
+				[
+					-4.4889287948608398,
+					48.383445739746094
+				],
+				[
+					-4.4908976554870605,
+					48.382770538330078
+				]
+			],
+			"name" : "ab",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4907364845275879,
+						48.382221221923828
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ab"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4906401634216309,
+					48.382083892822266
+				],
+				[
+					-4.4920778274536133,
+					48.381664276123047
+				],
+				[
+					-4.4916753768920898,
+					48.381198883056641
+				],
+				[
+					-4.4905219078063965,
+					48.381404876708984
+				]
+			],
+			"name" : "ac",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.49114990234375,
+						48.381580352783203
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ac"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5012083053588867,
+					48.381473541259766
+				],
+				[
+					-4.5000386238098145,
+					48.381587982177734
+				],
+				[
+					-4.4994592666625977,
+					48.381111145019531
+				],
+				[
+					-4.5000762939453125,
+					48.380653381347656
+				],
+				[
+					-4.5011329650878906,
+					48.380649566650391
+				]
+			],
+			"name" : "ad",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5009450912475586,
+						48.381233215332031
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ad"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.499298095703125,
+					48.3819580078125
+				],
+				[
+					-4.4987082481384277,
+					48.381694793701172
+				],
+				[
+					-4.4997010231018066,
+					48.381172180175781
+				],
+				[
+					-4.5001726150512695,
+					48.381626129150391
+				]
+			],
+			"name" : "ae",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4994001388549805,
+						48.381622314453125
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ae"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008430480957031,
+					48.383190155029297
+				],
+				[
+					-4.5006661415100098,
+					48.38250732421875
+				],
+				[
+					-4.4998188018798828,
+					48.382408142089844
+				],
+				[
+					-4.4996414184570312,
+					48.383262634277344
+				]
+			],
+			"name" : "af",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5000972747802734,
+						48.382930755615234
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "af"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008111000061035,
+					48.386760711669922
+				],
+				[
+					-4.4985418319702148,
+					48.386512756347656
+				],
+				[
+					-4.4989442825317383,
+					48.385467529296875
+				],
+				[
+					-4.5011224746704102,
+					48.385875701904297
+				]
+			],
+			"name" : "ag",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4998936653137207,
+						48.386207580566406
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ag"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4998350143432617,
+					48.384529113769531
+				],
+				[
+					-4.4998350143432617,
+					48.384334564208984
+				],
+				[
+					-4.4990410804748535,
+					48.384193420410156
+				],
+				[
+					-4.4991855621337891,
+					48.384593963623047
+				]
+			],
+			"name" : "ah",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4993090629577637,
+						48.384357452392578
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ah"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4986867904663086,
+					48.383880615234375
+				],
+				[
+					-4.497581958770752,
+					48.384010314941406
+				],
+				[
+					-4.4972867965698242,
+					48.383296966552734
+				],
+				[
+					-4.4983649253845215,
+					48.383235931396484
+				]
+			],
+			"name" : "ai",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4981074333190918,
+						48.383739471435547
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ai"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4951572418212891,
+					48.385417938232422
+				],
+				[
+					-4.4944167137145996,
+					48.384819030761719
+				],
+				[
+					-4.4934296607971191,
+					48.385578155517578
+				],
+				[
+					-4.4937357902526855,
+					48.38580322265625
+				]
+			],
+			"name" : "ba",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940624237060547,
+						48.385536193847656
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ba"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4944005012512207,
+					48.384883880615234
+				],
+				[
+					-4.4944219589233398,
+					48.384567260742188
+				],
+				[
+					-4.4936604499816895,
+					48.384658813476562
+				],
+				[
+					-4.4927535057067871,
+					48.385341644287109
+				],
+				[
+					-4.4933972358703613,
+					48.385719299316406
+				]
+			],
+			"name" : "bb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.493462085723877,
+						48.385055541992188
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4910159111022949,
+					48.383163452148438
+				],
+				[
+					-4.4919171333312988,
+					48.382495880126953
+				],
+				[
+					-4.4929089546203613,
+					48.383102416992188
+				],
+				[
+					-4.4920511245727539,
+					48.383716583251953
+				]
+			],
+			"name" : "bc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4920401573181152,
+						48.383201599121094
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4927535057067871,
+					48.382495880126953
+				],
+				[
+					-4.493370532989502,
+					48.381828308105469
+				],
+				[
+					-4.4927325248718262,
+					48.381244659423828
+				],
+				[
+					-4.4917182922363281,
+					48.382297515869141
+				]
+			],
+			"name" : "bd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926247596740723,
+						48.381889343261719
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4977855682373047,
+					48.383388519287109
+				],
+				[
+					-4.4967446327209473,
+					48.383251190185547
+				],
+				[
+					-4.4967021942138672,
+					48.382904052734375
+				],
+				[
+					-4.497490406036377,
+					48.382442474365234
+				],
+				[
+					-4.4981775283813477,
+					48.382743835449219
+				]
+			],
+			"name" : "be",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4973726272583008,
+						48.383068084716797
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "be"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4982576370239258,
+					48.384105682373047
+				],
+				[
+					-4.4974422454833984,
+					48.384181976318359
+				],
+				[
+					-4.4970664978027344,
+					48.383697509765625
+				],
+				[
+					-4.4981236457824707,
+					48.383533477783203
+				]
+			],
+			"name" : "bf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4977583885192871,
+						48.383926391601562
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4945454597473145,
+					48.383678436279297
+				],
+				[
+					-4.4938907623291016,
+					48.384067535400391
+				],
+				[
+					-4.4930219650268555,
+					48.383338928222656
+				],
+				[
+					-4.4936981201171875,
+					48.382793426513672
+				]
+			],
+			"name" : "bg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4936871528625488,
+						48.383296966552734
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bg"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4952268600463867,
+					48.38458251953125
+				],
+				[
+					-4.4949374198913574,
+					48.384113311767578
+				],
+				[
+					-4.494481086730957,
+					48.384319305419922
+				],
+				[
+					-4.4947705268859863,
+					48.384681701660156
+				]
+			],
+			"name" : "bh",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494781494140625,
+						48.384475708007812
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bh"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4943842887878418,
+					48.385421752929688
+				],
+				[
+					-4.4940037727355957,
+					48.385261535644531
+				],
+				[
+					-4.4944114685058594,
+					48.3848876953125
+				],
+				[
+					-4.4945344924926758,
+					48.384593963623047
+				],
+				[
+					-4.4950013160705566,
+					48.384559631347656
+				],
+				[
+					-4.4951300621032715,
+					48.385051727294922
+				]
+			],
+			"name" : "ca",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494443416595459,
+						48.385124206542969
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ca"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4949531555175781,
+					48.3843994140625
+				],
+				[
+					-4.4934186935424805,
+					48.384559631347656
+				],
+				[
+					-4.4929952621459961,
+					48.384174346923828
+				],
+				[
+					-4.4942502975463867,
+					48.383811950683594
+				]
+			],
+			"name" : "cb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940090179443359,
+						48.384235382080078
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4929685592651367,
+					48.384243011474609
+				],
+				[
+					-4.4917669296264648,
+					48.383655548095703
+				],
+				[
+					-4.4926624298095703,
+					48.383022308349609
+				],
+				[
+					-4.4935851097106934,
+					48.383548736572266
+				]
+			],
+			"name" : "cc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926571846008301,
+						48.383560180664062
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4937567710876465,
+					48.382869720458984
+				],
+				[
+					-4.4929900169372559,
+					48.38336181640625
+				],
+				[
+					-4.4918203353881836,
+					48.382614135742188
+				],
+				[
+					-4.4925985336303711,
+					48.3822021484375
+				]
+			],
+			"name" : "cd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.492711067199707,
+						48.382659912109375
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4980916976928711,
+					48.383781433105469
+				],
+				[
+					-4.4969754219055176,
+					48.383941650390625
+				],
+				[
+					-4.496551513671875,
+					48.382984161376953
+				],
+				[
+					-4.4974207878112793,
+					48.382637023925781
+				]
+			],
+			"name" : "ce",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.497227668762207,
+						48.383514404296875
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ce"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4971742630004883,
+					48.3846435546875
+				],
+				[
+					-4.4968733787536621,
+					48.384017944335938
+				],
+				[
+					-4.4949855804443359,
+					48.384101867675781
+				],
+				[
+					-4.4953498840332031,
+					48.384742736816406
+				]
+			],
+			"name" : "cf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4956669807434082,
+						48.384307861328125
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4985523223876953,
+					48.384162902832031
+				],
+				[
+					-4.4976191520690918,
+					48.384227752685547
+				],
+				[
+					-4.4978070259094238,
+					48.384906768798828
+				],
+				[
+					-4.4988741874694824,
+					48.384864807128906
+				]
+			],
+			"name" : "cg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4979734420776367,
+						48.384464263916016
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cg"
+		}
+	],
+	"dir" : "/home/ptitcois/src/testmin3D",
+	"name" : "game_medium",
+	"resources" : 
+	[
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/be.jpg",
+			"name" : "aa",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bg.jpg",
+			"name" : "ab",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Carte de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bh.jpg",
+			"name" : "ac",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/ba.jpg",
+			"name" : "ad",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : " Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bb.jpg",
+			"name" : "ae",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Le tramway à Brest !",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bc.jpg",
+			"name" : "af",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo aérienne",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo ne contient pas de croix… Un indice doit se trouver vers le bâtiment où la photo a été prise. Peut-être a son entrée ?",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bd.jpg",
+			"name" : "ag",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice. Brest a beaucoup changé entre temps, mais certaines rues existent encore...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bf.jpg",
+			"name" : "ah",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une piece métalique en forme de croix de Saint André, d'où peut-elle bien provenir ?",
+			"file" : "/home/ptitcois/Documents/projet/parts/entretoises.obj",
+			"name" : "ai",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 1,
+			"title" : "Indice: Une piece mystèrieuse",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Le bâtiment montré par la croix a été détruit, il faudrait trouvé où était ce bâtiment, afin de trouver un autre indice.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cb.jpg",
+			"name" : "be",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo prise du pont",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cc.jpg",
+			"name" : "bg",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une mystèrieuse pièce métallique, qui doit provenir d'un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/balancier.obj",
+			"name" : "bh",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				180.0,
+				90.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.80000000000000004,
+				0.80000000000000004,
+				0.80000000000000004
+			],
+			"stage" : 2,
+			"title" : "Indice: Une pièce mécanique",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ce.jpg",
+			"name" : "ba",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo d'une tour",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Il faudrait retrouver l’endroit indiqué par la croix, mais Brest a beaucoup\nchangé depuis, ce qui n’est pas le cas pour toutes les rues...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cg.jpg",
+			"name" : "bb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Carte de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cf.jpg",
+			"name" : "bc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo du chateau",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ca.jpg",
+			"name" : "bd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cd.jpg",
+			"name" : "bf",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un cabestan, utilisée pour transmettre la force humaine vers un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/cabestan.obj",
+			"name" : "cb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 3,
+			"title" : "Cabestan",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un cône peut servir à pas mal de chôses, par exemple faire rouler un objet lourd.",
+			"file" : "/home/ptitcois/Documents/projet/parts/galet.obj",
+			"name" : "cc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Cône",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Des mâchoire peuvent servir à serrer très fortement un objet pour éviter qu'il bouge.",
+			"file" : "/home/ptitcois/Documents/projet/parts/machoires.obj",
+			"name" : "ce",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-15.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Mâchoires",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros verrou, comme pour une porte mais vraiment une grosse porte !",
+			"file" : "/home/ptitcois/Documents/projet/parts/verrou.obj",
+			"name" : "cg",
+			"position" : 
+			[
+				-5.0,
+				-6.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Verrou",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une roue dentée, permet de transmettre un mouvement en augmentant la force et diminuant la vitesse (ou vis versa).",
+			"file" : "/home/ptitcois/Documents/projet/parts/roue.obj",
+			"name" : "cf",
+			"position" : 
+			[
+				0.0,
+				-5.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Roues dentées",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une grosse roue dentée...",
+			"file" : "/home/ptitcois/Documents/projet/parts/couronne.obj",
+			"name" : "ca",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-5.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.20000000000000001,
+				0.20000000000000001,
+				0.20000000000000001
+			],
+			"stage" : 3,
+			"title" : "Couronne",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros volant permet de ... tourner quelque chose, comme d'actionner un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/volant.obj",
+			"name" : "cd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Volant",
+			"type" : "3D"
+		}
+	],
+	"stages" : 3,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 6,
+			"resource" : "aa",
+			"stage" : 1
+		},
+		{
+			"n_resource_step" : 5,
+			"resource" : "ab",
+			"stage" : 2
+		},
+		{
+			"n_resource_step" : 4,
+			"resource" : "ac",
+			"stage" : 3
+		}
+	]
+}

+ 1570 - 0
final/final (copie 2).json

@@ -0,0 +1,1570 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4931292533874512,
+					48.385768890380859
+				],
+				[
+					-4.4937028884887695,
+					48.385353088378906
+				],
+				[
+					-4.4932527542114258,
+					48.384967803955078
+				],
+				[
+					-4.4926304817199707,
+					48.385303497314453
+				]
+			],
+			"name" : "aa",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4931449890136719,
+						48.385330200195312
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "aa"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4913053512573242,
+					48.382537841796875
+				],
+				[
+					-4.4912090301513672,
+					48.381877899169922
+				],
+				[
+					-4.488161563873291,
+					48.382923126220703
+				],
+				[
+					-4.4889287948608398,
+					48.383445739746094
+				],
+				[
+					-4.4908976554870605,
+					48.382770538330078
+				]
+			],
+			"name" : "ab",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4907364845275879,
+						48.382221221923828
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ab"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4906401634216309,
+					48.382083892822266
+				],
+				[
+					-4.4920778274536133,
+					48.381664276123047
+				],
+				[
+					-4.4916753768920898,
+					48.381198883056641
+				],
+				[
+					-4.4905219078063965,
+					48.381404876708984
+				]
+			],
+			"name" : "ac",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.49114990234375,
+						48.381580352783203
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ac"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5012083053588867,
+					48.381473541259766
+				],
+				[
+					-4.5000386238098145,
+					48.381587982177734
+				],
+				[
+					-4.4994592666625977,
+					48.381111145019531
+				],
+				[
+					-4.5000762939453125,
+					48.380653381347656
+				],
+				[
+					-4.5011329650878906,
+					48.380649566650391
+				]
+			],
+			"name" : "ad",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.5009450912475586,
+						48.381233215332031
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ad"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.499298095703125,
+					48.3819580078125
+				],
+				[
+					-4.4987082481384277,
+					48.381694793701172
+				],
+				[
+					-4.4997010231018066,
+					48.381172180175781
+				],
+				[
+					-4.5001726150512695,
+					48.381626129150391
+				]
+			],
+			"name" : "ae",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4994001388549805,
+						48.381622314453125
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ae"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008430480957031,
+					48.383190155029297
+				],
+				[
+					-4.5006661415100098,
+					48.38250732421875
+				],
+				[
+					-4.4998188018798828,
+					48.382408142089844
+				],
+				[
+					-4.4996414184570312,
+					48.383262634277344
+				]
+			],
+			"name" : "af",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.5000972747802734,
+						48.382930755615234
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "af"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008111000061035,
+					48.386760711669922
+				],
+				[
+					-4.4985418319702148,
+					48.386512756347656
+				],
+				[
+					-4.4989442825317383,
+					48.385467529296875
+				],
+				[
+					-4.5011224746704102,
+					48.385875701904297
+				]
+			],
+			"name" : "ag",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4998936653137207,
+						48.386207580566406
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ag"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4998350143432617,
+					48.384529113769531
+				],
+				[
+					-4.4998350143432617,
+					48.384334564208984
+				],
+				[
+					-4.4990410804748535,
+					48.384193420410156
+				],
+				[
+					-4.4991855621337891,
+					48.384593963623047
+				]
+			],
+			"name" : "ah",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4993090629577637,
+						48.384357452392578
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ah"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4986867904663086,
+					48.383880615234375
+				],
+				[
+					-4.497581958770752,
+					48.384010314941406
+				],
+				[
+					-4.4972867965698242,
+					48.383296966552734
+				],
+				[
+					-4.4983649253845215,
+					48.383235931396484
+				]
+			],
+			"name" : "ai",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4981074333190918,
+						48.383739471435547
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ai"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4951572418212891,
+					48.385417938232422
+				],
+				[
+					-4.4944167137145996,
+					48.384819030761719
+				],
+				[
+					-4.4934296607971191,
+					48.385578155517578
+				],
+				[
+					-4.4937357902526855,
+					48.38580322265625
+				]
+			],
+			"name" : "ba",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4940624237060547,
+						48.385536193847656
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ba"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4944005012512207,
+					48.384883880615234
+				],
+				[
+					-4.4944219589233398,
+					48.384567260742188
+				],
+				[
+					-4.4936604499816895,
+					48.384658813476562
+				],
+				[
+					-4.4927535057067871,
+					48.385341644287109
+				],
+				[
+					-4.4933972358703613,
+					48.385719299316406
+				]
+			],
+			"name" : "bb",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.493462085723877,
+						48.385055541992188
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4910159111022949,
+					48.383163452148438
+				],
+				[
+					-4.4919171333312988,
+					48.382495880126953
+				],
+				[
+					-4.4929089546203613,
+					48.383102416992188
+				],
+				[
+					-4.4920511245727539,
+					48.383716583251953
+				]
+			],
+			"name" : "bc",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4920401573181152,
+						48.383201599121094
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4927535057067871,
+					48.382495880126953
+				],
+				[
+					-4.493370532989502,
+					48.381828308105469
+				],
+				[
+					-4.4927325248718262,
+					48.381244659423828
+				],
+				[
+					-4.4917182922363281,
+					48.382297515869141
+				]
+			],
+			"name" : "bd",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4926247596740723,
+						48.381889343261719
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4977855682373047,
+					48.383388519287109
+				],
+				[
+					-4.4967446327209473,
+					48.383251190185547
+				],
+				[
+					-4.4967021942138672,
+					48.382904052734375
+				],
+				[
+					-4.497490406036377,
+					48.382442474365234
+				],
+				[
+					-4.4981775283813477,
+					48.382743835449219
+				]
+			],
+			"name" : "be",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4973726272583008,
+						48.383068084716797
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "be"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4982576370239258,
+					48.384105682373047
+				],
+				[
+					-4.4974422454833984,
+					48.384181976318359
+				],
+				[
+					-4.4970664978027344,
+					48.383697509765625
+				],
+				[
+					-4.4981236457824707,
+					48.383533477783203
+				]
+			],
+			"name" : "bf",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4977583885192871,
+						48.383926391601562
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4945454597473145,
+					48.383678436279297
+				],
+				[
+					-4.4938907623291016,
+					48.384067535400391
+				],
+				[
+					-4.4930219650268555,
+					48.383338928222656
+				],
+				[
+					-4.4936981201171875,
+					48.382793426513672
+				]
+			],
+			"name" : "bg",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4936871528625488,
+						48.383296966552734
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bg"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4952268600463867,
+					48.38458251953125
+				],
+				[
+					-4.4949374198913574,
+					48.384113311767578
+				],
+				[
+					-4.494481086730957,
+					48.384319305419922
+				],
+				[
+					-4.4947705268859863,
+					48.384681701660156
+				]
+			],
+			"name" : "bh",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.494781494140625,
+						48.384475708007812
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bh"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4943842887878418,
+					48.385421752929688
+				],
+				[
+					-4.4940037727355957,
+					48.385261535644531
+				],
+				[
+					-4.4944114685058594,
+					48.3848876953125
+				],
+				[
+					-4.4945344924926758,
+					48.384593963623047
+				],
+				[
+					-4.4950013160705566,
+					48.384559631347656
+				],
+				[
+					-4.4951300621032715,
+					48.385051727294922
+				]
+			],
+			"name" : "ca",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.494443416595459,
+						48.385124206542969
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ca"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4949531555175781,
+					48.3843994140625
+				],
+				[
+					-4.4934186935424805,
+					48.384559631347656
+				],
+				[
+					-4.4929952621459961,
+					48.384174346923828
+				],
+				[
+					-4.4942502975463867,
+					48.383811950683594
+				]
+			],
+			"name" : "cb",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4940090179443359,
+						48.384235382080078
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4929685592651367,
+					48.384243011474609
+				],
+				[
+					-4.4917669296264648,
+					48.383655548095703
+				],
+				[
+					-4.4926624298095703,
+					48.383022308349609
+				],
+				[
+					-4.4935851097106934,
+					48.383548736572266
+				]
+			],
+			"name" : "cc",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4926571846008301,
+						48.383560180664062
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4937567710876465,
+					48.382869720458984
+				],
+				[
+					-4.4929900169372559,
+					48.38336181640625
+				],
+				[
+					-4.4918203353881836,
+					48.382614135742188
+				],
+				[
+					-4.4925985336303711,
+					48.3822021484375
+				]
+			],
+			"name" : "cd",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.492711067199707,
+						48.382659912109375
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4980916976928711,
+					48.383781433105469
+				],
+				[
+					-4.4969754219055176,
+					48.383941650390625
+				],
+				[
+					-4.496551513671875,
+					48.382984161376953
+				],
+				[
+					-4.4974207878112793,
+					48.382637023925781
+				]
+			],
+			"name" : "ce",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.497227668762207,
+						48.383514404296875
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ce"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4971742630004883,
+					48.3846435546875
+				],
+				[
+					-4.4968733787536621,
+					48.384017944335938
+				],
+				[
+					-4.4949855804443359,
+					48.384101867675781
+				],
+				[
+					-4.4953498840332031,
+					48.384742736816406
+				]
+			],
+			"name" : "cf",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4956669807434082,
+						48.384307861328125
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4985523223876953,
+					48.384162902832031
+				],
+				[
+					-4.4976191520690918,
+					48.384227752685547
+				],
+				[
+					-4.4978070259094238,
+					48.384906768798828
+				],
+				[
+					-4.4988741874694824,
+					48.384864807128906
+				]
+			],
+			"name" : "cg",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4979734420776367,
+						48.384464263916016
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cg"
+		}
+	],
+	"dir" : "/home/ptitcois/Programmation/TestMin3D2",
+	"name" : "game_medium",
+	"resources" : 
+	[
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/be.jpg",
+			"name" : "aa",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bg.jpg",
+			"name" : "ab",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Carte de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bh.jpg",
+			"name" : "ac",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/ba.jpg",
+			"name" : "ad",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : " Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bb.jpg",
+			"name" : "ae",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Le tramway à Brest !",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bc.jpg",
+			"name" : "af",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo aérienne",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo ne contient pas de croix… Un indice doit se trouver vers le bâtiment où la photo a été prise. Peut-être a son entrée ?",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bd.jpg",
+			"name" : "ag",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice. Brest a beaucoup changé entre temps, mais certaines rues existent encore...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bf.jpg",
+			"name" : "ah",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une piece métalique en forme de croix de Saint André, d'où peut-elle bien provenir ?",
+			"file" : "/home/ptitcois/Documents/projet/parts/entretoises.obj",
+			"name" : "ai",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				180
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 1,
+			"title" : "Indice: Une piece mystèrieuse",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Le bâtiment montré par la croix a été détruit, il faudrait trouvé où était ce bâtiment, afin de trouver un autre indice.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cb.jpg",
+			"name" : "be",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo prise du pont",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cc.jpg",
+			"name" : "bg",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une mystèrieuse pièce métallique, qui doit provenir d'un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/balancier.obj",
+			"name" : "bh",
+			"position" : 
+			[
+				0,
+				0,
+				-30
+			],
+			"rotation" : 
+			[
+				180,
+				90,
+				180
+			],
+			"scale" : 
+			[
+				0.80000000000000004,
+				0.80000000000000004,
+				0.80000000000000004
+			],
+			"stage" : 2,
+			"title" : "Indice: Une pièce mécanique",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ce.jpg",
+			"name" : "ba",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo d'une tour",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Il faudrait retrouver l’endroit indiqué par la croix, mais Brest a beaucoup\nchangé depuis, ce qui n’est pas le cas pour toutes les rues...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cg.jpg",
+			"name" : "bb",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Carte de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cf.jpg",
+			"name" : "bc",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo du chateau",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ca.jpg",
+			"name" : "bd",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cd.jpg",
+			"name" : "bf",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un cabestan, utilisée pour transmettre la force humaine vers un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/cabestan.obj",
+			"name" : "cb",
+			"position" : 
+			[
+				0,
+				0,
+				-10
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 3,
+			"title" : "Cabestan",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un cône peut servir à pas mal de chôses, par exemple faire rouler un objet lourd.",
+			"file" : "/home/ptitcois/Documents/projet/parts/galet.obj",
+			"name" : "cc",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				180
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Cône",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Des mâchoire peuvent servir à serrer très fortement un objet pour éviter qu'il bouge.",
+			"file" : "/home/ptitcois/Documents/projet/parts/machoires.obj",
+			"name" : "ce",
+			"position" : 
+			[
+				0,
+				0,
+				-15
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Mâchoires",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros verrou, comme pour une porte mais vraiment une grosse porte !",
+			"file" : "/home/ptitcois/Documents/projet/parts/verrou.obj",
+			"name" : "cg",
+			"position" : 
+			[
+				-5,
+				-6,
+				-30
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Verrou",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une roue dentée, permet de transmettre un mouvement en augmentant la force et diminuant la vitesse (ou vis versa).",
+			"file" : "/home/ptitcois/Documents/projet/parts/roue.obj",
+			"name" : "cf",
+			"position" : 
+			[
+				0,
+				-5,
+				-10
+			],
+			"rotation" : 
+			[
+				30,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Roues dentées",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une grosse roue dentée...",
+			"file" : "/home/ptitcois/Documents/projet/parts/couronne.obj",
+			"name" : "ca",
+			"position" : 
+			[
+				0,
+				0,
+				-5
+			],
+			"rotation" : 
+			[
+				30,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				0.20000000000000001,
+				0.20000000000000001,
+				0.20000000000000001
+			],
+			"stage" : 3,
+			"title" : "Couronne",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros volant permet de ... tourner quelque chose, comme d'actionner un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/volant.obj",
+			"name" : "cd",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Volant",
+			"type" : "3D"
+		}
+	],
+	"stages" : 4,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 6,
+			"resource" : "aa",
+			"stage" : 1
+		},
+		{
+			"n_resource_step" : 5,
+			"resource" : "ab",
+			"stage" : 2
+		},
+		{
+			"n_resource_step" : 4,
+			"resource" : "ac",
+			"stage" : 3
+		},
+		{
+			"n_resource_step" : 2,
+			"resource" : "ad",
+			"stage" : 4
+		}
+	]
+}

+ 1570 - 0
final/final (copie 3).json

@@ -0,0 +1,1570 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4931292533874512,
+					48.385768890380859
+				],
+				[
+					-4.4937028884887695,
+					48.385353088378906
+				],
+				[
+					-4.4932527542114258,
+					48.384967803955078
+				],
+				[
+					-4.4926304817199707,
+					48.385303497314453
+				]
+			],
+			"name" : "aa",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4931449890136719,
+						48.385330200195312
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "aa"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4913053512573242,
+					48.382537841796875
+				],
+				[
+					-4.4912090301513672,
+					48.381877899169922
+				],
+				[
+					-4.488161563873291,
+					48.382923126220703
+				],
+				[
+					-4.4889287948608398,
+					48.383445739746094
+				],
+				[
+					-4.4908976554870605,
+					48.382770538330078
+				]
+			],
+			"name" : "ab",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4907364845275879,
+						48.382221221923828
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ab"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4906401634216309,
+					48.382083892822266
+				],
+				[
+					-4.4920778274536133,
+					48.381664276123047
+				],
+				[
+					-4.4916753768920898,
+					48.381198883056641
+				],
+				[
+					-4.4905219078063965,
+					48.381404876708984
+				]
+			],
+			"name" : "ac",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.49114990234375,
+						48.381580352783203
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ac"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5012083053588867,
+					48.381473541259766
+				],
+				[
+					-4.5000386238098145,
+					48.381587982177734
+				],
+				[
+					-4.4994592666625977,
+					48.381111145019531
+				],
+				[
+					-4.5000762939453125,
+					48.380653381347656
+				],
+				[
+					-4.5011329650878906,
+					48.380649566650391
+				]
+			],
+			"name" : "ad",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.5009450912475586,
+						48.381233215332031
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ad"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.499298095703125,
+					48.3819580078125
+				],
+				[
+					-4.4987082481384277,
+					48.381694793701172
+				],
+				[
+					-4.4997010231018066,
+					48.381172180175781
+				],
+				[
+					-4.5001726150512695,
+					48.381626129150391
+				]
+			],
+			"name" : "ae",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4994001388549805,
+						48.381622314453125
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ae"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008430480957031,
+					48.383190155029297
+				],
+				[
+					-4.5006661415100098,
+					48.38250732421875
+				],
+				[
+					-4.4998188018798828,
+					48.382408142089844
+				],
+				[
+					-4.4996414184570312,
+					48.383262634277344
+				]
+			],
+			"name" : "af",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.5000972747802734,
+						48.382930755615234
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "af"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008111000061035,
+					48.386760711669922
+				],
+				[
+					-4.4985418319702148,
+					48.386512756347656
+				],
+				[
+					-4.4989442825317383,
+					48.385467529296875
+				],
+				[
+					-4.5011224746704102,
+					48.385875701904297
+				]
+			],
+			"name" : "ag",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4998936653137207,
+						48.386207580566406
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ag"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4998350143432617,
+					48.384529113769531
+				],
+				[
+					-4.4998350143432617,
+					48.384334564208984
+				],
+				[
+					-4.4990410804748535,
+					48.384193420410156
+				],
+				[
+					-4.4991855621337891,
+					48.384593963623047
+				]
+			],
+			"name" : "ah",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4993090629577637,
+						48.384357452392578
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ah"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4986867904663086,
+					48.383880615234375
+				],
+				[
+					-4.497581958770752,
+					48.384010314941406
+				],
+				[
+					-4.4972867965698242,
+					48.383296966552734
+				],
+				[
+					-4.4983649253845215,
+					48.383235931396484
+				]
+			],
+			"name" : "ai",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4981074333190918,
+						48.383739471435547
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ai"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4951572418212891,
+					48.385417938232422
+				],
+				[
+					-4.4944167137145996,
+					48.384819030761719
+				],
+				[
+					-4.4934296607971191,
+					48.385578155517578
+				],
+				[
+					-4.4937357902526855,
+					48.38580322265625
+				]
+			],
+			"name" : "ba",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4940624237060547,
+						48.385536193847656
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ba"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4944005012512207,
+					48.384883880615234
+				],
+				[
+					-4.4944219589233398,
+					48.384567260742188
+				],
+				[
+					-4.4936604499816895,
+					48.384658813476562
+				],
+				[
+					-4.4927535057067871,
+					48.385341644287109
+				],
+				[
+					-4.4933972358703613,
+					48.385719299316406
+				]
+			],
+			"name" : "bb",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.493462085723877,
+						48.385055541992188
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4910159111022949,
+					48.383163452148438
+				],
+				[
+					-4.4919171333312988,
+					48.382495880126953
+				],
+				[
+					-4.4929089546203613,
+					48.383102416992188
+				],
+				[
+					-4.4920511245727539,
+					48.383716583251953
+				]
+			],
+			"name" : "bc",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4920401573181152,
+						48.383201599121094
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4927535057067871,
+					48.382495880126953
+				],
+				[
+					-4.493370532989502,
+					48.381828308105469
+				],
+				[
+					-4.4927325248718262,
+					48.381244659423828
+				],
+				[
+					-4.4917182922363281,
+					48.382297515869141
+				]
+			],
+			"name" : "bd",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4926247596740723,
+						48.381889343261719
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4977855682373047,
+					48.383388519287109
+				],
+				[
+					-4.4967446327209473,
+					48.383251190185547
+				],
+				[
+					-4.4967021942138672,
+					48.382904052734375
+				],
+				[
+					-4.497490406036377,
+					48.382442474365234
+				],
+				[
+					-4.4981775283813477,
+					48.382743835449219
+				]
+			],
+			"name" : "be",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4973726272583008,
+						48.383068084716797
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "be"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4982576370239258,
+					48.384105682373047
+				],
+				[
+					-4.4974422454833984,
+					48.384181976318359
+				],
+				[
+					-4.4970664978027344,
+					48.383697509765625
+				],
+				[
+					-4.4981236457824707,
+					48.383533477783203
+				]
+			],
+			"name" : "bf",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4977583885192871,
+						48.383926391601562
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4945454597473145,
+					48.383678436279297
+				],
+				[
+					-4.4938907623291016,
+					48.384067535400391
+				],
+				[
+					-4.4930219650268555,
+					48.383338928222656
+				],
+				[
+					-4.4936981201171875,
+					48.382793426513672
+				]
+			],
+			"name" : "bg",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4936871528625488,
+						48.383296966552734
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bg"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4952268600463867,
+					48.38458251953125
+				],
+				[
+					-4.4949374198913574,
+					48.384113311767578
+				],
+				[
+					-4.494481086730957,
+					48.384319305419922
+				],
+				[
+					-4.4947705268859863,
+					48.384681701660156
+				]
+			],
+			"name" : "bh",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.494781494140625,
+						48.384475708007812
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bh"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4943842887878418,
+					48.385421752929688
+				],
+				[
+					-4.4940037727355957,
+					48.385261535644531
+				],
+				[
+					-4.4944114685058594,
+					48.3848876953125
+				],
+				[
+					-4.4945344924926758,
+					48.384593963623047
+				],
+				[
+					-4.4950013160705566,
+					48.384559631347656
+				],
+				[
+					-4.4951300621032715,
+					48.385051727294922
+				]
+			],
+			"name" : "ca",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.494443416595459,
+						48.385124206542969
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ca"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4949531555175781,
+					48.3843994140625
+				],
+				[
+					-4.4934186935424805,
+					48.384559631347656
+				],
+				[
+					-4.4929952621459961,
+					48.384174346923828
+				],
+				[
+					-4.4942502975463867,
+					48.383811950683594
+				]
+			],
+			"name" : "cb",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4940090179443359,
+						48.384235382080078
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4929685592651367,
+					48.384243011474609
+				],
+				[
+					-4.4917669296264648,
+					48.383655548095703
+				],
+				[
+					-4.4926624298095703,
+					48.383022308349609
+				],
+				[
+					-4.4935851097106934,
+					48.383548736572266
+				]
+			],
+			"name" : "cc",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4926571846008301,
+						48.383560180664062
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4937567710876465,
+					48.382869720458984
+				],
+				[
+					-4.4929900169372559,
+					48.38336181640625
+				],
+				[
+					-4.4918203353881836,
+					48.382614135742188
+				],
+				[
+					-4.4925985336303711,
+					48.3822021484375
+				]
+			],
+			"name" : "cd",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.492711067199707,
+						48.382659912109375
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4980916976928711,
+					48.383781433105469
+				],
+				[
+					-4.4969754219055176,
+					48.383941650390625
+				],
+				[
+					-4.496551513671875,
+					48.382984161376953
+				],
+				[
+					-4.4974207878112793,
+					48.382637023925781
+				]
+			],
+			"name" : "ce",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.497227668762207,
+						48.383514404296875
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ce"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4971742630004883,
+					48.3846435546875
+				],
+				[
+					-4.4968733787536621,
+					48.384017944335938
+				],
+				[
+					-4.4949855804443359,
+					48.384101867675781
+				],
+				[
+					-4.4953498840332031,
+					48.384742736816406
+				]
+			],
+			"name" : "cf",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4956669807434082,
+						48.384307861328125
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4985523223876953,
+					48.384162902832031
+				],
+				[
+					-4.4976191520690918,
+					48.384227752685547
+				],
+				[
+					-4.4978070259094238,
+					48.384906768798828
+				],
+				[
+					-4.4988741874694824,
+					48.384864807128906
+				]
+			],
+			"name" : "cg",
+			"points" : 
+			[
+				{
+					"angle" : 180,
+					"coordinates" : 
+					[
+						-4.4979734420776367,
+						48.384464263916016
+					],
+					"field" : 90,
+					"radius" : 5,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cg"
+		}
+	],
+	"dir" : "/home/ptitcois/Programmation/TestMin3D2",
+	"name" : "game_medium",
+	"resources" : 
+	[
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/be.jpg",
+			"name" : "aa",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bg.jpg",
+			"name" : "ab",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Carte de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bh.jpg",
+			"name" : "ac",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/ba.jpg",
+			"name" : "ad",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : " Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bb.jpg",
+			"name" : "ae",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Le tramway à Brest !",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bc.jpg",
+			"name" : "af",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo aérienne",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo ne contient pas de croix… Un indice doit se trouver vers le bâtiment où la photo a été prise. Peut-être a son entrée ?",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bd.jpg",
+			"name" : "ag",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice. Brest a beaucoup changé entre temps, mais certaines rues existent encore...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bf.jpg",
+			"name" : "ah",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une piece métalique en forme de croix de Saint André, d'où peut-elle bien provenir ?",
+			"file" : "/home/ptitcois/Documents/projet/parts/entretoises.obj",
+			"name" : "ai",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				180
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 1,
+			"title" : "Indice: Une piece mystèrieuse",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Le bâtiment montré par la croix a été détruit, il faudrait trouvé où était ce bâtiment, afin de trouver un autre indice.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cb.jpg",
+			"name" : "be",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo prise du pont",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cc.jpg",
+			"name" : "bg",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une mystèrieuse pièce métallique, qui doit provenir d'un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/balancier.obj",
+			"name" : "bh",
+			"position" : 
+			[
+				0,
+				0,
+				-30
+			],
+			"rotation" : 
+			[
+				180,
+				90,
+				180
+			],
+			"scale" : 
+			[
+				0.80000000000000004,
+				0.80000000000000004,
+				0.80000000000000004
+			],
+			"stage" : 2,
+			"title" : "Indice: Une pièce mécanique",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ce.jpg",
+			"name" : "ba",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo d'une tour",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Il faudrait retrouver l’endroit indiqué par la croix, mais Brest a beaucoup\nchangé depuis, ce qui n’est pas le cas pour toutes les rues...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cg.jpg",
+			"name" : "bb",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Carte de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cf.jpg",
+			"name" : "bc",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo du chateau",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ca.jpg",
+			"name" : "bd",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cd.jpg",
+			"name" : "bf",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un cabestan, utilisée pour transmettre la force humaine vers un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/cabestan.obj",
+			"name" : "cb",
+			"position" : 
+			[
+				0,
+				0,
+				-10
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 3,
+			"title" : "Cabestan",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un cône peut servir à pas mal de chôses, par exemple faire rouler un objet lourd.",
+			"file" : "/home/ptitcois/Documents/projet/parts/galet.obj",
+			"name" : "cc",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				180
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Cône",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Des mâchoire peuvent servir à serrer très fortement un objet pour éviter qu'il bouge.",
+			"file" : "/home/ptitcois/Documents/projet/parts/machoires.obj",
+			"name" : "ce",
+			"position" : 
+			[
+				0,
+				0,
+				-15
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Mâchoires",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros verrou, comme pour une porte mais vraiment une grosse porte !",
+			"file" : "/home/ptitcois/Documents/projet/parts/verrou.obj",
+			"name" : "cg",
+			"position" : 
+			[
+				-5,
+				-6,
+				-30
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Verrou",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une roue dentée, permet de transmettre un mouvement en augmentant la force et diminuant la vitesse (ou vis versa).",
+			"file" : "/home/ptitcois/Documents/projet/parts/roue.obj",
+			"name" : "cf",
+			"position" : 
+			[
+				0,
+				-5,
+				-10
+			],
+			"rotation" : 
+			[
+				30,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Roues dentées",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une grosse roue dentée...",
+			"file" : "/home/ptitcois/Documents/projet/parts/couronne.obj",
+			"name" : "ca",
+			"position" : 
+			[
+				0,
+				0,
+				-5
+			],
+			"rotation" : 
+			[
+				30,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				0.20000000000000001,
+				0.20000000000000001,
+				0.20000000000000001
+			],
+			"stage" : 3,
+			"title" : "Couronne",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros volant permet de ... tourner quelque chose, comme d'actionner un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/volant.obj",
+			"name" : "cd",
+			"position" : 
+			[
+				0,
+				0,
+				0
+			],
+			"rotation" : 
+			[
+				0,
+				0,
+				0
+			],
+			"scale" : 
+			[
+				1,
+				1,
+				1
+			],
+			"stage" : 3,
+			"title" : "Volant",
+			"type" : "3D"
+		}
+	],
+	"stages" : 4,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 6,
+			"resource" : "aa",
+			"stage" : 1
+		},
+		{
+			"n_resource_step" : 5,
+			"resource" : "ab",
+			"stage" : 2
+		},
+		{
+			"n_resource_step" : 4,
+			"resource" : "ac",
+			"stage" : 3
+		},
+		{
+			"n_resource_step" : 2,
+			"resource" : "ad",
+			"stage" : 4
+		}
+	]
+}

+ 1570 - 0
final/final.json

@@ -0,0 +1,1570 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4931292533874512,
+					48.385768890380859
+				],
+				[
+					-4.4937028884887695,
+					48.385353088378906
+				],
+				[
+					-4.4932527542114258,
+					48.384967803955078
+				],
+				[
+					-4.4926304817199707,
+					48.385303497314453
+				]
+			],
+			"name" : "aa",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4931449890136719,
+						48.385330200195312
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "aa"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4913053512573242,
+					48.382537841796875
+				],
+				[
+					-4.4912090301513672,
+					48.381877899169922
+				],
+				[
+					-4.488161563873291,
+					48.382923126220703
+				],
+				[
+					-4.4889287948608398,
+					48.383445739746094
+				],
+				[
+					-4.4908976554870605,
+					48.382770538330078
+				]
+			],
+			"name" : "ab",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4907364845275879,
+						48.382221221923828
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ab"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4906401634216309,
+					48.382083892822266
+				],
+				[
+					-4.4920778274536133,
+					48.381664276123047
+				],
+				[
+					-4.4916753768920898,
+					48.381198883056641
+				],
+				[
+					-4.4905219078063965,
+					48.381404876708984
+				]
+			],
+			"name" : "ac",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.49114990234375,
+						48.381580352783203
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ac"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5012083053588867,
+					48.381473541259766
+				],
+				[
+					-4.5000386238098145,
+					48.381587982177734
+				],
+				[
+					-4.4994592666625977,
+					48.381111145019531
+				],
+				[
+					-4.5000762939453125,
+					48.380653381347656
+				],
+				[
+					-4.5011329650878906,
+					48.380649566650391
+				]
+			],
+			"name" : "ad",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5009450912475586,
+						48.381233215332031
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ad"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.499298095703125,
+					48.3819580078125
+				],
+				[
+					-4.4987082481384277,
+					48.381694793701172
+				],
+				[
+					-4.4997010231018066,
+					48.381172180175781
+				],
+				[
+					-4.5001726150512695,
+					48.381626129150391
+				]
+			],
+			"name" : "ae",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4994001388549805,
+						48.381622314453125
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ae"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008430480957031,
+					48.383190155029297
+				],
+				[
+					-4.5006661415100098,
+					48.38250732421875
+				],
+				[
+					-4.4998188018798828,
+					48.382408142089844
+				],
+				[
+					-4.4996414184570312,
+					48.383262634277344
+				]
+			],
+			"name" : "af",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5000972747802734,
+						48.382930755615234
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "af"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008111000061035,
+					48.386760711669922
+				],
+				[
+					-4.4985418319702148,
+					48.386512756347656
+				],
+				[
+					-4.4989442825317383,
+					48.385467529296875
+				],
+				[
+					-4.5011224746704102,
+					48.385875701904297
+				]
+			],
+			"name" : "ag",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4998936653137207,
+						48.386207580566406
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ag"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4998350143432617,
+					48.384529113769531
+				],
+				[
+					-4.4998350143432617,
+					48.384334564208984
+				],
+				[
+					-4.4990410804748535,
+					48.384193420410156
+				],
+				[
+					-4.4991855621337891,
+					48.384593963623047
+				]
+			],
+			"name" : "ah",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4993090629577637,
+						48.384357452392578
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ah"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4986867904663086,
+					48.383880615234375
+				],
+				[
+					-4.497581958770752,
+					48.384010314941406
+				],
+				[
+					-4.4972867965698242,
+					48.383296966552734
+				],
+				[
+					-4.4983649253845215,
+					48.383235931396484
+				]
+			],
+			"name" : "ai",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4981074333190918,
+						48.383739471435547
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ai"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4951572418212891,
+					48.385417938232422
+				],
+				[
+					-4.4944167137145996,
+					48.384819030761719
+				],
+				[
+					-4.4934296607971191,
+					48.385578155517578
+				],
+				[
+					-4.4937357902526855,
+					48.38580322265625
+				]
+			],
+			"name" : "ba",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940624237060547,
+						48.385536193847656
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ba"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4944005012512207,
+					48.384883880615234
+				],
+				[
+					-4.4944219589233398,
+					48.384567260742188
+				],
+				[
+					-4.4936604499816895,
+					48.384658813476562
+				],
+				[
+					-4.4927535057067871,
+					48.385341644287109
+				],
+				[
+					-4.4933972358703613,
+					48.385719299316406
+				]
+			],
+			"name" : "bb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.493462085723877,
+						48.385055541992188
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4910159111022949,
+					48.383163452148438
+				],
+				[
+					-4.4919171333312988,
+					48.382495880126953
+				],
+				[
+					-4.4929089546203613,
+					48.383102416992188
+				],
+				[
+					-4.4920511245727539,
+					48.383716583251953
+				]
+			],
+			"name" : "bc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4920401573181152,
+						48.383201599121094
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4927535057067871,
+					48.382495880126953
+				],
+				[
+					-4.493370532989502,
+					48.381828308105469
+				],
+				[
+					-4.4927325248718262,
+					48.381244659423828
+				],
+				[
+					-4.4917182922363281,
+					48.382297515869141
+				]
+			],
+			"name" : "bd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926247596740723,
+						48.381889343261719
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4977855682373047,
+					48.383388519287109
+				],
+				[
+					-4.4967446327209473,
+					48.383251190185547
+				],
+				[
+					-4.4967021942138672,
+					48.382904052734375
+				],
+				[
+					-4.497490406036377,
+					48.382442474365234
+				],
+				[
+					-4.4981775283813477,
+					48.382743835449219
+				]
+			],
+			"name" : "be",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4973726272583008,
+						48.383068084716797
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "be"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4982576370239258,
+					48.384105682373047
+				],
+				[
+					-4.4974422454833984,
+					48.384181976318359
+				],
+				[
+					-4.4970664978027344,
+					48.383697509765625
+				],
+				[
+					-4.4981236457824707,
+					48.383533477783203
+				]
+			],
+			"name" : "bf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4977583885192871,
+						48.383926391601562
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4945454597473145,
+					48.383678436279297
+				],
+				[
+					-4.4938907623291016,
+					48.384067535400391
+				],
+				[
+					-4.4930219650268555,
+					48.383338928222656
+				],
+				[
+					-4.4936981201171875,
+					48.382793426513672
+				]
+			],
+			"name" : "bg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4936871528625488,
+						48.383296966552734
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bg"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4952268600463867,
+					48.38458251953125
+				],
+				[
+					-4.4949374198913574,
+					48.384113311767578
+				],
+				[
+					-4.494481086730957,
+					48.384319305419922
+				],
+				[
+					-4.4947705268859863,
+					48.384681701660156
+				]
+			],
+			"name" : "bh",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494781494140625,
+						48.384475708007812
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bh"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4943842887878418,
+					48.385421752929688
+				],
+				[
+					-4.4940037727355957,
+					48.385261535644531
+				],
+				[
+					-4.4944114685058594,
+					48.3848876953125
+				],
+				[
+					-4.4945344924926758,
+					48.384593963623047
+				],
+				[
+					-4.4950013160705566,
+					48.384559631347656
+				],
+				[
+					-4.4951300621032715,
+					48.385051727294922
+				]
+			],
+			"name" : "ca",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494443416595459,
+						48.385124206542969
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ca"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4949531555175781,
+					48.3843994140625
+				],
+				[
+					-4.4934186935424805,
+					48.384559631347656
+				],
+				[
+					-4.4929952621459961,
+					48.384174346923828
+				],
+				[
+					-4.4942502975463867,
+					48.383811950683594
+				]
+			],
+			"name" : "cb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940090179443359,
+						48.384235382080078
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4929685592651367,
+					48.384243011474609
+				],
+				[
+					-4.4917669296264648,
+					48.383655548095703
+				],
+				[
+					-4.4926624298095703,
+					48.383022308349609
+				],
+				[
+					-4.4935851097106934,
+					48.383548736572266
+				]
+			],
+			"name" : "cc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926571846008301,
+						48.383560180664062
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4937567710876465,
+					48.382869720458984
+				],
+				[
+					-4.4929900169372559,
+					48.38336181640625
+				],
+				[
+					-4.4918203353881836,
+					48.382614135742188
+				],
+				[
+					-4.4925985336303711,
+					48.3822021484375
+				]
+			],
+			"name" : "cd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.492711067199707,
+						48.382659912109375
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4980916976928711,
+					48.383781433105469
+				],
+				[
+					-4.4969754219055176,
+					48.383941650390625
+				],
+				[
+					-4.496551513671875,
+					48.382984161376953
+				],
+				[
+					-4.4974207878112793,
+					48.382637023925781
+				]
+			],
+			"name" : "ce",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.497227668762207,
+						48.383514404296875
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ce"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4971742630004883,
+					48.3846435546875
+				],
+				[
+					-4.4968733787536621,
+					48.384017944335938
+				],
+				[
+					-4.4949855804443359,
+					48.384101867675781
+				],
+				[
+					-4.4953498840332031,
+					48.384742736816406
+				]
+			],
+			"name" : "cf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4956669807434082,
+						48.384307861328125
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4985523223876953,
+					48.384162902832031
+				],
+				[
+					-4.4976191520690918,
+					48.384227752685547
+				],
+				[
+					-4.4978070259094238,
+					48.384906768798828
+				],
+				[
+					-4.4988741874694824,
+					48.384864807128906
+				]
+			],
+			"name" : "cg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4979734420776367,
+						48.384464263916016
+					],
+					"field" : 90.0,
+					"radius" : 5.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cg"
+		}
+	],
+	"dir" : "/home/ptitcois/Programmation/HistoPacker/data",
+	"name" : "game_medium",
+	"resources" : 
+	[
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/be.jpg",
+			"name" : "aa",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bg.jpg",
+			"name" : "ab",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Carte de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bh.jpg",
+			"name" : "ac",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/ba.jpg",
+			"name" : "ad",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : " Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bb.jpg",
+			"name" : "ae",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Le tramway à Brest !",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bc.jpg",
+			"name" : "af",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo aérienne",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo ne contient pas de croix… Un indice doit se trouver vers le bâtiment où la photo a été prise. Peut-être a son entrée ?",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bd.jpg",
+			"name" : "ag",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice. Brest a beaucoup changé entre temps, mais certaines rues existent encore...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bf.jpg",
+			"name" : "ah",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une piece métalique en forme de croix de Saint André, d'où peut-elle bien provenir ?",
+			"file" : "/home/ptitcois/Documents/projet/parts/entretoises.obj",
+			"name" : "ai",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 1,
+			"title" : "Indice: Une piece mystèrieuse",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Le bâtiment montré par la croix a été détruit, il faudrait trouvé où était ce bâtiment, afin de trouver un autre indice.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cb.jpg",
+			"name" : "be",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo prise du pont",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cc.jpg",
+			"name" : "bg",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une mystèrieuse pièce métallique, qui doit provenir d'un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/balancier.obj",
+			"name" : "bh",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				180.0,
+				90.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.80000000000000004,
+				0.80000000000000004,
+				0.80000000000000004
+			],
+			"stage" : 2,
+			"title" : "Indice: Une pièce mécanique",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ce.jpg",
+			"name" : "ba",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo d'une tour",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Il faudrait retrouver l’endroit indiqué par la croix, mais Brest a beaucoup\nchangé depuis, ce qui n’est pas le cas pour toutes les rues...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cg.jpg",
+			"name" : "bb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Carte de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cf.jpg",
+			"name" : "bc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo du chateau",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ca.jpg",
+			"name" : "bd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cd.jpg",
+			"name" : "bf",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un cabestan, utilisée pour transmettre la force humaine vers un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/cabestan.obj",
+			"name" : "cb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 3,
+			"title" : "Cabestan",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un cône peut servir à pas mal de chôses, par exemple faire rouler un objet lourd.",
+			"file" : "/home/ptitcois/Documents/projet/parts/galet.obj",
+			"name" : "cc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Cône",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Des mâchoire peuvent servir à serrer très fortement un objet pour éviter qu'il bouge.",
+			"file" : "/home/ptitcois/Documents/projet/parts/machoires.obj",
+			"name" : "ce",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-15.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Mâchoires",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros verrou, comme pour une porte mais vraiment une grosse porte !",
+			"file" : "/home/ptitcois/Documents/projet/parts/verrou.obj",
+			"name" : "cg",
+			"position" : 
+			[
+				-5.0,
+				-6.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Verrou",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une roue dentée, permet de transmettre un mouvement en augmentant la force et diminuant la vitesse (ou vis versa).",
+			"file" : "/home/ptitcois/Documents/projet/parts/roue.obj",
+			"name" : "cf",
+			"position" : 
+			[
+				0.0,
+				-5.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Roues dentées",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une grosse roue dentée...",
+			"file" : "/home/ptitcois/Documents/projet/parts/couronne.obj",
+			"name" : "ca",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-5.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.20000000000000001,
+				0.20000000000000001,
+				0.20000000000000001
+			],
+			"stage" : 3,
+			"title" : "Couronne",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros volant permet de ... tourner quelque chose, comme d'actionner un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/volant.obj",
+			"name" : "cd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Volant",
+			"type" : "3D"
+		}
+	],
+	"stages" : 4,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 6,
+			"resource" : "ai",
+			"stage" : 1
+		},
+		{
+			"n_resource_step" : 5,
+			"resource" : "bf",
+			"stage" : 2
+		},
+		{
+			"n_resource_step" : 4,
+			"resource" : "cf",
+			"stage" : 3
+		},
+		{
+			"n_resource_step" : 2,
+			"resource" : "ai",
+			"stage" : 4
+		}
+	]
+}

+ 1570 - 0
final/final_mod.json

@@ -0,0 +1,1570 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4931292533874512,
+					48.385768890380859
+				],
+				[
+					-4.4937028884887695,
+					48.385353088378906
+				],
+				[
+					-4.4932527542114258,
+					48.384967803955078
+				],
+				[
+					-4.4926304817199707,
+					48.385303497314453
+				]
+			],
+			"name" : "aa",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4931449890136719,
+						48.385330200195312
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "aa"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4913053512573242,
+					48.382537841796875
+				],
+				[
+					-4.4912090301513672,
+					48.381877899169922
+				],
+				[
+					-4.488161563873291,
+					48.382923126220703
+				],
+				[
+					-4.4889287948608398,
+					48.383445739746094
+				],
+				[
+					-4.4908976554870605,
+					48.382770538330078
+				]
+			],
+			"name" : "ab",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4907364845275879,
+						48.382221221923828
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ab"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4906401634216309,
+					48.382083892822266
+				],
+				[
+					-4.4920778274536133,
+					48.381664276123047
+				],
+				[
+					-4.4916753768920898,
+					48.381198883056641
+				],
+				[
+					-4.4905219078063965,
+					48.381404876708984
+				]
+			],
+			"name" : "ac",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.49114990234375,
+						48.381580352783203
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ac"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5012083053588867,
+					48.381473541259766
+				],
+				[
+					-4.5000386238098145,
+					48.381587982177734
+				],
+				[
+					-4.4994592666625977,
+					48.381111145019531
+				],
+				[
+					-4.5000762939453125,
+					48.380653381347656
+				],
+				[
+					-4.5011329650878906,
+					48.380649566650391
+				]
+			],
+			"name" : "ad",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5009450912475586,
+						48.381233215332031
+					],
+					"field" : 120.0,
+					"radius" : 30.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ad"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.499298095703125,
+					48.3819580078125
+				],
+				[
+					-4.4987082481384277,
+					48.381694793701172
+				],
+				[
+					-4.4997010231018066,
+					48.381172180175781
+				],
+				[
+					-4.5001726150512695,
+					48.381626129150391
+				]
+			],
+			"name" : "ae",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4994001388549805,
+						48.381622314453125
+					],
+					"field" : 120.0,
+					"radius" : 30.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ae"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008430480957031,
+					48.383190155029297
+				],
+				[
+					-4.5006661415100098,
+					48.38250732421875
+				],
+				[
+					-4.4998188018798828,
+					48.382408142089844
+				],
+				[
+					-4.4996414184570312,
+					48.383262634277344
+				]
+			],
+			"name" : "af",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5000972747802734,
+						48.382930755615234
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "af"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008111000061035,
+					48.386760711669922
+				],
+				[
+					-4.4985418319702148,
+					48.386512756347656
+				],
+				[
+					-4.4989442825317383,
+					48.385467529296875
+				],
+				[
+					-4.5011224746704102,
+					48.385875701904297
+				]
+			],
+			"name" : "ag",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4998936653137207,
+						48.386207580566406
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ag"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4998350143432617,
+					48.384529113769531
+				],
+				[
+					-4.4998350143432617,
+					48.384334564208984
+				],
+				[
+					-4.4990410804748535,
+					48.384193420410156
+				],
+				[
+					-4.4991855621337891,
+					48.384593963623047
+				]
+			],
+			"name" : "ah",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4993090629577637,
+						48.384357452392578
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ah"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4986867904663086,
+					48.383880615234375
+				],
+				[
+					-4.497581958770752,
+					48.384010314941406
+				],
+				[
+					-4.4972867965698242,
+					48.383296966552734
+				],
+				[
+					-4.4983649253845215,
+					48.383235931396484
+				]
+			],
+			"name" : "ai",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4981074333190918,
+						48.383739471435547
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ai"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4951572418212891,
+					48.385417938232422
+				],
+				[
+					-4.4944167137145996,
+					48.384819030761719
+				],
+				[
+					-4.4934296607971191,
+					48.385578155517578
+				],
+				[
+					-4.4937357902526855,
+					48.38580322265625
+				]
+			],
+			"name" : "ba",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940624237060547,
+						48.385536193847656
+					],
+					"field" : 120.0,
+					"radius" : 18.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ba"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4944005012512207,
+					48.384883880615234
+				],
+				[
+					-4.4944219589233398,
+					48.384567260742188
+				],
+				[
+					-4.4936604499816895,
+					48.384658813476562
+				],
+				[
+					-4.4927535057067871,
+					48.385341644287109
+				],
+				[
+					-4.4933972358703613,
+					48.385719299316406
+				]
+			],
+			"name" : "bb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.493462085723877,
+						48.385055541992188
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4910159111022949,
+					48.383163452148438
+				],
+				[
+					-4.4919171333312988,
+					48.382495880126953
+				],
+				[
+					-4.4929089546203613,
+					48.383102416992188
+				],
+				[
+					-4.4920511245727539,
+					48.383716583251953
+				]
+			],
+			"name" : "bc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4920401573181152,
+						48.383201599121094
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4927535057067871,
+					48.382495880126953
+				],
+				[
+					-4.493370532989502,
+					48.381828308105469
+				],
+				[
+					-4.4927325248718262,
+					48.381244659423828
+				],
+				[
+					-4.4917182922363281,
+					48.382297515869141
+				]
+			],
+			"name" : "bd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926247596740723,
+						48.381889343261719
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4977855682373047,
+					48.383388519287109
+				],
+				[
+					-4.4967446327209473,
+					48.383251190185547
+				],
+				[
+					-4.4967021942138672,
+					48.382904052734375
+				],
+				[
+					-4.497490406036377,
+					48.382442474365234
+				],
+				[
+					-4.4981775283813477,
+					48.382743835449219
+				]
+			],
+			"name" : "be",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4973726272583008,
+						48.383068084716797
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "be"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4982576370239258,
+					48.384105682373047
+				],
+				[
+					-4.4974422454833984,
+					48.384181976318359
+				],
+				[
+					-4.4970664978027344,
+					48.383697509765625
+				],
+				[
+					-4.4981236457824707,
+					48.383533477783203
+				]
+			],
+			"name" : "bf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4977583885192871,
+						48.383926391601562
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4945454597473145,
+					48.383678436279297
+				],
+				[
+					-4.4938907623291016,
+					48.384067535400391
+				],
+				[
+					-4.4930219650268555,
+					48.383338928222656
+				],
+				[
+					-4.4936981201171875,
+					48.382793426513672
+				]
+			],
+			"name" : "bg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4936871528625488,
+						48.383296966552734
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bg"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4952268600463867,
+					48.38458251953125
+				],
+				[
+					-4.4949374198913574,
+					48.384113311767578
+				],
+				[
+					-4.494481086730957,
+					48.384319305419922
+				],
+				[
+					-4.4947705268859863,
+					48.384681701660156
+				]
+			],
+			"name" : "bh",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494781494140625,
+						48.384475708007812
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bh"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4943842887878418,
+					48.385421752929688
+				],
+				[
+					-4.4940037727355957,
+					48.385261535644531
+				],
+				[
+					-4.4944114685058594,
+					48.3848876953125
+				],
+				[
+					-4.4945344924926758,
+					48.384593963623047
+				],
+				[
+					-4.4950013160705566,
+					48.384559631347656
+				],
+				[
+					-4.4951300621032715,
+					48.385051727294922
+				]
+			],
+			"name" : "ca",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494443416595459,
+						48.385124206542969
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ca"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4949531555175781,
+					48.3843994140625
+				],
+				[
+					-4.4934186935424805,
+					48.384559631347656
+				],
+				[
+					-4.4929952621459961,
+					48.384174346923828
+				],
+				[
+					-4.4942502975463867,
+					48.383811950683594
+				]
+			],
+			"name" : "cb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940090179443359,
+						48.384235382080078
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4929685592651367,
+					48.384243011474609
+				],
+				[
+					-4.4917669296264648,
+					48.383655548095703
+				],
+				[
+					-4.4926624298095703,
+					48.383022308349609
+				],
+				[
+					-4.4935851097106934,
+					48.383548736572266
+				]
+			],
+			"name" : "cc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926571846008301,
+						48.383560180664062
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4937567710876465,
+					48.382869720458984
+				],
+				[
+					-4.4929900169372559,
+					48.38336181640625
+				],
+				[
+					-4.4918203353881836,
+					48.382614135742188
+				],
+				[
+					-4.4925985336303711,
+					48.3822021484375
+				]
+			],
+			"name" : "cd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.492711067199707,
+						48.382659912109375
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4980916976928711,
+					48.383781433105469
+				],
+				[
+					-4.4969754219055176,
+					48.383941650390625
+				],
+				[
+					-4.496551513671875,
+					48.382984161376953
+				],
+				[
+					-4.4974207878112793,
+					48.382637023925781
+				]
+			],
+			"name" : "ce",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.497227668762207,
+						48.383514404296875
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ce"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4971742630004883,
+					48.3846435546875
+				],
+				[
+					-4.4968733787536621,
+					48.384017944335938
+				],
+				[
+					-4.4949855804443359,
+					48.384101867675781
+				],
+				[
+					-4.4953498840332031,
+					48.384742736816406
+				]
+			],
+			"name" : "cf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4956669807434082,
+						48.384307861328125
+					],
+					"field" : 120.0,
+					"radius" : 35.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4985523223876953,
+					48.384162902832031
+				],
+				[
+					-4.4976191520690918,
+					48.384227752685547
+				],
+				[
+					-4.4978070259094238,
+					48.384906768798828
+				],
+				[
+					-4.4988741874694824,
+					48.384864807128906
+				]
+			],
+			"name" : "cg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4979734420776367,
+						48.384464263916016
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cg"
+		}
+	],
+	"dir" : "/home/ptitcois/Programmation/HistoPacker/data",
+	"name" : "game_medium",
+	"resources" : 
+	[
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/be.jpg",
+			"name" : "aa",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bg.jpg",
+			"name" : "ab",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Carte de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bh.jpg",
+			"name" : "ac",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/ba.jpg",
+			"name" : "ad",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : " Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bb.jpg",
+			"name" : "ae",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Le tramway à Brest !",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bc.jpg",
+			"name" : "af",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo aérienne",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo ne contient pas de croix… Un indice doit se trouver vers le bâtiment où la photo a été prise. Peut-être a son entrée ?",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bd.jpg",
+			"name" : "ag",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice. Brest a beaucoup changé entre temps, mais certaines rues existent encore...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bf.jpg",
+			"name" : "ah",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une piece métalique en forme de croix de Saint André, d'où peut-elle bien provenir ?",
+			"file" : "/home/ptitcois/Documents/projet/parts/entretoises.obj",
+			"name" : "ai",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 1,
+			"title" : "Indice: Une piece mystèrieuse",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Le bâtiment montré par la croix a été détruit, il faudrait trouvé où était ce bâtiment, afin de trouver un autre indice.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cb.jpg",
+			"name" : "be",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo prise du pont",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cc.jpg",
+			"name" : "bg",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une mystèrieuse pièce métallique, qui doit provenir d'un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/balancier.obj",
+			"name" : "bh",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				180.0,
+				90.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.80000000000000004,
+				0.80000000000000004,
+				0.80000000000000004
+			],
+			"stage" : 2,
+			"title" : "Indice: Une pièce mécanique",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ce.jpg",
+			"name" : "ba",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo d'une tour",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Il faudrait retrouver l’endroit indiqué par la croix, mais Brest a beaucoup\nchangé depuis, ce qui n’est pas le cas pour toutes les rues...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cg.jpg",
+			"name" : "bb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Carte de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cf.jpg",
+			"name" : "bc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo du chateau",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ca.jpg",
+			"name" : "bd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cd.jpg",
+			"name" : "bf",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un cabestan, utilisée pour transmettre la force humaine vers un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/cabestan.obj",
+			"name" : "cb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 3,
+			"title" : "Cabestan",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un cône peut servir à pas mal de chôses, par exemple faire rouler un objet lourd.",
+			"file" : "/home/ptitcois/Documents/projet/parts/galet.obj",
+			"name" : "cc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Cône",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Des mâchoire peuvent servir à serrer très fortement un objet pour éviter qu'il bouge.",
+			"file" : "/home/ptitcois/Documents/projet/parts/machoires.obj",
+			"name" : "ce",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-15.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Mâchoires",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros verrou, comme pour une porte mais vraiment une grosse porte !",
+			"file" : "/home/ptitcois/Documents/projet/parts/verrou.obj",
+			"name" : "cg",
+			"position" : 
+			[
+				-5.0,
+				-6.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Verrou",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une roue dentée, permet de transmettre un mouvement en augmentant la force et diminuant la vitesse (ou vis versa).",
+			"file" : "/home/ptitcois/Documents/projet/parts/roue.obj",
+			"name" : "cf",
+			"position" : 
+			[
+				0.0,
+				-5.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Roues dentées",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une grosse roue dentée...",
+			"file" : "/home/ptitcois/Documents/projet/parts/couronne.obj",
+			"name" : "ca",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-5.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.20000000000000001,
+				0.20000000000000001,
+				0.20000000000000001
+			],
+			"stage" : 3,
+			"title" : "Couronne",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros volant permet de ... tourner quelque chose, comme d'actionner un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/volant.obj",
+			"name" : "cd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Volant",
+			"type" : "3D"
+		}
+	],
+	"stages" : 4,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 6,
+			"resource" : "ai",
+			"stage" : 1
+		},
+		{
+			"n_resource_step" : 5,
+			"resource" : "bf",
+			"stage" : 2
+		},
+		{
+			"n_resource_step" : 4,
+			"resource" : "cf",
+			"stage" : 3
+		},
+		{
+			"n_resource_step" : 2,
+			"resource" : "ai",
+			"stage" : 4
+		}
+	]
+}

+ 1575 - 0
final/final_mod2.json

@@ -0,0 +1,1575 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4931292533874512,
+					48.385768890380859
+				],
+				[
+					-4.4937028884887695,
+					48.385353088378906
+				],
+				[
+					-4.4932527542114258,
+					48.384967803955078
+				],
+				[
+					-4.4926304817199707,
+					48.385303497314453
+				]
+			],
+			"name" : "aa",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4931449890136719,
+						48.385330200195312
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "aa"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4913053512573242,
+					48.382537841796875
+				],
+				[
+					-4.4912090301513672,
+					48.381877899169922
+				],
+				[
+					-4.488161563873291,
+					48.382923126220703
+				],
+				[
+					-4.4889287948608398,
+					48.383445739746094
+				],
+				[
+					-4.4908976554870605,
+					48.382770538330078
+				]
+			],
+			"name" : "ab",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4907364845275879,
+						48.382221221923828
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ab"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4906401634216309,
+					48.382083892822266
+				],
+				[
+					-4.4920778274536133,
+					48.381664276123047
+				],
+				[
+					-4.4916753768920898,
+					48.381198883056641
+				],
+				[
+					-4.4905219078063965,
+					48.381404876708984
+				]
+			],
+			"name" : "ac",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.49114990234375,
+						48.381580352783203
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ac"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5012083053588867,
+					48.381473541259766
+				],
+				[
+					-4.5000386238098145,
+					48.381587982177734
+				],
+				[
+					-4.4994592666625977,
+					48.381111145019531
+				],
+				[
+					-4.5000762939453125,
+					48.380653381347656
+				],
+				[
+					-4.5011329650878906,
+					48.380649566650391
+				]
+			],
+			"name" : "ad",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5009450912475586,
+						48.381233215332031
+					],
+					"field" : 120.0,
+					"radius" : 30.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ad"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.499298095703125,
+					48.3819580078125
+				],
+				[
+					-4.4987082481384277,
+					48.381694793701172
+				],
+				[
+					-4.4997010231018066,
+					48.381172180175781
+				],
+				[
+					-4.5001726150512695,
+					48.381626129150391
+				]
+			],
+			"name" : "ae",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4994001388549805,
+						48.381622314453125
+					],
+					"field" : 120.0,
+					"radius" : 30.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ae"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008430480957031,
+					48.383190155029297
+				],
+				[
+					-4.5006661415100098,
+					48.38250732421875
+				],
+				[
+					-4.4998188018798828,
+					48.382408142089844
+				],
+				[
+					-4.4996414184570312,
+					48.383262634277344
+				]
+			],
+			"name" : "af",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5000972747802734,
+						48.382930755615234
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "af"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008111000061035,
+					48.386760711669922
+				],
+				[
+					-4.4985418319702148,
+					48.386512756347656
+				],
+				[
+					-4.4989442825317383,
+					48.385467529296875
+				],
+				[
+					-4.5011224746704102,
+					48.385875701904297
+				]
+			],
+			"name" : "ag",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4998936653137207,
+						48.386207580566406
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ag"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4998350143432617,
+					48.384529113769531
+				],
+				[
+					-4.4998350143432617,
+					48.384334564208984
+				],
+				[
+					-4.4990410804748535,
+					48.384193420410156
+				],
+				[
+					-4.4991855621337891,
+					48.384593963623047
+				]
+			],
+			"name" : "ah",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4993090629577637,
+						48.384357452392578
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ah"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4986867904663086,
+					48.383880615234375
+				],
+				[
+					-4.497581958770752,
+					48.384010314941406
+				],
+				[
+					-4.4972867965698242,
+					48.383296966552734
+				],
+				[
+					-4.4983649253845215,
+					48.383235931396484
+				]
+			],
+			"name" : "ai",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4981074333190918,
+						48.383739471435547
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ai"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4951572418212891,
+					48.385417938232422
+				],
+				[
+					-4.4944167137145996,
+					48.384819030761719
+				],
+				[
+					-4.4934296607971191,
+					48.385578155517578
+				],
+				[
+					-4.4937357902526855,
+					48.38580322265625
+				]
+			],
+			"name" : "ba",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940624237060547,
+						48.385536193847656
+					],
+					"field" : 120.0,
+					"radius" : 18.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ba"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4944005012512207,
+					48.384883880615234
+				],
+				[
+					-4.4944219589233398,
+					48.384567260742188
+				],
+				[
+					-4.4936604499816895,
+					48.384658813476562
+				],
+				[
+					-4.4927535057067871,
+					48.385341644287109
+				],
+				[
+					-4.4933972358703613,
+					48.385719299316406
+				]
+			],
+			"name" : "bb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.493462085723877,
+						48.385055541992188
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4910159111022949,
+					48.383163452148438
+				],
+				[
+					-4.4919171333312988,
+					48.382495880126953
+				],
+				[
+					-4.4929089546203613,
+					48.383102416992188
+				],
+				[
+					-4.4920511245727539,
+					48.383716583251953
+				]
+			],
+			"name" : "bc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4920401573181152,
+						48.383201599121094
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4927535057067871,
+					48.382495880126953
+				],
+				[
+					-4.493370532989502,
+					48.381828308105469
+				],
+				[
+					-4.4927325248718262,
+					48.381244659423828
+				],
+				[
+					-4.4917182922363281,
+					48.382297515869141
+				]
+			],
+			"name" : "bd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926247596740723,
+						48.381889343261719
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4977855682373047,
+					48.383388519287109
+				],
+				[
+					-4.4967446327209473,
+					48.383251190185547
+				],
+				[
+					-4.4967021942138672,
+					48.382904052734375
+				],
+				[
+					-4.497490406036377,
+					48.382442474365234
+				],
+				[
+					-4.4981775283813477,
+					48.382743835449219
+				]
+			],
+			"name" : "be",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4973726272583008,
+						48.383068084716797
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "be"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4982576370239258,
+					48.384105682373047
+				],
+				[
+					-4.4974422454833984,
+					48.384181976318359
+				],
+				[
+					-4.4970664978027344,
+					48.383697509765625
+				],
+				[
+					-4.4981236457824707,
+					48.383533477783203
+				]
+			],
+			"name" : "bf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4977583885192871,
+						48.383926391601562
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4945454597473145,
+					48.383678436279297
+				],
+				[
+					-4.4938907623291016,
+					48.384067535400391
+				],
+				[
+					-4.4930219650268555,
+					48.383338928222656
+				],
+				[
+					-4.4936981201171875,
+					48.382793426513672
+				]
+			],
+			"name" : "bg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4936871528625488,
+						48.383296966552734
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bg"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4952268600463867,
+					48.38458251953125
+				],
+				[
+					-4.4949374198913574,
+					48.384113311767578
+				],
+				[
+					-4.494481086730957,
+					48.384319305419922
+				],
+				[
+					-4.4947705268859863,
+					48.384681701660156
+				]
+			],
+			"name" : "bh",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494781494140625,
+						48.384475708007812
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bh"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4943842887878418,
+					48.385421752929688
+				],
+				[
+					-4.4940037727355957,
+					48.385261535644531
+				],
+				[
+					-4.4944114685058594,
+					48.3848876953125
+				],
+				[
+					-4.4945344924926758,
+					48.384593963623047
+				],
+				[
+					-4.4950013160705566,
+					48.384559631347656
+				],
+				[
+					-4.4951300621032715,
+					48.385051727294922
+				]
+			],
+			"name" : "ca",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494443416595459,
+						48.385124206542969
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ca"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4949531555175781,
+					48.3843994140625
+				],
+				[
+					-4.4934186935424805,
+					48.384559631347656
+				],
+				[
+					-4.4929952621459961,
+					48.384174346923828
+				],
+				[
+					-4.4942502975463867,
+					48.383811950683594
+				]
+			],
+			"name" : "cb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940090179443359,
+						48.384235382080078
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4929685592651367,
+					48.384243011474609
+				],
+				[
+					-4.4917669296264648,
+					48.383655548095703
+				],
+				[
+					-4.4926624298095703,
+					48.383022308349609
+				],
+				[
+					-4.4935851097106934,
+					48.383548736572266
+				]
+			],
+			"name" : "cc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926571846008301,
+						48.383560180664062
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4937567710876465,
+					48.382869720458984
+				],
+				[
+					-4.4929900169372559,
+					48.38336181640625
+				],
+				[
+					-4.4918203353881836,
+					48.382614135742188
+				],
+				[
+					-4.4925985336303711,
+					48.3822021484375
+				]
+			],
+			"name" : "cd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.492711067199707,
+						48.382659912109375
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4980916976928711,
+					48.383781433105469
+				],
+				[
+					-4.4969754219055176,
+					48.383941650390625
+				],
+				[
+					-4.496551513671875,
+					48.382984161376953
+				],
+				[
+					-4.4974207878112793,
+					48.382637023925781
+				]
+			],
+			"name" : "ce",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.497227668762207,
+						48.383514404296875
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ce"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4971742630004883,
+					48.3846435546875
+				],
+				[
+					-4.4968733787536621,
+					48.384017944335938
+				],
+				[
+					-4.4949855804443359,
+					48.384101867675781
+				],
+				[
+					-4.4953498840332031,
+					48.384742736816406
+				]
+			],
+			"name" : "cf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4956669807434082,
+						48.384307861328125
+					],
+					"field" : 120.0,
+					"radius" : 35.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4985523223876953,
+					48.384162902832031
+				],
+				[
+					-4.4976191520690918,
+					48.384227752685547
+				],
+				[
+					-4.4978070259094238,
+					48.384906768798828
+				],
+				[
+					-4.4988741874694824,
+					48.384864807128906
+				]
+			],
+			"name" : "cg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4979734420776367,
+						48.384464263916016
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cg"
+		}
+	],
+	"dir" : "/home/ptitcois/Programmation/TestMin3D2/app/src/main",
+	"map" : "/home/ptitcois/Documents/projet/cartes/map_lite_dist.jpg",
+	"name" : "game_medium",
+	"resources" : 
+	[
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/be.jpg",
+			"name" : "aa",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bg.jpg",
+			"name" : "ab",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Carte de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bh.jpg",
+			"name" : "ac",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/ba.jpg",
+			"name" : "ad",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : " Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bb.jpg",
+			"name" : "ae",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Le tramway à Brest !",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bc.jpg",
+			"name" : "af",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo aérienne",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo ne contient pas de croix… Un indice doit se trouver vers le bâtiment où la photo a été prise. Peut-être a son entrée ?",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bd.jpg",
+			"name" : "ag",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice. Brest a beaucoup changé entre temps, mais certaines rues existent encore...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bf.jpg",
+			"name" : "ah",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une piece métalique en forme de croix de Saint André, d'où peut-elle bien provenir ?",
+			"file" : "/home/ptitcois/Documents/projet/parts/entretoises.obj",
+			"name" : "ai",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 1,
+			"title" : "Indice: Une piece mystèrieuse",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Le bâtiment montré par la croix a été détruit, il faudrait trouvé où était ce bâtiment, afin de trouver un autre indice.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cb.jpg",
+			"name" : "be",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo prise du pont",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cc.jpg",
+			"name" : "bg",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une mystèrieuse pièce métallique, qui doit provenir d'un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/balancier.obj",
+			"name" : "bh",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				180.0,
+				90.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.80000000000000004,
+				0.80000000000000004,
+				0.80000000000000004
+			],
+			"stage" : 2,
+			"title" : "Indice: Une pièce mécanique",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ce.jpg",
+			"name" : "ba",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo d'une tour",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Il faudrait retrouver l’endroit indiqué par la croix, mais Brest a beaucoup\nchangé depuis, ce qui n’est pas le cas pour toutes les rues...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cg.jpg",
+			"name" : "bb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Carte de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cf.jpg",
+			"name" : "bc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo du chateau",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ca.jpg",
+			"name" : "bd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cd.jpg",
+			"name" : "bf",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un cabestan, utilisée pour transmettre la force humaine vers un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/cabestan.obj",
+			"name" : "cb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 3,
+			"title" : "Cabestan",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un cône peut servir à pas mal de chôses, par exemple faire rouler un objet lourd.",
+			"file" : "/home/ptitcois/Documents/projet/parts/galet.obj",
+			"name" : "cc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Cône",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Des mâchoire peuvent servir à serrer très fortement un objet pour éviter qu'il bouge.",
+			"file" : "/home/ptitcois/Documents/projet/parts/machoires.obj",
+			"name" : "ce",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-15.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Mâchoires",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros verrou, comme pour une porte mais vraiment une grosse porte !",
+			"file" : "/home/ptitcois/Documents/projet/parts/verrou.obj",
+			"name" : "cg",
+			"position" : 
+			[
+				-5.0,
+				-6.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Verrou",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une roue dentée, permet de transmettre un mouvement en augmentant la force et diminuant la vitesse (ou vis versa).",
+			"file" : "/home/ptitcois/Documents/projet/parts/roue.obj",
+			"name" : "cf",
+			"position" : 
+			[
+				0.0,
+				-5.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Roues dentées",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une grosse roue dentée...",
+			"file" : "/home/ptitcois/Documents/projet/parts/couronne.obj",
+			"name" : "ca",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-5.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.20000000000000001,
+				0.20000000000000001,
+				0.20000000000000001
+			],
+			"stage" : 3,
+			"title" : "Couronne",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros volant permet de ... tourner quelque chose, comme d'actionner un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/volant.obj",
+			"name" : "cd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Volant",
+			"type" : "3D"
+		}
+	],
+	"stages" : 4,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 5,
+			"resource" : "ai",
+			"stage" : 1,
+			"transition" : true
+		},
+		{
+			"n_resource_step" : 5,
+			"resource" : "bf",
+			"stage" : 2,
+			"transition" : true
+		},
+		{
+			"n_resource_step" : 4,
+			"resource" : "cf",
+			"stage" : 3,
+			"transition" : true
+		},
+		{
+			"n_resource_step" : 2,
+			"resource" : "ai",
+			"stage" : 4,
+			"transition" : true
+		}
+	]
+}

+ 1601 - 0
final/final_mod2_test.json

@@ -0,0 +1,1601 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4931292533874512,
+					48.385768890380859
+				],
+				[
+					-4.4937028884887695,
+					48.385353088378906
+				],
+				[
+					-4.4932527542114258,
+					48.384967803955078
+				],
+				[
+					-4.4926304817199707,
+					48.385303497314453
+				]
+			],
+			"name" : "aa",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4931449890136719,
+						48.385330200195312
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "aa"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4913053512573242,
+					48.382537841796875
+				],
+				[
+					-4.4912090301513672,
+					48.381877899169922
+				],
+				[
+					-4.488161563873291,
+					48.382923126220703
+				],
+				[
+					-4.4889287948608398,
+					48.383445739746094
+				],
+				[
+					-4.4908976554870605,
+					48.382770538330078
+				]
+			],
+			"name" : "ab",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4907364845275879,
+						48.382221221923828
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ab"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4906401634216309,
+					48.382083892822266
+				],
+				[
+					-4.4920778274536133,
+					48.381664276123047
+				],
+				[
+					-4.4916753768920898,
+					48.381198883056641
+				],
+				[
+					-4.4905219078063965,
+					48.381404876708984
+				]
+			],
+			"name" : "ac",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.49114990234375,
+						48.381580352783203
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ac"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5012083053588867,
+					48.381473541259766
+				],
+				[
+					-4.5000386238098145,
+					48.381587982177734
+				],
+				[
+					-4.4994592666625977,
+					48.381111145019531
+				],
+				[
+					-4.5000762939453125,
+					48.380653381347656
+				],
+				[
+					-4.5011329650878906,
+					48.380649566650391
+				]
+			],
+			"name" : "ad",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5009450912475586,
+						48.381233215332031
+					],
+					"field" : 120.0,
+					"radius" : 30.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ad"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.499298095703125,
+					48.3819580078125
+				],
+				[
+					-4.4987082481384277,
+					48.381694793701172
+				],
+				[
+					-4.4997010231018066,
+					48.381172180175781
+				],
+				[
+					-4.5001726150512695,
+					48.381626129150391
+				]
+			],
+			"name" : "ae",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4994001388549805,
+						48.381622314453125
+					],
+					"field" : 120.0,
+					"radius" : 30.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ae"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008430480957031,
+					48.383190155029297
+				],
+				[
+					-4.5006661415100098,
+					48.38250732421875
+				],
+				[
+					-4.4998188018798828,
+					48.382408142089844
+				],
+				[
+					-4.4996414184570312,
+					48.383262634277344
+				]
+			],
+			"name" : "af",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.5000972747802734,
+						48.382930755615234
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "af"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.5008111000061035,
+					48.386760711669922
+				],
+				[
+					-4.4985418319702148,
+					48.386512756347656
+				],
+				[
+					-4.4989442825317383,
+					48.385467529296875
+				],
+				[
+					-4.5011224746704102,
+					48.385875701904297
+				]
+			],
+			"name" : "ag",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4998936653137207,
+						48.386207580566406
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ag"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4998350143432617,
+					48.384529113769531
+				],
+				[
+					-4.4998350143432617,
+					48.384334564208984
+				],
+				[
+					-4.4990410804748535,
+					48.384193420410156
+				],
+				[
+					-4.4991855621337891,
+					48.384593963623047
+				]
+			],
+			"name" : "ah",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4993090629577637,
+						48.384357452392578
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ah"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4986867904663086,
+					48.383880615234375
+				],
+				[
+					-4.497581958770752,
+					48.384010314941406
+				],
+				[
+					-4.4972867965698242,
+					48.383296966552734
+				],
+				[
+					-4.4983649253845215,
+					48.383235931396484
+				]
+			],
+			"name" : "ai",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4981074333190918,
+						48.383739471435547
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ai"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4951572418212891,
+					48.385417938232422
+				],
+				[
+					-4.4944167137145996,
+					48.384819030761719
+				],
+				[
+					-4.4934296607971191,
+					48.385578155517578
+				],
+				[
+					-4.4937357902526855,
+					48.38580322265625
+				]
+			],
+			"name" : "ba",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940624237060547,
+						48.385536193847656
+					],
+					"field" : 120.0,
+					"radius" : 18.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ba"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4944005012512207,
+					48.384883880615234
+				],
+				[
+					-4.4944219589233398,
+					48.384567260742188
+				],
+				[
+					-4.4936604499816895,
+					48.384658813476562
+				],
+				[
+					-4.4927535057067871,
+					48.385341644287109
+				],
+				[
+					-4.4933972358703613,
+					48.385719299316406
+				]
+			],
+			"name" : "bb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.493462085723877,
+						48.385055541992188
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4910159111022949,
+					48.383163452148438
+				],
+				[
+					-4.4919171333312988,
+					48.382495880126953
+				],
+				[
+					-4.4929089546203613,
+					48.383102416992188
+				],
+				[
+					-4.4920511245727539,
+					48.383716583251953
+				]
+			],
+			"name" : "bc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4920401573181152,
+						48.383201599121094
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4927535057067871,
+					48.382495880126953
+				],
+				[
+					-4.493370532989502,
+					48.381828308105469
+				],
+				[
+					-4.4927325248718262,
+					48.381244659423828
+				],
+				[
+					-4.4917182922363281,
+					48.382297515869141
+				]
+			],
+			"name" : "bd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926247596740723,
+						48.381889343261719
+					],
+					"field" : 120.0,
+					"radius" : 15.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4977855682373047,
+					48.383388519287109
+				],
+				[
+					-4.4967446327209473,
+					48.383251190185547
+				],
+				[
+					-4.4967021942138672,
+					48.382904052734375
+				],
+				[
+					-4.497490406036377,
+					48.382442474365234
+				],
+				[
+					-4.4981775283813477,
+					48.382743835449219
+				]
+			],
+			"name" : "be",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4973726272583008,
+						48.383068084716797
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "be"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4982576370239258,
+					48.384105682373047
+				],
+				[
+					-4.4974422454833984,
+					48.384181976318359
+				],
+				[
+					-4.4970664978027344,
+					48.383697509765625
+				],
+				[
+					-4.4981236457824707,
+					48.383533477783203
+				]
+			],
+			"name" : "bf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4977583885192871,
+						48.383926391601562
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4945454597473145,
+					48.383678436279297
+				],
+				[
+					-4.4938907623291016,
+					48.384067535400391
+				],
+				[
+					-4.4930219650268555,
+					48.383338928222656
+				],
+				[
+					-4.4936981201171875,
+					48.382793426513672
+				]
+			],
+			"name" : "bg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4936871528625488,
+						48.383296966552734
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bg"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4952268600463867,
+					48.38458251953125
+				],
+				[
+					-4.4949374198913574,
+					48.384113311767578
+				],
+				[
+					-4.494481086730957,
+					48.384319305419922
+				],
+				[
+					-4.4947705268859863,
+					48.384681701660156
+				]
+			],
+			"name" : "bh",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494781494140625,
+						48.384475708007812
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "bh"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4943842887878418,
+					48.385421752929688
+				],
+				[
+					-4.4940037727355957,
+					48.385261535644531
+				],
+				[
+					-4.4944114685058594,
+					48.3848876953125
+				],
+				[
+					-4.4945344924926758,
+					48.384593963623047
+				],
+				[
+					-4.4950013160705566,
+					48.384559631347656
+				],
+				[
+					-4.4951300621032715,
+					48.385051727294922
+				]
+			],
+			"name" : "ca",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.494443416595459,
+						48.385124206542969
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ca"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4949531555175781,
+					48.3843994140625
+				],
+				[
+					-4.4934186935424805,
+					48.384559631347656
+				],
+				[
+					-4.4929952621459961,
+					48.384174346923828
+				],
+				[
+					-4.4942502975463867,
+					48.383811950683594
+				]
+			],
+			"name" : "cb",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4940090179443359,
+						48.384235382080078
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4929685592651367,
+					48.384243011474609
+				],
+				[
+					-4.4917669296264648,
+					48.383655548095703
+				],
+				[
+					-4.4926624298095703,
+					48.383022308349609
+				],
+				[
+					-4.4935851097106934,
+					48.383548736572266
+				]
+			],
+			"name" : "cc",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4926571846008301,
+						48.383560180664062
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cc"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4937567710876465,
+					48.382869720458984
+				],
+				[
+					-4.4929900169372559,
+					48.38336181640625
+				],
+				[
+					-4.4918203353881836,
+					48.382614135742188
+				],
+				[
+					-4.4925985336303711,
+					48.3822021484375
+				]
+			],
+			"name" : "cd",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.492711067199707,
+						48.382659912109375
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cd"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4980916976928711,
+					48.383781433105469
+				],
+				[
+					-4.4969754219055176,
+					48.383941650390625
+				],
+				[
+					-4.496551513671875,
+					48.382984161376953
+				],
+				[
+					-4.4974207878112793,
+					48.382637023925781
+				]
+			],
+			"name" : "ce",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.497227668762207,
+						48.383514404296875
+					],
+					"field" : 120.0,
+					"radius" : 25.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "ce"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4971742630004883,
+					48.3846435546875
+				],
+				[
+					-4.4968733787536621,
+					48.384017944335938
+				],
+				[
+					-4.4949855804443359,
+					48.384101867675781
+				],
+				[
+					-4.4953498840332031,
+					48.384742736816406
+				]
+			],
+			"name" : "cf",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4956669807434082,
+						48.384307861328125
+					],
+					"field" : 120.0,
+					"radius" : 35.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cf"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-4.4985523223876953,
+					48.384162902832031
+				],
+				[
+					-4.4976191520690918,
+					48.384227752685547
+				],
+				[
+					-4.4978070259094238,
+					48.384906768798828
+				],
+				[
+					-4.4988741874694824,
+					48.384864807128906
+				]
+			],
+			"name" : "cg",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-4.4979734420776367,
+						48.384464263916016
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "cg"
+		}
+	],
+	"dir" : "/home/ptitcois/Programmation/TestMin3D2/app/src/main",
+	"map" : "/home/ptitcois/Documents/projet/cartes/map_lite_dist.jpg",
+	"name" : "game_medium",
+	"resources" : 
+	[
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/be.jpg",
+			"name" : "aa",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bg.jpg",
+			"name" : "ab",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Carte de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice…",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bh.jpg",
+			"name" : "ac",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/ba.jpg",
+			"name" : "ad",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Vue de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : " Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bb.jpg",
+			"name" : "ae",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Le tramway à Brest !",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo indique probablement un autre indice. La croix doit certainement y mener.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bc.jpg",
+			"name" : "af",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo aérienne",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Cette photo ne contient pas de croix… Un indice doit se trouver vers le bâtiment où la photo a été prise. Peut-être a son entrée ?",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bd.jpg",
+			"name" : "ag",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Photo de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Le trésor doit sûrement être un autre indice. Brest a beaucoup changé entre temps, mais certaines rues existent encore...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 2/bf.jpg",
+			"name" : "ah",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Indice: Plan de recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une piece métalique en forme de croix de Saint André, d'où peut-elle bien provenir ?",
+			"file" : "/home/ptitcois/Documents/projet/parts/entretoises.obj",
+			"name" : "ai",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 1,
+			"title" : "Indice: Une piece mystèrieuse",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Le bâtiment montré par la croix a été détruit, il faudrait trouvé où était ce bâtiment, afin de trouver un autre indice.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cb.jpg",
+			"name" : "be",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo prise du pont",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cc.jpg",
+			"name" : "bg",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une mystèrieuse pièce métallique, qui doit provenir d'un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/balancier.obj",
+			"name" : "bh",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				180.0,
+				90.0,
+				180.0
+			],
+			"scale" : 
+			[
+				0.80000000000000004,
+				0.80000000000000004,
+				0.80000000000000004
+			],
+			"stage" : 2,
+			"title" : "Indice: Une pièce mécanique",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ce.jpg",
+			"name" : "ba",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo d'une tour",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une carte au trésor ! Il faudrait retrouver l’endroit indiqué par la croix, mais Brest a beaucoup\nchangé depuis, ce qui n’est pas le cas pour toutes les rues...",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cg.jpg",
+			"name" : "bb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Carte de Recouvrance",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Il n’y a pas de croix sur cette photo... L’indice doit se trouver où la photo a été prise.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cf.jpg",
+			"name" : "bc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo du chateau",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/ca.jpg",
+			"name" : "bd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Une croix apparaît sur la photo, il devrait certainement y avoir un indice là bas.",
+			"file" : "/home/ptitcois/Documents/projet/Resources/NouvellesMod/OK/Étape 3/cd.jpg",
+			"name" : "bf",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Indice: Photo aérienne de Brest \"même\"",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un cabestan, utilisée pour transmettre la force humaine vers un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/cabestan.obj",
+			"name" : "cb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.29999999999999999,
+				0.29999999999999999,
+				0.29999999999999999
+			],
+			"stage" : 3,
+			"title" : "Cabestan",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un cône peut servir à pas mal de chôses, par exemple faire rouler un objet lourd.",
+			"file" : "/home/ptitcois/Documents/projet/parts/galet.obj",
+			"name" : "cc",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				180.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Cône",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Des mâchoire peuvent servir à serrer très fortement un objet pour éviter qu'il bouge.",
+			"file" : "/home/ptitcois/Documents/projet/parts/machoires.obj",
+			"name" : "ce",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-15.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Mâchoires",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros verrou, comme pour une porte mais vraiment une grosse porte !",
+			"file" : "/home/ptitcois/Documents/projet/parts/verrou.obj",
+			"name" : "cg",
+			"position" : 
+			[
+				-5.0,
+				-6.0,
+				-30.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Verrou",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une roue dentée, permet de transmettre un mouvement en augmentant la force et diminuant la vitesse (ou vis versa).",
+			"file" : "/home/ptitcois/Documents/projet/parts/roue.obj",
+			"name" : "cf",
+			"position" : 
+			[
+				0.0,
+				-5.0,
+				-10.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Roues dentées",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Une grosse roue dentée...",
+			"file" : "/home/ptitcois/Documents/projet/parts/couronne.obj",
+			"name" : "ca",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				-5.0
+			],
+			"rotation" : 
+			[
+				30.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				0.20000000000000001,
+				0.20000000000000001,
+				0.20000000000000001
+			],
+			"stage" : 3,
+			"title" : "Couronne",
+			"type" : "3D"
+		},
+		{
+			"comment" : "Un gros volant permet de ... tourner quelque chose, comme d'actionner un engrenage.",
+			"file" : "/home/ptitcois/Documents/projet/parts/volant.obj",
+			"name" : "cd",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Volant",
+			"type" : "3D"
+		},
+		{
+			"comment" : "L'intro !",
+			"file" : "/home/ptitcois/Vidéos/lucie.m4v",
+			"name" : "intro",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 0,
+			"title" : "Introduction",
+			"type" : "Video"
+		}
+	],
+	"stages" : 4,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 5,
+			"resource" : "intro",
+			"stage" : 1,
+			"transition" : false
+		},
+		{
+			"n_resource_step" : 5,
+			"resource" : "bf",
+			"stage" : 2,
+			"transition" : true
+		},
+		{
+			"n_resource_step" : 4,
+			"resource" : "cf",
+			"stage" : 3,
+			"transition" : true
+		},
+		{
+			"n_resource_step" : 2,
+			"resource" : "ai",
+			"stage" : 4,
+			"transition" : true
+		}
+	]
+}

+ 287 - 0
final/sainterblon.json

@@ -0,0 +1,287 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-1.6555184125900269,
+					48.021659851074219
+				],
+				[
+					-1.6548639535903931,
+					48.021629333496094
+				],
+				[
+					-1.6548800468444824,
+					48.021282196044922
+				],
+				[
+					-1.6554111242294312,
+					48.021144866943359
+				]
+			],
+			"name" : "b",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-1.6552233695983887,
+						48.021419525146484
+					],
+					"field" : 180.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "planb"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-1.6560870409011841,
+					48.020763397216797
+				],
+				[
+					-1.6555881500244141,
+					48.020828247070312
+				],
+				[
+					-1.6555345058441162,
+					48.020317077636719
+				],
+				[
+					-1.6560924053192139,
+					48.020290374755859
+				]
+			],
+			"name" : "c",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-1.6558456420898438,
+						48.020503997802734
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "clef"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-1.6552340984344482,
+					48.021247863769531
+				],
+				[
+					-1.6542899608612061,
+					48.021278381347656
+				],
+				[
+					-1.6543382406234741,
+					48.020603179931641
+				],
+				[
+					-1.6552501916885376,
+					48.020603179931641
+				]
+			],
+			"name" : "a",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-1.6547566652297974,
+						48.020992279052734
+					],
+					"field" : 120.0,
+					"radius" : 10.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "plana"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-1.6598367691040039,
+					48.021968841552734
+				],
+				[
+					-1.6580986976623535,
+					48.021793365478516
+				],
+				[
+					-1.6595578193664551,
+					48.0208740234375
+				]
+			],
+			"name" : "intro",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-1.6593432426452637,
+						48.021648406982422
+					],
+					"field" : 120.0,
+					"radius" : 10.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "intro"
+		}
+	],
+	"dir" : "/home/ptitcois/Programmation/TestMin3D2/app/src/main",
+	"map" : "/home/ptitcois/Documents/Saint-erblon/Projets/App/indices/carte.png",
+	"name" : "game_medium",
+	"resources" : 
+	[
+		{
+			"comment" : "Hmm, voila un étrange message signé Monsieur Mystère.",
+			"file" : "/home/ptitcois/Documents/Saint-erblon/Projets/App/indices/IMG_20170508_191335.jpg",
+			"name" : "intro",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 4,
+			"title" : "Un message mysterieux",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un plan mysterieux et mal dessiné ! Ça ressemble à un terrain de Football.",
+			"file" : "/home/ptitcois/Documents/Saint-erblon/Projets/App/indices/IMG_20170508_190219.jpg",
+			"name" : "plana",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Un plan",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Un autre plan, encore plus mal dessiné, on dirait un panier de Basket.",
+			"file" : "/home/ptitcois/Documents/Saint-erblon/Projets/App/indices/IMG_20170508_190606.jpg",
+			"name" : "planb",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Un deuxième plan ",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Trop bien on a gagné une clé !",
+			"file" : "/home/ptitcois/Documents/Saint-erblon/Projets/App/indices/IMG_20170508_190940.jpg",
+			"name" : "clef",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "La clé",
+			"type" : "Image"
+		}
+	],
+	"stages" : 4,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 1,
+			"resource" : "intro",
+			"stage" : 1,
+			"transition" : false
+		},
+		{
+			"n_resource_step" : 1,
+			"resource" : "plana",
+			"stage" : 2,
+			"transition" : false
+		},
+		{
+			"n_resource_step" : 1,
+			"resource" : "planb",
+			"stage" : 3,
+			"transition" : false
+		},
+		{
+			"n_resource_step" : 1,
+			"resource" : "clef",
+			"stage" : 4,
+			"transition" : false
+		}
+	]
+}

+ 254 - 0
final/testTriangle.json

@@ -0,0 +1,254 @@
+{
+	"areas" : 
+	[
+		{
+			"coordinates" : 
+			[
+				[
+					-1.6592252254486084,
+					48.084953308105469
+				],
+				[
+					-1.6588068008422852,
+					48.084938049316406
+				],
+				[
+					-1.658785343170166,
+					48.084701538085938
+				],
+				[
+					-1.6591715812683105,
+					48.084701538085938
+				]
+			],
+			"name" : "a",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-1.6589784622192383,
+						48.084831237792969
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "a"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-1.6611671447753906,
+					48.08587646484375
+				],
+				[
+					-1.6597509384155273,
+					48.085762023925781
+				],
+				[
+					-1.6601371765136719,
+					48.084873199462891
+				],
+				[
+					-1.6612744331359863,
+					48.084873199462891
+				]
+			],
+			"name" : "b",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-1.6606307029724121,
+						48.085491180419922
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "b"
+		},
+		{
+			"coordinates" : 
+			[
+				[
+					-1.6617679595947266,
+					48.086536407470703
+				],
+				[
+					-1.6605877876281738,
+					48.086620330810547
+				],
+				[
+					-1.660759449005127,
+					48.085647583007812
+				],
+				[
+					-1.6620469093322754,
+					48.085662841796875
+				]
+			],
+			"name" : "c",
+			"points" : 
+			[
+				{
+					"angle" : 180.0,
+					"coordinates" : 
+					[
+						-1.6612958908081055,
+						48.086177825927734
+					],
+					"field" : 120.0,
+					"radius" : 20.0,
+					"useAngle" : false
+				}
+			],
+			"resource" : "c"
+		}
+	],
+	"dir" : "/home/ptitcois/Programmation/TestMin3D2/app/src/main",
+	"map" : "/home/ptitcois/Programmation/histodexc",
+	"name" : "",
+	"resources" : 
+	[
+		{
+			"comment" : "Le voila",
+			"file" : "/home/ptitcois/Documents/projet/test/images/a.png",
+			"name" : "a",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "LE premier indice",
+			"type" : "Image"
+		},
+		{
+			"comment" : "Le deuxlieme",
+			"file" : "/home/ptitcois/Documents/projet/test/images/b.png",
+			"name" : "b",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 2,
+			"title" : "Le deuxieme indice",
+			"type" : "Image"
+		},
+		{
+			"comment" : "",
+			"file" : "/home/ptitcois/Documents/projet/test/images/c.png",
+			"name" : "c",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 3,
+			"title" : "Le dernier",
+			"type" : "Image"
+		},
+		{
+			"comment" : "",
+			"file" : "/home/ptitcois/Documents/projet/test/images/d.png",
+			"name" : "d",
+			"position" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"rotation" : 
+			[
+				0.0,
+				0.0,
+				0.0
+			],
+			"scale" : 
+			[
+				1.0,
+				1.0,
+				1.0
+			],
+			"stage" : 1,
+			"title" : "Gagné",
+			"type" : "Image"
+		}
+	],
+	"stages" : 4,
+	"stages_list" : 
+	[
+		{
+			"n_resource_step" : 1,
+			"resource" : "a",
+			"stage" : 1,
+			"transition" : false
+		},
+		{
+			"n_resource_step" : 1,
+			"resource" : "b",
+			"stage" : 2,
+			"transition" : false
+		},
+		{
+			"n_resource_step" : 1,
+			"resource" : "c",
+			"stage" : 3,
+			"transition" : false
+		},
+		{
+			"n_resource_step" : 1,
+			"resource" : "d",
+			"stage" : 4,
+			"transition" : false
+		}
+	]
+}

+ 1 - 1
src/area.cc

@@ -16,7 +16,7 @@ void Area::set(Json::Value& v)
 }
 
 Area::Area(Way& v) : Data()
-{
+{ 
 	m_data_type=DATA_TYPE_ZONE;
 	for(int i=0; i<v.m_keys.size(); i++)
 	{

+ 79 - 10
src/g-window.cc

@@ -146,6 +146,36 @@ void GWindow::show()
 }
 
 
+bool GWindow::checkSaved()
+{
+	if(isModidified())
+	{
+		gint result;
+		GtkDialogFlags flags = GTK_DIALOG_MODAL;
+		GtkWidget *dialog = gtk_message_dialog_new (GTK_WINDOW(m_window),
+				                         flags,
+										 GTK_MESSAGE_QUESTION,
+										 GTK_BUTTONS_YES_NO,
+				                         "Voulez-vous sauvegarder le fichier ?");
+		gtk_window_set_title(GTK_WINDOW(dialog), "Sauvegarder");
+		result=gtk_dialog_run (GTK_DIALOG (dialog));
+
+		if (result==GTK_RESPONSE_YES)
+		{
+		    on_save();
+			return true;
+		}
+		else if (result==GTK_RESPONSE_NO)
+		{
+			return true;
+		}else
+		{
+			return false;
+		}
+		gtk_widget_destroy (dialog);
+	}
+}
+
 void window_start(int argc, char** argv)
 {
 	GWindow* g = new GWindow ();
@@ -183,6 +213,7 @@ void GWindow::init_menu()
 	CONNECT(m_saveas, "activate", ::on_saveas, sm_args);
 	CONNECT(m_exit, "activate", ::on_exit_win, sm_args);
 	CONNECT(m_import, "activate", ::on_import, sm_args);
+	CONNECT(m_window, "destroy", on_exit_win,sm_args);
 }
 
 void GWindow::on_generate()
@@ -258,9 +289,12 @@ Json::Value GWindow::getJson(bool genFinal)
 	j["stages_list"] = m_stage->getJson();
 	if(!genFinal) 
 		j["resources"] = m_resource->getJson();
+	else 
+		j["others"] = m_resource->getJsonOrphelin ();
 	return j;
 }
 
+
 void GWindow::on_new()
 {
 	Json::Value v(Json::arrayValue);
@@ -269,12 +303,39 @@ void GWindow::on_new()
 	m_zone->open(v);
 	m_general->open(v);
 	m_stage->open(v);
+	setModidified ();
 	m_general->on_stage_changed();
 	changeFile ("");
 }
 
+void GWindow::setModidified()
+{
+	m_resource->setModified ();
+	m_zone->setModified ();
+	m_general->setModified ();
+	m_stage->setModified ();
+}
 
 
+void GWindow::clearModidified()
+{
+	m_resource->clearModified ();
+	m_zone->clearModified ();
+	m_general->clearModified ();
+	m_stage->clearModified ();
+}
+
+
+bool GWindow::isModidified()
+{
+	bool b= false;
+	b|=m_resource->getModified ();
+	b|=m_zone->getModified ();
+	b|=m_general->getModified ();
+	b|=m_stage->getModified ();
+	return b;
+}
+
 void GWindow::on_open()
 {
 	GtkWidget *dialog;
@@ -297,6 +358,7 @@ void GWindow::on_open()
 			std::cout << gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog)) << std::endl;
 			open(gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog)));
 			changeFile(gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog)));
+			clearModidified();
 		}catch(std::exception& e)
 		{
 			
@@ -312,7 +374,6 @@ void GWindow::on_import()
 	GtkWidget *dialog;
 	GtkFileChooserAction action = GTK_FILE_CHOOSER_ACTION_OPEN;
 	gint res;
-
 	dialog = gtk_file_chooser_dialog_new ("Importer le fichier Merkaartor",
 		                                  GTK_WINDOW(m_window),
 		                                  action,
@@ -349,6 +410,7 @@ void GWindow::on_save()
 	}else
 	{
 		write(m_currentFile);
+		clearModidified();
 	}
 }
 
@@ -373,6 +435,7 @@ void GWindow::on_saveas()
 		std::cout << gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog)) << std::endl;
 		write(gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog)));
 		changeFile(gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(dialog)));
+		clearModidified();
 	}
 	gtk_widget_destroy (dialog);
 }
@@ -390,18 +453,24 @@ void GWindow::changeFile(const std::string& file)
 
 void GWindow::open(const std::string& f)
 {
-	Json::Value v;
-	std::ifstream in(f);
-	in >> v;
-	m_resource->open(v["resources"]);
-	m_zone->open(v["areas"]);
-	m_stage->open(v["stages_list"]);
-	m_general->open(v);
-	changeFile (f);
+	if(checkSaved ())
+	{
+		Json::Value v;
+		std::ifstream in(f);
+		in >> v;
+		m_resource->open(v["resources"]);
+		m_zone->open(v["areas"]);
+		m_stage->open(v["stages_list"]);
+		m_general->open(v);
+		changeFile (f);
+	}
 }
 
 
 void GWindow::on_exit()
 {
-	std::cout << "Exit" << std::endl;
+	if(checkSaved ())
+	{
+		gtk_main_quit ();
+	}
 }

+ 6 - 0
src/g-window.h

@@ -44,6 +44,7 @@ class GWindow
 		void on_exit();
 		void open(const std::string& f);
 		void changeFile(const std::string& file);
+		 
 		
 	protected:
 		int				m_magic;
@@ -68,6 +69,11 @@ class GWindow
 		std::string     m_currentFile;
 	protected:
 		void init_menu();
+		void setModidified();
+
+		void clearModidified();
+		bool isModidified();
+		bool checkSaved();
 		 
 	private:
 

+ 32 - 0
src/general-tab.cc

@@ -28,6 +28,11 @@ static void on_stage_changed (GtkSpinButton *spin_button,
 	z->on_stage_changed ();
 }
 
+gboolean on_switch_state_changed (GtkSwitch *widget, gboolean   state, gpointer   user_data)
+{
+	on_stage_changed((GtkSpinButton*)widget, user_data);
+	return FALSE;
+}
 
 
 GeneralTab::GeneralTab(GtkWidget *window, GtkBuilder *builder, StageTab* st) : Tab(window, builder)
@@ -40,6 +45,11 @@ GeneralTab::GeneralTab(GtkWidget *window, GtkBuilder *builder, StageTab* st) : T
 	CONNECT(m_stages, "value-changed", ::on_stage_changed, mca);
 	
 	m_dir=(GtkFileChooserButton*)gtk_builder_get_object(m_builder, "fcd_dir");
+	
+	m_map=(GtkFileChooserButton*)gtk_builder_get_object(m_builder, "fcd_map");
+
+	m_useMap=GTK_SWITCH(gtk_builder_get_object(m_builder, "sw_map"));
+	CONNECT(m_useMap, "state-set", ::on_switch_state_changed, mca);
 
 }
 
@@ -63,6 +73,7 @@ Json::Value GeneralTab::getJson(bool bo)
 
 void GeneralTab::open(Json::Value& val)
 {
+	m_isModified=false;
 	General g(val);
 	setupTab(g);
 }
@@ -71,9 +82,21 @@ void GeneralTab::on_save_clicked()
 {
 }
 
+void GeneralTab::setLayout()
+{
+	if(gtk_switch_get_active (m_useMap))
+	{
+		gtk_widget_show (GTK_WIDGET(m_map));
+	}else
+	{
+		gtk_widget_hide (GTK_WIDGET(m_map));
+	}
+}
+
 int GeneralTab::on_stage_changed()
 {
 	m_stage->setNStage (gtk_spin_button_get_value(m_stages));
+	setLayout();
 }
 
 
@@ -82,6 +105,10 @@ void GeneralTab::setupTab(Data& _a)
 	General& a=General::cast(_a);
 	gtk_entry_set_text (m_name, a.m_name.c_str());
 	gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(m_dir), a.m_dir.c_str());
+	if(a.m_map!="")
+		gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(m_map), a.m_map.c_str());
+	else
+		gtk_file_chooser_set_filename (GTK_FILE_CHOOSER(m_map), "");
 	gtk_spin_button_set_value (m_stages, a.m_nStages);
 }
 
@@ -90,6 +117,11 @@ Data& GeneralTab::getTab(bool& genFinal)
 	static General g;
 	g.m_name = gtk_entry_get_text(m_name);
 	g.m_dir = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(m_dir));
+	if(gtk_switch_get_active (m_useMap))
+		g.m_map = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(m_map));
+	else
+		g.m_map="";
+		
 	g.m_nStages = (int)gtk_spin_button_get_value(m_stages);
 	return g;
 }

+ 4 - 0
src/general-tab.h

@@ -34,6 +34,7 @@ public:
 	virtual void			on_save_clicked();	 
     int						on_stage_changed();	 
 	virtual void			setupTab(Data& a);
+	virtual void			setLayout ();
 	virtual Data&			getTab(bool& genFinal);
 	General					getGeneral(){ bool b; return General::cast(getTab(b));}
 	 
@@ -41,7 +42,10 @@ protected:
 	GtkEntry*				m_name;
 	GtkSpinButton*			m_stages;
 	GtkFileChooserButton*	m_dir;
+	GtkFileChooserButton*	m_map;
+	GtkSwitch*				m_useMap;
 	StageTab*				m_stage;
+	
 };
 
 #endif // _GENERAL_TAB_H_

+ 10 - 0
src/general.cc

@@ -48,6 +48,7 @@ void General::set(Json::Value& v)
 	m_name = v["name"].asString();
 	m_nStages = v["stages"].asInt();
 	m_dir = v["dir"].asString();
+	m_map = v["map"].asString();
 }
 
 const Data& General::operator=(const General& a)
@@ -55,6 +56,7 @@ const Data& General::operator=(const General& a)
 	m_name=a.m_name;
 	m_dir=a.m_dir;
 	m_nStages=a.m_nStages;
+	m_map=a.m_map;
 	return *this;
 }
 
@@ -63,6 +65,7 @@ Json::Value General::getJson(bool genFinal)
 	Json::Value v(Json::objectValue);
 	v["name"] = m_name;
 	v["stages"] = m_nStages;
+	v["map"] = m_map;
 	if(!genFinal) v["dir"] = m_dir;
 	return v;
 }
@@ -73,3 +76,10 @@ General& General::cast(Data& d)
 		assert(0);
 	return (General&)d;
 }
+
+
+
+const std::string& General::getMap()
+{
+	return m_map;
+}

+ 3 - 0
src/general.h

@@ -35,12 +35,15 @@ public:
 	const Data&		operator=(const General& a);
 	Json::Value		getJson(bool genFinal=false);
 	void			set(Json::Value& v);
+	const std::string& 
+					getMap();
 	static General& cast(Data& d);
 	 
 protected:
 	std::string		m_name;
 	std::string		m_dir;
 	int				m_nStages;
+	std::string		m_map;
 
 	 friend class GeneralTab;
 	 friend class Generator;

+ 25 - 13
src/generator.cc

@@ -37,8 +37,8 @@
 #define FILE_AUDIO_MTL "models/audio/audio.mtl"
 #define FILE_VIDEO_OBJ "models/camera/camera.obj"
 #define FILE_VIDEO_MTL "models/camera/camera.mtl"
-
-
+ 
+ 
 Generator::Generator(General& g, std::vector<Area>& a,std::vector<Resource>& r,
                      std::vector<Stage>& s, GWindow* ui)
 {
@@ -93,6 +93,19 @@ void Generator::error(const std::string& l, int level)
 	else if(level==LOG_ERROR) {p="Erreur: "; m_nErrors++;}
 	else {p="Erreur Critique: "; m_nCriticalErrors++; }
 	m_errors.push_back (p+l);
+} 
+
+void Generator::generateMap()
+{ 
+	std::string map = m_gen.getMap ();
+	if(map!="")
+	{
+		log("Génération du la map: '"+map+"' vers '" +OS::concatPath(m_pathRaw, strtolower (m_gen.m_name+"_map"))+"'");
+		OS::copy(map, OS::concatPath(m_pathRaw, "map") );
+	}else
+	{
+		log("Pas de carte a ajouter");
+	}
 }
 
 void Generator::generate()
@@ -100,6 +113,7 @@ void Generator::generate()
 	Json::Value o = m_ui->getJson (true);
 	std::cout << "gen: "<< OS::concatPath(m_pathRaw, strtolower (m_gen.m_name)) << std::endl;
 	std::ofstream rout(OS::concatPath(m_pathRaw, strtolower (m_gen.m_name)));
+	generateMap();
 	for(int i=0; i<m_resources.size(); i++)
 	{
 		
@@ -124,7 +138,7 @@ Resource*  Generator::findResource(const std::string& name)
 			return &m_resources[i];
 	return NULL;
 } 
- 
+   
 Stage*  Generator::findStage(int i)
 {
 	for(int i=0; i<m_stages.size(); i++)
@@ -246,7 +260,6 @@ void Generator::generateResourceImage(Resource& r)
 	o.generate ();
 	log("\tGénération du fichier ressource: '"+OS::concatPath(m_pathRaw, strtolower (r.getName()))+"_res'");
 	std::ofstream rout(OS::concatPath(m_pathRaw, strtolower (r.getName()))+"_res");
-	copyObj(FILE_VIDEO_OBJ, m_pathRaw, r.getName());
 	rout << r.getJson(true);
 }
 
@@ -261,25 +274,24 @@ void Generator::generateResourceAudio(Resource& r)
 	copyObj(FILE_AUDIO_OBJ, m_pathRaw, r.getName());
 	rout << r.getJson(true);
 }
-
-
+ 
+  
 void Generator::generateResourceVideo(Resource& r)
 {
 	OS::Path o(r.getFile());
 	log("\tCopie du fichier video '"+r.getFile()+"' vers '"+OS::concatPath(m_pathRaw, r.getName()+"_video")+"'");
 	std::ofstream rout(OS::concatPath(m_pathRaw, strtolower (r.getName()))+"_res");
 	log("\tGénération du fichier ressource: '"+OS::concatPath(m_pathRaw, strtolower (r.getName()))+"_res'");
+	copyObj(FILE_VIDEO_OBJ, m_pathRaw, r.getName());
 	OS::copy(r.getFile(), OS::concatPath(m_pathRaw, r.getName()+"_video") );
 	rout << r.getJson(true);
 }
-
+  
 
 
 void Generator::generateResource(Resource& r)
 {
 	int n = stringtotype (r.getType());
-	//std::cout << TYPE_3D << " == " << n << std::endl;
-	//std::cout << "3D" << " == " << r.getType() << std::endl;
 	switch(n)
 	{
 		case TYPE_3D:
@@ -304,7 +316,7 @@ std::string Generator::newFilename(const std::string& file)
 	return strtolower(p.m_name)+"_"+strtolower(p.m_ext);
 }
 
-
+ 
 void Generator::copyObj(const std::string& obj, const std::string& dir, const std::string& name)
 {
 	std::string line;
@@ -340,7 +352,7 @@ void Generator::copyObj(const std::string& obj, const std::string& dir, const st
 		else
 			out << buf << std::endl;
 	}
-}
+}   
  
 
 int   Generator::getErrorsCount() { return m_nErrors; }
@@ -352,7 +364,7 @@ void Generator::copyMtl(const std::string& mtl, const std::string& dir)
 	std::string line;
 	OS::Path o(mtl);
 	std::ifstream in(mtl);
-	std::ofstream out(OS::concatPath(dir,strtolower (o.m_name)+"_mtl"));
+	std::ofstream out(OS::concatPath(dir,strtolower (o.m_name)+".mtl"));
 	//std::cout << "Mlt " << dir+"/"+strtolower (o.m_name)<< std::endl;
 	log("\tCopie du fichier MTL '"+mtl+"' vers '"+OS::concatPath(dir,strtolower (o.m_name)+"_mtl'"));
 	while(std::getline(in, line)) 
@@ -365,7 +377,7 @@ void Generator::copyMtl(const std::string& mtl, const std::string& dir)
 		buf=line.substr(i);
 		buf=buf;
 		if( (start=buf.find("map_Kd") )!= std::string::npos )
-		{
+		{ 
 			std::string tmp="";
 			std::string file="";
  

+ 1 - 0
src/generator.h

@@ -64,6 +64,7 @@ protected:
 protected: 
 	void prepare();
 	void error(const std::string& l, int level=LOG_WARNING);
+	void generateMap();
 	void generateResource(Resource& r);
 	void generateResource3D(Resource& r);
 	void generateResourceImage(Resource& r);

+ 90 - 9
src/histodexc.ui

@@ -60,7 +60,6 @@
     <property name="page_increment">10</property>
   </object>
   <object class="GtkAdjustment" id="adjustment2">
-    <property name="lower">1</property>
     <property name="upper">100</property>
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
@@ -446,6 +445,20 @@
                     <property name="top_attach">2</property>
                   </packing>
                 </child>
+                <child>
+                  <object class="GtkButton" id="gen_generate">
+                    <property name="label" translatable="yes">Générer</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">True</property>
+                    <property name="valign">end</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">0</property>
+                    <property name="top_attach">6</property>
+                    <property name="width">2</property>
+                  </packing>
+                </child>
                 <child>
                   <object class="GtkScrolledWindow">
                     <property name="visible">True</property>
@@ -469,22 +482,55 @@
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
-                    <property name="top_attach">3</property>
+                    <property name="top_attach">5</property>
                     <property name="width">2</property>
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkButton" id="gen_generate">
-                    <property name="label" translatable="yes">Générer</property>
+                  <object class="GtkLabel">
                     <property name="visible">True</property>
-                    <property name="can_focus">True</property>
-                    <property name="receives_default">True</property>
-                    <property name="valign">end</property>
+                    <property name="can_focus">False</property>
+                    <property name="label" translatable="yes">Image de carte</property>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
                     <property name="top_attach">4</property>
-                    <property name="width">2</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkFileChooserButton" id="fcd_map">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="filter">filefilter2</property>
+                    <property name="title" translatable="yes"/>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="top_attach">4</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel">
+                    <property name="visible">True</property>
+                    <property name="can_focus">False</property>
+                    <property name="label" translatable="yes">Utiliser une carte</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">0</property>
+                    <property name="top_attach">3</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkSwitch" id="sw_map">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="halign">start</property>
+                    <property name="hexpand">False</property>
+                    <property name="active">True</property>
+                  </object>
+                  <packing>
+                    <property name="left_attach">1</property>
+                    <property name="top_attach">3</property>
                   </packing>
                 </child>
               </object>
@@ -1057,7 +1103,7 @@
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="adjustment">adjustment2</property>
-                            <property name="value">1</property>
+                            <property name="value">1.0000000002235174</property>
                           </object>
                           <packing>
                             <property name="left_attach">1</property>
@@ -1706,6 +1752,41 @@
                             <property name="position">1</property>
                           </packing>
                         </child>
+                        <child>
+                          <object class="GtkBox">
+                            <property name="visible">True</property>
+                            <property name="can_focus">False</property>
+                            <child>
+                              <object class="GtkLabel">
+                                <property name="visible">True</property>
+                                <property name="can_focus">False</property>
+                                <property name="label" translatable="yes">   Utiliser une transition   </property>
+                              </object>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">True</property>
+                                <property name="position">0</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkSwitch" id="sw_transition">
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="active">True</property>
+                              </object>
+                              <packing>
+                                <property name="expand">False</property>
+                                <property name="fill">False</property>
+                                <property name="position">1</property>
+                              </packing>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="expand">False</property>
+                            <property name="fill">True</property>
+                            <property name="position">2</property>
+                          </packing>
+                        </child>
                       </object>
                       <packing>
                         <property name="expand">True</property>

+ 3 - 3
src/main.cc

@@ -29,15 +29,15 @@
 /* For testing purpose, define TEST to use the local (not installed) ui file */
 #include "main.h"
 #include "g-window.h"
- 
+  
 std::string strtolower(const std::string& _data)
-{
+{   
 	std::string data=_data;
 	transform(data.begin(), data.end(), data.begin(),::tolower);
 	return data;
 }
 
-int
+int 
 main (int argc, char *argv[])
 {
 	setlocale(LC_NUMERIC, "C");

+ 1 - 1
src/os.cc

@@ -42,7 +42,7 @@ OS::Path::Path(const std::string& file)
 		m_dir=file.substr(0, slash+1);
 	}else
 	{
-		if(slash!=std::string::npos) m_dir=file.substr(0, slash);
+		if(slash!=std::string::npos) m_dir=file.substr(0, slash+1);
 		else m_dir="";
 		
 	}

+ 13 - 0
src/resource-tab.cc

@@ -192,6 +192,18 @@ Json::Value		ResourceTab::getJson(bool genFinal)
 	return r;
 }
 
+Json::Value		ResourceTab::getJsonOrphelin()
+{
+	Json::Value r(Json::arrayValue);
+	int j=0;
+	for(int i=0; i<m_resources.size(); i++)
+	{
+		if(!m_resources[i].getStage ())
+			r[j++] = m_resources[i].getName ();
+			
+	}
+	return r;
+}
 
 
 void			ResourceTab::on_save_clicked()
@@ -396,6 +408,7 @@ void ResourceTab::on_add()
 
 void ResourceTab::open(Json::Value& val)
 {
+	m_isModified=false;
 	
 	gtk_list_store_clear (m_listStore);
 	m_resources.clear();

+ 1 - 0
src/resource-tab.h

@@ -34,6 +34,7 @@ public:
 	virtual					~ResourceTab();
 	virtual void			write(const std::string& file);
 	virtual Json::Value		getJson(bool genFinal=false);
+	virtual Json::Value		getJsonOrphelin();
 	
 	virtual void			open(Json::Value& val);
 	void					insert(std::string name,  Resource* ra=NULL);

+ 20 - 1
src/stage-tab.cc

@@ -53,6 +53,16 @@ static void on_select_res(GtkTreeView* b, gpointer ud)
 	z->on_select_res ();
 }
 
+static void on_save_switch(GtkSwitch* b, gboolean state, gpointer user_data)
+{
+	StageTab* z = (StageTab*) ((CallbackArg*)user_data)->tab;
+	if(state)
+		gtk_switch_set_active (b, TRUE);
+	else
+		gtk_switch_set_active (b, FALSE);
+	z->on_save_clicked ();
+}
+
 StageTab::StageTab(GtkWidget *window, GtkBuilder *builder, ResourceTab* tab)
 	: Tab(window, builder)
 {
@@ -79,6 +89,9 @@ StageTab::StageTab(GtkWidget *window, GtkBuilder *builder, ResourceTab* tab)
 	CONNECT(m_list, "cursor-changed", ::on_select, mca);
 	CONNECT(m_listRes, "cursor-changed", ::on_select_res, mca);
 
+	m_transition = GTK_SWITCH(gtk_builder_get_object(m_builder, "sw_transition"));
+	CONNECT(m_transition, "state-set", ::on_save_switch, mca); 
+		
 	gtk_widget_hide(GTK_WIDGET(m_listRes));
 }
 
@@ -133,6 +146,8 @@ void StageTab::on_save_clicked()
 			//std::cout << " Stage " << m_stages[i].getResource() << std::endl;
 			s->setResource (gtk_entry_get_text(m_resource));
 			s->setNRes (gtk_spin_button_get_value (m_nRes));
+			s->setTransition (gtk_switch_get_active (m_transition));
+			printf("Trans = %d\n", gtk_switch_get_active (m_transition));
 		}
 	}
 }
@@ -159,7 +174,7 @@ void StageTab::on_select()
 
 void StageTab::open(Json::Value& val)
 {
-
+	m_isModified=false;
 	gtk_list_store_clear (m_listStore);
 	m_stages.clear();
 	gtk_widget_hide (GTK_WIDGET(m_root));
@@ -188,6 +203,7 @@ void StageTab::setNStage(int n)
 			Stage s;
 			s.setStage(m_stages.size()+1);
 			s.setResource ("");
+			s.setTransition (true);
 			insert (m_stages.size()+1, &s);
 		}
 	}else if(n<m_stages.size())
@@ -204,6 +220,8 @@ void StageTab::setupTab(Data& _s)
 	m_lock = true;
 	gtk_spin_button_set_value(m_nRes, s.getNRes ());
 	gtk_entry_set_text(m_resource, s.getResource ().c_str());
+	gtk_switch_set_active (m_transition, s.getTransition ());
+	gtk_switch_set_state (m_transition, s.getTransition ());
 	m_lock = false;
 }
 
@@ -245,6 +263,7 @@ void StageTab::removeLast()
 Data& StageTab::getTab(bool& b)
 {
 	static Stage s;
+	
 	return s;
 }
 

+ 1 - 0
src/stage-tab.h

@@ -52,6 +52,7 @@ class StageTab: public Tab
 		GtkListStore*	    m_listResStore;
 		GtkButton*			m_devRes;
 		GtkSpinButton*		m_nRes;
+		GtkSwitch*			m_transition;
 		ResourceTab*   		m_resTab;
 
 		std::vector<Stage>  m_stages;

+ 13 - 0
src/stage.cc

@@ -46,6 +46,7 @@ void Stage::set(Json::Value& v)
 	m_stage=v["stage"].asInt();
 	m_resource=v["resource"].asString();
 	m_nRes=v["n_resource_step"].asInt();
+	m_transition=v["transition"].asBool();
 }
  
 const std::string& Stage::getResource() { return m_resource; }
@@ -61,6 +62,7 @@ Json::Value Stage::getJson(bool b)
 	v["resource"]=m_resource;
 	v["stage"]=m_stage;
 	v["n_resource_step"]=m_nRes;
+	v["transition"]=m_transition;
 	return v;
 }
 
@@ -70,4 +72,15 @@ Stage& Stage::cast(Data& d)
 	if(d.getDataType ()!=DATA_TYPE_STAGE)
 		assert(0);
 	return (Stage&)d;
+}
+
+
+void	Stage::setTransition(bool b)
+{
+	m_transition=b;
+}
+
+bool	Stage::getTransition()
+{
+	return m_transition;
 }

+ 4 - 0
src/stage.h

@@ -37,14 +37,18 @@ class Stage : public Data
 		void				setStage(int stage);
 		int					getNRes();
 		void				setNRes(int res);
+	
 		Json::Value			getJson(bool b=false);
 		void				set(Json::Value& v);
+		void				setTransition(bool b);
+		bool				getTransition();
 		static Stage& 		cast(Data& d);
 	protected:
 		
 		int					m_stage;
 		int					m_nRes;
 		std::string			m_resource;
+		bool				m_transition;
 		 
 	private:
 

+ 15 - 1
src/tab.cc

@@ -40,7 +40,6 @@ std::string gtk_tree_view_get_str_selected(GtkTreeView* gt, bool* valid)
 	return ret;
 }
 
-
 bool gtk_tree_view_set_str_selected(GtkTreeView* gt, const std::string& str)
 {
 	GtkTreeIter iter;
@@ -102,6 +101,21 @@ Tab::~Tab()
 {
 }
 
+void Tab::clearModified()
+{
+	m_isModified=false;
+}
+
+void Tab::setModified()
+{
+	m_isModified=true;
+}
+
+bool Tab::getModified()
+{
+	return m_isModified;
+}
+
  
 void		Tab::setupTab(Data& a)
 {

+ 6 - 1
src/tab.h

@@ -57,13 +57,18 @@ class Tab
 		virtual void		on_save_clicked()=0;	 
 		virtual void		setupTab(Data& a)=0;
 		virtual Data&		getTab(bool& genFinal)=0;
+		void				clearModified();
+		void				setModified();
+		bool				getModified();
 	protected:
 		tab_type_t			m_tab_type;
 		GtkWidget			*m_window;
 		GtkBuilder			*m_builder;
-		Data				*m_data;   
+		Data				*m_data;
+		bool				m_isModified;
 	protected:
 		void				dialog_error(const char* str);
+		
 	private:
 
 };

+ 5 - 4
src/zone-tab.cc

@@ -258,8 +258,8 @@ void ZoneTab::setupTab(Data& _a)
 		gtk_switch_set_active (m_useAngle, FALSE);
 		gtk_switch_set_state (m_useAngle, FALSE);
 		gtk_spin_button_set_value(m_angle, 180);
-		gtk_spin_button_set_value(m_field, 90);
-		gtk_spin_button_set_value(m_radius, 5);
+		gtk_spin_button_set_value(m_field, 120);
+		gtk_spin_button_set_value(m_radius, 10);
 	}
 	m_map->centerView(); 
 	if(gtk_switch_get_active (m_useAngle) && gtk_switch_get_state (m_useAngle)) 
@@ -286,8 +286,8 @@ Data& ZoneTab::getTab(bool& insert)
 		insert=false;
 	}
 	
-	p.m_angle = gtk_spin_button_get_value(m_radius);
-	p.m_field = gtk_spin_button_get_value(m_radius);
+	p.m_angle = gtk_spin_button_get_value(m_angle);
+	p.m_field = gtk_spin_button_get_value(m_field);
 	p.m_radius = gtk_spin_button_get_value(m_radius);
 	p.m_coord = m_map->getPlace();
 	p.m_useAngle= gtk_switch_get_active (m_useAngle) && 
@@ -405,6 +405,7 @@ void ZoneTab::remove(std::string name)
 
 void ZoneTab::open(Json::Value& val)
 {
+	m_isModified=false;
 	gtk_list_store_clear (m_listStore);
 	m_areas.clear();
 	gtk_widget_hide (GTK_WIDGET(m_root));