XNA is a game framework by Microsoft that allows deployment for Xbox Live Indie Games as well as Windows Phone 7.

learn more… | top users | synonyms

0
votes
0answers
51 views

Vertical Scrolling In Tile Based XNA Platformer

I'm making a 2D platformer in XNA 4.0. I have created a working tile engine, which works well for my purposes, and Horizontal Scrolling works flawlessly, however I am having great trouble with ...
1
vote
1answer
60 views

XNA Strange Lighting, Shader

Hey guys, i have strange lighting problem. I've written my own "deferred lighting" shader and this happend: Pic: Normal-Map Pic: Light-Map As long as i only use one big mesh everything seems ...
0
votes
2answers
64 views

Why does my ball stay at the end corner of my screen(XNA)? [on hold]

Why does my ball stay at the end corner of my screen. Here is my code: ballmov(Texture2D ballimage, Rectangle paddle, Rectangle ball, Rectangle enemy, SpriteBatch spriteBatch, GraphicsDeviceManager ...
0
votes
1answer
143 views

Collision Issues

When I run the collision code, there are no errors, but when I shoot the enemy nothing happens..... Any problems that are blindingly obvious? Class Level Variables public Model model { get; ...
-1
votes
1answer
58 views

Xna tile map collision

I finally found a tutorial on tile maps and loading them in from a file that I understand (http://circlessuck.blogspot.co.uk/2012/09/xna-tutorial-basic-tile-engine-part-2.html), however the tutorial ...
-4
votes
2answers
113 views

If XNA goes away does that mean C# can't be used to create games? [duplicate]

I read that XNA is going away even though it may be "somewhat" supported. If that goes away, how is game programming to be done on a PC (or for the console)? I did search and found this on SO, ...
0
votes
1answer
66 views

Orbiting a camera around the Y axis whilst remaining up

I've been having difficulty with a problem which I thought was going to be a simple solution. I have a camera facing downwards on a character. The can camera be lowered and when it's lowered it ...
1
vote
1answer
80 views

How to tile multiple procedurally generated textures?

I'm trying to develop a procedural tile generator for a game, mostly for the ground tiles, instead of using "hand-drawn" tiles. To achieve this I'm using Perlin noise and a sine wave with multiple ...
0
votes
1answer
169 views

Architecture for an effect-heavy game

I'm developing a turn-based PvP game in which each player takes turn to either do a basic attack or use one of his predefined spells. There're also some items available to the players. Each skill and ...
0
votes
0answers
44 views

Should I be using Reach or HiDef profile for large spritesheets?

I'm working on a platformer in monogame, that I want to use a large number of sprites for making up items and objects in the background. The main spritesheet I've created is 4095x3734, when I tried ...
-2
votes
0answers
38 views

Can't get normal mapping to work

Whenever I try to draw normal mapping with a shader, I end up just getting a purple model. It completely wipes out the texture, and doesn't even apply the map. The untextured model wouldn't have been ...
-1
votes
0answers
38 views

2D Per pixel collision detection not working

I would like to say sorry in advance for the amount of code I will post, but I can't seem to get my collision detection to work, the player and the objects pass through each other with no effect when ...
0
votes
1answer
87 views

.dat files in 2D Games: Spritesheets vs Individual Images

I've been doing some research and I found that the game RollerCoaster Tycoon uses .dat files to store all the animations/images for each ride. Basically we're talking hundreds of images (per ride ...
0
votes
1answer
74 views

Rotate around the centre of the screen

I want my camera to rotate around the centre of screen and I'm not sure how to achieve that. I have a rotation in the camera but I'm not sure what its rotating around. (I think it might be rotating ...
0
votes
1answer
56 views

XNA & HLSL - rendering a model with its original materials (colors)

I am currently trying to code my own HLSL effect file, in order to render an FBX model I made with Autodesk maya, and to which I have applied some materials (colors). before trying to write an effect ...

1 2 3 4 5 146
15 30 50 per page