Questions tagged [xna]

XNA is a game framework by Microsoft that allows deployment for Windows, Windows Phone & Xbox 360.

Filter by
Sorted by
Tagged with
-3
votes
1answer
1k views

xml file save/read error (making a highscore system for XNA game)

i get an error after i write player name to the file for second or third time (An unhandled exception of type 'System.InvalidOperationException' occurred in System.Xml.dll Additional information: ...
-3
votes
2answers
618 views

Trajectory Arcs

Ok so I have read this question Calculating trajectory. And it is sort of working in my program. I am trying to produce nice parabolic arcs with this. Like so .. The results I am getting look more ...
-3
votes
1answer
1k 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. ...
-3
votes
1answer
492 views

Character jump animation is not working when I hit the space bar [closed]

I am having an issue with my game in XNA. My jump sprite sheet for my character does not trigger when I hit the space bar. I can't seem to find the problem. I have also include the code below to make ...
-3
votes
2answers
291 views

Simple game in Android [closed]

In C# is there something like XNA which gives update or draw or other classes and methods ...
-3
votes
1answer
889 views

c# xna move Image using two Vectors?

initially image placed (0,0)th position and where ever i touch that is end position. Now i got Start Position(0,0) and End Position(200,200). i want to move start to end vector using angle. If ...
-3
votes
2answers
1k views

How can I follow the player sprite with the camera?

I've spent the last 4 days trying to figure out how to get a camera to follow the player sprite. I've followed every tutorial I could find and none of them worked. My Camera script looks like this. <...
-3
votes
1answer
218 views

How to shoot lasers from Ship(XNA)?

I want a code which allows me to shoot multiple lasers from my Ship. Its a 2D game and the laser TEXTURE2D moves in a straight line. My Solution: I use ...
-3
votes
1answer
670 views

Farseer: are you missing a using directive or an assembly reference?

I want to create a polygon in Farseer. I found an example in the documentation but it's not working because I get this error message: The type or namespace name 'Vertices' could not be found (are you ...
-4
votes
1answer
1k 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 player and ...
-4
votes
2answers
2k views

Todo List for game design and development [closed]

Is there and TODO list for a game design and development. I'm going to do a game in XNA and I would like to do my TODO list like: Logo Backgroud Music etc. Any tips?
-4
votes
2answers
560 views

How do I draw something when the mouse is clicked?

Right now, I'm doing this: ...
-4
votes
1answer
355 views

Can't add rectangles into rectangle list [closed]

When I run this code, it gives me "Object reference not set to an instance of an object." here clickableArea.Add(temp); here is the entire class ...
-4
votes
1answer
948 views

How to move a sprite in a straight line in XNA?

I'm making a whack the mole like game where 4 enemies come from all 4 directions: I've got the 4 enemy sprites and all I want them to do is walk accross the x or y axis towards the cow in the centre. ...
-4
votes
1answer
68 views

How can I modify this projectile class to support movement in an arbitrary direction?

Hi I have the following class which Updates and Draws a projectile: ...
-4
votes
1answer
575 views

How To Create Scrolling Menu in Xna? [closed]

How To Create Scrolling Menu in Xna like this: http://www.youtube.com/watch?feature=player_detailpage&v=ijambOyBgPg#t=25s
-4
votes
1answer
2k 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 ...
-4
votes
1answer
1k views

Implementing the Game State Management example into my game

I am creating a game using Visual Studio and trying to add the game state management example. I have added all the files from the example into my game but need to add in something to make it run the ...
-4
votes
2answers
110 views

Is it possible to render controls inside controls in XNA?

I want to know if there is an easy way to render sprites in XNA inside other sprites or something similar (I don't know if sprite is the best or unique way to draw in XNA). For example, I want to draw ...
-4
votes
1answer
562 views

Make Sprite Jump Upon a Platform

I have been struggling to make a game like Doodle Jump where the sprite jumps on a platform. So how do you make a sprite jump upon platforms in XNA? Th platforms are represented by a list of positions ...
-4
votes
1answer
2k views

XNA PC vs Monogame Online Multiplayer [closed]

I've got a mostly working PC game in XNA 4, and am looking to make it networked. From the documentation it seems that I can use XNA Networking through GFWL to do LAN sessions, but not online sessions ...
-4
votes
1answer
1k views

How to use a physics engine for collision detection? [closed]

I want to use Box2D.XNA or Farseer for collision detection in my 2D game, but I don't know how to start. I added Box2D.XNA to my solution, but I don't know how to create rectangles, circles or ...
-4
votes
1answer
166 views

My 2d Shader in XNA falls apart the second I put it into Farseer [closed]

I wrote a simple light shader that I tested in a simple 2d spaceship shooter and it worked fine. Once I imported it into my friend's farseer project with rotatable shapes, it doesn't seem to work ...
-5
votes
1answer
224 views

camera2d class will not work [closed]

using System; using System.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna....
-7
votes
2answers
84 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?

1
58 59 60 61
62