mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-03-02 03:39:21 +00:00
Add small tutorial
This commit is contained in:
@@ -104,7 +104,7 @@ class MusicInstance extends MusicInstanceInterface {
|
||||
}),
|
||||
new Promise((resolve, reject) => {
|
||||
this.howl = new Howl({
|
||||
src: cachebust("res/sounds/music/" + this.url),
|
||||
src: cachebust("res/sounds/music/" + this.url + ".mp3"),
|
||||
autoplay: false,
|
||||
loop: true,
|
||||
html5: true,
|
||||
|
||||
@@ -27,8 +27,8 @@ export const SOUNDS = {
|
||||
};
|
||||
|
||||
export const MUSIC = {
|
||||
theme: "theme.mp3",
|
||||
menu: "menu.mp3",
|
||||
theme: "theme",
|
||||
menu: "menu",
|
||||
};
|
||||
|
||||
export class SoundInstanceInterface {
|
||||
|
||||
Reference in New Issue
Block a user