-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbullet.tscn
More file actions
30 lines (21 loc) · 1.04 KB
/
Copy pathbullet.tscn
File metadata and controls
30 lines (21 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[gd_scene load_steps=6 format=3 uid="uid://b1ql87y4xuw6f"]
[ext_resource type="Script" uid="uid://bwhb2fq1dynxe" path="res://bullet.gd" id="1_v7oki"]
[ext_resource type="Script" uid="uid://c0ag70xl0gprw" path="res://area_2dbullet.gd" id="2_v8qja"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_v7oki"]
[sub_resource type="CanvasTexture" id="CanvasTexture_rtl8c"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_v7oki"]
size = Vector2(8, 1)
[node name="bullet" type="RigidBody2D"]
physics_material_override = SubResource("PhysicsMaterial_v7oki")
gravity_scale = 0.0
script = ExtResource("1_v7oki")
[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(-3.75, -0.25)
scale = Vector2(8.5, 1.5)
texture = SubResource("CanvasTexture_rtl8c")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-4, 0)
shape = SubResource("RectangleShape2D_v7oki")
[node name="Area2D" type="Area2D" parent="."]
script = ExtResource("2_v8qja")
[node name="CollisionShape2D2" type="CollisionShape2D" parent="Area2D"]