-
- Shooting
by Ion101
- 1 Replies
- Last post
by Richard Kain
- to make something shoot would this work:
Vector2 bullet
Vector2 player
Bullet = Player;
if(GamePad.GetState(PlayerIndex.One).Button.A == ButtonState.Pressed)
Bullet.X += 5;
if not could you post some code taht would
-
- how do i learn to write games 4 mobile
by Sumit_Dagar_8eba6d
- 2 Replies
- Last post
by dagarsd
- a basic question on how yo start writing codes 4 mobile games
-
- How do you canncel your XNA Creators Club subscription?
by Gary200
- 7 Replies
- Last post
by Tokunbo Opanubi
- Just want to know step by step of where to go so I won't get change other $50 after my 4 months are up. I can't find how to do it on the site.
Thanks!
-
- Anyone else rolling their own numerics?
by Jesse Towner
- 2 Replies
- Last post
by Bill Reiss
- Just wondering how many other people out there are finding that XNA numerical classes/structures fall a little short of their needs and therefore are writing their own For us, we needed to give our scene graph objects a coordinate frame where the rotation, scale, and translation transformation components are kept separate from one another; this is something similar to what is described in the boo
-
- Calculating normals for large mesh with no vertex to triangle info
by Thomas Greenleaf
- 14 Replies
- Last post
by bcristian
- I have a mesh of 100.000 triangles where I need to calculate the normals for the vertices.
The datastructure, I am using, does not point from vertices to triangles, but only the other way arround.
I therefore defined my vertex normals as the sum of the triangles using them, weighted by the triangles size. I simply set all vertex normals to zero and then run through my triangles (when running
-
- How can I directly stop drawing a pixel?
by Imanol
- 10 Replies
- Last post
by Imanol
- Maybe it's a very essential question but...
Which is the statement in the pixel shader to stop drawing a pixel
Stopping it that way would have any negative effect
Thanks
-
- Starting work on my GUI system
by bryanedds
- 14 Replies
- Last post
by bryanedds
- Well, I've hit a wall with my game's development, and since there was no GUI with XNA 1.0, I've decided to go ahead and make my own GUI system. I implemented a lot of mechanics for my game, but I need greater interaction to proceed development in a sane manner.
So far I've just implemented the text drawing stuff from scratch. It uses only monospace fonts generated with BMFontGenerator without u
-
- Camera woes
by TWild
- 14 Replies
- Last post
by Kaisor
- Hi all. I'm having trouble with my camera class. All is well (walking, elevating, strafing) until I pitch up a bit and start yawing. What happens is, as I'm yawing, the camera seems to be rolling in the direction of the yaw on its own. This only happens when I have my camera type set to FPS, where I'm trying to limit to yawing on the world Y axis. The FREE type works as intended and yaws on it's o
-
- Where is the PositionColoredNormal Vertex type in XNA?
by Ceres629
- 4 Replies
- Last post
by Ceres629
- I'm migrating from mdx to xna but I can't seem to find the xna equivalent of the mdx vertex type 'PositionColoredNormal' how do i get this vertex type in XNA I just want a texture-less colored cube with lighting, it seems strange that there is a more complex VertexPositionNormalTexture type, but no VertexPositionNormalColor type... Am I missing something here
-
- Rotation help
by peekb
- 14 Replies
- Last post
by peekb
- I think I'm being dense today, but I can't figure this out for the life of me. I have a model that I want to rotate across the X and Y axis. My issue is that when I rotate across the Y axis, I always want the rotation to occur as if the axis was vertical in terms of world space. If I multiply by my X rotation first, obviously the Y axis moves with it, so rotating about the Y axis will rotate it ab
-
- equivalent to progressive mesh
by Martin Schmidt
- 3 Replies
- Last post
by Jon Watte
- is there something like a progressive mesh supported in xna
-
- XACT with XNA
by AerosolBeard
- 2 Replies
- Last post
by Brian MS
- Hi I recently attempted to use XACT for a 2d game using C++, and i got an error when loading the global settings file, which i never managed to debug and so used a different audio API instead. Now i am coding audio for a 3D game using XNA and C#, the same thing happens when i attempt to load the xgs file. However it throws a much more helpful sounding Exception: "XACT could not load the data
-
- Can I use standard tcp/ip protocol on XBOX360?
by Frank.gogo
- 6 Replies
- Last post
by Jon Watte
- I want to make a mmo card game, and I already have a server, and I want my program running on xbox360 connect my server on a pc server running windows.
Can I use standard tcp/ip
-
- ResourceManagementMode & LoadGraphicsContent
by TheSonny
- 2 Replies
- Last post
by qrli
- Hi. i have question about: void LoadGraphicsContent(bool loadAllContent); what belongs to what group (ResourceManagementMode) i see that Texture have parameter that control it, but where is Effect, Model... is there any list what is automatic and what is manual
-
- Rotating a 2d sprite
by Ggcourtois
- 2 Replies
- Last post
by Ggcourtois
- Hey all,
I would like to know if it is possible to rotate a 2d sprite at a given angle If so, how
thanks alot,
ggcourtois
-
- Private Network Functionality with XNA
by AtomicCreations
- 5 Replies
- Last post
by Jim Perry
- Hey guys, Does anyone know if there will be any networking API included with future released of XNA Im not looking for developing for Live! but for a custom client/server structure. Any insight would greatly be appreciated.
-
- Multiuser games?
by jackline
- 14 Replies
- Last post
by Dodger_
- Just curious... but has anyone used XNA/C# to develop MOG's or even MMOG's
-
- Sprite Blitting question - Wondering if this is still a problem
by Ecrofirt
- 14 Replies
- Last post
by LeeC22
- Hi all, When Beta 1 was out I dove right in and started working on a simple demo that moved a sprite with some alpha transparancy around the screen. The way I had it set up was something like this: -I had a class set up for the sprite that I called Player -The Player had a Vector2 for his screen position. -If the user was pushing the left thumbstick in any direction, the Player class's move functi
-
- 2d resets with nuclex fonts?
by sugrhigh
- 9 Replies
- Last post
by sugrhigh
- I've done the resets from Shawn Hargreaves blog and it's worked in the past, but since i moved over to the nucles font engine these dont work(even in a minimalistic demo setup). The model(s) are still skewed.... anyone have a workaround
-
- Could C# be the future of gaming?
by QuantumMischief
- 14 Replies
- Last post
by DEBRO
- Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream
-
- XNA Quake bin release 2
by PerPixel
- 3 Replies
- Last post
by PerPixel
- New release of my Quake port to XNA. This one as a lot of new features like player walk, weapons (axe and rl), teleports and items. I still don't have help on this so things move slow. http://perpixel.dyndns.org/~guillaume/xna_quake_release_0.02.zip Enjoy!
-
- RocketCommanderXNA Mouse Issue
by Rizzen
- 5 Replies
- Last post
by Drakhain
- I've successfully compiled the RocketCommanderXNA. However, when I run it I cannot click on any menu items. My mouse is moving around the screen but nothing I do allows it to work. I've looked at the source and it looks as if there are hot keys, but those do not work either. Also, whenever I attempt to debug and step through the code, it pukes on a renderTarget line and I can't debug in that fashi
-
- Static properties for nonstatic member variables?
by BeguiledFoil
- 3 Replies
- Last post
by Joel Martinez
- The example space wars game does this, could anyone explain to me (or point me towards a resouce that explains) how this works Do classes that use static property fields for nonstatic member variables only work when there's one instance
Thanks, sorry if this is a stupid question...
-
- Building XACT project has failed error when building Spacewar
by BAZOOKAMEGATRON
- 10 Replies
- Last post
by David Weller - MSFT
- Building XACT project has failed error when building Spacewar Starter Kit i have latest version XNA Game Studio Express, XNA Framework, DirectX SDK any tips thanks =)
-
- multistream rendering problem
by supagu
- 1 Replies
- Last post
by supagu
- im trying to get multi stream rendering working in dx10, i'm just hacking around with the multistream sample ATM. (what ive got in comments is what was there origonally) /*
const D3D10_INPUT_ELEMENT_DESC vertlayout_singleindex[] =
{
{ "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D10_INPUT_PER_VERTEX_DATA, 0 },
{ "NORMAL", 0, DXGI_FORMAT_R32G32B32_FLOAT, 1, 0,