24 lines
880 B
Plaintext
24 lines
880 B
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://c633ux67ehud7"]
|
|
|
|
[ext_resource type="Script" uid="uid://d165adohwtkk5" path="res://scripts/bullet.gd" id="1_mkf8s"]
|
|
[ext_resource type="Texture2D" uid="uid://bkrkdhusuqjlc" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_y25gk"]
|
|
size = Vector2(13, 5)
|
|
|
|
[node name="Area2D" type="Area2D"]
|
|
script = ExtResource("1_mkf8s")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-0.5, 0.5)
|
|
shape = SubResource("RectangleShape2D_y25gk")
|
|
debug_color = Color(0.255636, 0.520768, 0.950461, 0.42)
|
|
|
|
[node name="bulletImage" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(4, 3)
|
|
scale = Vector2(0.1, 0.1)
|
|
texture = ExtResource("2_y25gk")
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|