programming multiplayer games

577 1.4K 0
programming multiplayer games

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... in Computer Games Technology and is a partner in a games development company based in Scotland called Hunted Cow Studios (www.huntedcow.com) The company’s current project is an online gaming web site called CowPlay.com, which currently offers free multiplayer games Andrew Mulholland Teijo Hakala is a software engineer from Jyväskylä, Finland, who specializes in network programming, game programming, ... Internet services increasingly common, Internet computer gaming has become ever more popular, while documentation on how to develop Internet games remains inadequate Programming Multiplayer Games provides in-depth coverage of all the major topics associated with online game programming, as well as giving the programmer easy to follow, step-by-step tutorials on how to create a fully functional network library,... MySQL, PHP4, sockets, and basic Windows programming The second part consists of five extensive tutorials, leading you through the stages of creating a working online game, which you can both learn from and expand upon After reading this book, you will have a solid knowledge of online game programming and you will also be able to start making your own online games Also note that the companion CD contains... written on Windows programming and there is also an excellent resource available on the Internet (http://msdn.microsoft.com), but the quick introduction provided here will give you enough knowledge to understand the concepts used in this book TIP Windows 98 Programming from the Ground Up by Herbert Schildt (ISBN: 0-07-882306-4) provides an excellent way of understanding Windows programming Chapter... a web browser We also give an introduction to TCP/IP and sockets, followed by how to get started with sockets programming Finally, we learn about different ways to send data and how to modify the behavior of our sockets 1 This page intentionally left blank Chapter 1 Introduction to Windows Programming Introduction The most essential knowledge anyone can have is the basics If you already know how to... library must be kept in this folder Tools — Any programming tools that are used alongside your library are stored here (such as file format converters) Now that we have our structure, we need to create a static link library project This is done by selecting File, New… in Visual Studio The following dialog is now visible Chapter 1 / Introduction to Windows Programming 11 Figure 1-9 Select the Win32 Static... full of practical information that will help you understand how to make functional online games We recommend that you read through this section thoroughly before attempting the tutorial section, as there is a lot of knowledge that will benefit you here This section first covers the basics of dialog-based Windows programming, which we will utilize in the tutorial section to create our login and lobby... OK in this box Now we are working with the Visual Studio main interface Currently the ClassView is active, but we are interested in the FileView, so select this tab Chapter 1 / Introduction to Windows Programming 5 Figure 1-2 The FileView is a list of all the C and C++ source and header files that are active in your project Currently we do not have any files in our project, so we need to add our main... appeared between the ClassView and FileView tabs This tab is called the ResourceView; it allows you to visually create and edit dialogs for use within your program 6 Chapter 1 / Introduction to Windows Programming Figure 1-4 Once you select the ResourceView tab, you will be presented with the resource editor Right-click on resource.rc in the main view and then left-click on the Insert option You will... ClientDlgProc(HWND DialogWindow, UINT Message, WPARAM wParam, LPARAM lParam) { // Process Messages switch(Message) { case WM_INITDIALOG: return FALSE; case WM_COMMAND: Chapter 1 / Introduction to Windows Programming 7 switch(wParam) { case IDCANCEL: EndDialog(DialogWindow, FALSE); return FALSE; default: break; } break; default: break; } return FALSE; } int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE . alt="" Programming Multiplayer Games Andrew Mulholland and Teijo Hakala Wordware Publishing, Inc. Library of Congress Cataloging-in-Publication Data Mulholland, Andrew. Programming multiplayer games. documentation on how to develop Internet games remains inadequate. Programming Multiplayer Games provides in-depth coverage of all the major topics associated with online game programming, as well as giving. CowPlay.com, which currently offers free multiplayer games. Teijo Hakala is a software engineer from Jyväskylä, Finland, who special - izes in network programming, game programming, and optimization. He also

Ngày đăng: 04/06/2014, 11:59

Từ khóa liên quan

Mục lục

  • Programming Multiplayer Games

    • Cover

    • Contents

    • About the Authors

    • Introduction

    • Part I - Theory

      • Chapter 1 Introduction to Windows Programming

        • Introduction

        • Windows Messaging System

        • Creating a Window

        • Sending Information to Your Window

        • Static Link Libraries

          • Creating a Static Link Library

          • Using a Static Link Library

          • Summary

          • Chapter 2 Using Databases

            • Introduction

            • What Is MySQL?

            • Installing MySQL

            • SQL Statements

            • Data Definition Language

              • Creating and Dropping Databases

                • Creating a Database

                • Dropping a Database

                • Column (Field) Types in MySQL

                • Adding, Modifying, and Dropping Tables

                  • Creating Tables

                  • Modifying Tables

Tài liệu cùng người dùng

Tài liệu liên quan