Answer Questions
I am Mats Tutorials
Hello i just download The XNA THingy and i was wondering is there any tutorials for this Cna it make sudoku games I have been looking everywhere to find how to make a sudoku game for like 3 months and the coding 4 fun thing was a little to complicated! Thanks Ok... Do you have to draw the sprites cause im not really a good artist, is there anyway that it makes 3d games so i dont have to draw them Basically im asking is there anyway i can get around drawing the charecters and so forth If you go into C# Express -> help -> Contents Help program opens expand: XNA -> XNA Game Studio Express -> Getting Started with XNA Click "Your First XNA Game" Follow ...Show All
MgManoj 1.) Lock/Unlock vs. SetData/GetData and 2.) predefined vertex formats
Two points spring currently to my mind. Is there any reason besides simplicity not to use the common Lock/Unlock mechanics I would prefer the addition of this to the API. GetData/SetData canthe simply be mapped onto this. I have a large terrain, that I tesselate into the locked buffer directly... With this new scheme I have to build a temporary array and then copy over via SetData, same with textures. On the other hand, if we have to live with this, why do we have the managed pool anymore, kind of pointless! The other thing are the predefined vertex formats... Any reason to not expose the members directly and use setters and getters instead I don't see the point here too, this just forces us to create one intermediate result and copy oper ...Show All
Chicomaravilha Toon shader question
i have trouble by this question few days i use a 32*1 texture,it contains four luminance /////////////////////////////////////////////////// LPDIRECT3DTEXTURE9 g_pTexture = NULL; if( FAILED( D3DXCreateTextureFromFile( g_pd3dDevice, "Toon.bmp", &g_pTexture) ) ) { if( FAILED(D3DXCreateTextureFromFile( g_pd3dDevice, "..\\Toon.bmp", &g_pTexture) ) ) { MessageBox(NULL, "Could not find Toon.bmp", "tiger.bmp", MB_OK); return E_FAIL; } } /////////////////////////////////////////////////// then i set the effect g_pEffect->SetTexture("Toon",g_pTexture); in the fx files (the while below) //////////////////////////////////////////////////// texture Toon; ///// ...Show All
Han Qiao XACT Audio / Minor Rant
<minor-rant> Can you please, *please* consider supporting a more low level way to play sounds than XACT. The Microsoft Cross Platform Audio Creation Tool (XACT) is a pain to use. I mean seriously how many devs do you have budget for to maintain this so called "IDE" It might be okay for professional game studios but I don't think it's that simple for the XNA GS crowd. Then again having looked in the XACT forum it doesn't look like a lot of professional studios are using it either. So then you have to ask why are we having it forced on us since this audio content creation tool has so far fallen on deaf ears ;). Perhaps it's a secret plot to get the XACT folk to make it better in future perhaps (hmm bite my tongue) A ...Show All
smogit how to get input from various keyboards with directinput
First sorry for my bad english... I want to get input from various USB keyboard, and I need to know from which keyboard I get the keystroke, I prove the directinput objects in VB 2005. This are the code that I use in the declaration section (in this case I use 2 USB Keyboard) Implements DirectXEvent8 Private MiDirectX As New DirectX8 Private MiDirectInput As DirectInput8 'the object to my first keyboard Private diDev As DirectInputDevice8 'the object to my second keyboard Private diDev2 As DirectInputDevice8 ' Private keyState As DIKEYBOARDSTATE Private keyState2 As DIKEYBOARDSTATE Private ManejaEvento As Long Private ManejaEvento2 As Long ------------- ...Show All
Demix Sprite Doesn't Animate
Alrighty, here we go again with another problem. I used to use a simple sprite sheet, but in recent days I have found I need to add some more functionality. My previous spritesheet class would load a sheet which had all frames have the same height and width. They were laid out horizontally, and the height and width were hardcoded. It worked, but I wanted to make a sprite sheet loader that could load and animate any sprite sheet, provided there was an XML document to explain where to look on the sheet. Thus, the actual frames can be anywhere on the sheet, in any order, just so long as the XML file is correct. So, I wrote that class. Now, come time to test it, the animation part of it doesn't work. Hard coding a frame to use shows that ...Show All
Dhivya.S .NET Compact Framework and XNA
I heard that the xbox 360 will support a framework similar to the .NET compact framework. How do I filter the .NET Framework in XNA Game Studio Express so that only modules in the .NET Compact Framework show up with intellisense/etc show up I like to extend/rephrase this question to: Are the BCL difference between XBox and PC public So far we know that the XBox framework is based on the Compact Framework without the the System.WinForms and System.Web/System.Net stuff (and I presume System.Data is not there, either). But what additional namespaces/classes are removed How much of System.Reflection (the CF does not include the Reflection.Emit namespace) and System.Xml is supported ...Show All
thukralz Splitscreen
I'm just wondering how one would go about setting up a splitscreen game. I'm brand new to XNA but I've been reading up a bunch of stuff. I'm just curious. Yes viewports can overlap but it’s not recommended. The “normal” way to make something like this is called render to texture. You need to create a texture with the usage flag render target in the default pool Then during your render method you can set the highest surface level (0) as Target to the device. After you are done with your texture you have to set the back buffer as render target again. (stored after device creation; Reset) Now you can use the texture like any other texture. There's no reason why you should overlap viewports ...Show All
George2 Generating More Random Numbers
I'm currently using the following code to generate a random number between 0 and 6: Random random = new Random(); int rand = random.Next(6); It seems to repeat some numbers quite frequently though. What I'm wanting to know is if there's a better way to generate random numbers that seems more... random The Random.Next methods maxValue parameter is exclusive, so you are only generating random numbers from 0 to 5. If you want 0 to 6 you have to pass in 7. Also, if you are only generating numbers from 0-5, then you can hardly be surprised that the same numbers repeat alot. You should even expect them to repeat the same number consecutively frequently (about 17% of the time). If you just want to ...Show All
Stefander kW X-porter is updated for 3ds Max 9
I have finally had time to build and test the kW X-porter plug-in to export .X files from 3ds Max 9. This exporter does better than the DirectX SDK exporter (like, it actually does multiple animations), and has a few more bells and whistles than the PandaSoft exporter. Also, with 3ds max 9, the stock IGame.dll file is not overwritten, as the right version is included from Autodesk. http://www.mindcontrol.org/~hplus/graphics/kwxport.html Note: most users claim kW works fine for them, and some users get crashes. I can look at the crashes and fix them if I get a copy of the .max file. The e-mail for questions is found in the installed documentation. I guess you are blind :-) The download links are the bold words that say what they ar ...Show All
S10n Min. Requirements to PLAY
hi, sorry if this is explained somewhere and i just can't find it... i can see the min. requirements to *develop* the games, but what are the min. requirements to *play* the games we develop i can't get my game to run on any machine but my own. either .net isn't there (and *won't* install either), or they're not running WinXP. it seems like getting our games out there isn't very easy. the funny thing is, my PC doesn't support XNA completely -- i can only draw sprites, no 3D stuff -- so i made a simple game that's only using sprites. that means even something this simple isn't running on any machine but mine ! it's going to be hard to generate interest in our games if noone else can play them... finally, shouldn't the "r ...Show All
bud1024 Download Issues
First off, I'm sorry if this is in the wrong forum, but I can't find another one that suits it better. Anyway... I can't download this file, or anything from download.microsoft.com for that matter. I've had this problem in the past, but it is now coming back to haunt me. I'm considering just having a friend burn the express edition to CD for me, but that wouldn't fix the problem, would it Just to let you know, I've done some checking, and it's not an IPv6 or proxy error. My connection is just acting like the server doesn't exist at all. Does anyone have an idea for a fix (I'm using Firefox 2.0, but IE isn't working either.) 20 views, no replies. I await your consuls patiently. This has happened to me also on an old computer. ...Show All
Mindy Riddick Where do I find my Xbox 360's Connection Key?
Where can the Connection Key be found on my Xbox 360 to get it to connect with XNA Right now, my knowledge is slim to none, but i'm a very fast learner! When I was first introduced HTML, I was like "you're kidding, right that's what all the fuss is about its all just brackets... " and although I never really pushed onward in the language, the concept of it was quite simple to me. Now, I see the potential of what C# is capable of, and I got some eBook tutorials (right now i've been reading at this site for a few hours now) and so far everything i've read is making perfect sense. I have put aside a 2-3 hours a day to learn C#, and hopefully I will be able to invest a chunk of Sunday into m ...Show All
kinpin9 How much of a 3D engine will be included in the XNA Framework?
In the DX samples there are the samples framework. Will that be built upon or will there be a separate 3D engine included or downloadable - What I am looking for is some kind of scene graph - Lighting and materials - Shader loader, constant setter etc. I am guessing since Torque are releasing their engine for this we will not see a full featured engine included but will there be an embryo that is more than the DX sample framework Regards Joachim User content isn't something we've spent a lot of time thinking about yet, so this is all off the top of my head, but I don't see any immediate reason why that shouldn't be doable. You'd probably want to package up the build operation in some ...Show All
Derek Dowle Managed vs Unmanaged, Primitive design and .NET
I actually have three separate questions here. Please bear with me. Managed vs Unmanaged I searched several post and didn't find the answer I was looking for. Simply put, if you are designing a 3D game engine that needs to push 30+ frames a second, would you even consider using a managed language It seems to me that when the garbage collector kicks in your frame rate will/may plummet. What is the concensus on using managed vs unmanaged code in a game engine Primitive Design I have built a rudimentary 3D engine using good OOD where the primitives (points, polygons, lines, etc.) provide methods for their management and transformations. If I have a model with 100,000 points, each point carries the overhead of the virtual function table and ...Show All
