License from €75 Log in
DE EN FR ES IT CZ

Dynamic character's tint

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 12 years ago
    Hi,

    I have one dark scene and i need to set the character darker. The perfect way to do this is to set some grey tint for the character. But there is more light in the foreground then in the background in the scene. Is there a simple way to change the tint dynamically depending on how far the character is? The only way i can think of is to get the character destination and set "1080" elseif to set different grey tint in a loop. grin
    I'm using some shadows alpha images, but the effect isn't strong enough.

    Thanks for help
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 12 years ago
    use a lightmap for the scene.
    glenfx did some tutorial about that:
    http://www2.visionaire2d.net/glenfx/
  4. · 12 years ago
    Thanks.. cool it seems to be much simpler solution razz

    However i understand that as some alpha image which affects only the character, but no matter what image i use ( even a blank image ) for the lightmap the character is just completely black siluet. What am i missing?
  5. · 12 years ago
    I'm not too savvy on how light maps actually work, but I think you have to fill the entire image with a single tint (this will be the default tint you want to use for your character - I think) & then you apply other tints above the background layer. You need to take into consideration that the tint of the character is based on the position of the character which as you know is based on the character animation center you set for each animation.

    Check out some of the games from the last VS competition, as some of them used light maps.

    P.S: you can scale down the light map image to 25% of the actual scene background resolution as the engine will auto-scale it back up to the same size as the scene.
  6. · 12 years ago
    i think the color of the lightmap gets multiplied on the character (?)
    A white lightmap will have no effect.
    Just play a bit with colors and have a look how they change the tint ingame.
  7. · 12 years ago
    Where can i download the .ved files of those games?

    Btw thanks for bringing this up i somehow missed the competition... i've just played the Locked Out game and it was really funny! :-)
  8. · 12 years ago
    http://www.visionaire-studio.net/cms/visionaire4-english.html/ - Towards the bottom of the page. There's 2 links for each game.
  9. · 12 years ago
    Thanks.
    So i figured it out with examples from the .ved files. There are probably actually issues with transparent images. It just needs one solid color for the primary tint and then darker or lighter areas.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?