Sign in to follow this  
QMC

Tetris sample in DirectX 10

Recommended Posts

Serapth    6671
Not to kybosh your plan, but why 10? 9 has the mass support ( XP ) and 11 is the most current/powerful. To use 10, you are giving up the vast support of 9 while gaining nothing in return.

Share this post


Link to post
Share on other sites
jeffreyp23    178
After some searching, i don't think there are any tetris samples in DirectX11.
But if you want to learn DirectX11 maybe these links can help :

[url="http://www.directxtutorial.com/"]http://www.directxtutorial.com/[/url] (paid, but got some free tutorials)
[url="http://www.rastertek.com/tutindex.html"]http://www.rastertek.com/tutindex.html[/url] (free, but in my opinion not so good as the above)

both in DirectX11 or DirectX10

Share this post


Link to post
Share on other sites
Radikalizm    4807
Tetris is one of those games you should try to figure out yourself, it's very simple to design and implement and is therefore recommended a lot to beginners on these boards
A sample of a full tetris implementation won't teach you anything

Share this post


Link to post
Share on other sites
QMC    100
@Radikalizm: That's like telling me to write something in Japanese, while I can't! I'm new to DirectX and I don't know how to use it. I want a Tetris sample so I can figure out how DirectX works. All the tutorials I followed were only related to graphics, not to a game in general.

Share this post


Link to post
Share on other sites
Radikalizm    4807
[quote name='QMC' timestamp='1314360902' post='4854022']
@Radikalizm: That's like telling me to write something in Japanese, while I can't! I'm new to DirectX and I don't know how to use it. I want a Tetris sample so I can figure out how DirectX works. All the tutorials I followed were only related to graphics, not to a game in general.
[/quote]

You do realize that that's what DirectX is right? DirectX is not a game engine, it's a graphics library, all the game related stuff is up to you

Share this post


Link to post
Share on other sites
QMC    100
UnrealEngine and Source are game engines, I know.
The only thing I don't know are the command you can use in DirectX, THAT'S my problem.

Share this post


Link to post
Share on other sites
boogyman19946    1487
Before you start to speak Japanese, you usually look up lessons or take classes to grab the rules of the language and then jump in for practice, you don't just start watching subtitled anime so you can analyze the language and figure it out. Clearly, both ways are, in a sense, a possibility but clearly the latter option is a magnitude more difficult. Judging by your past two posts, that's what you're trying to do. It's like studying the final product so you can understand the tools. You don't learn how to use a hammer by studying a standing house. You either learn to use it before you begin your work or figure it out while you're at it.


That's enough of the metaphors for now, though. If you want to study DirectX seriously, go look up tutorials for DirectX or buy yourself a book about it. All you need to know about DirectX to make Tetris is how to render a bitmap or a shape at a specific position. Everything else is logic work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this