Display Text: Break the Lines

Hello :)
As you can see it already does it, by using the "wrap inside actor" checkbox.

Problem:
It moves the first lines y position.

Expected result:
Keep the lines at their current y position.
Adding the new line below.

Any Idea how I would do this?

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2016

    That should be:

    "I've got a small task for you"

    or "I have got a small task for you"

    or "I've a small task for you"

    or "I have a small task for you"

    #GrammarNazi

  • IceboxIcebox Member Posts: 1,485

    @BigDave alt+enter after "small" to break the line , no need to wrap I think .. thats how i do it, i keep testing and then break the line after a certain word

  • BigDaveBigDave Member Posts: 2,239
    edited December 2016

    @Hopscotch ahh very nice. Not sure it will work tough as the weakness seems to be exactly not to be variable to different lengths of text and words.

    @Socks
    thats true I might should get it checked by a native speaker once its done.
    thing is this font does not support ' or ä ö i tried to add them with free online tool but it always came out blurry.
    http://www.pentacom.jp/pentacom/bitfontmaker2/

    @Icebox
    Would it also work for text lines loaded from tables?
    Also a solution. I check it out tomorrow thanks.

  • IceboxIcebox Member Posts: 1,485

    Yes im sure it works i always display text from tables just do alt+enter then continue what you want to type

  • BigDaveBigDave Member Posts: 2,239
    edited December 2016

    @Icebox
    sound like the best way then as you can design how your sentences come across each at a time. BUT a lot of work for multi languages etc

  • ArmellineArmelline Member, PRO Posts: 5,420

    Unfortunately doing this kind of thing with GameSalad is very difficult. Even methods like the one I recommended in that other thread are very limited because you can not easily tell the number of characters in a line due to variable character widths and different fonts. If you know in advance where the line breaks come, it's definitely doable, though. In theory it will be possible to manually work out the line breaks in each piece of text in the game, though it'll be a long slog. If you know where the breaks need to come, they can be added fairly easily.

  • SocksSocks London, UK.Member Posts: 12,822

    @Armelline said:
    Unfortunately doing this kind of thing with GameSalad is very difficult. Even methods like the one I recommended in that other thread are very limited because you can not easily tell the number of characters in a line due to variable character widths and different fonts.

    You could use a monospaced font.

  • ArmellineArmelline Member, PRO Posts: 5,420

    @Socks said:

    @Armelline said:
    Unfortunately doing this kind of thing with GameSalad is very difficult. Even methods like the one I recommended in that other thread are very limited because you can not easily tell the number of characters in a line due to variable character widths and different fonts.

    You could use a monospaced font.

    Spaces still complicate matters a little, as GS doesn't seem to always render them at the same width as the font characters, but with a monospaced font it would definitely be easier.

  • BigDaveBigDave Member Posts: 2,239
    edited December 2016

    @Armelline

    i see buddy. The thing is I have one single archetype speech bubble actor. Which gets start cell and end cell manually within the scene.

    Keeping wrap text in actor on I know the fix max with before a break happens. Also the font size and font is consistent

    I already know total text length and current text length (as it is written 1 letter at the time)

  • BigDaveBigDave Member Posts: 2,239
    edited December 2016

    @icebox avoiding wrap in actor did not fix the issue for me I still noticed a jump

  • IceboxIcebox Member Posts: 1,485

    @BigDave Oh i just checked my project your right.. tick wrap in actor :) my bad , hope it worked out for you

Sign In or Register to comment.