Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Flickering Problem
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Masta_911




PostPosted: Wed Jan 10, 2007 9:10 pm   Post subject: Flickering Problem

i used View update and used the offscreenonly command but my game is flicking a lot and is very slow to the point where u cant play no more. it only happens when i use the fork command to play the background if i take that off it works perfectly fine..
could someone please tell me y i am having this this problem. or any other suggesttions u might hav to improve this game



Game.rar
 Description:
try taking offf the background and then run it and you will see the difference

Download
 Filename:  Game.rar
 Filesize:  729.93 KB
 Downloaded:  104 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
rdrake




PostPosted: Wed Jan 10, 2007 9:16 pm   Post subject: Re: Flickering Problem

As far as I recall, fork causes the program to split up into separate entities. They do not get equal CPU time. Therefore, they will create odd situations.

However I cannot offer a solution.
Masta_911




PostPosted: Wed Jan 10, 2007 9:18 pm   Post subject: RE:Flickering Problem

.....and whats that solution rdrake?
i think you forgot 2 put it or sumthing
ericfourfour




PostPosted: Wed Jan 10, 2007 9:19 pm   Post subject: RE:Flickering Problem

I have a feeling you are using fork inside a loop. Try using the procedure Music.PlayFileReturn instead.
Masta_911




PostPosted: Wed Jan 10, 2007 9:20 pm   Post subject: RE:Flickering Problem

no iam not using fork to play music and neither am i using fork inside a loop
its jus wierd check it out and u will see wht i am talking about
Masta_911




PostPosted: Wed Jan 10, 2007 9:58 pm   Post subject: RE:Flickering Problem

did any1 figure out y ami getting this problem
if u did help
and thanks
rdrake




PostPosted: Wed Jan 10, 2007 10:26 pm   Post subject: Re: RE:Flickering Problem

Masta_911 @ Wed Jan 10, 2007 9:18 pm wrote:
.....and whats that solution rdrake?

i think you forgot 2 put it or sumthing
Uh...

rdrake @ Wed Jan 10, 2007 9:16 pm wrote:
However I cannot offer a solution.


Despite the fact that the almighty search button is just above where you are looking, I will point you in the right direction, pointed out by Tony here.

Tony @ Thu Dec 28, 2006 5:43 pm wrote:
using a process with nested Music.PlayFile has been depreciated. Use Music.PlayFileReturn() instead.
Clayton




PostPosted: Wed Jan 10, 2007 10:52 pm   Post subject: Re: Flickering Problem

Masta_911, I'm sure you would find help more willingly coming if you weren't so pushy. Really, just stop posting within a half hour of your previous posts. Someone will get to it eventually. We aren't paid to be here and answer questions all day long. I can think of only two members of this site that do not go to school (that I have talked to), and they have wisely chosen to stay the hell away from Turing. Also realize that this is a relatively tiny forum compared to others out there, it will take time to get an answer in a lot of cases. Just sit back, and work on the problem yourself until you find that an answer has been posted. Also note that double posting is against [[The Rules]].
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: