Link to home
Start Free TrialLog in
Avatar of marioway
marioway

asked on

adding sound to my pong game

hi,
i'm new at programming and have a question about adding sound to my pong game.

This is what i have done for the sound so far but it doesn't work.

(This was added to the GameStart)

m_AudioMusicPtr= new Audio("c:/documenten/bitmaps/Kalimba.mp3");

(this was added to the gameCycle)

m_AudioMusicPtr->Tick();

m_AudioMusicPtr->Play();

I hope you guys could tell me what i am doing wrong or what i forgot.
ASKER CERTIFIED SOLUTION
Avatar of George Tokas
George Tokas
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial