- 在所有字体文件中添加 keep_rounding_remainders 属性,提高字体渲染质量 - 更新项目设置,启用抗锯齿功能 - 调整场景文件中的资源引用,添加 UID 信息
28 lines
925 B
Plaintext
28 lines
925 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://mldhnnqxu1x8"]
|
|
|
|
[ext_resource type="Script" uid="uid://bn7dfxsvhaby1" path="res://scripts/world/npc/npc.gd" id="1_cm6mj"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_m00ct"]
|
|
height = 20.0
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_xle2i"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 1
|
|
properties/1/path = NodePath(".:npc_data")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 1
|
|
|
|
[node name="Npc" type="CharacterBody2D"]
|
|
script = ExtResource("1_cm6mj")
|
|
|
|
[node name="NpcCollision" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CapsuleShape2D_m00ct")
|
|
|
|
[node name="NpcMain" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
|
|
[node name="MultiNpc" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_xle2i")
|