User Tag List

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

Thread: Shooting delay

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2010
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shooting delay

    I'm using the inbuilt platform movement for my playable character. I'm new to TGF since 2 days back, I learned alot by reading replies and examples from people around this forum. But I can't seem to find an example of how to create a delay of an object being fired away.

    Right now I'm making my 13th frame and it has a boss which I'll try to give "lives" when I learned about the alternal values.

    But now, to be able to kill him I need to shoot him 7 times. But I don't want it to end in 1 second if you know what I mean

    What I am saying is that I don't want to be able to spam my fire buttom to shoot 10k bullets a second. How can i add a delay?

    Thanks in advance!


  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting delay

    Destroy the bullit when it hits the boss.
    Then don't allow shooting until last of bullits have been destroyed.

    or

    Every.20 seconds
    Last of Bullits have been destroyed
    Allow shooting

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  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: Shooting delay

    Do not use "every" whatever you do! Use the condition under the special object "Special Obejct -> Limit Conditions -> Restrict actions"
    Working as fast as I can on Fusion 3

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2010
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting delay

    Thanks nivram and LB. Unfortunately I have no idea howto "not allow" I'm using all built-in functions only. I will have a look again and try LB's suggestion, if the conditions are "choosable" so to say.

    sidenote: I downloaded about half of your examples Nivram, they're great for learning.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2010
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting delay

    SO, I added set restriction 1 second for active object (character) shoot object (bullet).

    didn't work.

    So I removed my "upon pessing ctrl character shoot object" and inserted "upon pessing ctrl character shoot object" in the same box as the 1 second restriction.
    The result: I can shoot once, but never again.

    Any ideas? Thanks for helping

    Edit: couldn't find any "allow" options.

  6. #6
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting delay

    Thanks for the nice comment Swiff.

    I showed sudo code, as there is not an allow option, as it needs to be created by coding.

    I have some open source examples of shooting, on my website. Although the examples are not called "shooting example", some of the examples include shooting.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  7. #7
    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: Shooting delay



    Does this help?
    Working as fast as I can on Fusion 3

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2010
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting delay

    I don't have a launch option in my conditions. I did put "active 14 shoot active 17 at speed 60. But it only let's me shoot once and never again. I put it in the row of the condition:
    *upon pressing control
    *restrict actions for 01"-00)

  9. #9
    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: Shooting delay

    If your action still says Shoot instead if Launch then you have an old version of TGF2. You should update to the latest.

    Also I don't know why it never lets you shoot again, it works just fine for me. make sure you are using the condition from the Special obejct -> Limit Conditions -> Restrict Actions
    Working as fast as I can on Fusion 3

  10. #10
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2010
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting delay

    Yeah I did use the special->limit conditions-restrict actions. However, SInce I got the old versio,n i'll download the latest and try it. thank you.

    re-downloaded, got some stuff I didn't have before, but- the update doesen't run.

    and it's stil lsaying "shooting" :/

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Get rid of the AutoHide delay?
    By Outcast in forum Fusion 2.5
    Replies: 0
    Last Post: 25th December 2013, 10:17 AM
  2. Delay! help
    By scurvy in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 7th February 2010, 04:20 PM
  3. Help With 'Delay' - Is It Possible?
    By HRMNKRDN in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 20th July 2009, 09:22 PM
  4. Shooting Delay
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 12th June 2008, 04:36 PM
  5. sound delay
    By Larry in forum File Archive
    Replies: 1
    Last Post: 3rd January 2007, 10:56 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
  •