User Tag List

Results 1 to 4 of 4

Thread: Making objects via a text file

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making objects via a text file

    Hi guys,

    For some reason, the other post i did, i did not get the right answer so i will make a slightly different answer.

    How can i make a system were the app loads a text file and reads it. every tenth of a second, it reads the next character (A G F R)
    Depending on what letter comes up will make a certain object.

    Thanks
    Rob

  2. #2
    No Products Registered

    Join Date
    Sep 2008
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making objects via a text file

    one way is load the text file using a list object. use a string parser object to set a delimiter (how the chars in your file are separated) usually with a comma. then every 10th sec use the string parser to retrieve the value of the character in the list object.

    if the char = a certain letter create a certain object. you will need to make sure your loop advances to the next character after reading one, this can be done by deleting the last character read.

    there is an example in the guitar hero type game by seele, where it looks at a file to see what notes to create.
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=108365#Post1083 65

  3. #3
    No Products Registered

    Join Date
    Jul 2008
    Location
    Isle of wight, UK
    Posts
    236
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making objects via a text file

    This was good but still too hard so could some one make an example or something, It would help alot, thanks (even if someone explains it,still helps)

    Rob

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,398
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: Making objects via a text file

    See if this helps - it's four different methods of varying complexity.

    http://cid-b1e7ee094271bbda.skydrive.live.com/self.aspx/Public/TextEg.zip

Similar Threads

  1. Quick Question Regarding Text Objects VS Graphic Made With Text
    By Rolando in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th April 2013, 04:10 AM
  2. Formatted text stopping me from making an swf.
    By Jacob_Miller in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 12th July 2010, 04:11 PM
  3. Making text appear in front of another object
    By Okapi in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 1st April 2009, 04:57 PM
  4. Having trouble with making a text box.
    By Calvin in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 30th January 2007, 12:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •