• 0

Creating a simple WPF game


Question

I have started building a C# windows form application and now need to embed a few simple interactive games.

At first I was thinking that I should just create the game in flash and embed it in a container within my application.

Then i found out about windows presentation foundation and it seems great.

So the question im asking im guessing is... Is MS Expression Blend 2 capable of producing a good (simple) game or would it be best to use flash?

I dont really know how to use either yet so i want to use the best tool for the job.

Thanks

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
I have started building a C# windows form application and now need to embed a few simple interactive games.

At first I was thinking that I should just create the game in flash and embed it in a container within my application.

Then i found out about windows presentation foundation and it seems great.

So the question im asking im guessing is... Is MS Expression Blend 2 capable of producing a good (simple) game or would it be best to use flash?

I dont really know how to use either yet so i want to use the best tool for the job.

Thanks

If it needs to be a Desktop App then WPF can probably create simple 2D games, but one would assume Flash is more suited. If C# is your aim then take a look at the XNA framework. Geared for games and very simple for creating 2D games.

Link to comment
Share on other sites

  • 0

I've heard about XNA before but i was just wondering if it would be possible to embed an XNA game in the C# application.

So even for a simple 2D game, Flash would be more powerful than WPF?

Link to comment
Share on other sites

  • 0
I've heard about XNA before but i was just wondering if it would be possible to embed an XNA game in the C# application.

So even for a simple 2D game, Flash would be more powerful than WPF?

I've not dabbled too much with flash, but i'd think it would be easier.

XNA Code can be ran in a C# Windows Forms Application, but this is only really needed if you REALLY need some of the Windows Forms controls, like a Listbox at the side of your game?

I think when you embed XNA in a C# Windows Form app it also removes the niceties such as built in game structures such as the Update, Draw routines.

XNA compiles fine into an application, but whoever opens it needs the XNA Redistributable framework, something which WPF or Flash don't rely on. WPF would need the .Net framework, but seen as your writing a C# anyway, this won't be a problem.

Link to comment
Share on other sites

  • 0

Think i'll shy away from the XNA... Downloading the .Net framework and the XNA framework seems overkill for the simple games i want to design.

Whats the best program to use for flash games then... Adobe Flash?

Link to comment
Share on other sites

  • 0
I've heard about XNA before but i was just wondering if it would be possible to embed an XNA game in the C# application.

So even for a simple 2D game, Flash would be more powerful than WPF?

Flash will not be more powerfull than WPF as WPF is use directX.

But flash would abe a lot easier for making a game.

If you're going to use WPF, you're going to have a major headach to it.

As for embedding WPF in winform, it would be easier to rewrite the form as a WPF anyway since it's made for that.

I think the best choice here would be flash then.

Adobe flash would be the best choice but it's not free.

Edited by coderomega
Link to comment
Share on other sites

  • 0
Think i'll shy away from the XNA... Downloading the .Net framework and the XNA framework seems overkill for the simple games i want to design.

Whats the best program to use for flash games then... Adobe Flash?

Thats the one. Latest and Greatest is Adobe Flash CS4.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.