Releases: ZTC0xFE/minimalPyVn
v1.1.2 - Word-wrap and inline color fixes
Version 1.1.2
This version brings just tiny fixes for rendering
- Fixed a case when a dialog/thought box get out of border when rendering more words and lines
- Fixed some cases when a color tag just doesn't render properly in a inline box
- Added wordwrap to narrative (plain text) lines when it's too long in the YML file
How to update
- Pull or clone the repo, then checkout the new tag:
git checkout v1.1.2example_chapter.yml now added the new wordwrap dialogue/thought box example
v1.1.1 - Inline color support and fixed boxes
Version 1.1.1
This new version brings a bunch of small but powerful improvements to how you write and style your YAML files. Here’s what’s new:
Hex-Only Colors in settings: and Overrides
-
Now, any color you specify (global or inline) must be in #RRGGBB format.
-
Entries like "255,255,0" are no longer accepted—this keeps things consistent and avoids parsing errors.
Fixed-Height Dialog & Thought Boxes
-
Dialog and thought boxes are locked to exactly two lines (plus padding) so that coloring a single word inline won’t break the layout.
-
No “half-cut” boxes or unexpected line wraps when you use
[color=#FF0000]word[/].
Inline Color Overrides Without Wrapping
-
You can highlight any snippet of text inside narrative, dialog, or thought blocks using
[color=#RRGGBB]…[/]. -
The entire segment stays on one line, even if it’s just one word.
Improved Parser Validation
-
The YAML parser now strictly enforces hex color codes in
settings:and in inline overrides. -
If a color isn’t a valid #RRGGBB, it’s ignored and defaults will apply.
Minor Bug Fixes & Stability Improvements
-
Addressed edge cases where override tags at the very start or end of a line used to trip up rendering.
-
Cleanup of internal routines to ensure consistent behavior across Windows, macOS, and Linux.
How to update
- Pull or clone the repo, then checkout the new tag:
git checkout v1.1.1Make sure your existing YAML chapters follow the new requirements (especially hex-only colors).
Run or rebuild your project as usual. Any old progress.pkl files will continue to work.
Enjoy the smoother, more consistent styling—happy writing! :3
v1.1.0 - New adjustments and features
Version 1.1.0
Main changes:
- Adjusted dialog background to darker gray.
- Increased spacing between dialogue boxes (block_spacing = 20).
- Footer now shows “End →” when on the last page.
- Now it saves your progress whenever you quit the page or the program itself.
- There is now a page indicator at the bottom right corner.
- Added ESC key to return to the menu at any time.
How to update:
-
Clone or pull from repository:
git pull origin main
v1.0.0 - Project start
Version 1.0.0
This first version contains some simple features:
- Typewriter Text Rendering: Narrative, dialog, location, and thought blocks are displayed with a typewriter effect.
- Dialog & Thought Boxes: Dialogs appear in bordered boxes with character names; thoughts are shown in italicized boxes.
- Location Highlighting: Location/time information is rendered in yellow for emphasis.
- Section Navigation: Navigate between sections with arrow keys; repeat sections or return to the menu.
- Progress Saving: The progress is saved automatically each section entered, and will be resumed when enter into an chapter again.
- YAML-Driven Content: Chapters and sections are defined in simple YAML files for easy editing and expansion.
Check README for compilations tutorial and how to use the markers.