Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.73 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.73 KB

Interactive Frontend - an RPG Maker MZ Implementation

We created a simple video-game like frontend for better interaction with the IBSEN framework!

Installation

  1. Download the game files from Google Drive. Put the mzgame folder in this directory (as frontend/mzgame).

  2. Set your OpenAI API key in api_key.py.

  3. 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.

  4. 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.

Guidance

Basic control

  • 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

IBSEN interactions

  • 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.

Acknowledgements

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).