elenvou Posted June 16, 2018 Share Posted June 16, 2018 (edited) Hi there!! I want to work between frames, that means I want to do some calculations in t=1/frame 1 that will affect values of t=2/ frame 2. More presicely I am importing csv files that show happiness numbers per 50 years. For t = 1, happiness = x. What I want is to say that when t = 2 and happiness = y, substract from happiness 10% of its value, i.e. happiness = y - y*y%. In the end I want to apply this policy to all the coming frames; if (factor < 5%) { @hapiness -= hapiness*10%; } How can I do that? Edited June 16, 2018 by elenvou Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.