I am trying to get a audio instance using the get and getAll elements, but don´t wotk.
this.scene.sound.getAll(‘comojogar_audio’);
error
comojogar-1.js:37 Uncaught TypeError: this.scene.sound.getAll is not a function
I am trying to get a audio instance using the get and getAll elements, but don´t wotk.
this.scene.sound.getAll(‘comojogar_audio’);
error
comojogar-1.js:37 Uncaught TypeError: this.scene.sound.getAll is not a function
Update your Phaser.
is the lastest version? //cdn.jsdelivr.net/npm/phaser@3.11.0/dist/phaser.js
You can always check https://www.jsdelivr.com/package/npm/phaser for the latest version.