Showing posts with label DirectX. Show all posts
Showing posts with label DirectX. Show all posts

Friday, April 23, 2010

DirectX - My First 3D Game (completed)

Finally, I'm back with a completed simple 3D game. Like I said before, I plan to do a simple first person shooting game but end up I've change to a simple escaping/avoiding game. All you need to do is collect as many coins as you can and avoid all the obstacles.

I really wish to make a first person shooting game but I don't know how to implement the gun following the camera and since time is not allowed me to do so, I'm forced to change the idea.
I'm happy with this game because I've learned a lot during the whole development progress. Although it may not be a fun game but it'd meant a lot for me :)

Some of the techniques that I have used in this game are:
1. 3D Objects Modeling by using DrawPrimitive function
2. 3D Transformation
3. Alpha Blending
4. Billboarding
5. Texture Mapping
6. Texts/Fonts
7. Buttons
8. Direct Sound
9. Direct Input
10. X-Files
11. Particle Effect
12. Game A.I.
13. Collision Detection


I just have some brief and rough ideas for all the techniques above but I believe that in future, I'll understand better!

So here are some screenshots :)

*Game start menu


*First Person View


*Explosion effect after collide with an obstacle


*Bounding sphere

Video demo:




*Download link here

PS: Take note that you need to have DirectX SDK installed in your computer before you can play it. I'm not sure how to release it without the need of DirectX SDK, sorry for that :(

Wednesday, April 14, 2010

DirectX - The Unknown Project (Incomplete)

This is the second API which I'm learning in this semester (2nd year, 3rd semester). I would say it is quite difficult to learn but it is quite fun to play with once u understand it. Basically I've understand the basic fundamental stuffs, but when deal with lighting, I'm still not able to do it.

So what I've learned in this subject are drawing 2D polygons, drawing 3D polygons, Transformation, Texture Mapping, Lighting and Materials, Billboarding, Direct Inputs, Direct Sounds, Particle Systems, Importing X-Files and some theory on Collision Detection and AI.

Currently I'm still doing my project which the due date is just around the corner. What I wanna do is First Person Shooter but currently I'm stucked in "How to attach my weapon together with the camera". I've google alot but I still cannot manage to implement it :(

Nothing much I can show but I'm still able to show some of it... LOL


*Game Menu


*Sample screenshot


*Sample screenshot 2

PS: Sorry that I couldn't provide the download link for this game yet because it is still incomplete, perhaps I will provide the link once I've finished it :)