Skip to content
Extraits de code Groupes Projets
Valider 1c613252 rédigé par Florentin ROLLET's avatar Florentin ROLLET
Parcourir les fichiers

Score + combos centrés

parent 19c4c664
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -9,4 +9,5 @@ ...@@ -9,4 +9,5 @@
</intent-filter> </intent-filter>
</activity> </activity>
</application> </application>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</manifest> </manifest>
...@@ -319,10 +319,10 @@ void draw() { ...@@ -319,10 +319,10 @@ void draw() {
fill(255,255,255,100); fill(255,255,255,100);
rect(startX, startY, startSizeX, startSizeY); rect(startX, startY, startSizeX, startSizeY);
fill(255,255,255,100); fill(255,255,255,100);
rect(startX, startY2, startSizeX, startSizeY); rect(startX-displayWidth/20, startY2, startSizeX+displayWidth/10, startSizeY);
fill(0,0,0,100); fill(0,0,0,100);
text("Retour menu", startX+startSizeX/20, startY+startSizeY/3, startSizeX, startSizeY); 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; break;
} }
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter