2. National High School Game Academy
Summer 2015 Pre-College Program in Carnegie Mellon
Six weeks learning about
game design, 2D and 3D art,
sound design, and programming
The last 2 weeks making total of two games
using Unity, a game development platform
3. Mobile Game Development Project
Development Platform Language
A team consisting of
2 artists, 2 programmers,
and a sound designer
2 weeks given
4. About Unity
cross-platform game engine developed by Unity Technologies
used to develop video games for PC, consoles, mobile devices
and websites
https://en.wikipedia.org/wiki/Unity_(game_engine)
5. MonoBehaviour, the Base Class
• The base class every script derives from.
• In C#, you must explicitly derive from the class MonoBehaviour.
• It is important to override suitable “messages” so that the game
can operate as planned.
• http://docs.unity3d.com/ScriptReference/MonoBehaviour.html
6. Tortoise Hg
• First time to use a repository in order to co-work with others
and share the artifacts.
• Remarks
We needed to communicate
before pushing changes.
It is comfortable to use
when working properly.
However, experienced
many conflicts.
7. Project Procedure
Brainstorm ideas Sketch each scene/characters
Artists created scene/character.
Programmers began coding main functions/actions.
Art and code put together.
Our team had a poster with task that needed to be completed and fixed.
Test Make game more playable and smooth
Polish
Continue developing
9. 36 classes / Main class: PlayerMovement.cs
Source Code Repository
This is a part of our assets folder.
As you can see organization is encouraged when working with
many files and lots of people.
Output - Scripts
11. Image files for opening scene to game
A sequence of image files when the game starts
Output – Image Sequence
12. Dream Moor - Game Story
An orphan named Piper dreams
about a magical place called the
Dream Moor. There, she gets to
escape the harsh reality.
However, when enemies start
attacking her and she loses health,
the dream slowly turns into a
nightmare. Piper needs to collect the
last idol before she wakes up from
her dream.
Piper
Enemy
13. Piper loses all her healthPiper has to collect all four idols
scattered around the maze.
Inventory : Bunny bear elephant princess
Win Lose
Health Bar
18. Remarks (1/3)
• First-time Game Development
As this was the first time I programmed for a game, I
learned a lot through the process.
Collaborating together
19. Remarks (2/3)
• Emphases
I wish I understood the importance of
keeping track of all the code,
keeping a list of what is done and what isn’t
and the proper way to use the repository before I began the
project.
TO-DO
AS-IS Repository
usage
20. Remarks (3/3)
• Learning Through Trial and Error
For example, when creating obstacles,
I originally programmed each tree and shrub as its
own object which increased storage by a lot and
caused the player to get stuck.
I found out a more easier way to do this was create
a transparent box and layer the sprite.
gettyimages.com
21. The game development process was difficult and
the initial attempt was not as good as I had expected.
However, the experience gained from this project
will help me on my next.
Editor's Notes
Unity(v 5.1.1f1 personal)
C#
Time given: 2 Weeks
Requirement: Create a mobile game
A team consisted of two artists, two programmers, and a sound designer.
Repository
Communicate before pushing changes.
Comfortable to use when working properly
Experience conflicts when committing source code
Brainstorm ideas sketch each scene/characters artists created scene/characters & programmers began coding main functions/actions Art and code put together have a poster with tasks that need to be completed or fixed test run make game more playable and smooth polish add sound polish finish.
2D Unity project
Source Code
Main Class : PlayerMovement.cs
Assets/Scripts
Game Story
An orphan named Piper dreams about a magical place called the Dream Moor. There, she gets to escape the harsh reality. However, when enemies start attacking her and she lose health, the dream slowly turns into a nightmare. Piper needs to collect the last idol before she wakes up from her dream.
Plz attach a description for this page
2D Unity project
Source Code
Main Class : PlayerMovement.cs
Assets/Scripts
Game Story
An orphan named Piper dreams about a magical place called the Dream Moor. There, she gets to escape the harsh reality. However, when enemies start attacking her and she lose health, the dream slowly turns into a nightmare. Piper needs to collect the last idol before she wakes up from her dream.
Win: Piper has to collect all four idols scattered around the maze
Bunny bear elephant princess
Lose: Piper loses all her health