excaliburjs / Excalibur

🎮 Your friendly TypeScript 2D game engine for the web 🗡️
https://excaliburjs.com
BSD 2-Clause "Simplified" License
1.67k stars 182 forks source link

Provide playback position from sound instance #2335

Closed EzraMoore65 closed 2 years ago

EzraMoore65 commented 2 years ago

Was working on a rhythm game and hit a roadblock when I realized you cannot currently get the position of a sound instance. Managed to find another npm package that I can use, but would love to see this added to the engine.

eonarheim commented 2 years ago

@EzraMoore65 this would be a great idea! I fully endorse such a feature!

eonarheim commented 2 years ago

I'll have some time to look at it this weekend, I'll give it a shot

eonarheim commented 2 years ago

@EzraMoore65 the latest alpha should include this feature, it'd be awesome to get your feedback

0.27.0-alpha.474

EzraMoore65 commented 2 years ago

@eonarheim Did exactly what I wanted. Thank you for the quick turn around!