User Tag List

Results 1 to 6 of 6

Thread: story board controls save and load frame position

  1. #1
    No Products Registered

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

    story board controls save and load frame position

    im using this to give the ability to save and load however when i load the main charcter moves on his own and you have to quick to press a key or move the joystick althou once you do press a key or move the joystick you regain control.

    how can i stop this?

  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)

    Re: story board controls save and load frame position

    I don't understand what your doing.

    You need to be a bit careful on saving and loading as it going to only save or load at the end of the event loop and it might take a bit of time to write the file. This is why you would want to test the file has been saved before jumping frames and so forth.

  3. #3
    No Products Registered

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

    Re: story board controls save and load frame position

    ok i just looked at this i had both save and load on the same frame so i added a resume button.


    in the title screen i have resume button player clicks on the button load frame position: error msg error in reading file.

    i just want if you save and your killed you return to the title screen and here you have the option to resume or quit

  4. #4
    No Products Registered

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

    Re: story board controls save and load frame position

    lets start over.

    main game user can press "s" and save game originally had it so you could load as well but had the problem of the player moving on his own until a direction key was pressed.

    i thought it over and changed it:

    now in title screen i have resume button player clicks on resume set global value z to 1

    main game:

    * start of frame
    * global value z =1 storyboard controls load saved game

    Now the chacter moves and i can not stop him at all.


    i whent back and put the load game into the main frame press "l" load frame position tested this player moves until a direction key is pressed. but if you try the resume button player moves and i cant stop him

  5. #5
    No Products Registered

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

    Re: story board controls save and load frame position

    ok just found the frame position has just been loaded how do i use this condition.

    the issue is with the resume button and trying to load the saved position

    i thought maybe global value z = 1
    frame position has just been loaded --> stroyboard load frame position.

    the problem with this is i have a always event for the players position so when i do the load the player wont go to the loaded position cuz the always event wont let him.

    i feel the only ans will be to store the position of the player in an array or could someone recommend a soloution?

    i would need to save the position x,y to an array: on load load position saved and always set position to loaded info or start of frame info.

    am i close???????????????????

    start of frame set array player positions

  6. #6
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: story board controls save and load frame position

    post an example

Similar Threads

  1. Cannot use Save or Load Frame Position.
    By LemonyLime in forum The Games Factory 2 - Technical Support
    Replies: 7
    Last Post: 15th October 2011, 07:26 AM
  2. Save and Load Frame Position?
    By Wiiman in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 12th January 2011, 01:03 AM
  3. Save / Load Frame Position
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st July 2009, 12:37 PM
  4. Storyboard Controls - Save Frame Position
    By Merrie in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 4th January 2008, 08:44 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
  •