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 @@
|
||||
@tool
|
||||
extends Node2D
|
||||
## La Muerte Espectral: tres barras, patrones fijos y una presentacion animada
|
||||
## independiente del arte definitivo. Conserva el contrato de enemigo original.
|
||||
## La Muerte Espectral: tres barras, patrones fijos y poses raster independientes.
|
||||
## Conserva el contrato de enemigo y las ventanas de dano originales.
|
||||
signal died
|
||||
|
||||
const PHASE_HEALTH: int = 40
|
||||
@@ -119,10 +119,11 @@ func _process(delta: float) -> void:
|
||||
|
||||
|
||||
func _start_camera_framing() -> void:
|
||||
# Caben el personaje, el arma y la cabeza en pantalla durante la pelea.
|
||||
# La camara elevada del jugador encuadra pies y cabeza. El zoom entero
|
||||
# conserva la cuadricula de pixeles del resto del recorrido.
|
||||
var camera: Camera2D = _target.get_node_or_null("Camera2D") as Camera2D
|
||||
if camera != null:
|
||||
create_tween().tween_property(camera, "zoom", Vector2(1.30, 1.30), 0.85).set_trans(Tween.TRANS_SINE)
|
||||
camera.zoom = Vector2(2.0, 2.0)
|
||||
|
||||
|
||||
func _set_state(name: String, duration: float) -> void:
|
||||
@@ -286,21 +287,15 @@ func _update_visuals() -> void:
|
||||
var bob: float = sin(_elapsed * (2.3 + phase * 0.4)) * (6.0 if _state != "transition" else 12.0)
|
||||
var fraction: float = clampf(_state_elapsed / _state_duration, 0.0, 1.0)
|
||||
var flash: float = clampf(_hit_flash / 0.20, 0.0, 1.0)
|
||||
body.flip_h = _facing < 0.0
|
||||
body.position = Vector2(_hit_direction * flash * 11.0, -26.0 + bob)
|
||||
# Los dibujos originales de este atlas miran a la izquierda.
|
||||
body.flip_h = _facing > 0.0
|
||||
body.position = Vector2(roundf(_hit_direction * flash * 11.0), roundf(-26.0 + bob))
|
||||
body.rotation = 0.0
|
||||
body.scale = Vector2(1.14, 1.14)
|
||||
if _state == "move":
|
||||
body.rotation = 0.06 * sin(_elapsed * 8.0) * _facing
|
||||
elif _state == "windup":
|
||||
body.rotation = -0.10 * _facing * fraction
|
||||
elif _state in ["active", "dash_active"]:
|
||||
body.rotation = 0.11 * _facing * sin(fraction * PI)
|
||||
elif _state == "transition":
|
||||
body.scale *= 1.0 + 0.065 * sin(_elapsed * 13.0)
|
||||
body.scale = Vector2.ONE
|
||||
if is_dead:
|
||||
body.modulate.a = 1.0 - clampf(_death_elapsed / 1.45, 0.0, 1.0)
|
||||
body.position.y -= 25.0 * _death_elapsed
|
||||
# La caida esta dibujada en tres poses; la tunica permanece sobre el piso.
|
||||
body.position.y = -26.0
|
||||
else:
|
||||
body.modulate.a = 1.0
|
||||
if flash > 0.0:
|
||||
|
||||
@@ -1,30 +1,17 @@
|
||||
[gd_scene load_steps=8 format=3]
|
||||
[gd_scene load_steps=9 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://bosses/spectral_death/spectral_death.gd" id="boss"]
|
||||
[ext_resource type="SpriteFrames" path="res://assets/bosses/muerte/muerte_frames.tres" id="frames"]
|
||||
[ext_resource type="Texture2D" path="res://assets/bosses/muerte/spectral_scythe.svg" id="scythe"]
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/bosses/spectral_scythe.png" id="scythe"]
|
||||
|
||||
[ext_resource type="Texture2D" path="res://assets/ashen/ui/boss_bar_frame.png" id="boss_hud_frame"]
|
||||
[ext_resource type="Theme" path="res://ui/hud/thrash_hud_theme.tres" id="hud_theme"]
|
||||
[ext_resource type="Script" path="res://ui/hud/thrash_meter.gd" id="hud_meter"]
|
||||
[ext_resource type="Script" path="res://ui/hud/boss_hud_layout.gd" id="hud_layout"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="hurt_shape"]
|
||||
size = Vector2(154, 270)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="hud_panel"]
|
||||
bg_color = Color(0.08, 0.045, 0.13, 0.85)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.53, 0.36, 0.68, 0.95)
|
||||
corner_radius_top_left = 7
|
||||
corner_radius_top_right = 7
|
||||
corner_radius_bottom_right = 7
|
||||
corner_radius_bottom_left = 7
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="bar_empty"]
|
||||
bg_color = Color(0.17, 0.11, 0.22, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="bar_fill"]
|
||||
bg_color = Color(0.61, 0.91, 0.78, 1)
|
||||
|
||||
[node name="SpectralDeath" type="Node2D" groups=["enemy"]]
|
||||
script = ExtResource("boss")
|
||||
z_index = 5
|
||||
@@ -40,8 +27,9 @@ position = Vector2(0, -12)
|
||||
shape = SubResource("hurt_shape")
|
||||
|
||||
[node name="Body" type="AnimatedSprite2D" parent="."]
|
||||
texture_filter = 1
|
||||
position = Vector2(0, -26)
|
||||
scale = Vector2(1.14, 1.14)
|
||||
scale = Vector2(1, 1)
|
||||
sprite_frames = ExtResource("frames")
|
||||
animation = &"idle"
|
||||
autoplay = "idle"
|
||||
@@ -50,63 +38,90 @@ autoplay = "idle"
|
||||
position = Vector2(-69, -32)
|
||||
|
||||
[node name="HeldScythe" type="Sprite2D" parent="WeaponPivot"]
|
||||
texture_filter = 1
|
||||
texture = ExtResource("scythe")
|
||||
offset = Vector2(30, -73)
|
||||
scale = Vector2(1.25, 1.25)
|
||||
flip_h = true
|
||||
|
||||
[node name="ThrownScythe" type="Sprite2D" parent="."]
|
||||
visible = false
|
||||
texture_filter = 1
|
||||
texture = ExtResource("scythe")
|
||||
scale = Vector2(1.2, 1.2)
|
||||
|
||||
[node name="BossHUD" type="CanvasLayer" parent="."]
|
||||
visible = false
|
||||
layer = 3
|
||||
layer = 85
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="BossHUD"]
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_left = 64.0
|
||||
offset_top = 22.0
|
||||
offset_right = -64.0
|
||||
offset_bottom = 90.0
|
||||
theme_override_styles/panel = SubResource("hud_panel")
|
||||
[node name="Panel" type="Control" parent="BossHUD"]
|
||||
offset_left = 200.0
|
||||
offset_top = 550.0
|
||||
offset_right = 1080.0
|
||||
offset_bottom = 690.0
|
||||
mouse_filter = 2
|
||||
theme = ExtResource("hud_theme")
|
||||
script = ExtResource("hud_layout")
|
||||
|
||||
[node name="Rows" type="VBoxContainer" parent="BossHUD/Panel"]
|
||||
theme_override_constants/separation = 7
|
||||
layout_mode = 0
|
||||
offset_left = 76.0
|
||||
offset_top = -30.0
|
||||
offset_right = 804.0
|
||||
offset_bottom = 94.0
|
||||
mouse_filter = 2
|
||||
theme_override_constants/separation = 75
|
||||
|
||||
[node name="Status" type="Label" parent="BossHUD/Panel/Rows"]
|
||||
theme_override_colors/font_color = Color(0.91, 0.95, 0.92, 1)
|
||||
theme_override_font_sizes/font_size = 21
|
||||
custom_minimum_size = Vector2(0, 24)
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_colors/font_color = Color(0.86, 0.79, 0.64, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = "LA MUERTE ESPECTRAL"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Bars" type="HBoxContainer" parent="BossHUD/Panel/Rows"]
|
||||
theme_override_constants/separation = 8
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_constants/separation = 6
|
||||
|
||||
[node name="Life1" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
|
||||
custom_minimum_size = Vector2(0, 14)
|
||||
custom_minimum_size = Vector2(0, 25)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_styles/background = SubResource("bar_empty")
|
||||
theme_override_styles/fill = SubResource("bar_fill")
|
||||
mouse_filter = 2
|
||||
max_value = 40.0
|
||||
value = 40.0
|
||||
show_percentage = false
|
||||
script = ExtResource("hud_meter")
|
||||
fill_color = Color(0.56, 0.085, 0.16, 1)
|
||||
|
||||
[node name="Life2" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
|
||||
custom_minimum_size = Vector2(0, 14)
|
||||
custom_minimum_size = Vector2(0, 25)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_styles/background = SubResource("bar_empty")
|
||||
theme_override_styles/fill = SubResource("bar_fill")
|
||||
mouse_filter = 2
|
||||
max_value = 40.0
|
||||
value = 40.0
|
||||
show_percentage = false
|
||||
script = ExtResource("hud_meter")
|
||||
fill_color = Color(0.56, 0.085, 0.16, 1)
|
||||
|
||||
[node name="Life3" type="ProgressBar" parent="BossHUD/Panel/Rows/Bars"]
|
||||
custom_minimum_size = Vector2(0, 14)
|
||||
custom_minimum_size = Vector2(0, 25)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
theme_override_styles/background = SubResource("bar_empty")
|
||||
theme_override_styles/fill = SubResource("bar_fill")
|
||||
mouse_filter = 2
|
||||
max_value = 40.0
|
||||
value = 40.0
|
||||
show_percentage = false
|
||||
script = ExtResource("hud_meter")
|
||||
fill_color = Color(0.56, 0.085, 0.16, 1)
|
||||
|
||||
[node name="Frame" type="TextureRect" parent="BossHUD/Panel"]
|
||||
layout_mode = 0
|
||||
offset_right = 880.0
|
||||
offset_bottom = 140.0
|
||||
mouse_filter = 2
|
||||
texture_filter = 1
|
||||
texture = ExtResource("boss_hud_frame")
|
||||
expand_mode = 1
|
||||
Reference in new issue
Block a user