User Tag List

Results 1 to 3 of 3

Thread: Help With 'Delay' - Is It Possible?

  1. #1
    HRMNKRDN
    Guest

    Help With 'Delay' - Is It Possible?

    Hi there,

    I'm working on a pong-like game. When the ball leaves the play area, it is destroyed and recreated at the centre of the screen. That's all well and good, but I want to insert a couple seconds' pause between the ball's destruction and recreation. How do I go about implementing this?

    Thanks in advance for your help,

    HK

  2. #2
    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,329
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Re: Help With 'Delay' - Is It Possible?

    Have a group of events which is deactivated from start.
    In here put an event to add 1 to a counter every second. When the counter is 3, create the ball and deactivate the group.

    When the ball is destroyed, activate the group of events. This can be done from the Special icon in the event editor.

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Oct 2007
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help With 'Delay' - Is It Possible?

    An alternate (possibly not as elegant) suggestion:

    when ball is created, set x to 3

    if number of objects (ball) =0, every 1 second, subtract 1 from x

    when x=0, create ball, set x to 3.


Similar Threads

  1. Shooting delay
    By Swiff in forum The Games Factory 2 - Technical Support
    Replies: 12
    Last Post: 20th July 2010, 04:04 PM
  2. Delay! help
    By scurvy in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 7th February 2010, 04:20 PM
  3. Imput delay?
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th January 2010, 03:25 PM
  4. delay the reposition
    By semie in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 26th March 2009, 01:50 AM
  5. Delay Events
    By Atom in forum File Archive
    Replies: 0
    Last Post: 23rd February 2009, 03:08 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
  •