Foldup
Member
Hello! Are you better at math than me or do you know a cool Game Maker trick I'm missing?
I've got a dial that I want to work like a speedometer type thing. It measures hull integrity from 0-10
It seems to me that setting the angle of the sprite to 180degrees makes it read like 0 and setting it to max out at 0degrees sets it all the way up. But I am baffled at how to translate a 0-10 scale into a 180-0 scale.
Any tips on what direction to take?
I've got a dial that I want to work like a speedometer type thing. It measures hull integrity from 0-10
It seems to me that setting the angle of the sprite to 180degrees makes it read like 0 and setting it to max out at 0degrees sets it all the way up. But I am baffled at how to translate a 0-10 scale into a 180-0 scale.
Any tips on what direction to take?
Last edited: