Code Monkey home page Code Monkey logo

godottie's Introduction

GodotTIE

A simple Text Interface Engine to control text output (like in a RPG dialogue) for Godot.

The "Cave-Story" font was created by enigmansmp1824; it's CC-BY-SA licensed, and can be found in https://fontlibrary.org/pt/font/cave-story.

A simple demonstration video: https://www.youtube.com/watch?v=fkd-nIIPxVw

Compatibility

This is the Godot v3.x version of the plugin; for Godot v2.x compatibility, check the Godot_v2.x branch.

Features:

  • Control the velocity in which the text is going to be displayed! (Even text dialogues can have emotions!)
  • Adjust visually the Interface size, so it can fit it in any Dialogue box you want! The script will handle the maximum number of lines and characters!
  • Buffer texts, inputs, and breaks in the Dialogue, with easy to use methods!
  • Control the Dialogue flow from the outside with the available user signals!
  • Use tags on specific parts of your text! (In a RPG, you may want to show specific animations during certain parts of the dialogue; e.g. a "!" question mark popup in the head of a character in one of the moments of the dialogue)
  • User scroll friendly; Log all the text printed; auto-clip words; and more!

Take a look at the 'public' methods in the script and the export variables available; it should give you a hint about the stuff you can easily customize in the engine!

Installation:

You'll need the Godot Engine to do this.

To use GodotTIE as an Addon:

  1. Copy the "addons" folder to your project.
  2. Enable GodotTIE addon on "Project Settings".
  3. Instance a TextInterfaceEngine node to your scene.

Done!

Updates:

  • 17/05/20:
    • Merged jacopofar pull-request: Allow arbitraty Unicode I/O
    • Merged aaronfranke pull-request: Update gitignore
    • Rearrenged files so it's easier to download the plugin from Godot AssetLib.
  • 13/03/18:
    • Merged dalton5000 pull-request: Added Godot 3.x compatibility!
    • Added new branch for Godot 2.x version of the addon.
  • 10/10/17:
    • Corrected Issue of last lines not appearing on very large texts.
  • 10/05/17:
    • Merged radicaled pull-request: Added "buff_clear" as a new buff to reset the text.
  • 30/04/17:
    • Merged radicaled pull-request: Changed add_user_signal to signal keyword.
  • 08/12/16:
    • Font-overriding bug (max_lines) corrected by David Paiva!
    • Since Addons on Godot are gold since v.2.0, I deleted the old GodotTIE folder to make the addon easier to understand and install - also updated the project Icon and scene file.
  • 26/11/16:
    • Corrected bug with "set_buff_speed". Thanks David Paiva!
  • 26/02/16:
    • Changed the "buffs" to dictionaries, to increase readability.
    • Fixed bug with "tag" signals (should only call it once).
  • 25/02/16:
    • Setup of the finished project on GitHub.

License:

MIT License.

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.