User Tag List

Results 1 to 4 of 4

Thread: Accented characters

  1. #1
    Gel KCJV's Avatar
    Join Date
    Dec 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    106
    Level
    3
    vBActivity - Bars
    Lv. Percent
    66%
    Daily Activity
    0%
    Weekly Activity
    3.38%
    Monthly Activity
    3.89%

    Accented characters

    Hi everyone,
    I wondered if there was a way I can put accented characters in text strings, because I'd like to translate my project to French (and possibly Spanish as well) when I finish it. Is there a way I can do it?
    Thanks in advance!

  2. #2
    The Timelord
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,084
    Mentioned
    96 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,745
    Level
    19
    vBActivity - Bars
    Lv. Percent
    53.87%
    Daily Activity
    0%
    Weekly Activity
    30.41%
    Monthly Activity
    107.77%
    Not with the editor alone, I'm afraid, as it only supports the majority of the lower ASCII map. You can use @Saffith 's Tango.zh header, and script them; and my string_constants.zh file (from my expanded string.zh) that has the ASCII characters for all of them as constants, to create upper ASCII map symbols.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

  3. #3
    Gel KCJV's Avatar
    Join Date
    Dec 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    106
    Level
    3
    vBActivity - Bars
    Lv. Percent
    66%
    Daily Activity
    0%
    Weekly Activity
    3.38%
    Monthly Activity
    3.89%
    OK thanks I'll try using your string_constants.zh.

  4. #4
    The Timelord
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,084
    Mentioned
    96 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,745
    Level
    19
    vBActivity - Bars
    Lv. Percent
    53.87%
    Daily Activity
    0%
    Weekly Activity
    30.41%
    Monthly Activity
    107.77%
    You will want to read the thread on Tango.zh: http://www.purezc.net/forums/index.php?showtopic=60030

    To use that, you will need to learn at least some basic, and intermediate ZScript. It does take time...

    Sadly, even with DrawString(), you can;t make chars above 127; so that necessitates using tilefonts. The constants simply make it easier to work with those values, when constructing a tilefont. Note that when you make a ZScript string, in a code file, ASCII above char 127 will be preserved, but ZC can't do anything with it--we might fix that in a later version. This is how, and where the constants become valuable, as the preserved value is compared to a tile, assigned to its CHAR_* constant for use with Tango.

    Most CHAR_* values of 127 and below are legal, but some, have very limited practicality.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social