fixed broken assets in the HTML5 version
This commit is contained in:
parent
60bcd24121
commit
0b48d5b137
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
emcc -o game.html Main.c -Os -Wall /usr/local/lib/libraylib.a -I. -I/usr/local/include/raylib.h -L. -L/usr/local/lib/libraylib.a -s USE_GLFW=3 -s ASYNCIFY -DPLATFORM_WEB
|
||||
|
Binary file not shown.
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
emcc -o index.html game.c -Os -Wall /usr/local/lib/libraylib.a -I. -I/usr/local/include/raylib.h -L. -L/usr/local/lib/libraylib.a -s USE_GLFW=3 -DPLATFORM_WEB --preload-file rec/boing.mp3 --preload-file rec/01-Slipin-Sunday.ogg #--shell-file minshell.html
|
|
@ -72,9 +72,9 @@ void GameInit(void)
|
|||
{
|
||||
currentScreen = TITLE;
|
||||
|
||||
Bgm01 = LoadMusicStream("assets/bgm/01-Slipin-Sunday.ogg");
|
||||
Bgm01 = LoadMusicStream("rec/01-Slipin-Sunday.ogg");
|
||||
|
||||
fxbounce = LoadSound("assets/sfx/boing.mp3");
|
||||
fxbounce = LoadSound("rec/boing.mp3");
|
||||
|
||||
|
||||
PlayMusicStream(Bgm01);
|
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue