Hi,
I'm wondering if there was a way to use the hpunch screen shake or any similar screen shake at a click of an imagebutton that doesn't involve jumping to a label.
Thanks.
[SOLVED] How to make the screen shake with imagebutton?
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.
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.
- GeeSeki
- Regular
- Posts: 112
- Joined: Sat Dec 17, 2016 3:39 am
- Projects: A Town Uncovered
- itch: geeseki
- Contact:
[SOLVED] How to make the screen shake with imagebutton?
Last edited by GeeSeki on Thu Sep 16, 2021 4:09 am, edited 1 time in total.
Re: How to make the screen shake with imagebutton?
I'm not in a position to test right now, but something lile this should work.
The NullAction() might not even be necessary.
Code: Select all
imagebutton auto myimage action [NullAction(), With(hpunch)]
- GeeSeki
- Regular
- Posts: 112
- Joined: Sat Dec 17, 2016 3:39 am
- Projects: A Town Uncovered
- itch: geeseki
- Contact:
Re: [SOLVED] How to make the screen shake with imagebutton?
Yeah! It works, NullAction() isn't needed.
Who is online
Users browsing this forum: Google [Bot]