1
0
Fork 0
pacman-go/engine/render/constants.go

16 lines
530 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package render
const (
// WIDTH defines the width of the rendering surface in pixels.
// This is the logical resolution of the renderer, not the actual window size.
// The final image will be scaled to fit the window.
WIDTH = 224
// HEIGHT defines the height of the rendering surface in pixels.
// Like WIDTH, this is the fixed resolution used for tile-based rendering.
HEIGHT = 288
// TileSize defines the size of a single tile in pixels.
// All tile-based rendering operates on this 8×8 pixel grid.
TileSize = 8
)