MarchTTLGame/scenes/bullet.tscn

27 lines
1.0 KiB
Plaintext
Raw Normal View History

[gd_scene format=3 uid="uid://cuj8pgtjqngp"]
[ext_resource type="Script" uid="uid://bbm8hvs5bwx0f" path="res://scripts/bullet.gd" id="1_mkf8s"]
[ext_resource type="Texture2D" uid="uid://bpmvdsl4bmkfv" path="res://assets/graphics/projectiles/pixel_bullet(1).png" id="2_y25gk"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_h1aey"]
size = Vector2(39.583347, 0.80911493)
[node name="Bullet" type="Area2D" unique_id=722893754]
script = ExtResource("1_mkf8s")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1273835696]
position = Vector2(1.5000005, 0.49999976)
scale = Vector2(0.47999987, 8.651428)
shape = SubResource("RectangleShape2D_h1aey")
debug_color = Color(1, 0, 0, 1)
[node name="BulletGraphic" type="Sprite2D" parent="." unique_id=475898871]
texture_filter = 1
position = Vector2(0, 3.8146973e-06)
rotation = -3.1376295
scale = Vector2(0.15249251, 0.15249251)
texture = ExtResource("2_y25gk")
offset = Vector2(31.430838, 22.801313)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]