Quick Search for:  in language:    
DX7,code,will,generate,1player,Tetris,gameThe
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,290,928. lines
 Jobs: 207. postings

 How to support the site

 
Sponsored by:

 
You are in:
 

Does your code think in ink?
Login





Latest Code Ticker for Visual Basic.
Click here to see a screenshot of this code!Database Film's with ListBox
By Diego Cortiñas on 12/30

(Screen Shot)

Click here to see a screenshot of this code!MP3 class with ID3v2 and ID3v1 support
By Vesa Piittinen on 12/30

(Screen Shot)

Control By Browser
By Priyan R on 12/30


Stealth Exchange SFX
By dvchaos on 12/30


Click here to see a screenshot of this code!Mini Tetris
By Code Toad on 12/30

(Screen Shot)

Click here to see a screenshot of this code!NTMessager Network Message Utility
By B.Cem HANER on 12/30

(Screen Shot)

Math-Game
By Angelica Courtin on 12/30


Click here to see a screenshot of this code!Encryptor Xor Version 3
By DISTS on 12/30

(Screen Shot)

Click here to see a screenshot of this code!Stretch Image Two Times !! (Using GetPixel and SetPixel)
By Skinny Ugly Guy on 12/30

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!

Affiliate Sites



 
 
   

Tetrisclone - DirectDraw Tutorial

Print
Email
 
winzip icon
Submitted on: 12/5/2003 6:49:46 PM
By: RealBreezer  
Level: Beginner
User Rating: By 1 Users
Compatibility:VB 6.0

Users have accessed this code 481 times.
 
(About the author)
 
     This code will generate a 1-player Tetris game. The game is 90% complete and won't crash. Heavily commented. Well organised code which will offer an easy introduction into the world of DX7 and it's DirectDraw functionality. The code is heavily commented since this project was supposed to turn out as a tutorial (with a nice Word file to go along with it).

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

'**************************************
'Windows API/Global Declarations for :Te
'     trisclone - DirectDraw Tutorial
'**************************************
You'll need DirectX7SDK.
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
12/6/2003 10:06:07 AM:Seth Marty
A very well done Tetris clone!  I have 
no complaints about the program itself. 
 As for the game, a few points of 
critique:
Allow the player to set 
controls. (Rotate cw AND ccw, Change 
over to WASD instead of up down left 
right, etc.)
Add some music/sound or 
something.
It seemed to me like it 
went the same speed the whole time 
until I got to level 7, where the speed 
increased dramatically, and I lost very 
quickly.  Unless you meant that to 
happen.
A few minor rotation 
oddities that I don't quite understand 
(Try Bricklayer some time.) that are 
based upon a different point of 
rotation than I am used to.
In other 
Tetris games I've played, blocks stay 
the same color.  Meaning if I get a 
long skinny block, it's always 
blue.
And, of course, get the Next 
Block window working.
These are just 
suggestions that /I/ think would 
increase the quality of the game.  Not 
necessarily the program, because the 
program itself, as I have already said, 
is already very high-quality.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/6/2003 1:26:25 PM:RealBreezer
Thank you for this feedback, it has 
goldvalue for me :).
I've had 
similar comments and am planning to 
pick the project back up and make a 
fullworthy game out of it.
Again, 
many thx for the feedback, the more the 
better!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/14/2003 8:39:23 PM:andrej Kolla
I think its really nice... very pretty 
code i have no idea how i would do 
that...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/15/2003 6:32:17 AM:RealBreezer
Thx for the comments and the rating. 
I'm gonna keep my promisses and will 
take care of the things stated, it'll 
just take some time since I'm working 
on a few other projects.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.