updated readme 5 + added kahoot gong to math
This commit is contained in:
parent
89ac335034
commit
4c6ca3d4e8
11
README.md
11
README.md
|
@ -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 |--
|
# --| Syntax for level files |--
|
||||||
|
|
||||||
1) **General rules**
|
1) **General rules**
|
||||||
|
|
BIN
obj/entities.o
BIN
obj/entities.o
Binary file not shown.
BIN
obj/maeth.o
BIN
obj/maeth.o
Binary file not shown.
BIN
obj/music.o
BIN
obj/music.o
Binary file not shown.
Binary file not shown.
|
@ -350,6 +350,7 @@ void the_actual_main_math_function(GLFWwindow* window) {
|
||||||
usleep(5000);
|
usleep(5000);
|
||||||
}
|
}
|
||||||
reset_music();
|
reset_music();
|
||||||
|
play_sound("sound/audio/kahoot-gong.wav");
|
||||||
if(solved) {
|
if(solved) {
|
||||||
player_hp += 100;
|
player_hp += 100;
|
||||||
mathResult = SUCCESS;
|
mathResult = SUCCESS;
|
||||||
|
|
|
@ -94,7 +94,7 @@ void* mainMusic(void* arg) {
|
||||||
system(name);
|
system(name);
|
||||||
free(name);
|
free(name);
|
||||||
threadIsFree[localThreadID] = true;
|
threadIsFree[localThreadID] = true;
|
||||||
printf("thread %d is done\n", localThreadID);
|
//printf("thread %d is done\n", localThreadID);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue