User Tag List

Results 1 to 5 of 5

Thread: I request some code help

  1. #1
    No Products Registered

    Join Date
    Jan 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I request some code help

    IDK where to post this but I'm useing the newgrounds version of The Games Factory 2 so I guess I'll put it here. I'm working on a game but have hit a brick wall. In the game you play as a shark, that shoots lasers and bites things. The issue I have is that the biteing function gets glitched and I can not figure out how to fix it. Right now it is set up to change to the bite animation when the player presses the B key, but if the player presses it too fast it gets stuck in that animation. I would post the source code but I have no idea how to find it. I was told about some .mfa file thing but I don't know what that is. Below I will post a link to the game so you can see the issue for yourself.


    (or should I say I would have linked it if I didn't get an error)


    Also thanks to Pookasnooks for telling me about this site.

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)
    Sounds like a problem with your events -- Perhaps as simple as just putting a limit on the player so it doesn't try to play the biting animation if its already playing.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    If you do a "Change animation", you will have to do a "restore animation" later to get the object back in ts normal state...

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Location
    Turku, Finland
    Posts
    1,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also, for the record, the file you double click to open and edit your game is the .mfa source file. If you're still having problems, try uploading that file here: http://mfa.aquadasoft.com/

    Then post the link of your uploaded file to this forum and we will have a look and tell you what you need to change!

  5. #5
    No Products Registered

    Join Date
    Jan 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Welp that was the issue. I didn't have a restore statement. Strange though how it would restore itself unless the player pressed B too fast. Thank you for the help.

Similar Threads

  1. Is there any way to see the code?
    By Valerio in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 25th February 2010, 08:59 PM
  2. Using DLL or Code
    By Pegasus_Seiya in forum Extension Development
    Replies: 0
    Last Post: 12th June 2009, 04:43 PM
  3. Code?
    By Blood_Wist in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 11th October 2008, 10:38 AM
  4. V-Code Generator Source Code
    By LB in forum File Archive
    Replies: 1
    Last Post: 10th March 2008, 08:52 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
  •