VBGM106 - VB.NET User Interface Controls - Mouse Interaction

Опубликовано: 25 Июль 2026
на канале: MrHem
179
2

Contents
Adding the Mouse Event
Adding the mouse pressed flag
Adding the mouse location


#VCE #VB.NET
Game Development in VB.NET with VS2017
Due to popular demand my students requested a course on building a 2D game framework to be used to create games in VB.NET. If you are unfamiliar with VB.NET basics, please complete the introductory course to VB.NET first. (   • VB102 - VB.NET Navigating Visual Studio  ).
1) 2D Game Framework Design Choices:    • VBGM100 - VB.NET Introduction to Game Deve...  
2) Setting up your VS2017 Environment:    • VBGM101 - VB.NET Setting Up your Environme...  
3) Double Buffering, Game Loop Part 1:    • VBGM102 - VB.NET  Double Buffering, Game L...  
4) Double Buffering, Game Loop Part 2:    • VBGM103-1 - VB.NET  Double Buffering, Game...  
5) Double Buffering, Game Loop Part 3:    • VBGM103-2 - VB.NET Double Buffering, Game ...  
6) Setting up the workflow (Load, Update, Draw):    • VBGM104 - VB.NET Setting Up the Work Flow ...  
7) Introduction to GDI (Graphics Device Interface):    • VBGM105 - VB.NET Introduction to GDI (Grap...  
8) Mouse Interaction:    • VBGM106 - VB.NET  User Interface Controls ...  
9) Keyboard Interaction Part 1:    • VBGM107 -  VB.NET User Interface Controls ...  
10) Keyboard Interaction Part 2:    • VBGM108 - VB.NET  User Interface Controls ...  
11) Using the MCI (Media Control Interface) Part 1:    • VBGM109-1 - VB.NET Using the MCI (Media Co...  
12) Using the MCI Part 2:    • VBGM109-2 - VB.NET Using the MCI (Media Co...  
13) Using the MCI Part 3 - Playing Sounds in parallel:    • VBGM110 - VB.NET Using the MCI - Part 3 - ...  
14) Using the MCI Part 4 - Managing Sounds in parallel:    • VBGM111-1 - VB.NET Using the MCI - Part 4 ...  
15) Using the MCI Part 5 - Closing Sounds in played in parallel:    • VBGM111-2 - VB.NET Using the MCI - Part 5 ...  
16) Using the Constructor Pattern – Adding Game Objects:    • VBGM112 - VB.NET Using the Constructor Pat...  
17) Using the Constructor Pattern – Spawning Lots of Game Objects:    • VBGM113 - VB.NET Spawning Lots of Game Object  
18) Fixing a bug found in our MCI Audio Class:    • VBGM114 - VB.NET Fixing the MCI Audio Class  
19) Preliminary Conclusion to our Basic 2D Game Framework:    • VBGM115 - VB.NET Conclusion to our Basic 2...  
20) Further Improvements – Adding keyboard related methods:    • VBGM116 - VB.NET Further Improvements - Ad...  
21) Further Improvements – Adding MCI related methods Part 1:    • VBGM117-1 - VB.NET Further Improvements - ...  
22) Further Improvements – Adding MCI related methods Part 2:    • VBGM117-2 - VB.NET Further Improvements - ...  
23) Further Improvements – Revising MCI Audio Class Part 1:    • VBGM118-1  - VB.NET Further Improvements -...  
24) Further Improvements – Revising MCI Audio Class Part 2:    • VBGM118-2 - VB.NET Further Improvements - ...  

Game Development in VB.NET – Making 2D Asteroid Game:    • VBGN100 - VB.NET Asteroids Game - Introduc...  
As a continuation to this course, this series investigates building an asteroids game from the 2D game framework.