I am trying to work out how I can copy a hbitmap to a surface. I realise in dx9 you have access to GetDC() on the surface. However this needs to be done in dx8.
So far I think I am 50% of t...
I have a pc tennis game called "Top Spin" I have created a charactor with certain skills.
I now wish to edit the charractors attributes i.e strengths without haveing to play the game from th...
I need some type of standard way of rotating weird sized matrices, like 2x4 (or 4x2, im never quite certain if m = rows or columns when dealing with an mXn, and this is even after Linear Algeb...
I use a game lopp with getmessame but i would like to know what is the best game loop for a 2d game.
any code?
Greetings,
I have a directx game app which runs perfectly in any resolution, full screen or windowed and has no problems with alt-tab except when using full screen with the same resolution ...
I'm trying to calculate the ending x,y of a projectile. There is no arc the object moves in a straight line. I know the starting point the speed and the angle in radians. how do I solve for...
Hi basically I'm looking for a way to get a time for how long the vertex and pixel shader's takes to finish what its doing(for the model to be rendered once.)
II have tried using the effec...
hi I am new to openGl.i have just code a 2d POng game in it using C++ now i want to make it more realistic
like
1.when the player hits the ball with the edge of the paddle, the ball spe...
Hi experts,
can someone show me a sample code for a peg jump game in C with GUI. I want to study it to see how it is programmed. I have understood a contest was held on it and got interested ...
I have a DirectX Application which works in full screen.
For debugging purposes I want to pop up a message box with an error message.
The problem is that when the message box comes up it...
Can anyone tell me where I can download headers & libs necessary for DirectX 7 or 8. I tried on Mirrosoft website, but for that one is required to download more then 50 MB i.e. SDK + headers &...
a line in my code
Set g_D3DDevice = g_D3D.CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, Me.hWnd, D3DCREATE_SOFTWARE_VERTEXPROCESSING, g_D3DPP)
is generating an
"Automation Err:"
...
Hi, I'm trying to create a dancer (could be a human figure, a bear or other 3D figure) and have it move in sync with music. The music input should automatically make the figure dance - a bit l...
I am creating a game of battleships against the computer but cant alter the text within a <td> of my table on the fly. Any idea on how to do this using Javascript?
I am in desperate need of a beginners site that will teach me OpenGL, I want to make it clear that I am NOT a beginner PROGRAMMER, but a beginner at OpenGL, please tell me where I could get so...
Hi experts!
I'm programming a DirectX 8 application (game) using two sound cards.
The problem is that the played mp3 files are always send to the default audio device.
How can I select ...
can any one give me the explanation for the fire algorithm which is shown as an example with MSDN help 98
Hi
I would like to know how to write a psudeo code implementation for a chess game.(To make my question
in plain words, if you are writing a program for playing chess like a computer interac...
g_pD3D = Direct3DCreate9(D3D_SDK_VERSION);
g_pD3D->GetAdapterDisplayMode(D3DADAPTER_DEFAULT, &d3ddm);
//set present parameters
ZeroMemory( &d3dpp, sizeof(d3dpp)...
Hi,
Yeah, so I am masochistic enough to want to write an emulator for the NES. I know there are a bunch out there, but I want to do one on my own. I have the resources for NES system specs...
I need a bot, something like an intelligent agent, that will hunt, using its intelligents to find monsters throught a series of many obstacles. Now, i have a few idea of how to do this.. but i...
I am considering (sometime in the future) trying to market a game I am writing as Shareware.
Is this a viable market?
I'd like to hear some success stories.
If you have had success in...
here is my mail : <edited by PashaMod>
pun1sher where are u ? u told me you were interested...
send me a mail so i can contact you !
Anyway, we need coders for a 3D Role Playing Game t...
Hi
I have no previous experience of game programming, but I have some idea on what it takes. I have some experience on VC++ 6.0, 3D Studio Max, etc.
Can anybody suggest a good free game ...
Hi!!!
I am new to Java and i am interested to develop java games for mobile.
Could anyone tell me how to start. I know that i need J2ME for that but where to download that?
Also what ...