... compare single letters

0 favourites
  • 3 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • I'm in the process of creating my own RPG fantasy world and, as it happens, need a reliable rune generator that works with my own combination of several runic alphabets.

    Unfortunately, the standard compare text action is not really sufficient for what I'm trying to do ("translating" text on the fly).

    As it compares the whole text and not just single letter, it will change the first letter but not any letter thereafter.

    Is there any way to do something about it?

    Here's my syntax:

    Textbox - Compare text ("a") - Set text to ("?")

  • Why don't you load every character into a 1d array, and work your way around into a repetitive loop.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks.I'll keep this in mind the next time I'm writing such kind of tool.

    For this particular app, I ended up replacing the UCS with images from real runes.

    I figured, the UCS wouldn't really look good. Even if scaled to a very large font size.

    Actual futhorc looks way more impressive.

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