Conversation
Don't log error and create new `.theatre` file if not present.
whoopsie
Resolves #117
`scan_sources()` doesn't trigger the Dialogue resources reimport :/
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Still not sure which one to use tbh :/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(WIP changelogs)
0.13.0
Another big, breaking, and exciting changes and updates.
New
Dialogue: nested scope access is now possible! (Nested scope property #118)
Before, you could only access the direct properties/methods of a scope.
Now, you can access any arbitrary deep properties of a scope.
Dialogue: added dialogue line attribute data. (Dialogue line attribute #133)
Metadata/attributes thingy for each line of the dialogue. For those who prefers declarative stuff:
And then, on the dialogue data:
{ ..., Key.ATTR: { "portrait": "dia_happy.png", "voice_line": "dia_1.wav" } }Stage:
func_call_filterproperty. (Add function call interceptor from user-defined callable #132)A Callable that intercept function calls made from the dialogue, and choose whether to execute it or not.
If it returns
true, the function gets executed. Otherwise, the function will be skipped.Use cases (that I could think of):
Example:
And then:
Stage:
function_calledsignal.Emitted when, well, a function is called. It also give you its function, and an
executedstatus: whether the function was called or not.Dialogue:
{jump}dialogue tags.Render the whole block of text wrapped in this tag immediately, all at once.
Dialogue: Both
{delay}and{speed}tags now have defaults value, that can be configured in the project setting.If you used certain value frequently, instead of inserting it over and over like this:
You can set
1.2as the default value, and just insert the{d}:General: You can now disable/enable Theatre's header print (the
🎭 Theatre v<version> by nndastuff) in the project settings, attheatre/general/print_header.Parser: There's now parser benchmark, that measures how fast the parser compiles the written dialogue file. You can see the results from the GitHub Actions workflow logs here.
Changes
Stage: [BREAKING] Removed the old
Stageclass.Stage: [BREAKING] Removed the deprecated
caller-named methods.Config: [BREAKING] Multi-thread parser import option now moved to
theatre/parser.General: Theatre version is now tracked in your project internally. (Use internal
ProjectSettingsover.theatrefile #119)Tons of bug fixes and performance improvements.