massive work towards godot 4
This commit is contained in:
18
nodes/projectiles/pistol_bullet.tscn
Normal file
18
nodes/projectiles/pistol_bullet.tscn
Normal file
@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ljnxxvv8n4ho"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://cslxomqr84gra" path="res://assets/art/equipment/pistol/pistol_bullet.png" id="1_faw2g"]
|
||||
[ext_resource type="Script" path="res://scripts/bullet.gd" id="1_h4vu7"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dooh7"]
|
||||
size = Vector2(2, 1)
|
||||
|
||||
[node name="bullet" type="Area2D"]
|
||||
script = ExtResource("1_h4vu7")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
modulate = Color(0, 0, 0, 1)
|
||||
texture_filter = 1
|
||||
texture = ExtResource("1_faw2g")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("RectangleShape2D_dooh7")
|
Reference in New Issue
Block a user