From 1c613252faedad587bd56d7dd1ab33f77bb288e4 Mon Sep 17 00:00:00 2001
From: Florentin ROLLET <florentin.rollet@ensiie.fr>
Date: Mon, 3 May 2021 11:34:24 +0200
Subject: [PATCH] =?UTF-8?q?Score=20+=20combos=20centr=C3=A9s?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 build/boucle_de_jeu/AndroidManifest.xml | 1 +
 build/boucle_de_jeu/boucle_de_jeu.pde   | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/build/boucle_de_jeu/AndroidManifest.xml b/build/boucle_de_jeu/AndroidManifest.xml
index c2f8145..3b2e1b2 100644
--- a/build/boucle_de_jeu/AndroidManifest.xml
+++ b/build/boucle_de_jeu/AndroidManifest.xml
@@ -9,4 +9,5 @@
             </intent-filter>
         </activity>
     </application>
+    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
 </manifest>
diff --git a/build/boucle_de_jeu/boucle_de_jeu.pde b/build/boucle_de_jeu/boucle_de_jeu.pde
index 0317049..0105482 100644
--- a/build/boucle_de_jeu/boucle_de_jeu.pde
+++ b/build/boucle_de_jeu/boucle_de_jeu.pde
@@ -319,10 +319,10 @@ void draw() {
     fill(255,255,255,100);
     rect(startX, startY, startSizeX, startSizeY);
     fill(255,255,255,100);
-    rect(startX, startY2, startSizeX, startSizeY);
+    rect(startX-displayWidth/20, startY2, startSizeX+displayWidth/10, startSizeY);
     fill(0,0,0,100);
     text("Retour menu", startX+startSizeX/20, startY+startSizeY/3, startSizeX, startSizeY);
-    text("Combo max : " + max_combo, startX+startSizeX/20, startY2+startSizeY/3, startSizeX, startSizeY);
+    text("Combo max : " + max_combo + "\nScore max : " + score, startX, startY2+startSizeY/6, startSizeX+displayWidth/10, startSizeY);
     break;
   }
 }
-- 
GitLab