Callan S's Recent Forum Activity

  • I'm splitting a .txt file into an array using tokenat.

    However, when I go to check if part of it equals, for example "<NP>" it wont show it as being so.

    Eventually I've figured a carriage return is being added to the front of the string when it is split.

    Why does this happen and can I make it go stop now??

  • Tried some of the terms I'd used to modify buttons and it didn't respond well at all.

    I just want to customise the colours. What terms should I be using?

  • Any tips on attaching changeable text to a sprite? If there is a way of connecting sprite and text more than just putting one on top of the other?

  • Changing the browser in Preferences will take effect the next time you create a new project. It will not change your current project's settings.

    Okay, didn't see that coming. Rather like a word document having a variable in it that controls where it prints, rather than the user just deciding whilst using word.

    Thanks, that solved it, NicotineLL.

    Though I just tested my issues with 'newline' and find it wasn't a new problem exclusive to chrome. But that's something for my other thread

  • I don't think newline ever worked with buttons.

    It definitely has. I've been working on this project for probably two to three months, with a button using newline in it from near day one!

    [quote:2b200joc]You can make the text into multiple lines by changing the size of the button though, so maybe that's what you had before.

    Right now, without newline working, the text simply goes to the edge of the button and disappears - there's no word wrap.

    What I really don't get is how it could work one night, then with no change on my part, multiple buttons using newline ceased to use it the next day. Also just figured the problem is not exclusive to chrome - internet explorer wont do it either.

    Was something depreciated in web browsers recently or something?

    It's really annoying to have to have a sprite and a text object compared to before.

  • Even better I find I can't put text boxes in front of buttons. So for no reason at all my buttons have f'd up and I have to reconstruct them in a way I don't actually know right now so I can have any sense of progress.

  • I have tried to go into constructs preferences and change the preview option to use to internet explorer (I'm trying to figure if a problem with buttons rejecting 'newline' is browser specific). I set it to internet explorer. It loads up in chrome. I try setting internet explorer as my default browser. The preview loads in chrome.

    Whutup?

  • I haven't updated construct at all.

    I'm looking at the post editor and I have no idea how to attach a capx?

    I can start a new project, add a button, add a system 'on start of layout' and set the text of the button to 'Line 1' & newline & 'Line 2' and the button will show "Line1Line2"

    Keep in mind this problem is with buttons - newline still works with text boxes.

  • I have some buttons that I change the text of and use newline as part of that.

    It was working fine last night, but this morning newline doesn't seem to be working? What happened? It kind of screws up all my buttons? I'm on chrome - did it update somehow without notifying me?

  • Put them into an array, then make themselves load from the array after reset?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, I tried throwing myself at it since you implied it's easy ... and half trying out a tutorial at the same time I did manage to make it load up the data from a txt file. It seemed to load all of it at once, so I guess I'll have to use tokenat to break it down into an array. As I recall the other tutorials I tried had all sorts of code in the data and it was OTT for me.

    Thanks, Rojo

  • Fair idea. Any way around using a USB port, so I don't use up my data limit?

Callan S's avatar

Callan S

Member since 2 Oct, 2015

None one is following Callan S yet!

Trophy Case

  • 9-Year Club
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

11/44
How to earn trophies