Furbolg Posted February 11, 2013 Posted February 11, 2013 Hi Guys, i would like to create a simple minimap/radar. But i (currently) dont find the way to go. I want to have a 128x128 Texture, where i will update single pixels. Any of you guys have an idea ? I've seen that in some older/blitzmax implementations there is a command "getpixels" but this one seems to be gone ? Thanks for your help Quote
Canardia Posted February 11, 2013 Posted February 11, 2013 Place camera high, and make it point down to get the 128x128 minimap texture. Then use Plot(x,y,color) to draw something on top of it. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■
Furbolg Posted February 11, 2013 Author Posted February 11, 2013 Thanks Canardian, right after your post i found a similiar solution My Solution uses a buffer im writing on (with Draw::Plot) and then draw it through drawimage. Its much faster because i dont need to update the complete buffer Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.