Social interaction method and apparatus, device, storage medium, and program product
A social interaction method, apparatus, device, storage medium, and a program product are provided. A social service page is displayed that includes a first real scene room. The first real scene room corresponds to a first virtual social scene. A target virtual image corresponding to a target social object is displayed in the first virtual social scene in response to receiving an interactive operation on the first virtual social scene. The target social object is controlled by the terminal.
1 . A social interaction method, performed by a terminal, the method comprising:
displaying a social service page comprising a first real scene room and a room display list, wherein
the room display list lists a second real scene room,
the first real scene room corresponds to a first virtual social scene, and
the second real scene room corresponds to a second virtual social scene;
displaying a target virtual image corresponding to a target social object in the first virtual social scene in response to receiving an interactive operation on the first virtual social scene, wherein the target social object is controlled by the terminal; and
switching the first virtual social scene in the social service page to the second virtual social scene when any social interactive operation on the first virtual social scene is not received within a preset duration.
2 . The method according to claim 1 , wherein
the room display list comprises N orderly real scene rooms to be displayed, wherein Nis a positive integer,
each orderly real scene room is used to display a virtual social scene separately, and a first orderly real scene room being any one of the room display list; and
sorting of the N orderly real scene rooms in the room display list comprises one or more of the following:
sorting according to degrees of matching between virtual social scenes corresponding to the N orderly real scene rooms separately and object labels of target social objects, or
sorting according to attention levels of virtual social scenes corresponding to the N orderly real scene rooms separately.
3 . The method according to claim 2 , further comprising:
switching the first virtual social scene in the social service page to the second virtual social scene in response to receiving a room switching operation in a display process of the first virtual social scene, or
switching the first virtual social scene in the social service page to the second virtual social scene when display duration of the first virtual social scene reaches the preset duration.
4 . The method according to claim 3 , further comprising:
displaying a social session flow of the first virtual social scene in the social service page in the display process of the first virtual social scene, wherein
the social session flow comprises social session messages generated by social objects in the first virtual social scene.
5 . The method according to claim 4 , wherein
the first real scene room contains M virtual images engaging in social interaction in the first virtual social scene, wherein M is a positive integer;
the social session flow of the first virtual social scene contains one or more social session messages generated by the M virtual images during social interaction; and
the social session message comprises one or more of text, an expression, voice, a video, an image, or a link.
6 . The method according to claim 1 , wherein the displaying a target virtual image corresponding to a target social object in the first virtual social scene in response to receiving an interactive operation on the first virtual social scene comprises:
displaying the target virtual image corresponding to the target social object in the first virtual social scene in response to receiving a trigger operation on a virtual control in the first real scene room.
7 . The method according to any one of claim 1 , wherein the first real scene room contains M virtual images engaging in social interaction in the first virtual social scene, wherein M is a positive integer; and
the displaying a target virtual image corresponding to a target social object in the first virtual social scene in response to receiving an interactive operation on the first virtual social scene comprises:
displaying the target virtual image corresponding to the target social object in the first virtual social scene in response to receiving an interactive operation initiated for a reference virtual image among the M virtual images.
8 . The method according to claim 1 , wherein
the first virtual social scene contains a virtual prop; and the displaying a target virtual image corresponding to a target social object in the first virtual social scene in response to receiving an interactive operation on the first virtual social scene comprises:
displaying the target virtual image corresponding to the target social object in the first virtual social scene in response to receiving a trigger operation on the virtual prop, wherein the trigger operation of the target social object on the virtual prop comprises any of a click trigger operation, a voice trigger operation, or a gesture trigger operation.
9 . The method according to claim 1 , wherein the first virtual social scene comprises:
in response to receiving the interactive operation on the first virtual social scene, displaying the target virtual image corresponding to the target social object in the first virtual social scene.
10 . The method according to claim 1 , further comprising:
controlling the target virtual image to engage in social interaction in the first virtual social scene.
11 . The method according to claim 10 , wherein the controlling the target virtual image to engage in social interaction in the first virtual social scene comprises:
displaying, upon receiving a social session message transmitted by the target social object in the first virtual social scene, the social session message at a preset position on a periphery of the target virtual image in the first real scene room.
12 . The method according to claim 11 , wherein the controlling the target virtual image to engage in social interaction in the first virtual social scene comprises:
controlling the target virtual image to perform a group of object actions corresponding to target interactive content when the social session message transmitted by the target social object contains the target interactive content.
13 . The method according to claim 10 , wherein the controlling the target virtual image to
engage in social interaction in the first virtual social scene comprises:
controlling the target virtual image to perform a group of object actions corresponding to an action option which is selected by the target virtual image in the first virtual social scene.
14 . The method according to claim 10 , wherein
the first virtual social scene contains virtual props, and
the virtual props have interactive attributes; and the controlling the target virtual image to engage in social interaction in the first virtual social scene comprises:
controlling the target virtual image to trigger a virtual prop to trigger interactive content that matches the interactive attribute of the virtual prop.
15 . The method according to claim 14 , wherein
the virtual props comprise a first type of virtual props,
the interactive attributes of the first type of virtual props are used to indicate scene form change information of the first virtual social scene, and
the triggering interactive content that matches the interactive attribute of the virtual prop comprises:
updating a scene form of the first virtual social scene according to the interactive attributes of the first type of virtual props.
16 . The method according to claim 14 , wherein
the virtual props comprise a second type of virtual props,
the interactive attributes of the second type of virtual props are used to indicate object actions that one or more virtual images in the first virtual social scene are to perform, and
the triggering interactive content that matches the interactive attribute of the virtual prop comprises:
controlling the one or more virtual images in the first virtual social scene to perform corresponding object actions according to the interactive attributes of the second type of virtual props.
17 . The method according to claim 14 , wherein
the virtual props comprise a third type of virtual props,
the interactive attributes of the third type of virtual props are used to indicate feedback operations supported for the triggered virtual props, and
the triggering interactive content that matches the interactive attribute of the virtual prop comprises:
receiving feedback operations on the third type of virtual props according to the interactive attributes of the third type of virtual props.
18 . The method according to claim 1 , wherein
the first virtual social scene contains a social activity area, or the first virtual social scene contains an entry for a social activity; and the method further comprises:
displaying an activity page of the social activity when the first virtual social scene contains the social activity area and the target virtual image enters the social activity area, so that the target virtual image joins in the social activity through the activity page; or
displaying an activity page of the social activity when the first virtual social scene contains the entry for the social activity and the target virtual image triggers the entry for the social activity, so that the target virtual image joins in the social activity through the activity page.
19 . The method according to claim 1 , further comprising:
updating scene content of the first virtual social scene when a virtual perspective of the target virtual image in the first real scene room changes, wherein
the change in the virtual perspective comprises any of change in a focal length of the virtual perspective, change in an angle of the virtual perspective, and change in a position of the target virtual image.