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

1.5 KiB

schemaVersion, id, title, description, goal, motivation, constraints, acceptanceCriteria, status, createdAt, updatedAt, author, repositories, discussions, decisions, artifacts, plans, completions, events, archived, topics, surveys, dispositions, agentRuns, epic, guidance
schemaVersion id title description goal motivation constraints acceptanceCriteria status createdAt updatedAt author repositories discussions decisions artifacts plans completions events archived topics surveys dispositions agentRuns epic guidance
1 WRK-0002 Centralizar Zelda 1 no framebuffer 640x360 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. Manter a área NES 256x240 em escala1:1 centralizada em640x360, origem192,60.
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.
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.
OPEN 2026-11-20T10:45:49.384818Z 2026-11-20T11:59:54.467987Z Codex
DSC-0001
DSC-0002
ART-0001
false
false
mode approvalPolicy history decisionRequests
DIRECT REQUIRED
mode approvalPolicy by reason at humanApproved
DIRECT REQUIRED Codex Escolha explícita do humano nesta conversa: DIRECT — ajustar e validar a centralização (recomendado). 2026-11-20T10:45:49.376202Z true