Visual Style: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (wrong header levels)
(Add gpl download and import instructions)
 
(24 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{stub}}
{{Gamename}} employs a restricted “low-res” visual aesthetic that complements its history-focused themes by referencing and paying homage to hardware and software of the past.


''Caves of Qud'' employs a restricted visual style that can be described as follows:
==Graphics==


* There's a limited palette of 18 colors.
In-game screens display [https://en.wikipedia.org/wiki/Vignetting vignetting] and visual [https://en.wikipedia.org/wiki/Scan_line scan lines], which give the impression that the game is being viewed through an older style of computer terminal. (Either or both of these effects can be disabled from the options menu.)
* Each tile (sprite) can have up to two colors besides transparent.
* Each tile is 18 pixels wide by 24 pixels tall.


Additionally, composite screens or art pieces in its style employ a vignette effect<sup>expound</sup> and a scanline effect<sup>expound</sup>.
Each game zone (or console screen) is 80 tiles (or characters) wide by 25 tall. Each tile is 16 pixels wide by 24 pixels tall and may contain up to three of the game's 18 fixed colors, referred to as the primary, detail, and background colors. Usually the background is left black (the color referred to in the game code as <code>k</code>, and fanonically called “Qud viridian”; see the [[#Palette|Palette]] section). The tiles may be scaled to fit the actual size of the game window.


=Palette=
===Exceptions===


''Caves of Qud'''s palette comprises 18 specific colors, given in the following table:
Some tiles use colors outside of the fixed palette. These colors are always some mixture of the primary and detail colors of the tile. (See [[Modding:Tiles#4th Color]] for details.)


{| class="wikitable tablesorter tablesorter-default stickyTableHeaders"
Game mods are allowed to specify that their tiles are of sizes other than 16 by 24, however the base game itself doesn't use this function. (See [[Modding:Tiles#Tile_Size]] for details.)
!Code
!Name
!Hex
!
|-
| r
| dark red
| #a64a2e
| {{color | r | █ }}
|-
| R
| bright red
| #d74200
| {{color | R | █ }}
|-
| o
| dark orange
| #f15f22
| {{color | o | █ }}
|-
| O
| bright orange
| #e99f10
| {{color | O | █ }}
|-
| w
| brown
| #98875f
| {{color | w | █ }}
|-
| W
| yellow
| #cfc041
| {{color | W | █ }}
|-
| g
| dark green
| #009403
| {{color | g | █ }}
|-
| G
| bright green
| #00c420
| {{color | G | █ }}
|-
| b
| dark blue
| #0048bd
| {{color | b | █ }}
|-
| B
| bright blue
| #0096ff
| {{color | B | █ }}
|-
| c
| dark cyan
| #40a4b9
| {{color | c | █ }}
|-
| C
| bright cyan
| #77bfcf
| {{color | C | █ }}
|-
| m
| dark magenta
| #b154cf
| {{color | m | █ }}
|-
| M
| bright magenta
| #da5bd6
| {{color | M | █ }}
|-
| k
| black
| #0f3b3a
| {{color | k | █ }}
|-
| K
| dark grey
| #155352
| {{color | K | █ }}
|-
| y
| bright grey
| #b1c9c3
| {{color | y | █ }}
|-
| Y
| white
| #FFFFFF
| {{color | Y | █ }}
|}


==Palette File for Pixel Art==
==Palette==


Copy the following text block into Notepad or another plain text editor and save the file as <code>Caves of Qud.pal</code>. Then you can import it into a pixel art program such as Piskel or Aseprite.
The tile palette comprises 18 colors, which are given in the following table:
 
{{Color Table}}
 
===Palette Files for Pixel Art===
 
====PNG palette format====
 
Some programs including Aseprite can import palettes in PNG format. You can download and import the following .png file: [[File:Caves of qud palette.png]]
 
====JASC palette format (.pal)====
 
The JASC palette format is useable by a variety of pixel art programs, including Piskel and Aseprite. (It isn't useable by GIMP; see the [[#GIMP palette format (.gpl)|GIMP palette format]] section.)
 
Copy the following text block into Notepad or another plain text editor and save the file as <code>Caves of Qud.pal</code>. Then you can import it into a pixel art program. (See your program's documentation for details on how.)


<pre>JASC-PAL
<pre>JASC-PAL
Line 136: Line 53:
255 255 255</pre>
255 255 255</pre>


=See Also=
====GIMP palette format (.gpl)====
 
[[Media:CavesOfQud.gpl|Download GPL]]
 
To import the gpl file, open GIMP, select <code>Windows</code> -> <code>Dockable Dialogs</code> -> <code>Palettes</code>.<br/>
Right-click anywhere within the docked Palettes dialog, click <code>Import Palette...</code>, and choose the <code>Palette file</code> radial option.
 
You can also place the file directly in your GIMP palettes folder. This folder's location varies by platform:
* Windows: <code>%APPDATA%\GIMP\2.X\palettes\</code>
* Linux: <code>~/.config/GIMP/2.X/palettes/</code>
* OSX: <code>~/Library/Application Support/GIMP/2.X/palettes/</code>
 
Below are the contents of the palette file.
<pre>GIMP Palette
Name: Caves of Qud
Columns: 5
#
  0  0  0 True Black
255 255 255 White (Y)
177 201 195 Gray (y)
215  66  0 Bright Red (R)
166  74  46 Dark Red (r)
233 159  16 Bright Orange (O)
241  95  34 Dark Orange (o)
207 192  65 Yellow (W)
152 135  95 Brown (w)
  0 196  32 Bright Green (G)
  0 148  3 Dark Green (g)
21  83  82 Black (K)
15  59  58 Dark Black (k)
119 191 207 Bright Cyan (C)
64 164 185 Dark Cyan (c)
  0 150 255 Bright Blue (B)
  0  72 189 Dark Blue (b)
218  91 214 Magenta (M)
177  84 207 Dark Magenta (m)</pre>
 
==Trivia==
{{Speculation}}
 
* The game code's tendency to refer to object sprites as “tiles” may be an allusion to the phrase “tileset“ as it is used in roguelike circles to refer to optional graphics for a game that can be used in place of the usual text terminal. Unlike some such games, {{Gamename}}'s tiles mode is enabled by default.
 
==See Also==
 
* [[Modding:Text Color Codes & Object Rendering]]
* [[Modding:Tiles]]


* [[Modding: Text Color Codes & Object Rendering]]
[[Category:Concepts]][[Category:Modding Resources]]

Latest revision as of 21:19, 6 November 2023

Caves of Qud employs a restricted “low-res” visual aesthetic that complements its history-focused themes by referencing and paying homage to hardware and software of the past.

Graphics

In-game screens display vignetting and visual scan lines, which give the impression that the game is being viewed through an older style of computer terminal. (Either or both of these effects can be disabled from the options menu.)

Each game zone (or console screen) is 80 tiles (or characters) wide by 25 tall. Each tile is 16 pixels wide by 24 pixels tall and may contain up to three of the game's 18 fixed colors, referred to as the primary, detail, and background colors. Usually the background is left black (the color referred to in the game code as k, and fanonically called “Qud viridian”; see the Palette section). The tiles may be scaled to fit the actual size of the game window.

Exceptions

Some tiles use colors outside of the fixed palette. These colors are always some mixture of the primary and detail colors of the tile. (See Modding:Tiles#4th Color for details.)

Game mods are allowed to specify that their tiles are of sizes other than 16 by 24, however the base game itself doesn't use this function. (See Modding:Tiles#Tile_Size for details.)

Palette

The tile palette comprises 18 colors, which are given in the following table:

Code Name Hex
r dark red / crimson #a64a2e
R red / scarlet #d74200
o dark orange #f15f22
O orange #e99f10
w brown #98875f
W gold / yellow #cfc041
g dark green #009403
G green #00c420
b dark blue #0048bd
B blue / azure #0096ff
c dark cyan / teal #40a4b9
C cyan #77bfcf
m dark magenta / purple #b154cf
M magenta #da5bd6
k #0f3b3a
K dark grey / black #155352
y grey #b1c9c3
Y white #ffffff

Palette Files for Pixel Art

PNG palette format

Some programs including Aseprite can import palettes in PNG format. You can download and import the following .png file: Caves of qud palette.png

JASC palette format (.pal)

The JASC palette format is useable by a variety of pixel art programs, including Piskel and Aseprite. (It isn't useable by GIMP; see the GIMP palette format section.)

Copy the following text block into Notepad or another plain text editor and save the file as Caves of Qud.pal. Then you can import it into a pixel art program. (See your program's documentation for details on how.)

JASC-PAL
0100
18
166 74 46
215 66 0
241 95 34
233 159 16
152 135 95
207 192 65
0 148 3
0 196 32
0 72 189
0 150 255
64 164 185
119 191 207
177 84 207
218 91 214
15 59 58
21 83 82
177 201 195
255 255 255

GIMP palette format (.gpl)

Download GPL

To import the gpl file, open GIMP, select Windows -> Dockable Dialogs -> Palettes.
Right-click anywhere within the docked Palettes dialog, click Import Palette..., and choose the Palette file radial option.

You can also place the file directly in your GIMP palettes folder. This folder's location varies by platform:

  • Windows: %APPDATA%\GIMP\2.X\palettes\
  • Linux: ~/.config/GIMP/2.X/palettes/
  • OSX: ~/Library/Application Support/GIMP/2.X/palettes/

Below are the contents of the palette file.

GIMP Palette
Name: Caves of Qud
Columns: 5
#
  0   0   0	True Black
255 255 255	White (Y)
177 201 195	Gray (y)
215  66   0	Bright Red (R)
166  74  46	Dark Red (r)
233 159  16	Bright Orange (O)
241  95  34	Dark Orange (o)
207 192  65	Yellow (W)
152 135  95	Brown (w)
  0 196  32	Bright Green (G)
  0 148   3	Dark Green (g)
 21  83  82	Black (K)
 15  59  58	Dark Black (k)
119 191 207	Bright Cyan (C)
 64 164 185	Dark Cyan (c)
  0 150 255	Bright Blue (B)
  0  72 189	Dark Blue (b)
218  91 214	Magenta (M)
177  84 207	Dark Magenta (m)

Trivia

Caution: This article or section contains unverified speculation and should not be considered canonical.
  • The game code's tendency to refer to object sprites as “tiles” may be an allusion to the phrase “tileset“ as it is used in roguelike circles to refer to optional graphics for a game that can be used in place of the usual text terminal. Unlike some such games, Caves of Qud's tiles mode is enabled by default.

See Also