# Howto create static image above minimap?

## Recommended Posts

hey, i have 1 question, how can you make a static image above the minimap, how ever should you know wich coordinates that is?

relative coordinates

relative coordinates

Where to find it?

Measure.. Calculate.. Whatever. Next thing you'll ask is where to buy some toilet paper...

Relative sizes are usually calculated by dividing the absolute value by the value relative to. Just imagine your GUI window has a width of 200 pixels and the resolution of your screen is 800 x 600 pixels. The relative value is 200 / 800 = 0.25.

Edited by Guest
Measure.. Calculate.. Whatever. Next thing you'll ask is where to buy some toilet paper...

Where can I buy that? Never found out.

Relative sizes are usually calculated by dividing the absolute value by the value relative to. Just image your GUI window had a width of 200 pixels and the resolution of your screen is 800 x 600 pixels. The relative value is 200 / 800 = 0.25.

Erm...

Relative sizes are usually calculated by dividing the absolute value by the value relative to. Just imagine your GUI window has a width of 200 pixels and the resolution of your screen is 800 x 600 pixels. The relative value is 200 / 800 = 0.25.

Erm...

typo

But, seriously stop posting if you don't have anything to say. This isn't a chat box.

Absolute to relative example:

```
screenWidth, screenHeight = guiGetScreenSize()
imageWidth = 50
imageHeight = 50
relImageWidth = imageWidth / screenWidth
relImageHeight = imageHeight / screenHeight

```

## Create an account

Register a new account