mobileben Posted December 6, 2019 Share Posted December 6, 2019 I started the process of adding audio to my game. I'm building using Typescript and Webpack. I'm using version 5.2.0. I installed pixi-sound via npm using npm install --save pixi-sound I've tried to follow the examples from here: https://github.com/bigtimebuddy/pixi-sound-webpack-example/blob/master/src/index.js I've noticed a couple of things. The resource loaded for the sound does not have the `sound` property. And if I try and play like in the demo code doing `sound.play('test')`, `sound` is undefined. The version of pixi-sound is 3.0.4. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.