Compare commits

...

2 Commits

Author SHA1 Message Date
00a6979442 测试提交2 2024-12-14 20:31:27 +08:00
abe44a7e43 nodegd上传 2024-12-14 20:27:08 +08:00
2 changed files with 16 additions and 1 deletions

13
教学/node_2d.gd Normal file
View File

@ -0,0 +1,13 @@
extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass

View File

@ -1,8 +1,10 @@
[gd_scene load_steps=2 format=3 uid="uid://dwpbn3x8kh3qm"]
[gd_scene load_steps=3 format=3 uid="uid://dwpbn3x8kh3qm"]
[ext_resource type="Script" path="res://node_2d.gd" id="1_7g16r"]
[ext_resource type="AudioStream" uid="uid://6gqhxvgw5y3y" path="res://摇啊摇诡异pipa.wav" id="1_jxs8q"]
[node name="Node2D" type="Node2D"]
script = ExtResource("1_7g16r")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]