How easy it would be to make a typing tutor software or game in VB .NET ? Check out this tutorial and make your own in minutes.
I will explain you algorithm I used. You can follow it to make your own game. I have included source code with the post for better communication.
1. Load form with characters ( will be treated as labels in VB .NET)
2. Change Y position of each label with time (Use of location property and timer).
3. Monitor Keypress with Keypress event
4. If a key is pressed which is label text, increase score, reset label position and generate new character.
5. If a character goes out of form height decrease point (optional). Also reset label position and generate new character.
Source code Visual Basic 2008 : Download
© TeraBug.com , Distribution or Regeneration without proper visible credits and link to TeraBug.com is strictly prohibited. By downloading above file you agree to TeraBug.com copyright terms mentioned above.