微信小游戏:打飞机示例程序配置
摘要:1、部署云函数 在 cloud-functions/login 文件夹右击选择 “上传并部署”所以文件 和 依赖环境 在 cloud-functions/uploadScore 文件夹右击选择 “上传并部署”所以文件 和 依赖环境 2、修改环境id 在miniprogram/js/main.js文件
阅读全文
posted @
2021-11-20 15:39
Jason_c
阅读(232)
推荐(0)
Unity 图片镜像翻转Shader
摘要:通过shader将照片水平、垂直方向镜像翻转,比通过Texture2D逐像素操作快多了 Shader "Unlit/Mirror" { Properties { _MainTex ("Texture", 2D) = "white" {} _MirrorU("水平镜像翻转",float)=0 _Mir
阅读全文
posted @
2021-11-11 19:46
Jason_c
阅读(2930)
推荐(0)
磁盘空间不足?查找大文件夹或大文件?
摘要:磁盘空间不足?查找大文件夹或大文件? 无意的中Get一款神器 WizTree 简直就是理想型的查找大文件的软件,速度快,而且还免费 官网下载地址:https://www.diskanalyzer.com/
阅读全文
posted @
2021-11-11 15:07
Jason_c
阅读(743)
推荐(0)
微信小程序:求对数
摘要:function getBaseLog(x, y) { return Math.log(y) / Math.log(x); } // 2 x 2 x 2 = 8 console.log(getBaseLog(2, 8)); // expected output: 3 // 5 x 5 x 5 x 5
阅读全文
posted @
2021-11-06 19:44
Jason_c
阅读(360)
推荐(0)