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

Microsoft Windows XP Unprofessional (windows logo prototype)

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

Likes appreciated ✌️

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

Call it 'wrong turn'!🚫 The feeling of running into a house with only one exit🚪, and being doomed to die. #pixelart #pixelartist #pixelartwork #art #pixel #indiegame #IndieGameDev #indieartist

Rockin the Guitar, an Axe like Guitar I made for my Uni project

Regular exercise is key for healthy wings.

Try it out!

https://gamejolt.com/games/AeonNightmares/605184

If you have more of an acquired taste, the restaurants in Niravasi have you covered! Maybe skip the salad bar, though.

2d lighting experiment

It's old and it glows. Experience the nostalgic tile-matching puzzle game in it's new glory!

Game : https://gamejolt.com/games/colortris/499578

ColorTris gameplay - Peach squares

______________________

Music : https://soundcloud.com/the-musical-ghost/ghost-kozmos-tetris-the…

Ladies & gentlemen.. The Blender logo factory! I had a ton of un making this animation. I'll be making a short tutorial on picking up/dropping object in Blender for animations next week! What do you think?

Hey you, rookie! Yes, I am talking to you!! Come over here? Relax! Just stick to me and everything will be fine. By the way, my name is James Varhuher, but you can call me Big J. I will bring you up to speed.