R
R
RedHairOnMyHead2017-03-14 19:01:10
Programming
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
06c1aaab1297496683239904502609c8.png

Answer the question

In order to leave comments, you need to log in

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

Something like Dark Echo ?

A
Alexander Skusnov, 2017-03-16
@AlexSku

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