User Tag List

Results 1 to 5 of 5

Thread: Static object bounce

  1. #1
    shitashi
    Guest

    Static object bounce

    Me and my friends are making a game together for school.
    We wanted to make a game like the game "kitten cannon".
    (If you don't know what that is, google it.)

    But we have a problem.
    We can't figure out how to make a static object to bounce when it hits something (in this case, when the thing being launched hits the ground).

    Any help would be really appreciated.
    Note: And this is to make a STATIC object to bounce, so we can't just simply put it to bounce.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Popcorn's Avatar
    Join Date
    Jun 2006
    Location
    Norway, Bergen
    Posts
    2,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Static object bounce

    Have you tried using the pinball movement for the launched object? That might be easier than to code your own projectile movement with a static object. The pinball movement is not perfect, but it might be enough in your case.

  3. #3
    No Products Registered

    Join Date
    Sep 2010
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Static object bounce

    Popcorn is right, or there is a Bouncing Ball Type, Why not use that?

  4. #4
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Static object bounce

    or.. use the Box2D extension.

    In this case you can use 2D physics applied to your "kitten" object.

    And you're go.

    EDIT: Be careful if the Box2D physics extensions is not supported by Flash runtime of MMF2.

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Static object bounce

    Worst case scenario... if you absolutely have to keep the static version, you could always clone the static object and make a bouncing version... and then when your static object collides with the ground, just hide/destroy it, and generate the bouncing version in it's place. Then do the opposite if you need to get the static object back.

    It's a little switcheroo trick which works in some situations. =)

Similar Threads

  1. Static Text is, er, not so static.
    By alxmrg in forum Hardware Accelerated Runtime
    Replies: 6
    Last Post: 8th March 2010, 11:16 PM
  2. Static position
    By ayejes in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th March 2008, 06:36 PM
  3. Static
    By Guitaristinmakin in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th October 2007, 08:15 AM
  4. Static text Object and the "&" charecter
    By arma in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 10th May 2007, 06:45 PM
  5. Bug - Subapp and Static Text Object
    By droberson in forum File Archive
    Replies: 0
    Last Post: 11th December 2006, 10:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •