Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / window for map or zoom

Author
Message
mihaid
14
Years of Service
User Offline
Joined: 24th Feb 2012
Location:
Posted: 26th Mar 2012 10:30
Hello friends,

Please give me an ideea how to make a small window positioned on screen to post here a zoom (for a sniper, for instance), or a map, I'll be happy if you attach a small code...

Mihai
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 26th Mar 2012 10:34
A minimap? Just use 2D commands to draw the outline of the window, and use the circle or dot command to draw the scaled down positions of everything.

A sniper window? I guess you could create a new camera, set it to draw to an image and paste that image to the screen.

TheComet

mihaid
14
Years of Service
User Offline
Joined: 24th Feb 2012
Location:
Posted: 26th Mar 2012 10:59
Thank you very much !!

Mihai
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 30th Mar 2012 04:18
Use box instead of dot, it's much quicker.

"You're not going crazy. You're going sane in a crazy world!" ~Tick

Login to post a reply

Server time is: 2026-07-09 15:46:36
Your offset time is: 2026-07-09 15:46:36