初次提交
This commit is contained in:
18
场景/BulletScene.tscn
Normal file
18
场景/BulletScene.tscn
Normal file
@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cls3iqd6lml2c"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cqo4d16yxek4d" path="res://图片/Object/bullet.png" id="1_i13uy"]
|
||||
[ext_resource type="Script" uid="uid://dg675fsx6dpv1" path="res://Script/Item/Projectile.cs" id="1_xp18j"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_oq1wp"]
|
||||
radius = 3.0
|
||||
|
||||
[node name="Bullet" type="Area2D"]
|
||||
scale = Vector2(5, 5)
|
||||
script = ExtResource("1_xp18j")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_i13uy")
|
||||
offset = Vector2(-6, 0)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_oq1wp")
|
Reference in New Issue
Block a user