-
- Flash Movie in C# Direct3D game
by Nicky Chung
- 10 Replies
- Last post
by SDH2007
- In VS2005, i need to embed a SWF flash movie in a fullscreen Direct3D 9.0 based game. I have successfully added my swf(which was painful) and played the movie without problem. But, when I tried to switch the display from SWF flash move to Direct3D device. It failed! The followings illustrate the general flow of my problem:
1. load and display the SWF
2. user press space to start game (SWF ge
-
- Differences between Texture2D.FromFile() & Content.Load<Texture2D>
by MashRinx
- 5 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hello,
I'm a new XNA and C# programmer and wondered if someone could explain to me the difference between using Texture2D.FromFile() or Content.Load<Texture2D> to load texture resources into an application Is there a benefit to using one approach over the other I looked into the XNA documentation but couldn't find any documentation the really differnetiated between the two approaches T
-
- DirectX clearing device problem
by Whiplash8
- 11 Replies
- Last post
by Canuck1
- Sorry if this is a dumb question but im a beginner at DirectX development. My game window is drawn and works well (nothing else is drawn at this point). I have no code errors except when I hit the X button on the window I get this: The Code: dGDevice.Clear(ClearFlags.Target, System.Drawing.Color.SlateGray, 1.0f, 0); The Error: System.NullReferenceException was unhandled Message="Object refe
-
- Game Development Team
by McDunkey
- 1 Replies
- Last post
by Glenn Wilson
- Looking to get a few people together to create a Worms / Scorched Earth clone. i have people doing art.
the game will essentially be a physics game. and alot of fun physics related effects
I have coding and problem solving skills, along with audio.
ive been doing Dev now for roughly 3 years in C#. just getting started within the last month or so with XNA.
if you are interested, mail m
-
- 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
-
- 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!
-
- Rants on XNA 1.0
by qrli
- 14 Replies
- Last post
by qrli
- This is my first reaction when I installed and tried the 1.0 of XNA. To summarize my feeling: it's still 95% for XBox and no nearer to replace the old MDX 1.0. So I decided not to migrate from MDX to XNA though I want to do that very much. I feel like MDX 2 more; amen to MDX 2. The hardest issue for me is the content pipeline, which is very necessary, but the workflow is fixed and it assumes the c
-
- 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
-
- Interfaces
by XNA-Mordt
- 8 Replies
- Last post
by jpantuso
- Could anyone point me in the right direction regarding programming c# with interfaces. I've googled up the subject and whilst there are some good tutorials on how to do it, non of them really explain in simple terms why we should or shouldn't. I just can't seem to get my head around how they work properly.
-
- Threading - WaitHandle
by Adam Miles
- 9 Replies
- Last post
by Aaron Leiby
- Hi,
I thought now might be as good a time as any to try and get a grip on Threading in .Net and specifically for the 360. I've been having a a look at the "How to: Use a ThreadPool" article that is linked to at the bottom of the "Thread Pools in the .Net Compact Framework for Xbox 360" article in the XNA Help. The only problem with the example code seems to be that WaitHandl
-
- XNA doomed?
by CacheFriendly
- 14 Replies
- Last post
by CacheFriendly
- XNA may be the greatest thing since sliced bread, but I don't see it getting a lot of support until you make a simple web page that explains what features the XNA framework supports and why I would want to use it. I'm not going to download the thing just to figure out what it is.
-
- Newbie build error with Spacewar?
by cada0310
- 8 Replies
- Last post
by Michael Klucher - MSFT
- Hey there,
I just installed the game studio for XNA and tried to build spacewar, but get this error about the FPU. Any quick tips
Thanks.
Error 1 Building content threw InvalidOperationException: The FPU is set to the wrong precision. The FBX SDK requires double precision to function properly. at Microsoft.Xna.Framework.Content.Pipeline.FbxImporter.ValidateFpuState() at Microsof
-
- Shader states, etc? (HLSL effects not working right)
by Ben Vanik
- 14 Replies
- Last post
by Whorfin
- I'd like to call upon all the shader gurus here for some help :)
I've been experimenting with writing some of my own effects, meaning I'm a HLSL newbie, and have been using NVIDIA's FX Composer to do my work. After producing a cool (albeit simple) effect, I decided to try using it in my little model viewer. The problem is that the way it shows up through XNA is different than the way it shows u
-
- Pay to play a friends game?
by TeXhNoLyZe Wolf
- 2 Replies
- Last post
by TeXhNoLyZe Wolf
- Ok srry if this has been asked or adressed already, I did not see it, so if I DL the launcher on the 360, and a friend of mine has the membership and all that other stuff and makes a game, I have to have a membership as well just to play Because I find it kinda dumb if I have to pay $100 to play a friends game, (If I were not to be making games and such and just wanted to play others games). It se
-
- Ignoring mouse events outside of window / while app is not focused
by bryanedds
- 3 Replies
- Last post
by pitil
- I see that the mouse / keyboard state reflects the state of the mouse / keyboard even when the application is not focused. In a way, this makes perfect sense.
What I'd like to know is what is a good way to make sure my application does not process these events when the app isn't focused or a click happens outside of the app window.
Thanks!
-
- 2D Code slow on 360 but fine on Pc
by DavidSB
- 7 Replies
- Last post
by Brandon Bloom
- Hey I'm fairly new to programming and have created a basic 2D vertical shooter for a university project. Now the code is very dirty and needs alot of optimizing but I am new to all this so not entirely sure how to do it properely. As it stands everything is done in the game1.cs code file. I know this is not how its suppose to be done. The problem is its slow and jerky on my 360 and not on my pc. J
-
- Games within a IE brower
by RichBar
- 14 Replies
- Last post
by Stephen Styrchak - MSFT
- Not real sure if this is a new thread or not, but is it possible to create a game (actually more of a simulation) using the XNA game studio that would run in a browser window Does not necessarily have to actually run from a online web server, just be browser based.
Thanks
-
- Problem with creating a new font object
by saliksyed
- 1 Replies
- Last post
by Canuck1
- I'm trying to display the frames per second on the window So I decided to create an appStatistics object which has several methods that calculate fps, triangles etc.. here is the code for the constructor: appStatistics::appStatistics() { D3DXFONT_DESC font; font.Height = 12; font.Width = 8; font.Weight = 2; font.MipLevels = 0; font.Italic = true; font.CharSet = DEFAULT_CHAR
-
- Primitive design and OOD
by Rtalan
- 2 Replies
- Last post
by Rtalan
- This question did not get any attention when I posted it with other questions so I'll try it again by itself.
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 wh
-
- Use XNA to make a map maker?
by MetaKnight
- 6 Replies
- Last post
by aweiland
- How can I incorporate XNA into a Form so that I can make a map builder rather then make the whole interface inside XNA , I would like to be able to use windows controls. Thank you
-
- Cursor Support
by tportz
- 4 Replies
- Last post
by ProfEclipse
- It seems that the SetCursorProperties method and its related methods have been removed from the GraphicsDevice class. I can't seem to find an implementation of the hardware cursor anywhere else. Do I have to draw my own cursor now I really would prefer to use the hardware cursor, as it doesn't lag like a sprite-based cursor and also keeps the user's desktop cursor settings. Any sug
-
- VC# Express SP1 and Memory Access Violation
by slugonamission
- 0 Replies
- Last post
by slugonamission
- I've just got a couple of questions First, I am running VS 2005 Pro and VC# express on the same machine. I installed VS 2005 SP1 a bit ago, and have just installed SP1 for VC#. For some reason, VC# SP1 shows up under Visual Studio 2005's about box, and not in VC#. Has VC# been patched with SP1 (because it doesn't say anything about SP1 in the about box for it). Is it OK to leave it like this or wi
-
- XNA on IRC
by Michael Ziggy Morton
- 14 Replies
- Last post
by X-Tatic
- Join us on IRC in #XNA on efnet
We are growing a community where people can get real time help on their issues and work on projects together!
Thanks,
Ziggy
-
- Using the gamepad (xbox 360 contoller) to move a 2D sprite
by DeadlyEvilRyu
- 2 Replies
- Last post
by DeadlyEvilRyu
- I am having trouble moving a 2D sprite move I know how to input the button commands like getting the contoller to vibrate, but I can't get my 2D sprites to move can someone help me out.
Thanks in advance.
-
- Game Engine Search
by Computerrock
- 1 Replies
- Last post
by The ZMan
- I am looking at making an RPG game for the PC. I have played many RPG's and so far my favorite is a game called fallout. Would anybody happen to know the game engine used by interplay to make this game