文件名称:PengPeng1
- 所属分类:
- 其它资源
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2008-10-13
- 文件大小:
- 26.55kb
- 下载次数:
- 0次
- 提 供 者:
- anf****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是是我前几天仿写的小游戏《看谁守得住》的源代码,有详细的注释,代码短,但涉及到windows实时网络游戏的诸多基本元素,包括多线程、套接字、双缓冲、边界检查、3D视角等,程序可扩展性好,对程序中小球个数NBALL重新赋值(比如改成6)可以方便的扩展成网络桌球,对大球个数修改可以方便的扩展成网络足球(需要修改碰撞判断条件),也可以很方便的移植为调试OpenGL、D3D程序的平台(替换显示类C3DConvertor),是一个值得参考的入门级实时3D游戏编程框架
游戏支持单机和双人局域网两种游戏模式,双击右键,建立主机或者连接到主机
滚轮改变视角
窗口可拖动-this is a few days before my parodies of small game, "Let us see who will endure" the source code, a detailed notes, short code, But relates to real-time network game windows of many of the basic elements, including multi-threaded, socket, double buffering, border checks, 3D perspective, process scalability, and Small ball right procedures NBALL number re-assignment (for example into 6) to facilitate the expansion into the network pool, Number of big balls can be amended to facilitate the expansion of the network into football (need to amend the judgment collision conditions), can be very convenient for debugging OpenGL transplantation, Motion procedures platform (Replacement C3DConvertor show category), is a reference to the entry-level 3-D game programming fr a mework to support
游戏支持单机和双人局域网两种游戏模式,双击右键,建立主机或者连接到主机
滚轮改变视角
窗口可拖动-this is a few days before my parodies of small game, "Let us see who will endure" the source code, a detailed notes, short code, But relates to real-time network game windows of many of the basic elements, including multi-threaded, socket, double buffering, border checks, 3D perspective, process scalability, and Small ball right procedures NBALL number re-assignment (for example into 6) to facilitate the expansion into the network pool, Number of big balls can be amended to facilitate the expansion of the network into football (need to amend the judgment collision conditions), can be very convenient for debugging OpenGL transplantation, Motion procedures platform (Replacement C3DConvertor show category), is a reference to the entry-level 3-D game programming fr a mework to support
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 21840255pengpeng1.rar 列表 PengPeng1\3DCovertor.cpp PengPeng1\3DCovertor.h PengPeng1\PengPeng.clw PengPeng1\PengPeng.cpp PengPeng1\PengPeng.dsp PengPeng1\PengPeng.dsw PengPeng1\PengPeng.h PengPeng1\PengPeng.rc PengPeng1\PengPengDlg.cpp PengPeng1\PengPengDlg.h PengPeng1\res\PengPeng.ico PengPeng1\res\PengPeng.rc2 PengPeng1\resource.h PengPeng1\SetConnection.cpp PengPeng1\SetConnection.h PengPeng1\SocketBlockClient.cpp PengPeng1\SocketBlockClient.h PengPeng1\SocketBlockServer.cpp PengPeng1\SocketBlockServer.h PengPeng1\StdAfx.cpp PengPeng1\StdAfx.h PengPeng1\说明.txt PengPeng1\res PengPeng1 PengPeng1\PengPeng.plg