When trying to study the performance of the game I came across a problem. In my laptop, a 1,73 GHz Centrino with 1GB of RAM, i could only perform 5fps, this means that the image would not have a flow instead it would jump from frame to frame.
To solve this problem, partly, I used a feature that comes with Actionscript 3 which lets you know how much movement is the camera registering. So, what I did was to try to detect a face when motion was detected above a certain level. This improved performance, boosting the fps to an average of 15-20 when face detection was done but brought another problems, one was the light levels, when in a poor lit room movement could not be perceived in a efficient way and also the background color problem started to appear.
In conclusion, though the fps were improved the face detection became poor not letting the user have good control of the paddle. The difficulty here is to combine the two technologies so that they can work effectively together and have a better performance when compared to the usage of them separately.
Subscrever:
Enviar feedback (Atom)
Sem comentários:
Enviar um comentário