tagged [xna]
Support for XNA in WP8?
Support for XNA in WP8? After watching a little bit of the summit keynote I kind of heard conflicting reports about it, but is it official that XNA is being dropped for WP8? I'm guessing since the fut...
- Modified
- 22 Jun at 18:55
how do you instanciate a class in c#?
how do you instanciate a class in c#? I am making a game for the Windows Phone using XNA framework C#. The main player in the game has to shoot. I have a bullet class, but how do you instantiate that ...
The debugger cannot continue running the process. Unable to start debugging
The debugger cannot continue running the process. Unable to start debugging I used this to use my XNA game in visual studio 2012, everything worked perfectly as it looks but when I click on the debug ...
- Modified
- 10 Jul at 01:40
Galaxian-like Enemy movement
Galaxian-like Enemy movement I'm making a galaxian-like shooter, and my enemy objects have a destination Vector which they travel towards, using this bit of code: Motion is worked out by: This makes t...
Adding inputbox-like control to XNA game
Adding inputbox-like control to XNA game I want my game to have normal text input, but it seems very unpleasant to do using pure XNA. Earlier I found this piece of code which lets me use `MessageBox` ...
How to calculate bounce angle?
How to calculate bounce angle? I played around with it for a while, but I simply can't figure it out. I made a tank that fires missiles, and when the missiles hit the walls, I want them to bounce off,...
How to draw the border of a square?
How to draw the border of a square? I'm using monogame (which uses the XNA API interface) to write my game. So far it is great, but I have hit a snag on something that should be simple. I need to draw...
- Modified
- 15 Dec at 20:21
Does XNA provide audio input (line in)?
Does XNA provide audio input (line in)? Does XNA provide a means of audio input from the line-in? I looked at the [MSDNA website](http://msdn.microsoft.com/en-us/library/bb195038.aspx) but can't find ...
XNA/MonoGame: Getting the Frames Per Second
XNA/MonoGame: Getting the Frames Per Second I am trying to get the current FPS of my game, however I can only find methods that updates the FPS variable every second. E.g. [https://github.com/CartBlan...
- Modified
- 19 Dec at 07:54
Is it possible to run an XNA game without .NET or XNA installed?
Is it possible to run an XNA game without .NET or XNA installed? I've developed an XNA game that I'd like to show a few people at my school, but unfortunately the school computers don't have XNA or th...
UI library for XNA
UI library for XNA I'm working on a small and simple XNA game and I'm noticing I'm spending way too much time implementing basic UI functionality like menus, (rich) text rendering including wrapping a...
- Modified
- 26 May at 08:54
How do I check if a List contains an object of a certain type? C#
How do I check if a List contains an object of a certain type? C# I have a list (called `Within`), and it contains objects of type `GameObject`. `GameObject` is a parent class to many others, includin...
Dealing with lag in XNA + lidgren
Dealing with lag in XNA + lidgren I am experimenting with [lidgren](http://code.google.com/p/lidgren-network-gen3/) in XNA and I'm having some issues with the 'lag'. I've downloaded their [XNA sample]...
- Modified
- 6 Feb at 04:16
Checking if a point is inside a rotated rectangle
Checking if a point is inside a rotated rectangle I know this question has been asked a few times before, and I have read various posts about this. However I am struggling to get this to work. ``` boo...
How to implement a Worms style destructible terrain in XNA?
How to implement a Worms style destructible terrain in XNA? I want to prototype an idea for a game I have. The idea for this game is that the player will dig through the ground, creating tunnels and f...
Does the typeof() operator in C# allocate a new Type object on the heap, or return an existing one?
Does the typeof() operator in C# allocate a new Type object on the heap, or return an existing one? Should be pretty self-explanatory, but this is in the context of real-time XNA code where I want to ...
- Modified
- 30 Apr at 16:19
Combining multiple pixel shaders efficiently
Combining multiple pixel shaders efficiently So I'm making a thing with XNA 3.1, and I have a lot of separate effects that are applied via pixel shaders. These come from all sorts of sources, such as ...
- Modified
- 7 Dec at 13:40
Xbox programming
Xbox programming I am learning the language c. After c I will probably move onto objective c and develop some iPhone applications. Then I was thinking about learning c# and xna. How long do you guys t...
C# XNA Visual Studio: Difference between "release" and "debug" modes?
C# XNA Visual Studio: Difference between "release" and "debug" modes? I'm working on a demo about collision detection. (Some of the code for this is detailed [here](https://stackoverflow.com/questions...
- Modified
- 23 May at 11:43
C# game development after XNA
C# game development after XNA I am a game developer who made games in .Net languages with XNA for the past four versions of it. Unfortunately now there's this news: [http://www.gamasutra.com/view/news...
XNA 4.0 with C# .NET 4.5?
XNA 4.0 with C# .NET 4.5? I want to write an XNA game using .NET 4.5, so that I can use one of the new features that isn't in .NET 4.0. Is there any way to do this? VS2012 doesn't have XNA listed anyw...
- Modified
- 23 May at 11:53
How do I pause the redraw in XNA?
How do I pause the redraw in XNA? I made an XNA image viewer, but it always redraws the scene, even if it's not changing, and it's making my netbook burn like hell, so I'd like it to pause drawing whe...
- Modified
- 23 May at 11:45
How to store structs of different types without boxing
How to store structs of different types without boxing I'm creating a messaging system for use in an XNA game. My Message types are structs because I want them to behave in a Value Type way. I want t...
Orbital Mechanics
Orbital Mechanics Does anyone have an example of implementing Orbital Mechanics (preferably in XNA)? The code I am currently using is below, but it doesn't "feel right" when it executes. The object ju...