nuevos artes

This commit is contained in:
Diego De la Viuda Llorente committed 2026-11-09 16:04:57 +01:00
1 parent 71ccf6d513
commit ac1d386143
15 files changed
+6158 -3795

No files matched your search

+30 -9
View File
@@ -213,15 +213,36 @@ func _draw_ground_pound(progress: float, fade: float) -> void:
func _draw_solo(progress: float, fade: float) -> void:
var reach: float = lerpf(12.0, radius, progress)
_draw_ring(reach, 0.68, Color(0.37, 0.80, 1.0), 3.0, fade)
_draw_ring(reach * 0.80, 0.68, Color(0.80, 0.49, 0.94), 1.7, fade * 0.8)
for index: int in range(9):
var angle: float = TAU * float(index) / 9.0 - progress * 0.22
var point := Vector2(cos(angle), sin(angle) * 0.7) * reach
_draw_note(point, Color(0.89, 0.83, 1.0), fade)
if progress < 0.48:
_draw_sparks(progress / 0.48, ELECTRIC_WHITE, 12, 35.0, fade)
# Diego: guitarra electrica. El especial se lee como una descarga, no como
# una onda musical generica; los arcos son decorativos y no crean proyectiles.
var reach: float = lerpf(9.0, radius, sqrt(progress))
_draw_ring(reach, 0.62, ELECTRIC_BLUE, 3.4, fade)
_draw_ring(reach * 0.78, 0.66, ELECTRIC_WHITE, 1.35, fade * 0.72)
draw_circle(Vector2.ZERO, lerpf(5.0, 1.5, progress),
_alpha(ELECTRIC_WHITE, fade * (1.0 - progress * 0.35)))
for index: int in range(10):
var angle: float = TAU * float(index) / 10.0 - progress * 0.16
var axis := Vector2(cos(angle), sin(angle) * 0.82)
var normal := Vector2(-axis.y, axis.x)
var bolt := PackedVector2Array()
for step: int in range(6):
var fraction: float = float(step) / 5.0
var jitter: float = 0.0 if step == 0 or step == 5 else (
-1.0 if (step + index) % 2 == 0 else 1.0) * (3.0 + float(step % 3))
bolt.append(axis * reach * (0.24 + fraction * 0.76)
+ normal * jitter * (0.45 + progress * 0.55))
_stroke(bolt, OUTLINE, ELECTRIC_BLUE, 5.0, 2.5, fade * 0.92)
draw_polyline(bolt, _alpha(ELECTRIC_WHITE, fade * 0.88), 1.05, true)
if index % 2 == 0:
var fork := PackedVector2Array([
bolt[2],
bolt[3] + normal * 5.0,
bolt[4] + normal * 10.0])
_stroke(fork, OUTLINE, ELECTRIC_BLUE, 3.0, 1.35, fade * 0.78)
_draw_sparks(progress, ELECTRIC_WHITE, 12, reach * 0.72, fade * 0.82)
## Diego: lightning branches and a hot contact halo, all purely decorative.