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(114.58336, 2.4273443)
[node name="Bullet" type="Area2D" unique_id=722893754]
script = ExtResource("1_mkf8s")
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1273835696]
position = Vector2(3.5, 0.50000197)
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.99999976, 5.9604645e-08)
rotation = -3.1376295
scale = Vector2(0.421875, 0.421875)
texture = ExtResource("2_y25gk")
offset = Vector2(31.430838, 22.801313)
[connection signal="body_entered" from="." to="." method="_on_body_entered"]