User Tag List

Results 1 to 4 of 4

Thread: Another Noob Question

  1. #1
    No Products Registered

    Join Date
    Dec 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Another Noob Question

    Okay so how do I save information from frame to frame? If each frame uses different Events and Active Objects and I want to keep, for instance, the info of a player as he switches frames how do I keep that info? I tried an Array, but that doesn't seem to work (unless I'm doing it wrong) This stems from not being able to figure out how to have a character enter a house on one frame, switch to house interior frame, then when he exits go back to the original frame in front of the door he entered. I figured just throw a flag on or alterable value after he enters, and then just Set Position to X,Y, but it doesn't seem to work.

  2. #2
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Another Noob Question

    Questions go in technical support, but try Global values/events.

  3. #3
    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,366
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    Re: Another Noob Question

    An array work as long as you save it to disc and load it back up in the new frame, but for this purpose global values and strings would be easier and more effective. An array is great when there are very much information that need to be saved, or if information needs to be saved even if the user closes the game.

    You save the positions when the player leaves the frame and load them to the player when he enters.

    You can either use two global values, one for xposition and one for yposition, or you can use a global string and save both values with some character between, and use stringparser2 to load the values. You can rename the global values in the properties window for your application to make it easier to remember what you used the global values for.

  4. #4
    No Products Registered

    Join Date
    Jan 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Another Noob Question

    You could make an object's values save from frame to frame by checking the 'global object' box. Or, you could use an ini to easily save and load an object.

Similar Threads

  1. Noob question about HWA.
    By hitking in forum Hardware Accelerated Runtime
    Replies: 3
    Last Post: 15th October 2011, 08:32 AM
  2. Noob Question?
    By Annsoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th July 2008, 03:34 AM
  3. Noob question!
    By Maccally in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 17th February 2008, 09:39 PM
  4. noob question
    By DJakuma in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th November 2007, 08:21 PM
  5. Noob question
    By gamefreak202 in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 15th August 2007, 06:16 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
  •