User Tag List

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

Thread: My first question.

  1. #1
    Clicker 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)
    Brother_B's Avatar
    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My first question.

    Hi everyone.

    For my first game I'm doing the old breakout.

    Two questions.

    1: I shoot the ball with a mouse click, but before that I want the ball to be visible and follow my paddle called "middle_paddle", how would i do that?

    2: I have black bricks called "black_brick" that i want to be hit three times before they will be destroyed, can i do that without changing the names on them?

    Best regards from Sweden.

    /Bengt

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 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
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: My first quistion.

    1. Well you could have 2 actives one for the ball following the paddle and another ball active for the one you shoot. Set Ball 1 to always be 0,0 from middle_paddle (adjust the hotspot of the paddle or just adjust the Y value for 0,0 to have it sitting on top of the paddle. Such as 0,-5 or something). Then when user clicks launch Ball 2 from Ball 1, then destroy Ball 1.

    2. Use an Alt Value for the bricks. Have Alt Value A = 3. If Ball collides with black_brick, subtract 1 from Alt Value A of black_brick. Alt Value A for black_brick = 0, destroy black_brick.

    Hope that helps

  3. #3
    Clicker 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)
    Brother_B's Avatar
    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first quistion.

    @Shawn
    Regarding the ball following my moused controlled paddle.
    Can you explain a bit more so i understand how you think.

    Regarding to the bricks:
    Would that work with multiple black bricks ?
    I would like to hit one brick three times before it destroys it, not hit three bricks to destroy one, if you know what i mean.

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 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
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: My first quistion.

    Okay I uploaded some images to show you better what I mean.

    First one shows you what the events you need look like:



    This one shows you how to navigate to set position in the event editor (right click and view image to enlarge):



    And this shows you how to set it relative to your paddle object:


  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 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
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: My first quistion.

    Quote Originally Posted by Brother_B
    Regarding to the bricks:
    Would that work with multiple black bricks ?
    I would like to hit one brick three times before it destroys it, not hit three bricks to destroy one, if you know what i mean.
    Yes if you set the alt value it's on a per-brick basis. It won't destroy all of them. In the properties of the brick active object in the frame editor, move to the values tab. Then click New and just set Alterable Value A to 3.

    I added a pic to show you what I'm talking about:



    In other words, each time the ball collides with an individual brick it will subtract 1 from that particular brick's alt value.

  6. #6
    Clicker 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)
    Brother_B's Avatar
    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first quistion.

    Shawn.

    I thank you for every nice answer. When i get this kind of answers i learn and can adapt them to other games.

    And hopefully others too.

    /Bengt

  7. #7
    Clicker Fusion 2.5 DeveloperHTML5 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
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: My first quistion.

    No problem you're welcome

    I'm glad I could help!

  8. #8
    Clicker 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)
    Brother_B's Avatar
    Join Date
    Aug 2010
    Location
    Sweden
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: My first quistion.

    I solved the ball and paddle problem with only one ball and an alterable value.

    If the "alterable value = 0 and always" the ball is stuck to the paddle, but when i press the mouse button the "alterable value = 1"
    and shoots away.

    Just want to share with my solution.

    /Bengt

  9. #9
    Clicker Fusion 2.5 DeveloperHTML5 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
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: My first quistion.

    That's great! It's always a good thing when you discover your own ways of doing things. It's a good way to learn.

  10. #10
    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: My first quistion.

    Quote Originally Posted by Brother_B
    If the "alterable value = 0 and always"...
    I'm glad you're learning alterable values!
    It took me a while to realize their power.

    But I'd just like to mention that you don't need an always in that event, as always is basically only useful on its own.

Page 1 of 2 1 2 LastLast

Posting Permissions

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