印记 – 微维WeiVa http://www.weiva.com Micro Thinking Tue, 25 Feb 2020 06:12:45 +0000 zh-CN hourly 1 https://wordpress.org/?v=4.8.25 http://www.weiva.com/wp-content/uploads/2017/04/cropped-logo640-32x32.png 印记 – 微维WeiVa http://www.weiva.com 32 32 印记 – 微维WeiVa http://www.weiva.com/archives/706 http://www.weiva.com/archives/706#respond Sat, 22 Feb 2020 10:29:45 +0000 http://www.weiva.com/?p=706

]]>
http://www.weiva.com/archives/706/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/627 http://www.weiva.com/archives/627#respond Sat, 27 May 2017 02:45:00 +0000 http://www.weiva.com/?p=627







]]>
http://www.weiva.com/archives/627/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/602 http://www.weiva.com/archives/602#respond Sun, 07 May 2017 16:29:00 +0000 http://www.weiva.com/?p=602 继续阅读“计划学习和阅读的内容”

]]>
一、开发方面

二、设计方面

 

三、系统方面

gitlab之gitlab-ci自动部署

GitLab-CI 从安装到差点放弃

 

]]>
http://www.weiva.com/archives/602/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/599 http://www.weiva.com/archives/599#respond Mon, 01 May 2017 08:52:49 +0000 http://www.weiva.com/?p=599

]]>
http://www.weiva.com/archives/599/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/543 http://www.weiva.com/archives/543#respond Wed, 19 Apr 2017 20:26:00 +0000 http://www.weiva.com/?p=543

]]>
http://www.weiva.com/archives/543/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/468 http://www.weiva.com/archives/468#respond Tue, 06 Sep 2016 16:38:44 +0000 http://www.weiva.com/?p=468 继续阅读“在Adobe Animate 中实现在 Html5 Canvas 中拖动动画元素”

]]>
可以先参考:关于Adobe Animate CC的一些观点

在Animate制作H5交互内容中,让一个元素能够被鼠标拖动,是以个常用的功能,但是在当前的An版本中,没有关于生成Html Canvas交互的CreateJS api手册,也没有像as3里的拖放、触控和拖动代码片段。不过,既然导出的H5是基于js交互的,那么就可以使用js的方式来解决:

//dragableCar 是一要拖动的原件
this.dragableCar.addEventListener("pressmove", followFinger.bind(this));

function followFinger() {
    console.log("X:"+this.parent.mouseX + " Y:"+this.parent.mouseY);
    //转换外界坐标到本地坐标
    var newPoint = this.globalToLocal(this.parent.mouseX,this.parent.mouseY);
    console.log("X:"+newPoint.x + " Y:"+newPoint.y);
    this.dragableCar.x = newPoint.x;
    this.dragableCar.y = newPoint.y;
}

注:暂不支持在手机上用手拖动

]]>
http://www.weiva.com/archives/468/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/432 http://www.weiva.com/archives/432#respond Thu, 09 Jun 2016 16:08:48 +0000 http://www.weiva.com/?p=432

]]>
http://www.weiva.com/archives/432/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/424 http://www.weiva.com/archives/424#respond Tue, 17 May 2016 08:17:34 +0000 http://www.weiva.com/?p=424 image

]]>
http://www.weiva.com/archives/424/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/427 http://www.weiva.com/archives/427#respond Sun, 15 May 2016 02:10:00 +0000 http://www.weiva.com/?p=427 image

]]>
http://www.weiva.com/archives/427/feed 0
印记 – 微维WeiVa http://www.weiva.com/archives/411 http://www.weiva.com/archives/411#respond Wed, 04 May 2016 03:47:52 +0000 http://www.weiva.com/?p=411 捕获

 

希望有一天,真正的谷歌能够回归,真正的互联网精神能够触动每一个人……

]]>
http://www.weiva.com/archives/411/feed 0