Archived

This topic is now archived and is closed to further replies.

Need a very simple game in DirectX

This topic is 4998 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I need to develop a software that implements at least two, or uses as many as possible, of the following computer game components, possibly incorporated within a simple game: (i) view frustum culling (ii) lighting (iii) shadows (iv) collision detection (v) game AI (vi) game physics (vii) support (such as message transmission, reception, and processing) for multi-player distributed gaming. I can also use a public-domain 3D or 2D game engine or software development kit. Can anyone help?

Share this post


Link to post
Share on other sites
Is this a school project? Sounds like it....

Collision detection, AI, physics will be covered in just about any 2D game (such as asteroids), while view frustum culling, lighting, shadows would be covered in a slightly more complex 3D game.

A 2D game you can write from scratch in a week or two if you know how to Blit graphics (using Win GDI, DirectDraw, etc). For 3D, check out the Nehe OpenGL Tutorials -- oops I just noticed if DirectX is required for your project this won't help.

Phil P

[edited by - PhilVaz on April 4, 2004 3:55:40 PM]

Share this post


Link to post
Share on other sites
I'm afraid someone hasn't read the board rules. You can't ask for us to do your homework for you here. We'll give help if you're stuck but we won't do it for you.

Topic closed.

Eh, not really. Eventually, I guess. ^^;


[edited by - RuneLancer on April 4, 2004 9:11:38 PM]

Share this post


Link to post
Share on other sites
sorry i''m a beginner...
i''ll be using Visual Studio, so its C that i''ll be using.

to be honest, i just need a working simple 2D directx game with 2-3 of those components i listed.
what kind of game have it?
and where i can get it?

Share this post


Link to post
Share on other sites
"what kind of game have it?"
Any. That''s a really, REALLY vague question, really. Frustrum culling, lighting and shadows seem rather unlikely in a 2D game. Collision detection could be present in any game where the user moves something around. A character, for instance. AI is present in just about any game where there''s an opponent. Physics, see collision detection. Multiplayer is something you can implement in most games at will (won''t necessarily implement well but it''ll work...)

"Where can I get it?"
You have fingers, and a C/C++ compiler. Why are you asking this?

Share this post


Link to post
Share on other sites
i do have fingers and a compiler...
but that doesn''t mean i know how to program...
i have limited time to do this, otherwise i would have learn from scratch..
u might think y i started this late..its because there''s loads more other projects to do..

i would like all the help i can get please...

i was just thinking, what components i listed is covered by a break-out game?

Share this post


Link to post
Share on other sites
You need to learn to walk before trying to run.
Learning to program generally is a prerequisite to game programming
In other words, once you know how to program apps altogether, you''ll know how to program a simple game.

Kind rgds,
-Nik

Share this post


Link to post
Share on other sites
Hi,
(i) view frustum culling
(ii) lighting
(iii) shadows
(iv) collision detection
(v) game AI
(vi) game physics
(vii) support (such as message transmission, reception, and processing) for multi-player distributed gaming.

You can use all those things in a simple Pong like game.
In this Game you can choose to play against the Computer or against another Human player over Network.

You wont get a running Netowrkgame done if you have little time, but you can design it so, that you could add the Multiplayer part later.

If i were you, i would start by drawing a simple Rectangle maybe with Texture and handle Input to move it around the screen... maybe even only Horizontaly.

Then add another block which travels up and down the screen (the ball) add colision Detection and a second paddle, et voila half of your work is done.

For the Lighning and Shadows, you could make a Background and your Paddles are ''floating'' a little bit above it.

The AI of the Computer would be to move horizontaly on the same ''line'' as the ball.

I am sure there are many Tutorials covering the Pong Basics in almost any Language.

I would use OpenGl, you can of course use Directx as well.

Lazzar

Share this post


Link to post
Share on other sites
quote:
Original post by Nik02
You need to learn to walk before trying to run.
Learning to program generally is a prerequisite to game programming
In other words, once you know how to program apps altogether, you''ll know how to program a simple game.

Kind rgds,
-Nik


I have to agree. Also, if you''re doing stuff like that, you probably should learn about computer graphics first as well. If you haven''t had time to learn this stuff because you''re doing other projects, then you''re taking on too much work, or you have been goofing off way too much.

We''re not here to do your homework for you... and while we can answer a lot of your questions, we''re not going to go through and teach you the entirety of computer graphics theory.

Share this post


Link to post
Share on other sites