XNA is a game framework by Microsoft that allows deployment for Xbox Live Indie Games as well as Windows Phone 7.

learn more… | top users | synonyms

0
votes
1answer
28 views

vertices, better to have more but draw a smaller area or less but expand a larger area

I have a simple question really. I am creating water for a game and had two different design approaches: Make a single plane that expands the entire playspace, which would take 6 vertices but cover ...
0
votes
0answers
33 views

Why is my model flickering when translating

I have several models here. When they stand still during gameTime, there's no flickering. But as soon as I move them across the x-axis, they flicker on some places. protected override void ...
-2
votes
0answers
28 views

xna 2d tank game [closed]

I need help. I am making game with terrain. I have 2 questions : I don't have any idea to make that 2d tank.. Should I use some animated sprite or what? I want to make my tank animated ...
-1
votes
1answer
89 views

2D Scrolling Background on XNA

How do I create a scrolling X and scrolling Y background without weird things happening like the player disappearing or not getting the offset correct? I have code at ...
0
votes
0answers
40 views

How can I draw an Xbox Avatar?

I want to replace the main character of my 2D game by an Xbox avatar. How can I do that? How can I add an avatar to my project? How can I draw an avatar? For example, I draw my main character like ...
-1
votes
1answer
63 views

XNA/MonoGame and Game Studio/MonoDevelop

First off, I have a bit of programming experience in Java and have always programmed using ViM (even though I recently moved to Sublime Text 2) and I'm trying to learn C# and the MonoGame framework. ...
0
votes
2answers
48 views

Program closes without Exception

I'm using XNA 3.1 ( .NET 3.5 ) and my program closes without any warning, errors, or code instructing it to do so. I looked in the output, and there aren't any obscure messages outside of telling me ...
0
votes
1answer
44 views

Managing Background Sprites

I tried asking in Chat and no one answered, so the question goes here. Anyone have advice for loading background Sprite maps? I'm trying to do it as efficiently as possible for a grid of 25 ...
0
votes
2answers
50 views

poor performance with kinect sdk and xna (color stream)

I'm trying to make an augmented reality game for advertisement, using the kinect sdk 1.6 and xna 4.0. I need to use the color image format rgb 1280X960, in spite of the fact that it runs at 12fps, ...
-1
votes
0answers
24 views

XNA crash when publish

I've made a 2D game, it runs fine when debugging but when I publish and install the game prompts an error and fails to run. I have three text files in my game which store various game data - ...
2
votes
1answer
68 views

Issues upscaling pixel art with SampleState.PointClamp

I'm developing a 2D game, and I'm striving to create a nice blocky low-res appearance for the game, yet allow it to be played at variable resolutions. So, I've researched resolution independency and ...
-1
votes
4answers
85 views

Model draws always on front

I have a couple of Models here, but there's only one, which will always draw in front of the others. I tried to replace the asset-source to an other model and then the order is correct, but on this ...
2
votes
1answer
62 views

Where is the source of XNA lighting?

Talking BasicEffects, where is the source of the three directional lights? When I write this: effect.DirectionalLight0.DiffuseColor = new Vector3(0.5f, 0, 0); // a red light ...
-2
votes
1answer
75 views

MonoGame iOS and Game Performance [closed]

My friends and I are developing a game for Ipad/Iphone using the monogame Framework. We are at the final stage of the development and we are having some issues concerning the deploy of the game. This ...
1
vote
3answers
127 views

Splitting tileset into individual tiles

I'm trying to split a tileset (from here) into individual tiles. For debugging purposes I wrote some code to split the tileset into individual tiles and display them on screen, but some aren't being ...
1
vote
1answer
27 views

Getting BEPUphysics to draw its entities

Isn't there a way, to force BEPUphsyics to show what it is doing? I am here with my existing XNA project, starting to put in BEPUphysics, but I am not seeing what it is doing. Take my model for ...
0
votes
1answer
59 views

Bounding Boxes and XNA

So heres some straight up code for you: BoundingBox b = new BoundingBox( Vector3.Up + Vector3.Right + Vector3.Forward, Vector3.Down + Vector3.Backward + Vector3.Left); BoundingBox bb = new ...
-2
votes
1answer
90 views

Making a sun out of a light

Basic stuff, I guess. Can I somehow make a sun out of a light-source in XNA? I would like to be able to see the light, actually, and set it on the upper right corner like a sun.
-4
votes
1answer
98 views

What does this error mean? (Reach profile?) [closed]

I got this, when I tried to load a model during runtime XNA Framework Reach profile requires mipmapped Texture2D sizes to be powers of two, but this Texture2D is 800x800. Resize it to a power of ...
-1
votes
0answers
35 views

Checking if I tapped in texture or not

I have Texture2D that is Drawn in -30 degrees. How can I check if I tap in the screen is it a HIT or not?
-1
votes
1answer
61 views

Developing games for Windows Phone 8 [closed]

I usually develop apps for Windows 8, not related to games. Now I have a good idea and I want to code it; where should I start? I read on the net that there was support to XNA for Windws Phone 7, then ...
2
votes
1answer
106 views

How do I loop my animations seamlessly?

I am trying a complete my method, which crops Maya-Animations (from Maya-Models) to specific ones using the SkinnedModelProcessor. My only problem is, that after one animation-loop completes, the ...
-1
votes
1answer
59 views

Animation from bones?

I have a model loaded into my XNA project, it has bones that were created in 3DS Max and I am wondering can I animate my model using code? All I will be doing is basic movements such as an arm swing. ...
1
vote
0answers
60 views

XNA: Placing a “field of view” rectangle on a minimap

I'm building a top-view 3ed person shooter. I have a HUD and in the HUD I have a minimap. I'm trying to draw on this minimap a rectangle which shows me my "visual field", meaning i see on the minimap ...
0
votes
0answers
22 views

CAT RIG to FBX XNA problems

Im trying to export my 3ds max cat rig to fbx for use in XNA. in that file i have 1 animation playing and i want to be able to use it within xna. So the problem is, once ive exported the file out, ...
-3
votes
1answer
144 views

Which should I learn: DirectX or XNA? [closed]

I've worked with the Microsoft Foundation Classes(MFC) and now I want to enter the world of game development.But should I start with directX or XNA? I'm hesitant towards DirectX because I feel it ...
1
vote
1answer
43 views

Input skeleton not found

I have a 3D-Model, made in Maya and I am trying to parse that through the latest XNA with the SkinnedModelProcessor (However, this issue remains without that processor). In Maya, the skin is already ...
0
votes
1answer
59 views

Texture not carrying over to game correctly?

I have created my map for my game using 3DS Max. I have then applied textures to the map within 3DS Max, where the textures all show correctly. I export the map as a .fbx file to use within an XNA ...
-2
votes
0answers
50 views

Loading specific parts of arrays in XNA

I'm working on a 2D "engine" of sorts in XNA and am now adding larger levels, but to do this I need to be able to only load some of an array into RAM for a chunking system. At the moment I've got a ...
-2
votes
1answer
70 views

Cannot get 3D mouse coordinantes [closed]

I'm using viewport.project() to find my mouse position in 3D space. I have my projection, view and world matrices defined in the same area that they are used to draw the model. Code is below: NOTE: ...
2
votes
0answers
55 views

Getting a uint color array from a portion of a Texture2D

I'm currently using the Farseer tools to create a body from a Texture2D. However, my texture is a spritesheet and I need to get the uint array containing the colors from a portion of the full ...
-1
votes
2answers
83 views

XNA moving towards 3D point, RTS style

I looked around to see if this question had already been asked- maybe it has, maybe it hasn't, I don't know. I'm trying to make a 3D RTS game. Right now we're trying to get the basics on the table. ...
-1
votes
0answers
44 views

Sprites failing to Update [closed]

I have a simple 2D top down survival game where the player simply has to 'run away'/ not collide with the enemies on screen for 30 seconds each round. After every increment in level the number of ...
-7
votes
1answer
49 views

XNA 4.0 3D Collision question

Which collision should I use for doing slope models?
3
votes
0answers
101 views

Legality, implementation, and viability of using the BSP map format in a procedurally generated XNA game?

First off, this is not a "which technology should I use" type of question, but rather a question about the viability (And legality, and how to implement) BSP maps into an XNA game. The legality part ...
-1
votes
1answer
106 views

Is there any physics engine for XNA? [closed]

I am an XNA game developer. I am now starting to develop physics games on XNA but the problem is that I don't know about any physics engine desinged for XNA. Please if you know about it kindly help ...
1
vote
1answer
65 views

XNA- Add a content reference to a library?

Making a Game library with XNA, and I'd like to bundle it with some stock effects, if possible. But I'm having no luck attaching a Content project to the Library, so is it possible to use the Content ...
0
votes
1answer
98 views

Recommended collision response needed [closed]

In my game, I have Player class Enemy class Wall class GameComponents class ( Which is the base class for Player, Enemy and Wall) The rules are Enemy chase Player, if collided with Walls, ...
0
votes
0answers
45 views

Top down 2D camera in relation to keyboard commands

I have a basic 2D camera: transform = Matrix.CreateTranslation(-position.X, -position.Y, 0) * Matrix.CreateRotationZ(-rotation) * Matrix.CreateScale(new Vector3(zoom, zoom, 1)) * ...
-7
votes
2answers
41 views

How do i create a Xna 4.0 Creating BoundyBox [closed]

I understand what other people have done and when creating it myself it just seems to go wrong or the version is different so doesn't work in first place. Any easy code for this?
3
votes
1answer
60 views

XNA - Accessing primary View, Project, World matrices from a game component

In XNA4, I have an EnemyManager class that takes care of all of the enemies. When it comes time to draw, however, it needs access to the game's main View, Projection, and World matrices. I could ...
-2
votes
0answers
84 views

C# XNA: How do i create simple 2d TileEngine [closed]

i want to create a simple tileengine for a small rpg-ish game. I have a picture with 7 different tiles each at a width and height of 48px. What i want to do is to split the image into those seven ...
-4
votes
0answers
55 views

XNA 4.0 + Windows Form [closed]

I've recently been trying to make an XNA tile editor for a project that I'm working on. Combining XNA with the Windows Form would really help me out with the GUI of the program and so I stumbled upon ...
-1
votes
1answer
52 views

XACT support outside of XNA?

I was building a new game in Monogame when I realized that it didn't have XACT support like XNA did. I was wondering if anyone knew another framework that could be used with or instead of MonoGame ...
-1
votes
0answers
33 views

Normal mapping in XNA (WP8) possible?

Information regarding this topic is pretty scarce. But is normal mapping possible on XNA for Windows Phone 8? If so, are there some gems of articles out there you could point me to?
4
votes
1answer
115 views

Problem of saturation of ram on XNA?

I developed a small xna games. For some time I have a problem with the saturation of RAM. In fact everything works perfectly, the game runs with a "Frame" of 60fps. But strangely I do not know for ...
1
vote
1answer
62 views

graphics.GraphicsDevice.Clear strange result (XNA)

I have such Execution: graphics.GraphicsDevice.Clear(new Color(255, 0, 0, 0)); Alpha is 0. So why it draws me Red color? graphics.GraphicsDevice.Clear(new Color(255, 0, 0, 255)); Also draws the ...
1
vote
1answer
68 views

Optimize maximum performance “Frustum.contain ()” on XNA?

I wonder if it is possible to optimize the performance of "BoundingFrustum" requesting return of the visible elements that are found only on the part of the ground before the player .. Checker and not ...
0
votes
1answer
66 views

XNA BlendState - how to use it? [closed]

I would like to learn, how create various effects by using BlendState object passed to spriteBatch.Begin method. It has many arguments. I'd like to learn on examples. I have such link(s): 1 2 3 But ...
-1
votes
2answers
67 views

Loading a texture2D in a separate class using c# and xna [closed]

I have been adding a bunch of textures to my game in xna so i decided to make a separate class to load and draw the textures. this is what i have so far using System.Text; using ...

1 2 3 4 5 40
15 30 50 per page