Search found 12 matches

by Kyren
Wed Mar 13, 2024 6:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Wish to Fix Wendy's Shooting Game, can I have help?
Replies: 5
Views: 259

Re: Wish to Fix Wendy's Shooting Game, can I have help?

def is_game_over(self): # Check if the game is over if self.time_left == 0: if self.bullet_now <= 0 and self.round_now <= self.round_nb: return True if self.time_left > 0 and self.life_now <= 0: return True return False EDIT: This works fine, just idk how the game can tell if the life is 0 it is ga...
by Kyren
Tue Mar 12, 2024 11:08 am
Forum: Ren'Py Questions and Announcements
Topic: Wish to Fix Wendy's Shooting Game, can I have help?
Replies: 5
Views: 259

Re: Wish to Fix Wendy's Shooting Game, can I have help?

UPDATE: I fixed the health issue but now the issue I bumped into is the game still thinks it is Game Over once you're at 0 life. Pretty much once you are at 0 life and shoot a bullet you end up in a game over screen. Here are some updated codes if self.status.is_time_up(): if self.status.bullet_now...
by Kyren
Tue Mar 12, 2024 8:51 am
Forum: Ren'Py Questions and Announcements
Topic: Wish to Fix Wendy's Shooting Game, can I have help?
Replies: 5
Views: 259

Re: Wish to Fix Wendy's Shooting Game, can I have help?

UPDATE: I fixed the health issue but now the issue I bumped into is the game still thinks it is Game Over once you're at 0 life. Pretty much once you are at 0 life and shoot a bullet you end up in a game over screen. Here are some updated codes if self.status.is_time_up(): if self.status.bullet_now ...
by Kyren
Mon Mar 11, 2024 9:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Wish to Fix Wendy's Shooting Game, can I have help?
Replies: 5
Views: 259

Wish to Fix Wendy's Shooting Game, can I have help?

Hello, I am on my way to make my own game, I am currently using the Shooting Game Plugin by Wendy! Because this is a very new territory for me, I have no idea how to fix it. At the moment, when time is up, you lose all of your life, and even if time is up, you can't shoot again. Once you shoot, you ...
by Kyren
Fri Mar 08, 2024 7:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it
Replies: 11
Views: 352

Re: Button Mash Mini-Game refuses to work and idk how to fix it

Both the error messages are very clear: 1. "focus_mask" is buttons property. "add" is showing an image there, not a button. You can't have "focus_mask" in "add" statement. 2. Like it says, check indentation in that string. Likely you have 4 extra spaces or so...
by Kyren
Fri Mar 08, 2024 5:59 pm
Forum: Ren'Py Questions and Announcements
Topic: [CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it
Replies: 11
Views: 352

Re: Button Mash Mini-Game refuses to work and idk how to fix it

Both the error messages are very clear: 1. "focus_mask" is buttons property. "add" is showing an image there, not a button. You can't have "focus_mask" in "add" statement. 2. Like it says, check indentation in that string. Likely you have 4 extra spaces or so...
by Kyren
Fri Mar 08, 2024 5:29 pm
Forum: Ren'Py Questions and Announcements
Topic: [CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it
Replies: 11
Views: 352

Re: Button Mash Mini-Game refuses to work and idk how to fix it

Both the error messages are very clear: 1. "focus_mask" is buttons property. "add" is showing an image there, not a button. You can't have "focus_mask" in "add" statement. 2. Like it says, check indentation in that string. Likely you have 4 extra spaces or so...
by Kyren
Fri Mar 08, 2024 2:48 pm
Forum: Ren'Py Questions and Announcements
Topic: [CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it
Replies: 11
Views: 352

Re: Button Mash Mini-Game refuses to work and idk how to fix it

It is somewhat you are fighting against the CPU's clicking so in a way they are "Pressing" a button while your aim is press faster than them. Time based might be a bit bad as not everyone can react fast enough as everyone can press a button. If it's not time based, then it's what based? I...
by Kyren
Fri Mar 08, 2024 1:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it
Replies: 11
Views: 352

Re: Button Mash Mini-Game refuses to work and idk how to fix it

It seems that opponent_turn() is called from inside of player_pressed() . Meaning, both you and opponent "press" when and only when you press. As the result, each press of yours gets just a single increase or decrease (depending on which value is larger, yours or opponent's). I imagine th...
by Kyren
Fri Mar 08, 2024 10:44 am
Forum: Ren'Py Questions and Announcements
Topic: [CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it
Replies: 11
Views: 352

Re: Button Mash Mini-Game refuses to work and idk how to fix it

Updated the page with code and added a small clarification!
by Kyren
Fri Mar 08, 2024 10:36 am
Forum: Ren'Py Questions and Announcements
Topic: [CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it
Replies: 11
Views: 352

Re: Button Mash Mini-Game refuses to work and idk how to fix it

Hi Kyren, I don't know about button mash but there is [ code ]...[ /code ] tag (and </> button) that allows to show your code properly formatted, with indents. You can edit your post and with the formatted code it would be easier to read the script and help you. :-) Aaah, thanks! I just updated it ...
by Kyren
Thu Mar 07, 2024 4:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it
Replies: 11
Views: 352

[CLOSED] Button Mash Mini-Game refuses to work and idk how to fix it

EDIT: I decided to go away from this and do something else. I took some insparation from Friday Night Funkin but I want it to be a button-mash so it is more friendly for phone users. Here is my code. I love some help with a button mash-like mini-game! Here is a custom_screen's commands init python: ...