← Return to asset pack
Log in with itch.io to leave a comment.
I was wondering if there was a way to add win/lose conditions that jump to a certain label if possible.
For example, if round 3 is cleared it jumps to a success label/event in-story whereas if any round is failed it'd jump to a fail state.
Hi, thank you for reporting this issue!
Here's how I implemented this task in my previous game jam project. I hope this helps, and feel free to reach out if you have any questions.
https://github.com/Wendy-Nam/SpookyVN2023/blob/main/game/tory/act2.rpy
https://github.com/Wendy-Nam/SpookyVN2023/blob/main/game/minigame/shooting_game....
Tried the updated code. Still has same issues after the game completes with saving. Renpy fails to save on pickle, pickle can't handle the inner class design of this.
https://seo-a-nam.itch.io/shooting-game-v1/devlog/820177/bug-fix-temporary-solut...Hi! Sorry i checked the comment late. I suggest this solution for now, but i'll bring better patches on code in short i promise.
when i try to use it i get "gamescript is not defined"
Update: Code improved for better game configuration accessibility (08.24.2023).
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
I was wondering if there was a way to add win/lose conditions that jump to a certain label if possible.
For example, if round 3 is cleared it jumps to a success label/event in-story whereas if any round is failed it'd jump to a fail state.
Hi, thank you for reporting this issue!
Here's how I implemented this task in my previous game jam project.
I hope this helps, and feel free to reach out if you have any questions.
https://github.com/Wendy-Nam/SpookyVN2023/blob/main/game/tory/act2.rpy
https://github.com/Wendy-Nam/SpookyVN2023/blob/main/game/minigame/shooting_game....
Tried the updated code. Still has same issues after the game completes with saving. Renpy fails to save on pickle, pickle can't handle the inner class design of this.
https://seo-a-nam.itch.io/shooting-game-v1/devlog/820177/bug-fix-temporary-solut...
Hi! Sorry i checked the comment late. I suggest this solution for now, but i'll bring better patches on code in short i promise.
when i try to use it i get "gamescript is not defined"
Update: Code improved for better game configuration accessibility (08.24.2023).