I want to create simple 2D game (touch/click to win) and I have experience with C# and XNA for WP7.
But now at W8 there isn't XNA afaik.
What technologies I have to use for this game?
I want to run it on desktop W8 and WinRT.
Thank you for your help!
If the game is simple enough graphically - you could just use Silverlight on Windows Phone and XAML on Windows 8 which would let you share a lot of the code. Another option is to use XNA on Windows Phone and MonoGame on Windows 8. MonoGame is an open source version of XNA. Otherwise - on Windows you can use DirectX with C++ or using SharpDX with C#, but these are not available on WP7. They will probably be on WP8 only. Finally - Unity3D support is coming soon, but the final version is not available yet.
Related
What is the difference between Windows Phone 8.1 and Windows Phone 8.1 Silverlight?
Which Option(Project) is best suitable for new app development? Also please provide Pros and Cons of each option.
So basically silverlight is used for browser based applications, you can relate to macromedia flash, it depends of what type of app you have in mind...if you would like to have your app available on all devices I suggest you use MVVM (model, view, view model) architecture so that you are able to share most of your code.
I suggest you look into Lex.DB as for database engine for your app since it works on both desktop and mobile with the same code.
You may encounter some trouble using aync tasks in silverlight, but still there are some 3rd parties libraries which helps with that.
So basically there arent any pros and cons since they are not platform related.
I would like your input, so that i can make a good decision on whether I should use Cirrious MvvmCross or Galasoft MVVM Light Toolkit?
I am going to be developing 2 applications using Universal Apps (Windows Phone 8.1 and Windows 8.1) in XAML/C#. I am not new to developing windows phone and windows 8 apps however i am new to developing MVVM apps and thus would greatly appreciate you into in this?
Should i use Cirrious MvvmCross or Galasoft MVVM Light Toolkit, (should I use something else) what are their strengths and weakness?
Thank you for your time and your help!
Is there an added benefit for using MVVMCross in your app? Will you be developing an Android or IOS APP? If the answer no, then there is no need for MVVMCross or such. The new WinRT API should have 95% of what your app needs. You can add a portable class library to the solution and share third party libraries between the apps as well.
Good Luck.
MvvmCross is the best way to cross-platform work with xamarin for exemple but you can work with it just for create windows and windows phone app.
MvvmLight is really good to implement mvvm pattern in your project.
Just for create ms app, you should work with mvvm light.
MvvmLight does not have support for iOS yet. Support for Android was added in version 4.0 in May 2014. More info here : http://blog.galasoft.ch/posts/2014/05/mvvm-light-v4-4-with-xamarin-android-support/
MvvmCross does not support Universal Apps (yet).
More info here :https://github.com/MvvmCross/MvvmCross/issues/656
A ray of hope here : http://www.microsoft.com/en-gb/developers/articles/week05jun14/mvvmcross-support-for-universal-apps
Looks like you have two options -
MvvmCross allows you to share code with Windows Phone and Windows 8 also. Just not via Universal App project. If the objective is to share code - you can go with MvvmCross. You wil get your WinPhone and WinStore apps along with Android and iOS also.
Start with Mvvmlight on Universal App and hope for Xamarin.iOS support soon.
http://blog.galasoft.ch/posts/2014/04/building-a-universal-application-for-windows-phone-8-1-and-windows-8-1-with-mvvm-light/
I'm wondering if the Windows Phone 8.1 SDK supports WinJS? I saw there are some news that windows phone 8.1 start to support WinJS
If so, I will move to WinJS for WP and WinRT both.
Your comment welcome
Yes, the combination of Windows Phone 8.1 and WinJs 2.1 will allow you to build cross platform WinJs based applications.
Source
Universal apps written in Xaml also will be a very good way to share code across the two platforms with minimal changes.
I used C# develop a WP8 app. I'm wondering if the Windows Phone 8.1 SDK supports WinJS?
I saw there are some news that windows phone 8.1 start to support WinJS
If so, I will move to WinJS for WP and WinRT both.
Your comment welcome
As of April 18th, 2014, yes, JavaScript and the WinJS framework are supported by Windows Phone 8.1.
Announcement here: http://blogs.windows.com/buildingapps/2014/04/18/winjs-on-windows-phone-8-1/
As of February 2014, there is no official documentation available currently on Windows Phone 8.1.
So, any comments here would be speculative or based on confidential/leaked documentation. I would suspect that your question will be answered at the Microsoft BUILD 2014 conference in April 2014 (either confirmation or that it was just a rumor).
Given the information disclosed, you might also consider that WinRT applications would be possible on the Windows Phone 8.1+, which would mean that you could write a Win 8.1 Store application using C# and XAML that would run on both platforms. So, switching to WinJS might not be necessary if you wanted to continue to use your core XAML and C# skills.
I recently started doing some development in the Windows Phone 8 OS I'm pretty new on this. I was doing some searching about the fact to create an app who play any audio for some specific events/actions.
I was reading the Windows Phone API reference from Windows Phone Dev Center http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626516%28v=vs.105%29.aspx#BKMK_Win32andCOMAPIforWindowsPhone
But it seems a little confusing to me at first glance and I have the doubt of which one of the following should I use to accomplish my task.
The .Net API for Windows Phone
Win 32 and COM API
... or the Windows Phone Runtime API
Any help would be very appreciate
It really depends what you're trying to do. If you're writing a native application or are interested in cross-compatability with Windows 8 then XAudio2 or the WinRT APIs are definitely the way to go. If you just want to play some infrequent sounds (say, when you pop up a warning dialog) from within a XAML app then I have seen a number of approaches, teh easiest of which is probably just having a MediaElement in your XAML that you use to play the audio.