Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Pixels are not alligned to grid for a 32x20 grid

Aperta
#190 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
49/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
zig
Ambito
design

Direzione di ricerca

Start by locating the grid rendering and pixel-placement entry points in the Zig editor; the issue does not name files or tests. Reproduce the mismatch with a 32x20 grid and compare where grid lines fall against placed pixels. Done means pixels align with the grid at that size; the report gives no specific test or expected implementation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Pixels are not in "sync" with grid.
I'd expect pixels to fall in place within a grid, since that makes it easier to allign the sprites.

When using a grid of 32x20 the grid is not alligned with where the pixels are placed. It looks to me like the grid is 2.5 pixels wide instead of a whole number.

Image

Maybe this should have been opened on the Pixi repository but I found it odd that this pixel editor didn't come with the Pixel editing functionality. I had to track down this other repository (plugin) and build it myself (the plugin store does not find any compatible plugins on linux_x64).

Lingua principale
Zig
Stelle
1.5k
Fork
40
Merge medio
5h 35m
PR unite (30g)
151

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fizzyedit/fizzy

Tutte le issue di fizzyedit/fizzy

Issue simili

Altre issue su Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.