itch.io is community of indie game creators and players

Devlogs

[Bug Fix] Temporary Solutions and Upcoming Patch

Shooting Game Plugin for Ren'Py (FPS)
A downloadable asset pack

Temporary Solutions and Upcoming Patch

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.

Mini-Game Code (FPS Shooting Game)

1. Regarding Pickle:

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.

2. Rollback Conflicts:

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:

Ren'Py Rollback Documentation

b) End the mini-game when a specific key is pressed. For example:

  • Capture the space key in a screen or set a flag variable to false.
  • Add a condition to the mini-game’s end logic so that when the flag is false, the game exits.
  • Result: The mini-game ends immediately when the space key is pressed.

Files

  • ShootingGame.zip 3.2 MB
    Aug 24, 2023
Download Shooting Game Plugin for Ren'Py (FPS)
Leave a comment