SlideShare ist ein Scribd-Unternehmen logo
1 von 51
Downloaden Sie, um offline zu lesen
Создание	
  игр	
  для	
  Windows	
  8	
  и	
  
      Windows	
  Phone	
  8	
  
            Сергей	
  Байдачный	
  
         специалист	
  по	
  разработке	
  
        программного	
  обеспечения	
  
           Майкрософт	
  Украина	
  
О	
  платформе	
  Windows	
  8	
  
Зачем	
  это	
  нужно?	
  
С	
  момента	
  начала	
  продаж	
  Windows	
  7	
  по	
  март	
  2012.	
  Данные	
  IDC	
  




              	
  690M	
  
                                                               345M	
  
                                                                                               196M	
  
                                                                                                                   32M	
  

         Windows 7                                           Android                            iOS               Mac




                                                                                                          Central and Eastern Europe
Central and Eastern Europe
Segoe UI
 Fonts,	
  text	
  analysis,	
  layout	
     Image	
  &	
  video	
  decoding	
  




             2D	
  graphics	
                           3D	
  graphics	
  
Segoe UI
HTML5,	
  CSS3	
  &	
  DirectWrite	
                          HTML5,	
  Direct2D	
  effects,	
  	
  
                                                              WIC	
  &	
  Media	
  Foundamon	
  




   HTML5,	
  CSS3	
  &	
  Direct2D	
                                        Direct3D	
  
                                     DirectCompute	
  &	
  C++AMP	
  
Архитектура	
  графической	
  
подсистемы	
  в	
  Windows	
  8	
  	
  
Немного	
  о	
  DirectX	
  
Версии	
  DirectX	
  
•  Windows	
  XP	
  	
  	
  	
  	
  	
  	
  	
  DirectX	
  9	
  hardware	
  	
  	
  	
  	
  	
  	
  DirectX	
  9	
  API	
  
•  Windows	
  Vista	
  	
  	
  	
  	
  DirectX	
  10	
  hardware	
  	
  	
  	
  	
  	
  DirectX	
  10	
  API	
  
•  Windows	
  7	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  DirectX	
  11	
  hardware	
  	
  	
  	
  	
  	
  DirectX	
  11	
  API	
  

•  Как	
  разрабатывать	
  игры	
  для	
  всех	
  этих	
  версий	
  DirectX?	
  
Feature	
  levels	
  
•  DirectX11	
  API	
  предлагает	
  унифицированный	
  
   механизм	
  разработки	
  приложений	
  
•  Feature	
  levels	
  по	
  отношению	
  к	
  оборудованию	
  
   –  Feature	
  level	
  9	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  DirectX	
  	
  9	
  hardware	
  	
  	
  (ARM/power	
  efficient	
  machines)	
  
   –  Feature	
  level	
  10 	
  	
  	
  	
  	
  DirectX	
  10	
  hardware	
  	
  (many	
  laptops)	
  
   –  Feature	
  level	
  11 	
  	
  	
  	
  	
  DirectX	
  11	
  hardware	
  	
  (high	
  end	
  gaming	
  machines)	
  
DirectX	
  11.1	
  
•  DirectX11.1	
  это	
  	
  DirectX	
  11	
  для	
  Windows	
  8J	
  
•  Интеграция	
  в	
  стек	
  технологий	
  платформы	
  
•  DirectX11+	
  использует	
  tessellamon	
  и	
  
   stereoscopic	
  3D	
  
Windows	
  SDK	
  
•  The	
  DirectX	
  SDK	
  is	
  now	
  part	
  of	
  the	
  Windows	
  SDK	
  
    –  Use	
  the	
  Windows	
  SDK	
  to	
  pass	
  cermficamon	
  
•  This	
  offers	
  new	
  opportunimes	
  for	
  Windows	
  Store	
  
   Apps	
  
    –  Build-­‐mme	
  shader	
  compilamon	
  with	
  Visual	
  Studio’s	
  
       HLSL	
  compiler,	
  FXC.exe	
  
    –  Try	
  the	
  Visual	
  Shader	
  Designer	
  in	
  Visual	
  Studio	
  2012	
  
•  Check	
  out	
  MSDN	
  for	
  more	
  informamon	
  
Немного	
  о	
  Windows	
  Phone	
  8	
  
Две	
  модели	
  приложений	
  
 Управляемая	
                          Нативная	
  
 •  Использование	
  уже	
              •  Разработка	
  приложений	
  
    существующих	
  подходов	
             на	
  С++	
  
    (C#/XAML)	
  
                                        •  Переносимость	
  
 •  Большое	
  количество	
                некоторых	
  библиотек	
  и	
  
    элементов	
  управления	
              кода	
  с	
  Windows	
  8	
  
 •  Поддержка	
  XNA	
                  •  Повышение	
  
                                           производительности	
  игр	
  
                                           при	
  утилизации	
  DirectX	
  


Windows	
  Phone	
  
Две	
  модели	
  приложений	
  
•  Допускается	
  встраивание	
  DirectX	
  компонент	
  в	
  XAML	
  
   интерфейс	
  
•  Создание	
  приложений	
  на	
  HTML	
  5	
  не	
  
   поддерживается,	
  но	
  …	
  




Windows	
  Phone	
  
C++	
  в	
  Windows	
  Phone	
  8	
  
•  Visual	
  C++	
  2012	
  
•  Тот	
  же	
  С++,	
  что	
  и	
  в	
  Windows	
  8	
  
•  Новые	
  возможности	
  C++11	
  
      RValue	
  references	
            Forward	
  declared	
  enums	
                       Bidirectional	
  fences	
  

      static_assert	
                   Alignment	
                                          Data-­‐dependency	
  ordering	
  

      Auto	
                            Standard-­‐layout	
  and	
  trivial	
  types	
       exception_ptr	
  

      Trailing	
  return	
  types	
     Extended	
  friend	
  declarations	
                 Thread-­‐local	
  storage	
  

                                        Local	
  and	
  unnamed	
  types	
  as	
  template	
  
      Lambdas	
                                                                                __func__	
  
                                        arguments	
  

      Decltype	
                        Range-­‐based	
  for-­‐loop	
                        C99	
  preprocessor	
  

      Right	
  angle	
  brackets	
      override	
  and	
  final	
                           long	
  long	
  

      extern	
  templates	
             Minimal	
  GC	
  support	
  

      nullptr	
                         Atomics	
  

      Strongly	
  typed	
  enums	
      Strong	
  compare	
  and	
  exchange	
  



Windows	
  Phone	
  
Что	
  же	
  можно	
  делать	
  на	
  С++	
  
                                                 	
  
                                                 Networking	
  
                                                 Proximity	
  
                                                 In-­‐App	
  Purchase	
  
                                                 Sensors	
  
                                                 Locamon	
  
                                                 File	
  System	
  
                                                 Core	
  app	
  model	
  
                                                 Threading	
  
                                                              	
  




Windows	
  Phone	
  
Немного	
  о	
  DirectX	
  
•  C++/DirectX	
  –	
  поддержка	
  нативных	
  приложений	
  
•  XNA	
  продолжает	
  поддерживаться	
  
•  Поддержка	
  DirectX	
  11.1,	
  но	
  уровень	
  9.3	
  
•  Возможность	
  интеграции	
  XAML	
  и	
  DirectX	
  




Windows	
  Phone	
  
И	
  еще	
  о	
  C++	
  
C++	
  reimagined	
  
C++	
  11	
                            C++/CX	
  
	
                                     	
  
                                       Улучшение	
  
auto	
                                 производительности	
  С++	
  
shared_ptr	
                           разработчика	
  на	
  
decltype	
                             платформе	
  Windows	
  8	
  и	
  
                                       Windows	
  Phone	
  8	
  
.	
  .	
  .	
  .	
  .	
  
h”p://msdn.microso–.com/en-­‐us/library/hh567368.aspx	
  



Windows	
  Phone	
  
C++	
  Component	
  Extensions	
  (C++/CX)	
  
Key	
  Bindings	
         Feature	
                Summary	
  
1.	
  Data	
  Types	
     ref	
  class	
           Reference	
  type	
  
                          value	
  class	
         Value	
  type	
  
                          interface	
  class	
     Interface	
  
                          property	
               Property	
  with	
  get/set	
  
                          event	
                  “Delegate	
  property”	
  with	
  add/remove/raise	
  
                          delegate	
               Type-­‐safe	
  funcmon	
  pointer	
  
                          generic	
                Type-­‐safe	
  generics	
  
2.	
  AllocaEon	
         gcnew	
                  Garbage-­‐collected	
  allocamon	
  
                          ref	
  new	
             Reference-­‐counted	
  allocamon	
  
3.	
  Pointer	
  &	
      ^	
                      Strong	
  pointer	
  (“hat”	
  or	
  “handle”)	
  
Reference	
               %	
                      Strong	
  reference	
  
Windows	
  Phone	
  
Поговорим	
  о	
  фреймворках	
  
Ogre3d	
  
SharpDX	
  
PhoneGap	
  
Trigger.io	
  
CROSS	
  PLATFORM	
  
• Desktop	
  -­‐	
  Mac	
  and	
  PC	
  
53.1%	
  
• Game	
  Developer	
  Magazine	
  survey	
  of	
  mobile	
  
developers	
  
CROSS	
  PLATFORM	
  
• Desktop	
  -­‐	
  Linux	
  (Ubuntu	
  32-­‐bit	
  /	
  64-­‐bit)	
  
CROSS	
  PLATFORM	
  
• Web	
  Browsers	
  
CROSS	
  PLATFORM	
  
• Mobile	
  -­‐	
  iOS	
  and	
  Android	
  
CROSS	
  PLATFORM	
  
• Adobe	
  Flash	
  Player	
  
CROSS	
  PLATFORM	
  
• Consoles	
  -­‐	
  Playstamon	
  3,	
  Nintendo	
  Wii,	
  Xbox	
  
360	
  
CROSS-PLATFORM	

Consoles - Nintendo Wii U
CROSS-­‐PLATFORM	
  
• New	
  Windows	
  pla¡orms	
  
Builds	
  to	
  Visual	
  Studio	
  2012	
  
   Windows	
  Editor	
  only	
  
            Script	
  in	
  c#	
  
                    	
  
WINDOWS	
  RT	
  
• Intel	
  and	
  ARM	
  processors	
  supported	
  
• Plugins	
  available	
  to	
  support	
  Live	
  Tiling,	
  Xbox	
  
Live	
  
PRODUCT	
  STATUS	
  
• Product	
  in	
  closed	
  beta	
  at	
  the	
  moment	
  
• Titles	
  already	
  available	
  on	
  App	
  Store	
  
• Going	
  to	
  open	
  beta	
  early	
  2013	
  
PRODUCT STATUS	

Product going to closed beta in December 2012	

Going to open beta early 2013
LICENSING	
  
• Not	
  finalised	
  as	
  yet	
  
• Windows	
  desktop	
  and	
  tablet	
  in	
  Unity/Unity	
  Pro	
  
• Windows	
  Phone	
  8	
  add-­‐on	
  $400/$1500	
  
CONTACT	
  



• www.unity3d.com	
  
• andyb@unity3d.com	
  
THANKS	
  
Публикация	
  приложений	
  
Магазин	
  




              Central and Eastern Europe
Store	
  policy	
  
•  ARM	
  or	
  Neutral	
  packages	
  must	
  support	
  feature	
  
   level	
  9_1	
  
•  You	
  may	
  specify	
  a	
  higher	
  feature	
  level	
  when	
  
   submi¥ng	
  app	
  
    –  Check	
  the	
  feature	
  level	
  at	
  the	
  launch	
  of	
  your	
  app	
  
    –  Nomfy	
  the	
  user	
  if	
  their	
  machine	
  is	
  not	
  the	
  appropriate	
  
       feature	
  level	
  
•  Specify	
  feature	
  level	
  in	
  app	
  descripmon	
  
•  More	
  informamon	
  about	
  
   feature	
  level	
  store	
  policy	
  on	
  MSDN	
  
Регистрация	
  
h”p://dev.windowsphone.com	
  –	
  Windows	
  Phone	
  
	
  
h”ps://appdev.microso–.com/StorePortals	
  -­‐	
  Windows	
  
8	
  
	
  
Бесплатная	
  регистрация	
  для	
  студентов	
  
	
  
Можно	
  регистрироваться	
  как	
  компания	
  или	
  как	
  
отдельный	
  разработчик	
  
	
                                                 Central and Eastern Europe
Конкурс	
  приложений	
  для	
  Windows	
  
                  Phone	
  
•  h”p://wp8.promorc.com	
  
Вопросы?	
  
Вопросы	
  
SERGIY.BAYDACHNYY@MICROSOFT.COM	
  
HTTP://BAYDACHNYY.COM	
  

Weitere ähnliche Inhalte

Ähnlich wie Microsoft: Создание игр на DirectX для Windows 8 и Windows Phone 8

CodeFest 2011. Сошников Д. — Разработка игр для Windows Phone 7
CodeFest 2011. Сошников Д. — Разработка игр для Windows Phone 7CodeFest 2011. Сошников Д. — Разработка игр для Windows Phone 7
CodeFest 2011. Сошников Д. — Разработка игр для Windows Phone 7
CodeFest
 
Производительность и энергопотребление мобильных приложений на примере Window...
Производительность и энергопотребление мобильных приложений на примере Window...Производительность и энергопотребление мобильных приложений на примере Window...
Производительность и энергопотребление мобильных приложений на примере Window...
Andrew Mayorov
 
3D в браузере. Битва за реалистичность / Иван Дембицкий (Realaxy)
3D в браузере. Битва за реалистичность / Иван Дембицкий (Realaxy)3D в браузере. Битва за реалистичность / Иван Дембицкий (Realaxy)
3D в браузере. Битва за реалистичность / Иван Дембицкий (Realaxy)
Ontico
 
WinRT: интеграция с С++
WinRT: интеграция с С++WinRT: интеграция с С++
WinRT: интеграция с С++
Mykhail Galushko
 
Кросс-платформенная разработка под мобильные устройства. Дмитрий Жестилевский...
Кросс-платформенная разработка под мобильные устройства. Дмитрий Жестилевский...Кросс-платформенная разработка под мобильные устройства. Дмитрий Жестилевский...
Кросс-платформенная разработка под мобильные устройства. Дмитрий Жестилевский...
yaevents
 
браузеры презентация
браузеры презентациябраузеры презентация
браузеры презентация
4ertenka
 
Vsevolod Leonov "Delphi XE2. Visual tools for cross-platform development"
Vsevolod Leonov "Delphi XE2. Visual tools for cross-platform development"Vsevolod Leonov "Delphi XE2. Visual tools for cross-platform development"
Vsevolod Leonov "Delphi XE2. Visual tools for cross-platform development"
Andrew Mayorov
 
С.Лалов "Corona SDK для разработки кроссплатформенных приложений", DUMP-2014
С.Лалов "Corona SDK для разработки кроссплатформенных приложений", DUMP-2014С.Лалов "Corona SDK для разработки кроссплатформенных приложений", DUMP-2014
С.Лалов "Corona SDK для разработки кроссплатформенных приложений", DUMP-2014
it-people
 
браузеры презентация
браузеры презентациябраузеры презентация
браузеры презентация
4ertenka
 
Тестирование приложений с помощью Visual studio 2010
Тестирование приложений с помощью Visual studio 2010Тестирование приложений с помощью Visual studio 2010
Тестирование приложений с помощью Visual studio 2010
Anton Vidishchev
 

Ähnlich wie Microsoft: Создание игр на DirectX для Windows 8 и Windows Phone 8 (20)

Windows Phone 8.1 Development Platform
Windows Phone 8.1 Development PlatformWindows Phone 8.1 Development Platform
Windows Phone 8.1 Development Platform
 
Marmalade: Кроссплатформенность для профессионалов. Как и почему?
 Marmalade: Кроссплатформенность для профессионалов. Как и почему? Marmalade: Кроссплатформенность для профессионалов. Как и почему?
Marmalade: Кроссплатформенность для профессионалов. Как и почему?
 
SECON'2016. Чубарь Алексей, Мобильные грабли Unity
SECON'2016. Чубарь Алексей, Мобильные грабли UnitySECON'2016. Чубарь Алексей, Мобильные грабли Unity
SECON'2016. Чубарь Алексей, Мобильные грабли Unity
 
CodeFest 2011. Сошников Д. — Разработка игр для Windows Phone 7
CodeFest 2011. Сошников Д. — Разработка игр для Windows Phone 7CodeFest 2011. Сошников Д. — Разработка игр для Windows Phone 7
CodeFest 2011. Сошников Д. — Разработка игр для Windows Phone 7
 
Производительность и энергопотребление мобильных приложений на примере Window...
Производительность и энергопотребление мобильных приложений на примере Window...Производительность и энергопотребление мобильных приложений на примере Window...
Производительность и энергопотребление мобильных приложений на примере Window...
 
Особенности мобильной платформы Windows Phone 8
Особенности мобильной платформы Windows Phone 8Особенности мобильной платформы Windows Phone 8
Особенности мобильной платформы Windows Phone 8
 
3D в браузере. Битва за реалистичность / Иван Дембицкий (Realaxy)
3D в браузере. Битва за реалистичность / Иван Дембицкий (Realaxy)3D в браузере. Битва за реалистичность / Иван Дембицкий (Realaxy)
3D в браузере. Битва за реалистичность / Иван Дембицкий (Realaxy)
 
WinRT: интеграция с С++
WinRT: интеграция с С++WinRT: интеграция с С++
WinRT: интеграция с С++
 
Open gl и direct3d
Open gl и direct3dOpen gl и direct3d
Open gl и direct3d
 
Кросс-платформенная разработка под мобильные устройства. Дмитрий Жестилевский...
Кросс-платформенная разработка под мобильные устройства. Дмитрий Жестилевский...Кросс-платформенная разработка под мобильные устройства. Дмитрий Жестилевский...
Кросс-платформенная разработка под мобильные устройства. Дмитрий Жестилевский...
 
браузеры презентация
браузеры презентациябраузеры презентация
браузеры презентация
 
Средства кросплатформенной разработки. Xamarin и ApperCode
Средства кросплатформенной разработки. Xamarin и ApperCodeСредства кросплатформенной разработки. Xamarin и ApperCode
Средства кросплатформенной разработки. Xamarin и ApperCode
 
WinRT
WinRTWinRT
WinRT
 
Разработка мобильного кроссплатформенного приложения под iOS и Android на осн...
Разработка мобильного кроссплатформенного приложения под iOS и Android на осн...Разработка мобильного кроссплатформенного приложения под iOS и Android на осн...
Разработка мобильного кроссплатформенного приложения под iOS и Android на осн...
 
Vsevolod Leonov "Delphi XE2. Visual tools for cross-platform development"
Vsevolod Leonov "Delphi XE2. Visual tools for cross-platform development"Vsevolod Leonov "Delphi XE2. Visual tools for cross-platform development"
Vsevolod Leonov "Delphi XE2. Visual tools for cross-platform development"
 
С.Лалов "Corona SDK для разработки кроссплатформенных приложений", DUMP-2014
С.Лалов "Corona SDK для разработки кроссплатформенных приложений", DUMP-2014С.Лалов "Corona SDK для разработки кроссплатформенных приложений", DUMP-2014
С.Лалов "Corona SDK для разработки кроссплатформенных приложений", DUMP-2014
 
Кросс-платформенная мобильная разработка
Кросс-платформенная мобильная разработкаКросс-платформенная мобильная разработка
Кросс-платформенная мобильная разработка
 
X Window
X WindowX Window
X Window
 
браузеры презентация
браузеры презентациябраузеры презентация
браузеры презентация
 
Тестирование приложений с помощью Visual studio 2010
Тестирование приложений с помощью Visual studio 2010Тестирование приложений с помощью Visual studio 2010
Тестирование приложений с помощью Visual studio 2010
 

Mehr von DevGAMM Conference

Mehr von DevGAMM Conference (20)

The art of small steps, or how to make sound for games in conditions of war /...
The art of small steps, or how to make sound for games in conditions of war /...The art of small steps, or how to make sound for games in conditions of war /...
The art of small steps, or how to make sound for games in conditions of war /...
 
Breaking up with FMOD - Why we ended things and embraced Metasounds / Daniel ...
Breaking up with FMOD - Why we ended things and embraced Metasounds / Daniel ...Breaking up with FMOD - Why we ended things and embraced Metasounds / Daniel ...
Breaking up with FMOD - Why we ended things and embraced Metasounds / Daniel ...
 
How Audio Objects Improve Spatial Accuracy / Mads Maretty Sønderup (Audiokine...
How Audio Objects Improve Spatial Accuracy / Mads Maretty Sønderup (Audiokine...How Audio Objects Improve Spatial Accuracy / Mads Maretty Sønderup (Audiokine...
How Audio Objects Improve Spatial Accuracy / Mads Maretty Sønderup (Audiokine...
 
Why indie developers should consider hyper-casual right now / Igor Gurenyov (...
Why indie developers should consider hyper-casual right now / Igor Gurenyov (...Why indie developers should consider hyper-casual right now / Igor Gurenyov (...
Why indie developers should consider hyper-casual right now / Igor Gurenyov (...
 
AI / ML for Indies / Tyler Coleman (Retora Games)
AI / ML for Indies / Tyler Coleman (Retora Games)AI / ML for Indies / Tyler Coleman (Retora Games)
AI / ML for Indies / Tyler Coleman (Retora Games)
 
Agility is the Key: Power Up Your GameDev Project Management with Agile Pract...
Agility is the Key: Power Up Your GameDev Project Management with Agile Pract...Agility is the Key: Power Up Your GameDev Project Management with Agile Pract...
Agility is the Key: Power Up Your GameDev Project Management with Agile Pract...
 
New PR Tech and AI Tools for 2023: A Game Changer for Outreach / Kirill Perev...
New PR Tech and AI Tools for 2023: A Game Changer for Outreach / Kirill Perev...New PR Tech and AI Tools for 2023: A Game Changer for Outreach / Kirill Perev...
New PR Tech and AI Tools for 2023: A Game Changer for Outreach / Kirill Perev...
 
Playable Ads - Revolutionizing mobile games advertising / Jakub Kukuryk (Popc...
Playable Ads - Revolutionizing mobile games advertising / Jakub Kukuryk (Popc...Playable Ads - Revolutionizing mobile games advertising / Jakub Kukuryk (Popc...
Playable Ads - Revolutionizing mobile games advertising / Jakub Kukuryk (Popc...
 
Creative Collaboration: Managing an Art Team / Nastassia Radzivonava (Glera G...
Creative Collaboration: Managing an Art Team / Nastassia Radzivonava (Glera G...Creative Collaboration: Managing an Art Team / Nastassia Radzivonava (Glera G...
Creative Collaboration: Managing an Art Team / Nastassia Radzivonava (Glera G...
 
From Local to Global: Unleashing the Power of Payments / Jan Kuhlmannn (Xsolla)
From Local to Global: Unleashing the Power of Payments / Jan Kuhlmannn (Xsolla)From Local to Global: Unleashing the Power of Payments / Jan Kuhlmannn (Xsolla)
From Local to Global: Unleashing the Power of Payments / Jan Kuhlmannn (Xsolla)
 
Strategies and case studies to grow LTV in 2023 / Julia Iljuk (Balancy)
Strategies and case studies to grow LTV in 2023 / Julia Iljuk (Balancy)Strategies and case studies to grow LTV in 2023 / Julia Iljuk (Balancy)
Strategies and case studies to grow LTV in 2023 / Julia Iljuk (Balancy)
 
Why is ASO not working in 2023 and how to change it? / Olena Vedmedenko (Keya...
Why is ASO not working in 2023 and how to change it? / Olena Vedmedenko (Keya...Why is ASO not working in 2023 and how to change it? / Olena Vedmedenko (Keya...
Why is ASO not working in 2023 and how to change it? / Olena Vedmedenko (Keya...
 
How to increase wishlists & game sales from China? Growth marketing tactics &...
How to increase wishlists & game sales from China? Growth marketing tactics &...How to increase wishlists & game sales from China? Growth marketing tactics &...
How to increase wishlists & game sales from China? Growth marketing tactics &...
 
Turkish Gaming Industry and HR Insights / Mustafa Mert EFE (Zindhu)
Turkish Gaming Industry and HR Insights / Mustafa Mert EFE (Zindhu)Turkish Gaming Industry and HR Insights / Mustafa Mert EFE (Zindhu)
Turkish Gaming Industry and HR Insights / Mustafa Mert EFE (Zindhu)
 
Building an Awesome Creative Team from Scratch, Capable of Scaling Up / Sasha...
Building an Awesome Creative Team from Scratch, Capable of Scaling Up / Sasha...Building an Awesome Creative Team from Scratch, Capable of Scaling Up / Sasha...
Building an Awesome Creative Team from Scratch, Capable of Scaling Up / Sasha...
 
Seven Reasons Why Your LiveOps Is Not Performing / Alexander Devyaterikov (Be...
Seven Reasons Why Your LiveOps Is Not Performing / Alexander Devyaterikov (Be...Seven Reasons Why Your LiveOps Is Not Performing / Alexander Devyaterikov (Be...
Seven Reasons Why Your LiveOps Is Not Performing / Alexander Devyaterikov (Be...
 
The Power of Game and Music Collaborations: Reaching and Engaging the Masses ...
The Power of Game and Music Collaborations: Reaching and Engaging the Masses ...The Power of Game and Music Collaborations: Reaching and Engaging the Masses ...
The Power of Game and Music Collaborations: Reaching and Engaging the Masses ...
 
Branded Content: How to overcome players' immunity to advertising / Alex Brod...
Branded Content: How to overcome players' immunity to advertising / Alex Brod...Branded Content: How to overcome players' immunity to advertising / Alex Brod...
Branded Content: How to overcome players' immunity to advertising / Alex Brod...
 
Resurrecting Chasm: The Rift - A Source-less Remastering Journey / Gennadii P...
Resurrecting Chasm: The Rift - A Source-less Remastering Journey / Gennadii P...Resurrecting Chasm: The Rift - A Source-less Remastering Journey / Gennadii P...
Resurrecting Chasm: The Rift - A Source-less Remastering Journey / Gennadii P...
 
How NOT to do showcase events: Behind the scenes of Midnight Show / Andrew Ko...
How NOT to do showcase events: Behind the scenes of Midnight Show / Andrew Ko...How NOT to do showcase events: Behind the scenes of Midnight Show / Andrew Ko...
How NOT to do showcase events: Behind the scenes of Midnight Show / Andrew Ko...
 

Microsoft: Создание игр на DirectX для Windows 8 и Windows Phone 8

  • 1. Создание  игр  для  Windows  8  и   Windows  Phone  8   Сергей  Байдачный   специалист  по  разработке   программного  обеспечения   Майкрософт  Украина  
  • 3. Зачем  это  нужно?   С  момента  начала  продаж  Windows  7  по  март  2012.  Данные  IDC    690M   345M   196M   32M   Windows 7 Android iOS Mac Central and Eastern Europe
  • 5.
  • 6. Segoe UI Fonts,  text  analysis,  layout   Image  &  video  decoding   2D  graphics   3D  graphics  
  • 7. Segoe UI HTML5,  CSS3  &  DirectWrite   HTML5,  Direct2D  effects,     WIC  &  Media  Foundamon   HTML5,  CSS3  &  Direct2D   Direct3D   DirectCompute  &  C++AMP  
  • 10. Версии  DirectX   •  Windows  XP                DirectX  9  hardware              DirectX  9  API   •  Windows  Vista          DirectX  10  hardware            DirectX  10  API   •  Windows  7                      DirectX  11  hardware            DirectX  11  API   •  Как  разрабатывать  игры  для  всех  этих  версий  DirectX?  
  • 11. Feature  levels   •  DirectX11  API  предлагает  унифицированный   механизм  разработки  приложений   •  Feature  levels  по  отношению  к  оборудованию   –  Feature  level  9                      DirectX    9  hardware      (ARM/power  efficient  machines)   –  Feature  level  10          DirectX  10  hardware    (many  laptops)   –  Feature  level  11          DirectX  11  hardware    (high  end  gaming  machines)  
  • 12. DirectX  11.1   •  DirectX11.1  это    DirectX  11  для  Windows  8J   •  Интеграция  в  стек  технологий  платформы   •  DirectX11+  использует  tessellamon  и   stereoscopic  3D  
  • 13. Windows  SDK   •  The  DirectX  SDK  is  now  part  of  the  Windows  SDK   –  Use  the  Windows  SDK  to  pass  cermficamon   •  This  offers  new  opportunimes  for  Windows  Store   Apps   –  Build-­‐mme  shader  compilamon  with  Visual  Studio’s   HLSL  compiler,  FXC.exe   –  Try  the  Visual  Shader  Designer  in  Visual  Studio  2012   •  Check  out  MSDN  for  more  informamon  
  • 15. Две  модели  приложений   Управляемая   Нативная   •  Использование  уже   •  Разработка  приложений   существующих  подходов   на  С++   (C#/XAML)   •  Переносимость   •  Большое  количество   некоторых  библиотек  и   элементов  управления   кода  с  Windows  8   •  Поддержка  XNA   •  Повышение   производительности  игр   при  утилизации  DirectX   Windows  Phone  
  • 16. Две  модели  приложений   •  Допускается  встраивание  DirectX  компонент  в  XAML   интерфейс   •  Создание  приложений  на  HTML  5  не   поддерживается,  но  …   Windows  Phone  
  • 17. C++  в  Windows  Phone  8   •  Visual  C++  2012   •  Тот  же  С++,  что  и  в  Windows  8   •  Новые  возможности  C++11   RValue  references   Forward  declared  enums   Bidirectional  fences   static_assert   Alignment   Data-­‐dependency  ordering   Auto   Standard-­‐layout  and  trivial  types   exception_ptr   Trailing  return  types   Extended  friend  declarations   Thread-­‐local  storage   Local  and  unnamed  types  as  template   Lambdas   __func__   arguments   Decltype   Range-­‐based  for-­‐loop   C99  preprocessor   Right  angle  brackets   override  and  final   long  long   extern  templates   Minimal  GC  support   nullptr   Atomics   Strongly  typed  enums   Strong  compare  and  exchange   Windows  Phone  
  • 18. Что  же  можно  делать  на  С++     Networking   Proximity   In-­‐App  Purchase   Sensors   Locamon   File  System   Core  app  model   Threading     Windows  Phone  
  • 19. Немного  о  DirectX   •  C++/DirectX  –  поддержка  нативных  приложений   •  XNA  продолжает  поддерживаться   •  Поддержка  DirectX  11.1,  но  уровень  9.3   •  Возможность  интеграции  XAML  и  DirectX   Windows  Phone  
  • 20. И  еще  о  C++  
  • 21. C++  reimagined   C++  11   C++/CX       Улучшение   auto   производительности  С++   shared_ptr   разработчика  на   decltype   платформе  Windows  8  и   Windows  Phone  8   .  .  .  .  .   h”p://msdn.microso–.com/en-­‐us/library/hh567368.aspx   Windows  Phone  
  • 22. C++  Component  Extensions  (C++/CX)   Key  Bindings   Feature   Summary   1.  Data  Types   ref  class   Reference  type   value  class   Value  type   interface  class   Interface   property   Property  with  get/set   event   “Delegate  property”  with  add/remove/raise   delegate   Type-­‐safe  funcmon  pointer   generic   Type-­‐safe  generics   2.  AllocaEon   gcnew   Garbage-­‐collected  allocamon   ref  new   Reference-­‐counted  allocamon   3.  Pointer  &   ^   Strong  pointer  (“hat”  or  “handle”)   Reference   %   Strong  reference   Windows  Phone  
  • 28.
  • 29. CROSS  PLATFORM   • Desktop  -­‐  Mac  and  PC  
  • 30. 53.1%   • Game  Developer  Magazine  survey  of  mobile   developers  
  • 31. CROSS  PLATFORM   • Desktop  -­‐  Linux  (Ubuntu  32-­‐bit  /  64-­‐bit)  
  • 33. CROSS  PLATFORM   • Mobile  -­‐  iOS  and  Android  
  • 34. CROSS  PLATFORM   • Adobe  Flash  Player  
  • 35. CROSS  PLATFORM   • Consoles  -­‐  Playstamon  3,  Nintendo  Wii,  Xbox   360  
  • 38. Builds  to  Visual  Studio  2012   Windows  Editor  only   Script  in  c#    
  • 39. WINDOWS  RT   • Intel  and  ARM  processors  supported   • Plugins  available  to  support  Live  Tiling,  Xbox   Live  
  • 40. PRODUCT  STATUS   • Product  in  closed  beta  at  the  moment   • Titles  already  available  on  App  Store   • Going  to  open  beta  early  2013  
  • 41. PRODUCT STATUS Product going to closed beta in December 2012 Going to open beta early 2013
  • 42. LICENSING   • Not  finalised  as  yet   • Windows  desktop  and  tablet  in  Unity/Unity  Pro   • Windows  Phone  8  add-­‐on  $400/$1500  
  • 46. Магазин   Central and Eastern Europe
  • 47. Store  policy   •  ARM  or  Neutral  packages  must  support  feature   level  9_1   •  You  may  specify  a  higher  feature  level  when   submi¥ng  app   –  Check  the  feature  level  at  the  launch  of  your  app   –  Nomfy  the  user  if  their  machine  is  not  the  appropriate   feature  level   •  Specify  feature  level  in  app  descripmon   •  More  informamon  about   feature  level  store  policy  on  MSDN  
  • 48. Регистрация   h”p://dev.windowsphone.com  –  Windows  Phone     h”ps://appdev.microso–.com/StorePortals  -­‐  Windows   8     Бесплатная  регистрация  для  студентов     Можно  регистрироваться  как  компания  или  как   отдельный  разработчик     Central and Eastern Europe
  • 49. Конкурс  приложений  для  Windows   Phone   •  h”p://wp8.promorc.com