User Tag List

Results 1 to 5 of 5

Thread: Bouncing ball collisions

  1. #1
    No Products Registered

    Join Date
    Jul 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bouncing ball collisions

    Greetings click community, I'm new to the forums but have been using clickteam products for years now, (although I only recently upgraded to mmf2).

    I had a question regarding the bouncing ball movement. It seems that whenever I "create" the object inside the play area with the bouncing ball movement, its collisions with other active objects do not work correctly. If the object is "positioned" inside the play area then the collisions work. Is there any reason for this or am I perhaps missing something?

    Also I had noticed the "Get Angle" event which could pave the way for coding a custom bouncing ball movement. Does anyone know if any have been created? I did a quick search on the forums but didn't find anything. :confused:

    Ultimately I am trying to get a bouncing ball movement to rebound off a "window" edge instead of the play area edges. The events I have used to do it including "object getting close to windows edges" and "returning the X and Y cordinates of the various edges" don't appear to be working. The object simply passes through without rebounding.

    Anyone have any thoughts?

    Thanks for you help everyone :grin:

  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 ball collisions

    1. No idea, that doesn't make sense.
    2. Yes, unfortunately I can never find SEELE's example, mojofltr's movement is part of an incomplete game, and I can't find Nifflas' movement EDIT: found it: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=211442
    It's a difficult task to undertake especially since you have to be able to detect the angle of the surface the ball hit, etc.
    3. You can have an object that outlines the window edge and set it to not follow the frame so it stays with the window. Then you could check for collisions on that.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing ball collisions

    I forgot to get the widget up on my website. It's up now! Grab the bouncing ball widget here!

  4. #4
    No Products Registered

    Join Date
    Jul 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing ball collisions

    Quote Originally Posted by LB
    1. No idea, that doesn't make sense.
    Uh huh, seemed odd to me, so either its a bug or I'm missing something.

    Quote Originally Posted by LB
    2. Yes, unfortunately I can never find SEELE's example, mojofltr's movement is part of an incomplete game, and I can't find Nifflas' movement EDIT: found it: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=211442
    It's a difficult task to undertake especially since you have to be able to detect the angle of the surface the ball hit, etc.
    Thank-you for this, I'll look into it.

    Quote Originally Posted by LB
    3. You can have an object that outlines the window edge and set it to not follow the frame so it stays with the window. Then you could check for collisions on that.
    Yes I tried this but, like I said, when created rather than moved the balls collisions don't appear to be working.

    Thank-you for the help (you too Nifflas). Time to tackle this a different way then :grin:.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bouncing ball collisions

    With my widget it should still work, though you have to wrap it into a "foreach" for it to work with multiple objects.

Similar Threads

  1. Bouncing Ball
    By lembi2001 in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 2nd February 2014, 09:25 AM
  2. Bouncing Ball
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th December 2008, 07:01 PM
  3. Bouncing ball?
    By Iharmi in forum Multimedia Fusion 2 - Technical Support
    Replies: 23
    Last Post: 27th May 2008, 03:36 AM
  4. 360 bouncing ball...
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 21st January 2007, 04:38 PM
  5. Bouncing ball
    By Clicktastic in forum File Archive
    Replies: 0
    Last Post: 21st September 2006, 02:49 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
  •