
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
C++ را از صفر یاد بگیرید و ساخت بازیهای خودتان را شروع کنید.
درباره این کتاب
این کتاب راهی سرگرمکننده برای یادگیری برنامهنویسی مدرن C++ است؛ آن هم در حین ساخت بازیهای دوبعدی جذاب. این راهنمای مبتدیپسند رویکردی پرشتاب اما گیرا به ساخت بازی دارد. مستقیم سراغ ساخت انواع بازیهای دسکتاپ میروید که بهتدریج پیچیدهتر میشوند. کتاب پر از پیشنهادهایی برای گسترش بازیهای تمامشده است؛ پیشنهادهایی که شما را به فکر انتقادی، فنی و خلاقانه وادار میکند.
این کتاب برای چه کسانی است
اگر یکی از اینها درباره شما درست است، این کتاب مناسبتان است: هیچ دانشی از برنامهنویسی C++ ندارید یا به یک دوره مرور سطح مبتدی نیاز دارید؛ میخواهید ساخت بازی یاد بگیرید یا فقط از بازیها بهعنوان راهی جذاب برای یادگیری C++ استفاده کنید؛ آرزو دارید روزی بازیای منتشر کنید، شاید روی استیم؛ یا فقط میخواهید کلی سرگرم شوید و با ساختههایتان دوستان را تحت تأثیر قرار دهید.
چه چیزهایی یاد میگیرید
C++ را از صفر میآموزید و همزمان ساخت بازی را هم یاد میگیرید. مبانی C++ مثل متغیرها، حلقهها و توابع را میآموزید تا اشیای بازی را متحرک کنید، به برخوردها واکنش نشان دهید، امتیاز نگه دارید، افکتهای صوتی پخش کنید و اولین بازی قابلبازی خود را بسازید. از مباحث پیشرفتهتر C++ مثل کلاسها، وراثت و ارجاعها استفاده میکنید تا هزاران دشمن را ظاهر کنید و کنترل کنید، با مسلسل آتشسریع شلیک کنید و دنیاهای بازی با پیمایش تصادفی بسازید. دانش C++ خود را از سطح مبتدی فراتر میبرید و مفاهیمی مثل اشارهگرها، ارجاعها و کتابخانه قالب استاندارد (STL) را به کار میگیرید تا امکاناتی مثل همکاری دونفره با صفحهٔ دونیمه، صدای جهتی فراگیر و مراحل سفارشی بارگذاریشده از فایلهای طراحی مرحله اضافه کنید. آماده شوید و بازیهای منحصربهفرد خودتان را بسازید!
با جزئیات بیشتر
این کتاب مقدمهای سرگرمکننده به دنیای برنامهنویسی بازی، C++ و SFML مبتنی بر OpenGL است؛ آن هم با سه بازی کامل و قابلبازی. این بازیها عبارتند از: یک بازی ضربهای دو دکمهای پرهیجان و اعتیادآور، یک شوتر بقا در برابر زامبیها با چند مرحله، و یک پازل-پلتفرمر چندنفره با صفحهٔ دونیمه. از همان مبانی برنامهنویسی مثل متغیرها، حلقهها و شرطها شروع میکنیم و با هر بازی مهارت بیشتری پیدا میکنید؛ در حالی که از مباحث کلیدی C++ مثل برنامهنویسی شیءگرا (OOP)، اشارهگرهای C++ و مقدمهای بر کتابخانه قالب استاندارد عبور میکنید. هنگام ساخت این بازیها، مفاهیم هیجانانگیز برنامهنویسی بازی را هم یاد میگیرید؛ مثل افکتهای ذرات، صدای جهتی (فضاییسازی)، شیدرهای قابلبرنامهنویسی OpenGL، ظاهر کردن هزاران شیء و موارد دیگر.
سبک و رویکرد
این کتاب رویکردی سرگرمکننده و مبتنی بر مثال برای یادگیری ساخت بازی و C++ دارد. علاوه بر توضیح تکنیکهای ساخت بازی به سبکی جذاب، بازیها طوری ساخته میشوند که مباحث کلیدی C++ را به شکلی عملی و نه صرفاً نظری معرفی کنند؛ و در هر فصل چند مرحله قابلاجرا و قابلبازی وجود دارد.
Learn C++ from scratch and get started building your very own gamesAbout This Book This book offers a fun way to learn modern C++ programming while building exciting 2D games This beginner-friendly guide offers a fast-paced but engaging approach to game development Dive headfirst into building a wide variety of desktop games that gradually increase in complexity It is packed with many suggestions to expand your finished games that will make you think critically, technically, and creatively Who This Book Is For This book is perfect for you if any of the following describes you: You have no C++ programming knowledge whatsoever or need a beginner level refresher course, if you want to learn to build games or just use games as an engaging way to learn C++, if you have aspirations to publish a game one day, perhaps on Steam, or if you just want to have loads of fun and impress friends with your creations.What You Will Learn Get to know C++ from scratch while simultaneously learning game building Learn the basics of C++, such as variables, loops, and functions to animate game objects, respond to collisions, keep score, play sound effects, and build your first playable game. Use more advanced C++ topics such as classes, inheritance, and references to spawn and control thousands of enemies, shoot with a rapid fire machine gun, and realize random scrolling game-worlds Stretch your C++ knowledge beyond the beginner level and use concepts such as pointers, references, and the Standard Template Library to add features like split-screen coop, immersive directional sound, and custom levels loaded from level-design files Get ready to go and build your own unique games! In Detail This book is all about offering you a fun introduction to the world of game programming, C++, and the OpenGL-powered SFML using three fun, fully-playable games. These games are an addictive frantic two-button tapper, a multi-level zombie survival shooter, and a split-screen multiplayer puzzle-platformer.We will start with the very basics of programming, such as variables, loops, and conditions and you will become more skillful with each game as you move through the key C++ topics, such as OOP (Object-Orientated Programming), C++ pointers, and an introduction to the Standard Template Library. While building these games, you will also learn exciting game programming concepts like particle effects, directional sound (spatialization), OpenGL programmable Shaders, spawning thousands of objects, and more.Style and approach This book offers a fun, example-driven approach to learning game development and C++. In addition to explaining game development techniques in an engaging style, the games are built in a way that introduces the key C++ topics in a practical and not theory-based way, with multiple runnable/playable stages in each chapter.