更新时间:2021-06-18 18:30:36
封面
版权信息
About Packt
Why subscribe?
About the author
Preface
Setting Up and Structuring Our Project
The core exam skills covered in this chapter
Technical requirements
The six core objectives
Overview of design patterns
The SOLID principles
Designing the Killer Wave game
The Killer Wave game framework
Setting up Unity
Collaborate
Summary
Adding and Manipulating Objects
Core exam skills covered in this chapter
Setting up our Unity project
Introducing our interface – IActorTemplate
Introducing our ScriptableObject – SOActorModel
Setting up our Player PlayerSpawner and PlayerBullet scripts
Planning and creating our enemy
Setting up our EnemySpawner and Enemy scripts
Managing Scripts and Taking a Mock Test
Adding a Singleton design pattern
Setting up our ScenesManager script
Creating lives for the player
Scoring enemy hits
Creating sounds for the player's bullets
Mock test
Applying Art Animation and Particles
Adding visuals to the player's ship prefab
Creating a particle effect
Importing and animating the background
Animating our three-dimensional enemies
Creating a Shop Scene for Our Game
Introducing our shop scripts
Customizing our shop selection
Selecting game objects with raycasts
Adding information to our description panel
Purchasing In-Game Items and Advertisements
Buying upgrades for our player's ship
Buying items watching adverts and preparing to start a game
Extending the PlayerSpawner script
Creating a Game Loop and Mock Test
Transitioning our player ship
Expanding our ScenesManager script
Preparing to loop our game
Adding Custom Fonts and UI
Core exam skills being covered in this chapter
Introducing the Canvas and UI
Applying text and images to our scenes
Creating a 2D Shop Interface and In-Game HUD
Setting up our HUD
Making our shop scene support alternative screen ratios
Applying and modifying our shop scripts
Pausing the Game Altering Sound and a Mock Test
Applying and adjusting level music
Creating a pause screen
Adding a game pause button
Storing Data and Audio Mixer
Using the Audio Mixer
Storing data
Exploring Unity Analytics and Remote Settings
NavMesh Timeline and a Mock Test
Preparing the final scene