Applying a Filter to a Group breaks mask
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript
- Lĩnh vực
- game-dev
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- 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]
- Ngôn ngữ chính
- JavaScript
- Star
- 1.4k
- Fork
- 485
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của phaserjs/phaser-ce
-
Web audio stops playing in iOS 17 and 18 after refocusingCó thể làm lại được @samme đã nhận 633 ngày trước và không có pull request nào đang mở. Đang mở
phaserjs/phaser-ce#748 · 2 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
phaserjs/phaser-ce#740 · 9 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 25/100
phaserjs/phaser-ce#724 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
phaserjs/phaser-ce#711 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của phaserjs/phaser-ce
Issue tương tự
-
topg.org functionalityĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
needs:triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(readme): skills.sh badge says 'resource not found' and the skills.sh link is a 404; skills.sh still lists the old name tdk-skillsCó thể đã có người làm @bfs2021 đã nhận hôm nay. Đang mởarea: ci area: docs badge bug chore cleanup consistency developer-experience difficulty: easy docs documentation good first issue hygiene journey: first-visit links priority: P3 skills user-journey
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
flisk-sh/flisk-skills#39 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Ionaru/easy-markdown-editor#656 ·