Skip to main content

Questions tagged [wpf]

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 interface from the business logic and uses an XML-based language called XAML for its declarative part. The browser plugin Silverlight can be seen as a subset of WPF.

Filter by
Sorted by
Tagged with
0 votes
2 answers
632 views

I am trying to create a Radar/Minimap for the F1 2021 game in C#/WPF. Here is a image of what I am trying to replicate In the image, the white car (my car) will always face the direction it is going. ...
Ryan's user avatar
  • 1
0 votes
0 answers
271 views

Background information I am in the process of making a game engine so I have complete, explicit control over everything, anything is an option. I desire to make procedurally generated 3D terrain. It'...
Hawkeye4040's user avatar
1 vote
1 answer
442 views

I'm using the PerspectiveCamera class in C#/WPF to implement an FPS style camera. For that, I would need to offset the camera's horizontal and vertical angles every time the mouse is moved. The ...
MattMatt2000's user avatar
5 votes
1 answer
3k views

I have an image in my WPF application that uses a D3DImage to render DirectX content. On the DirectX side I render everything to a ...
BitsOfBytes's user avatar
1 vote
2 answers
4k views

Could i get some suggestions on how to implement a game loop whilst using WPF(MVVM) and C#, I am a professional developer and understand the technology well. The game loop usually contains a Init(), ...
LoveofSnow's user avatar
1 vote
1 answer
873 views

Im trying to display a mesh in front of the camera and FACING the camera ( I'm developing an small editor in wpf using helix3d). Pretty much something like this question I load my mesh into a ...
elios264's user avatar
  • 131
0 votes
1 answer
724 views

I'm making a chess game with wpf and I have never used wpf before. I've used windows forms, so besides the xaml, it's pretty familiar. Usually when I want to create a mousedown event I look at what I ...
Andrew Wilson's user avatar
0 votes
0 answers
149 views

I am trying to implement a simple beam tracing simulation. Basically it models the path of a beam within a pipe: In the picture, the beam starts emitting from p1, hitting the boundary at p2 and ...
John Tan's user avatar
  • 101
1 vote
1 answer
384 views

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?
TheWanderer's user avatar
0 votes
1 answer
189 views

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 ...
GameDev's user avatar
4 votes
1 answer
5k views

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 ...
ZeroPhase's user avatar
  • 261
3 votes
4 answers
7k views

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 ...
Stephen Lee Parker's user avatar
4 votes
1 answer
2k views

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 ...
user1221876's user avatar
5 votes
2 answers
1k views

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 ...
QueueHammer's user avatar
4 votes
3 answers
1k views

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 ...
Tenshiko's user avatar
  • 141
2 votes
3 answers
1k views

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 ...
Goran's user avatar
  • 257
4 votes
1 answer
4k views

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% ...
user avatar
8 votes
2 answers
3k views

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 ...
mpen's user avatar
  • 183
3 votes
1 answer
298 views

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 ...
jle's user avatar
  • 737