Text black border

This forum is currently in read-only mode.
  • Hey guys !

    I am creating a multiplayer game and I want to put a black border on the username of players but I don't have any idea of how to do it, I tried to do the same text with x-1 ; y - 1 ; x + 1 ; y + 1 etc... but it looks ugly :s

    Is there any way to do it with effects or something like ? :p

    Thanks in advance

    (this is a picture of what I want if you don't understand :

  • Probably best to use the spritefont plugin for that, and have a custom font that has borders.

  • Please correct me if I'm wrong. But isn't spritefont very buggy? I've heard other users claim this.

  • Please correct me if I'm wrong. But isn't spritefont very buggy? I've heard other users claim this.

    Otherway around actually. If you want your font to look the same on all devices then spritefont is the way... in fact I only ever use spritefont.

    Edit: once you got a template for sprite font you can use photoshop styles to change it to get unbelievable look and feel.

    a and c using glass effect

  • Well, thanks for your anwser

    I'll try with SpriteFont then, I tried the "outline" effect too but the line color can't be changed (white) and it's really ugly (pixelated).

    Edit : little problem, the SpriteFont's download link is broken

  • Well, thanks for your anwser

    I'll try with SpriteFont then, I tried the "outline" effect too but the line color can't be changed (white) and it's really ugly (pixelated).

    Edit : little problem, the SpriteFont's download link is broken

    What Link?

    This is all you need to get you on your way.

    grab latest version GiveYourFontsMono(spacing) v2.2

    Once you created spritefont it is in png format. Open in photoshop and change the font to what you want.

    It takes a bit of work to get it just right, but it is worth the effort.

    Then insert spritefont into your game like and it has default which is ugly, open and browse for you spritefont png. Don't forget to ajust your character widths, hieghts etc as whatever you choose them as

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think he's using the Construct Classic version though, and I don't remember if that one was broken or not, but you can get it here: https://dl.dropboxusercontent.com/u/471 ... ont_CC.zip

    Old spritefont forum page: http://69.24.73.172/scirra/forum/viewto ... f=2&t=4078

    Edit: Also, I just realized another method you could use is Pixel Shader FX (there should be an outline effect around if not built-in <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> )

  • jayjay - Oh, boy do I feel dumb. I didn't see the CC in breadcrumbs.

    Sorry playerelite, I'm talking construct2. CC isn't being updated anymore. Construct2 is its successor.

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