16 lines
530 B
Go
16 lines
530 B
Go
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
|
||
)
|