Fixed enemy player lost sound. Some file organazing. Updated version number

This commit is contained in:
2026-03-15 13:18:47 +03:00
parent 8b1635aad8
commit 60c36d8666
51 changed files with 110 additions and 110 deletions
@@ -0,0 +1,21 @@
class_name AbstractActionTip
extends Node2D
@onready var sprite_keyboard : Sprite2D = $SpriteKbd
@onready var sprite_gamepad : Sprite2D = $SpritePad
func _ready() -> void:
_updated_by_input_type(InputManager.get_type())
InputManager.type_changed.connect(_updated_by_input_type)
func _updated_by_input_type(type: InputManager.Type) -> void:
match type:
InputManager.Type.Keyboard:
sprite_keyboard.show()
sprite_gamepad.hide()
InputManager.Type.Gamepad:
sprite_keyboard.hide()
sprite_gamepad.show()
@@ -0,0 +1 @@
uid://byjums4jdva4x
@@ -0,0 +1,10 @@
[gd_scene format=3 uid="uid://b24pn1q6u3u5v"]
[ext_resource type="Script" uid="uid://byjums4jdva4x" path="res://game/objects/informative/abstract_action_tip.gd" id="1_erg4q"]
[node name="AbstractActionTip" type="Node2D"]
script = ExtResource("1_erg4q")
[node name="SpriteKbd" type="Sprite2D" parent="."]
[node name="SpritePad" type="Sprite2D" parent="."]
@@ -0,0 +1,20 @@
[gd_scene format=3 uid="uid://g7wjnlsbden8"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_jsfj2"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="2_xbyc1"]
[sub_resource type="AtlasTexture" id="AtlasTexture_71ogr"]
atlas = ExtResource("2_xbyc1")
region = Rect2(128, 96, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_jsfj2"]
atlas = ExtResource("2_xbyc1")
region = Rect2(128, 128, 32, 32)
[node name="InteractionActionTip" instance=ExtResource("1_jsfj2")]
[node name="SpriteKbd" parent="." index="0"]
texture = SubResource("AtlasTexture_71ogr")
[node name="SpritePad" parent="." index="1"]
texture = SubResource("AtlasTexture_jsfj2")
@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://bgs6j6ak5qnq1"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_0act5"]
[sub_resource type="AtlasTexture" id="AtlasTexture_pnn6n"]
atlas = ExtResource("1_0act5")
region = Rect2(48, 96, 32, 32)
[node name="InteractionKbd" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_pnn6n")
@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://c0cae3bivcnal"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_fjtec"]
[sub_resource type="AtlasTexture" id="AtlasTexture_ow2w5"]
atlas = ExtResource("1_fjtec")
region = Rect2(112, 96, 32, 32)
[node name="InteractionPad" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_ow2w5")
@@ -0,0 +1,20 @@
[gd_scene format=3 uid="uid://cjduhfqgdmyhe"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_ffrc6"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="2_nd0mf"]
[sub_resource type="AtlasTexture" id="AtlasTexture_sre3d"]
atlas = ExtResource("2_nd0mf")
region = Rect2(32, 96, 48, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nd0mf"]
atlas = ExtResource("2_nd0mf")
region = Rect2(32, 128, 48, 32)
[node name="JumpActionTip" instance=ExtResource("1_ffrc6")]
[node name="SpriteKbd" parent="." index="0"]
texture = SubResource("AtlasTexture_sre3d")
[node name="SpritePad" parent="." index="1"]
texture = SubResource("AtlasTexture_nd0mf")
+12
View File
@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://pw8xqtpauy57"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_gth0n"]
[sub_resource type="AtlasTexture" id="AtlasTexture_wa8xe"]
atlas = ExtResource("1_gth0n")
region = Rect2(0, 96, 48, 32)
[node name="JumpKbd" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_wa8xe")
+12
View File
@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://3372ayctb2ed"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_206pc"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6w0xc"]
atlas = ExtResource("1_206pc")
region = Rect2(80, 96, 32, 32)
[node name="JumpPad" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_6w0xc")
@@ -0,0 +1,20 @@
[gd_scene format=3 uid="uid://be3mqeb784shj"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_6vlve"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="2_aui55"]
[sub_resource type="AtlasTexture" id="AtlasTexture_qoa1y"]
atlas = ExtResource("2_aui55")
region = Rect2(0, 96, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_aui55"]
atlas = ExtResource("2_aui55")
region = Rect2(0, 128, 32, 32)
[node name="MovementActionTip" instance=ExtResource("1_6vlve")]
[node name="SpriteKbd" parent="." index="0"]
texture = SubResource("AtlasTexture_qoa1y")
[node name="SpritePad" parent="." index="1"]
texture = SubResource("AtlasTexture_aui55")
@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://cemhsfdru4pv6"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_pa6ll"]
[sub_resource type="AtlasTexture" id="AtlasTexture_v0og1"]
atlas = ExtResource("1_pa6ll")
region = Rect2(0, 64, 48, 32)
[node name="MovementKbd" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_v0og1")
@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://tipop68pyrf7"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_crf2r"]
[sub_resource type="AtlasTexture" id="AtlasTexture_00r84"]
atlas = ExtResource("1_crf2r")
region = Rect2(80, 48, 32, 48)
[node name="MovementPad" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_00r84")
@@ -0,0 +1,20 @@
[gd_scene format=3 uid="uid://b0pxe00dlyx7t"]
[ext_resource type="PackedScene" uid="uid://b24pn1q6u3u5v" path="res://game/objects/informative/abstract_action_tip.tscn" id="1_sol75"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="2_278pw"]
[sub_resource type="AtlasTexture" id="AtlasTexture_2aait"]
atlas = ExtResource("2_278pw")
region = Rect2(80, 96, 48, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_278pw"]
atlas = ExtResource("2_278pw")
region = Rect2(80, 128, 48, 32)
[node name="SwitchActionTip" instance=ExtResource("1_sol75")]
[node name="SpriteKbd" parent="." index="0"]
texture = SubResource("AtlasTexture_2aait")
[node name="SpritePad" parent="." index="1"]
texture = SubResource("AtlasTexture_278pw")
+12
View File
@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://deo60sij43ibm"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_t6r5l"]
[sub_resource type="AtlasTexture" id="AtlasTexture_lviuj"]
atlas = ExtResource("1_t6r5l")
region = Rect2(0, 128, 48, 32)
[node name="SwitchKbd" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_lviuj")
+12
View File
@@ -0,0 +1,12 @@
[gd_scene load_steps=3 format=3 uid="uid://f70xseggdimg"]
[ext_resource type="Texture2D" uid="uid://ddm4gc2g3aj2i" path="res://images/level/objects.png" id="1_d2iw1"]
[sub_resource type="AtlasTexture" id="AtlasTexture_nyhjv"]
atlas = ExtResource("1_d2iw1")
region = Rect2(112, 64, 32, 32)
[node name="SwitchPad" type="Node2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = SubResource("AtlasTexture_nyhjv")