vitogit / vue-chessboard

Chessboard vue component to load positions, create positions and see threats
http://vitomd.com/vue-chessboard-examples/
GNU General Public License v3.0
166 stars 50 forks source link

animate fen load #28

Open larskuerten opened 3 years ago

larskuerten commented 3 years ago

Is there some option to animate when a new fen is loaded ? I am strugling with Quasar, Vue, Chessground and no lucky so far, any clue is highly valuable.

vitogit commented 3 years ago

I don't know sorry. This uses chessground library to handle the board and pieces so probably you will have more luck asking there https://github.com/ornicar/chessground/issues

larskuerten commented 3 years ago

Thank you. I saw in the chessground examples that he achieves that, but I cant emulate it, I will need dive deep and I need do it fast because winter is coming

vitogit commented 3 years ago

If you find a solution, let us know here in the ticket. Good luck

larskuerten commented 3 years ago

Installing only chessground it runs the animation loading FENs, Vue lost something in the process, angular version too lacks animation. I tried play with anim_1.anim(CG Vue) but got stuck. I will give up by now.

vitogit commented 3 years ago

Thanks for let me know. Could be related to chessground version? vue-chessboard uses 7.2.10 but current chessground is 7.9.3

Matthew-Nicholson commented 3 years ago

I'm having the same problem. Would be amazing if there was an update here <3