2
votes
1answer
127 views

C# - XNA - Making a Modular Screen / State Manager

I'm not entirely sure how to ask this question since its somewhat broad, but also a bit specific to my code. I'm making a game in C# XNA and attempting to have the parts of it be fairly modular so ...
0
votes
0answers
102 views

Screen space to world space revisited

I am revisiting some code that I thought I understood, but have found that I do not quite understand it. I put together a test to see what was going on. Here's the code: [Fact] public void wtf() { ...
7
votes
2answers
424 views

How do I make Windows store recognize multiple resolutions?

I'm currently developing a XNA Game for Windows phone 8, it works with every emulator resolution (WXGA, WVGA, 720p). However, when I upload the XAP to the Windows phone store it tells me that only ...
1
vote
1answer
420 views

XNA 2D game fullscreen issue

Hello! I am creating a 2D farming game using XNA - just today I have tried applying full screen to it, and I realized I failed badly with something. It cuts off a bit of the lower part [item hotbat ...
1
vote
1answer
137 views

Finding furthermost point in game world

I am attempting to find the furthermost point in my game world given the player's current location and a normalized direction vector in screen space. My current algorithm is: convert player world ...
10
votes
1answer
2k views

Screen space to world space

I am writing a 2D game where my game world has x axis running left to right, y axis running top to bottom, and z axis out of the screen: Whilst my game world is top-down, the game is rendered on a ...
5
votes
3answers
410 views

How can I calculate where my camera can be to avoid showing something outside a region?

I have a landscape model, which goes from the coordinate -45, -45 to 90, 90. The edge of the model just cuts off and i would like to somehow stop the screen from ever passing these points. Basically ...
6
votes
3answers
947 views

How should the actual game interface with the menu system

I'm using the Game State Management (GSM) concept in my prototype and I like it very much. One of the screen has a "Game" embeded in it, where all the "good stuff" happens. The menu launching the game ...
5
votes
2answers
4k views

Making sense of the Game State manager tutorial?

I have come across the Game State Managemnet tutorial at http://create.msdn.com/en-US/education/catalog/sample/game_state_management because I thought this would be a good place to start a game off. ...