Re: How to Handle Sounds in BGT

Yes, there is one absolutely simple way to prevent this, and I guess you could have considered that yourself. Just do a combination of .stop() and .play() calls each time you retrieve an arrow key pressure.
First stop(), then play(). That should do the trick.
Also, it's fine to create an own menu class if you want to implement some additional functionality, but for any other purposes, take a look at the BGT help. There you can find a dynamic_menu class which should do almost everything your class does too and you can enhance it with callbacks quite easily.
Best Regards.
Hijacker

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : TJ . Breitenfeldt via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : TJ . Breitenfeldt via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : TJ . Breitenfeldt via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : TJ . Breitenfeldt via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : TJ . Breitenfeldt via Audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Hijacker via Audiogames-reflector

Reply via email to