Computer Science Canada

Flickering Problem

Author:  Masta_911 [ 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

Author:  rdrake [ 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.

Author:  Masta_911 [ 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

Author:  ericfourfour [ 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.

Author:  Masta_911 [ 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

Author:  Masta_911 [ 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

Author:  rdrake [ 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.

Author:  Clayton [ 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]].


: