Building Games with Flutter the Ultimate Guide to Creating Multiplatform Games Using the Flame Engine in Flutter 3
With its powerful tools and quick implementation capabilities, Flutter provides a new way to build scalable cross-platform apps. In this book, you'll learn how to build on your knowledge and use Flutter as the foundation for creating games.
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing
2022.
|
Edición: | 1st ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009669522606719 |
Tabla de Contenidos:
- Cover
- Title Page
- Copyright and credits
- Contributors
- About the reviewers
- Table of Contents
- Preface
- Part 1: Game Basics
- Chapter 1: Getting Started with Flutter Games
- Technical requirements
- Working with Flutter
- Using Dart
- Compilation types
- Hot reload
- Native bridge
- Garbage collection
- Thread control
- Summarizing the book
- Flame
- Designing a game
- Graphics
- Input
- Sounds
- Level design
- Cross-platform games
- Advanced graphics effects
- Game AI
- Finishing the game
- Creating a simple example animation
- Summary
- Questions
- Chapter 2: Working with the Flame Engine
- Technical requirements
- Organizing the assets in your game
- Adding the game loop
- Update
- Render
- Working with components
- FlameGame
- Converting our code to use components
- Summary
- Questions
- Chapter 3: Building a Game Design
- Planning a game
- Designing the game screens
- Summary
- Questions
- Part 2: Graphics and Sound
- Chapter 4: Drawing and Animating Graphics
- Technical requirements
- Drawing on the screen
- Working with sprite animation
- Moving a sprite around the screen
- Colliding with other sprites
- Summary
- Questions
- Chapter 5: Moving the Graphics with Input
- Technical requirements
- Drawing onscreen controls
- Moving our character with onscreen controls
- Moving our character with touch
- Summary
- Questions
- Chapter 6: Playing Sound Effects and Music
- Technical requirements
- Playing background music
- Playing sound effects
- Controlling the volume
- Summary
- Questions
- Chapter 7: Designing Your Own Levels
- Technical requirements
- Introduction to Tiled
- Loading a tile map
- Adding dynamic objects to the map
- Understanding map navigation
- Detecting tile collisions
- Understanding collisions
- Implementing collisions
- Summary
- Questions
- Chapter 8: Scaling the Game for Web and Desktop
- Technical requirements
- Building the game for the web and desktop
- Setting the new screen boundary
- Fixing the sprites
- Fixing the coin and water components
- Fixing the background and tile map
- Fixing the HUD components
- Setting background music
- Setting Flutter Web build parameters
- Navigating with key events
- Summary
- Questions
- Part 3: Advanced Games Programming
- Chapter 9: Implementing Advanced Graphics Effects
- Technical requirements
- What are particle effects?
- Animating with particles
- Creating shadows with layers
- Summary
- Questions
- Chapter 10: Making Intelligent Enemies with AI
- Technical requirements
- Making enemies chase the player
- Navigating obstacles with pathfinding
- Summary
- Questions
- Chapter 11: Finishing the Game
- Technical requirements
- Wrapping up the game
- Adding a menu screen
- Adding a settings screen
- Adding a game over screen
- Compiling all screens with navigation routes and music volume
- Monetizing your game
- Adverts
- In-app purchases
- Purchase