UNITY, Windows 8, Windows Phone 8 and Windows Azure


Win8_logo Unity_logi
WinAzure_rgb

Over the past few weeks with the Public Beta of Unity for Windows 8 and Windows Phone 8 have had a number of questions about the opportunity of Windows 8, Windows Phone 8 and UNITY3D.

Unity is popular cross-platform game engine with a built-in IDE developed by Unity Technologies. It is used to develop video games for web plugins, desktop platforms, consoles and mobile devices, and is utilized by over one million developers.

Unity in education is primarily used to create mobile and web games, but can also deploy games to consoles or the PC.

The Unity game engine was developed in C/C++, and is able to support code written in C#, JavaScript or Boo. It grew from an OS X supported game development tool in 2005 to the multi-platform game engine that it is today which now supports Windows 8 and Windows Phone 8.

Unity Plugins for Windows 8 and Azure Mobile Services

A number of 3rd Party Unity assets are presently being developed to provide full support for Windows 8 and Windows Azure.

One of these plug-ins is developed by Bit Rave. Bit Rave have extensive experience working with the Windows 8 platform capabilities, and as part of that we decided to build a library for Unity to make Windows 8 integration easier for everyone.

Bit Rave are  currently looking for people interested in joining a closed beta.  Send an email to contact@bitrave.com if you want to participate.

Win8_logo

So what important about Windows 8 features?

Live Tiles

Live Tiles are what makes your Windows experiences come to life.  Bit Rave Live Tiles allows you to update and manage Live Tiles from within Unity.

LiveTiles

For more information on Live Tiles check out Guidelines and checklist for tiles and badges on MSDN.

Square and Wide Tile Support

With both square and wide tile, Bit Rave makes it trivial to support both.

   1: LiveTiles.Update(newSquareLiveTile);   
   2: LiveTiles.Update(newWideLiveTile); 
Text and Images

With support for text tiles and image tiles, there are lots of options.

   1: LiveTiles.Update(newTextLiveTile); 
   2: LiveTiles.Update(newImageLiveTile); 

And for Unity Pro users, you how about a screenshot on your live tile!

   1: LiveTiles.Update(newLiveTile);
Rotating Tile Updates

You can also manage rotating tile updates with just a few lines of code.

   1: LiveTiles.Update(newTextLiveTile); 
   2: LiveTiles.Queue(newImageLiveTile); 
   3: LiveTiles.Queue(newTextAndImageTile); 

Snap View

Windows 8 comes with a variety of devices, all with varying different screen layout capabilities.  Bitrave’s Snap View library helps you implement responsive applications for all changes in UI without having to leave Unity.

SnapView

To learn more about the view states, check out Guidelines for Snapped and Fill Views on MSDN.

View Changes

Register for snap, filled, and full screen views with the following line of code.

   1: SnapView.RegisterForViewChange(OnViewChanged);
Orientation Changes

Register for orientation changes with the following line of code:

   1: SnapView.RegisterForOrientationChange(OnOrientationChanged);

Charms

Charms covers both the settings charm, and the share charm for sharing content from within your app.  For integration with the Search charm, it has it’s own component appropriately named Search.

Charms

Settings Charm

Setting is how your users find your help, your privacy policies, and find out further information about yoru application.  You can trigger the settings charm manually with a single line of code.

   1: SettingsCharm.Current.ShowSettingsUI();
Share Charm

Sharing is one of the key components of Windows 8 applications.  Sharing allows your application to interact with other applications who can consume the content.  You can allows your application to share with your favourite social media client, or maybe share an image with a photo manipulation app.

Bit Rave for Live Apps allows you to share seamlessly.  To register content for sharing, it can be all done in a single line of code!

   1: ShareCharm.Current.RegisterTextShare("Title",   
   2: "Description",    
   3:  "Hello World!");

Or maybe you want to share an image from within game:

   1: ShareCharm.Current.RegisterTextShare("Title",   
   2: "Description",    
   3:  imageTexture2D);

And for Unity Pro users, how about sharing a screenshot from a camera!

   1: ShareCharm.Current.RegisterTextShare("Title",   
   2: "Description",    
   3:  cameraObject);

And you can even trigger the UI manually from within game:

   1: ShareCharm.ShowShareUI();

Settings

With your Microsoft ID following you between machines, you can now take advantage of Roaming Settings.  Use roaming settings to synchronise high scores and game files across machines.  Bitrave Settings let you do all this simply and easily without having to leave Unity, and also supports Local Settings for non-roaming preferences and data.

Register for updates to settings data with the following line of code.

Roaming Settings

Roaming settings go with you, and all it takes is just a line of code to set them.

   1: RoamingSettings.SetValue("high-score", hiScoreValue);

And just one line of code to retrieve.

   1: var highScore = RoamingSettings.GetValue("high-score");
Local Settings

Local settings act just like roaming settings, but stay on a single machine when you don’t want them to roam.  You set and retrieve them in the same way.

   1: LocalSettings.SetValue("high-score", hiScoreValue);

And just one line of code to retrieve.

   1: var highScore = LocalSettings.GetValue("high-score");

WinAzure_rgb

Azure Mobile Services – https://www.windowsazure.com/en-us/develop/mobile/ iOS, Android, Windows 8 and Windows Phone

Azure Mobile Services allow you to take your application to the cloud quickly and easily.

And now you can access Azure Mobile Services directly from your Unity code.

Initialise

Initialisation is just as simple as you’d expect.

   1: var service = AzureMobileServices("url", "token");
Insert

Insert an item into your Azure database in a single line of code from Unity.

   1: service.Insert<ToDoItem>(myItem);
Update

Update items in the Azure databsae with just one line of code from Unity.

service.Update<ToDoItem>(myItem);

Delete

Remove items from the Azure database in 1 line of code from Unity.

   1: service.Delete<ToDoItem>(myItem);
Query

Query items in your Azure Mobile Services from Unity.

   1: service.Where<ToDoItem>(p => p.Category == "Exercise", MyCallback);   
   2: public void MyCallback(List<ToDoItem> items)    
   3: {    
   4: ...    
   5: }

NOTE: await / async will be available when supported by Unity.  Until then we are using callbacks.

Lookup

Lookup items in your Azure Mobile Services from Unity.

   1: service.Lookup<ToDoItem>(myItem, MyCallback);   
   2: public void 
   3: MyCallback(ToDoItem item)    
   4: {    
   5: ...    
   6: }

NOTE: await / async will be available when supported by Unity.  Until then we are using callbacks.

,Win8_logo Unity_logi

Microsoft recently ran an full day of events to highlight the opportunity of Windows and Unity.

You can watch the content below and get access to all the materials at https://channel9.msdn.com/Events/Windows-Camp/Building-Windows-Games-with-Unity?d=1

Introduction to the Windows 8 platform and the Windows Store

Comments (99)

  1. Philodox says:

    <a href="philodox.net/…/">Windows 8 Pro</a> and it's tutorial is explained very very well, thanks for this amazing post.

  2. Quang Quy says:

    Great post! The information very useful. Thank you for share.

    http://www.graylinehalong.com

  3. Kock Sucker says:

    TELL ME IF THE WEB PLAYER WORKS WITH WINDOWS 8!!

  4. haim says:

    where can i get help with building games for WM8?

    i'm creating a game that work awesome for android but suck on even on strong WM8

    device… couldn't find any support for my issues.

  5. Lee Stott says:

    Hi Haim

    See blogs.msdn.com/…/getting-started-building-windows-phone-games-with-unity.asp For Getting Started building Windows Phone 8 Apps with Unity

  6. jackie says:

    Nice work, interesting comments !

    http://www.phuyentours.com

  7. Parlement Mavisi says:

    Great post! thanks for sharing.

    .:: http://furkangokcol.com/ ::.

  8. Yunus Yiğit says:

    Thank you very useful information

    http://www.e-ticarethocasi.com

  9. Antalya Rent A Car says:

    Antalyada araç kiralama adresidir. Ucuz ve kaliteli rent a car adreslir buradan ulaşabilirsiniz.

  10. Kübra Temiz says:

    Great blog! thanks

    http://kadinlarindunyasi.net

  11. Keskin Tasimacilik says:

    Thanks for sharing this post

    http://hayvantasima.com

  12. Bilginog says:

    Great post. Thank you for your sharing.

    http://www.bilginog.com

  13. Onur Yaman says:

    Thank you very useful information. This is my hello world page.

    daginikadam.com/merhaba-dunya

  14. seoproapo says:

    access to: vietnam hair http://apohair.com

  15. By Nothing says:

    oh, thanks for article. It's very nice!

    picardes.com/kaliteli-backlink-paketleri

  16. Armalife says:

    Nice work, interesting comments !

    http://wwww.armalife.com.tr

  17. Ali Gültekin says:

    Thank you very useful information

    http://www.aligultekin.com.tr

  18. TRDEPO says:

    Thank you very much for the information to create my work of love! http://www.TRDepo.com

  19. Rüzgar says:

    Teşekkürler ,

    http://adsensefrm.com/ 🙂

  20. Web Tasarımı says:

    special thanks for this article, it's very nice

    <a href="http://biwebtasarimi.com">www.biwebtasarimi.com</a&gt;

  21. Bi Web Tasarımı says:

    Thanks for sharing and information.

    http://biwebtasarimi.com

  22. Mike Heller says:

    I think this article is very useful for new users.

    http://www.gamercury.com

  23. Timur says:

    great posts. Thanks for sharing. http://www.timurdemir.com.tr

  24. Ali yelken says:

    Thank you very much . Was a very nice article

  25. ahmet yelken says:

    Thank you very much . Was a very nice article http://www.acekse.com

  26. Samet Yiğit says:

    Thanks very good article. Thank you for your sharing.

  27. sinemaevinizde says:

    Thank you very much <a href="www.sinemaevinizde.com">www.sinemaevinizde.com</a>

  28. sinemaevinizde says:

    Thank you very much

    http://www.sinemaevinizde.com/

  29. Deniz says:

    nice blog ! thanks for sharing

    http://www.fuaroutlet.com

  30. Hostgator Türkiye says:

    nice blog ! thanks for sharing

    http://turkhostgator.com

  31. sinemaevinizde says:

    nice blog ! thanks

    http://www.filmizleclup.com/

  32. PixelTürk says:

    Thanks for this article. Nice reading.

    http://www.pixelturk.net

  33. Dexon says:

    Goo tips and info , thank you fpr sharing

    http://www.seondex.com

  34. MCuhadar says:

    Great blog! thanks for sharing

    http://www.mcuhadar.com/

  35. Bedavacanlitvizle.org says:

    Very nice

    http://www.bedavacanlitvizle.org

  36. Moser traş makinesi says:

    Nice work, interesting comments !

    http://www.fonexkozmetik.com/

  37. Moser says:

    Thank you very useful information

    http://www.fonexkozmetik.com/

  38. yuhannis says:

    Great post. Thank you for your sharing.

    http://kuaforstore.com/

  39. Atamyrat Hangeldiyev says:

    Thank you, great blog

    http://seoamk.com/

  40. nurkapisi says:

    yararlı bilgi teşekkürler

    http://www.nurkapisi.com

  41. Mucizefikir says:

    Thats a good article. Thanks for share with us.

    https://www.mucizefikir.com

  42. cicek says:

    Thank you very useful information

    http://www.cicekstore.com

  43. Samuel says:

    Thank you for sharing

    http://www.evedonus.org/

  44. Kurumsal Seo Danışmanlığı says:

    Great blog! thanks for sharing

    http://kemalkeskin.com

  45. Cuneyt says:

    Thank you for sharing nice blog http://www.oyunzet.com

  46. Ahmet says:

    Thank your sharing good.I think nice sharing http://www.serbestdöviz.net

  47. web tasarım says:

    Thanks for this article. Nice reading.

    http://www.himseyajans.com

  48. kısmet çilingir says:

    perfect blog. Thanks..

    http://www.kismetcilingir.com

  49. Gunluk Kiralik Daireler says:

    Thanks for this article. Nice reading.

    http://www.beylikduzugunlukkiralikdaire.com.tr/iletisim

  50. Hasan Turan says:

    Great post. Thank you for this post.

    http://kapisiyangin.weebly.com

  51. cc says:

    oh, thanks for article. It's very nice!

    http://www.paykasakartal.gen.tr

  52. Animasyon Filmleri says:

    Thanks for sharing.

    http://filmanimasyon.com/

  53. izmir webtasarım says:

    very nice blog

    http://www.ayrintiajans.net

  54. ayrintibilgisayar says:

    Nice blog.Thanks for sharing

    http://www.ayrintibilgisayar.com

  55. Bas says:

    Great post! thanks for sharing

    http://www.basnakliyat.com/

  56. Apk download says:

    Excellent article. It gives me lots of pleasure and interest. So i want to know some other details about this article. Thanks

  57. canlihdtvler says:

    if you watch live broadcast tv, you can follow http://www.canlihdtvler.com/

  58. Cihan Özdemir says:

    Thank you, good article

    http://www.yuzlercedizi.com

  59. Ergin Yazılım says:

    Thank you very much . Was a very nice article http://erginyazilim.com

  60. Turkuaz Film says:

    Thank you, great blog.

    http://www.turkuazfilm.com/

  61. Ahmet Zeki says:

    I've been following for a long time wonderful things I see on the site. Sometimes I spend the majority of my day here and I do not regret at all. http://www.paykasasatis.web.tr

  62. Lazer Epilasyon says:

    I found good information from your site. Thank you so much. http://www.lazerepilasyonmerkez.net

  63. Gökhan says:

    Thanks. Good job.

    http://asyaseo.com/

  64. kişisel blog says:

    nice content thank you

    http://www.erhangenc.com.tr

  65. Kış güneşi says:

    Great! thanks for sharing http://www.kisgunesiizle.com/

  66. Kehribar izle says:

    Nice blog. Thank you for post http://www.kehribarizle.com

  67. MrsSivekar says:

    thanks for article

    mrssivekar.blogspot.com

  68. Çifte saadet says:

    Wow, nice post thank you bro http://www.ciftesaadet.net/

  69. yenifilmizle says:

    Great blog! thanks for sharing

    http://www.yenifilmizle.co

  70. kurumsal seo danışmanlığı says:

    Nice share bro i thnk you

    http://www.pruvasoft.com

  71. filmizleclup.com says:

    Thanks for sharing this post

    http://www.filmizleclup.com/

  72. gulser says:

    Paylaşmış olduğunuz bu değerli video çok şey kattı. Sizin bu eşsiz çalışmalarınız bizim hayatımızı kolaylaştırmakta. Keşke bilgisayar teknolojilerindeki bu gelişme mobilya dekorasyon alanlarında da olsaydı ne kadar güzel olurdu. http://www.ozekmobilya.com

  73. cihan says:

    its very nice and amazing projected.

    http://fragmanvideoizle.net/

  74. Klima Servisi says:

    İstanbul Klima Servisi Hizmeti Veren http://www.anadoluklimaservisi.com klima servisi ve kombi servisi hizmetini görebilirsiniz..

  75. hakan says:

    Great post! The information very useful. Thank you for share.

    http://www.kiralikservis.com

    http://www.telcitavm.com

  76. sevda says:

    eşke bilgisayar teknolojilerindeki bu gelişme mobilya dekorasyon alanlarında da olsaydı ne kadar güzel olurdu. http://www.özcantasarim.com

  77. Juno says:

    This is the omgnb.com, we are a company from Hong Kong,cheap wholesaling all kinds of clothing online all over the world, such as dress, sweaters, shirt, pants, jeans, culottes, bras, breifs, underwears and more.

    With very competitive price, low to $1, We want to be our partner,we are looking for the local Indonesia dealers like you, we want to do long term business with you.

    We can offer you lots of good quality clothing & bags with low price, also you can tell us your demand we can customize for you if you want.

    You can have a look at our products on our website, http://www.omgnb.com , if you are intested in our products or have any questions, please feel free to contact us, thank you for your time.

    1. Teknoreset says:

      Ty Guys.. Great blogs

  78. Teknoreset says:

    Nice Blog and share ty guys …

  79. Nice post, thank you for sharing.

  80. Erkan Oruç says:

    Great. Thank you very much.

  81. seo şefi says:

    Thank you very useful information

  82. Thanks for your article.

  83. Great post! The information very useful. Thank you for share.

  84. giyim sitesi says:

    Thank you for your sharing.

  85. Thank you very much for your valuable information

Skip to main content