{"id":1641,"date":"2026-05-09T22:34:43","date_gmt":"2026-05-09T22:34:43","guid":{"rendered":"https:\/\/sites.wsagames.com\/yy8y24\/?p=1641"},"modified":"2026-05-10T17:13:56","modified_gmt":"2026-05-10T17:13:56","slug":"sound","status":"publish","type":"post","link":"https:\/\/sites.wsagames.com\/yy8y24\/2026\/05\/09\/sound\/","title":{"rendered":"Sound"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>The video shows the game sound:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-video alignwide\"><video height=\"1440\" style=\"aspect-ratio: 2400 \/ 1440;\" width=\"2400\" controls src=\"https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/Sound.mp4\"><\/video><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Background music\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"609\" src=\"https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231034-1-1024x609.png\" alt=\"\" class=\"wp-image-1663\" srcset=\"https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231034-1-1024x609.png 1024w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231034-1-300x178.png 300w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231034-1-768x457.png 768w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231034-1-1536x914.png 1536w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231034-1-2048x1218.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Setting up the background audio is fairly straightforward. I imported the background music into UE5 and set the volume to 8, which is slightly lower than the volume of the footsteps. I ticked the \u2018Loop\u2019 option to ensure the music plays continuously in the environment. Finally, I simply dragged the music into the environment, so players can hear the background music at a consistent volume throughout, with no variations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The sound of the player\u2019s footsteps\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"611\" src=\"https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231029-1-1024x611.png\" alt=\"\" class=\"wp-image-1667\" srcset=\"https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231029-1-1024x611.png 1024w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231029-1-300x179.png 300w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231029-1-768x458.png 768w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231029-1-1536x917.png 1536w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231029-1-2048x1222.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I have set the volume for player footsteps to 10, which is louder than the background music. This ensures that the footsteps are clearer when they are played alongside the background music. Set the audio to loop so that the footsteps do not stop.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"607\" src=\"https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231019-1-1024x607.png\" alt=\"\" class=\"wp-image-1669\" srcset=\"https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231019-1-1024x607.png 1024w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231019-1-300x178.png 300w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231019-1-768x455.png 768w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231019-1-1536x911.png 1536w, https:\/\/sites.wsagames.com\/yy8y24\/wp-content\/uploads\/sites\/65\/2026\/05\/\u5c4f\u5e55\u622a\u56fe-2026-05-05-231019-1-2048x1214.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Footstep sounds are bound to the player blueprint. First, add the footstep sound effect to the component. Obtain the sound effect\u2019s Vector, then retrieve the Vector Length. Convert the direction velocity to a numerical value; this value should be greater than 5 (the character may experience slight jitter; setting a threshold provides greater stability). This serves as the condition for the check. When the condition is met, add a check to determine whether the sound effect is currently playing; if it is not, play the footstep sound. When the condition of the value being greater than 5 is no longer met, stop playing the footstep sound effect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This ensures that footstep sounds play when the player is moving and stop when the player stops moving.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The video shows the game sound: Background music\uff1a Setting up the background audio is fairly straightforward. I imported the background music into UE5 and set the volume to 8, which is slightly lower than the volume of the footsteps. I ticked the \u2018Loop\u2019 option to ensure the music plays continuously in the environment. Finally, I [&hellip;]<\/p>\n","protected":false},"author":56,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75,1],"tags":[],"class_list":["post-1641","post","type-post","status-publish","format-standard","hentry","category-development","category-year2"],"_links":{"self":[{"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/posts\/1641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/users\/56"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/comments?post=1641"}],"version-history":[{"count":8,"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/posts\/1641\/revisions"}],"predecessor-version":[{"id":1671,"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/posts\/1641\/revisions\/1671"}],"wp:attachment":[{"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/media?parent=1641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/categories?post=1641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wsagames.com\/yy8y24\/wp-json\/wp\/v2\/tags?post=1641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}