- 博客(88)
- 资源 (2)
- 收藏
- 关注
原创 threejs当物体旋转到一定角度后消失或者背面消失不见【已解决】
场景:当你渲染一个几何体的时候发现背部不可见,旋转到移动角度又会莫名消失。.所以在转到有些面的背面后,面就不再能看到了。注: 仅为个人遇到情况以及解决方法。原因:在某些情况下,是因为。
2024-03-19 11:35:24 243
原创 phaser3 创建多个按钮
phaser3跟phaser2的API还是有挺大差别的,在phaser3中,phaser2的创建按钮方式 this.add.button()在phaser3已经不适合使用,在phaser3可以用图片、精灵等代替。
2023-09-14 11:38:52 268 1
原创 phaser.min.js:27 Uncaught (in promise) DOMException: play() failed because the user ...(已解决)
解决方案:设置视频为静音就可以了(video.setMute(false))
2023-07-20 14:38:43 258
原创 uview-ui报错:Component is not found in path node-modules/uview-ui/components/xx/xx
uview-ui报错:Component is not found in path node-modules/uview-ui/components/xx/xx
2023-03-09 10:22:48 5842 4
原创 epubjs主题颜色在同一页只能更换一次,选择其他主题不生效问题【已解决】
epubjs主题颜色在同一页只能更换一次,选择其他主题不生效问题【已解决】
2022-09-26 17:16:38 494 4
原创 echarts鼠标滑动缩放后会自动回弹(已解决)
今天碰到的一个小坑:由于数据过多,在有限的视野内显示不完,需要滑动缩放完成数据的预览。跟着官方文档写之后确实是实现缩放和滑动,但是问题也就出现了,过了几秒后自动回弹原大小。这两个属性,注释之后就解决了回弹问题。更改后的代码:(解决回弹问题)原代码:(会发生回弹)...
2022-08-05 17:02:39 1117
原创 git报错:Another git process seems to be running in this repository, e.g. an editor opened by ‘git co
git报错:Another git process seems to be running in this repository, e.g.an editor opened by ‘git commit’. Please make sure all processesare terminated then try again. If it still fails, a git processmay have crashed in this repository earlier:remove the
2022-07-01 13:52:21 1310
原创 VUE3 You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignor
VUE3 You may use special comments to disable some warnings. Use // eslint-disable-next-line to ignor
2022-05-25 22:30:44 7112 9
原创 项目优化策略之——vue路由懒加载
当打包构建项目时,JavaScript包会变得非常大,从而影响页面加载。如果我们能把不同路由对应的组件分割成不同的代码块,然后当路由被访问时才加载对应组件,这样就会使得项目运行变得更加高效了。
2022-05-20 21:27:17 226
原创 threejs requestAnimationFrame 导致的call stack超出上限的问题
threejs requestAnimationFrame 导致的call stack超出上限的问题
2022-04-07 16:56:32 743
原创 修改 vant Collapse 折叠面板右侧图标及其颜色,保留原来动画
修改 vant Collapse 折叠面板右侧图标及其颜色,保留原来动画
2022-03-21 14:23:25 3407 1
原创 phaser3设置重力gravity、检查边界WorldBounds、边界回弹Bounce,碰撞
phaser3设置重力gravity、检查边界WorldBounds、边界回弹Bounce,碰撞
2022-01-14 11:53:35 2542
phaser设置横屏,然后相机跟随精灵时游戏世界出现晃动
2022-09-02
TA创建的收藏夹 TA关注的收藏夹
TA关注的人