okay, if I understood that correctly: you want a ship over some waves I think, in a 2d environment? And the movement should look like a damped spring?
And I assume your game engine has trig functions?
A silly instance of Mastodon for queer folk and non-queer folk alike. Let's be friends!