diff options
| author | alex <[email protected]> | 2026-07-24 21:15:53 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-07-24 21:15:53 +0200 |
| commit | 6b666c7f25121e61bf1c58ee65cb2cd0f254b887 (patch) | |
| tree | de012eb81e45de014bf451ab1e8e741ef5abf3c5 /Bullet.tscn | |
| parent | 7e0c071a0d86563f9d450bf9073e06006abfa86e (diff) | |
| download | godot-testing-6b666c7f25121e61bf1c58ee65cb2cd0f254b887.tar.xz godot-testing-6b666c7f25121e61bf1c58ee65cb2cd0f254b887.zip | |
replaced all the sprites added the tilemap and improved the stats system so it can be split into multiple scripts
Diffstat (limited to 'Bullet.tscn')
| -rw-r--r-- | Bullet.tscn | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Bullet.tscn b/Bullet.tscn index 016cb0e..4e4082f 100644 --- a/Bullet.tscn +++ b/Bullet.tscn @@ -1,16 +1,20 @@ [gd_scene format=3 uid="uid://cchdwhewroga8"] [ext_resource type="Script" uid="uid://r11kb2e6g3g6" path="res://Bullet.cs" id="1_4s4u5"] -[ext_resource type="Texture2D" uid="uid://cuoc77romff78" path="res://icon.svg" id="1_ayd6b"] +[ext_resource type="Texture2D" uid="uid://dym2dnke4rtn8" path="res://2D Pixel Dungeon Asset Pack/items and trap_animation/arrow/Just_arrow.png" id="2_4s4u5"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_0m7y3"] -size = Vector2(124, 126) +size = Vector2(11, 7) [node name="Area2D" type="Area2D" unique_id=1047288677] +collision_layer = 0 +collision_mask = 5 script = ExtResource("1_4s4u5") [node name="Sprite2D" type="Sprite2D" parent="." unique_id=729865337] -texture = ExtResource("1_ayd6b") +rotation = 4.712389 +texture = ExtResource("2_4s4u5") [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1673067562] +position = Vector2(0.5, 0.5) shape = SubResource("RectangleShape2D_0m7y3") |
