Z. Cliffe Schreuders
5cd07b5d4b
refactor: remove outdated documentation
2025-10-28 16:11:16 +00:00
Z. Cliffe Schreuders
17ef1e6995
fix: Adjust container height calculation in key selection UI for improved layout
2025-10-28 16:09:20 +00:00
Z. Cliffe Schreuders
5436abe538
feat: Enhance key selection with additional key presets and improve random key generation logic
2025-10-28 16:03:50 +00:00
Z. Cliffe Schreuders
0ded5cae05
refactor: Simplify key generation by using generic names for keys in KeySelection
2025-10-28 14:26:52 +00:00
Z. Cliffe Schreuders
1228bc15fe
feat: Normalize keyPins from 0-100 scale to 25-65 scale across scenarios and rooms
2025-10-28 13:31:20 +00:00
Z. Cliffe Schreuders
90fa4d0047
feat: Implement scenario-based keyPins for locks and keys, enhancing lockpicking mechanics
2025-10-28 11:33:54 +00:00
Z. Cliffe Schreuders
004a537936
feat: Enhance chair wall collision handling to ignore low-velocity collisions
2025-10-27 17:59:07 +00:00
Z. Cliffe Schreuders
5d4a44fc70
Refactor: Remove KeyPointGeometry module and update LockpickingMinigamePhaser to use KeyGeometry
2025-10-27 17:49:25 +00:00
Z. Cliffe Schreuders
741ec55864
Refactor lockpicking mechanics and visuals
...
- Updated PinManagement to utilize new PinVisuals class for handling pin visuals and interactions.
- Replaced direct feedback updates with keyInsertion feedback methods for consistency.
- Introduced a new PinVisuals class to encapsulate pin rendering logic and improve code organization.
- Adjusted tool manager feedback methods to align with the new structure.
- Enhanced pin highlighting and visual updates during gameplay for better user experience.
2025-10-27 16:53:18 +00:00
Z. Cliffe Schreuders
f27ad53cc2
feat: Add ToolManager class for managing lockpicking tools and modes
...
- Implemented ToolManager to handle the visibility and behavior of lockpicking tools.
- Added methods for switching between key mode and lockpicking mode.
- Included functionality to return hook to starting position and flash wrench red.
- Integrated cleanup and initialization processes for the lockpicking game state.
- Enhanced user feedback and UI updates during mode transitions.
2025-10-27 16:34:48 +00:00
Z. Cliffe Schreuders
d9703930e1
Fix: Add missing createKeyBladeCollision and getKeySurfaceHeightAtPosition to KeyOperations
2025-10-27 16:17:30 +00:00
Z. Cliffe Schreuders
8077391ba6
Merge: Combine KeyVisualFeedback into KeyOperations module
2025-10-27 16:15:17 +00:00
Z. Cliffe Schreuders
b224f4043d
Fix: Save original keyData before modification in createKeyVisual
2025-10-27 16:11:45 +00:00
Z. Cliffe Schreuders
b20d159ffc
Extract: Phases 3-6 complete (Key Data Generator, Key Selection, Key Visual Feedback, Key Operations)
2025-10-27 16:10:12 +00:00
Z. Cliffe Schreuders
cf776cb693
Add KeySelection module to lockpicking minigame: Extract key generation logic and integrate into LockpickingMinigamePhaser for improved modularity.
2025-10-27 15:58:56 +00:00
Z. Cliffe Schreuders
a6d04d3e28
Add KeyDataGenerator module and refactor key data generation logic in lockpicking minigame
2025-10-27 15:34:04 +00:00
Z. Cliffe Schreuders
0b9f1cb2de
Integrate LockGraphics module into lockpicking minigame: Initialize LockGraphics in the LockpickingMinigamePhaser class for enhanced graphical representation.
2025-10-27 15:21:22 +00:00
Z. Cliffe Schreuders
cb9f7d1cba
Refactor lockpicking minigame: Extract lock configuration logic into LockConfiguration class
...
- Created a new LockConfiguration class in lock-configuration.js to encapsulate lock configuration methods.
- Removed lock configuration methods from lockpicking-game-phaser.js and replaced them with an instance of LockConfiguration.
- Added methods for saving, loading, clearing, and resetting lock configurations in the new class.
- Updated lockpicking-game-phaser.js to utilize the new LockConfiguration class for managing lock states.
- Introduced scripts for extracting methods and listing JavaScript functions for better code organization and maintainability.
2025-10-27 14:52:43 +00:00
Z. Cliffe Schreuders
7acb65babc
Refactor key management in CEO exfil scenario: Simplify key ID structure by separating key IDs and pin codes for improved clarity and maintainability.
2025-10-27 12:54:48 +00:00
Z. Cliffe Schreuders
946cae2b16
Refactor phone messages minigame: Remove drag-to-scroll functionality for cleaner code. Update scenario JSON files to include voice, sender, and timestamp attributes for phone messages, enhancing narrative clarity.
2025-10-25 23:43:16 +01:00
Z. Cliffe Schreuders
2e23d50aec
Refactor scenarios: Remove deprecated XML files and update JSON scenarios with starting inventory items. Adjust room creation logic to prevent sprite creation for starting inventory items. Update scenario select paths for consistency.
2025-10-25 23:28:25 +01:00
Z. Cliffe Schreuders
ae270d2fa6
Refactor interaction distance calculation: Introduce getInteractionDistance function to improve accuracy based on player direction. Update interaction range constant to half of the previous value for refined interaction mechanics.
2025-10-24 10:19:11 +01:00
Z. Cliffe Schreuders
6f4cfd43c8
Enhance office room layout and interactions
...
- Updated room_office2.tmj to adjust object positions and dimensions for better alignment.
- Added new objects and refined existing ones to improve gameplay experience.
- Modified TiledItemPool in rooms.js to support regular and table items separately, ensuring proper item matching and prioritization.
- Improved interaction handling for swivel chairs, allowing them to be kicked and spin upon collision with walls.
- Updated object physics to handle swivel chair collisions dynamically, enhancing realism.
- Revised scenario details in cybok_heist.json for clarity and improved narrative flow.
2025-10-24 09:59:11 +01:00
Z. Cliffe Schreuders
a2a9359a02
Enhance Container Minigame: Implement notes item handling to trigger the notes minigame before taking items, and manage container state for returning after the minigame. Update unlock system alert message for clarity. Modify CyBOK heist scenario by removing unnecessary objects and updating item descriptions for better gameplay experience.
2025-10-22 18:47:01 +01:00
Z. Cliffe Schreuders
97391c2988
Refactor Container Minigame: Enhance item handling to properly manage takeable items and delegate interactions to the main game handler. Update inventory management to prevent duplicate pickups and streamline object interactions.
...
Add new scenario: Introduce "CyBOK Heist" with detailed room and object interactions, including clues and challenges related to cybersecurity concepts.
2025-10-22 17:16:10 +01:00
Z. Cliffe Schreuders
28becd0772
Enhance TiledItemPool: Update getUnreservedItems to exclude conditional items and add inventory item handling in createRoom to prevent sprite creation for marked items.
2025-10-22 13:46:34 +01:00
Z. Cliffe Schreuders
baceea6dab
Add AI Coding Agent Instructions: Introduce comprehensive documentation for the Break Escape project, detailing architecture, data flow, key patterns, and essential development workflows to enhance onboarding and developer understanding.
2025-10-22 13:29:16 +01:00
Z. Cliffe Schreuders
1b313fbdaa
Implement keyboard controls for player movement and interaction
...
- Added keyboard input handling for movement using arrow keys and WASD.
- Integrated spacebar for jump functionality and 'E' key for interacting with nearest objects.
- Enhanced player movement logic to prioritize keyboard input over mouse movement.
- Created visual effects for player jumping, including cooldown management and overlay animations.
2025-10-22 13:20:05 +01:00
Z. Cliffe Schreuders
f1471c7d29
Add Minigame Documentation: Introduce detailed usage guides for the Container and Notes minigames, outlining features, usage scenarios, and integration with existing systems. Include example data structures and testing instructions to enhance developer understanding and facilitate future enhancements.
2025-10-22 11:43:45 +01:00
Z. Cliffe Schreuders
21a3c40026
Remove Deprecated Files: Delete unused asset lists, minigame usage documentation, and room loading summaries to streamline the project. Update CSS for container and password minigames to improve layout consistency. Refactor image source references in minigames to utilize texture keys for better asset management.
2025-10-22 11:43:17 +01:00
Z. Cliffe Schreuders
90da3cdb5e
Add Room Loading Documentation: Introduce comprehensive documentation for the room loading system, detailing the architecture, data flow, and matching algorithm. Include proposed improvements for refactoring, implementation plans, and examples for better maintainability and testability. Create a summary file to provide an overview of the documentation structure and key concepts.
2025-10-22 00:32:00 +01:00
Z. Cliffe Schreuders
48b1ad3bbf
Refactor Lockpicking Minigame: Update button functionality for mode switching between key and lockpicking modes. Introduce new icons for keyway, password, and pin in the inventory. Enhance interaction logic for locked objects and doors, including visual indicators. Clean up CSS styles for improved layout and user experience. Remove unused assets and streamline code for better performance.
2025-10-22 00:10:26 +01:00
Z. Cliffe Schreuders
2230885f12
Update Room and Scenario Files: Rename an object in the reception room JSON files to "phone" for clarity. Modify the scenario brief in the CEO exfiltration scenario for improved narrative engagement. Enhance CSS styles across various minigames, including adjustments to layout, font sizes, and new sections for item displays in lockpicking and password minigames, improving overall user experience.
2025-10-21 14:43:34 +01:00
Z. Cliffe Schreuders
8fe71efa89
Implement Notebook Functionality: Add a notebook button to the Password and Container minigames for saving post-it notes. Enhance inventory interactions with pulse animations instead of notifications for item collection. Update CSS for new animations and layout adjustments in various minigames to improve user experience.
2025-10-21 12:17:28 +01:00
Z. Cliffe Schreuders
f787bd7683
Enhance Password Minigame: Implement on-screen keyboard toggle functionality and update password visibility button to use icons. Add new CSS styles for keyboard and control buttons to improve user interaction. Adjust display logic for the on-screen keyboard based on user preferences.
2025-10-21 11:12:23 +01:00
Z. Cliffe Schreuders
441aeae8d3
Update Minigame Framework: Replace references to 'minigames.css' with 'minigames-framework.css' across multiple HTML files for improved organization. Add new Google Font 'Pixelify Sans' to enhance typography in the game. Introduce new icon assets for better visual representation in various minigames, including search, disk, backpack, and clipboard icons. Update CSS styles for various minigames to enhance visual consistency and user experience.
2025-10-21 10:58:56 +01:00
Z. Cliffe Schreuders
9c718e6239
Add Key Ring Functionality: Introduce a new key ring system to manage keys in inventory, including visual representation and interaction logic. Update CSS for key ring styling and enhance inventory management to support key grouping and display. Modify key-lock and unlock systems to recognize keys from the key ring, improving gameplay dynamics.
2025-10-14 23:56:31 +01:00
Z. Cliffe Schreuders
c2c60cc515
Update Inventory CSS: Remove horizontal overflow property and set a new font family for the inventory container to enhance visual consistency and readability.
2025-10-14 23:24:11 +01:00
Z. Cliffe Schreuders
ce8f720523
Update Text File Minigame: Enhance window control functionality by implementing minimize and maximize actions. The minimize button now closes the minigame, while the maximize button toggles fullscreen mode. Update HTML documentation to clarify window control behavior.
2025-10-14 17:23:07 +01:00
Z. Cliffe Schreuders
b04771e0b5
Enhance Minigame Framework: Add new Text File Minigame and integrate it into the existing system. Update interaction logic to support text file objects, allowing players to view and interact with file contents. Introduce CSS styles for the text file interface and update relevant HTML files to include new styles. Modify existing minigames to ensure compatibility with the new text file functionality, enhancing overall gameplay experience.
2025-10-14 17:12:59 +01:00
Z. Cliffe Schreuders
e3ed198059
Add Password Minigame: Introduce a new minigame for password entry, featuring customizable hints, keyboard input, and attempt tracking. Implement CSS styles for the minigame interface and integrate it into the existing framework. Update index.html to include the new CSS file and register the minigame in the minigame manager. Add test page for functionality and ensure compatibility with existing game mechanics.
2025-10-14 01:52:15 +01:00
Z. Cliffe Schreuders
6c06aeafe7
Add PIN Minigame: Introduce a new minigame for PIN entry, featuring a digital keypad, attempt logging, and visual feedback for correct and incorrect inputs. Implement CSS styles for the minigame interface and integrate it into the existing framework. Update index.html to include the new CSS file and register the minigame in the minigame manager. Add test page for functionality and ensure compatibility with the pin-cracker item for enhanced gameplay experience.
2025-10-13 23:45:53 +01:00
Z. Cliffe Schreuders
051b90aaa8
Add Phone Messages Minigame: Introduce a new minigame for interacting with phone messages, including voice and text message playback, voice selection, and observation display. Update index.html to include the new CSS file and integrate the minigame into the existing framework. Add test page for functionality and enhance interaction logic for phone objects in the game.
2025-10-13 18:48:14 +01:00
Z. Cliffe Schreuders
fd33160114
Enhance Object Interaction System: Refactor input handling to centralize object interaction logic in the main scene, allowing for more efficient detection of interactable objects. Introduce a new helper function to find objects at clicked positions and prevent player movement during interactions. Update room object click handlers to utilize the new system, improving gameplay dynamics and maintainability.
2025-10-13 12:04:23 +01:00
Z. Cliffe Schreuders
aa53ce53ea
Add Container Minigame: Introduce a new minigame for interacting with container items, including features for visual display, item interaction, and integration with the unlock system. Add CSS styles and test page for functionality. Update index.html and minigame manager to support the new minigame.
2025-10-13 11:53:07 +01:00
Z. Cliffe Schreuders
ea15e7d2c8
Add animated plant assets and update room configurations: Introduce new animated plant images for enhanced visual effects in the game. Update room JSON and TMJ files to include these assets, ensuring proper integration with the existing room management system. Refactor player effects to trigger animations when interacting with animated plants, improving gameplay dynamics.
2025-10-13 11:22:35 +01:00
Z. Cliffe Schreuders
92d5fb268d
Allow player movement during minigames: Update Bluetooth Scanner, Biometrics, and Lockpick Set minigames to enable player movement while the game is active by introducing a disableGameInput parameter. Refactor minigame manager to respect this parameter, enhancing gameplay experience and flexibility.
2025-10-13 08:17:28 +01:00
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
d46fa79718
Implement Minigames for Bluetooth Scanner, Biometrics, and Lockpick Set: Transition Bluetooth and biometrics functionalities to dedicated minigames, enhancing user interaction and gameplay experience. Introduce new CSS styles for each minigame and update the main game logic to support these changes. Remove legacy systems for biometrics and Bluetooth management to streamline code and improve maintainability.
2025-10-11 02:25:50 +01:00
Z. Cliffe Schreuders
422b8e5c7b
Enable horizontal overflow in inventory CSS and comment out debug logs in door sprite creation logic. This improves the user interface for inventory management and cleans up console output for better performance during gameplay.
2025-10-11 00:08:03 +01:00