Editbox issues.

This forum is currently in read-only mode.
  • 00
    00|06
    00|01|06
    00|01|02|07
    00|01|02|03|07
    00|01|02|03|04|07
    00|01|02|03|04|04|08
    00|01|02|03|04|04|04|08
    00|01|02|03|06|04|04|04|08
    00|01|02|03|06|03|04|04|04|09
    00|01|02|03|07|02|03|04|04|04|09
    00|01|02|04|07|02|03|04|08|04|04|09
    00|01|02|04|07|02|03|04|08|04|04|04|10
    00|01|02|04|07|01|02|03|04|08|03|04|04|10
    00|01|02|04|07|01|02|03|04|08|02|03|04|04|10
    00|01|02|03|04|07|01|03|04|08|01|02|03|04|04|10
    00|01|02|03|04|07|01|03|04|08|01|02|03|04|04|04|10
    00|01|02|03|04|07|01|02|03|04|08|01|02|03|02|03|04|10
    00|01|02|03|04|07|01|02|03|04|08|01|02|03|02|03|04|04|10
    00|01|02|03|04|07|01|02|03|04|08|01|02|03|02|03|04|04|04|10
    00|01|02|03|06|02|03|04|04|04|07|01|02|03|02|03|04|04|04|02|10
    00|01|02|03|06|02|03|04|04|04|07|01|02|03|02|03|04|04|04|02|03|10
    00|01|02|03|06|02|03|04|04|04|07|01|02|03|02|03|04|04|04|02|03|04|10
    00|01|02|04|06|01|02|03|04|07|01|02|03|04|08|01|02|03|04|01|02|04|04|09
    00|01|02|04|06|01|02|03|04|07|02|03|04|04|08|01|02|04|04|09|03|04|04|04|10
    

    This how it looks in the txt file.

    However when I run it in game, it looks like this.

    <img src="http://dl.dropbox.com/u/32409323/Images/looks.png" border="0" />

    I want it appear as it appears in the text file. I have horizontal scroll off.

    Can do this with a token?

    Also, where can I get the "Wait plugin"?

  • This is an issue with the editbox.

    You can workaround it by using the text manipulator object.

    Example:

    + System: Start of layout
    -> TextManipulator: Read file AppPath & "test.txt" line by line
    
    + TextManipulator: On line read
    -> EditBox: Append text TextManipulator.GetReadLine & NewLine
  • Awesome. Also, I didn't know the wait plugin as part of CC already.=P

    I ran into a another issue. It doesn't seem to be reading the first characters or last characters in the text file. I have it set it to where it plays a sample based on the value in between the "|".

    Like on line 1, it won't play "00". O

    On line 2 and greater, it will play all values expect the last line in that line.

    It worked fine when I just load it it using the Editbox.

  • Well, the text manipulator method of loading the text does not change anything to the original text file, except that it replaces the newline character with its own newline character. So I would say it depends on how exactly you read in and interpret the text from the editbox. Could you please show a demonstration cap or at least some code snippets?

    I guess you are using 'get token'?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yes, I used GetToken.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)