Skip to content

Formats

Sonja Heinze edited this page Jun 3, 2020 · 1 revision

Formats

Design

Window size: 1600 x 1200 (4:3 ratio)

Ratio

Godot can import the following image formats:

  • BMP (.bmp) - No support for 16-bit per pixel images. Only 1-bit, 4-bit, 8-bit, 24-bit, and 32-bit per pixel images are supported.
  • DirectDraw Surface (.dds) - If mipmaps are present in the texture, they will be loaded directly. This can be used to achieve effects using custom mipmaps.
  • OpenEXR (.exr) - Supports HDR (highly recommended for panorama skies).
  • Radiance HDR (.hdr) - Supports HDR (highly recommended for panorama skies).
  • JPEG (.jpg, .jpeg) - Doesn’t support transparency per the format’s limitations.
  • PNG (.png) - Precision is limited to 8 bits per channel upon importing (no HDR images).
  • Truevision Targa (.tga)
  • SVG (.svg, .svgz) - SVGs are rasterized using NanoSVG when importing them. Support is limited; complex vectors may not render correctly. For complex vectors, rendering them to PNGs using Inkscape is often a better solution. This can be automated thanks to its command-line interface.
  • WebP (.webp)

More information about importing images can be found here

Sound

Supported files in Godot:

  • .wav
  • .ogg

For the background loop we need an .ogg file.

Other than that, the documentation advises to "consider using WAV for short and repetitive sound effects, and Ogg Vorbis for music, speech, and long sound effects".

We can also use other format, but they need to be converted before imported into Godot.

More information about importing audio samples can be found here

Story

==To do==