User Tag List

Results 1 to 5 of 5

Thread: Load large text file, possible?

  1. #1
    Clicker 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)

    Join Date
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Load large text file, possible?

    Hey.

    I want to load a relatively large text file (could be up to 15mb or even higher, consists of many many numbers with delimiters) into my game, without freezing and crashing it...

    Is this possible?

    Thanks.

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Here, I made a really quick and dirty example of how you might use the File Stream Object:
    Attached files Attached files
    Working as fast as I can on Fusion 3

  3. #3
    Clicker 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)

    Join Date
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you.

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    If anyone is experiencing a freeze after playback, that's a mistake I made in the MFA that causes an infinite loop. Below is a fixed version.
    Attached files Attached files
    Working as fast as I can on Fusion 3

  5. #5
    Clicker 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)

    Join Date
    Nov 2012
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very nice, thank you.

Similar Threads

  1. Edit Box as a large text field? Also, Multiline bug.
    By ratty in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 18th November 2012, 04:36 PM
  2. Large text files
    By TheOriginator in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th August 2011, 10:44 AM
  3. Large Text Message crash
    By MechatheSlag in forum Lacewing
    Replies: 2
    Last Post: 21st September 2008, 06:52 PM
  4. Large Game; How do you load levels sepeately?
    By pinacoladaxb in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 25th June 2007, 07:19 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
  •