Commit 875cb962 authored by Lila NICKLER's avatar Lila NICKLER

Mise en forme

parent 22f1b1e5
File deleted
This diff is collapsed.
No preview for this file type
......@@ -173,7 +173,7 @@ void InitGame(void)
score = 0;
alpha = 0;
highscore =LoadStorageValue(0);
PlayMusicStream(music);
// Initialize player
player.rec.x = 20;
......@@ -249,8 +249,11 @@ void InitGame(void)
// Update game (one frame)
void UpdateGame(void)
{
PlayMusicStream(music);
SetMasterVolume(0.05);
if (!gameOver)
{
UpdateMusicStream(music);
if (IsKeyPressed('P')) pause = !pause;
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment