Unity 2D Game Development by Unknown
Author:Unknown
Language: eng
Format: epub, mobi, pdf
Publisher: Packt Publishing
So what was the point of creating the death trigger in a different way before? The answer is that we could show you multiple ways to handle 2D collisions. You're welcome!
Making the world bigger
Now that your player can jump around the world, let's give them a few more platforms to jump on. First things first, let's make that platform standard. Let's create a Prefab with it. In the Project tab, create a folder called Prefabs. Now, drag-and-drop the Platform into the Prefabs folder to automatically turn it into a Prefab. Now you can go ahead and place more platforms around the scene by dragging and dropping the platform from the Prefabs folder into the scene, spacing them so the player can jump between them. This is the power of Prefabs. Because now if we need to change the platform, we simply change the one in the Project tab and all placed platforms in the game world will automatically update with the changes.
Let's keep this organized. Create a new empty GameObject and name it Platform Container. In the Hierarchy tab, drag-and-drop all of the platforms into this new object, making them children of it, as shown in the following screenshot:
Download
Unity 2D Game Development by Unknown.mobi
Unity 2D Game Development by Unknown.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Aircraft Design of WWII: A Sketchbook by Lockheed Aircraft Corporation(32132)
The Great Music City by Andrea Baker(30778)
Call Me by Your Name by André Aciman(19891)
The Art of Boudoir Photography: How to Create Stunning Photographs of Women by Christa Meola(18400)
The Secret History by Donna Tartt(18145)
Shoot Sexy by Ryan Armbrust(17554)
Plagued by Fire by Paul Hendrickson(17102)
Portrait Mastery in Black & White: Learn the Signature Style of a Legendary Photographer by Tim Kelly(16865)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16794)
Photographically Speaking: A Deeper Look at Creating Stronger Images (Eva Spring's Library) by David duChemin(16493)
Ready Player One by Cline Ernest(13969)
Pimp by Iceberg Slim(13769)
Bombshells: Glamour Girls of a Lifetime by Sullivan Steve(13680)
The Goal (Off-Campus #4) by Elle Kennedy(13192)
Art Nude Photography Explained: How to Photograph and Understand Great Art Nude Images by Simon Walden(12847)
Kathy Andrews Collection by Kathy Andrews(11316)
The Priory of the Orange Tree by Samantha Shannon(8594)
Thirteen Reasons Why by Jay Asher(8441)
The remains of the day by Kazuo Ishiguro(8376)
