Resolve pending gameplay tickets
This commit is contained in:
parent
ec20778215
commit
c2ebbfaa2d
28 changed files with 618 additions and 188 deletions
|
|
@ -61,6 +61,8 @@ enum Icon {
|
|||
# inserting anywhere earlier renumbers every icon int already stored in
|
||||
# every scene.
|
||||
QUEST,
|
||||
# #179: a fleet-wide thrust burst, distinct from the Propulser vessel icon.
|
||||
DASH,
|
||||
}
|
||||
|
||||
# Size the glyphs were originally drawn against. Every glyph dimension is
|
||||
|
|
@ -319,6 +321,24 @@ func _draw() -> void:
|
|||
_draw_repair_drone_icon(center, pulse, s)
|
||||
Icon.QUEST:
|
||||
_draw_quest_icon(center, pulse, s)
|
||||
Icon.DASH:
|
||||
_draw_dash_icon(center, pulse, s)
|
||||
|
||||
|
||||
func _draw_dash_icon(center: Vector2, pulse: float, s: float) -> void:
|
||||
var tip: Vector2 = center + Vector2(12.0, 0.0) * s
|
||||
var tail: Vector2 = center + Vector2(-5.0, 0.0) * s
|
||||
NeonDraw.draw_glowing_line(self, tail, tip, _active_color(), pulse,
|
||||
0.7 * s, core_color)
|
||||
NeonDraw.draw_glowing_path(self, PackedVector2Array([
|
||||
tip + Vector2(-7.0, -7.0) * s, tip,
|
||||
tip + Vector2(-7.0, 7.0) * s,
|
||||
]), _active_color(), pulse, 0.7 * s, core_color)
|
||||
for y in [-7.0, 0.0, 7.0]:
|
||||
NeonDraw.draw_glowing_line(self,
|
||||
center + Vector2(-13.0, y) * s,
|
||||
center + Vector2(-7.0, y) * s,
|
||||
_active_color(), pulse * 0.7, 0.45 * s, core_color)
|
||||
|
||||
|
||||
# #140: a checklist - a page with a tick against the top line. Reads as
|
||||
|
|
|
|||
Loading…
Reference in a new issue