diff --git a/build/boucle_de_jeu/AndroidManifest.xml b/build/boucle_de_jeu/AndroidManifest.xml index c2f81453060f8e4cdcd51c891e12bc2bd4b3f7de..3b2e1b2f7d019ba51316a107b24f67ec3f307f69 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 031704907b5dddd474f75fd8d03b5ea116660ab9..0105482c50ae107666a0d25acc70510cd7ef8f1d 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; } }