A Gentle Introduction to Unity 2D Game Programming

Slides:



Advertisements
Similar presentations
The lava escape. How to play: The object of the game is to get to the finish without touching the lava. You can do so by not moving your mouse on to the.
Advertisements

Using your brain… Click on the heart to start the game!
How to… Keep your character from leaving the game (never to return)
GameCamp! and Game Davis Creating a 2D Platformer in Unity.
Done already for your convenience! Telerik School Academy Unity 2D Game Development.
GameCamp! and Game Davis Introduction to Scripting in Unity®
Yingcai Xiao Game Development with Unity3D Inside/Outside Unity3D.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
1 An intro to programming concepts with Scratch Session 1 of 10 sessions Looks and Motion.
Based on Roll-a-ball video tutorial from Unity Technologies Part WakeUpAndCode.com.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
VIDEO GAME PROGRAMMING Video Game Programming Junior – DigiPutt INSTRUCTOR TEACHER’S ASSISTANT.
UFCEKU-20-3Web Games Programming Unity 3D Basic Concepts Using and Creating Prefabs.
EEC-693/793 Applied Computer Vision with Depth Cameras Lecture 13 Wenbing Zhao
Getting Started with Scratch Version 1.4 Visit
Learning Unity. Getting Unity
What is Action Script 1.It is a programming language used in Flash 2.It is a language derived from JavaScript 3.It is an interactive language to control.
SE 320 – Introduction to Game Development Lecture 3: Unity’s Interface and Concepts Lecturer: Gazihan Alankuş Please look at the last two slides for assignments.
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
Derived from Kirill Muzykov’s Rocket Mouse Tutorial WakeUpAndCode.com.
Cloning in Scratch Computer App Session 6. Cloning in Scratch Learning Objectives: I will clone sprites in Scratch to create copies of an existing sprite.
Instructions Go to the shared area and open a file Go to -> S:\ICT\My Teacher\Mr Crossan\Year 7\Catch the Clown Open the Catch the Clown file by double.
90 Vertical Horizontal Oblique line a b Angles a + b = 180 o Angles at a Point b = 115 o Angle a = 180 – 115 = 65 o.
INTRO TO UNITY Building your first 3D game. DISCLAIMER  “This website is not affiliated with, maintained, endorsed or sponsored by Unity Technologies.
Yingcai Xiao Game Development with Unity3D Inside/Outside Unity3D.
Game Development with Unity3D
Creating a UFO Rescue Game in Alice
EEC-693/793 Applied Computer Vision with Depth Cameras
Scratch Helicopter Game
Game Development with Unity3D Inside/Outside Unity3D
Done already for your convenience!
Module 1: Investigation 2 Repeating and Alternating Patterns
Friction.
Unity 2D: Step by Step, Part 4
EEC-693/793 Applied Computer Vision with Depth Cameras
Translations.
Company Name Here Click Here To Add Text.
Click here for the answer. Click here for the answer.
Friction.
Click here for the answer. Click here for the answer.
Click here for the answer. Click here for the answer.
Creating a UFO Rescue Game in Alice
Chapter 16 – Programming your App’s Memory
EEC-693/793 Applied Computer Vision with Depth Cameras
Dance Cards Dance Cards
Collision Detection, Prefabs
lecture 8 Our First Project
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Friction.
Dance Cards Dance Cards
Dance Cards Dance Cards
Creating & Using Sprites Adding Colliders
Dance Cards Dance Cards
Dance Cards Dance Cards
Fundaments of Game Design
STEP ONE. STEP ONE. STEP ONE. STEP ONE. STEP ONE. 02
EEC-693/793 Applied Computer Vision with Depth Cameras
Do you trust the 8 Ball? The 8 Ball always knows..
Dance Cards Dance Cards
YOUR text YOUR text YOUR text YOUR text
Dance Cards Dance Cards
Dance Cards Dance Cards
6 Figure Grid References
Unity Game Development
Move the mouse pointer onto the red box
Dance Cards Dance Cards
2.2 – Activity Packages Create a new Process in UiPath Studio
Dance Cards Dance Cards
Presentation transcript:

A Gentle Introduction to Unity 2D Game Programming

Create a New Unity 2D Project

Play/Edit Toggle Game Scene Area

Click here to create a new Object

Make it a 2D Object of type Sprite

Move it to position x=3, y=3 Rename it "Ball" Move it to position x=3, y=3

Click here to create a new Sprite Name it CircleSprite

You can apply this CircleSprite to the Ball object by clicking and dragging it to here

Click Add Component and add a Physics 2D component called a Circle Collider to the Ball object

Next add a Physics 2D Component called Rigitbody 2D to the Ball object

Now create a square (actually rectanglar) object called the Floor Give the floor the Physics 2D properties of Box Collider and RigidBody 2D Make the Body Type Static

Run the "Game" to test the properties of you Ball object It should fall and come to rest on the Floor object

Now create a Plank object associate a sprite with it and give it Box Collider and RigidBody 2D properties Make it static and place it under the Ball at an angle, say 30 deg

Run the Game to Test the Ball's Behavior

Create a Physics Material 2D and call it BallMaterial Next, click and drag BallMaterial directly onto the Ball object

Run the Game again to Test the change in the Ball's behavior