Pop-Up NPC "Talk Sprites"?

  • #1, by despairwaveFriday, 20. September, 00:54 2 weeks ago
    Hey all, I am very new to this game engine but have wanted to make an adventure game for a long time as a writer and artist but was never able to grasp even the basics of code so this is perfect so far - mostly. 

    I do have one question that is likely pretty simple but I am wondering if someone can help. Essentially, I am trying to make it so that when I click on an NPC to speak to them, a bespoke talk sprite different than their room idle sprite shows up overlaid on top of the room alongside their text box and dialogue choices - similar to how visual novels treat their NPCs or Myst's occasional dialogue FMVs or if I have to, something like Monkey Island's pub pirates where talking to them has its own separate screen.

    Would the easiest way to do this be to make a hidden object center-screen above my dialogue box and just have it appear, set itself to the required sprites, and disappear as the character's text boxes do? Or is there a function somewhere for this kind of thing that I am overlooking? I know this is pretty amateur but I am still learning the vast majority of this.

    Newbie

    2 Posts


  • #2, by eric-w-Friday, 20. September, 18:50 2 weeks ago
    You could make an Interface (or more) with only a Background Image. Class "Maininterface". Whenver you click an npc you can under action part "interface, show interface" set the one you want. and when youre finished talking "hide interface" again.  could work, havent worked with visionaire in a time ^^

    Newbie

    19 Posts

  • #3, by despairwaveSaturday, 21. September, 04:15 2 weeks ago
    You could make an Interface (or more) with only a Background Image. Class "Maininterface". Whenver you click an npc you can under action part "interface, show interface" set the one you want. and when youre finished talking "hide interface" again.  could work, havent worked with visionaire in a time ^^

    Oh, this is a good idea thanks. Just started using the software recently and hadn't really looked super deep into interfaces yet. This seems like an easier way to do it than to have a big obnoxious invisible object in each room.

    Newbie

    2 Posts

  • #4, by eric-w-Saturday, 21. September, 08:47 2 weeks ago
    dont forget to set the interfaces (at start of the game or just before the talk)

    Newbie

    19 Posts

  • #5, by esmeraldaSaturday, 21. September, 18:12 2 weeks ago
    If you want the pop-up characters to play talking animations, using characters instead of interfaces would work as well.
    Just set the pop-up character to the desired position and use "display text" for this character instead of the other one. After the text ended, set the character to a position where it can't be seen. (or use show/hide character)
    You could automate this by using a script as well. (like you could do with displaying an interface)

    Please consider dropping by in the Visionaire Discord, many helpful folks over there. (Link is at the bottom of the page)


    Key Killer

    529 Posts

  • #6, by win-taylorMonday, 23. September, 05:25 A week ago
    I appreciate how well you considered all of the aforementioned topics. I genuinely appreciate your contribution in providing a significant spark for my motivation, and I shall be eternally thankful.
    play papa’s freezeria game

    Newbie

    2 Posts

Write post