Fast screen shake / vibrate

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
Exiscoming
Regular
Posts: 127
Joined: Tue Apr 29, 2014 5:37 pm
Contact:

Fast screen shake / vibrate

#1 Post by Exiscoming » Mon Aug 05, 2019 6:12 am

I know how to do a vpunch or hpunch, but I'm looking to create a custom one. One that slightly makes the game vibrated horizontally.
I was planning on putting everything into a transform and shake the different elements that way, but maybe there's an easier way?

User avatar
namastaii
Eileen-Class Veteran
Posts: 1350
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA
Contact:

Re: Fast screen shake / vibrate

#2 Post by namastaii » Mon Aug 05, 2019 10:40 am

vpunch and hpunch are probably the easiest obviously but you could always mess around with what's available in the ATL language and try different combinations until you get what you like https://www.renpy.org/doc/html/atl.html

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]