19
Squeezing a Big Game into a Small Device Chris Hoefgen, Founder and CTO Ben Hesketh, Senior Developer Tony Christney, Senior Developer

UVic Startup Slam September 2014 (TinyMob Games)

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: UVic Startup Slam September 2014 (TinyMob Games)

Squeezing a Big Game into a Small Device

Chris Hoefgen, Founder and CTOBen Hesketh, Senior Developer

Tony Christney, Senior Developer

Page 2: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

About TinyMob

• Founded in 2013

• A game studio focusing on mid-core strategy games

• Our lead game is Tiny Realms

• Tech Stack: Unity3d, C#, Java, Redis, DynamoDB & AWS

Page 3: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

Game Dev on mobile is a Pain

Draw Calls Memory CPU

Page 4: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

2D Drawing in Unity

Page 5: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

2D Drawing in Unity

Page 6: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

2D Drawing in Unity

Page 7: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

Problem: Not Scalable

Page 8: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

“Solution” - 2D ToolKit

Page 9: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

Problem - Memory ExplodedThe game has a lot of content: 560 MB of units / 400 MB of buildings / 100 MB of VFX

The iPhone 5 only has 300 MB of RAM to work with

Page 10: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

“Solution” - Smash and Burn

Page 11: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

Problem - Draw Calls…Again

Page 12: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

“Solution” - Dynamic Sprite Atlas

Page 13: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

The Game Works…Ship It!

Page 14: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

Problem - The Game is Too Big

Page 15: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

“Solution” - Asset Bundles

Page 16: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

Problem - Older Devices Crash

• Game users ~200MB of RAM

• iPhone 4s & iPad Mini only has 170MB of usable memory

• Ran out of ways to optimize the game

Page 17: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

“Solution” - Reduce Quality

Page 18: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

Wisdoms

• Acquiring technical debt is not a bad thing as long as it is managed

• Optimization is an iterative process

• Working in a startup means solving the problems in front of you right now

• Game development is research on a production timeline

Page 19: UVic Startup Slam September 2014 (TinyMob Games)

© Copyright TinyMob Games Inc, 2012-2014. All rights reserved.

Questions?