I've tried to make a small space shooter game, but now I'm going back to a different project. Still, there was one problem I couldn't solve. I wanted to have the space ship moving slow from start and then during the game it's speed slowly increase by picking up bonuses. But I don't know how to make it follow the cursor with a lag. It has worked with sin and cos, but the ship always started to shake when it reached the cursor. I've made something like workaround, but shaking is still visible when switching to v-sync mode. It probably will be easy for you math guys and I can't wait to see how it's properly done.
Wheel up/down - speed up/down
LMB - shoot
RMB - rocket - also, there I found this bug
thanks in advance for any help