Tagged Questions
0
votes
0answers
25 views
Game performs poorly when sideloaded
My game runs smooth when I deploy it to my windows phone directly from Visual Studio 2012 in debugging mode.
But when I sideload/deploy the same .xap file with the Application Deployment Tool, the ...
0
votes
0answers
49 views
Why is my animation getting aborted?
edit: Problem solved, see comments!
I have a class named Animation which handles my animations. The animation class can be called from multiple other classes. For example, the class Player.cs can ...
1
vote
1answer
107 views
Grid-Based 2D Lighting Problems
I am aware this question has been asked before, but unfortunately I am new to the language, so the complicated explanations I've found do not help me in the least.
I need a lighting engine for my ...
1
vote
1answer
32 views
ContentManager in XNA cant find any XML
Im making a game in XNA 4 and this is the first time I'm using the Content loader to initialize a simple class with a XML file, but no matter how many guide I follow, or how simple or complicated is ...
1
vote
2answers
133 views
Physics for moving blocks
I'm working on a 2D game for windows phone where the player moves blocks around to bounce a laser beams.
I need to create some simple physics for moving the blocks.
For the moment I have a simple ...
1
vote
1answer
88 views
How to give a ball a following texture trailing effect
How do I draw copies of the leading texture so that there is a line of the leading ball following behind it? (that don't collide)
So far I have tried to create the effect by placing another graphic 2 ...
0
votes
1answer
42 views
Obtain rectangle indicating 2D world space camera can see
I have a 2D tile based game in XNA, with a moveable camera that can scroll around and zoom.
I'm trying to obtain a rectangle which indicates the area, in world space, that my camera is looking at, so ...
0
votes
0answers
74 views
Diamond Isometric Tile Picking C# Xna
I recently converted the display style of a isometric map from staggered to diamond and I can't figure out the tile picking process.
I'm well aware of the other existing threads regarding this subject ...
0
votes
1answer
72 views
Stacking items, c# XNA: When item reaches maximum stack, new items added are also maximum stack
haven't used this site before so I'm sorry if I format my post badly.
I am trying to build a stackable inventory for my game in c# XNA and the problem I've encountered is when an item in my inventory ...
0
votes
2answers
81 views
XNA C# Making the game scaleable for different resolutions [closed]
I am currently developing a game in C# and XNA, and I want it to look right at all resolutions. How would I get started with doing that?
0
votes
1answer
70 views
Changing enum in a different class for screen
I'm trying to make a start menu for my game and my code uses Enum's to moniter the screen state.
Now i want to change the screenstate declared in the main class, in my Background class
Screen screen ...
-3
votes
0answers
46 views
Larger scale chunking
I was able to cull whole cubes in my chunk class, so my next step is creating a larger map with a grayscale image, and then take groups of 20x20 cubes and store them into chunks. The chunks will then ...
1
vote
1answer
131 views
Correct rotation with Quaternion
I have some problems with a rotating marble.
I've tried it with Matrix.CreateFromYawPitchRoll and Matrix.CreateRotation but there were some problems, I think it's due to the Gimbal lock effect.
So, ...
-1
votes
1answer
107 views
How do I make a health bar that drains when the player takes damage? C#/XNA
I've drawn a Health Bar before and had it drain/refill on a button press using if statements and rectangles.
First I loaded the image, then I set a new rectangle to be equal to the image's height and ...
-1
votes
0answers
62 views
2d platformer Tiles collision
I have a problem with detecting collision between my player and the tiles that makes the map. I have been looking all day for a solution but I can't seem to find one that suits my needs.
Here is how ...