Files
bquarkz 02876f1b86 fix(scene): center the NES viewport in the 640x360 framebuffer
Keep the 256x240 game image at 1:1 scale and move its shared presentation
origin to (192,60). Camera, HUD, sprites, masks and frame already derive
their coordinates from the scene's screen dimensions.

Update port presentation notes and preserve local WRK-0002 validation.
Fresh bytecode was checked with unchanged packed assets in five captures
using the current runtime and an in-memory save session.

The user explicitly requested publication: "commit e push do zelda-1".
2026-11-20 11:59:54 +00:00

51 lines
1.5 KiB
Markdown

---
schemaVersion: 1
id: "WRK-0002"
title: "Centralizar Zelda 1 no framebuffer 640x360"
description: "Ajuste pontual solicitado pelo humano: somente centralizar o port no\
\ novo target; atualizar SCREEN_W/SCREEN_H em src/scene/main.pbs, do qual câmera/sprites/HUD/moldura\
\ já derivam VIEW_X/VIEW_Y. Validar build e captura atual, preservando gameplay\
\ e cartão do usuário."
goal: "Manter a área NES 256x240 em escala1:1 centralizada em640x360, origem192,60."
motivation: ""
constraints:
- "Preservar256x240,escala1:1,assets,mecânicas,app_id e save; não retomar os recortes\
\ pendentes do WRK-0001 nem fazer commits/push sem pedido específico."
acceptanceCriteria:
- "Código de apresentação usa640x360 e calculaVIEW_X192/VIEW_Y60 para imagemNES256x240."
- "Build/captura atuais conferidos e resultado registrado; cartão do usuário não usado\
\ em escrita."
status: "OPEN"
createdAt: "2026-11-20T10:45:49.384818Z"
updatedAt: "2026-11-20T11:59:54.467987Z"
author: "Codex"
repositories: []
discussions:
- "DSC-0001"
- "DSC-0002"
decisions: []
artifacts:
- "ART-0001"
plans: []
completions: []
events: []
archived: false
topics: []
surveys: []
dispositions: []
agentRuns: []
epic: false
guidance:
mode: "DIRECT"
approvalPolicy: "REQUIRED"
history:
- mode: "DIRECT"
approvalPolicy: "REQUIRED"
by: "Codex"
reason: "Escolha explícita do humano nesta conversa: DIRECT — ajustar e validar\
\ a centralização (recomendado)."
at: "2026-11-20T10:45:49.376202Z"
humanApproved: true
decisionRequests: []
---