Thehookerkiller01 Posted April 9, 2009 Share Posted April 9, 2009 hey, i have 1 question, how can you make a static image above the minimap, how ever should you know wich coordinates that is? Link to comment
Thehookerkiller01 Posted April 9, 2009 Author Share Posted April 9, 2009 relative coordinates Where to find it? Link to comment
Lordy Posted April 9, 2009 Share Posted April 9, 2009 Measure.. Calculate.. Whatever. Next thing you'll ask is where to buy some toilet paper... Link to comment
Ace_Gambit Posted April 9, 2009 Share Posted April 9, 2009 (edited) 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 April 9, 2009 by Guest Link to comment
Thehookerkiller01 Posted April 9, 2009 Author Share Posted April 9, 2009 Measure.. Calculate.. Whatever. Next thing you'll ask is where to buy some toilet paper... Where can I buy that? Never found out. Link to comment
Thehookerkiller01 Posted April 9, 2009 Author Share Posted April 9, 2009 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... Link to comment
Ace_Gambit Posted April 9, 2009 Share Posted April 9, 2009 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 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now