timed events with 3 chances
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.
-
- Newbie
- Posts: 8
- Joined: Fri Jan 18, 2019 6:24 am
- Contact:
timed events with 3 chances
So right now, I want to try make an event where you have to fight and you will get attacked 3 times. And its a quick time event so if you can dodge 2 out of 3 hits then you win. Does anyone figure out how I can do this?
- Kia
- Eileen-Class Veteran
- Posts: 1040
- Joined: Fri Aug 01, 2014 7:49 am
- Deviantart: KiaAzad
- Discord: Kia#6810
- Contact:
Re: timed events with 3 chances
the best option is using screens and timers: https://www.renpy.org/doc/html/screens.html#timer
-
- Newbie
- Posts: 8
- Joined: Fri Jan 18, 2019 6:24 am
- Contact:
Re: timed events with 3 chances
So i figured out how to make a timer. But i dont know how to add in points to show that as long as you dont get hit twice. Youll be fine.Kia wrote: ↑Fri Jan 18, 2019 4:17 pm the best option is using screens and timers: https://www.renpy.org/doc/html/screens.html#timer
- Kia
- Eileen-Class Veteran
- Posts: 1040
- Joined: Fri Aug 01, 2014 7:49 am
- Deviantart: KiaAzad
- Discord: Kia#6810
- Contact:
Re: timed events with 3 chances
you need to have a variable counting the hits or misses then compare it with an if statement,study the page to learn how to make screen elements and this page: https://www.renpy.org/doc/html/screen_actions.html to learn how to use action to process the players input. it takes some time but it's worth is.
Who is online
Users browsing this forum: No registered users