Animating a sprite in Unity is essentially creating a computerized flipbook. Since a sprite is an image attached to your game object, just swap between different sprites to create an animation.

Switching between sprites in Unity Editor to simulate animation

To create an animation for this Triple Shot Powerup, you would display each of these sprites in rapid succession…

Getting bored with your game? Moving and shooting doesn’t entertain like it used to? Just like a much-needed cup of coffee on Monday morning, fire up your game experience with a Power Up!

Objective: Add a collectible power-up object that changes player functionality

Steps:

  • Build Power Up functionality on the…

Top-down shooter prototype

So far, you’ve been living in a primitive world of colors and shapes, building a prototype of a top-down shooter. Prototyping allows you to focus on programming functionality without complicating the process with assets. The functionality built here, from player movement and instantiating projectiles to spawning an endless stream of…

While it’s great that you can use Update() to make something happen every frame, have you ever wanted to just slow things down a little? Unity’s Coroutines allow you to do just that!

What’s a coroutine?

A coroutine is a type of method that allows you to pause processing at a particular line…

At some point in your game, you’ll need your objects to interact. Whether it’s two cars crashing into each other or a projectile hitting an enemy or anything else you can think of, Unity provides two type of collisions to meet your needs: Surface Collisions and Trigger Collisions.

Surface Collisions

Surface collisions…

As awesome as it may be to fire lasers as fast as you can press the button, you can add difficulty, depth and a dose of reality to your game by implementing a cool-down system.

Objective: Enable time delay between laser fires.

Lasers fire as fast the space key is pressed

Starting Point: Laser fires from Player object as…

Erin Brown

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store