CPC A63F 13/54 (2014.09) [A63F 13/69 (2014.09); G06F 3/165 (2013.01); G06F 16/638 (2019.01); G06F 16/65 (2019.01)] | 18 Claims |
1. An method for playing audio, comprising:
obtaining attribute information of a virtual object;
grouping the attribute information of the virtual object according to an information classification rule, to obtain at least one group of attribute classification information, each of which corresponding to one behavior or one appearance of the virtual object; and
for each of the at least one group of attribute classification information, determining an audio resource matching the group of attribute classification information from a plurality of audio resources, the group of attribute classification information serving as a play triggering condition matching the audio resource;
obtaining behavior information or appearance information of a virtual object;
in response to the behavior information or the appearance information satisfying a play triggering condition, obtaining an audio resource matching the play triggering condition; and
playing the audio resource matching the play triggering condition.
|