Posted October 22, 2024 by Seo-A-Nam
Hello everyone,
Thank you to all those who have been using this code. While I’m planning a bug patch soon, I’d like to share some temporary solutions you can try in the meantime. These fixes will be applied in an official update in 1-2 weeks.
Original:
$ minigame1 = ShootingGame();
Fix:
default minigame1 = ShootingGame();
This ensures that Ren'Py recognizes it as a storable object via using Ren'Py native variables.
When I initially created the tool, my understanding of Ren'Py was limited, and I missed this proper method.
The separate context used in my code currently conflicts with Ren'Py's rollback feature. The game continuously checks and updates the game state until a game-ending condition is met. I plan to fix this, but it may take some time. In the meantime, here are potential workarounds:
a) Use enable_rollback()
and fix_rollback()
to handle rollback before and after the mini-game:
b) End the mini-game when a specific key is pressed. For example:
space
key in a screen or set a flag variable to false
.false
, the game exits.