How do I replace every alphabet font?

0 favourites
  • 3 posts
From the Asset Store
Horror Halloween Pixel Art Sprite Font Space Data included
  • Currently I have project to create funky text generator.

    I want to replace every alphabet character on my project.

    I use RegexReplace(TagText.Text, "a", "g", "₳") but it just change one character only, I want to change all the character a-z

    to

    Thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Create two variables with both alphabet strings, then replace each letter:

    Variable alphabet1 = ABCDEFGHIJKLMNOPQRSTUVWXYZ
    Variable alphabet2 = ₳....(funky letters)
    
    Repeat len(alphabet1) times
     Set text to Replace(text, mid(alphabet1, loopindex, 1), mid(alphabet2, loopindex, 1))
    
  • Create two variables with both alphabet strings, then replace each letter:

    > Variable alphabet1 = ABCDEFGHIJKLMNOPQRSTUVWXYZ
    Variable alphabet2 = ₳....(funky letters)
    
    Repeat len(alphabet1) times
    Set text to Replace(text, mid(alphabet1, loopindex, 1), mid(alphabet2, loopindex, 1))
    

    Its work! thank you,

    you saved my life :)

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