Custom Shaky text tag?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
80na_
Newbie
Posts: 5
Joined: Sat Jan 13, 2024 12:16 pm
Tumblr: athenamineblox
Contact:

Custom Shaky text tag?

#1 Post by 80na_ »

Helloo! I want to ask how i can make my own text tag, and how to make it shake/wobble around.
I'm working on a game, and in the first ever scene, the protagonist who doesn't know where they are. And i want to, kind of like, visualize the fear and confusion in their voice through the text.

I've already tried out this free .rpy script by Wattson on itch.io (Kinetic text tags). It has a shaky text tag, but it's not the kind i'm looking for.
It's too intense, and i was leaning more on the effect on Dead plate, or Elevator hitch (Gif examples below). There was also "Fancytext", and it was exactly what i wanted, but it didn't work, or it was outdated.

So i thought of maybe making a text tag of my own? It would be really nice if i can get some help, information, or if it's even possible to do this.
Thank you in advance though! ;v;


https://media.giphy.com/media/JBhIz436K ... /giphy.gif
^^^^^^^^^^^^
link for shaky text that's from kinetic text tags

https://media.giphy.com/media/Ln7E4s4I2 ... /giphy.gif
^^^^^^^^^^^^
link for shaky text that's from Dead Plate

https://media.giphy.com/media/zJpRGUf5z ... /giphy.gif
^^^^^^^^^^^^
link for shaky text that's from Elevator Hitch

User avatar
m_from_space
Miko-Class Veteran
Posts: 975
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: Custom Shaky text tag?

#2 Post by m_from_space »

80na_ wrote: Sun Jan 14, 2024 8:55 am Helloo! I want to ask how i can make my own text tag, and how to make it shake/wobble around.
It depends on what your goals are. If you only want the whole text to shake, then you can simply use transforms and keyword arguments for the say screen - no text-tags needed. If you want certain parts of a text to shake, e.g. only letters or words or phrases, it's more difficullt. A text-tag in this case could create an animated Displayable out of that subtext and show it as an image inside the text.

Here is how you animate stuff: https://www.renpy.org/doc/html/atl.html

Here is how you create custom text-tags: https://www.renpy.org/doc/html/custom_text_tags.html

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3794
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Custom Shaky text tag?

#3 Post by Imperf3kt »

Also, while you will likely want to learn how to do these things for yourself, sometimes reinventing the already invented isn't necessary

viewtopic.php?t=60527
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

Users browsing this forum: No registered users