370 likes | 519 Views
Identifying and Managing Game Requirements. Lesson 2. Exam Objective Matrix. Identifying Basic Game Requirements. One of the fundamental elements required to be identified for a game development is the suitable input/output device for the selected platform
E N D
Identifying Basic Game Requirements • One of the fundamental elements required to be identified for a game development is the suitable input/output device for the selected platform • The type of input devices the gamer uses to interact with the characters of the game • The type of output devices the gamer uses to see the visual output of the gameplay
Identifying the Input Device • Some of the commonly used game controllers are: • Control pad or Joypad or Gamepad • Mouse • Keyboard • Kinect • Mobile devices • Steering wheel • Joystick
Gamepads and Mice • Gamepad • Can be held in a player’s hands • Allows for fewer fingers to be used to play • Mouse • Useful when the game requires precision, such as aiming in shooters • Not all actions in a game can be mapped to a mouse however
Input Device Examples Xbox 360 gamepad Sidewinder gaming mouse
Keyboards and Kinect • Keyboard • Standard input method for PC games • Large number of keys allows for large number of commands available to player • Kinect • Motion sensing device that can immerse the player into the game • Limited to Microsoft consoles and operating systems
Input Device Examples Sidewinder gaming keyboard Xbox 360 with Kinect
Mobile Devices and Steering Wheels • Mobile Devices • Can gaming platform or an input device for another gaming platform • Steering Wheels • Provides superior experience when playing any type of racing game • Allows greater player immersion into the racing game • Not used by other genres of games
Input Device Examples Windows Phone 8 Steering wheel
Other Input Devices • Light gun: uses light to detect the targeted location on the game screen • Dance pad or dance mat: players step on the mat and press the action buttons to control the game • Wii balance board: players stand on this unique platform and perform various physical exercise activities. • Musical game controller: resembles musical instruments, such as guitars, drums, and keyboards. • Other motion sensing device: Wii remote, PlayStation Move.
Identifying the Output Device • Output devices fall into two broad categories: display devices and sound devices. • Display devices display the visual element of the game. • Sound devices, such as speakers or headphones, provide the audio output of the game.
Choosing a Display Device • A wide variety of display devices is available to display the visual output of games. The choice depends on the following criteria: • Genre • Game platform • Game graphics • Target audience • Commonly used devices include: TVs, monitors, handheld devices and touchscreen devices.
Televisions and Monitors • Liquid crystal display (LCD): • Thinner and lighter than the standard television. Uses LCD display technology and are available in larger sizes. • Light emitting diode (LED): • Thinner and lighter than the standard television. Uses LED display technology as a video display. • Plasma display panel (PDP): • Displays bright images and uses a wide color range. The panels are available in 30 inches or larger sizes. • 3D: • Display and with 3D glasses to view the images in three-dimension.
Handheld and Touchscreen Devices • Handheld: • Smart phones, tablets, handheld consoles • Plus: portable, simple, widely available • Minus: small display, low end graphics by comparison • Touchscreen: • Allow interaction with game via touch • Plus: ease of play, increase in game appeal • Minus: not supported by all games or devices
Identifying Game Performance Requirements • To create a player-friendly game, you must identify the hardware, memory, and networking requirements for an optimal game performance. • Judge the game performance by analyzing how well the game can run on a chosen device with specific graphics. • Analyze whether the game can adapt to the network setup when players want to play the game online.
Managing Game Performance • To effectively manage the game performance, you must manage three components: • Platform-specific memory requirements • Graphics performance requirements • Networking requirements
Platform Specific Game Requirements • Console: • Have more features that accommodate great games when compared to other platforms. • Typically offer internal and external storage. • Mobile: • Typically have small volatile memory space. • Need to understand storage memory vs. memory available to run game in. • Graphics may be limited and vary from model to model.
Managing the Impact of Graphic Performance • These elements influence the performance of the graphics used in your game: • Central processing unit (CPU) • Graphics processing unit (GPU) • Reach • HiDef • Network impact
Understanding Output Resolution • A graphic displayed on the screen is made up of pixels or dots. • The number of such pixels or dots that make up an image is called the output resolution. • The larger the resolution, the sharper the picture will be. • The display resolution plays a key role in the game’s performance. • If the correct resolution is not used, the graphics might not be displayed properly, which will affect the game’s performance.
CPU vs. GPU • Central processing unit (CPU): thecomponent that performs all the processing activities of the system. • Graphics processing unit (GPU): the specialized process that performs graphics processing rapidly. • Exclusively designed to depict 3D graphics and drawing of 2D images.
Output Profiles • A profile is a set of features employed in the hardware and is platform-independent. • Allows the game code written for one platform to run on a different platform with little or no change in the code. • This is possible because the application programming interfaces (APIs) that access the profile in the hardware are consistent across platforms.
Reach vs. HiDef Profiles Reach Profile HiDef Profile Highest level of graphics. Suitable for use on platforms with higher power hardware and better capabilities. Windows PCs using a DirectX 10 GPU Xbox 360 consoles • Limited set of graphics features. • Integrated in hardware of most platforms. • Windows PCs using a DirectX 9 GPU • Xbox 360 consoles • Windows Phone
Network Impact Online Games Requirements Offline Games Requirements Can use high-end graphics and game code Do not require a dedicated server Ensure that the game is able to perform well on low bandwidth Ensure that the game is able to handle a large number of users • Use light graphics and code • Use a dedicated server • Ensure that the game is able to perform well on low bandwidth • Ensure that the game is able to handle a large number of users
Understanding Network Architecture • Virtual Environment (VE): a computer-generated simulation in which the system simulates a 3D virtual world. • Multiplayer online games use Distributed Virtual Environment (DVE), where gamers share the VE.
Multiplayer Architecture Types • Centralized-server architecture: • A single server with multiple connected clients. • When the number of clients increases, the server becomes a potential bottleneck. • Networked-server architecture: • Multiple servers where each client connects exclusively to one of these server. • Requires efficient distribution of the workload across the servers to avoid overload and ensure best performance. • Peer-to-peer architecture: • Client computer is the server.
Network Management Tasks • Basic network management with respect to online games involves the following tasks: • Managing the network operations • Administering the network • Maintaining the network • Provisioning the network • Monitoring network traffic • Monitoring network latency
IP, TCP and UDP • Internet Protocol (IP): a protocol that sends packets of data, called datagrams or network packets, from one computer to another. • Transmission Control Protocol (TCP): built on top of IP and commonly referred to as TCP/IP. It defines or controls how data is transmitted from one compute to another, adding the ability to validate delivery and request a retransmission for failed delivery.
IP, TCP and UDP • User Datagram Protocol (UDP): depends on IP, but does not add to it the way TCP does. Does not provide guarantee of delivery or the ability to request a packet be retransmitted.
TCP vs. UDP TCP UDP Adds almost no overhead to transmission of data. Provides no guarantees that the data will arrive in the correct order, or at all. Does guarantee that data that does arrive will either be whole, or be rejected. Provides faster transfers due to less overheard. • Adds overhead to data transmission on a network. • Guarantees delivery of data that is sent. • Allows data to be resent if it did not arrive the first time. • Most commonly used protocol across all network transmission applications.
Web Services • A Web service is a software application that exchanges information using standard protocols. • It helps computers on any platform to exchange information over intranets, extranets, and across the Internet by providing secured and reliable messaging. • You can create and set up Web services for your game using Microsoft Visual Studio.
Web Services Components • A Web service uses: • XML for representing data • Simple Object Access Protocol (SOAP) for data exchange • Web Services Description Language (WSDL) for describing the service’s functionality
Recap • Identifying Basic Game Requirements • Identifying the Input Device • Input device review • Identifying the Output Device • Display display review • Sound device review • Identifying Game Performance Requirements • Managing Platform-Specific Game Requirements • Comparing platforms • Managing the Impact of Graphic Performance • Managing Network Requirements • Managing the Network • Introduction to IP, TCP, UDP and Web Services