dupuqub's Recent Forum Activity

  • This version has a checkbox for the loop, hope it helps.

    Also I repositioned the elements a bit so the tutorial message is displayed in case the user forgets to input the text or to press "PREP TEXT".

    Cheers!

    github.com/dupuqub/constructs/blob/master/Reader.c3p

  • There were somethings that were unclear for me in your code.

    I tried to understand the main features you needed and made something for you to check out and see if it helps.

    Feel free to use it as you please and ask anything about it.

    https://we.tl/t-UAJs2IY009

  • YES, thanks!

    You are a life saver.

  • I believe you may use BBcode along with some string treatment, try passing something like "[color=#FF0000]A[/color]lphabe[color=#FF0000]t[/color]" as a string to a Text object.

    You may declare the color inside a variable first and call it dynamically:

    C0 = "#FF0000"

    "[color=" & C0 & "]A[/color]lphabe[color=" & C0 & "]t[/color]"

    For the string part, suppose you have:

    S0 = "Alphabet"

    You can then use mid(S0, 0, 1) to get "A" and mid(S0, len(S0) - 1, 1) to get "t".

    Of course you can do that dynamically too, or whatever way suits you best.

  • 1. Imagine you have some overlapping cards.

    2. Then you hover your mouse through them.

    3. Then you ask to focus in the uppermost (z-index) instance of this card object.

    4. C3 then gives you NOT the uppermost (z-index) object from a list of overlaps.

    5. C3 instead gives the first created instance of said object.

    ----

    I cannot seem to do that in C3, although it is very common practice everywhere else, for instance, in HTML development and Unity and UE4.

    I am used to when asking for an instance of an object, getting the highest one in the z-index order or at least having this possibility.

    ----

    Is this a bug?

    Am I not seeing something clear?

    Is there an easy way of doing this without having to manage my own z-index micro-engine in C3?

    Thanks in advance, I appreciate any feedback.

  • I found out that these lines work best because using "is down" instead of "press" and "release" will have a couple of frames where the DragDropped object is still a little bit dragged.

    Thanks for the light.

  • Currently I cannot find anyway to stop Middle and Right mouse button from triggering the DragDrop behaviour.

    Do you know any workaround, by JS maybe? Or is it just something I'll have to build myself?

    Thx in advance.

  • EDIT: After completely clearing my cache, both the browser and the "app" are working normally again.

    I just realized that I was always able to open the editor on the browser offline, but that I cannot through the "app" (icon on my desktop).

    When I open through the browser and then proceed to "Open in Construct 3" all is fine though.

    Could I've missed something? I'm using beta versions and maybe the download got "stuck" in some version?

  • I use Chrome, is there any config I should know about?

    Tagged:

  • EDIT: tokencount is the real answer, thanks

    it did work, just didn't seem that elegant.

    but the tokencount is also great!

    also regexMatchCount worked at the exact number of symbols, instead of how many separations they provide.

    I keep forgeting to check the manual, noob move, thanks everyone!

  • I am for looping through the string's length and adding to a counter, is this the way?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • damn, I should've payed more attention, thanks a bunch!

dupuqub's avatar

dupuqub

Member since 4 Aug, 2019

Twitter
dupuqub has 1 followers

Trophy Case

  • 5-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies