User Tag List

Results 1 to 4 of 4

Thread: Counter problem in MMF

  1. #1
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Counter problem in MMF

    Hi!

    I need some help with counter in my shoot'em up game.
    When I press the shift-key, it shoots rockets. When the counter reach zero, I have no rockets left . The problem is, when the counter reach 1, I have no rockets left. It shall be zero. I have tried to find out what the problem is, but no...

    Can someone help me?

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Counter problem in MMF

    Could you post the event that deals with this action, please?

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Counter problem in MMF

    Could it be that you have an action like:

    counter > 1
    + Player presses SHOOT
    ---- Shoot rockets
    ---- subtract 1 from counter

    ?

    It needs to be:

    counter > 0
    + Player presses SHOOT
    ---- Shoot rockets
    ---- subtract 1 from counter

  4. #4
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Counter problem in MMF

    Thank you Dines! It works. Now I know what the problem was.

    I had two events instead of one.

    I had counter=0 in one event alone. :-)

Similar Threads

  1. Problem counter
    By rom in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th December 2012, 01:06 PM
  2. Counter problem in swf.
    By Earl in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 24th March 2010, 07:10 AM
  3. Counter Display Problem
    By zybers1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th June 2008, 12:52 AM
  4. Counter Problem
    By evilpantsmaster in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 19th February 2008, 05:05 AM
  5. problem with horizontal counter.
    By piki in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 22nd August 2007, 06: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
  •