Applying a Filter to a Group breaks mask
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- game-dev
Direzione di ricerca
Start with src/pixi/display/DisplayObjectContainer.js near the linked _renderWebGL reference, then trace how WebGLSpriteBatch and FilterManager interact with group masks. Use the live example to reproduce the filter and mask combination; done means the gray boxes appear only above the green line when both are applied.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- A bug in the API:
- Phaser version(s): 2.7.6 probably >= 2.7
- Live example: https://codepen.io/Nan0C/pen/RVabZZ
- Reproduce:
a. Create a Group with one or more sprites
b. Apply a Filter and mask to the group - What should happen: Filter and mask should be applied to the group. The gray boxes should only be visible above the green line
- What happens instead: Applying a filter breaks the mask applied to the group. The boxes are visible under the green line
This issue has probably something to do with the issues #39 #153 #154
I assume its a problem with the WebGLSpriteBatch or the FilterManager, since the bug happens after the PIXI.DisplayObjectContainer.prototype._renderWebGL method. Commenting out the parts where a Filter is applied makes the mask work again(obviously because its not used)[DisplayObjectContainer.js#L500]
- Lingua principale
- JavaScript
- Stelle
- 1.4k
- Fork
- 485
- Merge medio
- 1g 2h
- PR unite (30g)
- 9
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di phaserjs/phaser-ce
-
Web audio stops playing in iOS 17 and 18 after refocusingForse di nuovo libera @samme l’ha presa 633 giorni fa e non c’è nessuna pull request aperta. Aperta
phaserjs/phaser-ce#748 · 2 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
phaserjs/phaser-ce#740 · 9 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
phaserjs/phaser-ce#724 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
phaserjs/phaser-ce#711 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di phaserjs/phaser-ce
Issue simili
-
enhancement ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DCGM/semant-demo#708 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
agents area: runtime automation chore cli consistency dependencies developer-experience difficulty: easy documentation enhancement good first issue help wanted hygiene json-output priority: P3 starters tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Client codegen: an import repeated in an impl file is emitted twice, and the browser rejects the moduleForse già presa @MalithaPrabhashana l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
jaseci-labs/jac#10756 ·
I maintainer di solito rispondono entro 1 giorno