-
- Local 2d rotation to 3d world rotation?
by netshade
- 3 Replies
- Last post
by Kyle_W
- Hey all - just another noob question :-) I've got a local 2d rotation in radians that's converted to a 3d rotation matrix via: Matrix.CreateRotationZ(localRadianAngle); When I take that resultant Matrix and multiply it against the translated position matrix and apply it to my BasicEffect 's world property, my drawn object behaves and moves very oddly - I know the angle and position are correct, bu
-
- XNA content pipeline importer questions
by pic
- 4 Replies
- Last post
by Pocketmnky
- Hi,
I am new to XNA and C# as well. I am using the code from here ( http://andyq.no-ip.com/blog/ p=16 ) to get a bounding box information. However it crashes at when I do the following ->
box = ( BoundingBox )myModel.Tag;
I have added the custom importer dll to the properties tab under the content pipeline tab. I cant figure out why its giving this error saying object reference not set
-
- Using Loaded Model With Custom Effect
by Nick Gravelyn
- 7 Replies
- Last post
by Nick Gravelyn
- I have loaded a simple sphere into my game using the standard content.Load<Model> approach. I also have an effect that I loaded using content.Load<Effect>. How can I render my model with this effect as opposed to the effects built into the model without having to write a content processor
-
- Ann: A "Proper" Text Rendering Component
by Cygon4
- 14 Replies
- Last post
by Cygon4
- Hi! I'm just in the process of writing a proper text rendering component for XNA. It fully integrates into the content pipeline and can import any TrueType font during compile time. Just like any other XNA framework content, an .xnb file is generated from the font which can at runtime be loaded by XNA's ContentManager, eg. BitmapFont myFont = this .content.load< BitmapFont >( "Conten
-
- How do I make a certain ModelMesh invisible at runtime?
by Pocketmnky
- 2 Replies
- Last post
by R. Egas
- Is there a way that I can change the visibility of a particular modelmesh or modelmeshpart at runtime My art assets have collision walls in them added by the artist. I can remove them during the build processors, but I'd like to leave them in so I could optionally draw them for debugging.
Is there any way that I can do this
-
- By the numbers - why so big?
by r2d2-proton
- 14 Replies
- Last post
by Lima Beans
- My content, using JPG's, is roughly 14.4 MB.
However, the XNB version is roughly 515 MB.
About 38 times bigger than the original.
Is this normal What steps do I need to take to reduce the size of this
I'm just begining with my development but if I can't augment this behavior of the Framework I'll have to serverly strip down my game.
Maybe, I'll have to replace Content<T> altog
-
- The Unofficial "Hooray I'm Done With my DBP Game" Thread
by Bill Reiss
- 14 Replies
- Last post
by Handkor
- When you get done with you game and sumbit it, crow about it here.
A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college
Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits.
Bill
-
- Dream Build Play Contest Question - Using languages other than C#
by soulmate75
- 14 Replies
- Last post
by r2d2-proton
- I've managed to use Chrome ( www.remobjects.com ) to create some small XNA demos that use the content from SpaceWars. The rules do not mention whether non C# langauges are allowed to enter the contest. Since there are several .NET 2.0 compatible compilers out there shouldn't this contest allow these entries as well as they can use both the Windows and XBox 360 XNA assemblies. Just to clarify, I ha
-
- skid marks
by Martin Schmidt
- 3 Replies
- Last post
by Leaf.
- I'm writing a little car game. now i want to realize skid marks when a car stops or when a car is sliding. does anybody know how skid marks are realized in professional games thx a lot!
-
- Unable to render mesh
by VincentITA
- 13 Replies
- Last post
by BLANC Guillaume
- Hello there, guys! I've a little problem with Direct3D9. I'm following a book written by Jim Adams, called "Advanced Animation with DirectX" This book show you how to extend the classes D3DXMESHCONTAINER and D3DXFRAME, and using them to render meshes. Now i'm trying a my example, that you can see here http://phpfi.com/182098 But there are some problems: At first, the mesh is not rendered, i've try
-
- Help What do I need to download so I can connect to my 360 for XNA?
by Deuce BOI
- 14 Replies
- Last post
by Stephen Styrchak - MSFT
- What do I need to download so I can connect to my 360 for XNA Do I need to download windows media connect
-
- A struct / types what ever you call em in C#!
by Soapo
- 4 Replies
- Last post
by Jim Perry
- I am creating a space shooter game. So far you have a ship that moves, and a Scrolling bg. Exciting Isn¡¯t it.
I used to program in blitz basic and they had a thing called a type that could create multiple objects with multiple similar variables. Like if I were to create 20 alien ships with there own x positions and speed, witch I gave each a random value. Each LV I would add 5 more aliens to th
-
- Terrain?
by svxtc
- 7 Replies
- Last post
by Fluxtah
- Anyone know a good way to make dynamic terrain and quickly at that I can read a black and white image file and read the grayscale and calculate a heightmap but it doesn't seem efficient to me or easily changable (if thats a word). :)
Any help is always appreciated.
Thanks!
-
- xact xna 3d audio?
by AerosolBeard
- 5 Replies
- Last post
by AerosolBeard
- Hi
Can someone tell me how to create 3d positional sounds using xact with xna I cant find anything in the reference and documentation for xna. Thanks
-
- XNA's use of Collections
by Aaron Leiby
- 14 Replies
- Last post
by Aaron Leiby
- XNA uses Collections for a lot of things: ModelMeshCollection, ModelEffectCollection, EffectPassCollection, ModelMeshPartCollection, etc. which results in a lot of foreach iteration in code. I recently discovered the CLR Profiler and started poking around. It appears that using foreach on these Collections results in creation of SZArrayHelper and Enumerator helper objects. Most other systems are d
-
- Post-Processing Shaders and Layers?
by AlfonsAberg
- 5 Replies
- Last post
by Jeff Weber
- I want to create 2D sprite scenes in GSE the way you work with layers in Photoshop. This is an example of a scenario of what I would like to achieve: Say, I have 2 layers of background and 1 layer of foreground. The first background layer is a sky with a sun. I want to blur this layer with a PixelShader. The second background layer is trees. This layer I also want to blur, but not as much as the l
-
- How can I reveal the mouse pointer in my XNA application?
by Jim Blackler
- 2 Replies
- Last post
by Jim Blackler
- This worked in the previous version of XNA that I had ... Mouse.IsCaptured = true That symbol is no longer defined.
-
- DemoShield (autorun) on Vista
by Jandor
- 7 Replies
- Last post
by Jandor
- Hello,
I'm using DemoShield 7.5 from Macrovision which is a product that is no longer sold. It's therefore probably my last DemoShield autorun. However, I have a problem with it on Vista.
Vista complains that the publisher (of the executable, demo32 in this case) is not recognized and prompts an ugly warning whenever the disc menu launches.
What is the problem (and more importantly, the s
-
- Collaborative Dream Build Play Entry
by Greytone
- 1 Replies
- Last post
by George Clingerman
- (I am not sure if this is the correct forum to ask)
My question is regarding the Dream Build Play competition. A friend and I would like to submit a collaborative entry. The rules on the website seem to indicate this can be done provided the rights of the entry are signed to the individual submitting the entry. Am I correct in my interpretation of the rules
Can anyone clarify the
-
- XAP File Layout ... Dates
by Joel Martinez
- 2 Replies
- Last post
by Joel Martinez
- So I was wondering if someone could help me understand something about the .xap file format. I've found the documentation ... pretty handy stuff: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/XACT_xap_sections_global_settings.asp edit: seems this link has gone 404 ... any word on where this documentation went However, one of the fields "Last Modified High", which is
-
- 2D Pixel Perfect Collision
by Spyrrho
- 10 Replies
- Last post
by parlance
- Anyone know of any good resources for learning how to do pixel perfect collision on sprites which takes rotation and scaling into account
-
- Game deployment on Windows XP?
by pjohnsen
- 3 Replies
- Last post
by Jim Perry
- Hi, I'm currently developing using Java, OpenGL and Collada, but considering trying XNA. However I have been unable to find info on what is needed to deploy a XNA game on Windows XP. I gather the user needs .NET 2.0, DirectX 9.0c and XNA itself. Does anyone know how cumbersome it is to deploy these (both for me the developer and for the enduser). Is it possible to make an installer containing all
-
- Using Bitmap/JPG textures with a Z-buffer
by r3n
- 2 Replies
- Last post
by Jack Hoxley
- Before I started using a Z-buffer, I was able to render Jpeg and Bitmaps as textures; instead of using TGAs.
Using a 16-bit depth buffer, the bmp and jpg textures appear as vertical strips (hard to descrive) and some of the tga textured materials appear a little jagged round the edges.
However, using a 24-bit buffer, the tga textured materials appear nice and smooth... but, the jpg
-
- "BackSpace War" Download !
by ECHS BACHS
- 2 Replies
- Last post
by ECHS BACHS
- "BackSpace War" for the XBOX 360 ...
This War Takes Place in an Alternate "Negative" Universe ...
Download and See ScreenShots at ...
http://games.archor.com
This is My First Entry for the "Dream, Build, Play" Site ... Visit http://www.dreambuildplay.com for More Info...
-
- D3D Mobile Sample problems
by alcabo
- 1 Replies
- Last post
by The ZMan
- Hi!
I'm testing on my Dell Axim X51v the Managed D3D Mobile samples available at http://msdn2.microsoft.com/en-us/library/ms181014.aspx
In the Matrices sample, which show a triangle rotating over its y-axis, I've observed that the triangle gets frozen for a very short time (but enough to be noticeable). This inconvenient effect happens repeatly, but not regularly.
I think this example is