Summary
Keywords
Full Transcript
Learn to make the classic 2D arcade game Pac-Man in Unity. Pac-Man is a maze action game developed and released by Namco for arcades in 1980. The player controls Pac-Man, who must eat all the dots inside an enclosed maze while avoiding four colored ghosts. Eating large flashing dots called "Power Pellets" causes the ghosts to turn blue, allowing Pac-Man to eat them for bonus points. 0:00ā - Introduction 1:02ā - Project Creation 3:08 - Scene Setup 5:00 - Layers & Collision Matrix 7:55 - Importing Sprites 9:36 - Maze Tilemap 13:55 - Pellets Tilemap 22:27 - Nodes Tilemap 26:56 - Game Manager 43:08 - Pacman Creation 48:48 - Animated Sprites 58:12 - Pacman Movement 1:21:00 - Player Input 1:26:31 - Passages 1:31:54 - Eating Pellets 1:45:33 - Ghost Prefabs 2:00:31 - Ghost Behavior Setup 2:22:35 - Ghost Scatter Behavior 2:36:32 - Ghost Chase Behavior 2:43:53 - Ghost Home Behavior 3:01:45 - Ghost Frightened Behavior 3:19:35 - Ghost Eyes Direction 3:23:02 - Project Recap / Outro š„ļø Source code and assets: https://github.com/zigurous/unity-pacman-tutorial š Subscribe for more Unity tutorials: http://www.youtube.com/c/zigurous?sub_confirmation=1 š¬ Join our Discord community: https://discord.gg/DdYyWVb š Become a Patreon supporter: https://patreon.com/zigurous ā¤ļø Support my work: https://www.paypal.com/donate?hosted_button_id=BGS8Y9U798JS8 ā Download my Unity assets: https://zigurous.com/assets Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·ĀĀĀ·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·Ā·ĀĀ·ĀĀ·Ā·Ā·Ā· āŗ Learn more about my work: https://zigurous.com āŗ Follow for news and updates: https://twitter.com/zigurous #unity #unitytutorial #gamedev #unity3d #unity2d #gamedevelopment #indiegame #indiedev #madewithunity
