Download Implementation of a 2D Game Engine Using
Transcript
2.3.6 DirectPlay This is the network communications component of DirectX. DirectPlay allows you to create abstract connections with other computers with an IP address through any medium. You don’t have to know much, if anything, about network programming to be able to use DirectPlay properly. There’s no need to understand the protocol stack, or know which socket to use. DirectPlay supports sessions and lobbies. A session is an ongoing network game and a lobby is a server connection that you connect to inbetween games. 2.3.7 Direct3D The 3D graphics part of DirectX is split into two subcomponents; Direct3D Retained Mode (Direct3DRM) and Direct3D Immediate Mode (Direct3DIM). RM is a basic high level system that is relatively simple, but slow. IM is a low level system that is alot more complicated, but also alot faster. The science of 3D graphics optimization is well outside the scope of this document. 2.3.8 DirectSetup DirectSetup is used to simplify the installation of DirectX components. DirectX is very complex, and therefore hard to install manually. 2.3.9 DirectX Graphics With version 8.0 of DirectX, Microsoft combined DirectDraw and Direct3D to enhance performance and allow 3D effects in a 2D environment. Both DirectDraw and Direct3D still exist and work, but to call them you have to use the interface from before version 8.0. 9