TexturePacker 7.4.0 永久试用
regedit 打开计算机\HKEY_CURRENT_USER\Software\code-and-web.de\TexturePacker\licensing修改 trialExpired 为 false打开计算机\HKEY_CURRENT_USER\Software\code-and-web.de\TexturePacker\licensing\data修改 expiryDate 和 rawd
regedit 打开计算机\HKEY_CURRENT_USER\Software\code-and-web.de\TexturePacker\licensing修改 trialExpired 为 false打开计算机\HKEY_CURRENT_USER\Software\code-and-web.de\TexturePacker\licensing\data修改 expiryDate 和 rawd
创建动画片段,并设置整个动画时长为1秒const animationClip = new AnimationClip(); animationClip.duration = 1.0;每个轨道对应数值不同,这里position用vectorTrack,在官网有不同轨道对应的track这个效果就相当于 在属性列表新增了position属性const track = new animation.Vec
我一开始以为界面载入成功即所有节点加载,active时触发 加载后播放功能,实际不是node一开始active为false时,节点未加载,当active为true一次后再次false后true也无法达到 加载后播放 的功能,除非设置为预设每次创建更好的办法则是设置透明度为0,播放动画
当你创建图形1并没有stroke或fill时,创建完图片2再stroke、fill 则两个图形都会被stroke和fill图形1且stroke后,图形2再stroke、fill。那么图形1只有stroke,图形2有stroke和fillmask节点下graphics组件不支持stroke和fill的颜色设置,其他功能正常代码: start() { let g = this.g
实际上2d游戏使用getUIPosition即可,无需屏幕转游戏坐标let node: Node = event.target let { x, y } = event.getLocation() let re = this.camera.screenToWorld(new Vec3(x, y, 0), node.getWorldPosition()) this.body.setWorldPosi