摘要: 1、打开软件,勾选start automatically2、点击domain,新建domain3、依次输入IP、端口号、域名、域名类型完成后的样子4、右键单击Users,新建用户。依次输入用户名、Home目录、用户密码。如果需要创建匿名账户,则用户名用Anonymous,将不会弹出设置账户密码窗口。5、单击刚刚建好的用户,选择Dir Access,右侧有各种用户权限设置。6、下面测试登陆 阅读全文
posted @ 2014-04-07 22:14 LouisSong 阅读(359) 评论(0) 推荐(0) 编辑
摘要: unity2d教程网http://learnunity2d.com/2d-shootem-up-tutorial/横版射击2d游戏系列教程http://pixelnest.io/tutorials/2d-game-unity/table-of-contents/一个高品质的教程网站http://www.raywenderlich.com/index.php 阅读全文
posted @ 2014-04-02 09:39 LouisSong 阅读(332) 评论(0) 推荐(0) 编辑
摘要: static RaycastHit2D Linecast(Vector2 start, Vector2 end, int layerMask = DefaultRaycastLayers, float minDepth = -Mathf.Infinity, float maxDepth = Mathf.Infinity);运用Physics2D.Linecast(transform.position,groundDetector.position,1 myLayerMask == 00001000 这时层级中的第3层被开启,其余层处于关闭状态 另外,需注意的是,层的序号是从0开始计算的 因此, 阅读全文
posted @ 2014-02-18 18:49 LouisSong 阅读(2524) 评论(1) 推荐(0) 编辑
摘要: 1、Lua保留的关键字:and,bread,do,else,elseif,end,false,for,function,if,in,local,nil,not,or,repeat,return ,then,true,until,while2、字符串多行显示a = [[multiple linewit... 阅读全文
posted @ 2014-01-19 12:56 LouisSong 阅读(2782) 评论(0) 推荐(0) 编辑
摘要: http://www.adobe.com/support/flashplayer/downloads.html 阅读全文
posted @ 2014-01-03 09:39 LouisSong 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: 1、创建分支git branch 2、切换分支 git checkout 创建并切换到该分支:git checkout -b 3、分支合并 git merge 4、提交代码git commit 5、删除分支git branch -d 如果报错,可以用强制删除命令git branch -D 阅读全文
posted @ 2013-12-16 11:17 LouisSong 阅读(213) 评论(2) 推荐(0) 编辑
摘要: /*** Version 1.1, May 4: fixed issue with symbols in library folders. **//*** BitmapSlice9 JSFL by Grant Skinner. Apr 13, 2010* Visit www.gskinner.com/blog for documentation, updates and more free code.*** Copyright (c) 2010 Grant Skinner* * Permission is hereby granted, free of charge, to any perso 阅读全文
posted @ 2013-12-08 16:34 LouisSong 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 今天写scrollPanel组件,碰到一个问题:textfield自动什么时候会调节高度。在创建TextField的时候,我制定了文本的height属性。之后,无论怎么设置文本,height总是不变的。如果设置_textField.autoSize = TextFieldAutoSize.CENTER;就算设置了height值,文本的height总是自动改变的,当然,前提得先设置wordwrap好multiline为true。 阅读全文
posted @ 2013-12-07 23:19 LouisSong 阅读(154) 评论(0) 推荐(0) 编辑
摘要: http://onebyonedesign.com/flash/particleeditor/ 阅读全文
posted @ 2013-11-15 09:48 LouisSong 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1、BoxCollider:参考:http://huangxuyang.cn/unity3d/learning-unity3d-note-10Is Trigger(是否为触发器):这个选项是供脚本使用的,如果勾选了这个则不会有碰撞的效果,但是游戏引擎会通知脚本有物体发生了碰撞,碰撞后发生什么事情在OnTriggerEnter函数里面写。Material(碰撞器材质):在这里可以选择一种物理材质,来模拟更真实的碰撞效果,比如金属之间的碰撞与石头之间的碰撞效果肯定是不一样的。Center(碰撞器中心点):可以调整碰撞器离物体中心的距离,也就是移动绿框。Size(碰撞器大小):调整碰撞器的缩放大小, 阅读全文
posted @ 2013-10-25 13:56 LouisSong 阅读(211) 评论(0) 推荐(0) 编辑