23 lines
697 B
Plaintext
23 lines
697 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://b1jtii12cqye1"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ckgjtmh5asu4w" path="res://assets/shoot.png" id="1_ttj7r"]
|
|
[ext_resource type="Script" uid="uid://dsd0opfd8kyow" path="res://shoot.gd" id="1_vnmmp"]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_yt1ub"]
|
|
radius = 5.0
|
|
|
|
[node name="shoot" type="RigidBody2D"]
|
|
collision_layer = 2
|
|
collision_mask = 2
|
|
mass = 0.001
|
|
gravity_scale = 0.0
|
|
script = ExtResource("1_vnmmp")
|
|
SPEED = 400.0
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
texture = ExtResource("1_ttj7r")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
shape = SubResource("CircleShape2D_yt1ub")
|