
微信小游戏
小菜希
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
微信小程序带参数跳转到小游戏
小游戏的默认路径是 pages/index/index wx.navigateToMiniProgram({ appId: 'wxef98a1fd370dd5ac', path:'pages/index/index?channcelCode=qiuqiu&goto=220', envVersion: 'develop', extraData:...原创 2018-11-23 19:37:53 · 5655 阅读 · 1 评论 -
微信小程序解密用户数据失败
应该先调用 wx.login取得code,再获取用户的信息,服务端去解密,这样就可以解密成功。原创 2018-11-29 10:34:18 · 7630 阅读 · 0 评论 -
微信小游戏中时间戳转日期
subtime就是秒数 let currTime = wx.getPerformance().now(); let subTime = Math.ceil( (Math.ceil(currTime) - lastTime) / 1000000 ) ;原创 2018-12-12 10:36:51 · 1212 阅读 · 0 评论 -
js中第三方库lodash和async及moment的使用
import * as _ from 'lodash' import * as _async from 'async' import * as _moment from 'moment' import * as _md5 from 'md5' var log = console.log const {ccclass, property} = cc._decorator; @ccclass e...原创 2019-01-04 16:06:39 · 1666 阅读 · 0 评论 -
使用nodejs反编译微信小游戏源码
首先上2个大佬的github 这个是原版,不支持分包 https://github.com/qwerty472123/wxappUnpacker 这个据说支持分包,没测试,只支持mac系统 https://github.com/larack8/wxappUnpacker.git 安装方式 首先当然是 clone 下来,然后到文件夹 执行 // 安装依赖包 npm i // 反编译 node wuW...原创 2019-03-28 23:23:32 · 2489 阅读 · 0 评论 -
Cocos Creator 屏幕适配脚本
挂载在Scene上,预制体需要添加 Widget 组件 /** * 画布适配策略 * note: * 1. 只能挂载画布节点 */ let StrategyEnum = cc.Enum({ NONE: 0, AUTO: 1, FIT_WIDTH: 2, FIT_HEIGHT: 3, FIT_WIDTH_HEIGHT: 4, }); cc.Cl...原创 2019-10-09 15:50:27 · 808 阅读 · 0 评论