MonoGame Mastery : Build a Multi-Platform 2D Game and Reusable Game Engine
معرفی کتاب «MonoGame Mastery : Build a Multi-Platform 2D Game and Reusable Game Engine» نوشتهٔ Safari، an O'Reilly Media Company، Lee Holmes و Jarred Capellman, Louis Salin، منتشرشده توسط نشر Apress : Imprint: Apress در سال 2020. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
کتاب «تبحر در مونوگیم» (MonoGame Mastery) نوشتهٔ جرد کپلمن و لوئیس سالین، راهنمایی گامبهگام برای توسعهدهندگانی است که میخواهند با فریمورک متنباز مونوگیم، بازیهای دوبعدی حرفهای و چندسکویی بسازند. این کتاب که در سال ۲۰۲۰ توسط انتشارات معتبر آپرس منتشر شده، با زبانی دقیق و ساختاری آموزشی، از مبانی اولیه تا ساخت یک موتور بازی قابل استفاده مجدد را پوشش میدهد. مخاطب این اثر با پیشفرض آشنایی با زبان برنامهنویسی سیشارپ، در پایان به درکی عمیق و کاربردی از چرخهٔ تولید بازی دست مییابد.
دربارهٔ کتاب «تبحر در مونوگیم» —
کتاب «تبحر در مونوگیم» با هدف پر کردن شکاف بین دانستن اصول برنامهنویسی و توانایی ساخت یک بازی کامل نوشته شده است. فریمورک مونوگیم، که از محبوبیت بالایی میان توسعهدهندگان مستقل برخوردار است، بستری قدرتمند برای خلق بازیهای دوبعدی فراهم میآورد و این کتاب به شما میآموزد که چگونه از حداکثر توان آن بهره ببرید. روند آموزشی کتاب از صفر آغاز میشود؛ با مفاهیم پایهای مونوگیم و خط لولهٔ محتوایی (Content Pipeline) شروع کرده و سپس به سراغ موضوع محوری یعنی ساخت یک موتور بازی قابل استفاده مجدد بر روی این فریمورک میرود. در ادامه، کتاب به طور عمیق به اجزای کلیدی هر بازی از جمله گرافیک، ورودی، صدا و هوش مصنوعی میپردازد و اهمیت ابزارهای کمکی در فرایند تولید را نیز بررسی میکند. با مطالعهٔ این کتاب و پیادهسازی مثالهای عملی آن، شما نه تنها با یک بازی دوبعدی کاملاً کاربردی آشنا میشوید، بلکه الگوی مناسبی برای شروع پروژههای شخصی خود در اختیار خواهید داشت. مطالب این کتاب برای طیف وسیعی از پروژههای دوبعدی، از بازیهای ماجراجویی جانبی تا بازیهای مبارزهای، کاربرد دارد.
دربارهٔ نویسنده
جرد کپلمن (Jarred Capellman) بیش از ۱۳ سال سابقهٔ توسعهٔ نرمافزار حرفهای دارد و در حال حاضر مدیر مهندسی در شرکت اسپارکاگنیشن (SparkCognition) در تگزاس است. علاقهٔ او به برنامهنویسی بازی از دوران کودکی و زمانی که در ۹ سالگی مشغول ساخت بازیهای متنی با کیوبیسک بود، آغاز شد و بعدها با یادگیری سیپلاسپلاس و اپنجیال، این علاقه را به صورت جدی دنبال کرد. لوئیس سالین (Louis Salin) نیز بیش از ۱۵ سال در حوزههای گوناگون توسعه نرمافزار فعالیت داشته است. او از دوران نوجوانی و با کپی کردن کد بازیهای ویدئویی از کتابهای کتابخانه، عشق خود به برنامهنویسی را کشف کرد و اولین بازی خود را در دبیرستان نوشت. هر دو نویسنده، پیشینهای عمیق در کار با فریمورکهایی مانند مونوگیم، وولکن و دایرکتاکس دارند و این تجربه را در قالب این کتاب ارزشمند به اشتراک گذاشتهاند.
چرا باید «تبحر در مونوگیم» را بخوانید؟
پر کردن شکاف بین دانش نظری و عملی: با یک مسیر یادگیری ساختاریافته، از مبانی تا ساخت یک موتور بازی قابل استفاده مجدد پیش میروید و مفاهیم انتزاعی را در عمل درک میکنید.
درک معماری موتور بازی: با اصول طراحی و پیادهسازی یک موتور بازی بر روی فریمورک مونوگیم آشنا میشوید و میآموزید که چگونه کدی منعطف و قابل استفاده مجدد بنویسید.
تسلط بر مؤلفههای کلیدی: درک عمیقی از نحوهٔ پیادهسازی گرافیک، مدیریت ورودی، صدا، هوش مصنوعی و تشخیص برخورد (Collision Detection) در یک محیط واقعی پیدا میکنید.
الگویی برای پروژههای آینده: با داشتن یک بازی کامل و یک موتور بازی به عنوان نمونه، نقشهٔ راه مشخصی برای شروع و توسعهٔ پروژههای شخصی خود در اختیار خواهید داشت.
آشنایی با الگوهای طراحی رایج: با الگوهای طراحی متداول در توسعهٔ بازی و موتورهای حرفهای مانند یونیتی آشنا میشوید و کد خود را حرفهایتر مینویسید.
این کتاب برای چه کسانی مناسب است؟
این کتاب برای طیف گستردهای از برنامهنویسان مونوگیم، از مبتدی تا پیشرفته، طراحی شده است. پیشنیاز اصلی برای بهرهمندی از مطالب کتاب، داشتن دانش کاری زبان برنامهنویسی سیشارپ (C#) است. اگر تاکنون بازی نساختهاید، این کتاب نقطهٔ شروع ایدهآلی برای ورود به دنیای توسعهٔ بازی با مونوگیم است. همچنین اگر تجربهٔ نسبی دارید، این اثر به شما کمک میکند تا دانش خود را ساختارمند کنید، با الگوهای معماری حرفهای آشنا شوید و کیفیت پروژههای خود را به سطح بالاتری ارتقا دهید. هر کسی که آرزوی ساخت بازیهای دوبعدی خود را دارد و میخواهد فراتر از مثالهای ساده حرکت کند، مخاطب اصلی این کتاب محسوب میشود.
سوالات متداول
آیا برای استفاده از این کتاب باید قبلاً بازی ساخته باشم؟
خیر، این کتاب از ابتداییترین مفاهیم شروع میکند و شما را قدمبهقدم با فرایند ساخت بازی آشنا میسازد. تنها پیشنیاز ضروری، آشنایی با زبان سیشارپ است و نیازی به تجربهٔ قبلی در ساخت بازی ندارید.
آیا مطالب کتاب صرفاً محدود به بازیهای سبک خاصی است؟
خیر. اصول معماری و کدنویسی ارائهشده در کتاب برای طیف وسیعی از پروژههای دوبعدی، از جمله بازیهای ماجراجویی، سکوبازی (پلتفرمر)، و بازیهای مبارزهای قابل استفاده است.
آیا با خواندن این کتاب ساختار موتورهای بازی حرفهای مانند یونیتی را میآموزم؟
بله، یکی از اهداف کتاب آشنایی با الگوهای طراحی رایجی است که در موتورهای حرفهای مانند یونیتی استفاده میشود. درک این الگوها به شما کمک میکند تا درک بهتری از نحوهٔ کارکرد این موتورها داشته باشید و بتوانید کد خود را ساختارمندتر بنویسید.
Master the art of game creation with MonoGame—the cross-platform framework of choice for independent developers. Learn the various aspects needed to create your next game by covering MonoGame framework specifics, engine creation, graphics, patterns, and more. The MonoGame framework provides an incredible canvas for the programmer to create their next 2D game, and this book teaches you to make the most of it. You will start from the ground up, beginning with the basics of what MonoGame is, the pipeline, and then how to build a reusable game engine on top of the framework. You will deep dive into various components of each aspect of a game, including graphics, input, audio, and artificial intelligence. The importance of game tooling is also covered. By the end, you will have a mastery level of understanding of how to create a 2D game using MonoGame.With a fully functional 2D game, aspiring developers will have the ideal blueprint to tackle their next fully featured game. The material covered is applicable for almost any 2D game project ranging from side scrolling adventures to fighting games. **What You Will Learn** * Learn to build a game with the MonoGame framework. * Understand game engine architecture and how to build an engine onto the MonoGame framework. * Grasp common design patterns used in game development and in fully featured engines, such as Unity. **Who This Book Is For** Beginner to advanced MonoGame programmer would find this book helpful. The audience is expected to have a working knowledge of C#. Master the art of game creation with MonoGame—the cross-platform framework of choice for independent developers. Learn the various aspects needed to create your next game by covering MonoGame framework specifics, engine creation, graphics, patterns, and more. The MonoGame framework provides an incredible canvas for the programmer to create their next 2D game, and this book teaches you to make the most of it. You will start from the ground up, beginning with the basics of what MonoGame is, the pipeline, and then how to build a reusable game engine on top of the framework. You will deep dive into various components of each aspect of a game, including graphics, input, audio, and artificial intelligence. The importance of game tooling is also covered. By the end, you will have a mastery level of understanding of how to create a 2D game using MonoGame. With a fully functional 2D game, aspiring developers will have the ideal blueprint to tackle their next fully featured game. The material covered is applicable for almost any 2D game project ranging from side scrolling adventures to fighting games. What You Will Learn Learn to build a game with the MonoGame framework. Understand game engine architecture and how to build an engine onto the MonoGame framework. Grasp common design patterns used in game development and in fully featured engines, such as Unity. Who This Book Is For Beginner to advanced MonoGame programmer would find this book helpful. The audience is expected to have a working knowledge of C#. "Master the art of game creation with MonoGame--the cross-platform framework of choice for independent developers. Learn the various aspects needed to create your next game by covering MonoGame framework specifics, engine creation, graphics, patterns, and more. The MonoGame framework provides an incredible canvas for the programmer to create their next 2D game, and this book teaches you to make the most of it. You will start from the ground up, beginning with the basics of what MonoGame is, the pipeline, and then how to build a reusable game engine on top of the framework. You will deep dive into various components of each aspect of a game, including graphics, input, audio, and artificial intelligence. The importance of game tooling is also covered. By the end, you will have a mastery level of understanding of how to create a 2D game using MonoGame. With a fully functional 2D game, aspiring developers will have the ideal blueprint to tackle their next fully featured game. The material covered is applicable for almost any 2D game project ranging from side scrolling adventures to fighting games"--Provided by the publisher Front Matter ....Pages i-xviii Introduction (Jarred Capellman, Louis Salin)....Pages 1-16 Configuring the Dev Environment (Jarred Capellman, Louis Salin)....Pages 17-34 MonoGame Architecture (Jarred Capellman, Louis Salin)....Pages 35-50 Planning Your Game Engine (Jarred Capellman, Louis Salin)....Pages 51-74 Asset Pipeline (Jarred Capellman, Louis Salin)....Pages 75-93 Input (Jarred Capellman, Louis Salin)....Pages 95-124 Audio (Jarred Capellman, Louis Salin)....Pages 125-145 Particles (Jarred Capellman, Louis Salin)....Pages 147-190 Collision Detection (Jarred Capellman, Louis Salin)....Pages 191-235 Animations and Text (Jarred Capellman, Louis Salin)....Pages 237-270 Level Design (Jarred Capellman, Louis Salin)....Pages 271-316 Back Matter ....Pages 317-323