💾 Archived View for capsule.sergeeo.com › glog › 20240805.gmi captured on 2024-09-29 at 00:20:59. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

-=-=-=-=-=-=-

sergeeo's personal capsule

Wwise: Distance to Camera

I couldn't sleep tonight and I started thinking about something that has been nagging me since I started this 2D project: the minimum distance to the listener is always 10 units. This has been bothering me when it comes to defining the attenuation settings. Why? Oh dear, the answer is very simple: the transformation position of the camera is -10 units on the Z axis. How silly.

All this time I've been experiencing weird positional stuff and it's only because the engine has been getting hypotenuses instead of simple linear distances. That might be fine for 3D games, but since we're looking for a retro arcade feel, it's not what we need.

So the first task of the day: let's redraw all these attenuation settings!!!!

⌂ Home