[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-692355-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-692355-en":130,"doc-similar-692355":178},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","learning-2d-game-development-with-unity-a-hands-on-guide-to-game-creation-692355","Learning 2D Game Development with Unity - A Hands-On Guide to Game Creation","","Learning 2D Game Development with Unity is a hands-on programming guide focused on building 2D games using Unity. It emphasizes learning by doing through fully annotated sample code that can be reused in your own projects. The book follows a fast-start approach, helping readers begin quickly, then continue developing their own applications. Many chapters include exercises designed to reinforce understanding and refine the provided code while applying Unity concepts to real game creation.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/learning-2d-game-development-with-unity-a-hands-on-guide-to-game-creation-692355/692355/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/learning-2d-game-development-with-unity-a-hands-on-guide-to-game-creation-692355/692355.png","ImageObject",300,407,{"name":42,"@type":43},"วิน","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-14","2026-11-09",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What learning approach does the book use?","Question",{"text":62,"@type":63},"The book uses a hands-on approach with sample code and exercises that help readers learn quickly and apply concepts immediately.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Are the code examples annotated and reusable?",{"text":67,"@type":63},"Yes. The sample code is fully annotated and can be reused in readers’ own projects without restriction.",{"name":69,"@type":60,"acceptedAnswer":70},"Does the book include practice or exercises?",{"text":71,"@type":63},"Many chapters end with exercises that encourage readers to review what they learned and modify the code to strengthen understanding.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},692355,1794195633,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":110,"preview_urls":145},2336475104736,"https://ap-avatar.wpscdn.com/avatar/22000c4c5e0e5b17e70?x-image-process=image/resize,m_fixed,w_180,h_180&k=1786591360781797222","Learning 2D Game Development with Unity ®  \nAddison-Wesley Learning Series  \nVisit [informit.com/learningseries](informit.com/learningseries) for a complete list of available publications.  \nThe Addison-Wesley Learning Series is a collection of hands-on programming guides that help you quickly learn a new technology or language so you can apply what you’ve learned right away.  \nEach title comes with sample code for the application or applications built in the text. This code is fully annotated and can be reused in your own projects with no strings attached. Many chapters end with a series of exercises to encourage you to reexamine what you have just learned, and to tweak or adjust the code as a way of learning.  \nTitles in this series take a simple approach: they get you going right away and leave you with the ability to walk off and build your own application and apply the language or technology to whatever you are working on.  \nLearning 2D Game Development with Unity ®  \nA Hands-On Guide to Game Creation  \nMatthew Johnson  \nJames A. Henley  \nUpper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City  \nMany of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals.  \nThe authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein.  \nFor information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at [corpsales@pearsoned.com](corpsales@pearsoned.com) or (800) 382-3419.  \nFor government sales inquiries, [please contact governmentsales@pearsoned.com](please contact governmentsales@pearsoned.com).  \nFor questions about sales outside the United States, please contact [international@pearsoned.com](international@pearsoned.com). Visit us on the Web: [informit.com/aw](informit.com/aw)  \nLibrary of Congress Cataloging-in-Publication Data  \nJohnson, Matthew (Computer programmer)  \nLearning 2D game development with Unity : a hands-on guide to game creation / Matthew Johnson, James A. Henley.  \npages cm  \nIncludes index.  \nISBN 978-0-321-95772-6 (pbk. : alk. paper)—ISBN 0-321-95772-5 (pbk. : alk. paper)  \n1. Computer games—Programming. 2. Unity (electronic resource) I. Henley, James A. II. Title. QA76 .76.C672J64 2015  \n794.8'1526—dc23  \n2014037406  \nCopyright © 2015 Pearson Education, Inc.  \nAll rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission to use material from this work, please submit a written request to Pearson Education, Inc. , Permissions Department, One Lake Street, Upper Saddle River, New Jersey 07458, or you may fax your request to (201) 236-3290.  \nUnity, Unity Free, Unity Pro, and the Unity Web Player are registered trademarks of Unity Technologies.  \nAdobe®, Flash®, and Photoshop® are registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. THIS PRODUCT IS NOT ENDORSED OR SPONSORED BY ADOBE SYSTEMS INCORPORATED, PUBLISHER OF Ad","cbCaiuAjVjGIV9TS","https://ap.wps.com/l/cbCaiuAjVjGIV9TS","pdf",1853971,77,"English","# Preface\n# Acknowledgments\n# About the Authors\n# Introduction\n# Setting Up the Unity Development Environment","[{\"question\":\"What learning approach does the book use?\",\"answer\":\"The book uses a hands-on approach with sample code and exercises that help readers learn quickly and apply concepts immediately.\"},{\"question\":\"Are the code examples annotated and reusable?\",\"answer\":\"Yes. The sample code is fully annotated and can be reused in readers’ own projects without restriction.\"},{\"question\":\"Does the book include practice or exercises?\",\"answer\":\"Many chapters end with exercises that encourage readers to review what they learned and modify the code to strengthen understanding.\"}]","Learning 2D Game Development with Unity - A Hands-On Guide to Game Creation | PDF",194,[146,150,154,158,162,166,170,174],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/6b9ea82a778311e76db3d5ef4d377ebd.webp",983,1415,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/911e15b088a80c87f95f07c6bd2e0325.webp",982,1318,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b847332581af38757746a8047c35a2dd.webp",981,1317,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2e756b3d563de60533c9126e792eca84.webp",980,1316,{"page_no":96,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/58055e603ac6e1585ea016f646b0454a.webp",979,1314,{"page_no":101,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/bc5f551e7998d2b9da923e0e67aa04ba.webp",978,1313,{"page_no":105,"url":171,"width":172,"height":173},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/79d8fac08e1e1166f5bbb3ae43da6bb8.webp",977,1312,{"page_no":110,"url":175,"width":176,"height":177},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/120ffe2be2a5aec973cb4ea1c8104fde.webp",976,1310,{"list":179,"token":11},[180,186,192,198,204,211,217,224,230,236],{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":96,"category_name":29,"create_tm":185},692359,"Learning to Use the Unity 2D Game Engine - An Introduction to The Unity Game Engine","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003283808/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=hUoCgli1nycJVIX2mMEI2n7Td9A%3D","learning-to-use-the-unity-2d-game-engine-an-introduction-to-the-unity-game-engine",1794195650,{"doc_id":187,"doc_title":188,"file_type":137,"home_preview_img_url":189,"slug":190,"view_count":96,"category_name":29,"create_tm":191},692351,"Getting Started with Unity Playground","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003283460/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=wQNZR%2FPYlx4X14n2hjRmBKXBRA4%3D","getting-started-with-unity-playground",1794195621,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":123,"category_name":29,"create_tm":197},654694,"nccad9 - CAD / CAM / CNC-Program for quick machining results","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974677077/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=FiYD1%2Bw0f9qTBt6VkoXKHzhXmyc%3D","nccad9-cad-cam-cnc-program-for-quick-machining-results",1792938028,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":96,"category_name":29,"create_tm":203},692350,"Unity for Mobile Games - Practical Guide to Get Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003283419/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=bVcQBOIrTe8bakfE43DpJoIvjX0%3D","unity-for-mobile-games-practical-guide-to-get-started",1794195619,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},145682,"Luuk van Eck - Technical Game Designer CV","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868298317/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=%2FCWTUKmCFmRkrncGHHlg3sGw%2BXs%3D","luuk-van-eck-technical-game-designer-cv",12,1787727149,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":33,"category_name":29,"create_tm":216},692356,"Educator Guide - Hour of Code - Unity Creator Kit: Beginner Code","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003283733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=loVBNnkme1LZgIavZwKosLBMyVU%3D","educator-guide-hour-of-code-unity-creator-kit-beginner-code",1794195638,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":222,"category_name":29,"create_tm":223},434236,"Unity 2020 By Example - Third Edition - A project-based guide to building 2D, 3D, augmented reality, and virtual reality games from scratch","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229923649972/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=rhcRfkp9RHK%2FR0qtc7j3gfmgisE%3D","unity-2020-by-example-third-edition-a-project-based-guide-to-building-2d-3d-augmented-reality-and-virtual-reality-games-from-scratch",15,1790668001,{"doc_id":225,"doc_title":226,"file_type":137,"home_preview_img_url":227,"slug":228,"view_count":209,"category_name":29,"create_tm":229},653917,"Manual Revision 1.6 - Creating Your Own Games","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229973969001/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=Rteoe3xjQ9T%2B24FobFQIY6Z4kWA%3D","manual-revision-16-creating-your-own-games",1792902943,{"doc_id":231,"doc_title":232,"file_type":137,"home_preview_img_url":233,"slug":234,"view_count":33,"category_name":29,"create_tm":235},681208,"Jumping Game Cards - Scratch Programming Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998673379/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=kDOo1nxc1SwszluUIhFKlP5ZPVI%3D","jumping-game-cards-scratch-programming-tutorial",1793941552,{"doc_id":237,"doc_title":238,"file_type":137,"home_preview_img_url":239,"slug":240,"view_count":101,"category_name":29,"create_tm":241},692352,"Introduction to Unity - Getting Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002759068/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111579&Signature=L2ZvTnLLHfPJEqetO65wD8bF3HI%3D","introduction-to-unity-getting-started",1794195626]