Windows Presentation Foundation - a GUI framework for application development on Windows made by Microsoft for .Net utilizing DirectX rather than the older GDI. It is, in contrast to older GUI frameworks, completely vector graphics based, and thus resolution independent. WPF also separates the ...

learn more… | top users | synonyms

0
votes
0answers
33 views

How do I apply Farseer Physics Engine Collision on my image? I tried it on my codes and it is not working

How do I apply Farseer Physics Engine Collision on my image? I tried it on my codes and it is not working. PoolGameSingle poolgame = new PoolGameSingle(); var cue = poolgame.CueStick; ...
0
votes
0answers
18 views

SharpDX: listen to SizeChanged

I am using SharpDX and the SharpDX.Toolkit.Gameclass within a WPF-Application. The SharpDX stuff is hosted within a SharpDXElementcontrol, like this: var element = new SharpDXElement ...
1
vote
1answer
77 views

Creating Direct2D PathGeometry from XAML format

Is it possible to create a Direct2D PathGeometry object from a XAML string (or from any other vector format) or do I have to create such a parser myself?
0
votes
1answer
859 views

Going from WPF to Unity3D, how to implement the MVVM-pattern?

I've been working with MVVM in WPF for a long time and I'm now trying out Unity3D for a GUI-driven application. Can I work with view models and bind them to properties in GUI-components? I guess the ...
0
votes
0answers
431 views

Use opentk window handle to host wpf control - Monogame [on hold]

well my boss asked me to try and get wpf controls rendered in Monogame. From what I understand this was easly doable in Xna, however in monogame it fails. Is there any way to make the window hadle ...
0
votes
1answer
103 views

Map color collision problem

Hello i'm doing a game in WPF, 2D version (top view) I have the map and i'm trying to check for color collision in pixel each time the timer is activated Well...with 1 object it works fine but with ...
0
votes
0answers
103 views

Generate complex (non-convex) polyhedron UV mapping

I need to find an approach to the problem of generating texture maps for non-convex polyhedrons without using a design tool like Maya. Specifically, I am mapping simulation results data onto a 3D ...
3
votes
1answer
1k views

How do I implement movement in a WPF Adventure game?

I'm working on making a short WPF adventure game. The only major hurdle I have right now is how to animate objects on the screen correctly. I've experimented with DoubleAnimation and ...
5
votes
1answer
457 views

How can I create a 3D point cloud in WPF?

I need to render some 3D points with WPF. How can I do this? I need an easy and fast solution to just render this point cloud. No lights, no texture, no sound, no physics, just colored 3D points in a ...
1
vote
4answers
2k views

WPF or WinForms for Game Development and learning resources? [closed]

I'm looking to create a game framework for my own personal use... I want to use WPF, but I'm unsure if that is a wise choice... The games I will be writing should not require high performance ...
1
vote
2answers
2k views

Sharing a texture resource from DX11 to DX9 to WPF, need to wait for DeviceContext.Flush() to finish

I'm following these instructions on TheCodeProject for rendering from DirectX to WPF using D3DImage. The trouble is that now that I have no swap chain to call Present() on -- which according to the ...
14
votes
5answers
11k views

SharpDX and game engines, back to zero?

I'm a desktop developer (I mainly do WPF for a living) but I want to make games as a hobby. So a few months ago, I started reading blogs, gamedevSE, you name it. I understand in the C++ DirectX ...
3
votes
1answer
508 views

Controlling the snake in a snake game with the mouse

I am trying to implement a snake game in C# using the WPF forms. Well I know to implement the snake game, where the snake is controlled by the keyboard. But how would I do it, if I wanted to control ...
4
votes
3answers
3k views

XNA with WPF or Winforms

If you compare integration between WPF with XNA vs Winforms with XNA, what is the most suitable framework to integrate XNA framework with.
2
votes
0answers
558 views

Developing user interface [closed]

i am beginner in graphic development and have no experience with it, i only developed always with standard win controls. Now i want to create interface in c# for my sports management simulation game, ...
5
votes
2answers
853 views

What is road map for Windows 3D game development in C#

I used WPF 3D to make a demo program a while ago. I'm now want to give some other things a shot but find working in WPF 3D ... confining. I have looked at Managed Direct3D but read that it's dead. I ...
3
votes
3answers
401 views

Manager game questions

(Sorry about the bad title, it's the best I could come up with) I've been planning a gladiator manager game for a while now. Something similar to Blood Bowl (or Football Manager, only with fighting ...
4
votes
3answers
941 views

Kinematics of a die roll?

I'm working on a simple 3D game. In the game, sometimes the players have to roll die (a D8 to be exact). I wish to represent the rolling die with a 3D model, and I'd like to animate it in 3D space as ...
3
votes
1answer
1k views

(real) 3d map rendering in wpf without an engine - how to handle the map data?

I'm just doing some research before embarking on rendering a 3D map inside a wpf app. I've never delved into 3D before, and hence the question.. I have map data (in several formats, and many files) ...
2
votes
3answers
678 views

What's a good way to handle game screen management in WPF?

What would be the preferred way of handling game screens in WPF (conforming to MVVM)? I'm not asking about game states but the actual mechanics of presenting various screens. Do I implement screens ...
1
vote
1answer
199 views

What is the best practice to resize game views-assets in WPF/silverlight?

I am working on simple game using WPF/C#, and I am wondering what is the best practice to resize the game (views, assets…) when user re-sizes the game window? Is it good practice to use the ViewBox ...
4
votes
2answers
1k views

WPF & C# - Game Overlay + Streaming

Greetings I'm in the process of making a Scoreboard for a game (Starcraft II). This scoreboard is being made as a WPF Application with a C# code-behind. I already have a version which works for 90% ...
13
votes
6answers
2k views

Am I hurting myself by not knowing C++ for game design?

Right now, I feel I am strong in both Java a C#. (Not much of a leap from one to the other really). While I don't expect a game designer/programmer is an attainable goal early on in my career, This ...
8
votes
2answers
3k views

How to use XNA in WPF?

How can I render some graphics using XNA to a widget/control in a WPF app? Specifically, I don't need any WPF controls inside the XNA graphics window, I just want to put some controls around it for a ...
5
votes
2answers
2k views

Can a standalone WPF application create an interface that looks like a Flash interface?

It seems like WPF was created as the application answer to Adobe's Flash. Silverlight is used for creating web pages. But, can that same functionality be pulled into a standalone WPF application. ...
3
votes
1answer
236 views

Web site for XAML snippet sharing?

I am making a game with WPF and C#, and I frequently am in need of artwork for it. Some things could be easily shared, such as explosion animations, exhaust plumes, etc. I was wondering if there are ...
5
votes
2answers
1k views

How do I render my own DirectX Stuff to a full screen WPF's DirectX surface?

Basically Danny Varod seems to know as he posted it as an answer to this question: Display a Message Box over a Full Screen DirectX application I think, theoretically this might work, but I have no ...