Commit Graph

195 Commits

Author SHA1 Message Date
Z. Cliffe Schreuders
378045dded Add Notes Minigame enhancements: Integrate new notepad assets and styles, update minigame logic for improved navigation and observation editing. Introduce responsive design elements and ensure inventory integration for the notepad. Refactor existing code for better maintainability and user experience. 2025-10-10 15:20:04 +01:00
Z. Cliffe Schreuders
039a76d5cc Refactor note removal logic in Notes Minigame: Update the method for removing notes from the scene to align with the inventory system. Replace sprite-based checks with objectId references for improved consistency and clarity. Enhance visibility management for room objects and update scene object lists accordingly. 2025-10-10 02:42:12 +01:00
Z. Cliffe Schreuders
b8c8c79f86 Add Notes Minigame: Implement interactive note display and inventory integration
Introduce a new Notes Minigame that allows players to view and interact with notes in a notepad-style interface. The minigame supports adding notes to the inventory, displaying observations, and includes navigation features such as previous/next buttons and search functionality. Update relevant files for integration with the existing game systems, including interaction and inventory management. Add test HTML for verifying minigame features and include necessary assets for the notepad background.
2025-10-10 02:39:28 +01:00
Z. Cliffe Schreuders
e8db636f45 Add new assets and update room definitions: Introduce a comprehensive list of available object assets in available_objects.txt. Add multiple new object images and room JSON/TMJ files for room_ceo2, room_closet2, room_office2, and room_servers2. Update existing room files to enhance gameplay experience and ensure proper asset integration. Implement scripts for managing corrupted GID references and external tileset removal to maintain map integrity. 2025-10-10 00:18:04 +01:00
Z. Cliffe Schreuders
16f57e8ffe Enhance room reception functionality: Add a new wall layer to JSON and TMJ files for improved room structure. Implement custom collision boxes for wall tiles in rooms.js to enhance player interactions. Introduce player bump effect when stepping over floor items, improving gameplay dynamics and visual feedback. 2025-10-07 17:29:54 +01:00
Z. Cliffe Schreuders
401e4319f7 Update room reception assets and implement table collision logic: Modify JSON and TMJ files to adjust object IDs and image paths for tables. Enhance room.js to add collision detection for tables, ensuring proper interaction with player characters. Update tileset version for improved asset management. 2025-10-07 14:01:08 +01:00
Z. Cliffe Schreuders
ee4117a651 Add new assets and scripts for object management: Introduce a new tileset JSON file and an update script to ensure all objects are included. Add multiple object images and update HTML for improved asset integration. Remove outdated assets and enhance room definitions for better gameplay experience. 2025-10-07 12:31:07 +01:00
Z. Cliffe Schreuders
6c277da286 Implement door transition tracking: Add logic to prevent repeated door transitions by tracking the last transition made. Enhance the door transition detection system to improve gameplay flow and maintain room state consistency. Update comments for better clarity on the new functionality. 2025-09-01 02:10:47 +01:00
Z. Cliffe Schreuders
9db19b503a Refactor player and room depth management: Simplify depth calculations for player and room elements by using world Y position plus layer offsets. Update door sprite depth settings for consistency and improve door transition detection logic. Enhance comments for clarity and maintainability across the codebase. 2025-09-01 02:05:57 +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
bba5145891 Update locksmith-forge.html and add simple-phaser-test.html: Replace difficulty display with hints status in locksmith-forge.html for improved gameplay feedback. Introduce simple-phaser-test.html for testing Phaser integration, featuring a basic game setup and visual confirmation of loading and scene creation. 2025-08-09 12:59:13 +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
Z. Cliffe Schreuders
c4d8508bcf Add BreakEscape game structure: Introduce new modular HTML, CSS, and JavaScript files for the BreakEscape game, enhancing maintainability and organization. Include design documentation and refactoring summary for clarity. Add new scenarios and assets for gameplay expansion. 2025-07-13 23:18:57 +01:00
Z. Cliffe Schreuders
a97e65421d Implement password modal in index.html: replace direct password prompt with a modal for improved user experience, encapsulating password input logic and enhancing security. The modal includes show/hide password functionality and user-friendly design elements. 2025-07-02 16:43:14 +01:00
Z. Cliffe Schreuders
6af8347678 Enhance notification message formatting in index.html: update message display to replace newlines with line breaks for better readability, and adjust scenario1.json text and observations for clarity and context. 2025-05-16 11:57:36 +01:00
Z. Cliffe Schreuders
0f3a7d9fed CyBOK mapping update 2025-05-16 10:42:57 +01:00
Z. Cliffe Schreuders
2db4d25c8f settings updates 2025-05-16 10:42:42 +01:00
Z. Cliffe Schreuders
66b9ffb546 Enhance inventory system in index.html: add new inventory container with dynamic item handling, update styles for improved layout, and refactor item interaction logic for better user experience. 2025-05-05 09:57:34 +01:00
Z. Cliffe Schreuders
b0676a48b8 Update OBJECT_SCALES in index.html: adjust scaling for phone and add bluetooth_scanner, and change highlight tint color for improved visual feedback. 2025-04-29 00:26:30 +01:00
Z. Cliffe Schreuders
b23cdb838e Add scaling for object types in index.html: introduce OBJECT_SCALES to adjust sizes for notes, key, phone, and tablet objects, enhancing visual consistency in the game scenario. 2025-04-29 00:13:26 +01:00
Z. Cliffe Schreuders
64a7415779 Refactor font-family declarations in index.html: set 'VT323' for body and 'Press Start 2P' for headings to improve typography consistency. Also don't incl observations if undefined in the scenario. 2025-04-28 23:52:56 +01:00
Z. Cliffe Schreuders
534fc54d92 Adjust #notes-search styles in index.html: change width to 95%, increase font size to 20px, and set font-family to 'VT323' for improved readability and aesthetics. 2025-04-24 00:38:40 +01:00
Z. Cliffe Schreuders
58bb0be6b0 Add Web Font Loader to index.html for improved font loading and remove cursive fallback from font-family declarations. 2025-04-24 00:33:04 +01:00
Z. Cliffe Schreuders
38682be9f2 Update font-family in index.html to include 'VT323' alongside 'Press Start 2P' for enhanced typography consistency. 2025-04-24 00:25:19 +01:00
Z. Cliffe Schreuders
562b8fbdc5 Refactor Google Fonts inclusion in index.html by separating font links for 'Press Start 2P' and 'VT323' to enhance clarity and maintainability. 2025-04-24 00:23:35 +01:00
Z. Cliffe Schreuders
c39880f1f3 Update index.html to incorporate Google Fonts for improved typography. Change font families to 'Press Start 2P' and 'VT323' for various elements, adjust font sizes, and modify layout dimensions for better aesthetics and readability. 2025-04-24 00:12:47 +01:00
Z. Cliffe Schreuders
c0a75dfb4d Merge branch 'main' of https://github.com/cliffe/BreakEscapeGame into main 2025-04-23 17:18:19 +01:00
Z. Cliffe Schreuders
abe484fff9 README 2025-04-23 17:17:46 +01:00
c7309830
003ff4bc9b final 2025-04-09 10:00:09 +00:00
c7309830
6bd6d26fb5 minor fixes pt2 2025-04-07 21:17:45 +00:00
c7309830
e7aa6b3f0f minor fixes 2025-04-07 21:06:16 +00:00
c7309830
07896a1e0a fixed captain meow scenario pt 2 2025-04-02 16:04:11 +00:00
Z. Cliffe Schreuders
d5938b6973 Enhance game scenarios with completion messages and update cabinet type in biometric breach scenario. Add viewport meta tag for improved mobile responsiveness. 2025-03-28 16:51:52 +00:00
Z. Cliffe Schreuders
da33424cff allow zooming on mobile devices 2025-03-28 12:06:15 +00:00
Z. Cliffe Schreuders
e2c2862e8e Add mobile device detection and responsive scaling in index.html
Implemented CSS media queries to enhance responsiveness for mobile devices. Adjusted layout and font sizes for better visibility on portrait orientation with coarse pointers.
Not perfect, but an improvement
2025-03-28 11:59:15 +00:00
c7309830
7e758e3d86 adjustments 2025-03-28 00:37:47 +00:00
Z. Cliffe Schreuders
fa513a0f4f Update index.html to replace emoji icons with image assets for toggle buttons and comment out border-radius and transform properties for styling adjustments. 2025-03-27 16:36:29 +00:00