User Tag List

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 27 of 27

Thread: Pong: How to have ball stick to paddle and launch when left click of mouse

  1. #21
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would I add this on the same Line, or do you suggest creating a new line for this. I'm not sure if it makes a difference

  2. #22
    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)
    By line, do you mean a new event? If so no, you add it as a new condition in the same event.

  3. #23
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you. I need to learn a bit of the lingo as well as the programming philosphy of mmf.

  4. #24
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have tried to implement the rest of the level builder, so that when it reads a 2 in the list, it builds a green brick, and so on, but it is not functioning as desired. I copied the original event and changed the number that is being read in the loop, and the object created and the positioning of the object. I thought my issue may have been with my newly added Only one action per loop, so I modified it a little bit that if the loop reads "x" then it should know that it can stop reading the loop by setting LevelCleared to "no".

    The only thing that seems to be working on this is the placement of the blue bricks (1). Because i dragged and dropped the events, and then edited the string value of what it is reading, i thought this would work out flawlessly, but i was mistaken. I have Popcorn's example open so i can refer back to that, and can modify his levels w/out issue, but am stuck on where the logic went wrong on mine.
    Attached files Attached files

  5. #25
    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)
    When you copied and pasted you messed up the action order. Now, for all other objects but the blue ones, you first position the object, then create it. That wouldn't work. The order is very important here. You must create the object first, and then set its position, all in the same event. Double click a cell in the event editor to open up the action editor, where you can see the order of the actions. Here you can move the actions around to get the order right

  6. #26
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    rubes's Avatar
    Join Date
    May 2011
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good catch, Popcorn. I do see this in the event list as well as the action editor. I didn't have a lot of luck with drag n dropping to rearrange, but I deleted the positioning actions and dragged from blue in the event editor, validated the order looked right, and problem has been solved. I'm sure these are simple concepts to most, so I appreciate all of the help. I think I will stop posting on this thread as I've passed the original thread title, and now I have two valuable insights. I did the chocobreak tutorial early on and thought how easy that was, but this is going to be light years ahead of that

  7. #27
    Clicker Fusion 2.5HTML5 Export Module

    Join Date
    Jun 2016
    Posts
    60
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello - Looks good but how to stick the ball from the beginning to the peddle ? Seems like that this works only after the ball left the playground. hmmm

    Thanks for a little hink.

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. Pong Tutorial - Ball direcction respect from paddle zone
    By Matriax in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 30th December 2012, 03:46 PM
  2. Mouse movements and left click
    By videogiochi in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th January 2011, 03:38 PM
  3. shooting at a mouse object with left click
    By vincent in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 21st June 2009, 04:24 AM
  4. Ball and paddle example
    By nivram in forum File Archive
    Replies: 0
    Last Post: 8th December 2008, 11:11 PM
  5. Left Mouse click with additional condition problem
    By maVado in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th July 2007, 12:19 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
  •