User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Bouncing Problem

  1. #1
    No Products Registered

    Join Date
    Mar 2008
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bouncing Problem

    I'm using the built-in Bouncing Ball movement, and I've come across a problem.

    What I am trying to do is make a ball bounce off active objects only if its Alterable Value A is less than the Alterable Value A of the object it is colliding with.

    It doesn't work correctly, and I can't figure out a work around or even why it happens.

    [color:#33FFFF]Things that go right:[/color]
    The ball won't bounce when it hits an active with Alterable Value A less than it has, these are the light blue blocks.
    The ball does bounce when it hits an obstacle backdrop or an active with an Alterable Value A greater than it has, those are the dark blue blocks.
    [color:#FF0000]Things that go wrong:[/color]
    When the ball is overlapping a light blue box and collides with an obstacle backdrop things go wrong. The ball gets stuck bouncing in place and eventually moves through the backdrop or dark blue box.


    I've uploaded an example with a few attempts at figuring a way around this, or even why it happens, but I'm having no luck.

    Can someone help me figure out how to make this work?

    Or if there is no fix, can someone help me get This engine by Liji to work with multiple objects?
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing Problem

    Well it appears there is yet another bug in Clickteam's deafault movements. They are all buggy and recommened not to use for more complex applications.

    For LIJI's custom movement, simpley run a loop the number of times there are balls and on all the conditions that aren't already a loop add the On Loop to the top. Now add a spread value action with 0 and then on ALL the conditions, add Spread Value of Ball = LoopIndex("your loop") and that should work.
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    Mar 2008
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing Problem

    Yeah, I figured I should give up on the default bouncing ball, it's just so convenient sometimes though.

    I got the spread value working for Liji's example.
    Thanks for the tip LB!

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Bouncing Problem

    I'm afraid I cant change anything to this.
    For each object with a bounce, when I prepare the program of events, I analyse the conditions, and make a list of the objects used in collision detections events with a bounce action.
    When your object collides with the background object, I try to find an good bounce for it. So I explore all the objects from the list, and the light blue object is part of it, even if it should not be. In fact, I should evaluate the event each time I look for the bounce. This will slow down a lot the bouncing, but in your case this would not work.
    Honestly, this is the very first time in 16 years that some has reported that problem.
    The only solution for you is to make you own ball movement, which should not be very difficult.
    I plan to correct that for MMF3.

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing Problem

    Quote Originally Posted by Francois
    I plan to correct that for MMF3.
    I'm all for that! Thanks Francois.
    Working as fast as I can on Fusion 3

  6. #6
    No Products Registered

    Join Date
    Mar 2008
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing Problem

    Ah ok, thanks for looking into this!

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing Problem

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=162439#Post1624 39 ...

    does anybody use widgets around here? -_-

  8. #8
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing Problem

    I thought this may only be happening because of the ball's high speed but [color:#FF0000]NO!?[/color] Even at Speed 10, the ball's seem to go through the walls anyway.

    Then I remembered that I normally set the Randomiser and Security 0 and I never get this problem, so I set it to that and problem still there and even worse! So I set the Security to 100 and it is marginally better now as only the one in the cyan sorrounded by blue can ever escape but still even that shoudnt happen.

    This bug was never in TGF1, what have Yves and Francois been doing with their millions of pounds? (NO Offense)

    Edit: By Now I have tried Literally everything from turning off Timer-Based Movements to turning off Fine-Detection and even Pin-Ball Movement with no Gravity, no positive results...

  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing Problem

    Bugs occur in all of the custom movements, too. I especially had an issue with LIJI's when resized down to a 16x16 circle. See Pumpkin Putt which uses his movement (obviously with lots of editing).

    I also tried a 360 collision example by SEELE and getting it for use in a movement, and that also failed. It wouldn't bounce out if it hit the inside of a corner, just go straight through

  10. #10
    No Products Registered

    Join Date
    Mar 2008
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing Problem

    That widget is alright and all, but it just doesn't seem to have the accuracy that the built in movement has with bounce angles, unless I'm using it wrong.

    I was using Liji's original version of that actually, but it is just too off for what I need.


    Press space in the mfa I uploaded and it will send the ball out at 0 degrees. It doesn't bounce back at the correct angle.

    Attached files Attached files

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Bouncing Ball Problem
    By NK0 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 3rd March 2012, 09:33 AM
  2. Bouncing
    By RickyRombo in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 23rd March 2010, 11:50 AM
  3. Bouncing ball movement problem
    By The Thinker in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 25th December 2006, 01:00 AM

Posting Permissions

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