随笔分类 -  工作记录

2020年1月
摘要:光照贴图和场景绑定,不能带到prefab里 Lighting Data Asset: https://docs.unity3d.com/Manual/LightmapSnapshot.html using System.Threading; namespace System { public int 阅读全文

posted @ 2020-01-02 15:52 void87 阅读(153) 评论(0) 推荐(0)

2019年12月
摘要:adb devices 默认设置 默认设置 阅读全文

posted @ 2019-12-01 21:54 void87 阅读(181) 评论(0) 推荐(0)

2019年11月
摘要:unity 官网 https://unity.cn/ 阅读全文

posted @ 2019-11-01 09:40 void87 阅读(135) 评论(0) 推荐(0)

2019年10月
摘要:菜鸟压缩 http://c.runoob.com/front-end/51 Laya.Animation.frames (Laya.Pool as any)._poolDic TouchEvent laya.display.Sprite laya.utils.Dragging TouchManage 阅读全文

posted @ 2019-10-08 11:13 void87 阅读(187) 评论(0) 推荐(0)

2019年9月
摘要:忙 阅读全文

posted @ 2019-09-01 08:12 void87 阅读(175) 评论(0) 推荐(0)

2019年8月
摘要:目录 e.g. : Android (小米8 SE) Application.persistentDataPath: /storage/emulated/0/Android/data/com.VoidGame.VoidTest/files Application.dataPath: /data/ap 阅读全文

posted @ 2019-08-01 08:39 void87 阅读(331) 评论(0) 推荐(0)

2019年7月
摘要:layabox 全局点击事件拦截处理 laya.core.js MouseManager 12333 __proto.initEvent if (e.type) { if (e.type == "mousedown") { console.log(e.type); console.log(evt.t 阅读全文

posted @ 2019-07-01 08:51 void87 阅读(197) 评论(0) 推荐(0)

2019年6月
摘要:wx.setKeepScreenOn ios 需要在重新进入小游戏的时候 重新设置 android没有这个问题 wx.setStorageSync 同步版本有可能引发性能问题, requestAnimationFrame 微信小游戏 hello world import './js/libs/wea 阅读全文

posted @ 2019-06-03 08:00 void87 阅读(216) 评论(0) 推荐(0)

2019年5月
摘要:微信setLocalStorage存数组 不能只改单个索引的值 需要重新给 数组赋值一个新的数组 数组复制可以使用concat Laya.loader 提供附加类型 可以正确解析 相关类型 如 atlas,json wx.setUserCloudStorage wx.setUserCloudStor 阅读全文

posted @ 2019-05-02 10:10 void87 阅读(552) 评论(0) 推荐(0)

2019年4月
摘要:Box2D 碰撞组(collisiongroup)允许你指定一个整数的组索引值,你可以设置具有相同组索引值的装置发生碰撞(正索引),也可以设置所有具有相同组索引值的装置不会彼此碰撞(负索引) Layabox RigidBody group 设置 A B 0 0 碰撞 0 1 碰撞 1 1 碰撞 -1 阅读全文

posted @ 2019-04-02 18:56 void87 阅读(231) 评论(0) 推荐(0)

2019年3月
摘要:分包加载 使用公众号登录微信提示 "公众号暂不支持此种登录方式" 使用已经注册过的手机号注册新的微信账号提示 "你申请注册的手机号已被其他微信号绑定,暂时不能使用该手机号注册" https://github.com/witcat/LayaWxCacheFromZip /******/ (functi 阅读全文

posted @ 2019-03-01 14:45 void87 阅读(366) 评论(0) 推荐(0)

2019年2月
摘要:openid 会随着 appid 变化? 微信小游戏 更新版本 不需要重新授权? 微信开发工具调试库版本影响广告是否能播放 wx.createUserInfoButton const button = wx.createUserInfoButton({ type: 'text', text: '获取 阅读全文

posted @ 2019-02-01 08:26 void87 阅读(716) 评论(0) 推荐(0)

2019年1月
摘要:GifCam 主域发送 laya.ui.js __proto._postMsg=function(){ var mat=new Matrix(); mat.translate(this.x,this.y); var stage=Laya.stage; mat.scale(stage._canvasT 阅读全文

posted @ 2019-01-02 11:06 void87 阅读(277) 评论(0) 推荐(0)

2018年12月
摘要:Online JavaScript Beautifier XShell https://filezilla-project.org/ Layabox 部分类结构图 QQ轻游戏 https://hudong.qq.com/ 广告与分享 游戏接入 qqPlayCore.js XCode下的bricks工 阅读全文

posted @ 2018-12-01 19:40 void87 阅读(393) 评论(0) 推荐(0)

2018年11月
摘要:装Layabox 1.x 前要装git texture.loadImage 会缓存图片,texture.load同样的图片会一直加载 且不会清空占用的内存 image.skin会缓存图片 https://layaair.ldc.layabox.com/demo/?category=2d&group= 阅读全文

posted @ 2018-11-01 08:45 void87 阅读(258) 评论(0) 推荐(0)

2018年10月
摘要:Ubuntu 18.04 截图工具 flameshot sudo apt-get install flameshot 快捷键 setting->device->keyboard cmd "flameshot cut" Gif录频软件 https://www.screentogif.com/ Laya 阅读全文

posted @ 2018-10-08 08:10 void87 阅读(362) 评论(0) 推荐(0)

2018年9月
摘要:微信小游戏试玩 跳舞的线 跟着音乐的节奏按屏幕,有一条类似小蛇的物体左右摇摆前进,规定时间内按下可以正常游戏直到结束一关,没有正确按下,则游戏失败 红点杀手 按住屏幕拖动绿色三角在游戏区域里移动,躲避四周的红点,可以吃各种道具来消灭红点,被红点碰到则游戏结束 羊来啦 按一次屏幕发射一张捕捉从左边羊群 阅读全文

posted @ 2018-09-01 09:35 void87 阅读(197) 评论(0) 推荐(0)

2018年8月
摘要:EasyUI ExtJS Ace Admin Admin LTE http://tool.chinaz.com/Tools/unixtime.aspx 一个小模块使用的版本:WeUI 1.1.3 + jQuery 2.1.4 + jquery-weui.css 1.2.0 + jquery-weui 阅读全文

posted @ 2018-08-02 08:51 void87 阅读(220) 评论(0) 推荐(0)

2018年7月
摘要:GoLand File->Settings->Editor->General->Appearance->Show parameter name hints Go规定包声明中的包名是代码包路径的最后一个元素 go 关键字及分类类别 关键字 程序声明 import,package程序实体声明和定义 ch 阅读全文

posted @ 2018-07-01 07:56 void87 阅读(195) 评论(0) 推荐(0)

2018年6月
摘要:逆波兰式(Reverse Polish notation) using System; using System.Collections.Generic; using System.Text; namespace Test1 { class Program { static bool IsNumbe 阅读全文

posted @ 2018-06-02 10:09 void87 阅读(206) 评论(0) 推荐(0)

导航