Questions tagged [xna]

XNA is a cross-platform framework originally from Microsoft that facilitates game development with .NET. Supports: Windows, Xbox 360, Windows Phone (natively), Silverlight (via SilverSprite or Exen), iPhone/iPad, Android, Mac OS X, Linux and others (via MonoGame).

Microsoft's XNA Creator's Club: XNA Creators Club

Supported platforms for game development:

Natively:

  • Windows Desktop
  • Xbox 360
  • Windows Phone 7

Via Monogame:

  • iPhone and iPad
  • Android
  • Linux
  • Mac
  • Windows Metro (including 8, 8.1, and 10)
  • Windows 10 Universal App Platform
  • Windows Phone 8 (And 8.1)
  • Ouya
  • Playstion Mobile (PSP) (In development)

Via other methods:

Learning Sources:

Web:

Books:

7309 questions
34
votes
3 answers

Is MonoGame just XNA?

So I want to learn C# and XNA but after some research is came to my attention that XNA is apparently dead, and there is an alternate library called MonoGame which uses XNA framework. So, can I use XNA lessons/ tutorials for MonoGame or are the major…
Matthew
  • 489
  • 1
  • 6
  • 10
34
votes
2 answers

How to install the XNA Game Studio 4.0 in Windows 8?

This question is related, but NOT a duplicate: How to install XNA game studio on Visual Studio 2012? I read the above mentioned post, and have got xna projects opening, but I now have a problem. Some of the references to the XNA framework aren't…
annonymously
  • 4,708
  • 6
  • 33
  • 47
33
votes
1 answer

Custom WP7 Silverlight control with dynamic 3D content

Ideally I need to implement a WP7 control that can be added to any XAML and which displays a dynamic, interactive 3D scene. Currently I have this implemented via XNA in shared mode, and the UI is rendered on top of the scene using UIElementRenderer.…
SnakE
  • 2,355
  • 23
  • 31
32
votes
9 answers

UI library for XNA

I'm working on a small and simple XNA game and I'm noticing I'm spending way too much time implementing basic UI functionality like menus, (rich) text rendering including wrapping and basic UI lay-out such as alignment of elements. This is a fairly…
drxzcl
  • 2,952
  • 1
  • 26
  • 28
31
votes
5 answers

Is MonoGame reliable?

I'm looking for a cross-platform game development framework. MonoGame looks easy to learn and fast to develop, but I see most of the games featured at their page do not work, or have a lot of bugs. Can anyone explain if MonoGame is reliable for…
xus
  • 2,587
  • 8
  • 31
  • 44
31
votes
16 answers

What Should Be in a 2D Game Engine?

Ok, so I ended up writing my own game engine based on top of XNA, and I am just wondering what else I need to make a complete engine. This is what's in the engine: Physics (Farseer Physics) Particle Engine (Mercury Project) 2D Cameras Input…
Khalid Abuhakmeh
  • 10,709
  • 10
  • 52
  • 75
28
votes
3 answers

How to install XNA in Visual Studio 2015 (Preview)

How can I install the templates and the the framework for XNA in Visual Studio 2015? I found this page here that helps installing the XNA framework in Visual Studio 2013, but they do not offer any downloads for Visual Studio 2015. I know that XNA is…
feedc0de
  • 3,646
  • 8
  • 30
  • 55
28
votes
3 answers

Random 2D Tile-Map Generating Algorithm

Can anyone tell me a way to generate island structures or hill structures like in minecraft? I'm just searching for a proper THEORY for that random-shape generating, but it should keep a defined base pattern.. like: islands schould be rounded but…
Ace
  • 1,437
  • 6
  • 28
  • 46
26
votes
2 answers

How do I check if a List contains an object of a certain type? C#

I have a list (called Within), and it contains objects of type GameObject. GameObject is a parent class to many others, including Dog and Ball. I want to make a method that returns true if Within contains any object of type Ball, but I don't know…
Kiloku
  • 553
  • 3
  • 8
  • 18
25
votes
3 answers

Draw Rectangle with XNA

I am working on game. I want to highlight a spot on the screen when something happens. I created a class to do this for me, and found a bit of code to draw the rectangle: static private Texture2D CreateRectangle(int width, int height, Color…
Jess
  • 8,628
  • 6
  • 49
  • 67
23
votes
12 answers

How to slow down or stop key presses in XNA

I've begun writing a game using XNA Framework and have hit some simple problem I do not know how to solve correctly. I'm displaying a menu using Texture2D and using the keyboard (or gamepad) I change the menu item that is selected. My problem is…
tomzx
  • 2,014
  • 6
  • 24
  • 34
23
votes
2 answers

How to make a Texture2D 50% transparent? XNA

I'm using SpriteBatch to draw a Texture2D on the screen and was wondering how I could manipulate the the images opacity? Anyone know the best way in accomplishing this?
Tom
  • 1,187
  • 2
  • 12
  • 21
23
votes
13 answers

Viability of C#/.NET as the new standard game dev platform?

For a long time now C++ has been the dominate game development language. Many AAA quality 3D engines are available to fit any budget. My question is, with the rise of XNA, has C# and the .NET framework been positioned well enough to take over as…
Jason Miesionczek
  • 14,268
  • 17
  • 76
  • 108
23
votes
13 answers

Recommendations needed for good AI references

I've been asked to help out on an XNA project with the AI. I'm not totally new to the concepts (pathfinding, flocking, etc.) but this would be the first "real" code. I'd be very thankful for any resources (links or books); I want to make sure I do…
user1921
23
votes
11 answers

Resources for Windows Phone 7 development

Windows Phone 7 has been unveiled and MS have announced all details of the development chain at the Mix10 conference. So this could be a good starting point/collection of online resources as they appear EDIT: I've removed the speculation tag now…
geocoin
  • 1,281
  • 1
  • 14
  • 30