Interpolation woes

tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
edited April 2013 in Working with GS (Mac)
It may be that I've stumbled across the already documented Interpolation issue with extremes (values near the "interpolate to" value), but here's the problem I'm having:

I am interpolating self.color.Alpha from 0.3 to 0.7 in game.Seconds seconds. If I change game.Seconds to 5, it reaches self.color.Alpha=0.7 in 3.7 seconds. Same issue? I've seen http://forums.gamesalad.com/discussion/54962/make-your-own-interpolations and may resort to it if I have to.

I thought I could work around this by having it Interpolate to 0.8 (or even 1) in 5 game.Seconds seconds but I'm not having much luck.

New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Best Answer

  • RThurmanRThurman Posts: 2,880
    Accepted Answer
    @tatiang -- I realize you figured out another way. But perhaps someone might find this useful. Its uses a standard formula for linear interpolation.

Answers

Sign In or Register to comment.