Intro

It’s Chicken Time! Chicken Time is a simple mobile game reminiscent of Snake. Y’know — that retro game where you control a snake that eats fruit and grows real long? Yeah! We’ll be recreating that, but making it 3D and replacing the snake with chickens. Because… chickens……

We’ll be posting a series of tutorials every weekday! At the end of the series, you’ll have your own version of Chicken Time that you can play on any Android mobile device 😉 

Are you a newcomer? Welcome! We recommend reading this article first!

A picture showing the final result of this tutorial.

In today’s tutorial, we’ll be covering the scene set-up. A simple start!

_________________________________________________________________________________________________________

Step 1: Create a standard 3D project

A picture showing the settings for creating a Unity project.

Step 2: Set-up the play area

We wanted our game to take place in a small restaurant that was on fire. To ensure our game had style but our assets still remained low-poly enough to work on mobile, we decided to use voxel assets.

We used Too Many Items’ Kitchen pack. This is our set-up:

A picture showing how we set up our environment.

We used cubes for the walls, and a plane for the floor.

  • Note: If you want the walls to be as low as ours, the colliders of the wall must be high enough that your player’s character will not accidentally jump over/through your walls.

If you are having trouble coming up with a setup for your play area, you can check out this board we have made. We looked up different types of voxel environments and used them as an inspiration for our final setup. It always helps to collect references to get a clearer idea of what you want to make, so we recommend you do this too!

Step 3: Add colliders to all the furniture / obstacles in your play area

Create an empty game object and add as many collider components as there are big obstacles in your scene. 

A picture showing the different types of colliders.    A picture showing the colliders in our environment.

Step 4: Add in props for decoration!

I added a fire particle effect to the stove + flora around the restaurant.

A picture showing our environment, decorated with trees and fire.

The fire is ‘FX_Fire’ from the Simple FX – Cartoon Particles Pack, and the trees, bushes and rocks are from the Low-Poly Nature Props Pack.

Step 5: Apply some Post-processing effects to your scene

  1. Import the Post-Processing package using the Unity Package Manager.
    A picture showing where to enable preview packages in Unity.
    If you can’t find it, make sure that “Show preview packages” is enabled!
  2. Create an extra layer and call it “Post-Processing”. Add the camera and all the furniture and decor you’ve laid out in your scene to this layer.        

A picture showing the Post-Processing layer in Unity.    A picture showing the camera in the scene under the Post-Processing layer.

  1. Add the ‘Post-process Layer’ component to the camera. After pressing ‘This’, add the ‘Post-process Volume’ component to the camera as well. A picture showing how to add the post-process volume component in the post-process layer.
  2. Now, add all the post-processing effects you want! Make sure not to add too many, though, or your mobile device won’t be able to handle all of them. These are the effects we added:

A picture showing the different settings for the post-process layer.

 

The final result:

A picture showing the complete environment with post-processing.

All right! You’ve taken your first steps to making your version of Chicken Time a reality~ Check back in tomorrow for our tutorial on simple movement using buttons for mobile devices.

_________________________________________________________________________________________________________

If you’re interested in finding out more about the game dev process, do follow our Instagram page @noodletsstudio! Not only will we be posting updates on the game we’re developing, we’ve also been putting up handy dandy tutorials on different aspects of game development. Currently, we have some tutorials on simple particle effects and mobile joystick movement up! Do check us out 😉

About Amphibi Studio

Amphibi Studio is studio led by students dedicated to creating explosive fun, emergent gameplay productions.

Mentors provide real-life guidance to cultivate students in creating their own games, interactive works or animation productions.

Blk 31, Level 7
School of InfoComm Technology
Ngee Ann Polytechnic
Singapore
E: info@amphibistudio.sg