Lerping Score.

0 favourites
  • 5 posts
From the Asset Store
Create the right kind of drama with Film Scoring Tools sound library!
  • Hey guys and gals, I want my score to tick up when you complete the level. I have a lerp in place and it seems to just jump straight to the lerp final number. I tried very tiny numbers and it doesnt seem to work. Could someone take a look at this fella?

    <img src="http://i310.photobucket.com/albums/kk412/tendrilsofkraken/Capture_zps303b8952.jpg" border="0" />

  • I think you are thinking way too complex for this.

    I got it working using 2 variables one that holds the "score" and one that displays it on screen.

    placed an event like,

    Score is not equal to display score

       -every 0.01 > add 1 to display score

    whenever the score changes the display score will quickly add 1 till it reaches that amount.

    .capx example download

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • excellent thanks BAC I will test this after my delicious lunch. I usually think to complex. Need to chill out. HAHAHAH ok thank you.

  • haha, there is probably a math solution somewhere, I just tend to be bad at getting math expressions to function as I expect them to so i tend to rely on variables

    but it does work so hope it helps

  • Something like this?

    <img src="http://dl.dropbox.com/u/34375299/Construct%202/examples/score.PNG" border="0" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)