ElixirDoom.Render.Screens (elixir_doom v0.2.0)

Copy Markdown View Source

The pictures shown between levels and when nothing is in play: the tally after a level, the episode's closing text, a blank screen, and the backdrops they stand on.

ElixirDoom.Render.Screens.intermission(view, graphics, {640, 400})
ElixirDoom.Render.Screens.backdrop(graphics, "FLOOR4_8", {640, 400})

Text and pictures keep Doom's 320 by 200 layout stretched to the size asked for.

Summary

Functions

A frame width by height filled by patch name stretched over it, or flat name tiled across it.

A black raster width by height.

The episode's closing text.

The tally of the level just finished, from an intermission view.

Functions

backdrop(graphics, name, arg)

A frame width by height filled by patch name stretched over it, or flat name tiled across it.

blank(width, height)

A black raster width by height.

finale(graphics, arg)

The episode's closing text.

intermission(view, graphics, arg)

@spec intermission(map(), ElixirDoom.Graphics.t(), {pos_integer(), pos_integer()}) ::
  FrenchCurve.Raster.t()

The tally of the level just finished, from an intermission view.