xna

Is it somehow possible to read a .rar or a .zip file inside the windows phone 7? How?

I'm trying to create a Windows Phone 7 application, using either Silverlight or XNA, but I can't figure out how to do such thing, that would be part of the idea of the app. If it is not possible, is there any kind of format that does something similar to that? Thanks in advance! ...

"Press Enter to start the game" XNA INTRO SCREEN

Hi, I created an introscreen with "Press Enter to start the game",(and exit) ofcourse exit is no problem but to let the game start its a bit harder. Any advice? ...

XNA SpriteBatch Draw Extension Method throws ArrayTypeMismatchException

Hi, I am working on an Animation class for XNA. I decided to try using extension methods for SpriteBatch to add Draw methods that can draw an AnimatedSprite. AnimatedSprite contains a list of Sprite objects, and a Sprite object has a Texture2D image. I created a static Extensions class that contains different overloads of the Draw metho...

Need a Clean Example of a TileMap in XNA

A few friends and myself have been working on an XNA RPG once a week for the last year. Our battle engine is basically finished, and now we're working on overworld exploration. I've already created crude Tile and TileMap objects that work in this way: Simple 2D array of integer values representing tile (Texture2D) objects in a List Us...

WPF vs XNA for a slots game development ??? What to use ?

I want to develop Video slots Game (Vegas style casino slots) where - Various skins can be changed easily to give slots game a different look/feel to user - Game is playable on computer with Win 7 (Xbox/Zune/Linux is not the target platform) - client/server application where new skin on all clients can be installed from server ...

Compatibility problem with XNA

I have a game in development in XNA 4.0 + Windows 7. On the Windows 7 OS the game runs with no problem but when I move the project on Win XP with .Net 4.0 installed the game doesn't work. What can be the problem? ...

Two Classes Dependent On Each Other

I have Camera class, which handles camera behavior. Among it's fields is a reference to the target's Cube class (Cube is just one of the object, but I won't mention others to keep it simple). In order to calculate the View matrix, I need the camera's position and target's position, so I can explain to my program that: "the camera is plac...

Can an XNA Game use IsolatedStorageSettings for WP7?

I've been trying to port some Windows Phone 7 code between Silverlight to XNA which relies on IsolatedStorageSettings but I can't get Visual Studio to resolve it. When I have a look at what Intellisense is resolving under System.IO.IsolatedStorage & it lists IsolatedStorageFile, IsolatedStorageException & IsolatedStorageStream. The docu...

C# XNA Simulate Gravity

I have a question regarding using primitive shapes and simulating a circle to be free falling. How would I go about this? Do I use the formula for gravity? ...

XNA 4.0 free e-books

Does anybody know some XNA 4.0 papers. I'm interested in e-books and other documents/papers. Preferably free.... Non-common websites are also welcome :) (Not returned from google search) ...

C# XNA Ball Moving

I have the ball in the very right bottom side. When I click somewhere, I want to be able to figure out the direction I clicked and once the user starts to drag, I will calculate the distance. Once the user lets go of the mouse, I want to give the ball some velocity and have it move towards the direction it was first clicked. I don't kn...

C# XNA Making the object stay within the bounds

I currently have a method that checks to see if I go out of bounds either from either the top/bottom/sides. The object itself is a ball, and I have a question about getting the ball bouncing off the edges correctly? How do I go about this? // The behavior is not quite what I want. if ( InsideOfBounds ) { Vector3 mCenter = Ball.g...

Question regarding Vector3.normalize();

After reading google, I still don't quite understand what this does/means? Could someone explain this? Possibly a simple example? Thank you very much. ...

Real-time alterations to XML to change the particle effect

I am currently writing a Particle System using XNA. What I'd like to do is use an external file (XML for example) and be able to modify this file, whilst the application is running, and once saved, the changes will be reflected in the Particle System. My original proposal: Use a FileWatcher (can't remember the exact class name) to moni...

MediaPlayer.Play(song) - can't be called twice with the same song?

this is what i have: MediaPlayer.Play(DataFile.AllMusicTitles[0].SongFile); System.Threading.Thread.Sleep(3000); MediaPlayer.Play(DataFile.AllMusicTitles[1].SongFile); System.Threading.Thread.Sleep(3000); MediaPlayer.Play(DataFile.AllMusicTitles[0].SongFile); play s0, sleep, play s1, sleep, then play s0, then 2nd time i pla...

Which version of Visual Studio do I use to develop Xbox 360 Indie Games with XNA? (App Hub)

I already had C# Express 2010 since I've worked with Windows Forms some, but I wanted to started messing around with games for 360. When I went here to download the free tool kit including XNA: http://create.msdn.com/en-us/home/getting_started the install came with Visual Studio C# Express 2010 for Windows Phone 7. They seem to be labe...

How do you get the name of SignedInGamers on WP7 with XNA?

Is it possible to get the SignedInGamers name on WP7 like you do with the XBOX? I've tried testing it with: SignedInGamer gamer = Gamer.SignedInGamers[0]; gamer.DisplayName; But have only received a null value for the gamer object on the phone. Thanks Sebastian ...

PInvoke Libraries when the lib is not accessible

I have a library that contains a class that references dwm. If this library is use in an XP system but the class is not used, would this cause an error? Supposed this library was to be used on WP7 or XNA? Would this cause an error? ...

can't find references Microsoft.DirectX.AudioVideoPlayback and Microsoft.DirectX

Hello ! I've installed .net 4.0 as well as XNA 4.0 . A while ago i used Microsoft.DirectX to play some music and now when i try to redo the work, i can't find the reference . Did the new changes on the platform modify or moved something in the references ? Regards, Alexandru Badescu ...

Problem with different version of pixelshader and vertexshader for spritebatch

I have tried to compile some pixel shader examples. But all of them give the same error message. "Cannot mix shader model 3.0 with earlier shader models. If either the vertex shader or pixel shader is compiled as 3.0, they must both be." The problem seems to be that the pixel shader uses ps_3_0 and sprite batch has earlier version. te...