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

Change action text area in different scenes

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

  1. · 11 years ago
    Hey there

    Is there a way to change the action text area from a rectangular display at the bottom of the screen (default) to display it relative to the cursor in some screens?

    Kind regards
    Sebastian
  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. · 11 years ago
    I take it you didn't check the data structure page on the wiki? razz
    game.DrawActionText = 0 -- don't draw action text
    game.DrawActionText = 1 -- draw action text at cursor
    game.DrawActionText = 2 -- draw action text inside rect
    

    game.ActionTextRect is apparently unscriptable. If that just means that updating it will not get stored in the save file, or it needs the scene reloading to show changes or it's not scriptable in general, I don't know.
  4. · 11 years ago
    I must confess that i didnt check the wiki, yes^^

    Thought i have to add extra interfaces and add an action text area there, etc... Wasn't sure whats best practice here...

    I will try to do as you mentioned. Seems to be the easiest way.
  5. · 11 years ago
    One more thing:
    Can i positionate the text which is drawn at thw cursor relative to it?
    I want it to be (nearly) centered below the cursor instead of its normal place...
  6. · 11 years ago
    No I don't think so, but you could probably use the display object text or a background narration text in a loop & use Lua to force the position of that & the string part of a value for inputting the text into. Clear the text to make it empty. It's just an idea out of my (currently half asleep) mind.
  7. · 11 years ago
    If nothing helps i will create special cursors with predefined texts inside the cursor graphic...

    But first: testing and stuff...

    *throws a smoke granade and disappears*
    $Ninja
  8. · 11 years ago
    I -ing hate ninjas! thieving bugrit's millennium hand & shrimp!
  9. · 11 years ago
    @devs : By the way changing the relative position of the actiontext to the cursor would be a great feature smile
  10. · 11 years ago
    Yeah it would be nice. We recently tried displaying text at cursor, but for some reason it's pushed really far over to the right of the cursor. Maybe the offset is based on the width of the entire cursor sprite?
  11. · 11 years ago
    "Maybe the offset is based on the width of the entire cursor sprite?"

    I would guess so.
  12. · 11 years ago
    We had quite a wide background amount as one of the cursors (exit) used to have a fairly large & overly complicated animation. We changed that recently though, so I might use XnConvert to crop into the animation frames for all of the cursors.

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?