happyturtle5's Forum Posts

  • I am not experienced in developing for web, so I hope I can find some answers here.

    I built a game in Construct and exported it as html. I uploaded it to itch.io and sent it out for testing. I received some complaints that it a) does not always become fullscreen, so that browser bars are still visible (e.g. on iOS - I guess on Safari, and on Duck Duck Go). Also, the game (which is in landscape) does not rotate automatically. On Android it is, e.g. in Chrome, but apparently not on iOS.

    Is there anything I can do to fix this? It looks to me like this is a Browser problem and nothing that I can do much about it?!

  • Thank you for your answer and the tips for workarounds. Its a bummer I can't put in "real" links, since I have textboxes with many lines (and potentially multiple links) and content that changes. No big deal for this project, but something to keep in mind for the future.

  • As far as I understand, I can use BBCode in Construct, to modify parts of the text. I tried to use Url-Text to implement a link, but that does not work.

    The code gets "integrated", by which I mean it is not visible in the textbox, but clicking the Text does nothing.

    Is it possible to add a link into text? And if yes, with BBCode or in another way?

  • Hello!

    Another interesting text issue.

    When copy pasting text from an external source into the array editor, manual line breaks are copied across, but are not visible while in in the Array Editor.

    This leads to unexpected behavior. Example:

    A manual line break is created before the first word, resulting in the complete text moving down a line.

    The problem is that the issue is not apparent while working in the Array Editor. Only if we start and test the game, we can find the culprit. Sometimes we even have to replace the text by retyping it. This is kind of annoying.

    Any help, tipps, and fixes are welcome!

    Thanks!

  • Hello!

    I have browsed through the forum to find a solution but could not really find something that helped me.

    We are receiving bug reports in regards of cut off text for Iphone/Safari.

    On other devices the text looks as expected. See Screenshot.

    1. What can we do to fix this?
    2. What can cause this issue?
    3. What can we do to avoid this issue in the future?

    Thanks!

  • I tried to follow your advice and it works in most cases, but not in the one case were I change the text dynamically. Sometimes, the text has 2 lines, sometimes 1. And when I align the top in a way it looks centered with 2 lines, it looks off with just one line of text.

  • Thank you for your reply! I encountered the problem on Chrome and Firefox.

    Interestingly, the text is centered on the Duck Duck Go Browser.

  • I checked again and noticed that the problem also occurs on the PC Browser. A hotfix would be to move all the text objects, but its a bit annoying that the web build does look different then what I put together in the editor.

  • I noticed that text in text objects has a slight offset downwards on mobile in the browser. See pictures:

    This how it looks in Construct (running in Chrome)

    The same text object, but played on mobile, in the Chrome browser

    Is there anything I can do about that? Just moving the text upwards won't do it, because I need the game to work in the Browser anywhere. PC and Mobile.

  • Interesting, I am gonna try this, thank you. Its a bummer that a trick is needed though.

  • Hi Aekiro, I bought your plugin and am pretty happy with it.

    I have one problem though. Scrolling through content in the Scrollview works well enough when moving it with the mouse cursor, and when grabbing the slider. But when I use the mouse wheel, scrolling is very slow.

    Is there anything I can do to make it scroll faster with the mouse wheel?

  • I have plenty of long texts in json arrays. For some of the texts, I'd like to add a manual line break to make it more readable. For example, I have a text that says:

    "Game Over. Try again." and I'd like to change it to

    "Game Over.

    Try again."

    Pressing Enter in the array editor accepts the text, so I can't another line with that.

    Pressing Shift + Enter DOES create a new line, but it vanishes whan I click outside of the editor, or press enter to accept the change.

    Curiously, copy + pasting text from a Libre Office file creates line breaks and empty lines, even at places where I don't expect or want them, e.g. in front of the text, or between random words. So it looks like it is possible to add line breaks - I just don't get how I can control them.

    Can someone help me? Is it possible to control line breaks in the array editor?

  • Holy moly, I found the problem! I had used the command "Set Fact Number to FactShareButton.FactToShare" in a function previously. I already assumed that that was the cause of the problem and had moved the command to the "touched" event. But I did forget to delete the old line which was then overwriting my command... Thanks for sticking with me!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, every button has their own instance variable. When I change the instance variable of the first button, e.g. to 3, that becomes the "standard" which is picked everytime.

    The global variable does not update as expected and the text isn't updated correctly as well. Everytime only the instance variable of the first button is picked (and set / displayed).

    How could I show it better to you?

  • I have a screen with multiple buttons on it. Every button is supposed to show a certain fact. I want to specify by an instance variable which fact every button is supposed to show when I click it.

    But what is weird is that whenever I click a button, only the instance variable of the first button on the screen is used, although I assumed it should pick the variable of the button I just clicked.

    Here is the code:

    This is how the button looks in the editor:

    I am confused, because I assumed my intended behaviour is what the instance variables are made for. But for whatever reason, they are all ignored, and just the instance variable value of the first button (and the one with the lowest UID) is picked. Can I do something to fix this?