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

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

Updated the chest in the maze, adding sound, particles and better animation. But what's in the chest?

Family band complete!

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

Finished work on the emotions of a new character for the tank universe

Horror WIP A track that will be featured in a future horror game soundtrack! Stay tuned!

Likes appreciated ✌️

#gamedev #composer #horrorgame #indiegame #IndieGameDev #soundtrack

A house I've built a while ago. :)

It nicely separates the snowy biome from the grassy one.

It's built with painted Ebonstone.

Why walk when you can jump?

OK, this starts to be too tricky puzzle already :D

#platformer #indiegame #puzzle