# Diamond Hollow II Pygame Preservation Port This repository is being converted from the decompiled Adobe Flash/Flixel game material into a clean Python/Pygame-CE preservation-style rewrite. ## Decisions - Preserve the main gameplay and original look. - Use the extracted original assets from the Flash game. - Do not port external tracking, ads, site locking, Mochi, Playtomic, Newgrounds, or Kongregate integrations. - Use a new local save format later; Flash save compatibility is not required. - Build a plain runnable Pygame-CE app, not a packaged executable. - Start with a visually faithful main menu, then Chapter 1 gameplay. - Preserve mouse aiming/shooting early; keyboard aiming can be omitted unless needed. - Use idiomatic Pygame-CE plus a small game-specific helper layer inspired by Flixel concepts. ## Layout - `src/dhii/`: Python source for the Pygame port. - `assets/`: curated runtime assets copied from the extracted Flash material. - `research/`: original SWF and decompiled/extracted reference material. - `venv/`: local virtual environment, not part of the app. ## Running Install the package into the local virtual environment, then run the module: ```bash venv/bin/python -m pip install -e . venv/bin/python -m dhii ``` The game renders internally at `360x240` and scales to a `720x480` window, matching the Flash version.