SlideShare a Scribd company logo
1 of 13
Download to read offline
Basic Optimization and Unity Tips & Tricks
Yogie Aditya,
Hinocyber
Basic Optimization (What)
• Well it’s something that you have to do to make your
game run well and smoothly
Basic Optimization (Why)
• Game Programming is not just about core mechanic
implementation
• Editor != Devices
• Platform X != PlatformY != Platform Z
• You are a Merchant!
• Nice!
Basic Optimization (When)
• Depends on the scale of your game
• On creation (Based on knowledge and experience)
• On polishing (Based on bugs and issues)
• Mobile > Web > PC
Basic Optimization (Who)
• Programmer (Code Flow, Math,Asset Management)
• Artist (Images Creation, Low/High Poly 3D Models, File
size)
• Sound Composer (Bitrate, Seamless Music Loops,
Extension, Channel/Signals, File size)
Basic Optimization (How)
• Know the limitation of the Game Engine and platforms
on which the game would be ported
• Game Designer (Angel vs Devil)
• Patience
Basic Optimization (Preliminary)
• Draw call :A call to function of the underlying API (e.g Open GLS
ES) to draw something on the screen
• Fragment :A candidate pixel which may or may not end up on
screen for different reason
• Batching :To group similar draw calls in one call operating the whole
data set
• Mobile vs non Mobile Rendering Path : deferred rendering vs
Immediate
Basic Optimization (Tech.)
• Don’t use too much collider when you work for mobile games
• Object Pooler is King (But better know its weakness)
• GameObject.Find(‘’’’) is disaster
• Code Caching
• Baking
• Batching (Static and Dynamic)
• Culling (Frustum, Occlusion)
• Understand the Rendering Path
• Texture Atlas
• Always enable ‘Optimized Mesh’ option in Mesh import settings, always enable ‘Optimized Mesh Data’ option in Player Settings (Mostly
for 3D Projects)
• Optimize your code (Related to Unity functions or not)
Basic Optimization (Tech.)
• CPU Bound
• GPU Bound
• Bandwidth Bound
• Vertices Count
• Use Milliseconds (not FPS)
• Unity Profiler (Free in Unity 5.x)
• Use platform-specific tools
• Adreno Profiler (Qualcomm,Adreno)
• PerfHUD ES (nVidia,Tegra)
• PVRTune, PVRTrace (Imagination tec, PowerVR)
• Mali Graphics Debugger (ARM, Mali)
Basic Optimization (Tech.)
• Opaque vsTransparent Image
• Texture Compressions
• Audio Optimization
• Short Clips – Native
• Longer (or looping) clips – Compressed in memory
• Music – Stream from disc
• Files which consistently cause CPU spikes – Decompress on load
• Check if everything work properly :D
• And many more…
• Beware of Nesting Prefabs
• Gizmos Icon
• Drag and drop multiple items with locked
Inspector
• Understand Unity Execution Orders
• Unity Remotes
• Unity Documentation
Unity Tips & Tricks
• Configure your Monodevelop
• Use your own Layouts
• Do not stress with Play Mode
• Debug Mode Inspector
• Paste ComponentValues
• Paste Multiple ComponentValues
• Use Attributes
That’s all folks!
Thank you
Any Question?
Basic Optimization and Unity Tips & Tricks by Yogie Aditya

More Related Content

What's hot

Game optimization techniques - Most Commons
Game optimization techniques - Most CommonsGame optimization techniques - Most Commons
Game optimization techniques - Most Commonsniraj vishwakarma
 
Sony Computer Entertainment Europe Research & Development Division
Sony Computer Entertainment Europe Research & Development DivisionSony Computer Entertainment Europe Research & Development Division
Sony Computer Entertainment Europe Research & Development DivisionSlide_N
 
PlayStation®3 Leads Stereoscopic 3D Entertainment World
PlayStation®3 Leads Stereoscopic 3D Entertainment World PlayStation®3 Leads Stereoscopic 3D Entertainment World
PlayStation®3 Leads Stereoscopic 3D Entertainment World Slide_N
 
Introduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsIntroduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsPouya Pournasir
 
1-Introduction (Game Design and Development)
1-Introduction (Game Design and Development)1-Introduction (Game Design and Development)
1-Introduction (Game Design and Development)Hafiz Ammar Siddiqui
 
game development
game  developmentgame  development
game developmentumair khan
 
【Unite 2017 Tokyo】最適化をする前に覚えておきたい技術
【Unite 2017 Tokyo】最適化をする前に覚えておきたい技術【Unite 2017 Tokyo】最適化をする前に覚えておきたい技術
【Unite 2017 Tokyo】最適化をする前に覚えておきたい技術Unity Technologies Japan K.K.
 
Choosing A Game Engine - More Than Frames Per Second
Choosing A Game Engine - More Than Frames Per SecondChoosing A Game Engine - More Than Frames Per Second
Choosing A Game Engine - More Than Frames Per SecondNoam Gat
 
Game devolopment
Game devolopmentGame devolopment
Game devolopmentumair khan
 
FGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie TycoonFGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie Tycoonmochimedia
 
Project presentation 2
Project presentation 2Project presentation 2
Project presentation 2alanjgrace
 
Unity scene file collaboration
Unity scene file collaborationUnity scene file collaboration
Unity scene file collaborationNoam Gat
 
Optimization for Making Stereoscopic 3D Games on PlayStation® (PS3™)
Optimization for Making Stereoscopic 3D Games on PlayStation® (PS3™)Optimization for Making Stereoscopic 3D Games on PlayStation® (PS3™)
Optimization for Making Stereoscopic 3D Games on PlayStation® (PS3™)Slide_N
 
East Coast DevCon 2014: The Slate UI Framework - Architecture & Tools
East Coast DevCon 2014: The Slate UI Framework - Architecture & ToolsEast Coast DevCon 2014: The Slate UI Framework - Architecture & Tools
East Coast DevCon 2014: The Slate UI Framework - Architecture & ToolsGerke Max Preussner
 
Casual and Social Games with Unity
Casual and Social Games with UnityCasual and Social Games with Unity
Casual and Social Games with UnityTadej Gregorcic
 
Game Project / Working with Unity
Game Project / Working with UnityGame Project / Working with Unity
Game Project / Working with UnityPetri Lankoski
 
A preview of Feathers 2.2 and the Feathers SDK
A preview of Feathers 2.2 and the Feathers SDKA preview of Feathers 2.2 and the Feathers SDK
A preview of Feathers 2.2 and the Feathers SDKJosh Tynjala
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine OverviewSharad Mitra
 

What's hot (20)

Game optimization techniques - Most Commons
Game optimization techniques - Most CommonsGame optimization techniques - Most Commons
Game optimization techniques - Most Commons
 
Sony Computer Entertainment Europe Research & Development Division
Sony Computer Entertainment Europe Research & Development DivisionSony Computer Entertainment Europe Research & Development Division
Sony Computer Entertainment Europe Research & Development Division
 
PlayStation®3 Leads Stereoscopic 3D Entertainment World
PlayStation®3 Leads Stereoscopic 3D Entertainment World PlayStation®3 Leads Stereoscopic 3D Entertainment World
PlayStation®3 Leads Stereoscopic 3D Entertainment World
 
Introduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & ComponentsIntroduction to Game Engine: Concepts & Components
Introduction to Game Engine: Concepts & Components
 
1-Introduction (Game Design and Development)
1-Introduction (Game Design and Development)1-Introduction (Game Design and Development)
1-Introduction (Game Design and Development)
 
game development
game  developmentgame  development
game development
 
【Unite 2017 Tokyo】最適化をする前に覚えておきたい技術
【Unite 2017 Tokyo】最適化をする前に覚えておきたい技術【Unite 2017 Tokyo】最適化をする前に覚えておきたい技術
【Unite 2017 Tokyo】最適化をする前に覚えておきたい技術
 
Choosing A Game Engine - More Than Frames Per Second
Choosing A Game Engine - More Than Frames Per SecondChoosing A Game Engine - More Than Frames Per Second
Choosing A Game Engine - More Than Frames Per Second
 
Game devolopment
Game devolopmentGame devolopment
Game devolopment
 
FGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie TycoonFGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie Tycoon
 
Project presentation 2
Project presentation 2Project presentation 2
Project presentation 2
 
Pong
PongPong
Pong
 
Unity scene file collaboration
Unity scene file collaborationUnity scene file collaboration
Unity scene file collaboration
 
Optimization for Making Stereoscopic 3D Games on PlayStation® (PS3™)
Optimization for Making Stereoscopic 3D Games on PlayStation® (PS3™)Optimization for Making Stereoscopic 3D Games on PlayStation® (PS3™)
Optimization for Making Stereoscopic 3D Games on PlayStation® (PS3™)
 
Battlefield 4 + Frostbite + Mantle
Battlefield 4 + Frostbite + MantleBattlefield 4 + Frostbite + Mantle
Battlefield 4 + Frostbite + Mantle
 
East Coast DevCon 2014: The Slate UI Framework - Architecture & Tools
East Coast DevCon 2014: The Slate UI Framework - Architecture & ToolsEast Coast DevCon 2014: The Slate UI Framework - Architecture & Tools
East Coast DevCon 2014: The Slate UI Framework - Architecture & Tools
 
Casual and Social Games with Unity
Casual and Social Games with UnityCasual and Social Games with Unity
Casual and Social Games with Unity
 
Game Project / Working with Unity
Game Project / Working with UnityGame Project / Working with Unity
Game Project / Working with Unity
 
A preview of Feathers 2.2 and the Feathers SDK
A preview of Feathers 2.2 and the Feathers SDKA preview of Feathers 2.2 and the Feathers SDK
A preview of Feathers 2.2 and the Feathers SDK
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
 

Viewers also liked

5 steps into creating your first mobile game
5 steps into creating your first mobile game5 steps into creating your first mobile game
5 steps into creating your first mobile gameDennis Adriansyah Ganda
 
Bengkel Gamelan - Unity APK & Asset Size Optimization
Bengkel Gamelan - Unity APK & Asset Size OptimizationBengkel Gamelan - Unity APK & Asset Size Optimization
Bengkel Gamelan - Unity APK & Asset Size OptimizationgamelanYK
 
Bengkel 5 presentation
Bengkel 5 presentationBengkel 5 presentation
Bengkel 5 presentationgamelanYK
 
Basic Version Control Using Git - Bengkel Gamelan
Basic Version Control Using Git - Bengkel GamelanBasic Version Control Using Git - Bengkel Gamelan
Basic Version Control Using Git - Bengkel GamelangamelanYK
 
Bengkel Gamelan - Game Balancing
Bengkel Gamelan - Game BalancingBengkel Gamelan - Game Balancing
Bengkel Gamelan - Game BalancinggamelanYK
 
Usability testing
Usability testingUsability testing
Usability testinggamelanYK
 
Brocher Foundation program 2015
Brocher Foundation program 2015Brocher Foundation program 2015
Brocher Foundation program 2015Fondation Brocher
 
Cómo Triunfar con tu Negocio en las Redes Sociales
Cómo Triunfar con tu Negocio en las Redes Sociales Cómo Triunfar con tu Negocio en las Redes Sociales
Cómo Triunfar con tu Negocio en las Redes Sociales Mónica Vera
 
¿ Qué es el Marketing de Contenidos ?
¿ Qué es el Marketing de Contenidos ? ¿ Qué es el Marketing de Contenidos ?
¿ Qué es el Marketing de Contenidos ? Mónica Vera
 
JGJ48: Baidu Android Store - Edo Surya
JGJ48: Baidu Android Store - Edo SuryaJGJ48: Baidu Android Store - Edo Surya
JGJ48: Baidu Android Store - Edo SuryagamelanYK
 
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ngCh ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ngDuy Quang Nguyen Ly
 
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_Duy Quang Nguyen Ly
 
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_Duy Quang Nguyen Ly
 
259973943 xbee-node-temperature-sensor
259973943 xbee-node-temperature-sensor259973943 xbee-node-temperature-sensor
259973943 xbee-node-temperature-sensorDuy Quang Nguyen Ly
 
2D Art Dalam Video Game - Kudit
2D Art Dalam Video Game  -  Kudit2D Art Dalam Video Game  -  Kudit
2D Art Dalam Video Game - KuditGusti Aditya P
 

Viewers also liked (20)

5 steps into creating your first mobile game
5 steps into creating your first mobile game5 steps into creating your first mobile game
5 steps into creating your first mobile game
 
Bengkel Gamelan - Unity APK & Asset Size Optimization
Bengkel Gamelan - Unity APK & Asset Size OptimizationBengkel Gamelan - Unity APK & Asset Size Optimization
Bengkel Gamelan - Unity APK & Asset Size Optimization
 
Bengkel 5 presentation
Bengkel 5 presentationBengkel 5 presentation
Bengkel 5 presentation
 
Basic Version Control Using Git - Bengkel Gamelan
Basic Version Control Using Git - Bengkel GamelanBasic Version Control Using Git - Bengkel Gamelan
Basic Version Control Using Git - Bengkel Gamelan
 
Bengkel Gamelan - Game Balancing
Bengkel Gamelan - Game BalancingBengkel Gamelan - Game Balancing
Bengkel Gamelan - Game Balancing
 
Usability testing
Usability testingUsability testing
Usability testing
 
Gbd measure
Gbd measureGbd measure
Gbd measure
 
Health Cannot Be Measured
Health Cannot Be MeasuredHealth Cannot Be Measured
Health Cannot Be Measured
 
New Deck
New DeckNew Deck
New Deck
 
Brocher Foundation program 2015
Brocher Foundation program 2015Brocher Foundation program 2015
Brocher Foundation program 2015
 
Cómo Triunfar con tu Negocio en las Redes Sociales
Cómo Triunfar con tu Negocio en las Redes Sociales Cómo Triunfar con tu Negocio en las Redes Sociales
Cómo Triunfar con tu Negocio en las Redes Sociales
 
¿ Qué es el Marketing de Contenidos ?
¿ Qué es el Marketing de Contenidos ? ¿ Qué es el Marketing de Contenidos ?
¿ Qué es el Marketing de Contenidos ?
 
JGJ48: Baidu Android Store - Edo Surya
JGJ48: Baidu Android Store - Edo SuryaJGJ48: Baidu Android Store - Edo Surya
JGJ48: Baidu Android Store - Edo Surya
 
Gayprojectfile
GayprojectfileGayprojectfile
Gayprojectfile
 
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ngCh ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
Ch ng 4_-_b_i_gi_ng_anten-truy_n_s_ng
 
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_1_
 
Baigiangdugio 20-11-08
Baigiangdugio 20-11-08Baigiangdugio 20-11-08
Baigiangdugio 20-11-08
 
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
Ch ng 3_-_b_i_gi_ng_anten-truy_n_s_ng_2_
 
259973943 xbee-node-temperature-sensor
259973943 xbee-node-temperature-sensor259973943 xbee-node-temperature-sensor
259973943 xbee-node-temperature-sensor
 
2D Art Dalam Video Game - Kudit
2D Art Dalam Video Game  -  Kudit2D Art Dalam Video Game  -  Kudit
2D Art Dalam Video Game - Kudit
 

Similar to Basic Optimization and Unity Tips & Tricks by Yogie Aditya

De Re PlayStation Vita
De Re PlayStation VitaDe Re PlayStation Vita
De Re PlayStation VitaSlide_N
 
Absolutist: Porting to major platforms within a minute
Absolutist: Porting to major platforms within a minuteAbsolutist: Porting to major platforms within a minute
Absolutist: Porting to major platforms within a minuteDevGAMM Conference
 
Ghajini - The Game Development
Ghajini - The Game DevelopmentGhajini - The Game Development
Ghajini - The Game DevelopmentImran K
 
Game dev. story
Game dev. storyGame dev. story
Game dev. storyPhenix Yu
 
Game Development Step by Step
Game Development Step by StepGame Development Step by Step
Game Development Step by StepBayu Sembada
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systemsJay Nagar
 
West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...Gerke Max Preussner
 
Supersize your production pipe enjmin 2013 v1.1 hd
Supersize your production pipe    enjmin 2013 v1.1 hdSupersize your production pipe    enjmin 2013 v1.1 hd
Supersize your production pipe enjmin 2013 v1.1 hdslantsixgames
 
Presentation 1 22nd August 2008
Presentation 1   22nd August 2008Presentation 1   22nd August 2008
Presentation 1 22nd August 2008carlyle o
 
Beginning android games
Beginning android gamesBeginning android games
Beginning android gamesMario Zechner
 
Supersize Your Production Pipe
Supersize Your Production PipeSupersize Your Production Pipe
Supersize Your Production Pipeslantsixgames
 
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...Gerke Max Preussner
 
Sephy engine development document
Sephy engine development documentSephy engine development document
Sephy engine development documentJaejun Kim
 
BINARY DATA ADVENTURES IN BROWSER JAVASCRIPT
BINARY DATA ADVENTURES  IN BROWSER JAVASCRIPTBINARY DATA ADVENTURES  IN BROWSER JAVASCRIPT
BINARY DATA ADVENTURES IN BROWSER JAVASCRIPTOr Hiltch
 
Designing a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesDesigning a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesiFunFactory Inc.
 
SOC - system on a chip
SOC - system on a chipSOC - system on a chip
SOC - system on a chipParth Kavi
 

Similar to Basic Optimization and Unity Tips & Tricks by Yogie Aditya (20)

De Re PlayStation Vita
De Re PlayStation VitaDe Re PlayStation Vita
De Re PlayStation Vita
 
Absolutist: Porting to major platforms within a minute
Absolutist: Porting to major platforms within a minuteAbsolutist: Porting to major platforms within a minute
Absolutist: Porting to major platforms within a minute
 
Creating Casual Games for Windows 8
Creating Casual Games for Windows 8Creating Casual Games for Windows 8
Creating Casual Games for Windows 8
 
Ghajini - The Game Development
Ghajini - The Game DevelopmentGhajini - The Game Development
Ghajini - The Game Development
 
Cse191 01
Cse191 01Cse191 01
Cse191 01
 
Game dev. story
Game dev. storyGame dev. story
Game dev. story
 
Game Development Step by Step
Game Development Step by StepGame Development Step by Step
Game Development Step by Step
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 
West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
West Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
 
Supersize your production pipe enjmin 2013 v1.1 hd
Supersize your production pipe    enjmin 2013 v1.1 hdSupersize your production pipe    enjmin 2013 v1.1 hd
Supersize your production pipe enjmin 2013 v1.1 hd
 
Presentation 1 22nd August 2008
Presentation 1   22nd August 2008Presentation 1   22nd August 2008
Presentation 1 22nd August 2008
 
Beginning android games
Beginning android gamesBeginning android games
Beginning android games
 
Supersize Your Production Pipe
Supersize Your Production PipeSupersize Your Production Pipe
Supersize Your Production Pipe
 
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
East Coast DevCon 2014: Game Programming in UE4 - Game Framework & Sample Pro...
 
Unit 3 P2
Unit 3 P2Unit 3 P2
Unit 3 P2
 
Videogame Optimization
Videogame OptimizationVideogame Optimization
Videogame Optimization
 
Sephy engine development document
Sephy engine development documentSephy engine development document
Sephy engine development document
 
BINARY DATA ADVENTURES IN BROWSER JAVASCRIPT
BINARY DATA ADVENTURES  IN BROWSER JAVASCRIPTBINARY DATA ADVENTURES  IN BROWSER JAVASCRIPT
BINARY DATA ADVENTURES IN BROWSER JAVASCRIPT
 
Designing a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile gamesDesigning a pragmatic back-end service for mobile games
Designing a pragmatic back-end service for mobile games
 
SOC - system on a chip
SOC - system on a chipSOC - system on a chip
SOC - system on a chip
 

More from gamelanYK

Bengkel Gamelan 3D game asset workflow
Bengkel Gamelan 3D game asset workflowBengkel Gamelan 3D game asset workflow
Bengkel Gamelan 3D game asset workflowgamelanYK
 
Bengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
Bengkel Gamelan : Pixel Art Best Practices by Wisageni StudioBengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
Bengkel Gamelan : Pixel Art Best Practices by Wisageni StudiogamelanYK
 
JGJ48 : Intel Realsense - Firstman Marpaung
JGJ48 : Intel Realsense - Firstman MarpaungJGJ48 : Intel Realsense - Firstman Marpaung
JGJ48 : Intel Realsense - Firstman MarpaunggamelanYK
 
Bengkel 6 pengetahuan dasar audio pada game (1)
Bengkel 6 pengetahuan dasar audio pada game (1)Bengkel 6 pengetahuan dasar audio pada game (1)
Bengkel 6 pengetahuan dasar audio pada game (1)gamelanYK
 
Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8gamelanYK
 
Bengkel Gamelan 3: HTML 5
Bengkel Gamelan 3: HTML 5Bengkel Gamelan 3: HTML 5
Bengkel Gamelan 3: HTML 5gamelanYK
 
Bengkel 8 presentasi press release 101
Bengkel 8 presentasi press release 101Bengkel 8 presentasi press release 101
Bengkel 8 presentasi press release 101gamelanYK
 

More from gamelanYK (7)

Bengkel Gamelan 3D game asset workflow
Bengkel Gamelan 3D game asset workflowBengkel Gamelan 3D game asset workflow
Bengkel Gamelan 3D game asset workflow
 
Bengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
Bengkel Gamelan : Pixel Art Best Practices by Wisageni StudioBengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
Bengkel Gamelan : Pixel Art Best Practices by Wisageni Studio
 
JGJ48 : Intel Realsense - Firstman Marpaung
JGJ48 : Intel Realsense - Firstman MarpaungJGJ48 : Intel Realsense - Firstman Marpaung
JGJ48 : Intel Realsense - Firstman Marpaung
 
Bengkel 6 pengetahuan dasar audio pada game (1)
Bengkel 6 pengetahuan dasar audio pada game (1)Bengkel 6 pengetahuan dasar audio pada game (1)
Bengkel 6 pengetahuan dasar audio pada game (1)
 
Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8Bengkel 4 bring your unity game to windows phone 8
Bengkel 4 bring your unity game to windows phone 8
 
Bengkel Gamelan 3: HTML 5
Bengkel Gamelan 3: HTML 5Bengkel Gamelan 3: HTML 5
Bengkel Gamelan 3: HTML 5
 
Bengkel 8 presentasi press release 101
Bengkel 8 presentasi press release 101Bengkel 8 presentasi press release 101
Bengkel 8 presentasi press release 101
 

Recently uploaded

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 

Basic Optimization and Unity Tips & Tricks by Yogie Aditya

  • 1. Basic Optimization and Unity Tips & Tricks Yogie Aditya, Hinocyber
  • 2. Basic Optimization (What) • Well it’s something that you have to do to make your game run well and smoothly
  • 3. Basic Optimization (Why) • Game Programming is not just about core mechanic implementation • Editor != Devices • Platform X != PlatformY != Platform Z • You are a Merchant! • Nice!
  • 4. Basic Optimization (When) • Depends on the scale of your game • On creation (Based on knowledge and experience) • On polishing (Based on bugs and issues) • Mobile > Web > PC
  • 5. Basic Optimization (Who) • Programmer (Code Flow, Math,Asset Management) • Artist (Images Creation, Low/High Poly 3D Models, File size) • Sound Composer (Bitrate, Seamless Music Loops, Extension, Channel/Signals, File size)
  • 6. Basic Optimization (How) • Know the limitation of the Game Engine and platforms on which the game would be ported • Game Designer (Angel vs Devil) • Patience
  • 7. Basic Optimization (Preliminary) • Draw call :A call to function of the underlying API (e.g Open GLS ES) to draw something on the screen • Fragment :A candidate pixel which may or may not end up on screen for different reason • Batching :To group similar draw calls in one call operating the whole data set • Mobile vs non Mobile Rendering Path : deferred rendering vs Immediate
  • 8. Basic Optimization (Tech.) • Don’t use too much collider when you work for mobile games • Object Pooler is King (But better know its weakness) • GameObject.Find(‘’’’) is disaster • Code Caching • Baking • Batching (Static and Dynamic) • Culling (Frustum, Occlusion) • Understand the Rendering Path • Texture Atlas • Always enable ‘Optimized Mesh’ option in Mesh import settings, always enable ‘Optimized Mesh Data’ option in Player Settings (Mostly for 3D Projects) • Optimize your code (Related to Unity functions or not)
  • 9. Basic Optimization (Tech.) • CPU Bound • GPU Bound • Bandwidth Bound • Vertices Count • Use Milliseconds (not FPS) • Unity Profiler (Free in Unity 5.x) • Use platform-specific tools • Adreno Profiler (Qualcomm,Adreno) • PerfHUD ES (nVidia,Tegra) • PVRTune, PVRTrace (Imagination tec, PowerVR) • Mali Graphics Debugger (ARM, Mali)
  • 10. Basic Optimization (Tech.) • Opaque vsTransparent Image • Texture Compressions • Audio Optimization • Short Clips – Native • Longer (or looping) clips – Compressed in memory • Music – Stream from disc • Files which consistently cause CPU spikes – Decompress on load • Check if everything work properly :D • And many more…
  • 11. • Beware of Nesting Prefabs • Gizmos Icon • Drag and drop multiple items with locked Inspector • Understand Unity Execution Orders • Unity Remotes • Unity Documentation Unity Tips & Tricks • Configure your Monodevelop • Use your own Layouts • Do not stress with Play Mode • Debug Mode Inspector • Paste ComponentValues • Paste Multiple ComponentValues • Use Attributes
  • 12. That’s all folks! Thank you Any Question?