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
2answers
296 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
898 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
219 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 ...
-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
1answer
896 views

Where & How to start? [closed]

I want to start a new development of a Online 3D Card Game. I have alot of expirience in C# .NET and Sockets and everything. I started to play with XNA Game Studio, but i found it a mass. No Visual ...
-4
votes
2answers
3k views

In my map editor, how can I make the tiles “stick” at 32 pixels multiples?

I have a problem with making map editor in XNA. I'm making a 2D tile based map editor. The problem is, I need every tile I put in map editor to be X: 0, or X: 32, or X:64 and so on, not 1.10, 2.99, 5....
-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
572 views

How do I draw something when the mouse is clicked?

Right now, I'm doing this: ...
-4
votes
1answer
393 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
979 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
579 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
111 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
563 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
228 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
86 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