3d programming cocos 2d-x and unity 3d nguyễn Đức toàn -51103691 bùi minh Đạo-51100710

32
3D Programming Cocos 2D-x and Unity 3D Nguyễn Đức Toàn -51103691 Bùi Minh Đạo-51100710

Upload: maisie

Post on 23-Feb-2016

72 views

Category:

Documents


1 download

DESCRIPTION

3D Programming Cocos 2D-x and Unity 3D Nguyễn Đức Toàn -51103691 Bùi Minh Đạo-51100710. 1. What is cocos2d -x?. - Cocos2d-x is an open source game engine . -Under MIT license. 2. Where did Cocos2d-x come from?. 3.Support Platform:. 4. Supported Languages. 5.Main Features :. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

3D ProgrammingCocos 2D-x and Unity 3D

Nguyễn Đức Toàn -51103691 Bùi Minh Đạo-51100710

Page 2: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

1. What is cocos2d-x? -Cocos2d-x is an open source game engine .

-Under MIT license.

Page 3: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

2. Where did Cocos2d-x come from?

Page 4: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

3.Support Platform:

Page 5: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710
Page 6: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

4. Supported Languages

Page 7: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

5.Main Features: -Scene management

-2D Graphics

-Widgets

-Physics

-Audio

-Network

Page 8: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

6. Support Editor: -Official World Editor

◦ CocoStudio

-World Editors◦ CocosBuilder◦ Level Helper & Sprite Helper

-Animation Editors◦ Spine for flipbook and skeleton animations◦ Dragon Bones, a Flash plugin to export and run Flash animations

Page 9: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

6. Support Editor: -Bitmap Font Tools

◦ Glyph Designer

-Perticle Editing Tools◦ Particle Designer

-Texture Atlas Tools◦ Texture Packer, and How to use it with Cocos2d-x◦ Zwoptex

-Tile map Editing Tools◦ Tiled Map Editor

Page 10: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

II. Installation: *set up the Android Cocos2d-x development environment on Windows 7

-Download cocos2d-x 2.x

-Configure android development environment.

+install JDK.

+install Android SDK.

+install Cygwin.

+install Android NDK.

Finally, we can launch eclipse and import a sample android project within cocos2d-x folder.

.

Page 11: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

III. 3d programming in cocos2d-x:

-3D objects are objects that occurs on a three-axis Cartesian coordinate system.

-Cocos2D-x is a 2d gaming library.

Page 12: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

III. 3d programming in cocos2d-x:

-As it uses OpenGL internally to draw its stuff, we might leverage it to create some 3D objects on the mix.

Page 13: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

*Example game using cocos2d-x

Page 14: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

*Example game using cocos2d-x

Page 15: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

*Example game using cocos2d-x

Page 16: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Create a small game with Unity

Introduction to main features

Licensing

Supported Platform

What is Unity ?

3D mobile programming with

Page 17: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

What is Unity ?- Unity is a cross-platform game engine with a built-in IDE developed by Unity Technologies. - Used to develop video games for web plugins, desktop platforms, consoles and mobile devices.

Page 18: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Multiplatform

Page 19: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Licensing – Free and Pro Unity Pro: cost aprox. $1,500 USD or $75/month subscription for a minimum of 12 months

Unity Free: free, but limited in features and watermarked for web, only available to private and small business

Page 20: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Introduction to main features

WorkflowQuality

AnimationPerformance

Page 21: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Render

Page 22: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Render

Page 23: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Lighting

Page 24: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Special Effects

Page 25: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Special Effects

Page 26: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Physics

Page 27: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

AI : Built-in Pathfinding

Page 28: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Workflow

Unity Editor

Asset workflowScene Building

Rapid Iteration

Scripting

Networking

Page 29: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Performance

Page 30: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Animation video deleted

Page 31: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710

Create a small game with Unity

Page 32: 3D Programming Cocos  2D-x and Unity 3D Nguyễn Đức Toàn  -51103691 Bùi  Minh Đạo-51100710