Skip navigation
Currently Being Moderated

Fruit Ninja

Apr 7, 2012 2:17 AM

Tags: #line #flash #as3 #game #fruit #ninja

Hi

 

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.

 

Thanks

 
Replies
  • Currently Being Moderated
    Apr 7, 2012 5:06 AM   in reply to GadiGz

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 7, 2012 5:59 AM   in reply to GadiGz

    As I already indicated, I am not experiencing what you describe... it might just be a machine problem

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 7, 2012 12:07 PM   in reply to GadiGz

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 8, 2012 7:00 PM   in reply to GadiGz

    Like what mr.shumi said, if you hold down space, it will slow down. But, that is very simple to fix, good game though.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 4, 2013 7:16 AM   in reply to GadiGz

    Hi gadi! please share your slice trail FX with uss!!! pleeeaassseeeee !!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points