User Tag List

Results 1 to 9 of 9

Thread: noobs question.

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    noobs question.

    hi

    i am new to this mmf2 but did few tutorials in another tool, so i have some expirience.

    i did the breakeout tutorial and i have small question for now and the question is:
    how can i make the ball to react more sharp when it hits the corners of the bat? right now its too clamzy and not sensative as it should be, so..i will apriciate any instructions of how to fix this.
    thanks ahead.

  2. #2
    No Products Registered

    Join Date
    Jan 2007
    Location
    Sweden
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: noobs question.

    If i understand the problem correctly, you're facing a pretty hard challange. I think you have to create a custom bouncing ball movement, and that's hard stuff! I'm not the right person to teach you that.

  3. #3
    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: noobs question.

    Do you mean you wnt it to bouce depending on where it hits the bat? Because this would be some simple eqasions.

    I don't quite understand what you mean. Please be more or less specififc.
    Working as fast as I can on Fusion 3

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Jun 2006
    Posts
    1,324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: noobs question.

    You could try experimenting with the options in the Ball Movement properties - randomizer, security etc and see if you like the effect better.

    Or you could look at this beginner's example on custom movement:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=48007&page=1#Po st48007

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: noobs question.

    "Do you mean you wnt it to bouce depending on where it hits the bat? Because this would be some simple eqasions."

    yes!

    thats what i mean't

    and thank you sarah for the link and the other info


  6. #6
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: noobs question.

    There are multiple ways of approach

    Here is one:

    Instead of One Active as Paddle make 3, make them slightly overlap each other. Now make conditions for all 3 paddles.

    The one in the middle should always bounce normally, the one on the left should bounce to the left, and the one on the right should bounce to the right.

    You could even split up more with like 5 actives.

    Another one is to compare the X coordinate of the ball when it hits the paddle.

    Lets say your paddle is 64 pixels long ( make sure both paddle and ball have their hot spots centered)

    On the collision you could check where the balls X coordinate is compared to the paddle X coordinate

    Lets pretend your paddle is somehere around X 200

    the balls X coordinate is 180 on the time of the collision.

    What you know right now is

    Your paddle center is at 200

    left border of the paddle would be 200 - 32 = 168 min

    and 232 (200 + 32) max in pixels

    180 ( ball X ) - 168 ( paddles left border ) = 12

    Your now know that the ball hit the 12th pixel from the left side of the paddle

    You could write all those values to counters and then compare the final value like this

    if Value Collision >= 0
    and Value Collision < 12

    do hard left bounce


    if Value Collision >= 12
    and Value Collision < 24

    do soft left bounce

    if Value Collision >= 24
    and Value Collision < 36

    do normal bounce

    and so on

    You simply define ranges for bounces.

    For a beginner the first one is easier to accomplysh and understand.

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: noobs question.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=2&Number=24991 <-- The later posts in this thread may be helpful.
    .:::.Joshtek.:::.

  8. #8
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: noobs question.

    Quote Originally Posted by maVado
    There are multiple ways of approach

    Here is one:

    Instead of One Active as Paddle make 3, make them slightly overlap each other. Now make conditions for all 3 paddles.
    first of all, thanks alot to all of you for the fast and freindly answers

    mayado, you mean physicaly to create 3 bat objects?
    and if so, how can i make them move as one object?
    (i know i am stupid lol, but better stuipid who want's to learn

  9. #9
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: noobs question.

    simple:

    for the middle pad have your normal <- -> movement

    Always
    x of left pad = x of middle pad - 32 ( the distance you want to be from the middle pad )
    x of right pad = x of middle pad + 32 ( the distance you want to be from the middle pad )

    thats it

Similar Threads

  1. Saving file for noobs?
    By fred89 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th December 2008, 07:30 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
  •