自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

梦幻DUO的游戏开发之路

“学者们都是很单纯的,如果他们不单纯的话,戏剧般的灵感就不会造访他们了。” ——东野圭吾

  • 博客(15)
  • 资源 (6)
  • 收藏
  • 关注

原创 算法C++ 【字符串】A == B ?

Time Limit: 1 Sec  Memory Limit: 64 MBSubmit: 3333  Solved: 94[Submit][Status][Web Board]Description给定两个数A和B(长度不超过100),如果它们相等则输出"YES",否则输出"NO"。Input每组测试数据包含两个数A和B。Out

2015-05-23 19:17:45 1238

原创 QT 快速入门(二)

QT 快速入门(二)1、QT设计师中创建菜单后,下方自动添加动作,右击,转到槽。如:void MainWindow::on_actionDs_triggered(){ QMessageBox msgBox; msgBox.setText(tr("New")); msgBox.exec();}2、状态栏添加Label:MainWindow::Mai

2015-05-13 16:01:34 677

原创 QT 快速入门(一)

QT 快速入门(一)示例一:创建Hello标签#include #include int main(int argc, char *argv[]){ QApplication a(argc, argv); QLabel *label = new QLabel("Hello");//也支持html富文本 label->show(); return a

2015-05-13 14:55:57 1029 2

原创 QT C++开发环境一键快速搭建

QT C++开发环境一键快速搭建很简单,只需下载QT creator。地址:http://mirrors.hust.edu.cn/qtproject/archive/qt/5.1/5.1.1/qt-windows-opensource-5.1.1-mingw48_opengl-x86-offline.exe这是32位的windows版本,如需其他的QT creator版本,请自行到

2015-05-13 14:40:55 1632

原创 DirectX9 示例:演示D3DXCreate*函数

//////////////////////////////////////////////////////////////////////////////////////////////////// // File: d3dxcreate.cpp// // Author: Frank D. Luna (C) All Rights Reserved//// System: AMD At

2015-05-02 22:35:28 1970

原创 DirectX9 示例:绘制茶壶

//////////////////////////////////////////////////////////////////////////////////////////////////// // File: teapot.cpp// // Author: Frank Luna (C) All Rights Reserved//// System: AMD Athlon 18

2015-05-02 22:34:49 1320

原创 DirectX9 示例:绘制正方体

//////////////////////////////////////////////////////////////////////////////////////////////////// // File: cube.cpp// // Author: Frank Luna (C) All Rights Reserved//// System: AMD Athlon 1800

2015-05-02 22:32:56 2496

原创 DirectX9 示例:绘制三角形

//////////////////////////////////////////////////////////////////////////////////////////////////// // File: triangle.cpp// // Author: Frank Luna (C) All Rights Reserved//// System: AMD Athlon

2015-05-02 22:32:30 1534

原创 MUD游戏编程 示例3.3临界区

// MUD Programming// Ron Penton// (C)2003// Demo03-03.cpp - Mutexes// This program runs three threads, one which manages two child threads, // and two child threads that alternate printing a lett

2015-05-02 22:29:39 676

原创 MUD游戏编程 示例3.2线程放弃处理器

// MUD Programming// Ron Penton// (C)2003// Demo03-02.cpp - Yielding// This program runs three threads, one which manages two child threads, // and two child threads that alternate printing a let

2015-05-02 22:28:29 688

原创 MUD游戏编程 示例3.1基本线程

// MUD Programming// Ron Penton// (C)2003// Demo03-01.cpp - Basic Threading// This program runs three threads, one which manages two child threads, // and two child threads that alternate printin

2015-05-02 22:27:05 3396

原创 DirectX9 D3DX几何体对象

D3DX几何体对象The D3DX library provides the following six mesh creation functions: D3DXCreateBox D3DXCreateSphere D3DXCreateCylinder D3DXCreateTeapot D3DXCreatePolygon D3DXCreateTor

2015-05-02 10:42:57 1420

原创 DirectX9 Begin/End Scene

Begin/End SceneThe last bit of information to mention is that all drawing methods must be called inside an IDirect3DDevice9::BeginSceneand IDirect3DDevice9::EndScenepair. For example, we would wri

2015-05-02 10:41:19 694

原创 DirectX9 IDirect3DDevice9::DrawIndexedPrimitive

IDirect3DDevice9::DrawIndexedPrimitiveThis method is used to draw primitives using index info.HRESULT IDirect3DDevice9::DrawIndexedPrimitive(D3DPRIMITIVETYPE Type,INT BaseVertexIndex,UINT

2015-05-02 10:38:04 916

原创 DirectX9 IDirect3DDevice9::DrawPrimitive

IDirect3DDevice9::DrawPrimitiveThis method is used to draw primitives that do not use index info.HRESULT IDirect3DDevice9::DrawPrimitive(D3DPRIMITIVETYPE PrimitiveType,UINT StartVertex,UIN

2015-05-02 10:33:16 1208

win7 64位汇编开发环境合集

集成了所有win7 64位下的汇编开发环境的程序,包括了DOSBOX、edit、masm、link、debug。使用说明可以见本人博文:《win7 64 汇编开发环境搭建》: http://blog.csdn.net/sinat_24229853/article/details/50133741

2015-12-01

DirectX11程序初始化

DirectX11程序初始化,出自龙书,本人博客有DirectX11学习笔记:http://blog.csdn.net/sinat_24229853

2015-09-28

泡泡堂 DirectX11 Demo

本程序是模仿泡泡堂游戏功能的Demo,使用DirectX11图形库和C++语言,在VS2010环境下编译。4500行左右。更多内容见本人博客:http://blog.csdn.net/sinat_24229853

2015-09-06

C++实现状态驱动智能体设计——消息功能

设计精度的游戏趋向于事件驱动。即当一个事件发生了(武器发射了子弹等),事件被广播给游戏中的相关的对象。这样它们可以恰当地做出反应。而这个消息可以是立即执行,也可以设定多久后才执行。更多详情参见本人博客:http://blog.csdn.net/sinat_24229853

2015-08-17

有限状态机(FSM)

游戏人工智能,状态驱动智能体设计——有限状态机(FSM),编译环境:VS2010。本人博客:http://blog.csdn.net/sinat_24229853

2015-08-17

C++控制台网络聊天室源代码

用C++和socket编程、多线程技术组成的控制台网络聊天室,1000行之内。之所以在控制台运行而不是用MFC等图形库是为了方便从底层理解socket编程和多线程,只有从深入理解技术原理后才能在实际应用如鱼得水。本人大一学生,我的CSDN博客是http://blog.csdn.net/sinat_24229853

2015-04-25

空空如也

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

TA关注的人

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