Programowanie gier
Justin Stenning
This is a practical cookbook that dives into the various methods of programming graphics with a focus on games. It is a perfect package of all the innovative and up-to-date 3D rendering techniques supported by numerous illustrations, strong sample code, and concise explanations. Direct3D Rendering Cookbook is for C# .NET developers who want to learn the advanced rendering techniques made possible with DirectX 11.2. It is expected that the reader has at least a cursory knowledge of graphics programming, and although some knowledge of Direct3D 10+ is helpful, it is not necessary. An understanding of vector and matrix algebra is required.
Dotknij i przeciągnij. Projektowanie gier na ekrany dotykowe
Scott Rogers
Jednym palcem do sukcesu! Ekrany dotykowe opanowały świat. Są wygodne i intuicyjne, a ich obsługa nie sprawia żadnych problemów nawet najmłodszym użytkownikom. Jednocześnie dają one ogromne pole do popisu projektantom gier i aplikacji użytkowych. Kto nie zna największego hitu ostatnich lat - gry, której głównymi bohaterami są ptaki? Ta gra wykorzystuje tylko jeden palec! Przekonaj się sam, na co zwrócić uwagę przy tworzeniu aplikacji i gier pod kątem możliwości ekranów dotykowych. Nie mogłeś trafić na lepszą pozycję poświęconą tej tematyce! W trakcie lektury dowiesz się, jak opracować interesującą i wciągającą fabułę gry, stworzyć postacie, które pokochają użytkownicy, oraz skorzystać z rzeczywistości rozszerzonej. Ponadto znajdziesz tu odpowiedzi na pytania, czy warto stosować wirtualne joysticki oraz jak wprowadzić fizykę do swoich gier. Na sam koniec dowiesz się, jak opublikować swoje dzieło w sklepach z aplikacjami dla różnych platform. Książka ta charakteryzuje się dużą dawką dobrego humoru, zawiera liczne przykłady prawdziwych aplikacji oraz wywiady z profesjonalnymi deweloperami. To idealne źródło informacji dla projektantów gier i aplikacji dla urządzeń z ekranami dotykowymi. Sięgnij po tę książkę i: znajdź źródło sukcesu popularnych gier sprawdź, jak przygotować dobrą fabułę stwórz bohaterów uwielbianych przez użytkowników wprowadź fizykę do Twojego wirtualnego świata odnieś sukces na rynku gier Twórz porywające gry na ekrany dotykowe!
Daniel Cox
ink is a narrative scripting language designed for use with game engines such as Unity through a plugin that provides an application programming interface (API) to help you to move between the branches of a story and access the values within it.Hands-On Dynamic Story Scripting with the ink Scripting Language begins by showing you how ink understands stories and how to write some simple branching projects. You'll then move on to advanced usage with looping structures, discovering how to use variables to set up dynamic events in a story and defining simple rules to create complex narratives for use with larger Unity projects. As you advance, you'll learn how the Unity plugin allows access to a running story through its API and explore the ways in which this can be used to move data in and out of an ink story to adapt to different interactions and forms of user input. You'll also work with three specific use cases of ink with Unity by writing a dialogue system and creating quest structures and other branching narrative patterns. Finally, this will help you to find out how ink can be used to generate procedural storytelling patterns for Unity projects using different forms of data input.By the end of this book, you will be able to move from a simple story to an intricate Unity project using ink to power complex narrative structures.
Gonçalo Marques, Devin Sherry, David Pereira, Hammad...
Immerse yourself in the Unreal game projects with this book, written by four highly experienced industry professionals with many years of combined experience with Unreal Engine. Elevating Game Experiences with Unreal Engine 5 will walk you through the latest version of Unreal Engine by helping you get hands-on with the game creation projects.The book starts with an introduction to the Unreal Editor and key concepts such as actors, blueprints, animations, inheritance, and player input. You'll then move on to the first of three projects, building a dodgeball game, where you'll learn the concepts of line traces, collisions, projectiles, user interface, and sound effects. You’ll also discover how to combine these concepts to showcase your new skills. The second project, a side-scroller game, will help you implement concepts such as animation blending, enemy AI, spawning objects, and collectibles. And finally, you'll cover the key concepts in creating a multiplayer environment as you work on the third project, an FPS game.By the end of this Unreal Engine book, you'll have a broad understanding of how to use the tools that the game engine provides to start building your own games.
Steven Antonio Christian, Patrick B. Thomas
Virtual reality (VR) has emerged as one of the most transformative mediums of the 21st century, finding applications in various industries, including gaming, entertainment, and education.Enhancing Virtual Reality Experiences with Unity 2022 takes you into the fascinating realm of VR, where creativity meets cutting-edge technology to bring tangible real-world applications to life. This immersive exploration not only equips you with the essential skills needed to craft captivating VR environments using Unity's powerful game engine but also offers a deeper understanding of the philosophy behind creating truly immersive experiences.Throughout the book, you’ll work with practical VR scene creation, interactive design, spatial audio, and C# programming and prepare to apply these skills to real-world projects spanning art galleries, interactive playgrounds, and beyond. To ensure your VR creations reach their full potential, the book also includes valuable tips on optimization, guaranteeing maximum immersion and impact for your VR adventures.By the end of this book, you’ll have a solid understanding of VR’s versatility and how you can leverage the Unity game engine to create groundbreaking projects.
Enterprise API Management. Design and deliver valuable business APIs
Luis Weir, Rolando Carrasco, Philip Wilkins
APIs are the cornerstone of modern, agile enterprise systems. They enable access to enterprise services from a wide variety of devices, act as a platform for innovation, and open completely new revenue streams.Enterprise API Management shows how to define the right architecture, implement the right patterns, and define the right organization model for business-driven APIs.Drawing on his experience of developing API and microservice strategies for some of the world's largest companies, Luis Weir explains how APIs deliver value across an enterprise. The book explores the architectural decisions, implementation patterns, and management practices for successful enterprise APIs, as well as providing clear, actionable advice on choosing and executing the right API strategy in your enterprise.With a relentless focus on creating business value, Luis Weir reveals an effective method for planning, building, and running business products and services with APIs.
EVE Online: ISK Strategy Guide. The unofficial guide to becoming an ISK billionaire in EVE Online
Y Michael Xu
New Eden, a universe of beauty, destruction and unlimited potential. Take on the role of a capsuleer and forge a story and empire that spans vast regions of space that is uniquely your own. But in order to forge your story and empire, it takes ISK and lots of it.The ISK Making Guide to EVE Online teaches you the inner workings of each ISK making career choice. Learn the tricks of the pros and avoid the hidden pitfalls that await you at every turn. Learn from the experience of a seasoned EVE veteran.Starting with the more easily accessible career choices and moving on to the careers only available to the experienced capsuleers, this book takes you step-by-step as your story unfolds. Help determine the path of EVE by taking on careers like Mining and Manufacturing, the backbone of New Eden or help your empire rise above the rest by Running Missions for the corporations of your empire. The ISK Making Guide to EVE Online gives you a jump start and walks you through every ISK making career choice.
Angelo R Tadres Bustamante
One of Unity's most powerful features is the extensible editor it has. With editor scripting, it is possible to extend or create functionalities to make video game development easier. For a Unity developer, this is an important topic to know and understand because adapting Unity editor scripting to video games saves a great deal of time and resources.This book is designed to cover all the basic concepts of Unity editor scripting using a functional platformer video game that requires workflow improvement.You will commence with the basics of editor scripting, exploring its implementation with the help of an example project, a level editor, before moving on to the usage of visual cues for debugging with Gizmos in the scene view. Next, you will learn how to create custom inspectors and editor windows and implement custom GUI. Furthermore, you will discover how to change the look and feel of the editor using editor GUIStyles and editor GUISkins. You will then explore the usage of editor scripting in order to improve the development pipeline of a video game in Unity by designing ad hoc editor tools, customizing the way the editor imports assets, and getting control over the build creation process. Step by step, you will use and learn all the key concepts while creating and developing a pipeline for a simple platform video game. As a bonus, the final chapter will help you to understand how to share content in the Asset Store that shows the creation of custom tools as a possible new business. By the end of the book, you will easily be able to extend all the concepts to other projects.
Shalabh Aggarwal
Flask, the lightweight Python web framework, is popular thanks to its powerful modular design that lets you build scalable web apps. With this recipe-based guide, you’ll explore modern solutions and best practices for Flask web development.Updated to the latest version of Flask and Python 3, this second edition of Flask Framework Cookbook moves away from some of the old and obsolete libraries and introduces new recipes on cutting-edge technologies. You’ll discover different ways of using Flask to create, deploy, and manage microservices. This Flask Python book starts by covering the different configurations that a Flask application can make use of, and then helps you work with templates and learn about the ORM and view layers. You’ll also be able to write an admin interface and get to grips with debugging and logging errors. Finally, you’ll learn a variety of deployment and post-deployment techniques for platforms such as Apache, Tornado, and Heroku.By the end of this book, you’ll have gained all the knowledge you need to confidently write Flask applications and scale them using standard industry practices.
Game Audio Development with Unity 5.X. Design a blockbuster game soundtrack with Unity 5.X
Micheal Lanham
Game Audio is one of the key components in making a game successful and it is quite popular in the gaming industry. So if you are a game developer with an eye on capturing the gamer market then this book is the right solution for you. In this book, we will take you through a step by step journey which will teach you to implement original and engaging soundtracks and SFX with Unity 5.x. You will be firstly introduced to the basics of game audio and sound development in Unity. After going through the core topics of audio development: audio sources, spatial sound, mixing, effects, and more; you will then have the option of delving deeper into more advanced topics like dynamic and adaptive audio. You will also learn to develop dynamic and adaptive audio using the Unity Audio Mixer. Further, you will learn how professional third party tools like FMOD are used for audio development in Unity. You will then go through the creation of sound visualization techniques and creating your own original music using the simple yet powerful audio workstation Reaper. Lastly, you will go through tips, techniques and strategies to help you optimize game audio performance or troubleshoot issues. At the end of the book, you’ll have gained the skills to implement professional sound and music. Along with a good base knowledge audio and music principles you can apply across a range of other game development tools.
Game Development Patterns and Best Practices. Better games, less hassle
John P. Doran, Matt Casanova
You’ve learned how to program, and you’ve probably created some simple games at some point, but now you want to build larger projects and find out how to resolve your problems. So instead of a coder, you might now want to think like a game developer or software engineer. To organize your code well, you need certain tools to do so, and that’s what this book is all about.You will learn techniques to code quickly and correctly, while ensuring your code is modular and easily understandable.To begin, we will start with the core game programming patterns, but not the usual way. We will take the use case strategy with this book. We will take an AAA standard game and show you the hurdles at multiple stages of development. Similarly, various use cases are used to showcase other patterns such as the adapter pattern, prototype pattern, flyweight pattern, and observer pattern. Lastly, we’ll go over some tips and tricks on how to refactor your code to remove common code smells and make it easier for others to work with you. By the end of the book you will be proficient in using the most popular and frequently used patterns with the best practices.
Henrique Campos
Game development demands more than just creativity; it requires code that’s as dynamic and adaptable as the games you dream of creating. Seasoned Godot developer, educator and creator of popular resources like The Essential Guide to Creating Multiplayer Games with Godot 4.0, Henrique Campos introduces you to object-oriented programming design patterns, offering time-tested, reliable solutions to common coding issues. With these patterns, you’ll not only build scalable, maintainable architectures for your games but also gain the confidence to tackle real-world development challenges head-on with Godot's built-in features.In this hands-on guide, you’ll step into the role of a game mechanics engineer tasked with implementing requests from a fictional game designer, simulating the collaborative nature of real-world game development. Using Godot 4.3, you’ll develop a complete platformer game featuring a playable character, enemies with advanced AI, interactive objects, multiple levels, music, and more. Along the way, you’ll master core programming concepts such as SOLID principles, favor composition over inheritance, and have a solid understanding of object-oriented programming along with the principles behind the design patterns.By the end of the book, you’ll be able to diagnose and fix pathologies in your code with ease.
David Baron
This book is written for every game developer ready to tackle the bigger picture and start working with advanced programming techniques and design patterns in Unity.Game Development Patterns with Unity 2021 is an introduction to the core principles of reusable software patterns and how to employ them to build components efficiently. In this second edition, you'll tackle design patterns with the help of a practical example; a playable racing game prototype where you’ll get to apply all your newfound knowledge. Notable updates also include a game design document (GDD), a Unity programming primer, and the downloadable source code of a complete prototype.Your journey will start by learning about overall design of the core game mechanics and systems. You’ll discover tried-and-tested software patterns to code essential components of a game in a structured manner, and start using classic design patterns to utilize Unity's unique API features. As you progress, you'll also identify the negative impacts of bad architectural decisions and understand how to overcome them with simple but effective practices.By the end of this Unity book, the way you develop Unity games will change – you’ll adapt a more structured, scalable, and optimized process that will help you take the next step in your career.
Stuart Butler, Tom Oliver, Christopher J. Headleand
Design patterns serve as a toolkit of techniques and practices that enable you to write code that’s not only faster, but also more manageable. With this book, you’ll explore a range of design patterns and learn how to apply them to projects developed in Unreal Engine 5.You’ll begin by delving into the foundational principles of coding and develop a solid understanding of the concepts, challenges, and benefits of using patterns in your code. As you progress, you’ll identify patterns that are woven into the core of Unreal Engine 5 such as Double Buffer, Flyweight, and Spatial Partitioning, followed by some of the existing tool sets that embody patterns in their design and usage including Component, Behavior Tree, and Update.In the next section of the book, you’ll start developing a series of gameplay use cases in C++ to implement a variety of design patterns such as Interface and Event-based Observers to build a decoupled communications hierarchy. You’ll also work with Singleton, Command, and State, along with Behavioral Patterns, Template, Subclass Sandbox, and Type Object. The final section focuses on using design patterns for optimization, covering Dirty Flag, Data Locality, and Object Pooling.By the end, you’ll be proficient in designing systems with the perfect C++/Blueprint blend for maintainable and scalable systems.
Gustavo Reis, Hammad Fozi, Gonçalo Marques, David...
Game development can be both a creatively fulfilling hobby and a full-time career path. It's also an exciting way to improve your C++ skills and apply them in engaging and challenging projects.Game Development Projects with Unreal Engine starts with the basic skills you'll need to get started as a game developer. The fundamentals of game design will be explained clearly and demonstrated practically with realistic exercises. You’ll then apply what you’ve learned with challenging activities.The book starts with an introduction to the Unreal Editor and key concepts such as actors, blueprints, animations, inheritance, and player input. You'll then move on to the first of three projects: building a dodgeball game. In this project, you'll explore line traces, collisions, projectiles, user interface, and sound effects, combining these concepts to showcase your new skills.You'll then move on to the second project; a side-scroller game, where you'll implement concepts including animation blending, enemy AI, spawning objects, and collectibles. The final project is an FPS game, where you will cover the key concepts behind creating a multiplayer environment.By the end of this Unreal Engine 4 game development book, you'll have the confidence and knowledge to get started on your own creative UE4 projects and bring your ideas to life.
Game Development Using Python. Mastering Interactive Game Creation and Development through Python
Mercury Learning and Information, James R. Parker
This book guides you through the basic game development process using Python, covering essential topics such as graphics, sound, artificial intelligence, animation, and game engines. Real games are created as you progress through the text, and significant parts of a game engine are built and made available for download. New chapters on card games and a side-scroller are included. The companion files contain all the resources described in the book, including example code, game assets, video/sound editing software, and color figures.The course begins with an introduction to how games work, followed by in-depth chapters on graphics and images, the game loop, and game AI, specifically focusing on collision detection. It then moves on to navigation, control, and sound, guiding you through creating a jet boat race game. Advanced topics such as animation, networking, and platformers are covered, providing a comprehensive understanding of game development.Designed for both beginners and those with some experience, this book equips readers with the skills needed to develop their own games. It emphasizes practical application, ensuring you can implement what you learn. By the end of the course, you will have a solid foundation in game development and the ability to create engaging, interactive games using Python.
Kati Baker
Godot is a versatile, open-source game engine that empowers developers with creative freedom and ownership of their work. Written by a game developer and designer who's been creating games since her first game jam in 2016, this comprehensive guide helps you gain the essential skills you need to embark on an exciting journey into the realm of game development with Godot 4 and C#.This book guides you through the installation of the Godot Engine and introduces you to the powerful capabilities of C# within it. The chapters will help you smoothly integrate C# into your Godot project as you learn how to create a captivating 3D adventure game by exploring topics including project organization, player controller creation, world design, and user-friendly UI development. As you progress, you'll delve into advanced game development aspects such as audio integration, pathfinding algorithms, and dynamic lighting. You'll also get to grips with accessibility considerations in game development and effective bug reporting techniques. Toward the end, you'll discover the vibrant Godot community and gain access to a wealth of resources to further improve your game development skills.By the end of this Godot book, you'll have built a complete 3D adventure game and gained a solid foundation to continue creating your own games.
Game Development with Rust and WebAssembly. Learn how to run Rust on the web while building a game
Eric Smith
The Rust programming language has held the most-loved technology ranking on Stack Overflow for 6 years running, while JavaScript has been the most-used programming language for 9 years straight as it runs on every web browser. Now, thanks to WebAssembly (or Wasm), you can use the language you love on the platform that's everywhere.This book is an easy-to-follow reference to help you develop your own games, teaching you all about game development and how to create an endless runner from scratch. You'll begin by drawing simple graphics in the browser window, and then learn how to move the main character across the screen. You'll also create a game loop, a renderer, and more, all written entirely in Rust. After getting simple shapes onto the screen, you'll scale the challenge by adding sprites, sounds, and user input. As you advance, you'll discover how to implement a procedurally generated world. Finally, you'll learn how to keep your Rust code clean and organized so you can continue to implement new features and deploy your app on the web.By the end of this Rust programming book, you'll build a 2D game in Rust, deploy it to the web, and be confident enough to start building your own games.
Stephen Haney
If you wish to create and publish fun iOS games using Swift, then this book is for you. You should be familiar with basic programming concepts. However, no prior game development or Apple ecosystem experience is required.
Jiadong Chen
Understand what makes Unity the world’s most widely used real-time 3D development platform and explore its powerful features for creating 3D and 2D games, as well as the Unity game engine and the Microsoft Game Dev, including the Microsoft Azure Cloud and Microsoft Azure PlayFab services, to create games.You will start by getting acquainted with the Unity editor and the basic concepts of Unity script programming with C#. You'll then learn how to use C# code to work with Unity's built-in modules, such as UI, animation, physics, video, and audio, and understand how to develop a game with Unity and C#. As you progress through the chapters, you'll cover advanced topics such as the math involved in computer graphics and how to create a custom render pipeline in Unity with the new Scriptable Render Pipeline, all while optimizing performance in Unity. Along the way, you'll be introduced to Microsoft Game Dev, Azure services, and Azure PlayFab, and using the Unity3D PlayFab SDK to access the PlayFab API.By the end of this Unity book, you'll have become familiar with the Unity engine and be ready to develop your own games while also addressing the performance issues that you could encounter in the development process.
Gabor Szauer
Physics is really important for game programmers who want to add realism and functionality to their games. Collision detection in particular is a problem that affects all game developers, regardless of the platform, engine, or toolkit they use.This book will teach you the concepts and formulas behind collision detection. You will also be taught how to build a simple physics engine, where Rigid Body physics is the main focus, and learn about intersection algorithms for primitive shapes.You’ll begin by building a strong foundation in mathematics that will be used throughout the book. We’ll guide you through implementing 2D and 3D primitives and show you how to perform effective collision tests for them. We then pivot to one of the harder areas of game development—collision detection and resolution. Further on, you will learn what a Physics engine is, how to set up a game window, and how to implement rendering. We’ll explore advanced physics topics such as constraint solving. You’ll also find out how to implement a rudimentary physics engine, which you can use to build an Angry Birds type of game or a more advanced game.By the end of the book, you will have implemented all primitive and some advanced collision tests, and you will be able to read on geometry and linear Algebra formulas to take forward to your own games!
Pavel Strakhov, Witold Wysota, Lorenz Haas
Qt is the leading cross-platform toolkit for all significant desktop, mobile, and embedded platforms and is becoming popular by the day, especially on mobile and embedded devices. It's a powerful tool that perfectly fits the needs of game developers. This book will help you learn the basics of Qt and will equip you with the necessary toolsets to build apps and games.The book begins by how to create an application and prepare a working environment for both desktop and mobile platforms. You will learn how to use built-in Qt widgets and Form Editor to create a GUI application and then learn the basics of creating graphical interfaces and Qt's core concepts.Further, you'll learn to enrich your games by implementing network connectivity and employing scripting. You will learn about Qt's capabilities for handling strings and files, data storage, and serialization.Moving on, you will learn about the new Qt Gamepad module and how to add it in your game and then delve into OpenGL and Vulcan, and how it can be used in Qt applications to implement hardware-accelerated 2D and 3D graphics. You will then explore various facets of Qt Quick: how it can be used in games to add game logic, add game physics, and build astonishing UIs for your games. By the end of this book, you will have developed the skillset to develop interesting games with Qt.
This book is for users experienced with game development who now want to learn how to develop games in GameMaker: Studio in a fast-paced way.
Gamesalad Essentials. Create awesome cross-platform games in no time, and with no coding
Miguel DeQuadros
If you want to create your own game, but don't know where to start, this is the book for you. Whether you've used GameSalad before, or have prior game development experience or not you are sure to learn! Imaging software experience, such as Photoshop, is good to have, but art and assets are provided in the book's resources.