-
- 2d collison floor detection
by CandyMan
- 4 Replies
- Last post
by hpjchobbes
- Hi. My problem is I'm trying to get a rectangle.Bottom to collide with a rectangle.Top. I can't figure out how to make this happen. Here is the code I am using.
if (p1Rectangle.Bottom > blockRectangle.Top)
{
p1Postion.Y -= 10f;
}
Here the p1position is a vector2 for my player1 figure. I move the figure around and what I want to happen is when the player lands on the blo
-
- how to debug shaders?
by yln
- 1 Replies
- Last post
by The ZMan
- hi all
i tried everything given in directx documentation to debug shaders
But visual studio is not showing the break point hit. morever it is saying" This type of code (DirectX code) is unable to debug please reinstall ur debugger".
iam using visual studio 2005 with sp1 and directX latest
what is the problem can any one tell me
and one more is "Start with direct3d
-
- Creators.xna.com gamertag question
by Catalin Zima
- 7 Replies
- Last post
by NickMcCrea
- Hi!
I have a question. I currently don't have an xbox, and even when I get one, it will not be officially supported in my country for a while.
My question is: how can I acces the creators.xna.com forums in this situation. They require a gamertag. When creating a gamertag, I need to specify a xbox silver account, and I can't do that, since I don't have one, and can't create one without living
-
- XNA + Standard Dialogs
by acemuzzy
- 4 Replies
- Last post
by acemuzzy
- Hi, Thanks in advance for any help. Sorry if it's a silly question - though I have done a quick search of the forums and found nothing. I'm aware that, because of the way XNA uses the graphics device, standard windows buttons etc. can't be used in the main game window. So I wrote a quick form to show some diagnostics / settings outside of the main window. All OK. I now want that form to have a 'sa
-
- Need a PDA or Hendheld with hardware support for Mobile Direct3D
by dodo502b
- 3 Replies
- Last post
by Alexey Barkovoy
- Hi there,
i found in the .NET Compact Framework 2.0 the Microsoft.WindowsMobile.DirectX Assembly. A quik review to the sdk i made a simple 3D application for a Windows Mobile 2005 pda. I can test this with the emulator of the Visual Studio .NET 2005 IDE, but on my Windows Mobile 2003 SE with installed .NET 2.0 i get an exception by the DirectX Assembly.
Where in hell i can get a Pocket PC, P
-
- Creating a Menu in 3D, Modify Vertexes & Textures
by nigliazzo
- 2 Replies
- Last post
by nigliazzo
- hi there!
i'm new in game programming (begun 2 months ago) and, after having
created the basis for a Turn-based strategy game i've encountered major
problems in calculating line of sight and range of view for my
characters. I've also had problem with a map editor then i've decided
to move to XNA. Now i've more complicated problems :)
1: i've just created a 3D map editor. A 40x40 tile
-
- Render Target For Effects.
by SouLDragooN
- 4 Replies
- Last post
by SouLDragooN
- I am having a problem here. In PC development I love the availablity of
StretchRect. You can render an entire scene at a high resolution then
stretch it to a low res map to create all sort of fun effects. The
problem is XNA does not support stretch rect ... so then is the only
option to:
A. Render the whole scene to a render target and use it to create lower render targets for use in ef
-
- Riemers.net -- 4th Series finished: Final screenshots
by riemerg
- 14 Replies
- Last post
by Quantum Vector
- Hi all --
I've been working on a 4th Series of XNA Tutorials, which deals with
advanced terrain rendering. This series is completely new; it is not a
translation of one of my MDX series. The graphical part of the series
has been finished, so you can already have a look at some screenshots:
XNA Tutorials Series 4: Advanced terrain
You can expect the first chapters somewhere next week. I
-
- Normal/bump maps in XNA?
by Lingonsylt
- 4 Replies
- Last post
by Thomas Goal
- Hi I'm a 3D-artist and I'm checking out XNA. I managed to import a model made in maya and apply a texture but now I wonder if there is support for normal maps in xna. I know all about normal maps and how they work and how to create them, so I would be grateful if someone could point me in the right direction on how to import and apply them to models in xna. I did search for normal/bump-maps here
-
- Need some basic information - i.e. help. :-)
by SknkWrkngGrp
- 4 Replies
- Last post
by The ZMan
- We are looking at performing some work for the Army using this XNA technology. Before we jump in with both feet, we were wondering if someone could answers some questions:
1) Can we perform complex motion such as a person walking
1a) Can it be automated such as bi-ped motion
2) Can math equations be used such as wheel rotation matching the ground distance
2a) Can this be automated
-
- Install XNA on VS2005 Std?
by shwasasin
- 5 Replies
- Last post
by Bizzeh
- Hey All, I've just downloaded XNA 1.0 and tried to install when I found that it won't because I don't have Visual C# Express. I've been running Visual Studio 2005 Standard on my laptop since last February and I'm wondering if there's any way to make it work I think it's sort of silly install C# Exp when I've got Std so any help would be much appreciated. Thanks!
-
- DX9 help, strange shader z failing
by needforhint
- 3 Replies
- Last post
by Andreas Johansson
- hello,
Though I know I am posting in wring forum, but the XNA forum is closed, moved away. I tried to access the butty looking forums but even Gamertag didn't help. So please, I am just a coder who does not want to loose his dignity on Xbox pages (and who allready lost half an hour registering for nothing). Here is the problem finally. I dont know since when my application began to render a
-
- Creating objects 'by name' read from level data
by LamptonWorm
- 4 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hi, Firstly sorry for the confused subject line ;) Ok, I'll try and explain - suppose I have a class called Enemy1 and a text file that lists level data and in there I have the text "Enemy1" listed also. Can I somehow create a new instance of an Enemy1 object by only knowing 'Enemy1' as the string that I have read from the level text file This would mean I would avoid alot of code such as 'if bla
-
- R2VB - "Status Resolved (External)"?
by Mats Söderlund
- 2 Replies
- Last post
by Mats Soderlund
- I would like to point your attention to... https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=238739&SiteID=226 ...since I never got an answer to what "Status
Resolved (External)" actually means. Thanks
-
- Is there much to download on the Creator's Club yet ?
by DavidHolliss
- 7 Replies
- Last post
by O Wilmot
- Think this is the best place to ask, apologies if not.
I've been interested in XNA for a couple of months now, plan on starting to learn to code myself pretty soon, before signing up for the Creators Club subsciption I just wanted to check if there is much on there to download at present or if I'd be better off joining in a couple of months time.
Thanks.
PS. Is there a site where availabl
-
- sollution
by chronozphere
- 1 Replies
- Last post
by chronozphere
- Hi guys
I want to implement an easy-to-manipuate texture in my game-engine.
therefore i've created a bitmap in memory and a D3D
texture. the user can use GDI functions to draw on the
bitmap and the bitmap must be updated to video memory. I wrote the
following routine (It's pascal, but i think most of you will get the
idea):
[code]
//create sysmem texture
HR := D3DXCr
-
- Im new to XNA
by JNK83
- 4 Replies
- Last post
by e. ogas
- I bought the creative club membership off xbox 360 and downloaded everything on my pc. But Im having ahard time creating even the simple things. So I decided to keep my membership and keep renenwing it until I learn how to make a game and most importantly to play other games. Is there anyone out there making a First person shooter My goal is to make one battlefield 2 modern combat style with xbox
-
- .FX files returning values?
by TCSC
- 2 Replies
- Last post
by TCSC
- Is there a way to return a value from a shader, or is the data flow one way only
-
- Setting project up to be cross platform
by waheyluggage
- 11 Replies
- Last post
by waheyluggage
- Hello
Any advice on what's the best practice for setting up your game to run on both PC and Xbox Even better if there could be an included example of this.
I'd like to develop my game on the PC and only running the 360 version periodically. In the past I've set up seperate builds so I'd have a release\debug versions for PC, PS2 and Xbox1.
I've seen posts mentioning creating
-
- Render transparency with shaders
by XeviaN
- 8 Replies
- Last post
by SoopahMan
- Hi All! I'm in the beginning of shaders programming. I've two shaders that renders two meshes with some nice textures effects This is my great render queue: setEffect1 drawindexedprimitive setEffect2 drawindexedprimitive Cool. Now, i want the second drawindexedprimitive to draw the mesh at the half of opacity, over the first mesh rendered with Effect1. Have i to modify Effect2 so that it supports
-
- Xbox 360 Storage location/access
by AdamusTheGreat
- 5 Replies
- Last post
by Stephen Styrchak - MSFT
- I know about (and understand) StorageDevice, etc. But, is it possible to read and/or write to/from external USB devices
-
- C# - Managed DirectX - Secondary Monitor
by NumberKruncher
- 14 Replies
- Last post
by NumberKruncher
- Hi,
I posted this question in the C# forms forum area a couple of days ago, and I thought perhaps this was a more relevant forum for the question.
I am creating a program which uses the secondary attached monitor. The program successfully creates a Direct3D enabled window which runs fullscreen on the secondary adapter (using an adapter id of 1). This does in fact work smoothly and how I woul
-
- Custom processor with additinal data - Content pipeline
by DevboyX
- 4 Replies
- Last post
by BlueG
- I understand one can use the Tag property to add custom data while processing a model. Is that the only way Meaning, do I have to create a whole hierarchy of user defined classes with the Tag property as a root I though of something like deriving ModelContent but that's sealed.
-
- 3D model is incorrect after adding a Sprite in 2D
by nick5454
- 3 Replies
- Last post
by Lostlogic
- I took the example of drawing a 3D model(tutorial 1 and 2(spaceship)) and then pasted the code from the tutorial of the "Drawing a Sprite"
When It renders the ship doesn't have volume. In that I can see right through it. Does anyone know what is wrong. Is there some thickness setting for the graphic devicer that I need to set
The complete code is pasted here:
#region Using
-
- Alphablending 3D
by Wil Burton
- 4 Replies
- Last post
by Jon Watte
- I know when doing alphablending you have to draw objects in order. I believe you must draw more distant objects first. I assume this distance from the camera. Can anyone point me in the right direction as far as implementing this