[Behavior] scrolling (for text/sprite font plugin)

0 favourites
From the Asset Store
Horror Halloween Pixel Art Sprite Font Space Data included
  • errormessage with "Construct 2 beta release r100" (and r101) on demo "scroll_scrollbar.capx", see picture. Any clue?

    (on preview but after export not better)

    Firefox 14:

    <img src="http://img6.imagebanana.com/img/glzxe0th/scrollingtexterror.png" border="0" />

    Chrome 21:

    <img src="http://img6.imagebanana.com/img/1j6jn72g/chrome.png" border="0" />

  • errormessage with "Construct 2 beta release r100" (and r101) on demo "scroll_scrollbar.capx", see picture. Any clue?

    (on preview but after export not better)

    Firefox 14:

    <img src="http://img6.imagebanana.com/img/glzxe0th/scrollingtexterror.png" border="0" />

    Chrome 21:

    <img src="http://img6.imagebanana.com/img/1j6jn72g/chrome.png" border="0" />

    I have same problems, anyone can help this?

  • Stefanox

    kenli

    This is caused when webGL mode is On. I will try to find solution.

  • Update:

    Fix bug when WebGL mode is ON

  • Update:

    Fix bug when WebGL mode is ON

    Wow, thx for update rexrainbox.

    I'm appreciated that :)

  • Cant scroll with mouse, scroll with keyboard works. Any idea ?

  • Hey,

    I have a little problem too...

    I'm trying to append text by a variable length of strings during a loop. During the while-loop I'm appending the text with a new line and I want to scroll the current content of text, although if the loop isn't finished yet.

    The Problem is - that the text appears after the whole loop is done... <img src="smileys/smiley6.gif" border="0" align="middle" />

    Here is my .capx-File -> dropbox.com/s/9zoq05dd6ayv7hy/scrolling.capx

    Hope anyone could help me...

    Without scrolling-append its working already in my project, but then I can't scroll either... <img src="smileys/smiley5.gif" border="0" align="middle" />

    Edit: ok... found my mistake... The Content only appears after the textbox is to small for all lines. Made some dirty things while creating the text so I'm filling the empty lines in text appending "newline"s now...

    Is there a smarter option to fix my problem?

    Greetings,

    Camula

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Camula

    Uh, I don't understand your problem. I could not see this "loop" in capx.

  • rexrainbow

    Sorry didn't update the .capx...

    dropbox.com/s/9zoq05dd6ayv7hy/scrolling.capx

    There you can see the "while"-loop first and as subevent the "for"-loop to fill "Text" with "newlines".

    Thanks for your help. :)

  • Camula

    Uh, do you mean the correct result is to toggle the "for" loop off?

  • rexrainbow

    Yes, not a "pretty" solution what i've done there... It works but I don't understand the logic behind.

    In my opinion the content of text should shown already if theres nothing to scroll. Do you understand?

    I want to display two lines of text also if there is space for four lines, for example. But now i have to add two empty lines to the two textlines to display anything.

  • Camula

    Use a string variable (named "s") to replace the "Help" text object.

    Set s to

    s & "Da da daaaaa da da daaaaa daaaa da da da da daaaaa: " & goOnAnimation & newline

    Then set content of text object to s.

  • rexrainbow

    Didn't change anything using this solution. <img src="smileys/smiley24.gif" border="0" align="middle" />

    Now I'm using the string variable s instead of my help text, but there appears the same problem.

    Only with the for-loop and appending Text with empty lines it works correct... <img src="smileys/smiley5.gif" border="0" align="middle" />

    Thanks for your help rex, but I think I will use "the dirty way". <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Camula

    The modified capx had pm to you.

  • rexrainbow

    Oh thanks a lot! I'll check this out.

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