文件名称:PengPeng1
- 所属分类:
- 其他智力游戏
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 26kb
- 下载次数:
- 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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PengPeng1
.........\3DCovertor.cpp
.........\3DCovertor.h
.........\PengPeng.clw
.........\PengPeng.cpp
.........\PengPeng.dsp
.........\PengPeng.dsw
.........\PengPeng.h
.........\PengPeng.plg
.........\PengPeng.rc
.........\PengPengDlg.cpp
.........\PengPengDlg.h
.........\res
.........\...\PengPeng.rc2
.........\resource.h
.........\SetConnection.cpp
.........\SetConnection.h
.........\SocketBlockClient.cpp
.........\SocketBlockClient.h
.........\SocketBlockServer.cpp
.........\SocketBlockServer.h
.........\StdAfx.cpp
.........\StdAfx.h
.........\说明.txt
.........\3DCovertor.cpp
.........\3DCovertor.h
.........\PengPeng.clw
.........\PengPeng.cpp
.........\PengPeng.dsp
.........\PengPeng.dsw
.........\PengPeng.h
.........\PengPeng.plg
.........\PengPeng.rc
.........\PengPengDlg.cpp
.........\PengPengDlg.h
.........\res
.........\...\PengPeng.rc2
.........\resource.h
.........\SetConnection.cpp
.........\SetConnection.h
.........\SocketBlockClient.cpp
.........\SocketBlockClient.h
.........\SocketBlockServer.cpp
.........\SocketBlockServer.h
.........\StdAfx.cpp
.........\StdAfx.h
.........\说明.txt