"Hidden" Text Color Trick - Calling On Artists

0 favourites
  • 4 posts
From the Asset Store
Medeival & Viking War Horns Sounds / 22 Unique Calls / 2:40 minutes of audio
  • Here's a tricky one for you! ...at least, for me.

    I'm working on creating my own font with the handy-dandy SpriteFont object (thank you, Ashley!). Given that my game focuses on a contrast between dark and soft, glowing lighted areas, I wanted my font to reflect that, too. This is namely for the HUD information, as well.

    If you look in the Examples folder that comes with C2, you'll see a capx for Lighting, where simple manipulation of the blending effect turns a fading circle into a flashlight. Keep that in mind...

    Back to the Spritefont. Picture a solid block on the screen - all one color. Everything around and behind it is black, dark. But bring that flashlight object around behind it, and suddenly you see the outline - a silhouette, if you will - of letters and numbers. Portions of the block are actually transparent - the alpha level of the color reduced - whereas the letters, of course, are fully solid. Just like in those suspense movies where the guy gets kidnapped and comes to with a bright light in his face and some mystery man standing between him and the light. All you can make out is the man's shape, but his face is darkened because the light is behind him. That's almost exactly the effect I'm going for. But before the light is ON, I need to figure out how to blend two colors to LOOK like "one".

    For instance, if I have an RGB setting of green (alpha: 255), what would the RGB setting have to be in order to produce a nearly identical color as before but with a reduced alpha level? They LOOK alike at a glance, but with the flashlight, they'll CLEARLY be different.

    I'm hoping the artists among us will have a ready answer, but if you have any input, please feel free to suggest an option. I'm willing to try anything. THANK YOU!

  • Perhaps with some webgl fx

    Google heightmap, or lightmap, or bumpmap, or ehh you get the idea.

  • newt - Heh heh...I do, kinda. The art aspect is probably my weakest area of game design...well, second to music COMPOSITION. But I'll check it out and see what I can come up with. Thanks! Good to "see" you, too!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hmmm...none of those are quite what I'm looking for it seems.

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