Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Simple math on scaling


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Muzzy A   Members   -  Reputation: 644

Like
-2Likes
Like

Posted 11 July 2012 - 05:14 PM

EDIT: I apologize, problem solved.

Edited by Muzzy A, 11 July 2012 - 05:20 PM.


Sponsor:

#2 Brother Bob   Moderators   -  Reputation: 8430

Like
0Likes
Like

Posted 11 July 2012 - 05:18 PM

The size of the bar, or the difference between min and max, is diff=max-min. The point you're after is diff*ratio away from the start point towards the end point. That is, the bar is at min+diff*ratio.

Edited by Brother Bob, 11 July 2012 - 05:19 PM.


#3 Faelenor   Members   -  Reputation: 396

Like
0Likes
Like

Posted 12 July 2012 - 09:48 AM

Don't edit your post to remove the initial question!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS