1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-04 02:37:12 +08:00

feat: Enhance game mechanics and structure

- Added `ColorBar` class for visual representation of values.
- Expanded `EntityBase` with new properties: `isBoss` and `weapons`, and implemented damage handling and entity generation methods.
- Updated `EntityStateBar` to use `ColorBar` for health representation.
- Introduced `BulletBase` scene and script for bullet mechanics, including damage handling and generation.
- Created `WorldTool` for managing the game world and root node.
- Implemented `EntityTool` for retrieving entities from hurtboxes.
- Added `GameRule` for managing game rules like friendly fire.
- Updated scene files to reflect new structures and added necessary resources.
This commit is contained in:
2025-08-26 11:39:47 +08:00
parent c6c16d4977
commit ef8fd0db9f
14 changed files with 254 additions and 3 deletions
+1
View File
@@ -1,5 +1,6 @@
@tool
extends Control
class_name ColorBar
@export var minValue: float = 0
@export var maxValue: float = 100