Add Precision Aim for Player and Update Guard Enemy with Laser Mechanics


Updates for the player and the Guard enemy:
1. Aiming Optimization for Player
The player's weapon system features advanced aim optimization to adapt to different combat scenarios:
-
PrecisionAim (Default Mode):
-
Enables the player to target specific enemies or objects with pinpoint accuracy.
-
Bullets hit precisely at the mouse pointer's location.
-
Ideal for eliminating enemies one by one with precision.
-
-
ForwardAim (Alternate Mode):
-
Fires bullets in a straight line, hitting the first enemy or object in their path.
-
No need for precise mouse aiming; works effectively during chaotic combat.
-
Perfect for tackling groups of enemies or when overwhelmed.
-
Switching Modes: Press Tab
to toggle between PrecisionAim and ForwardAim.
2. Laser Attachment to Player Weapon
The player's weapon is equipped with a visible laser that always shows the aiming direction:
-
The laser remains visible at all times, providing real-time feedback for aim alignment.
-
It is purely visual, enhancing accuracy and immersion without affecting mechanics.
3. GuardEnemy AI Laser Mechanics
-
Enemy Laser: Guard enemies continuously emit visible laser beams, representing their aim direction.
-
Player Interaction:
-
If the player crosses an enemy's laser beam, the guard is alerted and engages immediately.
-
This mechanic adds a layer of stealth and strategy to avoid detection.
-
4. Strategic Gameplay with Aiming Modes
-
Use PrecisionAim for:
-
Picking off enemies stealthily and with accuracy.
-
Gaining an advantage in scenarios requiring precision.
-
-
Use ForwardAim for:
-
Dealing with multiple enemies at once in high-pressure situations.
-
Quick attacks when there's no time for precise aiming.
-
Gameplay Hint:
-
Strategically eliminate guards one by one using PrecisionAim.
-
Once the diamond is secured, sprint toward the exit.
-
In situations where multiple guards are attacking, toggle to ForwardAim and fire indiscriminately to clear the path.
This setup ensures engaging and dynamic gameplay, combining strategy, precision, and adaptability. Would you like to adjust or add further details to any of these features?
Maze Escape
Navigate the maze, grab the diamond, survive the hunt!
Status | Prototype |
Author | Goutamraj |
Genre | Action |
Tags | Singleplayer, Top down shooter |
More posts
- Diwali_Rifle Code Implementation😁38 days ago
- Sword Weapon Code Implementation44 days ago
- New Sword Weapon and Dash ability46 days ago
- Hit Effects and Mini Map53 days ago
- Player Movement Animations with Blend Tree60 days ago
- Guard Enemy Implementation73 days ago
- Guard Enemy77 days ago
- Enemy Pool79 days ago
- Enemy Handling System81 days ago
Leave a comment
Log in with itch.io to leave a comment.