Software Development Network Logo
  • Visual Basic
  • Visual FoxPro
  • Smart Devicet
  • Visual C#
  • Game Technologies
  • Visual C++
  • .NET Development
  • Visual Studio
  • SharePoint Products
  • IE Development
  • Audio and Video
  • Microsoft ISV
  • Windows Vista
  • Windows Forms
  • SQL Server

Software Development Network >> Game Technologies

Game Technologies

New Question

Model Position Problem
Screenshot in windowed mode occluded by other windows!
Framework error when trying to start a 360 game project
How do pc users playtest?
Rendering To Textures in Beta2
[MDX] Few problems
Tutorial How to: Render a model error?
DirectInput: encountering flaws with getting MOUSE data
XNA in Internet Explorer?
Image Ghosting & ContentManager questions- BETA 2 issue...

Top Answerers

kalkumar
DanMeyers
William Lowers
kevinwebster83
alien35e
Henk Gijsbert
Zirc
Sworder
Chris Fink
vipulparmar
S3host
Only Title

Answer Questions

  • amitsingh18 day2night

    I wonder if it is possible to activate the day to night feature and if possible how. In the mission fit file you can implement a daytonighttime; for example: f DayToNightTime = 54000.000000 This value is (as it seems) picked up by camera.cpp result = cameraFile->readIdFloat("DayToNightTime",day2NightTransitionTime); I played around withit but can not see any effect in missions. Any idea what the value needs to be, how it can be activated, if it can be acticvated at all MechCommander 2 never ended up using the day transition stuff but the code is still there. There is a function in the base class for the camera (mclib\camera.cpp) called updateDaylight (on line 1135). ...Show All

  • Daveo__ FileNotFoundException

    Running the game get's me: System.IO.FileNotFoundException was unhandled Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)" Source="MySpacewar1" StackTrace: at Spacewar.Program.Main(String[] args) at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.Threa ...Show All

  • MattWilkinson2006 Drawing problems with RenderTarget2D

    Hi, I have problem with drawing Texture2D on RenderTarget2D. If I rendering direct with: Engine.dev.SetRenderTarget(0, Nothing) everything is ok (like on this picture in top: http://www.euroregin.net/heho/problem.jpg ), but while I want to store rendered image on RenderTarget2D and I use: Engine.dev.SetRenderTarget(0, myRenderTarget) and then after rendering: Engine.dev.ResolveRenderTarget(0) Engine.dev.SetRenderTarget(0, Nothing) spriteBatch.Begin(SpriteBlendMode.AlphaBlend) spriteBatch.Draw(myRenderTarget.GetTexture(), New Vector2(0, 0), Graphics.Color.White) spriteBatch.End() Result will look strange like in bottom of picture: http://www.euroregin.net/heho/problem.jpg Why it's happenin ...Show All

  • pablo in the oakgrove FizzVaders - 360/PC Demo With Full Source

    Hello   Not sure of the best place to post this but I thought best to share some code with you all.   It's a simple space invaders game that will run on the PC as well as the 360 - it uses the two projects in one method.  You'll have to excuse the coding, it's the first thing I've written in C#, previously I used C so it's a bit of a jump.  I always go for something simple to begin with.    It runs in 1280x720 and you can switch between windows and fullscreen using alt-enter.    PC will work with a 360 pad (not sure about others as that's the one I tried). There's a co-op mode as well, just hit Start when in game to join in.  PC keys are...    & ...Show All

  • Spyros Prantalos Major Game and GameComponent class refinement ideas

    I've posted some extensive ideas on possible ways the core XNA game components could be refactored to solve some of the common complaints & issues I've seen discussed here. https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=195718&SiteID=226 I'd really like to hear what other people think and perhaps start a bit of usefull discussion here regarding the direction the XNA Game/GameComponent/etc framework is taking. Personally I would like to see all the component "Draw" code refactored into a subsystem with sortable layers (with the consequence of giving up design time support), but I'm curious what other people think. Strange - I just signed in with my different (work) passport account and the link worked fine ...Show All

  • noshy Uninstalling XNA GSE?

    I cannot find how to uninstall the GSE. I've been getting the error you see below whenever I try to start a new game project :-( --------------------------- Microsoft Visual C# 2005 Express Edition --------------------------- Unknown error "-1". --------------------------- OK --------------------------- To uninstall XNA Game Studio Express, goto the Add/Remove Programs found within Control Panel. Just curious: Why are you trying to uninstall if you're trying to create game projects V I think he is going to try a fresh re-installation because he gets the error when he tries to create the project. Do you have .NET 2.0 installed Yes ... JR Nip hit the nail on the head. I'm unsure why the error is occu ...Show All

  • VRATZ Solution for people that can't upgrade directx from 9.0b(or 8.1) to 9.0c {windows xp users}

    This thread is for people in two scenarios: 1) Those that can't upgrade their directx version from 8.1(standard windows xp starting version) 2) and Those that can't upgrade their version from 9.0b to 9.0c. Today is your lucky day! These two solutions largely will work for people who keep trying to upgrade their version of directx and continually get a dialog box appearing, which says, “The components installed are now ready for use.” That being said, these poor unfortunate souls(myself included up until an hour ago), know better, as they check the diagnostic tool and see for themselves the version has not changed and they are stuck in version 8.1 or 9.0b. I spent an accumulative of 6 hours on the phone with Microsoft technical support a ...Show All

  • blanc0 3D Playing Cards ?

    How would I approach a 3D representation of a playing card(s) If using a model, would 52 different models be required so that each card has it's own texture Can user primitives (i.e. 2 triangles to make a card shape) have different textures on each side What would be the best method for this   errolian wrote: If using a model, would 52 different models be required so that each card has it's own texture No you should just need 52 Card instances that use the same Model or vertex / index buffer, see my post above about the textures, just an idea.   errolian wrote: Can user primitives (i.e. 2 triangles to make a card shape) have different textures on each side What would ...Show All

  • Blazing Hornet Rotating a Vector3

    I need to rotate a Vector3 around the X, Y and Z axis, with a different angle at each rotation. Is there a way to do this using matrices, or do I have to calculate the new x,y,z using rotation equations Seems you are looking for something like this: Matrix rotation = Matrix .CreateRotationX(x) * Matrix .CreateRotationX(y) * Matrix .CreateRotationX(z); Vector3 newPos = Vector3 .Transform(pos, rotation); Ah yes I see. Guess I need to brush up on my OOP :p thanks a lot Yeah that's what I need, however, my Vector3 is the Max and Min of a BoundingBox, and most of the properties/methods usually available for the Vector3 class aren't available for them. In fact only the Normalize and Length methods are availab ...Show All

  • Learning VB Will XNA work with .......?

    hey everyone im new to this forums and i just had a quick question but if this question has been already asked then you may lock it. ok my question is i recently downloaded Microsoft Visual C# Express 2005 will this work with XNA / is that the only program i had to download for XNA.. or in other words are there any other software i need to download to use XNA on August 30th or will XNA come with the other programs Thank You very much.. im srry i didnt quiet understand what u meant So the Visual C# express that i downloaded of micrsoft website is good for XNA is is XNA going to come with a different C# express again i'm very srry for asking again i didnt queit understand. Thank you ...Show All

  • Gavin Lilley PSP-like Background

    Hi, im pretty new to the direct-x programming and i really would like to know how i can create something like the psp-background (putting the background image cant be that complicated), i mean, the wave effect. i thought of something like putting small image to a sinus-curve or create some path-deformer ! please help me... (btw. sorry for my bad english) http://upload.wikimedia.org/wikipedia/en/5/51/Xbar1_0003.jpg every "line" simply waves smoothly... hmm i think i need to read something about the vertics(grid)... but thank you for your answer If you create a grid of vertices and apply the texture to that grid. Then you can move the vertices to create a wave effect. It ...Show All

  • austriana Sun to affect a terrain? How?

    Hi. I have an FX code that I wanted to show you (if it helps) to process the light to the terrain. Here is the code: float4x4 WorldViewProjection : WORLDVIEWPROJECTION; texture UserTexture; float4x4 xRot; float4 xLightPos; float4 eye; float4 ambientMaterial; float4 diffuseMaterial; float alpha; float xLightPower; struct VS_OUTPUT { float4 position : POSITION; float2 textureCoordinate : TEXCOORD0; float3 normal : TEXCOORD7; }; sampler textureSampler = sampler_state { Texture = < UserTexture >; magfilter = LINEAR ; mipfilter = LINEAR ; }; struct Pi ...Show All

  • hye_heena Custom GameComponent properties greyed out in designer

    I created a custom game component which represents a sprite and has three properties. private Vector2 position; public Vector2 Position { get { return position; } set { position = value; } } private Color color; public Color Color { get { return color; } set { color = value; } } private string filePath; public string FilePath { get { return filePath; } set { filePath = value; } } The problem is, in designer mode, I can only edit the FilePath. The Color and Position properties are grayed out. picture My guess is that the designer doesn't have access to Vector2 and Color because they arent included in the 'using' statements. What's the best way get this working You can use TypeConverters to add some ...Show All

  • Aaron Sulwer XNA GSE for 360 ? - This Holiday Season ?

    ... Just Checking ... The XNA GSE for the 360 is supposed to be released ... "This Holiday Season" ... Any actual Date Ranges at this Point http://blogs.msdn.com/xna/archive/2006/12/11/xna-game-studio-express-has-been-released.aspx \ Currently GSE is set to release Dec 11th. I haven't heard anything about it. I'm sure they'll post here and the various guys will post on their blogs. There'll probably also be a change to the XNA page (everyone does have that bookmarked, right ! ) Will there be some sort of "Release" Email Sent out Where exactly on XBOX 360 Live Marketplace is the 360 Part of the Download ...Show All

  • Bluehunter Collision detection - Howto

    Hi all, I'm trying to make two objects collide in GSE, actually in a Pong game - between the bat and the ball. I have motion for both, but no collision, the ball just leaves the stage so to speak. Any help would be appreciated. I have looked in the Help, but to no avail. What was the code you used to assign it to a bounding box I feel like a moron because I have been messing with this and am completely missing something somewhere. Thank you so much I like totally didn't think to put the x y locations in for vector locations. Thank you again. so the question remains if you have a sprite on the screen how do you assign the Bounding Box do it Do you need to do a vector that moves with the sprite LIke masked ...Show All

262728293031323334353637383940414243

©2008 Software Development Network

powered by phorum