Broken P2 physics (world) bounds since Phaser 2.7.0
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 42/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
Compare the working Phaser 2.6.2 CodePen with the broken 2.7.0 example, focusing on the interaction between world bounds and P2 physics bounds when the world bounds are slightly larger. Identify where left-bound handling changes between those versions; done means the left bound stops the player as expected while the other bounds continue to work.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
This Issue is about
- A bug in the API:
- Phaser version(s): tested 2.6.2, 2.7.0 and 2.10.1
- Live example: https://codepen.io/anon/pen/bvNXmW
- What should happen: physics left bound should stop player
- What happens instead: player can move right through until he hits world bound with very strange effect
There seems to be an issue with world bounds or to be more precise a combination of world bounds and P2 physics bounds that has been introduced in Phaser 2.7.0 and is still there in 2.10.1.
Setting up a world with world bounds slightly bigger than P2 physics bounds has the effect that top, right and bottom bounds work as expected but left is broken.
Same code is working fine in Phaser 2.6.2.
Working (2.6.2): https://codepen.io/anon/pen/GxgVQp
Broken (2.7.0): https://codepen.io/anon/pen/bvNXmW
- 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 ·