| | |
| | | <script type="text/javascript" src="../static/vue/js/vue.min.js"></script> |
| | | <script type="text/javascript" src="../static/vue/element/element.js"></script> |
| | | <script src="../static/js/gsap.min.js"></script> |
| | | <script src="../static/js/pixi.min.js"></script> |
| | | <script src="../static/js/pixi-legacy.min.js"></script> |
| | | <style> |
| | | *{ |
| | | margin: 0; |
| | |
| | | const shuttle = new PIXI.Sprite(resources.shuttle.texture); |
| | | shuttle.width = width |
| | | shuttle.height = height |
| | | shuttle.x = item.point.x * width;//更新坐标x |
| | | shuttle.y = item.point.y * height;//更新坐标y |
| | | shuttle.x = item.wcsPoint.x * height;//更新坐标x |
| | | shuttle.y = item.wcsPoint.y * width;//更新坐标y |
| | | shuttle.updateMoveStatus = true;//动画执行完成 |
| | | shuttle.interactive = true; // 必须要设置才能接收事件 |
| | | shuttle.buttonMode = true; // 让光标在hover时变为手型指针 |