We created a simple video-game like frontend for better interaction with the IBSEN framework!
-
Download the game files from Google Drive. Put the
mzgame
folder in this directory (asfrontend/mzgame
). -
Set your OpenAI API key in
api_key.py
. -
From root directory of this repository run
python mzgame_frontend.py --frontend_port <frontend_port>
If no arguments provided, by default, the HTTP frontend serves on port 8081.
-
The game frontend will be served on
http://localhost:<frontend_port>
. Use your browser to start the game!
NOTE: The game frontend uses http://localhost:8080 to communicate with the mzgame_frontend.py
Flask program. Make sure the port is not occupied.
- Move around: Arrow keys or mouse clicking
- Interact with objects: Clicking or Space
- Game menu: Button
≡
at the top-right, right mouse button or Esc
- Step the game: Button
>
at the top-left or Tab; you can also step the game using the button in the menu. - Talk with the actors: Enter; use Shift+Enter to send out.
When stepping the game, your utterances will be sent to the actors in the same room.
This is an elementary demo for the IBSEN framework in video-game scenario. We sincerely thank the plugin creators (in mzgame/js/plugins
) and the RPG Maker Forum for helping us making this game. This game is made by RPG Maker MZ (©Gotcha Gotcha Games Inc./YOJI OJIMA 2020).