TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jonathan Cox
NA
8
0
Game Problem
Nov 5 2009 11:02 AM
I am trying to program a game. To keep it short, the object of the game is to bet on one of 4 dogs, hit start race, the dogs run, and if your dog finishes first you win. The problem I'm having is with the audio. I have audio playing in the background the whole time, and when you hit start race, the code will stop the background audio, play an audio clip of a gun firing, and then the dogs run. The problem comes right after the audio clip of the gun firing finishes up. As soon as it does, the dogs start running slower across the screen, like the program is lagging. I know it has something to do with the audio, and specifically with the fact that the audio just finished playing because if i remove all audio, it runs fine. If audio plays the whole time the dogs run, it is fine. Any ideas? I can post the code if needed. Thanks.
Reply
Answers (
2
)
Email notifications
Document the site (make help)