1 / 10

Silverlight 2.0 ile Oyun Programlama

Silverlight 2.0 ile Oyun Programlama. Daron Yöndem INETA Türkiye Başkanı daron @ yondem .com http://daron.yondem.com. Neden Silverlight ?. Bolca Kaynak En zengin dokümantasyon VB/C# ile Nesne Yönelimli Mimari Networking seçenekleri Oyun Programlama Konsepting Uygun

ona
Download Presentation

Silverlight 2.0 ile Oyun Programlama

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Silverlight 2.0 ileOyun Programlama DaronYöndem INETA Türkiye Başkanı daron@yondem.com http://daron.yondem.com

  2. Neden Silverlight? Bolca Kaynak • En zengin dokümantasyon • VB/C# ile Nesne Yönelimli Mimari • Networking seçenekleri Oyun Programlama Konsepting Uygun • Hazır sayaç yapıları • Hazır çizim araçları • Geriye sadece programlamak kalıyor! Zengin Dil Seçenekleri • Python, Ruby ? • DLR ile CLR beraber!

  3. Adım 1 : Timer • CompositionTarget.Rendering • Frame Animasyonu • DispatchTimer • UI Thread içerisinde • StoryBoard • System.Thread.Timer publicpartialclassPage : UserControl     { System.Threading.TimerSayac; publicPage()         { InitializeComponent(); Sayac = newSystem.Threading.Timer(Tick, TOP, 500, 500);         } publicvoidTick(objectsender)         {             ((Ellipse)sender).Dispatcher.BeginInvoke(delegate() { ((Ellipse)sender).Height += 1; });         }     }

  4. DEMO Bir topa hareket kazandıralım!

  5. Adım 2 : Grafik • 2 boyutlu grafikler çocuk oyuncağı • Ya 3D? • Kit3D - http://www.markdawson.org/kit3d/ • Balder - http://www.codeplex.com/Balder • Hepsi daha SL 2.0 Beta 2 için!  • Kendi 3D dünyanızı yaratabilirsiniz… Microsoft Confidential

  6. Adım 3 : Müzik ve Ses • Windows MediaAudio ve MP3 desteği var. • Çalışma zamanında ses efektleri yaratmak mümkün değil. • MediaElement neredeyse tüm ihtiyaçları karşılıyor. • Canlı stream desteği var! Adım 4 : İletişim • SocketProgramlama! Microsoft Confidential

  7. Hadi bir oyun yapalım! :)

  8. Son Adım : Fizik • FarseerPyhsics Engine • Hem Silverlight hem XNA için 2D fizik motoru! • Hesaplamaları sizin yeriniza yapar, siz sadece kuvveti uygulayın! Microsoft Confidential

  9. Sorular? Microsoft Confidential

  10. TEŞEKKÜRLER DaronYöndem daron@yondem.com http://daron.yondem.com

More Related