So, here's what I'm trying to do:
I'm making a game for practice using the GameStateManagement example from creators.xna.com.
The whole of the system is too much to explain here, so experience with the sample is kind of necessary.
The gist of it is that there are multiple game screens that overlay one another. One contains a board, ov...
I will devloping a game using the XNA Studio. The game will not be comercial this is just a freeware game that people will be able to download from the internet. if the game will be freeware do I need to pay money?
...
Hey stackoverflow Community!
I learned the basics of C# (i can write some Form-Applications) and now I want to learn how to write 2d games. I don't know where to start.
Is there a engine that's good for 2d games? After learning the basics of 2d I'll want to write simple games which work under windows and linux (that whould be cool, linux...
I have a source image which contains lots of pictures in a line of a guy in various stages of animation. I loaded paint and found the first man starts at 16 pixels across and 0 down, and has a width of 16 pixels and a height of 16 pixels (There is a black space on the left of the image)
So in my XNA code, I set the source rectangle to 1...
A strange error begans to happen with my XNA project on a new pc.
I have two projects on the solution and a library that is used by both of them. One of the projects, a XNA Game Project, runs perfectly. The other project is a mix of WindowsForm and XNA. The form launches a XNA class when a button is clicked.
When I run the program, it ...
Hi,
I want to test the demo game Racing Game, but after a few seconds it crashs with GamerServicesNotAvailableException. I don't know what I have to do. Game Studio and Games for Windows LIVE is installed, what do I need?
Thank you.
...
The subject speaks for itself.
Does XNA effectively replace Managed DirectX?
We have a few projects using managed DirectX in VB.NET. I was considering porting one over to XNA, but wonder whether it's worth the effort.
Thanks in advance for your time.
...
In DirectX it is possible to set the D3DXSPRITE parameters to be a combination of both:
D3DXSPRITE_SORT_DEPTH_BACKTOFRONT
and
D3DXSPRITE_SORT_TEXTURE
Meaning that sprites are sorted first by their layer depth and then secondly by the texture that they are on. I'm trying to do the same in XNA and i'm having some problems. I've tried...
I have a model with 2 animations, created in Blender and exported to fbx.
Referencing the XNAnimation.dll works, however when I reference the XNAnimationPipline.dll in the Content project I get a build error.
The "BuildContent" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly 'XNAnimationPip...
In XNA, is it acceptable to create a GameService for an object that isn't a GameComponent? I know that a GameService is intended to be a way to access a GameComponent, but what if the object that you're trying to provide access to doesn't need to update on every update cycle? For example, I have a Camera2D object that can calculate a Mat...
Hi Everyone,
I want to do some slightly advanced audio playing using a standard WPF application.
Here is what I need:
ability to smoothly loop
change pitch
play multiple sounds at once
I know the SoundPlayer class in not sufficient because it cannot play multiple sounds at once, so I began looking into the XNA SoundEffect class (an...
Hey guys, I would like to develop a light/laser show editor and simulator, and for this of course I am going to learn some graphics programming. I am thinking about using C# and XNA.
I was just wondering what aspects of graphics programming I should research or focus on given the project I am working on. I am new to graphics programming...
Is there a way to run an xna game from a web page without installing anything? Something similiar to java, silverlight or very close to a wpf browser applications (XBAP).
Scenario:
Go on webpage, Get asked to install
the game. Game installs, game screen
shows up in webpage. Can full screen,
etc.
The game is a full blown xna ...
Ever since I needed to work with PI (3.1415...) in C# I have used Math.PI to get the value. Usually I would just use values like Math.PI/2.0 or 2.0*Math.PI, but now I have just noticed that XNA provides a MathHelper class. The nice thing about this is I can call MathHelper.PiOver2 and MathHelper.TwoPi, thus making an extremely trivial ...
Hi. i am a beginner in 3d graphics thing and learning xna and csharp.
i have 3d object that i want to draw in front of a 2d background,
the 3d object is simple, it is just a line. i made it from 2 dimensional VertexPositionColor[].
and then i drew it with PrimitiveType.LineStrip.
and also i have a Texture2D that i displayed with Spri...
I want to create a 2d game in C# using XNA. There should be stickmen who can wear different weapons like a pistol, a grenade or a rocket launcher. And those stickman also should be able to do other things, like drink a bottle of beer and stuff.. So how do you create and store these animations (drink a bottle of beer, walk, throw a grenad...
hi. i have this code.
this code get executed after a push of button.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using xnaWindow.FormUI;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace xnaWindow.MathClass
{
public class Math_Vector
{
pr...
Hey guys,
I need to display some stats, numbers, and graphs about various game objects on the screen.
(examples: camera position, field of view, frames per second, fill rate, number of objects culled, etc... )
Currently any object which wants to be graphed or displayed implements an interface along these lines:
public interface IGra...
Hello.
Is there a way to get textboxes, labels and other wpf controls in xna that supports margins, etc that flexes for window size?
...
This piece of code has been taken from a game built with XNA framework. I'd like some explanation of how it works in terms of trig and physics.
ball.velocity = new
Vector2((float)Math.Cos(cannon.rotation),
(float)Math.Sin(cannon.rotation));
ball.rotation is the rotation of a sprite in...