Commit Graph

64 Commits

Author SHA1 Message Date
Damian-I
fcaf3b6f35 Add comprehensive debug logging system with color-coded console output 2025-03-08 02:49:32 +00:00
Damian Idzinski
b711b18625 Merge pull request #26 from cliffe/5-lock-picking
5 lock picking
2025-03-07 18:00:47 +00:00
Damian-I
8b93ed1720 Replaced sounds with same stock sound (https://opengameart.org/content/click-sounds6) 2025-03-07 17:57:35 +00:00
Damian-I
e44739039e Added audio (my voice (temporary)) to the lockpicking 2025-03-07 17:22:56 +00:00
Damian-I
7d7920ef60 Enhanced pin feedback with dynamic red herring and difficulty-based visual hints (removed red herrings for easy) 2025-03-07 16:43:04 +00:00
Damian-I
ef7f0c6250 Added indicators to pins to reduce amount of combinations the player would have to blindly make 2025-03-07 16:33:43 +00:00
Damian-I
6a184ceb64 fixed overtensioning bug when not interacting with a pin 2025-03-07 16:20:05 +00:00
Damian-I
d3c4f6ed1c Adjusted tension mechanics to start at light tension and remove 'no tension' state 2025-03-07 15:47:24 +00:00
Damian-I
fbb41359d9 Simplified tension mechanics, refactoring code 2025-03-07 15:44:19 +00:00
Damian-I
55461f6bcf Refined tension mechanics with more precise pin tension requirements and over-tensioning risk 2025-03-07 15:33:52 +00:00
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