mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-31 16:31:54 +08:00
ef8fd0db9f
- 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.
11 lines
444 B
Plaintext
11 lines
444 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://dmxi1ikn6avig"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bm7ymrri6pykb" path="res://components/Characters/Rooster.tscn" id="1_7jr0n"]
|
|
[ext_resource type="Script" path="res://scripts/Tools/WorldTool.gd" id="1_ei0ch"]
|
|
|
|
[node name="world" type="Node2D"]
|
|
script = ExtResource("1_ei0ch")
|
|
|
|
[node name="rooster" parent="." groups=["players"] instance=ExtResource("1_7jr0n")]
|
|
position = Vector2(394, 274)
|