mirror of
https://github.com/Dasemu/faust-vn.git
synced 2026-11-26 15:26:20 +00:00
Move works/faust/{work.toml,data,annotations,assets} to the root and the
generated project vn/faust/ to vn/. Update ignore patterns and add the Faust
integration tests (real text, e2e playthrough) reading the new paths.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
## Support code for the generated script: transitions, stage positions, colour
|
|
## treatments and the screen shake. Static; copied verbatim by `vnpipe renpy`.
|
|
|
|
define vn_slow = Dissolve(2.0)
|
|
define vn_flash = Fade(0.1, 0.0, 0.6, color="#ffffff")
|
|
|
|
transform vn_left:
|
|
xalign 0.15 yalign 1.0
|
|
|
|
transform vn_center:
|
|
xalign 0.5 yalign 1.0
|
|
|
|
transform vn_right:
|
|
xalign 0.85 yalign 1.0
|
|
|
|
transform tint_none:
|
|
matrixcolor IdentityMatrix()
|
|
|
|
transform tint_dark:
|
|
matrixcolor TintMatrix("#8a8498") * BrightnessMatrix(-0.2)
|
|
|
|
transform tint_red:
|
|
matrixcolor TintMatrix("#f0968a") * BrightnessMatrix(-0.05)
|
|
|
|
transform vn_shake:
|
|
xoffset 0 yoffset 0
|
|
linear 0.05 xoffset 18 yoffset -8
|
|
linear 0.05 xoffset -18 yoffset 8
|
|
linear 0.05 xoffset 14 yoffset -6
|
|
linear 0.05 xoffset -14 yoffset 6
|
|
linear 0.05 xoffset 8 yoffset -3
|
|
linear 0.05 xoffset 0 yoffset 0
|
|
|
|
init python:
|
|
config.font_replacement_map["fonts/RobotoSlab-Regular.ttf", True, False] = (
|
|
"fonts/RobotoSlab-Bold.ttf", False, False)
|
|
|
|
define vn_move = MoveTransition(0.8)
|