User Tag List

Results 1 to 2 of 2

Thread: Toggle Game Paused screen with image animation

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Matriax's Avatar
    Join Date
    Dec 2012
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Toggle Game Paused screen with image animation

    I'm still improving the pong tutorial.

    The idea:

    Press P = Stop paddles and pause the ball movement
    Appears a "Game Paused" image from top with a "bouncing ball" movement with deceleration to stop in the top-midle of the frame
    Press P again:
    "Game Paused" vissibility is off, paddles can be moved and the ball continues with the previous speed and acceleration


    What i made:
    Upon Pressing "P" = "Game Paused" Toggle internal flag 0
    "Game Paused": Internal Flag 0 is On: Stop Ball | set 0 authorised directions to padles movement | Game Paused reapear and Star Movement
    "Game Paused": Internal Flag 0 is Off / Only one action when event loops: Start Ball and set X Speed | set the up/down authorised directions to padles movement | Game Paused make invisible and set original position

    Notes: A timer with set speed "Speed( "Ball 10" )+2" is running for the ball aceleration.

    ----------

    First problem: The "Game Paused" appears well the first moment but the second time not move. I Know i need to restart the movement but i not find this option or how to do this.

    Second Problem: When the "game paused" image go out i set a speed to the ball because i don't know how to set the previous speed+acceleration before the game was paused.

    The solution for the ball problem i suppose will be "pause ball" instead "stop ball" but in the movement options only appears Start and Stop.

    Other thing i tried is:
    flash is Off - Set "Next Movement = Static" and when the flash is On "Previous Movement = Bouncing ball" but with the default step not with the speed+aceleration before the game is paused mmmm i need to get the speed before the game is paused and set it when the flag is on mmmm


    Thanks in advance.



    Edit:
    I tried one possible solution for the ball problem:
    Create an object called "speed ball"
    When P is pressed retrieve the speed from "Ball" to "Speed Ball"
    Flag On = Stop "ball"
    Flag Off = Retrieve the speed from "Speed ball"

    But either works.... i think this is one solution but something is wrong in the conditions/expresions mmmm....



    2 Edit:
    Found a solution for the Game paused problem:
    "Game Paused": Internal Flag 0 is On: Stop Ball | set 0 authorised directions to padles movement | Game Paused reapear, Select Movement 1 and Start.

    With this always select the initial movement and plays it!

    Now, need to solve the ball speed+acceleration...

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Matriax's Avatar
    Join Date
    Dec 2012
    Posts
    224
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ball Problem solved . Not with a perfect and easy solution but it works.

Similar Threads

  1. toggle animation sequence
    By arfa in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 27th August 2011, 11:41 AM
  2. Screen turns black when maximizing while paused
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 5th January 2011, 07:44 PM
  3. vitalize + toggle full screen ?
    By Shmuper in forum Vitalize
    Replies: 3
    Last Post: 26th May 2010, 04:41 PM
  4. Progres Bar Object - Paused animation?
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th April 2010, 05:15 PM
  5. toggle image on click
    By rhoymand in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd December 2006, 12:52 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
  •