Enviar búsqueda
Cargar
玉転がしゲームで学ぶUnity入門
•
27 recomendaciones
•
25,300 vistas
nakamura001
Seguir
解説を聞きながら見る前提で作成しているスライドです。こちらの動画と一緒にご覧下さい。 http://www.ustream.tv/recorded/14715477
Leer menos
Leer más
Educación
Denunciar
Compartir
Denunciar
Compartir
1 de 61
Descargar ahora
Descargar para leer sin conexión
Recomendados
Paperjs presentation
Paperjs presentation
sharp-blade
Azure sql insert perf
Azure sql insert perf
Mornè Blake
Async Redux Actions With RxJS - React Rally 2016
Async Redux Actions With RxJS - React Rally 2016
Ben Lesh
Home Automation with Android Things and the Google Assistant
Home Automation with Android Things and the Google Assistant
Nilhcem
Paperjs presentation
Paperjs presentation
sharp-blade
Debugging JavaScript with Chrome
Debugging JavaScript with Chrome
Igor Zalutsky
Jk rubyslava 25
Jk rubyslava 25
Jozef Képesi
Deploy in the Cloud
Deploy in the Cloud
Pablo Cantero
Recomendados
Paperjs presentation
Paperjs presentation
sharp-blade
Azure sql insert perf
Azure sql insert perf
Mornè Blake
Async Redux Actions With RxJS - React Rally 2016
Async Redux Actions With RxJS - React Rally 2016
Ben Lesh
Home Automation with Android Things and the Google Assistant
Home Automation with Android Things and the Google Assistant
Nilhcem
Paperjs presentation
Paperjs presentation
sharp-blade
Debugging JavaScript with Chrome
Debugging JavaScript with Chrome
Igor Zalutsky
Jk rubyslava 25
Jk rubyslava 25
Jozef Képesi
Deploy in the Cloud
Deploy in the Cloud
Pablo Cantero
Google I/O 2013 - Android Graphics Performance
Google I/O 2013 - Android Graphics Performance
DouO
Playing With Fire - An Introduction to Node.js
Playing With Fire - An Introduction to Node.js
Mike Hagedorn
Using Android Things to Detect & Exterminate Reptilians
Using Android Things to Detect & Exterminate Reptilians
Nilhcem
Rethink Async With RXJS
Rethink Async With RXJS
Ryan Anklam
Letswift19-clean-architecture
Letswift19-clean-architecture
Jung Kim
You will learn RxJS in 2017
You will learn RxJS in 2017
名辰 洪
MBL203 Building a Mobile Application Platform on AWS - AWS re: Invent 2012
MBL203 Building a Mobile Application Platform on AWS - AWS re: Invent 2012
Amazon Web Services
Program to sort array using insertion sort
Program to sort array using insertion sort
Swarup Boro
Python modulesfinal
Python modulesfinal
Saraswathi Murugan
Real life XNA
Real life XNA
Johan Lindfors
A More Flash Like Web?
A More Flash Like Web?
Murat Can ALPAY
Testing a 2D Platformer with Spock
Testing a 2D Platformer with Spock
Alexander Tarlinder
HTML5 - Daha Flash bir web?
HTML5 - Daha Flash bir web?
Ankara JUG
Emerging Languages: A Tour of the Horizon
Emerging Languages: A Tour of the Horizon
Alex Payne
ES6 Overview
ES6 Overview
Bruno Scopelliti
Intro to HTML5
Intro to HTML5
Jussi Pohjolainen
【Unity】Scriptable object 入門と活用例
【Unity】Scriptable object 入門と活用例
Unity Technologies Japan K.K.
ECMAScript 6 major changes
ECMAScript 6 major changes
hayato
jQuery Foot-Gun Features
jQuery Foot-Gun Features
dmethvin
Fullstack Conference - Proxies before proxies: The hidden gems of Javascript...
Fullstack Conference - Proxies before proxies: The hidden gems of Javascript...
Tim Chaplin
NodeJS
NodeJS
.toster
Pointer Events in Canvas
Pointer Events in Canvas
deanhudson
Más contenido relacionado
La actualidad más candente
Google I/O 2013 - Android Graphics Performance
Google I/O 2013 - Android Graphics Performance
DouO
Playing With Fire - An Introduction to Node.js
Playing With Fire - An Introduction to Node.js
Mike Hagedorn
Using Android Things to Detect & Exterminate Reptilians
Using Android Things to Detect & Exterminate Reptilians
Nilhcem
Rethink Async With RXJS
Rethink Async With RXJS
Ryan Anklam
Letswift19-clean-architecture
Letswift19-clean-architecture
Jung Kim
You will learn RxJS in 2017
You will learn RxJS in 2017
名辰 洪
MBL203 Building a Mobile Application Platform on AWS - AWS re: Invent 2012
MBL203 Building a Mobile Application Platform on AWS - AWS re: Invent 2012
Amazon Web Services
Program to sort array using insertion sort
Program to sort array using insertion sort
Swarup Boro
Python modulesfinal
Python modulesfinal
Saraswathi Murugan
La actualidad más candente
(9)
Google I/O 2013 - Android Graphics Performance
Google I/O 2013 - Android Graphics Performance
Playing With Fire - An Introduction to Node.js
Playing With Fire - An Introduction to Node.js
Using Android Things to Detect & Exterminate Reptilians
Using Android Things to Detect & Exterminate Reptilians
Rethink Async With RXJS
Rethink Async With RXJS
Letswift19-clean-architecture
Letswift19-clean-architecture
You will learn RxJS in 2017
You will learn RxJS in 2017
MBL203 Building a Mobile Application Platform on AWS - AWS re: Invent 2012
MBL203 Building a Mobile Application Platform on AWS - AWS re: Invent 2012
Program to sort array using insertion sort
Program to sort array using insertion sort
Python modulesfinal
Python modulesfinal
Similar a 玉転がしゲームで学ぶUnity入門
Real life XNA
Real life XNA
Johan Lindfors
A More Flash Like Web?
A More Flash Like Web?
Murat Can ALPAY
Testing a 2D Platformer with Spock
Testing a 2D Platformer with Spock
Alexander Tarlinder
HTML5 - Daha Flash bir web?
HTML5 - Daha Flash bir web?
Ankara JUG
Emerging Languages: A Tour of the Horizon
Emerging Languages: A Tour of the Horizon
Alex Payne
ES6 Overview
ES6 Overview
Bruno Scopelliti
Intro to HTML5
Intro to HTML5
Jussi Pohjolainen
【Unity】Scriptable object 入門と活用例
【Unity】Scriptable object 入門と活用例
Unity Technologies Japan K.K.
ECMAScript 6 major changes
ECMAScript 6 major changes
hayato
jQuery Foot-Gun Features
jQuery Foot-Gun Features
dmethvin
Fullstack Conference - Proxies before proxies: The hidden gems of Javascript...
Fullstack Conference - Proxies before proxies: The hidden gems of Javascript...
Tim Chaplin
NodeJS
NodeJS
.toster
Pointer Events in Canvas
Pointer Events in Canvas
deanhudson
Test driven game development silly, stupid or inspired?
Test driven game development silly, stupid or inspired?
Eric Smith
HTML5って必要?
HTML5って必要?
GCS2013
JavaScript - Object-Oriented Programming & Remote Scripting
JavaScript - Object-Oriented Programming & Remote Scripting
Chen Huang
Matthew Eernisse, NodeJs, .toster {webdev}
Matthew Eernisse, NodeJs, .toster {webdev}
.toster
create file name as board.javawrite below codeimport java.aw.pdf
create file name as board.javawrite below codeimport java.aw.pdf
proloyankur01
How to build a html5 websites.v1
How to build a html5 websites.v1
Bitla Software
Mary Had a Little λ (QCon)
Mary Had a Little λ (QCon)
Stephen Chin
Similar a 玉転がしゲームで学ぶUnity入門
(20)
Real life XNA
Real life XNA
A More Flash Like Web?
A More Flash Like Web?
Testing a 2D Platformer with Spock
Testing a 2D Platformer with Spock
HTML5 - Daha Flash bir web?
HTML5 - Daha Flash bir web?
Emerging Languages: A Tour of the Horizon
Emerging Languages: A Tour of the Horizon
ES6 Overview
ES6 Overview
Intro to HTML5
Intro to HTML5
【Unity】Scriptable object 入門と活用例
【Unity】Scriptable object 入門と活用例
ECMAScript 6 major changes
ECMAScript 6 major changes
jQuery Foot-Gun Features
jQuery Foot-Gun Features
Fullstack Conference - Proxies before proxies: The hidden gems of Javascript...
Fullstack Conference - Proxies before proxies: The hidden gems of Javascript...
NodeJS
NodeJS
Pointer Events in Canvas
Pointer Events in Canvas
Test driven game development silly, stupid or inspired?
Test driven game development silly, stupid or inspired?
HTML5って必要?
HTML5って必要?
JavaScript - Object-Oriented Programming & Remote Scripting
JavaScript - Object-Oriented Programming & Remote Scripting
Matthew Eernisse, NodeJs, .toster {webdev}
Matthew Eernisse, NodeJs, .toster {webdev}
create file name as board.javawrite below codeimport java.aw.pdf
create file name as board.javawrite below codeimport java.aw.pdf
How to build a html5 websites.v1
How to build a html5 websites.v1
Mary Had a Little λ (QCon)
Mary Had a Little λ (QCon)
Último
psychiatric nursing HISTORY COLLECTION .docx
psychiatric nursing HISTORY COLLECTION .docx
PoojaSen20
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
Jayanti Pande
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
Thiyagu K
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
MaritesTamaniVerdade
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
Thiyagu K
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
Mebane Rash
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
misteraugie
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
agholdier
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
VishalSingh1417
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
NikitaBankoti2
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
VishalSingh1417
PROCESS RECORDING FORMAT.docx
PROCESS RECORDING FORMAT.docx
PoojaSen20
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
Celine George
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
Nguyen Thanh Tu Collection
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University of Engineering & Technology, Jamshoro
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
jbellavia9
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Denish Jangid
Último
(20)
psychiatric nursing HISTORY COLLECTION .docx
psychiatric nursing HISTORY COLLECTION .docx
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
PROCESS RECORDING FORMAT.docx
PROCESS RECORDING FORMAT.docx
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
玉転がしゲームで学ぶUnity入門
1.
Unity
2.
※
http://www.ustream.tv/recorded/14715477
3.
4.
• Hierarchy
Cube
5.
•
Floor
6.
• Position
0, 0, 0
7.
• Scale
10, 1, 30
8.
• Project
Material
9.
•
FloorMaterial •
10.
• Hierarchy
Floor
11.
•
12.
13.
• Hierarchy
Directional light
14.
• •
) Position -3, 9, -7 Rotation 38, 0, 0
15.
Player(
)
16.
• Hierarchy
Sphere
17.
•
Player • Position 0, 3, -5
18.
• Project
Material • PlayerMaterial
19.
• Project
※ http://d.hatena.ne.jp/nakamura001/files/net.png
20.
• PlayerMaterial
21.
• Player
22.
23.
• MainCamera Position
0, 6, -10 • Rotation 40, 0, 0
24.
Player(
)
25.
Player • Project
JavaScript
26.
Player •
PlayerAction • Player
27.
JavaScript var power =
20.0; function Update () { ! var x = Input.GetAxis("Horizontal") * Time.deltaTime * power; ! var z = Input.GetAxis("Vertical") * Time.deltaTime * power; ! Debug.Log("x="+x+", z="+z); ! transform.Translate(x, 0, z); }
28.
29.
•
30.
•
31.
32.
33.
• Player
Rigidbody
34.
Package Project Import Package→Physic Materials
35.
Package •
import
36.
• Ice
Player Sphere Collider Material
37.
JavaScript var power =
80.0; function Update () { ! var x = Input.GetAxis("Horizontal") * Time.deltaTime * power; ! var z = Input.GetAxis("Vertical") * Time.deltaTime * power; ! Debug.Log("x="+x+", z="+z); ! rigidbody.AddForce(x, 0, z); }
38.
•
39.
40.
JavaScript var power =
80.0; var jumpPower = 300.0; function Update () { ! var x = Input.GetAxis("Horizontal") * Time.deltaTime * power; ! var z = Input.GetAxis("Vertical") * Time.deltaTime * power; ! Debug.Log("x="+x+", z="+z); ! rigidbody.AddForce(x, 0, z); ! if (Input.GetButtonDown("Jump")) { ! ! Debug.Log("Jump"); ! ! rigidbody.AddForce(0, jumpPower, 0); ! } }
41.
•
42.
43.
• Hierarchy Cube •
Goal • Position 0, 1.4, 0 Scale 2, 2, 2
44.
• Project
Material • GoalMaterial
45.
• Shader
Particles/Additive (Particles→ Additive ) •
46.
• GoalMaterial
Goal
47.
48.
• GUI Text
GameClear
49.
• Text GAME
CLEAR • Anchor middle center • Font Size 40
50.
Goal JavaScript
51.
JavaScript • JavaScript •
GoalAction • Goal
52.
JavaScript private var player:
GameObject; private var gameClear: GameObject; function Start() { ! player = GameObject.Find("Player"); ! gameClear = GameObject.Find("GameClear"); ! gameClear.active = false; } function OnCollisionEnter(theCollision : Collision){ ! if(theCollision.gameObject.name == "Player"){ ! ! gameClear.active = true; ! ! player.rigidbody.Sleep(); ! ! player.SendMessage("stop"); ! } }
53.
Player JavaScript
var power = 80.0; var jumpPower = 300.0; var stopFlag = false; function Update () { ! if (stopFlag) return; ! var x = Input.GetAxis("Horizontal") * Time.deltaTime * power; ! var z = Input.GetAxis("Vertical") * Time.deltaTime * power; ! rigidbody.AddForce(x, 0, z); ! if (Input.GetButtonDown("Fire1")) { ! ! rigidbody.AddForce(0, jumpPower, 0); ! ! Debug.Log("hoge"); ! } } function stop() { ! stopFlag = true; }
54.
55.
GetAxis()
56.
GetAxis() • GetAxis("Horizontal")
Horizontal
57.
GetAxis()
58.
IDE
59.
MonoDevelop • Unity
MonoDevelop C# IDE • MonoDevelop Unity
60.
MonoDevelop • Unity
Assets → Sync MonoDevelop Project MonoDevelop
61.
Mac • MonoDevelop
Mac Mac MonoDevelop - http://d.hatena.ne.jp/nakamura001/20110711/1310364725
Descargar ahora