xna-4.0 Questions
2
Solved
Currently in my game i want trying to move my object towards both x axis and y axis.As I also wanted to put it into center ,I have put a camera.Here is my Camera code-
public class Camera
{
publ...
6
Solved
I have a C# XNA on WP7 project running and I'm finding that it's eating up memory between screen changes and not returning it, eventually leading to an outofmemoryexception.
I've looked and looked...
Laoag asked 21/3, 2011 at 22:41
1
Solved
How could I procedurally generate a Texture2D using code? (ex: I want alternating pixels to be black and white on a 32x32 image)
2
Solved
I am rendering my game in a Winform in the same way as done in this sample: WinForms Series 1: Graphics Device
In my game I have some object, for example a rectangle that I can already put and mo...
Specie asked 1/1, 2014 at 15:46
3
Solved
I have an XNA 4.0 project that I would like to be compiled with the .Net 4.0 Full profile, but it is set to Client profile by default. The Target framework combobox in the Application tab is grayed...
Aubarta asked 29/6, 2011 at 14:35
5
Solved
I installed windows 8 a month ago and now want to add xna game studio 4.0 to my visual studio 2010 ultimate. I downloaded the xna installer from http://www.microsoft.com/en-us/download/details.aspx...
Brewis asked 23/12, 2012 at 12:6
2
Solved
I am starting learning C# and XNA, and I want to display an animated sprite (moved by my keyboard).
I've got this sprite file:
To display only the part I need, I use this code:
Rectangle cutte...
1
Solved
My app has a custom panel used to display the XNA screen within a WinForm. I've currently displayed a test model with no problem and now working on camera movement. My camera is a Free Camera (not ...
Preciado asked 17/8, 2013 at 15:18
1
Solved
I am trying to figure out how to use the origin in Draw method to rotate a sprite around its center. I was hoping somebody could explain the correct usage of origin parameter in Draw method.
If I ...
2
Solved
This might be a very simple question, but I searched and found no other way to do it. It doesn't make sense to redraw the background on every Draw. Is there a way to draw some things and leave them...
1
Solved
I am currently doing a small turn based cannon game with XNA 4.0. The game is very simple: the player chooses the speed and angle at which he desires to shoot his rocket in order to hit another pla...
Cherycherye asked 22/5, 2013 at 21:28
3
Solved
I create a new project in xna 4.0 for windows. I put it on both Reach and HiDef profile settings in properties. When debugging I get the following error:
No suitable graphics card found. Could not...
1
Solved
Full Story
Typically, when I install Visual C# 2010 Express, the first thing that I do is switch to Expert Settings. That gives me access to build configurations, and the respective manager. This ...
Palatinate asked 17/4, 2013 at 17:37
1
Solved
I am making a Tic-Tac-Toe game. I need to check if a player is clicking on a square they have already clicked.
Problem is error is shown in the first click itself.
My update code is:
MouseState ...
2
Solved
This question is related, but NOT a duplicate: How to install XNA game studio on Visual Studio 2012?
I read the above mentioned post, and have got xna projects opening, but I now have a problem.
...
Arte asked 11/10, 2012 at 21:51
3
Solved
I'm a visual studio newbie, currently developing a game using VS 2010 express, C# and XNA 4.0 .
I'm trying to debug a little game I'm developing, using a Console.WriteLine call when a certain eve...
Dyaus asked 26/10, 2011 at 10:53
1
Solved
I'm developing a wp7 game where the player draws lines in the program and a ball bounces off of them. I'm using XNA and farseer physics. What is the best method for a user to draw a line, and then ...
Handfast asked 24/12, 2012 at 16:23
2
Solved
1
Solved
I want to draw special characters like: "π,Ω,θ,ξ" in XNA by using method
SpriteBatch.DrawString(), but I get an exception saying those characters aren't available in the SpriteFont file. Is there ...
Tangy asked 6/11, 2012 at 1:31
2
Solved
Greetings each and all!
I'm currently looking into procedural generation of a road network and stumbled upon the L-system algorithm. From what I understand from various scientific papers on the su...
Gushy asked 18/10, 2012 at 13:53
3
Solved
There I am making a 2D game in C# XNA 4.0, and run across yet again a petty annoyance of mine; the Rectangle. For those using basic collision, this is almost a necessity. For almost any game object...
Jago asked 16/6, 2012 at 17:42
1
Solved
I have come to inquire about instancing in XNA
I am a beginning XNA developer, only recently stepping up from 2D to 3D games.
I'm trying to draw a large number of cubes made solely out of vertice...
Stockinet asked 29/3, 2012 at 16:0
5
Solved
I am wondering how to include debug code inside the XNA? Like console.writeline
2
Solved
I'm developing a game that is mixed with winforms (for the map editor). The problem I am facing is that even if the main game window isn't in focus, it still receives mouse change events (such as c...
Jodijodie asked 3/3, 2012 at 23:5
3
Solved
KeyboardState.GetPressedKeys() returns a Key array of currently pressed keys. Normally to find out if a key is a letter or number I would use Char.IsLetterOrDigit(char) but the given type is of the...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.