Friday, September 13, 2013

12:15 sound fixes

12:15 - Been working in the synchrony of the sound fx of the ball bouncing (against limits and pads) while playing in network. Now it does work better even if is not perfect yet. I can't say, so far, if the little imperfections are due to the network itself that makes the playing room running at a slower frame rate (to be honest the room runs at 60 frames per sec, but every object sent via network uses 1 cycle (1/60th of sec) to be red, drew and managed. With 3 objects (the amount atm) sent back and forth the real refreshing rate is one third of the original.
Now the background is changing like in the real game.
Now the whole code, especially the part of the buffers, needs a clean up to save memory and speed.

No comments:

Post a Comment