Text over cursor

  • #1, by denis-the-menphisMonday, 24. February 2014, 13:28 6 years ago
    Hi at all!
    I need your help again but i'm not sure in this case if there is a solution....
    I have made a cave scene (Fig.1) and i set the cursor active /inactive like a "light" (Fig.2) and it' work perfectly (or almost)
    The problem is... all the text outside "the hole" are not displayed (for exemple when my character speak i don't see the text.
    Question it'is possible to set some text over mouse cursor?!?
    A package of "tarallucci" who find the solution.. wink
    Denis

    Newbie

    73 Posts


  • #2, by afrlmeMonday, 24. February 2014, 14:14 6 years ago
    hmm never considered that text wouldn't be displayed over the top of the mouse cursor... how about creating an animation via an interface & then using Lua to reposition the animation to the cursor position minus/plus x,y offset value; this would/should only be triggered if you set a condition to true. an idea...

    Imperator

    6808 Posts

  • #3, by denis-the-menphisMonday, 24. February 2014, 20:28 6 years ago
    Mmm i have traied to create a interface... but also it is hidden from the "giant "black cursor... maybe i will find another solution...any other idea?!?
    Thanks

    Newbie

    73 Posts

  • #4, by afrlmeMonday, 24. February 2014, 21:23 6 years ago
    I meant create an interface containing the animation you are using for your black cursor & use a normal cursor.

    using mainLoop or a mouse move event & a condition you could update the position of the animation image to the current cursor position minus x, y offset. the offset would be approx 50% from left & top - I think.

    Imperator

    6808 Posts

  • #5, by denis-the-menphisMonday, 24. February 2014, 22:52 6 years ago
    Woah! i think i have to delivery a package of "tarallucci" i suppose...grin
    But i have found an easy solution... i have set the "black one" at 60% tranparency in photoshop... i have already illuminate a bit more my cave scene and i have used white fonts for the character text (with the transparency it's possible to see the text quite well) for the object in scene i used "display text object and set the position of text at top of the object .when "the" hole of light" hit the area it's possible to see the text inside
    Nice for me...

    Newbie

    73 Posts

  • #6, by afrlmeTuesday, 25. February 2014, 00:02 6 years ago
    nice one smile
    just goes to show that there's always some workaround method or two.

    Imperator

    6808 Posts

Write post