Compare commits
2 Commits
512c4534e5
...
00a6979442
Author | SHA1 | Date | |
---|---|---|---|
00a6979442 | |||
abe44a7e43 |
13
教学/node_2d.gd
Normal file
13
教学/node_2d.gd
Normal 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
|
@ -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="."]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user