feat: arrows and stuff
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 6s
Create tag and build when new code gets to main / Export (push) Successful in 2m22s

This commit is contained in:
2025-08-02 15:51:29 +02:00
parent e3545a5087
commit 3450c463f9
17 changed files with 311 additions and 2 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=30 format=4 uid="uid://s1cx1gvt4bed"]
[gd_scene load_steps=32 format=4 uid="uid://s1cx1gvt4bed"]
[ext_resource type="Script" uid="uid://cvtt52wodbopm" path="res://main.gd" id="1_272bh"]
[ext_resource type="PackedScene" uid="uid://yvp44oauis4n" path="res://player/player.tscn" id="1_ig7tw"]
@ -13,6 +13,7 @@
[ext_resource type="TileSet" uid="uid://tyrwsjeq31vu" path="res://world_assets/bubbles.tres" id="6_7mycd"]
[ext_resource type="PackedScene" uid="uid://c5ruphrd8ebuu" path="res://ennemy/armored_ennemy.tscn" id="9_kek77"]
[ext_resource type="Texture2D" uid="uid://deu2palri4pji" path="res://ui/kenney_1-bit-input-prompts-pixel-16/tilemap_white.png" id="10_efxa6"]
[ext_resource type="PackedScene" uid="uid://c5tp7c70qkxe3" path="res://arrow/arrow_spawner.tscn" id="15_vivmo"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ycdy4"]
atlas = ExtResource("3_dg77c")
@ -248,6 +249,8 @@ _data = {
[sub_resource type="RectangleShape2D" id="RectangleShape2D_ycdy4"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_w48qg"]
[node name="Main" type="Node2D"]
script = ExtResource("1_272bh")
parallax_far = 0.5
@ -335,7 +338,7 @@ minimum_location = 2720
maximum_location = 3500
[node name="NPC" type="AnimatedSprite2D" parent="."]
position = Vector2(2151, -28)
position = Vector2(2080, -28)
sprite_frames = SubResource("SpriteFrames_ryguw")
animation = &"idle"
autoplay = "idle"
@ -446,6 +449,17 @@ collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="TriggerNPCFirstDialogue"]
shape = SubResource("RectangleShape2D_ycdy4")
[node name="ArrowBlocker" type="StaticBody2D" parent="."]
position = Vector2(2399, -13)
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="ArrowBlocker"]
shape = SubResource("RectangleShape2D_w48qg")
[node name="ArrowSpawner" parent="." instance=ExtResource("15_vivmo")]
position = Vector2(3392, -8)
[connection signal="dialogue_ended" from="OpeningDialogue" to="Player" method="_on_dialogue_manager_dialogue_ended"]
[connection signal="dialogue_ended" from="NPCFirstDialogue" to="Player" method="_on_dialogue_manager_dialogue_ended"]
[connection signal="body_entered" from="TriggerNPCFirstDialogue" to="NPCFirstDialogue" method="_on_body_entered_trigger_dialogue"]