RedHairOnMyHead2017-03-14 19:01:10
RedHairOnMyHead, 2017-03-14 19:01:10

Any ideas/ready-made solutions for rendering sound waves in the game?

I want to implement sound waves in the game when the main character jumps. Waves like those that remain on the water when a stone is thrown into it. But I don't even know how to approach this issue. The problem is that they (waves) must have the physics of collision with surfaces and reflection from them.
I'm using SpriteKit

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Stalker_RED, 2017-03-15

Something like Dark Echo ?

Alexander Skusnov, 2017-03-16

Frank Luna's DirectX book describes water waves. A horizontal mesh is made (triangles). In the right places - indignation (height rise). Further in time, the height of the point is averaged from the neighbors. I am writing from memory (in order for the wave to go down, it is probably still necessary to take into account gravity). To dampen the waves, we add friction. In short, the formula reflects the numerical solution of dif. equations.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question