0% found this document useful (0 votes)
39 views

2d Arcade Game

The document outlines how to build a 2D arcade game using Unity and C#. It discusses setting up the Unity project, building the game world, animating the player, adding enemies and challenges, scoring systems, audio, testing, and deployment. The document provides steps and considerations for each stage of developing the game.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

2d Arcade Game

The document outlines how to build a 2D arcade game using Unity and C#. It discusses setting up the Unity project, building the game world, animating the player, adding enemies and challenges, scoring systems, audio, testing, and deployment. The document provides steps and considerations for each stage of developing the game.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

BUILDING OF PLATFORM

2D ARCADE GAME WITH


UNITY AND C#
Table Of Content
Stages Content

1 Introduction

2 Setting up of project

3 Building the game world

4 Animating the player

5 Adding enemies and challenges

6 Scoring and user interface

7 Audio and sound effect

8 Testing and polishing

9 Deployment and Conclusion


Introduction
o What is an arcade game?
o Unity and C#
o game concept: 01
What is an arcade game?
1. Arcade games often have short levels, which rapidly increase in difficulty with simple and
intuitive controls. Game players are essentially renting the game for as long as the game
avatar is alive. For this business model to be profitable, the difficulty of the game must be
high enough to make the players reach a game-over state and engaging or addictive enough to
keep the players playing. Nowadays, the arcade is clearly dead in most parts of the world as
what was once amazing technology is available on your cell phone.
2. PC- or console games are sometimes referred to as arcade games if they share the same
qualities as real arcade games such as the following:
• Intuitive and simple controls with simple physics.
• Short levels which become increasingly difficult as the game progresses.
• A focus on gameplay rather than on content or story.
Unity and C#
About Unity
• Unity Hub is an software that allows you to find, download and manage Unity projects and
installations.
• Unity's strengths in 2D game development: user-friendly interface, powerful tools, vast asset library
• Unity is a 2D/3D engine and framework that gives you a system for designing game or app scenes
for 2D, 2.5D and 3D.
• It's a real-time development platform that uses the C# programming language and .NET to build
applications for multiple platforms.
• Unity is designed to simplify game development by providing tools and features that developers can
use to build their projects.
• It allows developers to create and manipulate game objects within a 3D or 2D environment.
About
• C#'s object-oriented nature and integration with Unity
• C# is easy to learn and structured. It's close to other popular languages like C++ and Java,
and developers familiar with these languages have found C# comfortable.
• C# was designed in 2000 by Microsoft for its .NET framework and approved by ECMA and
ISO. The first version was released in 2002. As of November 2022, C# ranked #4 on the
PYPL Popularity of Programming Language Index.
• C# supports multiple paradigms, including:
• Static typing, Strong typing, Lexical scoping, Imperative, Declarative, Functional, Generic,
Object-oriented (class-based, Component-oriented.
Game Concept
• Platformer games, also known as jump 'n' run games, are a subgenre of action video
games. In these games, players control a character who runs, jumps, and swings from ropes
to move through an environment. The goal is to move the character between points in the
environment.

• Platformer gameplay involves jumping between platforms or over obstacles. Players must
use skill to avoid their character falling off platforms or missing jumps. The gameplay is
sometimes called "platforming".
Setting Up the
Project



Installing Unity and C#
Creating a new project in Unity
Importing assets: sprites,
backgrounds, sound effects, music
Organizing your project: folders for
scripts, assets, scenes, etc.
02
Installing Unity and C#

1. Go to the Unity website's Download


Unity page.
2. Select Download Unity Hub.
3. Open the installer file.
4. Follow the instructions in the Unity
Hub setup window.
Setup C# in unity

1. To create a script, you will first go inside the


scripts folder.
2. Then you must right-click on the space and
click on create and select C# Script.
3. You will name it "Movement." Make sure to
name them correctly.
4. You can double-click on the script to open it
in Visual Studio.
5. You can save it now.
Importing assets: sprites, backgrounds, sound effects, music

• Choose Assets > Import Package > plus the name of


the package you want to import, and the Import a
Unity Package dialog box displays, with all the items
in the package pre-checked, ready to install.
• An asset is representation of any item that can be
used in your game or project.
Building the Game World

03
• Creating the game scene: using the Scene Editor to place
backgrounds, platforms, obstacles, etc.
• Setting up the camera: orthographic projection for 2D,
adjusting zoom and position
• Physics: adding colliders and rigid bodies to enable object
interactions (e.g., player collision with platforms)
Animating the Player

04
• Importing sprite sheets for player animations (idle, running,
jumping, attacking)
• Creating animator controller: defining states and transitions for
different animations
• Scripting player movement: C# code to handle input,
movement physics, and animation triggers
Adding Enemies and Challenges

05
• Designing and importing enemy sprites
• Scripting enemy AI: movement patterns, attack
behaviour, collision detection
• Implementing obstacles and hazards: platforms, spikes,
moving objects
• Level design: creating engaging stages with increasing
difficulty
Scoring and User Interface

06
• Keeping track of the score: C# variables and UI elements
to display score
• Power-ups and bonuses: adding collectibles for points
and gameplay enhancements
• Game over and restart: scripting game ending conditions
and restart functionality
• Creating an attractive and informative UI: menus, health
bars, lives indicators
Audio and Sound Effects

07
• Implementing background music and sound effects for
ambiance and feedback
• Scripting audio triggers for player actions, enemy
interactions, and score events
• Importance of sound design in enhancing player
experience
Testing and Polishing
• Playtesting the game: identifying bugs, balancing

08
difficulty, refining controls
• Gathering feedback from others: valuable insights
for improvement
• Polishing the final touches: animations, sound
effects, UI adjustments
Deployment and Conclusion




Choosing a platform: web, mobile, desktop options
Building and exporting the game
Sharing your game with the world: online platforms,
communities
Final thoughts: the journey of game development, learning
09
experience, future projects
Prototype of game
Thankyou
Presented by
Ayush Atreya
Priyank Rajput
Rachit Raizada
Rytham Sharma

You might also like