Skip to Main Content
Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation
book

Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation

by Matthew Johnson, James A. Henley
December 2014
Beginner content levelBeginner
384 pages
11h 15m
English
Addison-Wesley Professional
Content preview from Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation

Creating a Particle Effect for Coin Boxes

The best way to understand a system is to put it to use, so let’s create a particle effect to play when the player strikes a coin box. We’ll make it something simple, using the most basic elements of the particle system. Take the following steps to get things started:

1. Use GameObject > Create Other > Particle System to create a GameObject with a Particle System Component.

2. Select a recognizable icon, such as a purple diamond, so that we can quickly see our particle system in the Scene View.

3. Name the GameObject “particle_coinBox.”

We now have a standard particle system that we can work from. We’ll look at the settings, one at a time, to create an appropriate visual effect for when the player picks ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with MonoGame: Build a 2D Game Using Your Own Reusable and Performant Game Engine

Game Development with MonoGame: Build a 2D Game Using Your Own Reusable and Performant Game Engine

Louis Salin, Rami Morrar
Game Development Projects with Unreal Engine

Game Development Projects with Unreal Engine

Hammad Fozi, Gonçalo Marques, David Pereira, Devin Sherry

Publisher Resources

ISBN: 9780133523416Purchase book