Game device, method and non-transitory computer-readable storage medium
AssigneeCapcom Co., Ltd.
InventorsKazuki Kitamura, Hideki Hosoi, Yuichi Sakatani, Kazuki Sakakibara
Life of this patent
Estimating the term…
Abstract
A distance measuring unit 331 measures a distance of a path of sound based on the number of map units between the map unit where a sound source is located and the map unit where a player character is located. An effect unit 332 attenuates the volume of a game sound based on the distance calculated by the distance measuring unit 331. Thereby, it is possible to attenuate the volume level of the sound effect depending on the distance where the sound is transmitted, even if the sound comes around an object obstructing sound.
Claims12
A game device comprising:
- a virtual space generating unit for generating a virtual game space zoned by map units, each of which is a square and has a same size;
- a storage unit for storing game sound;
- a route searching unit for searching the shortest route from a sound source to a listener in a game;
- a counting unit for counting the number of the map units in the shortest route between a first map unit where the sound source is located and a second map unit where the listener is located;
- a calculating unit for calculating a distance from the sound source to the listener based on the number of the map units;
- and
- a sound processing unit for loading the data of the game sound generated by the sound source from the storage unit and attenuating the volume level of the game sound based on the distance calculated by the calculating unit.
A method of processing a sound effect, comprising:
- a virtual space generating step by a central processing unit (CPU) for generating a virtual game space zoned by map units, each of which is a square and has a same size;
- a route searching step by the CPU for searching the shortest route from a sound source to a listener in a game;
- a counting step by the CPU for counting the number of the map units in the shortest route between a first map unit where the sound source is located and a second map unit where the listener is located;
- a calculating step by the CPU for calculating a distance from the sound source to the listener based on the number of the map units;
- and
- a sound processing step by the CPU for loading the data of game sound generated by the sound source from a storage unit and attenuating the volume level of the game sound based on the distance calculated by the calculating step.
Dependencies are inferred from the claim text.