BlizzCrafter / MonoGame.Forms

MonoGame.Forms is the easiest way of integrating a MonoGame render window into your Windows Forms project. It should make your life much easier, when you want to create your own editor environment.
Other
287 stars 28 forks source link

can monogame forms support the soundeffect? #25

Closed hejoy91 closed 4 years ago

hejoy91 commented 4 years ago

can monogame forms support the soundeffect? i load the wav xnb file,but it doesn't work,no sound play。 but i use it in a xna framework project,it can play sound well,with the same code。。

hejoy91 commented 4 years ago

and your Demo without anything with audio,please tell me how i can solve it。

hejoy91 commented 4 years ago

VAT{ 5YX)3FFXW@N`KTBT)Q i use the same wav file in a xna gamestudio 4.0 ,everything goes well,please tell me what others i can do。 @sqrMin1 sqrMin1

BlizzCrafter commented 4 years ago

Yes, SoundEffect is supported in MonoGame.Forms.

Try playing the sound in Update()