|
|
Title | Make a geography game |
Description | This example shows how to make a geography game in Visual Basic 6. The game names a state. When the user clicks on an area, the program floods a hidden picture starting at the point clicked and sees whether an identifier pixel is colored. |
Keywords | map, flood game, FloodFill |
Categories | Graphics, Puzzles and Games |
|
|
When the user clicks on a point on the map, the program uses the FloodFill API function to fill the area clicked. It then checks the desired state's identifier pixel to see if it has been colored. If it has, then the user clicked the right region.
This zip file also includes a program that helps make a database of positions of points in each state for a map.
|
|
|
|
|
|