创建新工程

This commit is contained in:
moyin
2025-12-05 19:00:14 +08:00
commit ff4fa5fffd
227 changed files with 32804 additions and 0 deletions

39
scenes/Character.tscn Normal file
View File

@@ -0,0 +1,39 @@
[gd_scene load_steps=2 format=3 uid="uid://character_base"]
[ext_resource type="Script" path="res://scripts/CharacterController.gd" id="1"]
[node name="Character" type="CharacterBody2D"]
script = ExtResource("1")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
[node name="Sprite" type="Node2D" parent="."]
[node name="Body" type="ColorRect" parent="Sprite"]
offset_left = -16.0
offset_top = -24.0
offset_right = 16.0
offset_bottom = 24.0
color = Color(0.4, 0.6, 0.8, 1)
[node name="Head" type="ColorRect" parent="Sprite"]
offset_left = -12.0
offset_top = -32.0
offset_right = 12.0
offset_bottom = -16.0
color = Color(0.9, 0.8, 0.7, 1)
[node name="NameLabel" type="Label" parent="."]
offset_left = -40.0
offset_top = -45.0
offset_right = 40.0
offset_bottom = -35.0
text = "Character"
horizontal_alignment = 1
[node name="StatusIndicator" type="ColorRect" parent="."]
offset_left = 18.0
offset_top = -30.0
offset_right = 24.0
offset_bottom = -24.0
color = Color(0, 1, 0, 1)