I've been away from coding in DBC for A LONG TIME. I am a senior in high school this year so I havn't had much time. I've decided to try and balance my life out and return to coding. I got a code a while back from Sixty Squares to help me understand camera coding and controlling small ball. My game is based around such a thing. I completely understand the code. Now I need the ball to look as though it is rolling when there is a texture applied to (scrolling the texture) I have coded that in. The texture successfully scrolls when the ball is moving, but when I let go of the key, it immediatly stops rolling, rather than coming to a gradual halt as I want it to.
Maybe I'm just stupid, or I've forgotten A LOT of things, but I have tried many solutions and cant' fix it. I want the texture to stop scrolling gradually, not all at once. I'll attach the code to this post, I'm at school so I can't open it and just put it in the code snippet box. Textures are there too.
My problem is better explained in the code(comments!)
Thanks
Soroki
If you whine about graphics, you are not a true gamer, you are just an imposter to a title you can't understand.