Game
Frigate Captain
9 years ago

Bow waves and wakes


One thing that has been missing from the game is a proper sense of movement as the ship gathers way. The sea already has some crude pulsating squares that represent the waves so you can tell you are moving, but there was little sense of speed. What I needed was a way of rendering the bow wave and wake produced by the ship as it cuts through the water.

5d0b7f8eb3e4a.png

My first attempt was to make some animated sprites and draw them onto the ship surface. The effect was quite nice, but it looked a bit fake. I’m not a great artist, and I couldn’t get it to look convincing enough without jarring with the simple visual style used for the rest of the ship. Moreover, it was hard to deal with cases where the ship was moving slowly. My solution was the slow the animation down to match the speed of the ship, but this ruined the effect of the animation.

Then I found a much neater solution. As the ship moves, I draw circles onto the sea starting at the bow of the ship. The circle doesn’t move with the ship, but it expands quickly to create the effect of the bow pushing water aside. If I draw them quick enough, they give the illusion of one wavy trail of frothy water. The faster the ship goes, the more often these are created, and the brighter they are. As you accelerate, the bow wave gets more and more noticeable, improving the sense of speed. The colour also gradually dims to the sea colour before disappearing. I’m pretty pleased with the result, and because there are no sprites to manipulate it takes up very little CPU overhead.

5d0b7f8f16225.png


0 comments

Loading...

Next up

Chiaki Nanami!

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

"Our work is never over" they said.

Terraria

Why walk when you can jump?

Levels' maps.

Szayel Aporro Granz - Bleach

Our menu, gathered a huge feedback and positive comments among foreign audience, what you say? Game Steam: https://store.steampowered.com/app/1543090/LiBER/

A sneak peek at the new OST, can you guess what this song will be used for? 🤔

Hi all, Quick update with a bunch of fixes and changes.

Updated save system, optimisation and screen tear fixes, a new shoutout room and more sounds.

Don't forget to follow the kickstarter going live on the 20th! https://www.kickstarter.com/projects/9fingergames/zapling-bygone

Enjoy!