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
0answers
40 views

How to move the bigboss enemy from left to right and from right to left? [on hold]

sorry about my poor english, i need to make a shooting game, the game need a enemy that will moving from left to right and from right to left. then, we need to hit the enemy 10 times can defeat the ...
0
votes
1answer
60 views

How can I find the perpendicular to a 2D vector?

I'm making a top down game where the player moves forwards towards the position of the mouse cursor. As part of the player's movement code, I need to determine a vector that is perpendicular to the ...
0
votes
0answers
39 views

How can I use Farseer with Monogame? [on hold]

If I use the old version(3.3) of Farseer Physics XNA WP7, I get many error messages like the following when I debug: The type or namespace name 'FarseerPhysics' could not be found (are you ...
-1
votes
1answer
20 views

XNA spritebatch drawing order

Im new in this and im making XNA game. I have problem with spritebatch drawing order. To be explained : i click button to open inventory and i need all drawing to be behind my inventory layout. But ...
0
votes
0answers
31 views

Smooth circular collisions with edges/collision boxes [C# + XNA]

So, me and a friend are working on our top-down perspective 2D game, and have come to work on perfecting our collisions. In its current state our player sprite is colliding with walls, but is ...
-1
votes
0answers
32 views

How can I rotate a camera and a model together? [on hold]

I've tried a way of rotating them together. I've tried to add them at the same position and adding them a rotation but they have different axes of rotation. If anyone knows better xna and find a ...
1
vote
0answers
32 views

Squashing screen resolution in XNA

I've made a game in 1920x1080 res in XNA, and I can't seem to find a way for the graphics device to squash the screen images to other resolutions like 1600x900 when played on different computers. How ...
-2
votes
1answer
33 views

nothing is drawing when using basiceffect having same matrix as spritebatch [closed]

my load content.... protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new ...
0
votes
0answers
70 views

Monogame: Why is my sprite looking the same on every resolution?

I want that my sprite(Mario) don't look the same on every Windows Phone resolution. If I use this code, the sprite is on every resolution on the right position but it also has the same size on every ...
0
votes
0answers
14 views

XNA SoundEffect with offset

I've been trying to make a soundmanager recently which has several functions which fits my needs. But one thing I can't solve, is the offsetting the soundeffects. Is it possible to play a soundeffect ...
-1
votes
1answer
79 views

Why are the coordinates interchanged in Monogame?

If I use XNA Gamestudio, I can draw a sprite on a specific position like this: spriteBatch.Draw(Texture2D, new Vector2(PositionX, PositionY), Color.White); But in Monogame, I must change the ...
0
votes
1answer
53 views

How can I support different resolutions with Monogame? [duplicate]

I want to support the following 4 resolutions in my Windows Phone 8 game: 480 × 800, 768 × 1280, 720 × 1280, 1080 x 1920. How can I do that with Monogame? If I draw a sprite with Monogame, the sprite ...
5
votes
0answers
83 views

Rotation pitch/yaw reverse problems when picking a tile (2.5D)

Set-up: 3D world, isometric sprite rendering (4 fixed angles). This transform matrix is used as camera: _transform = Matrix.CreateRotationZ(Roll) * ...
0
votes
1answer
28 views

implementing different users in XNA - XML

So I am making a simple 2D game in XNA, and I want to implement different users (players), so each person playing can have their own high score, can only play levels they've already played, can only ...
0
votes
0answers
24 views

C# XNA game window's ClientBounds not equal to Viewport/BackBuffer at native resolution

I'm having a rather strange issue involving my game window and its resolution. I have a function in my Engine that sets the resolution (with the appropriate checks to make sure the resolution is ...

15 30 50 per page