User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 31

Thread: Press fire button Glitch? Design?

  1. #1
    No Products Registered

    Join Date
    Jun 2007
    Posts
    323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Press fire button Glitch? Design?

    +Player Presses fire 1
    +Player is standing on ground
    -Shoot bullet

    This says "If the player PRESSES (not IS HOLDING) fire 1, and is standing on the ground, shoot a bullet."

    HOWEVER, It's acting like "repeat while fire 1 is pressed" in that, if I hold fire button 1 while player control is ignored, then restored, the player shoots a bullet anyway.

    "Press fire button" is an immediate condition so I'm kinda confused as to why it's working like this. Seems like a bug to me. I can't think of a workaround :\

  2. #2
    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: Press fire button Glitch? Design?

    Player 1 presses fire button: Set value to 1

    Value is 1 & Player is on ground & Only one action when event loops: Set value to 0, shoot bullet.
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2Install Creator Pro
    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)

    Join Date
    Jan 2010
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Press fire button Glitch? Design?

    ...
    Couldn't you just put Only One Action When Event Loops into the original event?

  4. #4
    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)

    Join Date
    Jan 2010
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Press fire button Glitch? Design?

    indeed.

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Press fire button Glitch? Design?

    Quote Originally Posted by camelman
    +Player Presses fire 1
    +Player is standing on ground
    -Shoot bullet

    This says "If the player PRESSES (not IS HOLDING) fire 1, and is standing on the ground, shoot a bullet."

    HOWEVER, It's acting like "repeat while fire 1 is pressed" in that, if I hold fire button 1 while player control is ignored, then restored, the player shoots a bullet anyway.

    "Press fire button" is an immediate condition so I'm kinda confused as to why it's working like this. Seems like a bug to me. I can't think of a workaround :\
    Yea, I see what you mean.

    I have tried everything ppl suggested on this thread, and this fire button glitch STILL happens.

    I guess what's happening is, since the control is ignored, every control/button you press/hold down wont do anything.
    So when the control is restored, the events then recognize the condition. So it assumes you have just pressed fire button instead of actually pressing it, not holding it down. X_X

    Kind of hard to explain, though maybe one of the clickteam admins can take a look into it, and see if they can correct this misatke?


    Other than that, the best method, or work around for this is to use a 'fake' ignore control function. In other words, always have control functions on, but disable/enable groups that have events with user control conditions.

  6. #6
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Press fire button Glitch? Design?

    Maybe try this.

    -Variant

  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: Press fire button Glitch? Design?

    Quote Originally Posted by Namida
    ...
    Couldn't you just put Only One Action When Event Loops into the original event?
    Um, that would do nothing because it's an immediate event.
    Working as fast as I can on Fusion 3

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleMac Export Module
    dsilvers's Avatar
    Join Date
    Jun 2008
    Location
    Boston, MA
    Posts
    658
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Press fire button Glitch? Design?

    Are you using the "Shoot Object" function or the "Create Object" function? You get a lot more control over your projectiles with the "Create Object" function. Just use a direction variable on the bullet that determines which way it is being shot (0 for left, 1 for right, or the other way around if you so prefer).

    My other suggestion if you can't get it to not repeatedly shoot bullets is to put a time limiter on it and treat it as if you can shoot repeatedly with the button held down, but adding in "Every 1 Second" or whatever will keep it nice and clean and limit how much the event loops. Plus it'll save you a whole buncha RAM problems in the end.

  9. #9
    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)

    Join Date
    Jan 2010
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Press fire button Glitch? Design?

    Quote Originally Posted by LB
    Quote Originally Posted by Namida
    ...
    Couldn't you just put Only One Action When Event Loops into the original event?
    Um, that would do nothing because it's an immediate event.
    One thing i know for sure about clickteam products, is that nothing makes sense.

    And it would probably work.

  10. #10
    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: Press fire button Glitch? Design?

    After you use CT products for a while, everything will start making sense. Be patient and have fun.

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

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Application pauses with every button press.
    By LemonyLime in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd March 2012, 09:40 AM
  2. Touch Joystick, Fire 1 Button, Fire 2 Button
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 13th February 2012, 01:37 AM
  3. Problem with fire 1 and fire button 2 in beta 11
    By Koji_Kabuto in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 31st January 2011, 07:51 PM
  4. Can I force MMF2 to press a button?
    By Iwantmyrpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th August 2008, 05:58 PM
  5. [BUG] Overlapping test when player press fire 4
    By Sphax in forum File Archive
    Replies: 11
    Last Post: 18th June 2007, 06:29 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
  •