37
Why you need game engine What actually is game engine, and why Unity is so successful ;-)

Why you need game engine1.pptx

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Why you need game engine1.pptx

Why you need game engine

What actually is game engine,

and why Unity is so successful ;-)

Page 2: Why you need game engine1.pptx

Disclaimer

• The views expressed here are my personal views and do not necessarily reflect the thoughts, opinions, intentions, plans or strategies of Unity

Page 3: Why you need game engine1.pptx

What is game engine

• Your call

Page 4: Why you need game engine1.pptx

What is game engine

• Let me guess:– Rendering– Physics– even more stuff

• Technology in short

Page 5: Why you need game engine1.pptx

What is game engine

• Welcome to the real world• YOU ARE WRONG

Page 6: Why you need game engine1.pptx

What is game engine

• When talking about technology you forget:– Not so cool-looking technology

• most of people thinks engine=rendering

– How to get meshes/textures/... in there– How much time to wait if texture was changed– How do you create levels– lots more

Page 7: Why you need game engine1.pptx

What is game engine

• Technology• Tools• Infrastructure

– well, nothing lives in isolation– how well pieces fit

Page 8: Why you need game engine1.pptx

What is Technology

• Multiplatform – unless platform holder pays you– unless you don't need money– unless you are doing smth impossible else

• or you are wrong• or platform holder will pay you

Page 9: Why you need game engine1.pptx

What is Technology

• Example:– Rendering

• if you didn't try consoles - you will fail• if you didn't try gl/dx/gles you will fail• if you don't know your hardware you will fail• if you don't read RTR you will fail• if you don't know/have constraints you will fail• you need more? ;-)

Page 10: Why you need game engine1.pptx

What is Technology

• Hidden Technology– What about:

• leaderboards• achievements• saving/loading, checkpoints etc• multiplayer• quick loading• updating and DLC• you name it

Page 11: Why you need game engine1.pptx

What is Technology

• You don't need it – if you create old-school lines/tetris

• you need reality check

• You don't need all of this if you are careful about constraints

• You will need this as you try to scale down from mac to ipad

Page 12: Why you need game engine1.pptx

What is Technology

• We'll be back when talking about infrastructure

• There is more hidden in there– Far more important then you think

Page 13: Why you need game engine1.pptx

What are Tools

• You will need to create your levels– even for something like

• zuma • time-management• non-standard match3• you name it

Page 14: Why you need game engine1.pptx

What are Tools

• You will need to tweak lots of stuff– Asset Pipeline

• conditioning• params

– Materials– Object Properties

• And do it fast and see the results

Page 15: Why you need game engine1.pptx

What are Tools

• You will need a lot of stuff– Managing your content

• where was that texture/shader for this tree

– Creating additional data• achievements• localization

– Reusing stuff• i want this tree in another level

– You name it

Page 16: Why you need game engine1.pptx

What are Tools

• You don't need it – if you use xml/json/inis - just type here

• you need sanity check

– if you hate artists/designers– if you have all the time on earth

• You don't need all this– Until you need it yesterday

Page 17: Why you need game engine1.pptx

What is Infrastructure

• How does it all fit together– iteration time– interoperability– workflow fit– unification– everything else

• the "feel"

Page 18: Why you need game engine1.pptx

What is Infrastructure

• Iteration time– You change something

• texture• mesh location• script• object params (e.g. movement speed)

– How much time is needed to see it in game– This might be the difference between shipping

in one month and in 3 months less-polished

Page 19: Why you need game engine1.pptx

What is Infrastructure

• Interoperability– How well parts works with each other

• DCC tool plugins • Asset importing and Level editing• Conflicts• Coupling

– changing drawed mesh params shouldn't result in physics fidling

– changing texture on tree shouldn't result in whole world re-import/rebuild

Page 20: Why you need game engine1.pptx

What is Infrastructure

• workflow fit– artists vs programmers– sound engineer might look differently

• unification– how much tools/steps is needed for object

• draw params• physics params• scripting

Page 21: Why you need game engine1.pptx

Still want to create in-house?

• Create engine in-house is awesome!– if you have cool experienced programmers– if you have up-front time– if you need specific technology

• you can argue about "specific" part

– if you can do it better• if it is your first game ever - you can't

– if you want to know how engines works• For hobbyist learning project - awesome exp

Page 22: Why you need game engine1.pptx

Still want to create in-house?

• For AAA game - unsolved problem– diff credits for UE3 game and in-house tech– big games have source licence ;-)

Page 23: Why you need game engine1.pptx

Still want to create in-house?

• For smaller games - even more interesting– ios: $0.99

• meaning: you need to be *very* fast

– ios vs android• fragmentation even on ios • on android - almost desktop-like• driver-bugs and harware "features"

Page 24: Why you need game engine1.pptx

Still want to create in-house?

• generally mobile– they *are* underpowered

• unless you know how to use hw

– welcome back FFP tricks• or earlier-days shader oprimizations

– welcome back assembly

Page 25: Why you need game engine1.pptx

Still want to create in-house?

• generally mobile– a lot of stuff to integrate

• different platform api• different features• achievements• leaderboards• in-game purchases• accelerometer/gyroscope• etc

Page 26: Why you need game engine1.pptx

Still want to create in-house?

• More power to you (really)

Page 27: Why you need game engine1.pptx

Unity

• Well, as i am working in Unity... ;-)• Was created to help inexperienced teams

– The very first customer was team of 2 artists• yes, they succeeded ;-)

• The idea is to open gamedev to masses– Lots of platforms

• mac/win/web/ios/android/x360/ps3/others (NDA)

– Lots of guidance

Page 28: Why you need game engine1.pptx

Unity

• Programming: – JavaScript, Boo, C#– Thinking about others

• Art– FBX

• meaning almost everything– Autodesk, Modo, Blender, Sketchup, Cheetah

• and some more [too much to remember]– PSD, JPG, PNG, TGA, TIFF, and more

Page 29: Why you need game engine1.pptx

Unity

• Operates on high level– Components

• MeshRenderer, MeshCollider, etc

– Assets• Mesh, Texture, Sound

– you will get this automagically

Page 30: Why you need game engine1.pptx

Unity

• Prefabs– You can save object at full and reuse

• with components– meaning everything

• Scenes– Level editing

• Meaning one place to place objects and edit props

Page 31: Why you need game engine1.pptx

Unity

• Multiplatform:– Select platform and build

• That's all– almost ;-)

Page 32: Why you need game engine1.pptx

Unity

• Materials/Shaders– All power to you– preset shaders– you can write your own

Page 33: Why you need game engine1.pptx

Unity

• Unity Editor is written on C# mostly– meaning we expose almost everything– meaning - write your own tools if needed– meaning - lots of plugins are already there

Page 34: Why you need game engine1.pptx

Unity

• in-Editor Play button– play your game ;-)– while having all Editor power right here

• change texture and see this• change script, wait for compile, and see that

Page 35: Why you need game engine1.pptx

Unity

• Runtime– we did lots of hard-lifting

• skinning on NEON? Been there done that ;-)• driver bugs on XXX? Ah yes, we have workaround

– once again - lots exposed to c# – plugins: lots

Page 36: Why you need game engine1.pptx

Unity

• Bells & whistles– Beast lightmapping? check– Beast point clouds? working in it– Umbra occlusion? check– cool LOD system? almost there– profiling? check

• run on target hw, collect data in Editor

– random stuff? you will be surprised ;-)

Page 37: Why you need game engine1.pptx

Questions?