- 博客(9)
- 收藏
- 关注
原创 NPOI杂记
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using
2015-01-28 21:31:05
423
原创 2D物理系统笔记
2D物理和3D系统有些不同,3D物理中OnTriggerEnter系列相关函数几乎能检测到所有类型(collider和Rigidbody的不同状态排列组合)的碰撞。 但2D系统现在测试的结果是:必要有一个刚体是受力的(Is Kinematic属性为false)才能触发碰撞。
2014-01-12 16:10:51
694
原创 APK反编译
源代码: private int getDpadStates(float x, float y) { if (dpad4Way) return DPAD_4WAY[get4WayDirection(x, y)]; final float cx = 0.5f; final float cy = 0.5f; int states = 0; if (x states |
2013-05-18 15:05:57
843
原创 XNA使用的各种问题杂录
资源 错误: Project item 'obj\Windows Phone\Debug\grid_mapContent.g.resources' could not be built. Embedded Resource is not a supported Build Action for items in the Content subproject. 原因: 这种g.resou
2013-01-15 22:13:08
1168
原创 毕业设计——Resources
4月27 纹理创建要求typedef struct IDirect3DDevice9 *LPDIRECT3DDEVICE9, *PDIRECT3DDEVICE9作为参数。 两个方案: 1.是资源层和引擎层平行,可以互相调用。 2.在CoreSystems层中添加一个EngineWindow模块,负责DX9的初始化,窗口相关的一些操作。 但是:DX的初始化和图形层的初
2012-04-27 17:05:27
432
原创 毕业设计——Core Systems
3月19 Core Systems 层从"内存分配”开始,打算采用“Pool Allocator”。处于实现方式研究阶段。 3月21 “内存分配”跟我想象的不太一样,准备采用下面的方式: Memory allocator is fairly simple: 1)Allocate a huge chunk of memory on program
2012-03-19 18:51:56
725
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人