Cambiados los aspectos visuales del juego a algo gotico
This commit is contained in:
1 parent
ec7e35ddf6
commit
967b3a286d
205 files changed
+7056
-1630
No files matched your search
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/amplificador_11.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/amplificador_11.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/baqueta_sismica.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/baqueta_sismica.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/beer.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/beer.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/bocata_roadie.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/bocata_roadie.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/botas_doble_bombo.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/botas_doble_bombo.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/casete_demo.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/casete_demo.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/cinta_americana.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/cinta_americana.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/coffee.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/coffee.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/cuerda_titanio.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/cuerda_titanio.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/lata_feedback.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/lata_feedback.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/muelles_stage.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/muelles_stage.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/pedal_distorsion.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/pedal_distorsion.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/pizza_post_bolo.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/pizza_post_bolo.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/pua_apocalipsis.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/pua_apocalipsis.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/setlist_fin.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/setlist_fin.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/tapones_tecnico.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/tapones_tecnico.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_resource type="Resource" script_class="PickupData" load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://pickups/pickup_data.gd" id="1_data"]
|
||||
[ext_resource type="Texture2D" path="res://assets/pickups/tupper_bateria.svg" id="2_icon"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/items/tupper_bateria.png" id="2_icon"]
|
||||
|
||||
[resource]
|
||||
script = ExtResource("1_data")
|
||||
|
||||
@@ -26,6 +26,8 @@ const DROP_COLLECTION_DELAY_SECONDS: float = 0.75
|
||||
@export var bob_amplitude: float = 4.0
|
||||
## Velocidad angular de esa oscilacion.
|
||||
@export var bob_speed: float = 3.0
|
||||
## Solo presentacion: los nombres aparecen al acercarse al objeto.
|
||||
@export_range(32.0, 320.0, 2.0) var label_visibility_radius: float = 110.0
|
||||
|
||||
var velocity: Vector2 = Vector2.ZERO
|
||||
var time: float = 0.0
|
||||
@@ -33,6 +35,7 @@ var start_y: float = 0.0
|
||||
var grounded: bool = false
|
||||
var _can_collect: bool = false
|
||||
var _pending_collector: Node2D # Jugador que toco el objeto durante la espera.
|
||||
var _label_viewer: Node2D
|
||||
|
||||
@onready var label: Label = $Label
|
||||
@onready var sprite: Sprite2D = $Sprite2D
|
||||
@@ -44,6 +47,7 @@ func _ready() -> void:
|
||||
_update_preview()
|
||||
if Engine.is_editor_hint():
|
||||
return
|
||||
label.visible = false
|
||||
add_to_group("pickup")
|
||||
body_entered.connect(_on_body_entered)
|
||||
|
||||
@@ -82,6 +86,7 @@ func _enable_collection_after_delay() -> void:
|
||||
func _physics_process(delta: float) -> void:
|
||||
if Engine.is_editor_hint():
|
||||
return
|
||||
_update_label_proximity()
|
||||
time += delta
|
||||
if not grounded:
|
||||
velocity.y += fall_speed * delta
|
||||
@@ -153,3 +158,12 @@ func _get_configuration_warnings() -> PackedStringArray:
|
||||
if pickup_data == null:
|
||||
return PackedStringArray(["Asigna Pickup Data o arrastra una escena de pickups/variants."])
|
||||
return PackedStringArray()
|
||||
|
||||
|
||||
## Nombres y avisos de recogida permanecen legibles cerca del personaje sin
|
||||
## llenar el horizonte de etiquetas. El editor conserva todas las etiquetas.
|
||||
func _update_label_proximity() -> void:
|
||||
if not is_instance_valid(_label_viewer):
|
||||
_label_viewer = get_tree().get_first_node_in_group(&"player") as Node2D
|
||||
label.visible = is_instance_valid(_label_viewer) and \
|
||||
global_position.distance_squared_to(_label_viewer.global_position) <= label_visibility_radius * label_visibility_radius
|
||||
+11
-4
@@ -28,10 +28,17 @@ color = Color(1, 1, 1, 1)
|
||||
shape = SubResource("PickupShape")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
offset_left = -32.0
|
||||
offset_top = -28.0
|
||||
offset_right = 32.0
|
||||
offset_bottom = -12.0
|
||||
offset_left = -80.0
|
||||
offset_top = -50.0
|
||||
offset_right = 80.0
|
||||
offset_bottom = -18.0
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.82, 0.77, 0.63, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0.025, 0.018, 0.026, 1)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
clip_text = true
|
||||
autowrap_mode = 3
|
||||
theme_override_fonts/font = ExtResource("2_font")
|
||||
theme_override_font_sizes/font_size = 8
|
||||
text = "Item"
|
||||
|
||||
Reference in new issue
Block a user