Dialog Extension Releases - 2.0

Justin

  • *
  • Posts: 4716
Version 1.0
"A New Outlook"


Key Features

- Type all dialog in a text file, uses tags like HTML to stylize the dialog and perform many other function.
- Extensions: Many, many of the features of this dialog system are provided by dialog "Extensions", secondary code that's linked in to the main dialog scripts.
- Can define and use multiple dialog styles.

Included Extensions:
- Dialog choices
- Display images in text
- Namebox and face display
- Control of dialog flow through pauses and different typing speeds
- Send messages and set attributes in other behaviors from within the dialog
- Speed up dialog by holding a button
- Play sounds
- Text effects, like vibrate and grow/shrink

« Last Edit: May 02, 2017, 02:24:44 am by Justin »
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4716
Version 1.0.1
"The Patriots Win the Superbowl in 2015"


What's New
- Can use BitmapFonts directly. Get AngelCode's BitmapFont Generator to take advantage of it. This can be used to create your own custom pixel fonts. (Either learn the AngelCode format and do it manually, or create a ttf for your font. I'll probably make it easier later.) Create a pixel TTF
- Support for spaceless languages like Chinese and Japanese.
- Works for scaled games.
- Options that only appear in the choice window if a certain condition is met
- saytoscene, saytoactor, now include an “args” argument
- Added property “destroy_tween” to windows.
- Can have multiple type sounds, which will be played at random.
- New preference for Dialog Options: inactiveTime (number of milliseconds before input is accepted)
- All "Textbox Scripts" prefs moved to "Dialog Base". Textbox Scripts was removed.
- I've added conditional dialog options, tweening, and some Japanese text to the demo.

What needs to be changed?
- Replace the "dialog" folder in the extensions directory.

- <option ["Text" "DG" "Text 2" "DG 2"]>
is now
<option [
["Text 1" "DG 1" (condition)]
["Text 2" "DG 2" (condition)]
["Text 3" "DG 3" (condition)]
]>
with (condition) being optional.

Also you can use <choice ..> instead of <option ...> if you prefer.

- <saytoscene "Behavior Name" "Message">
is now
<saytoscene "Behavior Name" "Message" [Arg1 Arg2 ....]>
<saytoactor> changed in the same way. The args are optional.

- Windows defined in "windows.txt" also have a "destroy_tween" property now.

- "xx.prefs.txt", move everything under "Textbox Scripts" to "Dialog Base"

- "xx.prefs.txt", add "inactiveTime" pref to "Dialog Options"

« Last Edit: February 28, 2015, 02:05:52 am by Justin »
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4716
Version 1.1
"Granola Isn't for Breakfast"


What's New
Engine Extension:
- Wrap up all three style files into one.
- New subdirectory structure.
- Animated image objects.

Toolset Extension:
- Styles editor
- Directory Structure
- Renaming
- Drag and Drop
- Default Dialog files automatically added for first time on new game

Updating to This Version
- I believe I only changed one preference, in the "Flow Scripts" extension, actorForPointer -> animForPointer, and it now uses the new object animation system rather than a Stencyl Actor.
- Face Images, Glyphs, etc, need to be moved from /extras to /dialog/images
- Styles need to be put into the one-file format (it's basically just the three former files put together, and renamed from .txt to .style) and moved from /extras to /dialog
- In the "Extensions" part of a style, classnames no longer include the "DialogExtension_" bit. Just delete that from each of them.
- Any custom bitmap fonts (both the .fnt and .png) should be moved to /dialog/fonts.
- The dialog, fonts, macros, tweens, and windows text files should be moved to /dialog.

That should cover all the changes. When you first use this version of the toolset extension it'll set up some default files for you, which may help make sense of all the changes.

« Last Edit: February 28, 2015, 02:08:53 am by Irock »
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4716
Version 1.1.1
"Pokéballs Are Made Out of Acorns"


What's New
Engine Extension:
- [Fix] Error when Stencyl has null resources
- [Fix] Error with extension dependencies.

Toolset Extension:
- [Fix] Duplication bug when dragging in folder
- [Fix] Can’t add chunks/folders for some reason
- [Fix] Can’t drag and drop within same folder
- [Fix] Highlight drawing too wide when editing
- [Fix] Scrollbar appearing when unneeded
- [Fix] Asterisks remain after saving
- [Fix] Getting stuck in chunk/folder rename
- Asterisk appears at end of modified file names rather than beginning.
- Make caret solid when moving with keyboard
- When creating new node while item is selected, insert as next sibling instead of last.
- Press enter to edit selected item.
- Multiple Dialog Display
- Syntax highlighting
- New Icons


**NOTE**
When using the Toolset extension, you have to manually save (CTRL + S, or File > Save) before testing to see any changes. Stencyl doesn't tell the extension when it auto-saves or builds the game.

- Images -
Click to Enlarge



« Last Edit: February 28, 2015, 02:08:03 am by Justin »
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

irock

  • *
  • Posts: 2891
Version 1.2
"Mega Sundown"


What's New
Blocks for displaying text without having to use Dialog Chunks.


irock

  • *
  • Posts: 2891
Version 1.3
"Giga Sundown"


What's New

Commands for adding and removing list items
      <addtolist [ATTR VALUE:ANY]>
      <removefromlist [ATTR VALUE:ANY]>

      Examples
      <addtolist ["Stupid Behavior" "Dumb People" Obama]>
      <addtolist [game Triggers "Spoken to the dark lord ok"]>
      <removefromlist [game Items Ocarina]>

Justin

  • *
  • Posts: 4716
Version 1.4
"Version 1.4"

Note: This release requires the very latest version of Stencyl 3.2 as of September 15, 2014 midnight Pacific Time.

What's New

- Support for 3.2.
- Completely reworked preferences interface.
- Not compatible with previous versions.



« Last Edit: February 28, 2015, 02:09:31 am by Irock »
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4716
Version 1.4.1
"Nothing to Say"


What's New
- Compatibility Update

« Last Edit: February 28, 2015, 02:08:55 am by Justin »
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

irock

  • *
  • Posts: 2891
Version 1.5
"Dingo on Escalator"

What's New

- Re-added support for random type sounds. You will have to reconfigure these in the Data Structures Extension because I changed them to Lists.
- Option to play type sounds on spaces
- Option to skip characters when playing type sound (for example, you could have the type sound play every 2 characters)
- Made sounds optional
- Removed higher scales from sample game accidentally

Justin

  • *
  • Posts: 4716
Version 1.6
"Mulberries and Chocolate"

What's New

- Made some internal changes to work with Stencyl's new extension format.
- The extension can be enabled/disabled on a per-game basis.
- It can now be downloaded and installed from within Stencyl.

Update steps:
- Grab Stencyl b8731.
- Remove the old extensions from your workspace (both the toolset and engine extensions).
---stencylworks/extensions/DataStructuresExtension.jar
---stencylworks/extensions/DialogExtension.jar
---stencylworks/engine-extensions/dialog/
- Probably not necessary, but always a good idea to back up your game.
- Open Stencyl. Go to Extensions > Get Extensions. Add the repository "http://www.polydes.com/repo".
- Install the Dialog Extension. Everything it needs will be installed with it.
- Open your game. It will complain about the "dialog" engine extension missing. That's fine.
- Go to the dialog extension in the dashboard sidebar and enable it for the current game.
- Test.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)

Justin

  • *
  • Posts: 4716
Version 2.0
"Don't Put Ink on That!!"

What's New

- There's a file-explorer like view of stuff in the dialog and data structures trees now.
- It can be interesting what happens when you select multiple things. Try it out.
- Plugins are modularized, and you have the ability to write and include your own plugins.
- Better 9-slice scaling.
- More drag and drop support, right-click support, generally better UI.
- Transparent optional fields.
- More visual previews for certain types of data.
- Better list editor.
For Live Support: Join our discord server and ping me @justin.
I'm most often available between 10am and 10pm Japan time. (GMT+9)