Hand-drawn boat sprites for the ambient moat boats

Aperta
#60 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
design, game-dev

Direzione di ricerca

Start with AmbientBoats.buildTexture and AmbientBoats.ensureTexture(), which show the texture key format boat-<livery>-<right|left|down|up> and the three liveries (wood, lacquer, white). Read AmbientBoats.size() and AmbientBoats.ART to confirm the 116x44 px budget, then draw sprites that fit it and fit the 50-66px open water. Done means every livery and direction loads from a hand-drawn sprite and displays correctly in the moat with no code changes, or ART is updated to match.

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

Descrizione

The ambient boats added for #29 use procedural canvas art (AmbientBoats.buildTexture, three liveries: wood, lacquer, white). Replace it with hand-drawn sprites.

AmbientBoats.ensureTexture() only draws a texture when the key is not already loaded, so loading a sprite under boat-<livery>-<right|left|down|up> swaps it in with no code change. Keep the sprite within AmbientBoats.size() (116x44 px along/across), or update AmbientBoats.ART, because run fitting uses that size. The open water in the moat is only about 50-66px wide.

Found while implementing #29.

Lingua principale
JavaScript
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 devhou-se/game

Tutte le issue di devhou-se/game

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.