[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-692353-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-692353-en":130,"doc-similar-692353":154},{"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","Learning 2D Game Development with Unity - A Hands-On Guide to Game Creation","","Hands-on guide to building 2D games in Unity, covering the full development workflow from installing Unity and creating projects to organizing files, managing packages, and setting up project structure. Explains asset creation and importing, creating 2D sprites, configuring sprite settings, and designing levels with cameras, transforms, and efficient placement tools. Includes core gameplay implementation: movement and player control, animations, physics and colliders, gameplay systems like triggers, checkpoints, collectibles, hazards, enemies, damage, and simple UI design.",{"@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/692353/",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/692353.png","ImageObject",300,407,{"name":42,"@type":43},"Angel","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-13","2026-11-09",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What does the book cover first when starting 2D game development in Unity?","Question",{"text":62,"@type":63},"It begins with installing Unity, understanding the project setup process, and learning the Unity development environment including the interface and basic project structure.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How are 2D sprites handled in the workflow?",{"text":67,"@type":63},"It explains creating and importing sprites, configuring import settings such as Pixels To Units, and using the sprite editor and sprite packing tools to organize assets efficiently.",{"name":69,"@type":60,"acceptedAnswer":70},"What gameplay systems are implemented in the book?",{"text":71,"@type":63},"It covers player movement and control, animations, physics and colliders, and gameplay logic such as triggers, checkpoints with respawn, collectibles, and hazards including enemy behavior and damage.","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},692353,1794195627,{"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":30,"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":26,"preview_urls":145},687207412472,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","􀀞􀀝􀀜􀀛􀀚􀀛􀀙 􀀗􀀖 􀀕􀀝􀀔􀀞􀀖􀀞􀀓􀀞􀀒􀀑􀀐􀀔􀀞􀀛􀀏􀀎􀀚􀀏􀀍 􀀌􀀛􀀚􀀏􀀋 􀀊  \nLearning 2D Game Development with Unity: A Hands-On Guide to Game  \nCreation  \nTable of Contents  \nContents Preface Acknowledgments About the Authors Introduction  \nIntroduction to Unity  \nDownloading and Installing Unity Project Wizard  \nOpen Project Tab  \nCreate New Project Tab  \nPackages Setting Our Project  \nProject Structure  \nFolder Organization  \nFile Naming Conventions  \n1 Setting Up the Unity Development Environment Welcome Screen  \nThe Unity Interface  \nMenus  \nToolbar  \nTable of Contents  \nHierarchy  \nInspector  \nProject Browser  \nScene View  \nGame View Summary Exercises  \n2 Understanding Asset Creation File Formats  \n3D Formats  \n2D Formats Importing Our Assets  \nImporting from Inside Unity  \nImporting Premade Assets from the File Browser Creating New Assets  \nImporting Packages  \nUnity Packages  \nCustom Packages GameObjects  \nOur First GameObject  \nCreating a GameObject Components  \nCreating a Component  \nAssign a Component  \nPrefabs Summary Exercises  \nTable of Contents  \n3 Creating 2D Sprites Working in 2D  \n2D Behaviors  \n2D Workspace Building Our Sprites  \nImport Settings  \nPixels To Units  \nSprite Editor Sprite Packing  \nPacking Tag  \nSprite Packer  \nAdditional Sprite Packing Resources Summary  \nExercises  \n4 Building the Game World Level Design 101  \nSetting the Scene  \nCreating a Roadmap  \nAdding Details  \nGetting around Our Scene  \nScene Gizmo  \nPerspective versus Isometric  \nCamera Controls Manipulating Objects in Unity  \nTransform Tools  \nZ-Depth  \nSettings Our First Level  \nTable of Contents  \nPositioning GameObjects Manually  \nUsing the Snap Settings to Position GameObjects Using Grid Snapping to Position GameObjects Efficient Level Design  \nAdding Sorting Elements Continuing On Summary  \nExercises  \n5 The Basics of Movement and Player Control Coding in Unity3D  \nThe Three Languages  \nChoosing the \"Right\" Language Making the Player Go  \nDifferent Ways of Handling Movement  \nCreating and Hooking Up Our PlayerController Setting Up a Basic Follow-Cam Introducing the Input Manager  \nError Handling and Debugging  \nHandling Exceptions  \nTry-Catch-FinallyGracefully Handling Exceptions Debug.Log() Is Your Friend  \nUsing Breakpoints to Halt Code Execution Summary  \nExercises  \n6 Adding Animations to Our Scene Some Rules for Animation  \nAnimation Principles  \nTable of Contents  \n2D versus 3D Animation  \nTransform versus Frame Animation  \nScripted Animations  \nImported Animations Creating Animations  \nAnimation Component  \nAnimation Clip  \nAnimation Window  \nAnimation Events Animation States  \nAnimator Controller  \nAnimator Component  \nAnimator Window  \nEditing the Player Controller Working with the State Machine  \nTransitions  \nAny State  \nBlend Trees Summary Exercises  \n7 Setting Up Player Physics and Colliders Understanding Physics  \nMass  \nGravity  \nForce  \n2D versus 3D  \n6DoF  \nZ-Depth  \nTable of Contents  \nRotations Physics 2D Settings  \nGeneral Physics Settings  \nLayer Collision Matrix Rigidbodies Colliders  \nCircle Collider  \nBox Collider  \nEdge Collider  \nPolygon Collider Physics Materials Constraints Summary Exercise  \n8 Creating and Applying Gameplay Systems Trigger Volumes in Unity  \nTrigger2D Functions  \nAdding Trigger Components to GameObjects Creating Checkpoints  \nScripting the Checkpoint Component  \nSizing and Placing Our Checkpoint Trigger Using Checkpoints with Respawn  \nPreparing the Pit Trigger Volume  \nScripting the Pit Trigger Component Creating Collectibles  \nPreparing the Floating Coin Prefabs for Collection Scripting the CoinPickup Component  \nTable of Contents  \nPreparing the Popped Coin Prefabs for Collection Preparing the Coin Box Prefabs  \nScripting the Coin Box Component  \nScripting the CoinSpawner Component  \nHooking It All Together  \nA Touch of Polish Tracking the Player's Stats Summary  \nExercises  \n9 Creating Hazards and Crafting Difficulty Creating Your First Enemy  \nPreparing the Slime Enemy GameObject Inheritance and the EnemyControlle","cbCaiqEnkMruByvx","https://ap.wps.com/l/cbCaiqEnkMruByvx","pdf",225880,14,"English","# Introduction\n## Introduction to Unity\n## Downloading and Installing Unity\n## Project Structure and Our Project\n# Setting Up the Unity Development Environment\n## The Unity Interface\n# Understanding Asset Creation File Formats\n## 3D Formats\n## 2D Formats\n# Creating 2D Sprites\n## Working in 2D\n## Sprite Editor and Packing\n# Building the Game World\n## Level Design 101\n## Scene Setup and Controls\n# The Basics of Movement and Player Control\n## PlayerController and Input Manager\n## Debugging and Error Handling\n# Adding Animations\n## Animation Principles\n## Animator Controller and State Machine\n# Player Physics and Colliders\n## Unity Physics and Colliders\n## Physics Materials and Constraints\n# Gameplay Systems\n## Triggers, Checkpoints, and Respawn\n## Collectibles and Coin Systems\n# Creating Hazards and Difficulty\n## Enemy and Damage Logic\n## Platforming and Moving Parts\n# Menus and Interface Elements\n## UI Design Concepts\n## Unity Native GUI","[{\"question\":\"What does the book cover first when starting 2D game development in Unity?\",\"answer\":\"It begins with installing Unity, understanding the project setup process, and learning the Unity development environment including the interface and basic project structure.\"},{\"question\":\"How are 2D sprites handled in the workflow?\",\"answer\":\"It explains creating and importing sprites, configuring import settings such as Pixels To Units, and using the sprite editor and sprite packing tools to organize assets efficiently.\"},{\"question\":\"What gameplay systems are implemented in the book?\",\"answer\":\"It covers player movement and control, animations, physics and colliders, and gameplay logic such as triggers, checkpoints with respawn, collectibles, and hazards including enemy behavior and damage.\"}]","Learning 2D Game Development with Unity - A Hands-On Guide to Game Creation | PDF",35,[146,150],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/627e42d6bf15171a6950d67e40af30b0.webp",983,1319,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/d72d7bd0f40f6c09f62cf9d7605409a3.webp",982,1318,{"list":155,"token":11},[156,163,169,175,182,189,195,201,207,213],{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":161,"category_name":29,"create_tm":162},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=1796110739&Signature=Z6AkymyWyz7x0amCpSJFdNHz2jI%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":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":96,"category_name":29,"create_tm":168},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=1796110739&Signature=dvtz6pKo9SK4cTuS0OuUWMGUZm8%3D","learning-to-use-the-unity-2d-game-engine-an-introduction-to-the-unity-game-engine",1794195650,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":161,"category_name":29,"create_tm":174},141175,"How To Homebrew Game Boy Games - Create and Flash Your Own Game","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229866710373/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=9z4c8gXzw6hCOGJaZhkhfPZCDNs%3D","how-to-homebrew-game-boy-games-create-and-flash-your-own-game",1787650194,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":180,"category_name":29,"create_tm":181},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=1796110739&Signature=VPgtDb6hdz8hh8SeOI9JtPHq1qI%3D","manual-revision-16-creating-your-own-games",12,1792902943,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":29,"create_tm":188},201818,"User Manual - v1.82.0 - Game Development Basics to Advanced Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882520402/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=hvTLUd%2FYeOMTlA1pRSKWo%2FI8eVk%3D","user-manual-v1820-game-development-basics-to-advanced-features",11,1788539021,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":96,"category_name":29,"create_tm":194},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=1796110739&Signature=qM%2FpA%2FDTx5kWE87MNqxeuFgArdA%3D","getting-started-with-unity-playground",1794195621,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":127,"category_name":29,"create_tm":200},133260,"Mandala - Make computer generated mandalas in Scratch","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229860124239/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=t8rz3%2FZY%2F44%2Fw75u1HMSjL4%2F3X4%3D","mandala-make-computer-generated-mandalas-in-scratch",1787216486,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":26,"category_name":29,"create_tm":206},705089,"C# Game Programming Cookbook for Unity 3D","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230014616017/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=3mJyBvDp6rgiMf44G0cYaps4HXE%3D","c-game-programming-cookbook-for-unity-3d",1794682990,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":22,"category_name":29,"create_tm":212},760122,"Premiere Pro Beginners Guide - Using Adobe Premiere Pro","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044495879/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=LrpN27gBigQ5Rv1tJxA1NYjDLSw%3D","premiere-pro-beginners-guide-using-adobe-premiere-pro",1795898731,{"doc_id":214,"doc_title":10,"file_type":137,"home_preview_img_url":215,"slug":216,"view_count":33,"category_name":29,"create_tm":217},692355,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003283650/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110739&Signature=MOV1WIwvttcpwJzmfUsbEHOwRjY%3D","learning-2d-game-development-with-unity-a-hands-on-guide-to-game-creation-692355",1794195633]