Well, I got a message from jpxtreme asking for my code. I spent a few hours here and rebuilt the project to show my example of a mini-map. I changed 5000 lines to only a few hundred so it was easier to understand. There is so much to explain on this, but I hope you can follow it. The biggest concern is:

- Make your map 1000x1000 pixels, and call it admin_map.bmp
- 255-261 lines of code show the math I am doing, I wrote a few comments and I hope you can follow my crappy comments. It is late and I just had to rework those numbers to make this work right. All I am doing is figuring out how big the playing map is, then comparing that ratio to the 1000x1000 map size. I am using a percentage equation so the numbers are somewhat relational.

In any case, I hope you can understand what I did. I did this more on the fly in a previous version. You can download the working A7 project at:

http://www.garrettwademan.com/3dgs/mini_map.zip


Current Project: Computer Repair Simulator
https://www.computer-repair-simulator.com