Commit Graph

18 Commits

Author SHA1 Message Date
Z. Cliffe Schreuders
40edca9fc7 Add Codebase Review Document and Refactor Key Systems: Introduce a comprehensive review of the codebase organization, highlighting areas for improvement and recent refactoring successes. Refactor key-lock and unlock systems for better modularity and maintainability, consolidating logic into dedicated modules. Update relevant files and documentation to reflect these changes, ensuring a clearer structure and improved performance. 2025-10-12 23:11:32 +01:00
Z. Cliffe Schreuders
7c23395b05 Add Room Management and Collision Systems: Introduce a new room management system with simplified depth layering for object rendering. Implement collision management and door systems for improved player interactions. Refactor existing room logic to enhance modularity and maintainability, separating concerns into dedicated modules for doors, collisions, and object physics. Update relevant files to ensure seamless integration with the game environment. 2025-10-10 23:27:47 +01:00
Z. Cliffe Schreuders
a010576dfd Add Lockpicking and Dusting Minigame Styles: Introduce new CSS files for lockpicking and dusting minigames, enhancing visual feedback and user interaction. Update inventory styles for improved scaling and responsiveness. Refactor existing styles to remove legacy dusting game components and ensure consistency across minigame interfaces. 2025-10-10 18:55:41 +01:00
Z. Cliffe Schreuders
3940d04a62 Update key-demo.html and lockpicking minigame: Enhance key mode functionality by introducing a random key selection feature, allowing players to choose from three random keys. Update UI instructions for clarity and improve feedback messages based on key selection outcomes. Adjust game parameters to streamline the key selection process and ensure a smoother gameplay experience.
WiP updates to the main game including improved doors, animations, and player depth. Locks currently disabled.
2025-08-31 23:10:58 +01:00
Z. Cliffe Schreuders
d9b5f309d2 Adjust KEY_SHRINK_FACTOR in lockpicking-game-phaser.js to improve key rotation simulation. This change enhances the visual representation of the key during gameplay, contributing to a more realistic user experience. 2025-08-23 11:46:25 +01:00
Z. Cliffe Schreuders
6ff44f5971 Enhance lockpicking-game-phaser.js: Refactor key insertion logic to ensure accurate pin alignment and improve user feedback during gameplay. Introduce new methods for calculating key surface height and snapping pins to exact positions based on key cuts. Update click zone dimensions for better interaction and enhance visual feedback for pin highlighting at the shear line. Maintain clarity in comments for improved code maintainability. 2025-08-23 11:40:53 +01:00
Z. Cliffe Schreuders
d3b2e9af7e Refactor lockpicking-game-phaser.js: Implement render texture for key drawing to enhance visual fidelity and streamline key rendering logic. Introduce new methods for drawing key components, including a solid shape for the blade and a polygonal representation for the handle. Add click handler for key insertion to improve user interaction. Update comments for clarity and maintainability. 2025-08-23 00:10:11 +01:00
Z. Cliffe Schreuders
7d1eda89ba Refactor lockpicking-game-phaser.js: Adjust pin lift and fall speeds for key mode to enhance gameplay dynamics. Update comments for clarity on the new slower movement mechanics. Remove redundant key surface height calculation method to streamline code and improve maintainability. 2025-08-21 00:40:03 +01:00
Z. Cliffe Schreuders
97b7c2fa8e Enhance lockpicking minigame functionality: Introduce drawPixelArtCircle method for improved key handle rendering in pixel art style. Refactor key collision detection logic to streamline pin interaction with the key blade, ensuring smoother gameplay dynamics. Add new methods for calculating key surface height and triangular section effects, enhancing the realism of pin movements. Maintain existing comments for clarity and documentation. 2025-08-20 01:08:38 +01:00
Z. Cliffe Schreuders
26e25830ed Add key demo HTML and enhance lockpicking minigame: Introduce key-demo.html for testing new key mode functionality, featuring UI elements and game mechanics. Update lockpicking-game-phaser.js to support key mode, including key data generation, insertion logic, and collision detection for improved gameplay experience. Ensure clear documentation and maintainability in the codebase. 2025-08-19 16:57:48 +01:00
Z. Cliffe Schreuders
9aaa73f06f Refactor lockpicking-game-phaser.js: Rearrange comments for clarity and maintainability. Ensure the drawing logic for the key pin and hook position updates are clearly documented, enhancing code readability without altering functionality. 2025-08-15 00:55:46 +01:00
Z. Cliffe Schreuders
38c2a0476f Remove legacy lockpicking minigame files: Deleted lockpicking-comparison.html and lockpicking-game.js, along with associated CSS styles in lockpicking.css. Updated minigames index to only include the Phaser version of the lockpicking minigame, ensuring a cleaner codebase and improved maintainability. Added new lockpick feedback styling in minigames-framework.css for enhanced user experience. 2025-08-12 16:37:41 +01:00
Z. Cliffe Schreuders
daf3491bc8 Refactor styles in locksmith-forge.html and enhance lockpicking-game-phaser.js: Adjust padding, margins, and font sizes for improved responsiveness in locksmith-forge.html, including media queries for mobile devices. In lockpicking-game-phaser.js, implement canvas size adjustments for mobile to optimize gameplay experience by cropping the viewport and scaling the game area accordingly. Update shear line text positioning for better visibility. 2025-08-12 13:33:10 +01:00
Z. Cliffe Schreuders
287ab5c25c Enhance locksmith-forge.html and lockpicking-game-phaser.js: Update gameplay dynamics by refining pin count, sensitivity, and lift speed calculations in locksmith-forge.html for improved level progression. Add visual feedback for binding order and pin alignment hints. In lockpicking-game-phaser.js, implement keyboard controls for pin interaction and tension wrench toggling, enhancing user experience with updated feedback mechanisms and improved visual elements. 2025-08-11 01:42:27 +01:00
Z. Cliffe Schreuders
077317e46f Refactor locksmith-forge and lockpicking-game-phaser: Update sensitivity and lift speed calculations in locksmith-forge.html for improved gameplay dynamics. Enhance user feedback in lockpicking-game-phaser.js by adding vibration feedback on key actions, including tension application and pin setting, to enrich the player experience. 2025-08-09 01:30:53 +01:00
Z. Cliffe Schreuders
6582c624ce Update lockpicking-game-phaser.js: Adjust pin interaction area to extend to the bottom of the keyway for improved gameplay mechanics. This change enhances user interaction by ensuring the pin is fully interactive within the game environment. 2025-08-08 16:59:34 +01:00
Z. Cliffe Schreuders
b9d4dcd93f Enhance locksmith-forge gameplay: Add progress tracking and achievement notifications in the locksmith-forge.html file, including localStorage integration for saving progress. Update styles for the progress bar and achievement messages. Refactor ProgressiveLockpicking class to improve level management and user feedback. Adjust text positioning in lockpicking-game-phaser.js for better visibility of game elements. 2025-08-08 16:54:46 +01:00
Z. Cliffe Schreuders
b864d3e139 Refactor minigame structure and styles: Update index_new.html to link to the new minigames-framework.css, add new lockpicking-comparison.html and locksmith-forge.html files for enhanced gameplay, and introduce dusting and lockpicking CSS files for improved styling. Update README_design.md for clarity on main.js functionality. Add new test-phaser-lockpicking.html for testing purposes. Enhance Bluetooth system with new functionality in bluetooth.js and interactions.js. Ensure game state management for notes and Bluetooth devices is consistent across the application. 2025-08-08 15:33:44 +01:00