Repeat tween from shows error

Đang mở
#529 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
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 the linked CodePen example and trace how Phaser 2.10.3 handles a tween created with from when it repeats. Compare the first run with the repeated run to locate why the direction reverses. Done means the sprite moves from (100,0) to (0,0) on both runs; the issue does not name a test or source file.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

help wanted
  • A bug in the API:
    • Phaser version(s):2.10.3
    • Live example:Codepen
    • What should happen:The sprite goes from (100,0) to (0,0) twice.
    • What happens instead:The sprite goes to (0,0) to (100,0) twice.

The origin position of sprite is (0,0),then i use tween from (100,0).First time it runs right,but repeat animation is 'tween to' instead of 'tween from'

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của phaserjs/phaser-ce

Tất cả issue của phaserjs/phaser-ce

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.