Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thanks for dropping by 

I am so new to the concepts of programming and Construct3 that I couldn't even find how to lerp over time! (n00b here)
Someone on twitter did mention to 

1.Create a variable.
2.Add dt*fade speed to variable every tick.
3.Set opacity with this variable.

Im still yet to grasp that concept of dt. All in time..

(+2)

I think by dt*fade speed, its refering to delta time multiplied by fade speed, so the fade effect is not dependant on the frame rate.

So this means it even if there is a frame rate drop - the fade time will limited to the time that has been implemented? 

I think so, if i understood you correctly.

Here is a link with more info, is for Consturct 2 tho.

https://www.scirra.com/tutorials/67/delta-time-e-independencia-de-tasa-de-fotogr...

suweet sauce code! Thanks - this is very insightful 

(+1)

oh yeah the other reply on this is perfect! (but in case you were curious i think of lerp (or linear interpolation) as a useful solution when i have specific start and end values in mind for a variable and want to update every frame between these two. delta time can also be used in conjunction with this)