Commit Graph

96 Commits

Author SHA1 Message Date
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
d4821b2eba Add files via upload 2025-02-18 21:29:44 +00:00
Damian Idzinski
e9e2ba7fcf Add files via upload 2025-02-18 21:29:02 +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
Damian-I
48ca5248ff Added a laptop-style popup interface for CyberChef cryptographic workstation:
- Created laptop-style popup UI with title bar and close button
- Added CSS styles for responsive popup layout
- Implemented workstation item with custom interaction handler
- Added automatic workstation to player inventory on game start
- Set up debug logging with "CyberChef:" prefix

Key changes:
- Added workstation CSS styles (lines 30-89)
- Created addCryptoWorkstation function (lines 206-255)
- Added workstation initialization to create() function (line 379)
- Set up inventory system to handle custom interactions (lines 1501-1530)

The workstation provides:
- In-game access to CyberChef cryptographic tools
- Proper integration with game inventory system
- Debug logging for troubleshooting

Note:
- CyberChef v10.19.4 must be present in assets/cyberchef/ directory
- "workstation.png" is not present in assets/objects/ directory
2024-12-19 18:40:48 +00:00
Damian Idzinski
0f2bea2836 Add files via upload
accidentally pushed to wrong branch
reverted
2024-12-19 17:57:10 +00:00
Damian Idzinski
36eaeada09 Add files via upload
Added a laptop-style popup interface for CyberChef cryptographic workstation:

- Created laptop-style popup UI with title bar and close button
- Added CSS styles for responsive popup layout
- Implemented workstation item with custom interaction handler
- Added automatic workstation to player inventory on game start
- Set up debug logging with "CyberChef:" prefix

Key changes:
- Added workstation CSS styles (lines 30-89)
- Created addCryptoWorkstation function (lines 206-255)
- Added workstation initialization to create() function (line 379)
- Set up inventory system to handle custom interactions (lines 1501-1530)

The workstation provides:
- In-game access to CyberChef cryptographic tools
- Proper integration with game inventory system
- Debug logging for troubleshooting

Note: 
- CyberChef v10.19.4 must be present in assets/cyberchef/ directory
- "workstation.png" is not present in assets/objects/ directory
2024-12-19 17:38:28 +00:00
Z. Cliffe Schreuders
39162bbb6f initial commit 2024-11-26 14:06:37 +00:00