11 Star 0 Fork 0

openKylin/ghf-chuchuguai

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
player.tscn 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
紫电青霜 提交于 2024-09-20 14:29 . 提交文件
[gd_scene load_steps=7 format=3 uid="uid://dviwgv2ty8v6u"]
[ext_resource type="Script" path="res://player.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://dmom8a1jhex02" path="res://pic/0.png" id="2_t1p4d"]
[ext_resource type="Script" path="res://player_controls.gd" id="4_k1vfr"]
[sub_resource type="CircleShape2D" id="1"]
radius = 20.0
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_sh64w"]
properties/0/path = NodePath(".:synced_position")
properties/0/spawn = true
properties/0/replication_mode = 1
properties/1/path = NodePath("q:text")
properties/1/spawn = true
properties/1/replication_mode = 1
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_w53uu"]
properties/0/path = NodePath(".:motion")
properties/0/spawn = true
properties/0/replication_mode = 1
[node name="player" type="CharacterBody2D"]
z_index = 10
motion_mode = 1
script = ExtResource("1")
[node name="0" type="Sprite2D" parent="."]
texture = ExtResource("2_t1p4d")
[node name="shape" type="CollisionShape2D" parent="."]
position = Vector2(0, -1)
shape = SubResource("1")
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_sh64w")
[node name="Inputs" type="Node" parent="."]
script = ExtResource("4_k1vfr")
[node name="InputsSync" type="MultiplayerSynchronizer" parent="Inputs"]
replication_config = SubResource("SceneReplicationConfig_w53uu")
[node name="q" type="Label" parent="."]
offset_left = -19.0
offset_top = -34.0
offset_right = 21.0
offset_bottom = -11.0
horizontal_alignment = 1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openkylin/ghf-chuchuguai.git
git@gitee.com:openkylin/ghf-chuchuguai.git
openkylin
ghf-chuchuguai
ghf-chuchuguai
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385