  | | | performance/sound issue (xpost) | performance/sound issue (xpost) 2004-02-14 - By Paul Fortier
Back Hi All, Seems to have a problem with my (projector) game's performance and it's probably a basic issue: While a sound file is playing two members are being exchanged in a sprite channel (just a button changing states like a rollover) and the sound file sometimes is interrupted for a split second at the moment of the swap. (I never saw this until playing the game on a PIII machine (authoring on a g4)). Similar problems are occurring in other places in game. I have my 3d sprite on the stage at the same time.
A timeout calls a handler in a movie script to do the swap. The swap is like this: 'sprite(10).member = "onButton3"' At the same time one line of text in a text member is changes color (once) Like this: 'memberName.forecolor = 219'
Also: I don't think framerate is the issue because I am getting a better framerate with the PIII that the 'sound skip' is happening on than with other machines that have no sound skipping going on. And... It seems, although I haven't done extensive testing on this, that the third time I get the sound file to play and the swap to take place (it happens each time I enter a room in my 3d world...so I just exit and enter again 2 more times) I usually don't hear the skip.
Any thoughts? Thanks, Paul
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> </head> <body> <title></title> Hi All, <br> <!---->Seems to have a problem with my (projector) game's performance and it's probably a basic issue: While a sound file is playing two members are being exchanged in a sprite channel (just a button changing states like a rollover) and the sound file sometimes is interrupted for a split second at the moment of the swap. (I never saw this until playing the game on a PIII machine (authoring on a g4)). Similar problems are occurring in other places in game. I have my 3d sprite on the stage at the same time.<br> <br> <!----> <!----> A timeout calls a handler in a movie script to do the swap.<br> The swap is like this: 'sprite(10).member = "onButton3"'<br> At the same time one line of text in a text member is changes color (once)<br> Like this: 'memberName.forecolor = 219'<br> <br> Also: I don't think framerate is the issue because I am getting a better framerate with the PIII that the 'sound skip' is happening on than with other machines that have no sound skipping going on. And... It seems, although I haven't done extensive testing on this, that the third time I get the sound file to play and the swap to take place (it happens each time I enter a room in my 3d world...so I just exit and enter again 2 more times) I usually don't hear the skip.<br> <br> Any thoughts?<br> Thanks,<br> Paul<br> </body> </html>
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|
 |