SeptemberGame/scenes/bullet.tscn

25 lines
974 B
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=3 uid="uid://daa6idpu4gkat"]
[ext_resource type="Script" uid="uid://cbp3pm7i587mv" path="res://scripts/bullet.gd" id="1_mkf8s"]
[ext_resource type="Texture2D" uid="uid://bc8cpuacrbf0y" path="res://assets/graphics/projectiles/pixel_bullet.png" id="2_y25gk"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h1aey"]
size = Vector2(4, 6.3999996)
[node name="Bullet" type="Area2D"]
scale = Vector2(34.677, 20)
script = ExtResource("1_mkf8s")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
scale = Vector2(0.99999994, 0.99999994)
shape = SubResource("RectangleShape2D_h1aey")
debug_color = Color(0.78294253, 0.1467745, 0.21462014, 0.41960785)
[node name="BulletGraphic" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(-1.8553616, -1.0851669)
scale = Vector2(-0.048501078, -0.040855687)
texture = ExtResource("2_y25gk")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]