Unity: What does it take to port a browser title to mobiles

Post on 31-Aug-2014

2.772 views 2 download

Tags:

description

Been doing a browser game that happened to be shipping on mobiles first? That’s a popular case that has a proper solution. Let’s study how we make it with Unity projects.

Transcript of Unity: What does it take to port a browser title to mobiles

What does it take to port a browser title to mobiles Oleg Pridiuk, Technical Evangelist

Page 2

Top grossing iOS game’s revenue

2012 – top game has booked 100M

2013 – top game can potentially book 400M

Data gathered by Unity Technologies

Page 3

Entertainment half-life

The shorter the half life, the more power the creator holds

Music 10 – 100 years Film 5 – 10 years Games 2 – 3 years Mobile games ½ - 2 years

Page 4

Revenue

Estimated by Flurry Analytics

Page

Oleg Pridiuk – technical evangelist

5

Page 6

Editor Sessions per Month

Over 1.8 million registered developers Over 400K monthly active developers

Page 7

Unity is kinda industry standard now…

Better hiring: is easy to find skilled and experienced developers Better support: everyone cares and tries to support Unity

Proven to work: lots of delivered projects, so you know if you can make it

Page 8

Page

CSR Racing – Natural Motion

9

Page

Bad Piggies - Rovio

10

Page

The Room - Fireproof Games

11

Page

Temple Run 2 – Imangi Studios

12

Page 13

• Windows • Windows 8, RT, WSA

• Mac

• Web • Google NaCL, Unity plugin,

Facebook

• Ubuntu Linux • Custom ports available

• Mobiles • BlackBerry 10, iOS, Android,

Windows Phone 8

• Consoles • PS Vita, PS4, PS3, Xbox 360,

Nintendo Wii U

• Union

Page

Shadowgun runs on everything…

14

Page

iOS, Android, Flash, LG TV, BlackBery, Nvidia Shield,

Ouya, Sony Xperia Play, Gamestick, wikipad

15

Page 16

What does it take to port a Unity game?

Demo!

Page

What does it take to port a Unity game?

• Define a “game” in this context?

• Core gameplay – game logic, scenes, assets

• Wrappers – monetization, social, plugins

• Addons, process to update and patch

• Assuming “to port” means

• Core gameplay launches on a new platform/device

• Unity takes care of what it can control

• Texture compression, sounds, scripts, scene setup (physics, light probes, lightmaps, navigation, occlusion, etc)

• Cross platform plugins, if applicable

• Performance?

17

Page

It can be easy, it can be hard…

• Performance - depends on your project/experience

• E.g. iOS to Web is easy

• Android to iOS ir easier that iOS to Android

• Standalone/web to mobiles – can be very hard

• Expect 50-80% of code/assets to be persistent

• Unity API is generic, designed multiplaform

• May need to reimplement input

• May need to wrap some code into IFDEFs

• Reminder: all your binary and platform specific data is not multiplatform

18

Page

Case study – don’t try it at home

19

Page 20

Page 21

Page 22

Page 23

Page 24

Page 25

Page 26

Page

Benefit from Unity features

• LOD system

• Occlusion culling

• Lightmapping

• Light probes

• Dynamic/static batching

• Quality settings

• Render settings

• Material replacement

• Automagic with textures

27

Page 28

Page 29

Page

Results – it works!

• Total work - about 6-7 hours

• Got familiar with the project

• “Implemented” touch input

• Profiled, went through assets, optimized here and there, rebaked lightmaps and light probes, occlusion culling, etc.

• Next steps

• Work with artist on LODs to reduce triangle count

• Reduce the number of materials

• See what happens with Androids…

30

Page 31

How to start with Unity

Unity Community

unity3d.com/learn • Free training • Free demo projects • Tutorials

video.unity3d.com • Sessions from Unites • Tutorial videos • Usergroup meetup videos

Asset Store! • Lots of free assets • Also full demo projects

International • answers.unity3d.com • forum.unity3d.com • google.com da best!

Russian • unity3d.ru – chat, forum • closedcircles.com #unity3d

• habrahabr.ru - unity3d

Page

Unity is flexible to get on and to own

• Basic version is FREE • Mac, Windows, Linux, Web browsers • We also have basic mobile add-ons, 400$ • Can publish and earn money!

• 1500$ per platform, per developer • Minor upgrades are free, e.g. within Unity 4.x family • Can pick add-ons to your taste

• Different set for artists, developers, level designers

• Licensing options • Unity Store • joana@unity3d.com your best Unity friend • Remember the Asset Store • You can buy assets and services there • Tons of cool and not expensive stuff there, try it!

32

Page 33

Спасибо!

Рад вашим вопросам