bsweileh's Forum Posts

  • 6 posts
  • Hello,

    I have found that regular expressions don't seem to work in the new C3 runtime. Has anyone else faced this issue?

    As a test, I used the system expression RegexMatchCount(TextInput.Text,"[ABCabc]", "g") to count the number of uppercase and lowercase As, Bs, and Cs being typed into a TextInput object (that is, the event is triggered by an "on text changed" condition) and I displayed it to the layout via a Text object. It worked when running the project in the C2 runtime but not in the C3 runtime. I have provided a link to the test project here:

    bit.ly/2M8C4dN

    Is this a known issue? Is there an online document that outlines which features have yet to be implemented in the new runtime? Please advise. Thanks!

    Best regards,

    Belal

  • Hello everyone,

    I may have missed this in the documentation, but is it possible to copy assets (e.g. objects, entire layouts, individual events, entire event sheets, scripts, etc.) from one open project to another within Construct 3? Please advise. Thanks!

    Best regards,

    Belal

  • Hello,

    Is it possible to access and set the SpeechGrammar object from the Web Speech API via the User Media plugin? I want to specify the words and phrases that I would like the speech recognition engine to listen for - and not go through an entire language. Please advise. Thanks!

    Best regards,

    Belal

  • Inkaendum, please see Ashley's quotes below about enabling the new runtime and BBCode support.

    See this blog post for information on how to try the new runtime.

    It's currently supported in the C3 runtime. It's still experimental so is not in the manual yet but this forum post lists the tags you can use.

    After enabling the Construct3 Runtime in the project's Properties Bar under the "Advanced" section, you can then create a text object and find the "Enable BBCode" checkbox under its properties. See the following link: bit.ly/2OF3FSg

    As far as I know, "Enable BBCode" isn't in the Text Input object. Is there a particular reason why you would find it useful there? Text Input is for getting input from the player. Is there a reason why you would need the player to input BBCode into the Input box?

    Hope that helps!

    Best regards,

    Belal

  • Oh, sorry about that ... I only posted this because I wasn't able to see the instructions and links for applying BBCode inside a text object. Thanks for the reminder, I'll be more mindful next time.

    I have been able to apply BBCode inside a text object. Question though: Are the [LTR] and [RTL] tags supported? While Construct 3 supports the Arabic language and other RTL languages extremely well, it still can't handle cases where a mixture of RTL and LTR languages/characters are in the same text object (or cases with lots of punctuation).

    As for Text Input objects, they work flawlessly since we can apply the CSS style direction="RTL" or "LTR" as needed depending on the dominant language to be typed. Unfortunately, we cannot apply the same style to Text objects, and it is because of this that things get a bit messy.

    Attached is an example that shows Arabic text that has been input by the user appears from right-to-left (RTL). The same text is copied to the Text object and appears as left-to-right (LTR). While adding newlines to the text can fix some directionality issues, some other characters (such as numbers, exclamation marks, periods, and other punctuation often) appear in the wrong parts of the sentence.

    tinyurl.com/y7uzvujc

    tinyurl.com/y8tcgdqb

    Is there a solution to this? Please advise. Thanks!

    Best regards,

    Belal

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Ashley,

    I hope you are doing well. I have a weird question: I am unable to see any links, quotes, images, etc on these forums ... why is this? All I see is shortcode. For example, your last comment in this thread appears like this to me:

    "See this blog post for information on how to try the new runtime."

    Please advise. Thanks!

    Best regards,

    Belal

  • 6 posts