Skip to content
You are not logged in |Login  
     
Limit search to available items
Record:   Prev Next
Resources
More Information
book
BookPrinted Material
Author Quick, John M., author.

Title Learn to code with games / John M. Quick.

Publication Info. Boca Raton, FL : CRC Press, [2016]
©2016

Item Status

Location Call No. Status OPAC Message Public Note Gift Note
 Moore Stacks  QA76.76.C672 Q53 2016    Available  ---
Description xix, 286 pages : illustrations (black and white) ; 24 cm
Bibliography Includes bibliographical references and index.
Summary "Structures as a series of challenges that help you learn to code by creating a video game, each chapter expands and builds your knowledge while providing guidelines and hints to solving each challenge"--Back cover.
Contents Our Hero Is Stuck! -- Goals -- Required Files -- Demo -- Unity Game Engine -- Challenge: Make Luna Move -- Hint: Visualizing the Game World -- Hint: Visualization and Code -- Hint: Position -- Problem-Solving Techniques -- Pseudocode -- Process Mapping -- Pseudocode versus Process Mapping -- A Note about Example Solutions -- Example Solution: Make Luna Move -- Bonus Challenge: Make Luna Move Faster (of Slower) -- Bonus Hint: User Input in Unity -- Summary -- Reference -- Characters and Characteristics -- Goals -- Required Files -- Challenge: Data Types -- Hint: Data Type Descriptions -- Boolean (bool) -- Integer (int) -- Floating Point (float) -- Double Precision (double) -- Character String (string) -- Hint: How Computers Think -- Challenge Extension: Data Types -- Example Solution: Data Types -- Challenge: Defining Variables -- Hint: Access Levels -- Hint: Naming Variables -- Hint: Declaring Variables -- Challenge Extension: Defining Variables -- Example Solution: Defining Variables -- Challenge: Initializing Variables -- Hint: Initialization -- Hint: Unity's Start () Function -- Hint: Comments -- Example Solution: Initializing Variables -- Summary -- References -- The Bounds of the World -- Goals -- Required Files -- Challenge: Detecting Boundary Collisions -- Hint: 2D Collisions -- Hint: Operators -- Math Operators -- Equality Operators -- Hint: Expressions -- Hint: Screen Size in Unity -- World Coordinates -- Screen Coordinates -- Converting Screen Coordinates to World Coordinates -- Example Solution: Boundary Collisions -- Challenge: Accounting for the Character -- Hint: Origin Point -- Hint: Game Components in Unity -- Example Solution: Accounting for the Character -- Summary -- Reference -- Sprinting and Sneaking -- Goals -- Required Files -- Challenge: Making Luna Sprint -- Hint: Function Calls -- Hint: The Unity Update () Function -- Hint: Conditional Statements -- Hint: Increment and Decrement Operators -- Hint: Getters and Setters -- Hint: Unity's Get Component Command and Dot Notation -- Example Solution: Making Luna Sprint -- Challenge: Making Luna Invisible -- Hint: Boolean Flags -- Hint: Boolean Operators -- Hint: Unity's Time.time Command -- Hint: Local Variables -- Hint: Unity SpriteRenderer Visibility -- Example Solution: Making Luna Invisible -- Summary -- References -- Collectables -- Goals -- Required Files -- Challenge: Collecting Objects -- Hint: Primitive and Composite Data Types -- Hint: Unity Tags -- Hint: Axis-Aligned Bounding Box Collisions -- Hint: Unity Destroy () Function -- Example Solution: Collecting Objects -- Summary -- Reference -- Spawning Objects -- Goals -- Required Files -- Challenge: Spawning Collectables -- Hint: Unity Prefabs -- Hint: Unity Prefab Instantiation -- Hint: Random Number Generation -- Hint: Parent Objects in Unity -- Hint: for and while Loops -- For Loop -- While Loop -- Example Solution: Spawning Collectables -- Summary -- References -- Taking Inventory -- Goals -- Required Files -- Challenge: Keeping Track of Collectables in an Inventory -- Hint: The using Directive -- Hint: The C#x1A; List -- Hint: Add and Remove Functions -- Hint: Access by Index -- Hint: The Count Property -- Hint: Function Argument Usage -- Example Solution: Keeping Track of Collectables in an Inventory -- Summary -- References -- A Party of Heroes -- Goals -- Required Files -- Challenge: Managing a Group of Heroes -- Hint: Unidimensional Arrays -- Hint: Unity Tags for Multiple Objects -- Hint: foreach Loops -- Example Solution: Managing a Group of Heroes -- Summary -- Reference -- Generating a Tile Map -- Goals -- Required Files -- Challenge: Generating a Tile Map -- Hint: Tile Maps in Games -- Hint: Multidimensional Arrays -- Hint: Nested Loops -- Hint: Nested Loops with Multidimensional Arrays -- Example Solution: Generating a Tile Map -- Summary -- Reference -- Spawning Objects on a Tile Map -- Goals -- Required Files -- Challenge: Spawning Objects on a Tile Map -- Hint: Functions -- Hint: Functions with Return Values -- Hint: Functions with Arguments -- Example Solution: Spawning Objects on a Tile Map -- Summary -- References -- Level Generation -- Goals -- Required Files -- Challenge: Generating the Map Scene -- Hint: Coupling and Cohesion -- Hint: Refactoring for Better Management -- Example Solution: Generating the Map Scene -- Summary -- Game State Management -- Goals -- Required Files -- Challenge: Managing the Game State -- Hint: Singleton Design Pattern -- Hint: The Unity Awake() andDontDestroyOnLoad() Functions -- Hint: The Unity Application.LoadLevel() Function -- Hint: Unity Physics 2D Collisions -- Example Solution: Managing the Game State -- Summary -- References -- Gameplay -- Goals -- Required Files -- Challenge: Bringing the Gameplay Together -- Hint: Obstacles and Artificial Intelligence -- Hint: Game State and Score -- Hint: More Collisions -- Hint: More Spawns -- Hint: Reset the Game -- Example Solution: Bringing the Gameplay Together -- Summary.
Subject Computer programming -- Programmed instruction.
Computer programming.
Genre/Form Programmed instructional materials.
Subject Video games -- Programming.
Video games -- Programming.
Video games -- Programming.
Genre/Form Programmed instructional materials.
Other Form: Print version 9781138428010(Hardback)
ISBN 1498704689 (paperback)
9781498704687 (paperback)
9781498704694 (PDF ebook)