viniciuscgp's Recent Forum Activity

  • If you loop from 0 to <var>. Then you can set <var> to a higher number on a condtion so the loop wil end. Woould be nice if CC2 will come with a while condition.

    Yes, but I was claming for a more clean solutions like a simples "exit loop" or "exit for".

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use the expression len(text.text) (in case of a text object named text).

    This system expression will return the number of characters contained in the passed string.

    From there try to multiply it by your font's size +/- X (for the space between the characters).

    I do that but its only works with fixed size fonts like "courier new".

    About use of others plugins I dont like so much because its not guaranteed to be compatible with future versions of C2, so I am asking that this feature is placed in the next release of C2.

  • Why not create a place where we can claim for new addictions on C2? Its we be nice for all because will be more organized and will not clog the other forum. Thanks in advance!

  • Hi its me again....

    Yes, Im using a For loop from 0 to some boundary. How can I exit from this loop before get upper bondary? Like an "Exit for" ? I was thinking using a sub event but theres no action to exit a loop. Its really necessary for a complex project like mine. Thanks in advance!

  • How to determine the size in pixels of a text in a particular font?

    And an "auto size" properties on the Text object would be nice!

  • What are any of the other characters useful for?

    Im accessing others PHP applications thats uses some especial chars.

    Vinians,

    Perhaps Mipey's plug-in might help?

    Mipey's Extra Expressions

    Specifically, code2char.

    Thanks a lot! Its exactly what I was needing!

    Ashley Pls include this features on the next version, its really usefull fome some of us.

    Thanks.

  • I use an array to do this like:

    Set str = "String|String|Test|String"
    Set tc = tokencount(str, "|")
    Array->SetSizeTo(tc)
    For "Loop" from 0 to tc - 1
    {
        Array->tokenat(Str, loopindex, "|")
    }
    

    Now I have an array with all tokens!

  • Yes friend, but I want a funcion like PHP chr(), then '10' was just an example.

    Thanks

  • Hi friends!!! (Thanks for new update!!!!)

    Im using tokenat() function to create an array of strings. But now I need to use a character 10 as a separator. How can I convert a character 10 to a string ?

    Obs. I searched the strings but found no functions to do this...

    Obs2. I cant change the 10 to another char...

  • Nice game! awaiting the continuation!

    Muito legal seu jogo, espero pela continua??o! Ainda n?o fiz o meu, mas pretendo criar alguma coisa assim que tiver terminado o projeto que estou fazendo.

    Flws!

    C2 worth its prices. This a amazing well created peace and the developpers are constantly updating it. Where I live a bigmac costs $ 4,86 so I just stop eating bigmacs 6.58 and add the money! Okay, all limitations removed. I'm not saying it's easy, but worth it if the product suits you.

    There are any contest running?

  • you're right friend, now I understand exactly how this works. Thanks!

viniciuscgp's avatar

viniciuscgp

Member since 27 Oct, 2011

None one is following viniciuscgp yet!

Connect with viniciuscgp

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies