Code Monkey home page Code Monkey logo

dialogbox's Introduction

Godot Dialogbox Plugin

Made by Laurenz Reinthaler

Properties

visible characters: If set true, the characters (letters) show up with the speed determined trough the speed property

Character Speed: Determines how fast the characters (letters) will show up. The smaller the number the faster the text will be.

Play Sound: If set true, the sound will play after every character that showed up

Use Input Trigger: If set true, after the end of every dialog, the plugin waits for the input_trigger

Text: An Array. Can be used in the editor but is not recommended, it works better with code: show_text(["Hi", "how", "are", "you?"])

Input Trigger: The action which is used to confirm the next dialog (must be picked from the InputMap)

Vertical Margin: Is used to determine the vertical position of the textbox (textbox = the text)

Horizontal Margin: Is used to determine the vertical position of the textbox (textbox = the text)

Textbox Size: The size of the text (not the font size, but the size of the whole text)

Sound: Is only played when use_visible_characters and play_sound is true; Plays after after every character

Font: The font of the text

If you have any Issues or ideas open an issue on Github.com: https://github.com/Schweini07/Dialogbox

dialogbox's People

Contributors

schweini07 avatar

Stargazers

Dawson Goodell avatar Antoine Paulin-Bessette avatar Volker Schlegel avatar  Akylzhan Sauranbay avatar  avatar  avatar Xavier avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

dialogbox's Issues

I have a problem

Hello, I trying this plug-in. Show_text adds multiple texts to the text array, but sometimes it doesn't display the second, sometimes it displays the second.

The second text in the array cannot be displayed correctly when running the scenario
Sometimes, it can display correctly,

Dialogbox is skipping lines.

Issue Description

Dialogbox is skipping randomly lines. Sometimes it is the second line,
sometimes it isn't. It always skips more than one line, but doesn't follow any pattern whatsoever.
I am confident thanks to the power of ultimate debugging tool which is print method
that i run Dialogbox::show_text() only once.

Steps that i took:

  • I dragged and dropped a scene file "Dialogbox.tscn"
    to: /root/MainScene/CanvasLayer/Dialogbox
  • I am calling method show_text() with a single argument which is an array of strings.

Configuration

  • I turned off Play Sound
  • I set use_input_trigger and use_speedup to ui_interact(created by me) and ui_select respectively.
  • I changed text margin
  • I turned off sound and font

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.