Commit Graph

54 Commits

Author SHA1 Message Date
Damian-I
bdad48286b Refactored lockpicking debug logging and pin interaction tracking 2025-03-07 15:21:02 +00:00
Damian-I
3111d30324 Enhanced lockpicking mechanics with tension levels and dynamic pin requirements (temporarily changed difficult of office door to hard for testing) 2025-03-07 15:01:23 +00:00
Damian-I
ee215beeeb Improved lockpicking success handling for doors and containers 2025-03-07 14:09:58 +00:00
Damian-I
97326b0f53 Fixed item unlock interaction with lockpick not retrieving contents of a container 2025-03-07 13:54:19 +00:00
Damian-I
e1e01febfe Made amount of pins vary based on difficulty, removed delay after lockpicking 2025-02-26 19:26:42 +00:00
Damian-I
b77577796b Added difficulty to scenario metadata for key locktypes 2025-02-26 19:02:50 +00:00
Damian-I
3bb16882e4 Fixed win condition 2025-02-25 14:21:02 +00:00
Damian-I
9b180a84fd Updated minigame to be more complex and intuitive 2025-02-25 13:54:23 +00:00
Damian-I
9352cba127 Added a difficulty chooser, makes the pin mode hidden and adds a sound 2025-02-25 13:39:58 +00:00
Damian-I
39b1c6f19b Fixed errors from incorrect scene handling 2025-02-25 13:21:26 +00:00
Damian-I
d5a083bd0b Added functionality to the minigame 2025-02-25 13:02:38 +00:00
Damian-I
0dbbdf935f Added minigame template for lockpicking 2025-02-25 12:56:59 +00:00
Damian-I
984da6d290 Added option for user to not use lockpick, also the door now unlocks if they choose to use it. 2025-02-25 12:50:54 +00:00
Damian-I
88dfd01628 Added ability to use lockpick if no key is present 2025-02-25 12:45:02 +00:00
Damian-I
b642cd7080 Added lockpicking item to office3 2025-02-25 12:30:58 +00:00
Damian Idzinski
8454f4a78f Merge pull request #17 from cliffe/2-biometric-access-system
2 biometric access system

POTENTIALLY IMPLEMENT:
limit attempts to amount based on fingerprint quality if failed minigame
2025-02-25 02:11:01 +00:00
Damian-I
4339e95767 Increased over-dusted threshold from 10 to 25, made the minigame fail when threshold was surpassed.
POTENTIALLY IMPLEMENT:
limit attempts to amount based on fingerprint quality if failed minigame
2025-02-25 02:09:36 +00:00
Damian-I
1765662a5e Fixed minigame bugs, fingerprint is added when minigame is completed 2025-02-25 02:00:44 +00:00
Damian-I
17a89ea2ef Fingerprint minigame working 2025-02-25 01:32:46 +00:00
Damian-I
503b5ca7a3 Fixed the no dragging issue 2025-02-25 01:28:36 +00:00
Damian-I
21f2e514ac Added working* minigame to fingerprint dusting.
*Might be too tiedious, need to fix dragging
2025-02-25 01:26:25 +00:00
Damian-I
3850c36a97 Fixed bug in spoofing, now works 2025-02-25 00:33:46 +00:00
Damian-I
62d71889c4 Add spoofing and dusting mechanics to biometric sample system
- Implement spoofing functionality for biometric samples with quality degradation
- Create interactive dusting minigame for revealing fingerprints
- Add spoofing kit item to office room and scenario
- Introduce visual indicators for spoofed samples
- Implement progress-based spoofing process with UI feedback

Bug with spoofing logic
2025-02-25 00:28:44 +00:00
Damian-I
4ab5aa9005 Add biometric samples UI with interaction and visualization
- Create comprehensive UI for displaying collected biometric samples
- Implement keyboard controls (B key) to show/hide samples interface
- Add visual quality indicators and detailed sample information
- Enhance object interaction with scanner highlighting and pulsing effects
- Integrate new UI with existing game state management
2025-02-25 00:11:35 +00:00
Damian-I
ffb841e129 Fingerprint scanner mechanics with lockout and validation
- Add visual feedback for biometric scan success and failure
- Create advanced collection mechanism with quality tracking and animation
- Introduce scanner state management with failed attempt tracking
2025-02-25 00:04:26 +00:00
Damian-I
5869b4adde Fixed bug by initializing game state object with biometric samples and inventory tracking
- Create `gameState` object to centralize game state management
- Include biometric samples and inventory as initial state properties
2025-02-24 23:47:07 +00:00
Damian-I
6f560af427 Add fingerprint collection mechanics to game interaction system
- Implement fingerprint collection logic for interactive objects
- Add `collectFingerprint()` function to handle fingerprint sample generation
2025-02-24 23:40:18 +00:00
Damian-I
491bc14022 Removed blackboard, changed the computer in office1 to be used for fingerprints. Also added a hint in the description of the computer that it has a fingerprint 2025-02-24 23:13:12 +00:00
Damian-I
79e518efe3 Added clickable blackboard in the form of an object.
Need to add logic (maybe change method for blackboard)
2025-02-19 00:31:36 +00:00
Damian-I
1cec7fca8f Added fingerprint kit item 2025-02-19 00:05:22 +00:00
Damian Idzinski
0c9d6d0f52 Merge pull request #15 from cliffe/1-bluetooth-lock-system-implementation
1 bluetooth lock system implementation
2025-02-18 17:13:56 +00:00
Damian Idzinski
168e729bd4 Delete indexbt.html 2025-02-18 17:11:12 +00:00
Damian-I
1889b1b1d9 Implement Bluetooth device scanning and proximity-based unlocking
- Add Bluetooth scanning constants and interval-based scanning
- Modify object interaction to check for Bluetooth device proximity
- Implement proximity-based unlocking for tablets
- Add debug logging for Bluetooth scanning and device detection
- Adjust tablet and scanner positioning in reception room

----
Fixed broken funcitons of previous bluetooth
2025-02-18 17:01:17 +00:00
Damian-I
a94b8fe40c Added unlocking funcitonality when scanner is in the inventory 2025-02-18 16:47:27 +00:00
Damian-I
791230c72c Added the same MAC address to the scanner as the tablet 2025-02-18 16:29:37 +00:00
Damian-I
5ae7000adb Add bluetooth scanner to reception room and game scenario
- Add bluetooth scanner object to reception room JSON
- Include bluetooth scanner in game scenario with description
- Position bluetooth scanner near other interactive objects
2025-02-18 16:20:48 +00:00
Damian-I
6c9db12f49 Update game assets and scenario with bluetooth scanner and tablet adjustments
- Add bluetooth scanner image asset
- Modify tablet object in reception room JSON
- Simplify tablet scenario contents and positioning
- Adjust tablet object properties in game scenario
2025-02-18 16:19:37 +00:00
Damian-I
81f35998dc Add tablet object to reception room and game scenario
- Load tablet image asset
- Add tablet object to reception room JSON
- Include tablet with locked status and contents in game scenario
- Add meeting notes and master key to tablet contents
2025-02-18 15:19:02 +00:00
Damian Idzinski
f4feb1f0d6 Merge pull request #14 from cliffe/10-v2
10 v2
2025-02-08 15:32:45 +00:00
Damian-I
41a7372ce7 Remove container unlock alerts
- Eliminate redundant alert messages when unlocking containers
- Preserve the existing logic for preventing automatic item collection
- Simplify user interaction by removing unnecessary pop-up notifications
2025-02-08 15:31:30 +00:00
Damian-I
d8d55dfcdf Refactor container interaction and unlocking logic
- Modify item collection process to prevent automatic collection
- Add alert when container is unlocked
- Simplify handling of unlocked containers with contents
- Improve state management for locked and unlocked items
2025-02-08 15:26:20 +00:00
Damian Idzinski
403a3d345e Add files via upload
Fixed bug causing game to not load, #10 needs to be semi re-implemented
2025-02-02 01:31:21 +00:00
Damian Idzinski
33c6def8bb Merge pull request #13 from cliffe/7-cyberchef-integration
7 cyberchef integration
2025-02-01 02:36:43 +00:00
Damian Idzinski
d23ab90e8c Merge branch 'main' into 7-cyberchef-integration 2025-02-01 02:36:16 +00:00
Damian-I
2aeaf31af7 Refactor workstation interaction and inventory handling
- Renamed `customInteraction` to `openCryptoWorkstation` for clarity
- Simplified inventory sprite creation by removing type normalization
- Updated interaction logging to reflect new method name
- Preserved custom workstation interaction when moving to inventory
2025-02-01 02:23:36 +00:00
Damian-I
0cb243bd86 Refine laptop popup UI with improved positioning and overlay
- Adjusted laptop popup positioning to center screen
- Allows the player to now interact with the inventory to view items suchas as notes
- Improved pointer event handling for popup interactions
2025-02-01 02:19:05 +00:00
Damian-I
66f15ccb9a Enhance CyberChef workstation popup with dynamic file loading
- Implemented dynamic CyberChef HTML file discovery
- Added flexible iframe loading mechanism
- Improved CSS for CyberChef container
- Removed verbose console logging
- Simplified workstation interaction logic
2025-02-01 02:09:13 +00:00
Damian Idzinski
33f165011a Merge pull request #12 from cliffe/10-no-auto-collecting-items-from-container
Refactor object interaction handling and container content collection (no longer auto collect items)
2025-01-30 11:47:13 +00:00
Damian Idzinski
9d449b8846 Corrected whitespace 2025-01-30 11:36:00 +00:00
Damian-I
bd19b9de6b Refactor object interaction handling and container content collection
- Simplified the handleObjectInteraction function by removing redundant checks and improving readability.
- Enhanced the logic for handling container contents, ensuring items are only collected if the container is unlocked and not previously collected.
- Introduced a new function, collectContainerContents, to streamline the process of collecting items from unlocked containers.
- Updated the state management for locked items and their contents to improve gameplay flow.
2024-12-19 18:57:26 +00:00