updated readme 5 + added kahoot gong to math

This commit is contained in:
Alexandre 2025-02-27 15:22:40 +01:00
parent 89ac335034
commit 4c6ca3d4e8
8 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,14 @@
# --| Controls |--
- in-game:
**WASD/ZQSD** (depends on keyboard, usually WASD) - movement
**QE/AE** (depends on keyboard, usually QE)- horizontal camera rotation
**PM** - vertical camera rotation
**R** - ***teleport to level_00***
**ESC** - exit application
- while in menus:
<!> when editing a value : **A** (add), **S** (subtract), **M** (multiply), **D** (divide), **ENTER/SPACE** (proceed)
# --| Syntax for level files |--
1) **General rules**

BIN
bin/back

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
sound/audio/kahoot-gong.wav Normal file

Binary file not shown.

View File

@ -350,6 +350,7 @@ void the_actual_main_math_function(GLFWwindow* window) {
usleep(5000);
}
reset_music();
play_sound("sound/audio/kahoot-gong.wav");
if(solved) {
player_hp += 100;
mathResult = SUCCESS;

View File

@ -94,7 +94,7 @@ void* mainMusic(void* arg) {
system(name);
free(name);
threadIsFree[localThreadID] = true;
printf("thread %d is done\n", localThreadID);
//printf("thread %d is done\n", localThreadID);
return NULL;
}