User Tag List

Results 1 to 4 of 4

Thread: Two Basic Issues - Player Names & Saving Data

  1. #1
    No Products Registered

    Join Date
    May 2010
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Two Basic Issues - Player Names & Saving Data

    So at the beginning of my game I've got two objects A) an edit box and B) some formatted text that says "Name: ". I want to have the player enter their name and press enter to confirm the choice. Once this is done it should display (the formatted text to read) "Name: <inserted value>"

    In the event editor I have done the following:
    On start of frame set focus on the edit box
    Upon pressing enter cause the edit box to turn invisible and on the formatted text "Add text" --> retrieved value from the edit box.

    This doesn't seem to work to move the text from the edit box to the formatted text. Any suggestions

    Lastly any suggestions to create and save values using the file object?

    Thank you

  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: Two Basic Issues - Player Names & Saving Data

    1. Why are you using a formatted text object? It does not work very well, and you'd be better off using the string object.
    2. The file object cannot modify files. It can create, move, and delete files, along with some other things, but it does not modify the contents of files. You will need to find an extension that suits your needs and use it to save and load information.
    Working as fast as I can on Fusion 3

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Two Basic Issues - Player Names & Saving Data

    You can actually append to text files if you want to, but thats it for modifying.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Two Basic Issues - Player Names & Saving Data

    Yeah I would also suggest the string object... for that it's as simple as:

    Upon pressing "Enter"
    - set alterable string to "Name: "+Edittext$( "Edit Box" )

    For saving values, I'd recommend the INI object.

Similar Threads

  1. INI saving data
    By UrbanMonk in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 29th March 2013, 05:10 PM
  2. Two seemingly-basic issues with MF2...
    By emberjed in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th October 2012, 08:26 PM
  3. Need help with saving data
    By Hydra in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 8th July 2012, 11:10 PM
  4. help with saving data!
    By imamariobro in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 15th December 2007, 07:13 PM
  5. basic: player presses switch to start event
    By Peter_Traylor in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 17th October 2007, 04:21 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
  •