unitylecture @kyushu university

Download UnityLecture @Kyushu University

Post on 03-Jul-2015

4.982 views

Category:

Education

5 download

Embed Size (px)

DESCRIPTION

Unity Lecture for Students of Faculty of Design in Kyushu University

TRANSCRIPT

  • 1. @PumpkinKaneko pumpkinkaneko@gmail.com @PumpkinKaneko Kosuke Kaneko 2012/10/29

2. @PumpkinKaneko Unity Workshop @Faculty of Design in Kyushu University2 3. Unity Unity10 Unity80 Unity Workshop @Faculty of Design in Kyushu University 3 4. 3DUnity Workshop @Faculty of Design in Kyushu University 4 5. Unity Workshop @Faculty of Design in Kyushu University 5 6. Unity Workshop @Faculty of Design in Kyushu University 6 7. Unity Workshop @Faculty of Design in Kyushu University 7 8. 3DUnity Workshop @Faculty of Design in Kyushu University8 9. Unity Workshop @Faculty of Design in Kyushu University 9 10. Windows, Mac iOS, Android PS3, Xbox, WiiUnity Workshop @Faculty of Design in Kyushu University 10 11. 10 Unity Unity Pro127,500iOS 34,500iOS Pro 127,500Android 34,500Android Pro 127,500 Unity Workshop @Faculty of Design in Kyushu University 11 12. 3DUnity Workshop @Faculty of Design in Kyushu University12 13. Unity3D ()Unity Workshop @Faculty of Design in Kyushu University 13 14. Unity3D80Unity Workshop @Faculty of Design in Kyushu University 14 15. Unity Workshop @Faculty of Design in Kyushu University 15 16. UnityCoin Pusher Unity Workshop @Faculty of Design in Kyushu University 16 17. Unity Workshop @Faculty of Design in Kyushu University 17 18. Unity Workshop @Faculty of Design in Kyushu University 18 19. Q W ER Unity Workshop @Faculty of Design in Kyushu University19 20. 1. Alt Alt + Alt + Alt + / Unity Workshop @Faculty of Design in Kyushu University 20 21. 1. Unity Workshop @Faculty of Design in Kyushu University 21 22. 1. FileNew Project 2. 3. Project Directory 4. Create Project Unity Workshop @Faculty of Design in Kyushu University 22 23. 1. FileSave Project 2. Unity Workshop @Faculty of Design in Kyushu University23 24. 1. FileSave Scene3. Save As2. 4. SaveUnity Workshop @Faculty of Design in Kyushu University24 25. Unity Unity Workshop @Faculty of Design in Kyushu University25 26. #pragma strictvar org:Vector3;function Start () {org = transform.position;}function Update () {var move:Vector3 = new Vector3(0, 0,3*Mathf.Sin(Time.time));transform.position = org + move;}Unity Workshop @Faculty of Design in Kyushu University 26 27. #pragma strictfunction Start () {}function Update () {rigidbody.WakeUp();}Unity Workshop @Faculty of Design in Kyushu University 27 28. #pragma strictvar coin:GameObject;var org:Vector3;var scoreManager: ScoreManager;function Start () { org = transform.position;}function Update () {var move:Vector3 = new Vector3(5*Mathf.Sin(1.2*Time.time), 0, 0);transform.position = org + move;if ( Input.GetMouseButtonDown(0) ) {var offset = new Vector3(0,1,0);Instantiate(coin, transform.position-offset, transform.rotation); scoreManager.score -= 1;}}Unity Workshop @Faculty of Design in Kyushu University28 29. #pragma strictfunction Start () {}function Update () {}function OnCollisionEnter( obj:Collision ) {Destroy(obj.gameObject);}Unity Workshop @Faculty of Design in Kyushu University 29 30. #pragma strictvar scoreManager: ScoreManager;function Start () {}function Update () {}function OnCollisionEnter(obj:Collision) { Destroy(obj.gameObject); scoreManager.score += 3;}Unity Workshop @Faculty of Design in Kyushu University 30 31. #pragma strictvar score = 30;function Start () {}function Update () {guiText.text = score.ToString();}Unity Workshop @Faculty of Design in Kyushu University 31 32. Unity Workshop @Faculty of Design in Kyushu University 32 33. 1. 2. Unity Workshop @Faculty of Design in Kyushu University 33 34. 2. 1. Unity Workshop @Faculty of Design in Kyushu University 34 35. 3. Save1. File Build Settings 2. 2. PlatformWeb Player Build And RunUnity Workshop @Faculty of Design in Kyushu University35 36. Unity Workshop @Faculty of Design in Kyushu University 36 37. Unity Workshop @Faculty of Design in Kyushu University 37 38. 23 BGM Unity Workshop @Faculty of Design in Kyushu University 38 39. 3DorzUnity Workshop @Faculty of Design in Kyushu University 39 40. 1. Import PackageCharacterController2. 3. Import Unity Workshop @Faculty of Design in Kyushu University 40 41. 1. WindowAsset Store 2. Unity Workshop @Faculty of Design in Kyushu University 41 42. Unity Workshop @Faculty of Design in Kyushu University 42 43. Unity Workshop @Faculty of Design in Kyushu University43 44. Unity Workshop @Faculty of Design in Kyushu University 44 45. UnityUnity - 3D Unity Workshop @Faculty of Design in Kyushu University45 46. Global Game Jam Unity Workshop @Faculty of Design in Kyushu University 46 47. Unity https://www.facebook.com/groups/unityuserj/ IGDA Fukuoka https://www.facebook.com/groups/people.with.game/ @PumpkinKaneko pumpkinkaneko@gmail.com @PumpkinKaneko Kosuke KanekoUnity Workshop @Faculty of Design in Kyushu University 47 48. Unity Workshop @Faculty of Design in Kyushu University 48

Recommended

View more >