XNA is a game framework by Microsoft that allows deployment for Xbox Live Indie Games as well as Windows Phone 7.
0
votes
3answers
204 views
XNA SpriteBatch.Draw with rotation, scaling and origin?
I use a 1x1 pixel 2d texture as source for SpriteBatch.Draw. The texture is scaled and rotated around an origin. The left image is only scaling. The right one scaling + rotation around the origin at ...
5
votes
2answers
225 views
XNA 2D: How to load/unload specific content by level
I'm writing a 2D room-based* platformer using XNA, and I'm trying to figure out the best way to load resources based on what the current map requires. Basically, I need to (want to) dispose of the ...
-1
votes
1answer
110 views
How can I solve this animation [duplicate]
At the moment I have a simple static texture. Now I want to animate my sprite. The texture is a simple human. When the user press the enter button, the human gets into state2. This is the standart ...
-1
votes
1answer
124 views
Animation: mid-state
At the moment I have a simple static texture. Now I want to animate my sprite. The texture is a simple human. When the user press the enter button, the human gets into state2. This is the standart ...
-1
votes
2answers
163 views
moving from XNA to LWJGL [closed]
Hi StackOverflow people!
I would like to know how easy it could be to move from XNA to using LWJGL.
Just wanted to throw this out there because of the rumors that MS is shutting down XNA and having ...
6
votes
2answers
172 views
How do I make Windows store recognize multiple resolutions?
I'm currently developing a XNA Game for Windows phone 8, it works with every emulator resolution (WXGA, WVGA, 720p). However, when I upload the XAP to the Windows phone store it tells me that only ...
0
votes
1answer
128 views
Smooth rotation [duplicate]
I would like to rotate my Player very smooth. At the moment the player stops rotating when I release the button. Also the rotation should get faster, if the player rotates longer. I use XNA and have ...
0
votes
2answers
157 views
XNA Block engine Block update problem [closed]
I'm pretty new to programming games (this is my 1st program in XNA), and I ran into a problem. I want to make a block engine, and this far I have a chunk, and I can move around it with the camera ...
0
votes
3answers
80 views
help using image to overlay grayscale around player
I'm sorry for the confusing title but it is hard to explain in one sentence.
This is what I have
What I want to do is use that black overlay to convert everything in the black area to grayscale. ...
2
votes
1answer
56 views
Accessing other classes from a Box2D (farseer) body
I'm using Farseer for physics in a game, and have several key classes: Planet and PlanetProp. Each planet has a large circular body and a "field". This field is a large sensor around the body. ...
3
votes
3answers
201 views
8 directional movement - Maintain vertical position
I have a top-down game that has 8 directions of movement (top/down/left/right/topright/topleft/bottomright/bottomleft). There are sprites for each direction of movement. This is just an example ...
1
vote
1answer
133 views
XNA 2D game fullscreen issue
Hello!
I am creating a 2D farming game using XNA - just today I have tried applying full screen to it, and I realized I failed badly with something. It cuts off a bit of the lower part [item hotbat ...
0
votes
1answer
101 views
Which type of Xbox console should I get to begin developing games on it?
If I want to start developing small indie-like games with XNA on Xbox (I don't think any game I'd make would need more than 100, maybe 200 megabytes), will the 4gb Slim (I want to get a slim version ...
0
votes
3answers
699 views
MonoGame performance better then XNA?
I am currently thinking about porting a XNA game to other platforms using MonoGame. Do I understand this correctly that I can expect the game to render faster even under Windows 7 due to the use of ...
0
votes
2answers
76 views
The saturate function is not working in my pixel shader
I wrote a pixel shader for my game and when I tried to compile it an error occurred:
ID3DXEffectCompiler::CompileEffect: There was an error compiling expression
When I removed all the saturate ...
1
vote
2answers
146 views
How (update,set, apply) dynamically color on a model of a XNA project?
I encounter a problem for set a background color on my model instantiated. I can change the texture but not change color.
Is there a parameter for change the color ? Or change the opacity ? I am ...
2
votes
1answer
127 views
How can i scale up a bounding box in Xna?
In Xna a spritebatch can be passed a value for scale. I have A bounding
box Rectangle that i have a border drawn around my sprite using the bounding box rect.
Now my question Scale can make the ...
1
vote
3answers
540 views
Methods of procedural terrain generation that can work using DirectX 9 (SM2.0)?
I'm working on a simple game / fun project that I want to be largely procedurally generated. At first I started by using boxels (Similar to Minecraft, but not textured) for the terrain and it came out ...
2
votes
1answer
270 views
Portable sound and music for XNA / MonoGame?
What is the best (recommended) way to integrate audio (both sound effect and music) in a game project (using C#/XNA) targeting multiple desktop platforms (W7, W8 Metro, Linux, OSX, ...) via MonoGame. ...
-6
votes
1answer
317 views
How can I make sprites like diablo's for my soon-to-be isometric rpg? Like in all directions [closed]
(xna newcomer)I can use blender(3d modelling tool). I just can't make people, but if I have to, I'd learn it.
How can I do that? I plan on making a lot of armor sets, equipments too. How would I go ...
0
votes
2answers
106 views
XNA Game arhitecture, sharing vertices between objects
I'm practicing primitives rendering in XNA and I want to create something like pipe or tunnel.
I have base class called PipeSegment from which I inherit classes like RotatingSegment and NormalSegment ...
5
votes
1answer
206 views
Portable buffered keyboard input for XNA / MonoGame?
As a preliminary solution, I am currently using the Nuclex framework in an C#/XNA game project for buffered keyboard input. Sadly, nuclex relies on SlimDX.Directinput.dll and therefore to my knowledge ...
-3
votes
1answer
340 views
2D XNA Shooting Game [closed]
im doing a XNA game for a school project but im having trouble with the bullets. I can´t find any way to draw them or "invoque" them went i want. It is a modified Space Invaders that im trying to do. ...
11
votes
6answers
478 views
Run XNA game without graphics
Wondering if there is anyway to run an XNA game with out displaying anything.
I have a working game that runs in a client server setup where one player is the host and other people can connect to ...
2
votes
3answers
178 views
How can I load 2D texture data without a GraphicsDevice instance?
We have a client/server architecture for our game with the client being the XNA Game, and the game server is separate and only references XNA. They both use a shared DLL for networking. The game ...
-2
votes
3answers
333 views
Why use textures that are Power of Two? [duplicate]
Possible Duplicate:
Why are textures always square powers of two? What if they aren’t?
I am using C# and XNA (also MonoGame for other platforms than Windows) to create a game in 2D. ...
0
votes
0answers
91 views
Draw mesh with multiple bones
So I currently have an object made up of only one mesh. And this object contains three bones. One for strecthing the mesh left, one for streching the mesh up, and a center bone, which moves the object ...
2
votes
1answer
79 views
ResourceContentManager with folders
I am attempting to do something like the following:
http://blogs.msdn.com/b/shawnhar/archive/2007/06/12/embedding-content-as-resources.aspx
(Access the content via a DLL)
However, I need to maintain ...
-1
votes
2answers
132 views
Collisions and camera tilt in XNA C# 3D Game
I am working on a game programming class project and need some help. I cannot find a good tutorial on how to get these 3 frictionless spheres to collide with each-other, the surface and the walls of ...
0
votes
0answers
162 views
(XNA - Farseer) Not always colliding and moves seemingly randomly then objects freeze if they do collide
So I'm mixing XNA and Farseer, the first for graphics and the latter for collision and physics. If this is a horrible choice to start out with, tell me that as well.
In any case, I have set up a ...
4
votes
1answer
980 views
Replacement for XNA? [closed]
Since Microsoft stopped developing XNA I'm wondering what will be the replacement for the XBox 720°.
I've been wondering about this. XNA was THE technologie the XBox, easy and powerfull.
So is ...
1
vote
1answer
68 views
Automatic Tile Transitions Not Working Correctly [closed]
I've started writing a tile based game in XNA today using the tutorials here. I'm on the Part 6 - Side Topic - Auto Transitions at the moment. My transitions aren't working correctly as you can see ...
0
votes
1answer
54 views
Assigning bone transform in every draw a good idea?
In my Draw method, I am doing the following:
thisMesh.CopyAbsoluteBoneTransformsTo(transforms);
Is this a good idea? Or should I do this once at the constructor level?
1
vote
4answers
214 views
Who should manage projectiles?
I was following a tutorial that was recommended to me to learn the basics of game design through XNA. And I got to this tutorial:
...
2
votes
1answer
72 views
XNA partially extending the content pipeline using a ModelContent
I am trying to extend XNA's content pipeline in order to import a model in .obj format (a very simple and text-based format, see here for details). Writing a full extension library seems like an ...
1
vote
2answers
66 views
Registering XNA Custom Pipeline
A while back I was looking for a way to export / load Models in XNA for animations. I took the advice from a comment, and tried using the "SkinnedModelProcessor" he linked me to. It worked great at ...
-1
votes
1answer
122 views
Multiple viewports [closed]
[Problem solved !
I canno't answer with the response because i have less than 10 reputations. I have to wait 8 hours.]
Currently, i'm trying to display 3 viewports.
1st : This viewport is the entire ...
4
votes
2answers
237 views
Ball bouncing infinitely and constantly
Alright, so I've got hold of some simple physics mechanics, and am currently trying to implement bouncing. Based on the first answer of this question, I've developed the following algorithm:
...
4
votes
1answer
256 views
Playing Video In MonoGame
I'm trying to play a video in a monogame project. I've done this in XNA in the past by including the Framework.Video directory and it's very simple. This cannot be done in monogame as Visual Studio ...
2
votes
2answers
93 views
Create a variety a sprites from a single image in XNA?
I want to be able to take a single image and cut them up into a lot of images to make the sprites. How would I do that in XNA since I only know how to load the texture then use it without changing it?
...
1
vote
1answer
193 views
Collision detection against specific sprite shape using XNA with Farseer Physics?
I am making a 2D XNA Game, using Farseer Physics for collisions.
I need collisions to be resolved against the actual shape of the sprite image, ignoring transparent pixels, rather than against the ...
-2
votes
1answer
105 views
Help finding a good XNA physics library? [closed]
I'm looking for a good physics library for XNA. Can anyone help me find something good, simple and easy to learn for XNA?
1
vote
0answers
84 views
BasicEffect and SkinnedEffect treating WorldViewProj differently?
I made a ModelBatch class that batches and draw rigged/unanimated and skinned/animated models. For now, BasicEffect is assigned to rigged models (XNA Model Processor) and SkinnedEffect is assigned to ...
3
votes
1answer
136 views
Figuring out which direction my object is facing on a 2D plane?
My friend and I were messing around in XNA 4.0 making a 2D racing game. Kind of like this one: Ivan “Ironman” Stewart’s Super Off Road. The problem we are having is knowing which direction the car is ...
-3
votes
1answer
351 views
What is a reliable and easy way to build an AI? [duplicate]
Possible Duplicate:
New to creating AI - where to start?
I'm making a "Mario Like" game and I was wondering how would an AI generally work? I'm thinking of that it could just go to the ...
-2
votes
1answer
132 views
Is it wise to dev games only with XNA GS? [closed]
I was searching the web all day for a clear answer, but I didn't get any.
I heard that the Unity-Engine is about to come for Windows Phone 8, but I didn't see any release.
Anyway,
is it wise to ...
1
vote
2answers
176 views
How to store different abilities in player class?
So, I have a player class with basic actions.
During the gameplay he unlocks new abilities.
I don't know how to store new actions within the player class.
To be precise - I know how, but my method ...
2
votes
1answer
182 views
How to organise an XNA client/server solution
I was wondering what would be the best way to go about organizing the projects for the XNA project I have been working on. It is a simple game that uses a client/server architecture.
Currently ...
5
votes
1answer
211 views
What are the rest of the blending functions used for?
In general, I know of five ways to make use of blending functions (these are for OpenGL, but replace glBlendFunc() with SetRenderState(D3DRS_SRCBLEND) and SetRenderState(D3DRS_DESTBLEND) for DirectX):
...
0
votes
0answers
43 views
Reading text-coord from a multitextured mesh
Ive been trying different ways to create a ray method that gives me back whatever texture is on a mesh by using the xna triangle picking sample as a starting point, but
theres just one last thing I ...



