I have been struggling with creating a cutting effect like in the famous Fruit ninja game.
I will explain, So far i have come up with this http://megaswf.com/serve/1154775
(press down with the mouse to "Cut", press space to throw melones)
But if youl notice my performance is very poor.. if you start moving the mouse fast then the fps drops and the "game" gets stuck...
is there a way to draw to the screen with the fadeing effect that will follow the mouse exact points because now if you move the mouse fast it maples only few points and starts creating staright lines.
I am not experiencing any kind of slow perfrmance that I am aware of. Maybe your machine needs to be more robust.
In any case, you should be cleaning up each melon after it has run its course. That way you are not building up excess memory usage.
so it figured out...
i thought flash would be easy on the processor but i guess its not
if i want to put this on a mobile phone, any ideas on how to improve the performance so it woud run on less "robust" machines?
yeah i notieced that if u move the mouse very very fast or if u press space and keeep pressing it down
like press and dont remove ur hand and watch how the fps drops
but nice game
i have seen a tutorial that uses box2d for the cutting effect
Europe, Middle East and Africa