Internal Viewport 270p (480x270)
This commit is contained in:
@@ -23,7 +23,7 @@ It is an explicit 2D graphics device based on:
|
||||
|
||||
### Base resolution
|
||||
|
||||
- **320 × 180 pixels**
|
||||
- **480 × 270 pixels**
|
||||
- aspect ratio close to 16:9
|
||||
- scalable by the host (nearest-neighbor)
|
||||
|
||||
@@ -142,9 +142,9 @@ The cache is a window of tiles around the camera.
|
||||
|
||||
Example:
|
||||
|
||||
- Screen: 320×180
|
||||
- 16×16 tiles → 20×12 visible
|
||||
- Cache: 22×14 (1-tile margin)
|
||||
- Screen: 480×270
|
||||
- 16×16 tiles → approximately 30×17 visible
|
||||
- Current runtime cache sizing with 16×16 layers: 35×21 tiles
|
||||
|
||||
It stores tiles already resolved from the tilemap.
|
||||
|
||||
@@ -316,7 +316,7 @@ In v1, deferred `gfx.*` overlay/debug primitives are drained after both fades an
|
||||
|
||||
The fade is implemented without continuous per-pixel alpha and without floats.
|
||||
It uses a **discrete integer level** (0..31), which in practice produces an
|
||||
"almost continuous" visual result in 320×180 pixel art.
|
||||
"almost continuous" visual result in Prometeu's `480x270` pixel-art framebuffer.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -20,11 +20,11 @@ Core contract:
|
||||
## 2 Coordinate Space
|
||||
|
||||
- TOUCH coordinates use **the same space as the framebuffer**
|
||||
- Resolution: **320×180**
|
||||
- Resolution: **480×270**
|
||||
- Origin: top-left corner `(0,0)`
|
||||
- Ranges:
|
||||
- `x ∈ [0, 319]`
|
||||
- `y ∈ [0, 179]`
|
||||
- `x ∈ [0, 479]`
|
||||
- `y ∈ [0, 269]`
|
||||
|
||||
TOUCH is **absolute**:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user