Repeat tween from shows error

Aperta
#529 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 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 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.

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

Descrizione

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'

Lingua principale
JavaScript
Stelle
1.4k
Fork
485
Merge medio
1g 2h
PR unite (30g)
9

Preparare l'ambiente

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 phaserjs/phaser-ce

Tutte le issue di phaserjs/phaser-ce

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.