初次提交
This commit is contained in:
54
场景/player.tscn
Normal file
54
场景/player.tscn
Normal file
@ -0,0 +1,54 @@
|
||||
[gd_scene load_steps=10 format=3 uid="uid://c366fehx7raps"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bfb4jkr001yc3" path="res://图片/Plyear/body/south.png" id="1_hvrvy"]
|
||||
[ext_resource type="Script" uid="uid://c1g503q7yoy1s" path="res://Script/Pawn/Player.cs" id="2_1mmea"]
|
||||
[ext_resource type="Texture2D" uid="uid://bcyqk5dse5rfr" path="res://图片/Plyear/hairBackground/KiiroHairBG5_south.png" id="3_ftrlp"]
|
||||
[ext_resource type="Texture2D" uid="uid://ddwe3fgpw6lws" path="res://图片/Plyear/clothing/south.png" id="4_818b3"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2i248a85m3yy" path="res://图片/Plyear/head/KiiroHeadH1_south.png" id="5_jb7g2"]
|
||||
[ext_resource type="Texture2D" uid="uid://cr5cdhh3sg6ak" path="res://图片/Plyear/hair/KiiroHair5_south.png" id="6_8c0k4"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5y5ge1gju2ed" path="res://图片/Plyear/leftEar/LeftEar_south.png" id="7_0wgn0"]
|
||||
[ext_resource type="Texture2D" uid="uid://co1muhiugohsd" path="res://图片/Plyear/rightEar/RightEar_south.png" id="8_nmbpy"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_f1exj"]
|
||||
radius = 56.0
|
||||
height = 380.0
|
||||
|
||||
[node name="Player" type="Sprite2D" node_paths=PackedStringArray("head", "body", "clothes", "hairBackground", "hair", "leftEar", "rightEar")]
|
||||
scale = Vector2(0.5, 0.5)
|
||||
texture = ExtResource("1_hvrvy")
|
||||
script = ExtResource("2_1mmea")
|
||||
moveSpeed = 300.0
|
||||
head = NodePath("head")
|
||||
body = NodePath(".")
|
||||
clothes = NodePath("clothing")
|
||||
hairBackground = NodePath("hairBackground")
|
||||
hair = NodePath("head/hair")
|
||||
leftEar = NodePath("head/leftEar")
|
||||
rightEar = NodePath("head/rightEar")
|
||||
characterResourcesPath = "res://图片/Plyear/"
|
||||
|
||||
[node name="hairBackground" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -107)
|
||||
texture = ExtResource("3_ftrlp")
|
||||
|
||||
[node name="clothing" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("4_818b3")
|
||||
|
||||
[node name="head" type="Sprite2D" parent="."]
|
||||
position = Vector2(0, -107)
|
||||
texture = ExtResource("5_jb7g2")
|
||||
|
||||
[node name="hair" type="Sprite2D" parent="head"]
|
||||
texture = ExtResource("6_8c0k4")
|
||||
|
||||
[node name="leftEar" type="Sprite2D" parent="head"]
|
||||
texture = ExtResource("7_0wgn0")
|
||||
|
||||
[node name="rightEar" type="Sprite2D" parent="head"]
|
||||
texture = ExtResource("8_nmbpy")
|
||||
|
||||
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
||||
position = Vector2(0, 26)
|
||||
shape = SubResource("CapsuleShape2D_f1exj")
|
Reference in New Issue
Block a user