XNA is a game framework by Microsoft that allows deployment for Xbox Live Indie Games as well as Windows Phone 7.
0
votes
0answers
25 views
Game performs poorly when sideloaded
My game runs smooth when I deploy it to my windows phone directly from Visual Studio 2012 in debugging mode.
But when I sideload/deploy the same .xap file with the Application Deployment Tool, the ...
0
votes
0answers
49 views
Why is my animation getting aborted?
edit: Problem solved, see comments!
I have a class named Animation which handles my animations. The animation class can be called from multiple other classes. For example, the class Player.cs can ...
2
votes
0answers
48 views
Laser Beam End Points Problems
I am building a game in XNA that features colored laser beams in 3D space.
The beams are defined as:
Segment start position
Segment end position
Line width
For rendering, I am using 3 quads:
...
1
vote
1answer
107 views
Grid-Based 2D Lighting Problems
I am aware this question has been asked before, but unfortunately I am new to the language, so the complicated explanations I've found do not help me in the least.
I need a lighting engine for my ...
1
vote
1answer
32 views
ContentManager in XNA cant find any XML
Im making a game in XNA 4 and this is the first time I'm using the Content loader to initialize a simple class with a XML file, but no matter how many guide I follow, or how simple or complicated is ...
1
vote
2answers
133 views
Physics for moving blocks
I'm working on a 2D game for windows phone where the player moves blocks around to bounce a laser beams.
I need to create some simple physics for moving the blocks.
For the moment I have a simple ...
1
vote
0answers
33 views
Different ways to pass Textures into HLSL shaders
The GraphicsDevice class of xna 4 has the properties Textures and VertexTextures.
What is the exact difference? I don't really understand what MSDN tells me about this.
I usually use Effect ...
1
vote
1answer
88 views
How to give a ball a following texture trailing effect
How do I draw copies of the leading texture so that there is a line of the leading ball following behind it? (that don't collide)
So far I have tried to create the effect by placing another graphic 2 ...
5
votes
2answers
181 views
Improving the efficiency of my bloom/glow shader
I'm making a neon style game where everything is glowing but the glow I have is kinda small and I want to know if there's an efficient way to increase the size of it other than increasing the pixel ...
0
votes
1answer
52 views
Figuring out what object is closer to a certain point?
I'm trying to create fog of war, I have the visual effect created but I'm not sure how to deal with the hiding of other players if they're within the fog of war.
So right now the thing I'm trying to ...
0
votes
0answers
16 views
movement of sprites with kinect and xna
im working on a proyect with kinect sdk and xna 4.0. i need take the position of the hands and draw a sprite over it. im doing it directly and, because of that, i get a "trembling hands" effect. so, i ...
0
votes
0answers
69 views
Best way to go about sorting 2D sprites in a “RPG Maker” styled RPG
I am trying to come up with the best way to create overlapping sprites without having any issues. I was thinking of having a SortedDictionary and setting the Entity's key to it's Y position relative ...
7
votes
2answers
199 views
Fast lighting with multiple lights
How can I implement fast lighting with multiple lights?
I don't want to restrain the player, he can place an unlimited number and possibly overlapping (point) lights into the level.
The problem is ...
1
vote
1answer
82 views
Automatically zoom out the camera to show all players
I am building a game in XNA that takes place in a rectangular arena. The game is multiplayer and each player may go where they like within the arena. The camera is a perspective camera that looks ...
0
votes
1answer
42 views
Obtain rectangle indicating 2D world space camera can see
I have a 2D tile based game in XNA, with a moveable camera that can scroll around and zoom.
I'm trying to obtain a rectangle which indicates the area, in world space, that my camera is looking at, so ...