چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

Developing Turn-Based Multiplayer Games : With GameMaker Studio 2 and NodeJS

Yadu Rajiv

قیمت نهایی

۴۴٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۰٪ تخفیف
  • تخفیف زمان‌دار−۵٬۰۰۰ تومان

۵٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

نویسنده
Yadu Rajiv
ناشر
Apress
سال انتشار
۲۰۱۸
فرمت
PDF
زبان
انگلیسی
حجم فایل
۲٫۷ مگابایت
شابک
9781484238608، 9781484238615، 1484238605، 1484238613

دربارهٔ کتاب

Create your first turn-based multiplayer game using GameMaker Studio 2’s built-in networking functions as well as using a simple NodeJS server. This book introduces you to the complexities of network programming and communication, where the focus will be on building the game from the ground up. You will start with a brief introduction to GameMaker Studio 2 and GML coding before diving into the essential principles of game design. Following this, you will go through an introductory section on NodeJS where you will learn how to create a server and send and receive data from it as well as integrating it with GameMaker Studio. You will then apply multiplayer gaming logic to your server and unlock multiplayer game features such as locating a player, syncing their data, and recording their session. What You Will Learn • Discover the architecture of GameMaker Studio 2 • Add new features to your game with NodeJS modules • Integrate GameMaker Studio 2 with NodeJS • Master GameMaker Studio 2's built-in networking functions Who This Book Is For GameMaker Studio users who want to understand how the networking components of GMS 2 work. Basic JavaScript knowledge is required. Table of Contents 5 About the Author 8 About the Technical Reviewer 9 Acknowledgments 10 Introduction 11 Chapter 1: An Introduction to GMS2 12 Installing GameMaker Studio 2 12 GameMaker Studio 2: An Overview 14 The Resources Panel 14 Rooms 15 Objects and Instances 16 Listening to Events 16 Starting Our First Project 17 Editing Our Rooms 19 Chapter 2: An Introduction to GML 22 Where to Write Code and What It Means 22 Commenting Your Code 28 Variables and Data 29 Instance, Local, and Global Variables 31 Accessing Variables From Other Instances 33 Instance-Related Keywords: Other, All, and No One 35 Operations Using Operators 36 Managing Control Flow 37 The if ... else if ... else Statement 38 Comparison Operators 40 Loops 44 Looping With Repeat 45 Looping With While and Do...Until 47 Looping With the for Loop 48 The with Construction 49 The Switch Statement 51 The break, continue, and exit Statements 53 Chapter 3: Making Your First Game 55 Sketching the Game 56 Putting it Together 58 Starting Our New Project 59 Creating Objects and Their Instances 61 Working With Events 63 Creating the Game 68 Firing Bullets 70 Adding Sound to Your Shots 73 Hiding the Cursor 76 Going to Space 78 Upgrading the Main Menu 80 Handling Enemies 82 Shooting the Enemy 84 Spawning Enemies 88 Displaying Our Score 91 Our Enemies Fight Back 93 Adding Music 102 Challenges 104 Chapter 4: An Introduction to Node.js 106 Installing Node.js 107 Your First Program 107 Accessing the File System 108 Extending Our News Loader Example 111 Creating a Simple Server 113 Combining Our Server With File IO 115 A Server With Multiple Paths 118 Challenges 123 Chapter 5: Talking to Your Server 124 Starting the Project 124 Going Beyond Web APIs 129 The Die Roller Server 134 Talking to Our Die Roller Server via GameMaker Studio 136 Modifying Our Server for Sending Data to GMS2 142 Rolling the Die 144 Getting the Data 146 Challenges 151 Chapter 6: Building the Multiplayer Game 152 The Client 153 The Server 155 Building the Server 156 Starting the Game Client in GameMaker Studio 166 Updating Our Server: Organizing the Data 170 Updating Our Client: Reading the Player ID and Storing It 172 Updating Our Server: Matchmaking and the Game Class 173 Updating Our Client: Starting a Game, Waiting for Players, and Joining a Game 184 Updating Our Server: Building the Core Game Mechanics 189 Updating Our Client: The Game Screen 199 Index 207 Create your first turn-based multiplayer game using GameMaker Studio 2's built-in networking functions as well as using a simple NodeJS server. This book introduces you to the complexities of network programming and communication, where the focus will be on building the game from the ground up. You will start with a brief introduction to GameMaker Studio 2 and GML coding before diving into the essential principles of game design. Following this, you will go through an introductory section on NodeJS where you will learn how to create a server and send and receive data from it as well as integrating it with GameMaker Studio. You will then apply multiplayer gaming logic to your server and unlock multiplayer game features such as locating a player, syncing their data, and recording their session. You will: • Discover the architecture of GameMaker Studio 2 • Master GameMaker Studio 2's built-in networking functions • Integrate GameMaker Studio 2 with NodeJS • Add new features to your game with NodeJS modules Front Matter ....Pages i-xv An Introduction to GMS2 (Yadu Rajiv)....Pages 1-10 An Introduction to GML (Yadu Rajiv)....Pages 11-43 Making Your First Game (Yadu Rajiv)....Pages 45-95 An Introduction to Node.js (Yadu Rajiv)....Pages 97-114 Talking to Your Server (Yadu Rajiv)....Pages 115-142 Building the Multiplayer Game (Yadu Rajiv)....Pages 143-197 Back Matter ....Pages 199-206

قیمت نهایی

۴۴٬۰۰۰ تومان