自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (1)
  • 收藏
  • 关注

转载 [MM] 多边形碰撞

多边形之间的碰撞                    body{                background: #fff;            }            #canvas{                background: #eee;            }

2017-08-07 13:09:17 286

转载 [MM] 地牢生成算法@2

#include #include #include #include  enum class Tile{ Unused, DirtWall, DirtFloor, Corridor, Door, UpStairs, DownStairs}; enum class Direction{ North, South, East, West,}; class M

2017-08-06 14:09:42 573

转载 [MM] 地牢生成算法@1

#include #include #include #include #include  class Dungeon{ int xmax; int ymax;  int xsize; int ysize;  int objects;  int chanceRoom; int chanceCorridor;  i

2017-08-06 14:07:20 720

转载 [MM] 迷宫DFS生成算法

#include#include#includeusing namespace std;#define MAX 1000char mapp[MAX][MAX];char vis[MAX][MAX];/* U R D L */const int xx[] = { 0, 1, 0, -1, -1, -1, 1, 1 };const int yy[]

2017-06-19 20:22:39 664

转载 [MM] 随机生成迷宫地牢

// Author: FreeKnight 2014-09-02#include "stdafx.h"#include #include #include #include  /*简单逻辑流程描述:将整个地图填满土在地图中间挖一个房间出来选中某一房间(如果有多个的话)的墙壁确定要

2017-06-19 20:03:08 681

原创 WIN32 监控目录

/*Monitor File Change Infomation---Completion Port ModuleMonitor Example 1.0  适用于监控一个目录Author: yaliao [lya_118@163.com]*/#include #include #include #include #define MAX

2016-09-20 20:11:39 497

转载 [CPP]宏的字符串处理

宏定义无## 和 #, 参数继续展开;否则就不继续展开1、#define A(line) shit_##line  #define B(line) A(line)      #define C int B(__LINE__)    C; --> int shit_行号;2、// 宏定义涉及到字符串连接##,字符串化#, 则参数__LI

2016-09-06 10:16:17 437

转载 [CC] Cocos2d-x热更新后台实现

后台环境:python 2.7 + webpy0.37webpy安装:1、解压webpy,cmd至webpy路径下2、cmd运行python setup.py install详细了解webpy,请访问其官网:http://webpy.org/为了保持客户端最安全与最小化热更新,我们需要判断出每个版本的差异,将差异文件下载到客户端。为了差异识别,我们将生产res与sr

2016-08-30 18:34:52 935

转载 [KBE] 目录结构

|- kbengine (KBE_ROOT 根目录) |- demo (游戏例子工程的根目录) |- res (工程的所有资源) |- spaces (通常存放游戏场景相关的资源,例如Navmesh) |- server (通常放置服务端相关的配置文件) |- scripts (所有的游戏逻辑,python文件)

2016-08-23 19:30:33 689

转载 [KBE] 分布式框架

|----------| | client | x N |----------|------------------------|-----|-------------------------------|----------| |----------| |----------|| loginsrv | x N |

2016-08-23 19:22:45 914

原创 [U3D] 将图集tpsheet 转成多张图

using UnityEngine;using UnityEditor;public class TestSaveSprite{ [MenuItem("Tools/导出精灵")] static void SaveSprite() { string resourcesPath = "Assets/Resources/"; foreach

2016-08-16 18:28:33 2419

WoW UI模拟器源码.

本资源为编译, 具体参照国外源码, 编译需要boost, wow版本挺高的

2013-10-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除