際際滷

際際滷Share a Scribd company logo
The Settler 7- ?????
The Settler 7- ?????
? Build up your economy
? Produce monks, traders or soldiers
? Invest your special settlers to race for victory
Economy Puzzle
?   Establish good chains
?   Decide building composition
?   Arrange for efficient transport
?   Time construction
?   Use food boost
Traders
                          ? Generate money
                             C buy instead of produce
Monks                        C Trade expeditions establish
? Research technologies        new trade options
   C   Production         ? Buy sectors
   C   Construction       ? Questing
   C   Offense
   C   Defense
? Convert sectors         Soldiers
? Strengthen defense      ? Conquer and crush
? Questing                ? Questing
Settlers 7
?   Free Camera
?   Thousands of animated objects
?   Highly detailed game world
?   Simulation
Iteration
Lesson: Iteration
? Quality of your game is proportional to the
  amount of work you discard

?You have to be fast at trying out things and
 throwing them away. Once in a while you
 actually end up with something that is fun.
Game Design and Prototypes
? Game designers write first prototypes
  C Enforces stringency by requiring attention to detail
  C Shortest possible feedback cycle for game design
  C You can go a long way with tools like BlitzBasic
? Tech guys ready engine for production during
  prototyping

?Once the concept matures you must be ready
 to prototype in the engine
The Settler 7- ?????
The Settler 7- ?????
Turnaround: Build

? Proper coding   ? Ram disk
? Blob build      ? Incredibuild
Turnaround: Restart
? Dynamic reload
? Preprocessed data
? Low detail mode
Creating Playable Maps Fast
? Make a map playable fast
? Collect feedback on map
? Let artist spend time after a map is proven to
  be fun
Map Sketch
Planning
Overlay
The Settler 7- ?????
The Settler 7- ?????
The Settler 7- ?????
Map Editor
?   Planning overlays
?   Full undo support
?   Replay support for crash recovery
?   Objects can be freely scaled
    C Non-uniform with automatic texture adaption
? (Almost) zero user interaction for movement blocking
? Copy and paste support for landscapes
    C Copied landscape can be rotated and translated
    C Copied landscape can be mirrored
? Template tool: create landscape with a single brush
  stroke
The Settler 7- ?????
0
                   1
                       2
                           3
                               4
                                   5
                                           7
                                                                          8




                                       6
 VP @ 10mins




 VP @ 20mins




 VP @ 30mins




 VP @ 40mins
                                               Victory points over time




 VP @ 50mins




 VP @ 60mins




 VP @ 70mins




 VP @ 80mins




 VP @ 90mins




VP @ 100mins
                                                                              Measure Game Behavior




VP @ 110mins




VP @ 120mins




    VP @ win
Measure Game Behavior: AI

   Fancy Food
Lesson: Iteration
? Quality of your game is proportional to the
  amount of work you discard

?You have to be fast at trying out things and
 throwing them away. Once in a while you
 actually end up with something that is fun.
More is More
Lesson: More Is More
? Understand your engine
? Beware of cache
? Stay in control of resource usage

?Artistic resource hunger is insatiable.
 Technology enables and must enforce limits.
The Settler 7- ?????
Standard Stuff
?   Keep object representation small
?   Simple and regular scene division
?   Visibility culling
?   Spatial locality of iterated data
?   Stream to stay in memory budget
?   LOD wherever you can
?   Compact/compress vertex/texture/animation data
?   Imposters
?   Sort objects by materials to save pipe state changes
?   Instancing
?   Write efficient shaders
?   ´
Introspection
? The better you understand your engine the
  more you can squeeze in.
  C   Cpu usage
  C   Memory usage
  C   Texture and geometry data
  C   Render targets
  C   AI goals
  C   Spatial partitioning structures (quadtree, ´)
  C   ´


  ? Trajectories needed
Introspection
2GB Virtual Address Space
? DirectX 9 managed resources add to virtual size
? Differences between XP and Vista
? Address space fragmentation can be critical
    C Rule of thumb: leave at least 1/3 unused


?   Managed textures: 144 MB                 ?   Managed geometry: 150 MB
?   Render targets: 121 MB (way too much)    ?   Default: 88 MB
?   Default textures: 440 MB                 ?   System geometry: 19MB (way too much)
                               ?   Animation data
                               ?   Streaming buffer
                               ?   Quadtree
                               ?   ´
The Settler 7- ?????
The Settler 7- ?????
The Settler 7- ?????
The Settler 7- ?????
Processor Memory Gap
Memory Hierarchy
The Settler 7- ?????
Use the Force
? Where performance matters treat your game
  loop as a series of data transformation steps
  C Exploit multiple cores
  C Exploit SIMD
  C Exploit GPU
Automated Data Preprocessing
? Support multiple platforms
? Prepare parallelization
? Compact data in order to squeeze more into
  the game
? Stay in control of resource usage
? Keep artists happy: they want to work with
  native formats only
? Enforce data consistency
? fully automated: server monitors jobs for changes

? decentralized: runs on every developer machine
     ? bad data does not block others

? lives in perforce
      ? data for any version can be rebuild any time

? fast: parallelized, incremental archive update

? extensible: jobs are just command line tools
     ? programmers do not need to deal with
     framework APIs
Resource Handling
Dynamic Reload
Lesson: More Is More
? Understand your engine
? Beware of cache
? Stay in control of resource usage

?Artistic resource hunger is insatiable.
 Technology enables and must enforce limits.
What¨s Next?
The Settlers Online
Exploit ?            Expand ?           Explore ?       Exterminate
Act1: Basic Economy       Act2: Advanced Economy    Act 3: Expert Economy
 ? Supplies basic needs    ? Mining                  ? Logistics
 ? Food                    ? Metals                  ? Advanced troops
 ? building materials      ? Basic troops            ? Advanced defense
                           ? Support chains          ? Supplies for armies
The Settlers Online
Expanding his social network,
a player will become more
powerful at a faster rate

?Buff your friends production
?Send gifts to your friends
?Trade with your friends
?Help defending your friends kingdom
?Earn hard currency by inviting new friends
 into the game by Email, Facebook, or Twitter
Q&A
The Settler 7- ?????
The Settler 7- ?????

More Related Content

The Settler 7- ?????

  • 3. ? Build up your economy ? Produce monks, traders or soldiers ? Invest your special settlers to race for victory
  • 4. Economy Puzzle ? Establish good chains ? Decide building composition ? Arrange for efficient transport ? Time construction ? Use food boost
  • 5. Traders ? Generate money C buy instead of produce Monks C Trade expeditions establish ? Research technologies new trade options C Production ? Buy sectors C Construction ? Questing C Offense C Defense ? Convert sectors Soldiers ? Strengthen defense ? Conquer and crush ? Questing ? Questing
  • 6. Settlers 7 ? Free Camera ? Thousands of animated objects ? Highly detailed game world ? Simulation
  • 8. Lesson: Iteration ? Quality of your game is proportional to the amount of work you discard ?You have to be fast at trying out things and throwing them away. Once in a while you actually end up with something that is fun.
  • 9. Game Design and Prototypes ? Game designers write first prototypes C Enforces stringency by requiring attention to detail C Shortest possible feedback cycle for game design C You can go a long way with tools like BlitzBasic ? Tech guys ready engine for production during prototyping ?Once the concept matures you must be ready to prototype in the engine
  • 12. Turnaround: Build ? Proper coding ? Ram disk ? Blob build ? Incredibuild
  • 13. Turnaround: Restart ? Dynamic reload ? Preprocessed data ? Low detail mode
  • 14. Creating Playable Maps Fast ? Make a map playable fast ? Collect feedback on map ? Let artist spend time after a map is proven to be fun
  • 20. Map Editor ? Planning overlays ? Full undo support ? Replay support for crash recovery ? Objects can be freely scaled C Non-uniform with automatic texture adaption ? (Almost) zero user interaction for movement blocking ? Copy and paste support for landscapes C Copied landscape can be rotated and translated C Copied landscape can be mirrored ? Template tool: create landscape with a single brush stroke
  • 22. 0 1 2 3 4 5 7 8 6 VP @ 10mins VP @ 20mins VP @ 30mins VP @ 40mins Victory points over time VP @ 50mins VP @ 60mins VP @ 70mins VP @ 80mins VP @ 90mins VP @ 100mins Measure Game Behavior VP @ 110mins VP @ 120mins VP @ win
  • 23. Measure Game Behavior: AI Fancy Food
  • 24. Lesson: Iteration ? Quality of your game is proportional to the amount of work you discard ?You have to be fast at trying out things and throwing them away. Once in a while you actually end up with something that is fun.
  • 26. Lesson: More Is More ? Understand your engine ? Beware of cache ? Stay in control of resource usage ?Artistic resource hunger is insatiable. Technology enables and must enforce limits.
  • 28. Standard Stuff ? Keep object representation small ? Simple and regular scene division ? Visibility culling ? Spatial locality of iterated data ? Stream to stay in memory budget ? LOD wherever you can ? Compact/compress vertex/texture/animation data ? Imposters ? Sort objects by materials to save pipe state changes ? Instancing ? Write efficient shaders ? ´
  • 29. Introspection ? The better you understand your engine the more you can squeeze in. C Cpu usage C Memory usage C Texture and geometry data C Render targets C AI goals C Spatial partitioning structures (quadtree, ´) C ´ ? Trajectories needed
  • 31. 2GB Virtual Address Space ? DirectX 9 managed resources add to virtual size ? Differences between XP and Vista ? Address space fragmentation can be critical C Rule of thumb: leave at least 1/3 unused ? Managed textures: 144 MB ? Managed geometry: 150 MB ? Render targets: 121 MB (way too much) ? Default: 88 MB ? Default textures: 440 MB ? System geometry: 19MB (way too much) ? Animation data ? Streaming buffer ? Quadtree ? ´
  • 39. Use the Force ? Where performance matters treat your game loop as a series of data transformation steps C Exploit multiple cores C Exploit SIMD C Exploit GPU
  • 40. Automated Data Preprocessing ? Support multiple platforms ? Prepare parallelization ? Compact data in order to squeeze more into the game ? Stay in control of resource usage ? Keep artists happy: they want to work with native formats only ? Enforce data consistency
  • 41. ? fully automated: server monitors jobs for changes ? decentralized: runs on every developer machine ? bad data does not block others ? lives in perforce ? data for any version can be rebuild any time ? fast: parallelized, incremental archive update ? extensible: jobs are just command line tools ? programmers do not need to deal with framework APIs
  • 44. Lesson: More Is More ? Understand your engine ? Beware of cache ? Stay in control of resource usage ?Artistic resource hunger is insatiable. Technology enables and must enforce limits.
  • 46. The Settlers Online Exploit ? Expand ? Explore ? Exterminate Act1: Basic Economy Act2: Advanced Economy Act 3: Expert Economy ? Supplies basic needs ? Mining ? Logistics ? Food ? Metals ? Advanced troops ? building materials ? Basic troops ? Advanced defense ? Support chains ? Supplies for armies
  • 47. The Settlers Online Expanding his social network, a player will become more powerful at a faster rate ?Buff your friends production ?Send gifts to your friends ?Trade with your friends ?Help defending your friends kingdom ?Earn hard currency by inviting new friends into the game by Email, Facebook, or Twitter
  • 48. Q&A