This is a simple code publication for people wanting to use transforms on textboxes.
The code is really simple and nothing to special. It's just a tool for renpy programmers to spice up their textboxes a little or make them able to do more than just being static.

Provided is the renpy project I made and is accessible in renpy.

The major code changes in screens.rpy at lines 1322 to 1342 for nvl and lines 97 to 116 for adv.

To apply a transform onto a textbox in the position you want to do is:

For NVL:
$ nvl_save(your_transform)

For ADV:

$ adv_save(your_transform)

Remember that if you want to use a transform that has "sort of" animation to apply after the text another transform that just saves the textbox in it's new position. You can probably make a transform that doesnt do it's movement again after it did once, but I wanted to keep this thing simple. I can only recommend doing it if you know a little bit of python and renpy gimmicks.

Example of what using an animated transform in a project would look like:

$ nvl_save(animated_transform)

"Lorem ipsum."

$ nvl_save(new_position_transform)

Tips, where you could use this addon on:
Either you wanna customize the entrance of your textbox for scenes to make it flow better.
You can recreate the vpunch for the textbox instead!
You wanna give the textbox some personality in it's visual aspect like chasing a sprite down.
And a lot more!

PS: This is still really early out and may have unintended consequences. Choices are currently not supported! If people would want help there, I can show a way to do it.  

I uploaded the screens.rpy and script.rpy seperatly for anyone who just wants to download certain parts of it.

Published 19 hours ago
StatusReleased
CategoryTool
PlatformsHTML5
AuthorPeppekz
Made withRen'Py

Download

Download
SimpleTextBoxTransformer-1.0-mac.zip 38 MB
Download
SimpleTextBoxTransformer-1.0-pc.zip 44 MB
Download
screens.rpy 44 kB
Download
script.rpy 3.2 kB

Install instructions

Download screens.rpy if you want to only have the addon on.

WARNING:

The style of the NVL and ADV box is different than default renpy. Customize it to your own way for it! Otherwise, everything else is the same code

Leave a comment

Log in with itch.io to leave a comment.