![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
游戏开发
Code Talk
这个作者很懒,什么都没留下…
展开
-
NES Emulator Resources
持续更新中…GeneralNES DevNES emulator development guideCPU6502 ReferenceTest Suit原创 2020-01-26 14:03:27 · 345 阅读 · 0 评论 -
Unity文章集合
2D动画Making animations with Unity 2D原创 2020-01-25 19:12:25 · 222 阅读 · 0 评论 -
Unity3d 连续打印Log时的一个小坑
今天在调试的时候,将一个鼠标事件打印到控制台,但是发现每个事件只打印一次。一开始还以为逻辑写错了只执行了一次,最后发现,在console窗口的左上角有一个“Collapse”选项,如果选上的话,那么连续的相同日志将会被合并成一条显示在console上,感觉被坑了。原创 2018-01-13 10:45:34 · 1537 阅读 · 0 评论 -
Unity3d实现检测鼠标点击2d object事件
首先,需要为被检测的game object添加Box Collider component。 然后可以使用如下代码进行检测:if (Input.GetMouseButtonDown (0)) { //检测鼠标左键是否点击 Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition); RaycastHit hit;原创 2018-01-07 12:21:27 · 10524 阅读 · 1 评论 -
Unity3d 登录时“Sorry, this link is no longer valid”的问题
一开始还以为是因为墙的问题,后来发现其实是因为windows防火墙导致的。 解决方法是: 在“设置->网络和INTERNET->Windows 防火墙->允许应用或功能通过Windows防火墙 “中将与Unity相关的全都选上就好了。原创 2018-01-28 10:09:57 · 14461 阅读 · 4 评论 -
关于Unity3D分辨率的设置
Windows/Mac分辨率选择界面默认设置下,会在游戏运行后会显示一个选择分辨率的对话框。 如果想要去掉的话,可以选择”File -> Build Settings -> Player Settings -> Resolution and Presentation”,将”Display Resolution Dialog”选成”Disabled”。设置固定分辨率...原创 2018-04-05 09:46:41 · 27964 阅读 · 0 评论