Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Game Development for Windows Phone 8? [closed]

I am interested at trying my skills at game development. I am a fairly good C# developer. But my current skill set is in application development (WPF, WCF and Entity Framework).

I am trying to figure out how to make a graphical game for Windows Phone 8. But all the examples I see (for games) are using C++.

8+ years ago I was a C++ Game Developer, but I have forgotten most of those skills (I doubt they would be useful now days anyway).

I am not looking for 3D rendering. Just a nice 2D (Tower Defense) game.

I would rather code in C# if possible. Can game development be done using C#?

If so, a pointer on where to start would be appreciated.

like image 933
Vaccano Avatar asked Nov 19 '12 16:11

Vaccano


People also ask

What C is used for?

C programming language is a machine-independent programming language that is mainly used to create many types of applications and operating systems such as Windows, and other complicated programs such as the Oracle database, Git, Python interpreter, and games and is considered a programming foundation in the process of ...

What is C in C language?

What is C? C is a general-purpose programming language created by Dennis Ritchie at the Bell Laboratories in 1972. It is a very popular language, despite being old. C is strongly associated with UNIX, as it was developed to write the UNIX operating system.

Is C language easy?

Compared to other languages—like Java, PHP, or C#—C is a relatively simple language to learn for anyone just starting to learn computer programming because of its limited number of keywords.

What is the full name of C?

In the real sense it has no meaning or full form. It was developed by Dennis Ritchie and Ken Thompson at AT&T bell Lab. First, they used to call it as B language then later they made some improvement into it and renamed it as C and its superscript as C++ which was invented by Dr.


1 Answers

This is what I have been able to find out:

There is a library called SharpDX that allows you to call DirectX from C#. It seems fairly good.

But, the Windows Phone makers did not include support for Direct2D. So unless you are planning to make a fully 3D app, you are out of luck (and that is a lot of work let me tell you!).

So, if you just wanted to make a nice 2D app, these are your choices:

  1. Write your game using Xaml and C# (Performance Issues?)
  2. Write your game using C#, SharpDX and 3d (but only draw on one plain) (A lot of work for 2d).
  3. Use the DirectX Took Kit found on codeplex. It allows you to use the dying XNA framework's API for development (This is a C++ option).
like image 198
Vaccano Avatar answered Sep 30 '22 00:09

Vaccano