Methods and apparatus for interacting with virtual objects, and computer equipment and programs
The described method simplifies virtual object interaction by allowing users to select interaction actions through drag operations, enhancing efficiency and immersion in virtual social environments while reducing terminal device overhead.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2023-09-14
- Publication Date
- 2026-07-06
AI Technical Summary
Existing virtual object interaction methods are complex and inefficient, leading to increased overhead on terminal devices and reduced user immersion in virtual social environments.
A method and device that display a virtual scene with draggable virtual objects, allowing users to select interaction actions through a drag operation, simplifying the interaction process by displaying an interaction action selection screen and enabling interaction based on user selection.
Simplifies virtual object interaction, improving efficiency and flexibility, reducing user operations, and enhancing immersion in virtual social environments while minimizing terminal device overhead.
Smart Images

Figure 0007885347000001 
Figure 0007885347000002 
Figure 0007885347000003
Abstract
Description
Technical Field
[0001] This application claims priority based on a Chinese patent application filed with the Chinese Patent Office on October 18, 2022, with an application number of 202211275400.4 and an invention title of "Virtual Object Interaction Method, Device, Equipment and Computer Readable Storage Medium", and the entire content thereof is incorporated herein by reference.
[0002] The embodiments of this application relate to the technical field of the Internet, and in particular, to a virtual object interaction method, device, computer equipment and program.
Background Art
[0003] With the continuous development of Internet technology, people's requirements for entertainment forms are increasing. For example, in the interaction process of a game, a user can perform an interaction by controlling a virtual object (object) in a virtual scene.
Summary of the Invention
Problems to be Solved by the Invention
[0004] The embodiments of this application aim to provide a virtual object interaction method, device, computer equipment and program.
Means for Solving the Problems
[0005] According to one aspect, an embodiment of this application provides a virtual object interaction method, which is executed by a terminal device, and the method includes: displaying a virtual scene, the virtual scene including a first virtual object and at least one candidate virtual object; displaying an interaction operation selection screen (page) in response to a drag operation on a second virtual object among the at least one candidate virtual object, the interaction operation selection screen including a plurality of candidate interaction operations; and In response to a second operation on a target interaction action among the multiple candidate interaction actions, a target screen is displayed, and on the target screen, the first virtual object and the second virtual object interact in the virtual scene according to the target interaction action.
[0006] In another aspect, an interaction device for a virtual object is provided in an embodiment of the present application, the device includes a display module, The display module is used to display a virtual scene, and the virtual scene includes a first virtual object and at least one candidate virtual object. The display module is further used to display an interaction action selection screen in response to a drag operation on a second virtual target among the at least one candidate virtual target, and the interaction action selection screen includes a plurality of candidate interaction actions. The display module is further used to display a target screen in response to a second operation on a target interaction operation among the multiple candidate interaction operations, and on the target screen, the first virtual object and the second virtual object interact in the virtual scene according to the target interaction operation.
[0007] Another aspect is that an embodiment of the present application provides a computer device comprising a processor and a memory, the memory storing at least one program code, the at least one program code being loaded and executed by the processor, thereby causing the computer device to implement the interaction method of any one virtual object described above.
[0008] In another aspect, a non-temporary computer-readable storage medium is further provided, the non-temporary computer-readable storage medium storing at least one program code, the at least one program code being loaded and executed by a processor to cause the computer to implement the interaction method of any one virtual object described above.
[0009] In another aspect, a computer program or computer program product is provided, the computer program or computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to cause the computer to implement the interaction method of any one virtual object described above. [Effects of the Invention]
[0010] The technology provided in the embodiment of this application displays an interaction action selection screen by dragging the second virtual object, and by selecting a target interaction action on the interaction action selection screen, the first and second virtual objects are made to interact according to the target interaction action. This method takes into full consideration the positions of the first and second virtual objects in the virtual scene, making the interaction process of the virtual objects simpler, thereby improving the interaction efficiency and flexibility of the virtual objects, and thereby improving the user's sense of immersion in the virtual social. Furthermore, because the interaction process of the virtual objects is simpler, the number of user operations can be reduced, thereby reducing the number of times the terminal device responds to user operations and saving overhead on the terminal device. [Brief explanation of the drawing]
[0011] [Figure 1] This figure shows the implementation environment for the virtual object interaction method provided in the embodiment of this application. [Figure 2] This is a flowchart of the interaction method for a virtual object provided in the embodiment of this application. [Figure 3] This figure shows the display of a virtual scene provided in the embodiment of this application. [Figure 4] This figure shows another virtual scene display provided in the embodiment of this application. [Figure 5] This figure shows another virtual scene display provided in the embodiment of this application. [Figure 6] This figure shows the range definition frame (range boundary frame) after the second virtual target provided in the embodiment of this application has been dragged. [Figure 7] This figure shows the range definition frame after another second virtual target provided in the embodiment of this application has been dragged. [Figure 8] This figure shows the display of the information presented in the embodiment of this application. [Figure 9] This figure shows the display of the target object at the target position of the first virtual object provided in the embodiment of this application. [Figure 10] This figure shows the display of the interaction action selection screen provided in the embodiment of this application. [Figure 11] This figure shows the display of the target screen provided in the embodiment of this application. [Figure 12] This figure shows another target screen display provided in the embodiment of this application. [Figure 13] This figure shows the display of the target screen provided in the embodiment of this application. [Figure 14] This is a flowchart of the interaction method for a virtual object provided in the embodiment of this application. [Figure 15] This is a configuration diagram of the virtual object interaction device provided in the embodiment of this application. [Figure 16] This is a configuration diagram of the terminal equipment provided in the embodiment of this application. [Figure 17] This is a configuration diagram of the server provided in the embodiment of this application. [Modes for carrying out the invention]
[0012] To make the purpose, technical solution, and advantages of this application clearer, the embodiments of this application will be further described below in conjunction with the drawings.
[0013] Define the abbreviations or important terms related to the embodiments of this application.
[0014] Virtual Social: By allowing users to customize their own 2D (two-dimensional) or 3D (three-dimensional) virtual objects (including, but not limited to, humanoid models and other forms of models), users can use their virtual objects to conduct social chats with other people's virtual objects.
[0015] FIG. 1 is a diagram showing the implementation environment of the virtual object interaction method provided in the embodiment of this application. As shown in FIG. 1, the implementation environment includes a terminal device 101 and a server 102.
[0016] The terminal device 101 may be at least one of a smartphone, a game console, a desktop computer, a tablet computer, an e-book reader, and a laptop computer. The terminal device 101 is used to execute the virtual object interaction method provided in the embodiment of this application.
[0017] The terminal device 101 may generally refer to one of a plurality of terminal devices. In this embodiment, only the terminal device 101 will be used as an example for description. As can be understood by those skilled in the art, the number of the above-mentioned terminal devices 101 may be more or less. For example, there may be only one of the above-mentioned terminal devices 101, or the above-mentioned terminal devices 101 may be dozens, hundreds, or more. However, in the embodiments of this application, the number and type of terminal devices are not limited.
[0018] Server 102 may be a single server, a group of multiple servers, or any one of a cloud computing platform and / or a virtualization center; however, the embodiments of this application are not limited to these. Server 102 and terminal equipment 101 are connected to each other via a wired or wireless network. Server 102 has data receiving, data processing, and data transmission functions. Of course, Server 102 may have other functions, but the embodiments of this application are not limited to these.
[0019] As those skilled in the art will understand, the terminal equipment 101 and server 102 described above are merely illustrative examples, and all other existing or potentially future terminal equipment or servers, to the extent applicable to this application, are included in the scope of protection of this application and are incorporated herein by reference.
[0020] An embodiment of this application provides a method for interacting with a virtual object, which can be applied to the implementation environment shown in Figure 1 above, and taking the flowchart of the method for interacting with a virtual object provided in the embodiment of this application shown in Figure 2 as an example, the method can be executed by the terminal device 101 in Figure 1. As shown in Figure 2, the method includes the following steps.
[0021] Step 201: Display the virtual scene, which displays the first virtual object and at least one candidate virtual object.
[0022] In the exemplary embodiments of this application, an application program capable of providing a virtual scene is installed and executed on the terminal device. This application program may refer to an application program that needs to be downloaded and installed (also called a host program), or it may be an embedded program that depends on the execution of the host program, such as an applet, but is not limited to this in the embodiments of this application. The embedded program is an application program developed and completed based on a programming language and depends on the execution of the host program. The embedded program does not need to be downloaded and installed and can be executed simply by dynamically loading it into the host program. The user can find the embedded program they need by methods such as searching or scanning, and can use the embedded program simply by turning on the desired embedded program within the host program. After use, the embedded program can be turned off, which does not occupy the terminal's memory and is very convenient.
[0023] As an example, in response to an operation command for the application program, the application program is turned on, a virtual scene is displayed, and the virtual scene displays a first virtual object and at least one candidate virtual object; that is, the virtual scene includes a first virtual object and at least one candidate virtual object. The user corresponding to the candidate virtual object may be a friend of the user corresponding to the first virtual object, or not a friend of the user corresponding to the first virtual object. Furthermore, the operation command for the application program may be a click operation on the application program's icon, or other operations, but is not limited to these in the embodiments of this application.
[0024] Figure 3 shows a display of a virtual scene provided in an embodiment of the present application. The virtual scene displays a first virtual object 301, candidate virtual object 1 302, candidate virtual object 2 303, candidate virtual object 3 304, and candidate virtual object 4 305. The virtual scene may further include a scene indicator (ID), for example, the “State Square” shown in Figure 3, which is used to indicate that the user is currently located in the virtual scene.
[0025] Furthermore, users can zoom in or out of the virtual scene. When zooming out, the area of the virtual scene displayed on the terminal's screen is relatively small, so the number of virtual objects displayed in the virtual scene may decrease. When zooming in, the area of the virtual scene displayed on the terminal's screen is relatively large, so the number of virtual objects displayed in the virtual scene may increase.
[0026] Step 202: In response to the first operation on the second virtual target among at least one candidate virtual target, set the second virtual target to a draggable state.
[0027] Among these, the terminal device can detect a first operation, and if a first operation is detected and the first operation is directed to one or more candidate virtual targets from at least one candidate virtual target, the terminal device can execute a subsequent process that sets the second virtual target to a draggable state in response to the first operation directed to the second virtual target from at least one candidate virtual target by designating the one or more candidate virtual targets related to the first operation as the second virtual target.
[0028] For example, the first operation on the second virtual object may be a long press operation on the second virtual object. A long press operation on the second virtual object is determined to have been received when the second virtual object is selected and the selection time exceeds the target time. Optionally, the target time may be set based on experience or adjusted based on the implementation environment, but is not limited to the embodiments of this application. For example, the target time is 1 second. Selecting the second virtual object may refer to an operation to select the second virtual object by clicking on the second virtual object (single click, double click, or other click method), or by an operation to select the second virtual object by voice (for example, by uttering a voice message "Select X," where X is the name of the second virtual object), but is not limited to the method of selecting the second virtual object in the embodiments of this application.
[0029] Optionally, upon receiving a selection operation on the second virtual object, the first time is determined when the selection operation on the second virtual object is received, and the second time is determined based on the target time length and the first time (for example, the second time is the sum of the target time length and the first time). When the second virtual object is still selected (i.e., in the selected state) at the second time, it means that the first operation on the second virtual object among at least one candidate virtual object has been detected, and the second virtual object is set to a draggable state.
[0030] As an example, if a selection operation for the second virtual object is received at 11:21:25 (i.e., the first time), and the target time length is 1 second, then the second time is 11:21:26. If the second virtual object is still selected at 11:21:26, the second virtual object is set to a draggable state.
[0031] In one possible implementation, the virtual scene further displays (includes) an action indicator for the action currently being performed by each candidate virtual object. For example, the virtual scene displays a bubble corresponding to each candidate virtual object, and each bubble displays an action indicator for the action currently being performed by each virtual object. The action indicator may be an image of the action, the name of the action, or any other indicator that can uniquely represent the action, but is not limited to the embodiments of this application. In Figure 3, 307 is a bubble corresponding to candidate virtual object 1, 308 is a bubble corresponding to candidate virtual object 2, 309 is a bubble corresponding to candidate virtual object 3, and 310 is a bubble corresponding to candidate virtual object 4.
[0032] The method provided in the embodiments of this application further includes canceling the display of an action indicator for the operation currently being performed by the second candidate virtual object in response to a first operation on the second candidate virtual object among at least one candidate virtual object. Figure 4 shows another virtual scene display provided in the embodiments of this application, where candidate virtual object 3 is the second virtual object, and based on the first operation on candidate virtual object 3, the display of the bubble corresponding to candidate virtual object 3 is canceled, that is, the display of an action indicator for the operation currently being performed by candidate virtual object 3 is canceled.
[0033] Alternatively, the virtual scene may also display (include) an action indicator of the action currently being performed by each virtual object. The method provided in the embodiment of the present application further includes canceling the display of the action indicator of the action currently being performed by each virtual object in response to a first operation on a second candidate virtual object among at least one candidate virtual object. Figure 5 shows another display of a virtual scene provided in the embodiment of the present application, where candidate virtual object 3 is the second virtual object, and in response to a first operation on candidate virtual object 3, the display of the action indicator of the action currently being performed by each virtual object is canceled.
[0034] As an example, step 202 is an optional step. In some implementations, after the virtual scene is displayed in step 201, at least one candidate virtual object included in the virtual scene is in a non-dragable state by default, in which case step 202 must be performed, thereby setting the second virtual object to a draggable state in accordance with the first operation described above, making it convenient for the user to perform a drag operation on the second virtual object. Alternatively, in some other implementations, after the virtual scene is displayed in step 201, at least one candidate virtual object included in the virtual scene is in a draggable state by default, in which case step 202 does not need to be performed, and the user can then directly perform a drag operation on the second virtual object.
[0035] Step 203: In response to a drag operation on the second virtual object, an interaction action selection screen is displayed, and multiple candidate interaction actions are displayed on the interaction action selection screen.
[0036] Among these, the terminal device can detect drag operations, and when a drag operation is detected and the drag operation is directed to one or more candidate virtual targets from at least one candidate virtual target, the one or more candidate virtual targets related to the drag operation are designated as second virtual targets, thereby enabling the display process of a subsequent interaction operation selection screen in response to the drag operation on the second virtual target from at least one candidate virtual target, and the interaction operation selection screen includes multiple candidate interaction operations.
[0037] To ensure clarity, when step 202 must be performed before step 203, the first operation in step 202 and the drag operation in step 203 are directed at the same second virtual object. In some implementations, the first operation and the drag operation are consecutive operations, i.e., the end time of the first operation is the same as the start time of the drag operation. In this case, the user can perform the drag operation immediately after performing the first operation without releasing their hand. In some other implementations, the first operation and the drag operation may be discontinuous operations, i.e., the end time of the first operation is earlier than the start time of the drag operation. In this case, the user releases their hand after performing the first operation and then performs the drag operation.
[0038] In one possible implementation, the process of displaying an interaction action selection screen in response to a drag operation on a second virtual object includes determining the range definition frame after the second virtual object has been dragged, and displaying an interaction action selection screen in response to the intersection of the range definition frame after the second virtual object has been dragged and the range definition frame of the first virtual object. Of these, the range definition frame after the second virtual object has been dragged is used to indicate the area that covers the second virtual object, and the range definition frame of the first virtual object is used to indicate the area that covers the first virtual object.
[0039] In the embodiments of this application, however, the process for determining the range definition frame after a second virtual object has been dragged in response to a drag operation on the second virtual object is not limited. For example, in response to a drag operation on the second virtual object, the center position after the second virtual object has been dragged is determined; a reference region is determined with the center position after the second virtual object has been dragged as the center; and the reference region is then used as the range definition frame after the second virtual object has been dragged.
[0040] Optionally, a rectangle is defined by centering the second virtual object at its center position after it has been dragged, defining the first length as the width and the second length as the height, and the area corresponding to this rectangle is defined as the reference area. The first and second lengths may be set according to experience or adjusted based on the implementation environment, but are not limited to this in the embodiments of this application. Figure 6 shows the range definition frame after the second virtual object has been dragged, as provided in the embodiments of this application.
[0041] Optionally, a circle is determined by setting the center position of the second virtual object after it has been dragged as the center and the third length as the radius, and the area corresponding to this circle is defined as the reference area. The third length may be set according to experience or adjusted based on the implementation environment, but is not limited to this in the embodiments of this application. Figure 7 shows another range definition frame after the second virtual object has been dragged, as provided in the embodiments of this application.
[0042] The above explanation uses the example of a rectangular or circular reference area, but the embodiment of this application is not limited to the shape of the reference area, and the shape of the reference area may be other possible shapes such as a triangle. Furthermore, the range definition frame may have multiple forms; for example, in addition to the transparent form (invisible to the user) shown in Figures 6 and 7, the range definition frame may also have an opaque form (visible to the user), such as a form with a shading fill. Note that the process for determining the range definition frame of the first virtual object is the same as the process for determining the range definition frame after the second virtual object has been dragged, so a detailed explanation is omitted here.
[0043] In one possible implementation, the virtual scene further displays (includes) an action indicator of the action currently being performed by the first virtual object. The method provided in the embodiment of this application further includes canceling the display of the action indicator of the action currently being performed by the first virtual object based on the intersection of the range definition frame after the second virtual object has been dragged and the range definition frame of the first virtual object. Of these, the method for canceling the display of the action indicator of the action currently being performed by the first virtual object can be found in the method for canceling the display of the action indicator of the action currently being performed by the second virtual object, which corresponds to Figure 4 above, so a detailed explanation of that is omitted here.
[0044] In one possible implementation, there are two implementation methods for representing the interaction action selection screen based on the intersection of the range definition frame after the second virtual object is dragged and the range definition frame of the first virtual object, as follows:
[0045] Implementation Method 1: Display information based on the intersection of the range definition frame of the second virtual object after it has been dragged and the range definition frame of the first virtual object. This information is used to instruct the user to cancel the drag on the second virtual object; and, in response to the cancellation of the drag on the second virtual object, display the interaction action selection screen. Canceling the drag means stopping the drag, and the interaction action selection screen is displayed in response to the stopping of the drag on the second virtual object (i.e., the terminal device has detected the cessation of the drag operation). Of these, the position of the second virtual object in the virtual scene before it is dragged is different from the position of the second virtual object in the virtual scene after the drag on the second virtual object has stopped.
[0046] Optionally, the displayed information may be of any content, but this is not limited to the embodiments of this application. For example, the displayed information is "Release your hands and select an action performed by two people." Figure 8 shows the display of the displayed information provided in the embodiments of this application. In this case, since the range definition frame after the second virtual object has been dragged intersects with the range definition frame of the first virtual object, the display of the action indicator for the action currently being performed by the first virtual object is canceled, and the displayed information "Release your hands and select an action performed by two people" is displayed.
[0047] Implementation Method Two: Based on the intersection of the range definition frame of the second virtual object after it has been dragged and the range definition frame of the first virtual object, a target object is displayed at the target position of the first virtual object, and the target object is used to instruct the user to cancel the drag on the second virtual object; and in response to the cancellation of the drag on the second virtual object, an interaction action selection screen is displayed. As mentioned above, canceling a drag is equivalent to stopping the drag, and in response to the drag on the second virtual object being stopped (i.e., the terminal device detecting the cessation of the drag operation), the interaction action selection screen is displayed.
[0048] Optionally, the target position may be any position, and the target object may be any object, but these are not limited to the embodiments of this application. For example, the target position may be below the feet of the first virtual object, and the target object may be a circle, that is, a circle may be displayed around the feet of the first virtual object. Figure 9 shows the display of the target object at the target position of the first virtual object provided in an embodiment of this application. The form of the target object shown in Figure 9 is merely illustrative and does not limit the form of the target object; the form of the target object may be set according to actual needs. For example, the form of the target object may further be a form with shading filled in.
[0049] In one possible implementation, when dragging a second virtual object is canceled (or stopped), an interaction action selection screen is displayed, and at least one candidate interaction action is displayed on the interaction action selection screen. Figure 10 shows the display of the interaction action selection screen provided in an embodiment of this application. Of these, 1001 is the interaction action selection screen, and 1002 is a list of candidate interaction actions. The interaction action selection screen may further include a screen indicator, which is used to indicate that the user is currently on the interaction action selection screen. For example, the screen indicator is “Select an action by two people” as shown in Figure 10.
[0050] Step 204: In response to the second operation for the target interaction action among multiple candidate interaction actions, the target screen is displayed, and on the target screen, the first virtual object and the second virtual object interact in the virtual scene according to the target interaction action.
[0051] In this case, the terminal device can detect a second operation, and when a second operation is detected and the second operation is directed to one or more candidate interaction actions from among multiple candidate interaction actions, the one or more candidate interaction actions related to the second operation are designated as the target interaction action, thereby enabling the subsequent display process of the target screen to be executed in response to the second operation directed to the target interaction action from among the multiple candidate interaction actions.
[0052] In one possible implementation, the target interaction action is any one of several candidate interaction actions. The second operation on the target interaction action refers to a selection operation on the target interaction action. Since the explanation of this selection operation can be found in step 202 above, a detailed explanation is omitted here.
[0053] Optionally, the process of displaying the target screen in response to a second operation on a target interaction operation from among several candidate interaction operations includes the following: a request for acquiring operation data is generated in response to the second operation on the target interaction operation, and the request for acquiring operation data includes the operation indicator for the target interaction operation, the target indicator for the second virtual object, and the target indicator for the first virtual object. The request for acquiring operation data is sent to the server, which is used to obtain operation data when the first and second virtual objects interact according to the target interaction operation; the operation data returned by the server in response to the request for acquiring operation data is received; the operation data is executed, and upon completion of the execution of the operation data, the target screen is displayed, on which the first and second virtual objects interact in the virtual scene according to the target interaction operation. Also, as an example, the target screen still displays the second virtual object before it is dragged, and the operation indicator for the operation performed by the second virtual object before it is dragged.
[0054] Of these, the action indicator for the target interaction action may be the action name of the target interaction action, or any other indicator that can uniquely represent the target interaction action, but is not limited to these in the embodiments of this application. The target indicator for the virtual object may be the username of the user corresponding to the virtual object, or the account of the user corresponding to the virtual object in the application program, or any other indicator that can uniquely represent the virtual object, but is not limited to these in the embodiments of this application.
[0055] Figure 11 shows the display of the target screen provided in the embodiment of this application. The second virtual target is candidate virtual target 3, the target interaction action is drinking coffee, and both the first and second virtual targets drink coffee. The target screen also displays the second virtual target before it is dragged, and action indicators for the action that the second virtual target will perform before it is dragged.
[0056] Optionally, the interaction action selection screen also displays (includes) a text input control, which is used to obtain text content; for example, 1003 in Figure 10 is a text input control. The process of displaying the target screen in response to a second operation on the target interaction action among multiple candidate interaction actions includes displaying the target screen based on the second operation on the target interaction action among multiple candidate interaction actions and the text content entered into the text input control, where the first virtual object and the second virtual object interact in the virtual scene according to the target interaction action, and the target screen displays (includes) text content.
[0057] Figure 12 shows another target screen display provided in the embodiment of this application. In this case, the second virtual target is candidate virtual target 3, the target interaction action is drinking coffee, and in the virtual scene, the first and second virtual targets are drinking coffee, and the text content "Let's drink coffee together" is displayed.
[0058] Optionally, the interaction action selection screen also displays (includes) confirmation controls. For example, 1004 in Figure 10 is a confirmation control. In this case, the process of displaying the target screen in response to a second operation on the target interaction action among multiple candidate interaction actions includes displaying the target screen in response to a second operation on the target interaction action among multiple candidate interaction actions and a third operation on the confirmation control. The third operation on the confirmation control may also be a selection operation on the confirmation control, and the timing of the third operation on the confirmation control is later than the timing of the second operation on the target interaction action among multiple candidate interaction actions.
[0059] Optionally, when the interaction action selection screen includes both a text input control and a confirmation control, the process of displaying the target screen in response to a second operation on a target interaction action among multiple candidate interaction actions includes displaying the target screen based on a second operation on the target interaction action among multiple interaction actions, the text content entered in the text input control, and a third operation on the confirmation control. Of these, the timing of the third operation on the confirmation control is later than the timing of the second operation on the target interaction action, and later than the timing of entering text content into the text input control. The timing of the second operation on the target interaction action may be earlier or later than the timing of entering text content into the text input control, but is not limited to this in the embodiments of this application.
[0060] Optionally, the process of displaying a target screen based on a second operation for a target interaction operation among multiple interaction operations, text content entered in a text input control, and a third operation for a confirmation control includes generating an operation data acquisition request based on a second operation for a target interaction operation among multiple candidate interaction operations, text content entered in a text input control, and a third operation for a confirmation control, the operation data acquisition request including an operation indicator for the target interaction operation, an object indicator for the second virtual object, an object indicator for the first virtual object, and text content; sending the operation data acquisition request to the server; receiving the operation data returned by the server based on the operation data acquisition request; executing the operation data; and displaying the target screen upon completion of the execution of the operation data, on the target screen where the first and second virtual objects interact in the virtual scene according to the target interaction operation, and the text content is displayed on the target screen.
[0061] In one possible implementation, the process of displaying a target screen in response to a second operation on a target interaction operation among several candidate interaction operations involves sending an interaction message to a terminal device used by the user corresponding to the second virtual object in response to a second operation on the target interaction operation among several candidate interaction operations, the interaction message containing an operation indicator for the target interaction operation, and the interaction message being used to instruct the first and second virtual objects to interact according to the target interaction operation; upon receiving the confirmation message sent by the terminal device used by the user corresponding to the second virtual object, the target screen is displayed, on which the first and second virtual objects interact in the virtual scene according to the target interaction operation, and, as an example, the display of the second virtual object before it is dragged may be canceled on the target screen.
[0062] Optionally, the process of sending an interaction message to a terminal device used by a user corresponding to a second virtual target in response to a second operation on a target interaction operation among multiple candidate interaction operations includes: obtaining the friends list of the user corresponding to the first virtual target in response to a second operation on a target interaction operation among multiple candidate interaction operations; and sending an interaction message to a terminal device used by a user corresponding to the second virtual target in response to the fact that the user corresponding to the second virtual target is on the friends list of the user corresponding to the first virtual target.
[0063] The process of determining whether a user corresponding to the second virtual object exists in the friends list of the user corresponding to the first virtual object includes the following: determining the user identifier of the user corresponding to the second virtual object; determining the user identifiers of the users included in the friends list of the user corresponding to the first virtual object; and determining that the user corresponding to the second virtual object exists in the friends list of the user corresponding to the first virtual object based on the presence of the user identifier of the user corresponding to the second virtual object in the user identifier of the user included in the friends list of the user corresponding to the first virtual object, and determining that the user corresponding to the second virtual object does not exist in the friends list of the user corresponding to the first virtual object based on the absence of the user identifier of the user corresponding to the second virtual object in the friends list of the user corresponding to the first virtual object.
[0064] Figure 13 shows the display of the target screen provided in an embodiment of this application. The second virtual target is candidate virtual target 3, the target interaction action is drinking coffee, and the target screen also displays the text "Let's drink coffee together". The display of the candidate virtual target 3 before it is dragged, and the action indicators of the actions performed by candidate virtual target 3 before it was dragged, are all canceled.
[0065] By dragging the second virtual object using the method described above, the interaction action selection screen is displayed, and by selecting the target interaction action on the interaction action selection screen, the first and second virtual objects are made to interact according to the target interaction action. This method takes into full consideration the positions of the first and second virtual objects within the virtual scene, making the interaction process of the virtual objects simpler. This improves the interaction efficiency and flexibility of the virtual objects, and enhances the user's immersion in the virtual social environment. Furthermore, because the interaction process of the virtual objects is simpler, the number of user operations can be reduced, thereby reducing the number of times the terminal device responds to user operations and saving overhead on the terminal device.
[0066] Figure 14 is a flowchart of the interaction method for virtual objects provided in an embodiment of this application. It includes three execution entities, which are the user, the terminal device, and the server.
[0067] The user selects a second virtual target and continues for a target time duration. The target time duration may be set based on experience or adjusted based on the implementation environment, but is not limited thereto in the embodiments of this application. For example, the target time duration is 1 second.
[0068] The terminal device allows the second virtual object to be moved to any desired position by setting it to drag mode.
[0069] The user drags the second virtual object so that the range definition frame of the second virtual object after it has been dragged intersects with the range definition frame of the first virtual object.
[0070] The terminal device displays a target object at the target position of the first virtual object. The target position may be any position, and the target object may be any object; however, the embodiments of this application are not limited to these. For example, the target position may be below the feet of the first virtual object, and the target object may be a circle.
[0071] The user undoes the drag on the second virtual object and cancels the selection on the second virtual object.
[0072] The terminal device displays an interaction action selection screen, which displays at least one candidate interaction action, a text input control, and a confirmation control. The text input control is used by the user to input text content, and the text content may be arbitrary, but is not limited to this in the embodiments of this application.
[0073] The user selects a target interaction action from at least one candidate interaction action, enters text content into a text input control, and selects a decision control. The timing of selecting the target interaction action and entering text content into the text input control precedes the timing of selecting the decision control. The timing of selecting the target interaction action may also precede the timing of entering text content into the text input control, or it may precede or follow the timing of entering text content into the text input control, but this is not limited to the embodiments of this application.
[0074] The terminal device transmits the target indicator of the second virtual object, the action indicator of the target interaction operation, the target indicator of the first virtual object, and the text content to the server, causing the server to obtain action data based on the target indicator of the second virtual object, the action indicator of the target interaction operation, and the target indicator of the first virtual object. This action data is the action data by which the first and second virtual objects interact according to the target interaction operation.
[0075] The server returns operational data.
[0076] The terminal device executes the operation data, and upon completion of the execution of the operation data, it displays the target screen. On the target screen, the first virtual object and the second virtual object interact in the virtual scene according to the target interaction operation, and text content is displayed on the target screen.
[0077] Figure 15 is a diagram of the configuration of an interaction device for a virtual object provided in an embodiment of this application, and as shown in Figure 15, the device includes the following:
[0078] Display module 1501: Used to display a virtual scene, the virtual scene displays (includes) the first virtual object and at least one candidate virtual object; and Control module 1502: Used to set the second virtual target to a draggable state in response to a first operation on the second virtual target among at least one candidate virtual target.
[0079] The display module 1501 is further used to display an interaction action selection screen in response to a drag operation on the second virtual target among at least one candidate virtual target, and the interaction action selection screen displays (includes) multiple candidate interaction actions.
[0080] The display module 1501 is further used to display a target screen in response to a second operation on a target interaction operation among several candidate interaction operations. On the target screen, the first virtual object and the second virtual object interact in the virtual scene according to the target interaction operation.
[0081] For example, the control module 1502 may be a selectable module. That is, the device provided in the embodiment of this application may include only the display module 1501 described above. In some embodiments, the control module 1502 may be further included.
[0082] In one possible implementation, the device further includes a determination module, which is used to determine a range definition frame after a second virtual object has been dragged in response to a drag operation on the second virtual object, and the range definition frame is used to indicate the area that covers the second virtual object, of which the steps performed by the determination module may be completed by a display module 1501, that is, the display module 1501 is used to determine a range definition frame after a second virtual object has been dragged in response to a drag operation on the second virtual object, and the range definition frame is used to indicate the area that covers the second virtual object.
[0083] The display module 1501 is used to display an interaction action selection screen in response to the intersection of the range definition frame of the second virtual object after it has been dragged and the range definition frame of the first virtual object.
[0084] In one possible implementation, the display module 1501 displays information in response to the intersection of the range definition frame of the second virtual object after it has been dragged with the range definition frame of the first virtual object. This information is used to instruct the user to cancel the drag on the second virtual object (i.e., to stop the drag). In response to the cancellation of the drag on the second virtual object (i.e., to stop the drag on the second virtual object), the display module 1501 is used to display an interaction action selection screen.
[0085] In one possible implementation, the display module 1501 displays a target object at the target position of the first virtual object in response to the intersection of the range definition frame of the second virtual object after it has been dragged and the range definition frame of the first virtual object. The target object is used to instruct the user to cancel the drag on the second virtual object (i.e., stop the drag), and is used to display an interaction action selection screen in response to the cancellation of the drag on the second virtual object (i.e., stopping the drag on the second virtual object).
[0086] In one possible implementation, the determination module determines the center position of the second virtual object after it has been dragged, in response to a drag operation on the second virtual object; determines a reference region centered on the center position of the second virtual object after it has been dragged; and uses the reference region as the range definition frame for the second virtual object after it has been dragged.
[0087] The steps performed by the decision module can also be completed by the display module 1501, which, in response to a drag operation on the second virtual object, determines the center position of the second virtual object after it has been dragged; determines a reference area centered on the center position of the second virtual object after it has been dragged; and uses the reference area as the range definition frame for the second virtual object after it has been dragged.
[0088] In one possible implementation, the virtual scene further displays (includes) an action indicator of the action currently being performed by the first virtual object, and the control module 1502 is further used to cancel the display of the action indicator of the action currently being performed by the first virtual object in response to the intersection of the range definition frame after the second virtual object has been dragged and the range definition frame of the first virtual object.
[0089] In one possible implementation, the virtual scene further displays (includes) an operation indicator for the operation currently being performed by each candidate virtual object, and the control module 1502 is further used to cancel the display of the operation indicator for the operation currently being performed by the second virtual object among at least one candidate virtual object in response to a first operation on the second virtual object among at least one candidate virtual object, or to cancel the display of the operation indicator for the operation currently being performed by each candidate virtual object in response to a first operation on the second virtual object among at least one candidate virtual object.
[0090] In one possible implementation, the interaction action selection screen further displays (includes) a text input control, which is used to obtain text content, and the display module 1501 is used to display a target screen based on the second operation for the target interaction action among multiple candidate interaction actions and the text content entered in the text input control, on the target screen the first virtual object and the second virtual object interact in the virtual scene according to the target interaction action, and the target screen displays (includes) text content.
[0091] In one possible implementation, the apparatus further includes the following:
[0092] Generation module: Used to generate an action data acquisition request in response to a second operation on a target interaction action among multiple candidate interaction actions. The action data acquisition request includes an action indicator for the target interaction action, an object indicator for the second virtual object, and an object indicator for the first virtual object; Transmission module: Used to send operation data acquisition requests to the server. Operation data acquisition requests are used to obtain operation data when the first virtual object and the second virtual object interact according to the target interaction operation; Receiving module: Used to receive operational data returned by the server in response to an operational data acquisition request; Executable module: Used to execute operational data; and Display module 1501: Used to display the target screen upon completion of the execution of the operation data.
[0093] Furthermore, the steps performed by the generation module, transmission module, reception module, and execution module described above can also be completed by the display module 1501. Specifically, the display module 1501 generates an operation data acquisition request in response to a second operation on a target interaction operation among several candidate interaction operations, the operation data acquisition request includes an operation indicator for the target interaction operation, an object indicator for the second virtual object, and an object indicator for the first virtual object; sends the operation data acquisition request to the server, which is used to obtain operation data when the first virtual object and the second virtual object interact according to the target interaction operation; receives the operation data returned by the server based on the operation data acquisition request; executes the operation data; and displays the target screen upon completion of the execution of the operation data.
[0094] In one possible implementation, the transmitting module is used to send an interaction message to a terminal device used by a user corresponding to a second virtual object in response to a second operation on a target interaction operation among several candidate interaction operations, the interaction message includes an operation indicator for the target interaction operation, and the interaction message is used to instruct the first and second virtual objects to interact according to the target interaction operation. The steps performed by the transmitting module may also be completed by the display module 1501, that is, the display module 1501 is used to send an interaction message to a terminal device used by a user corresponding to a second virtual object in response to a second operation on a target interaction operation among several candidate interaction operations, the interaction message includes an operation indicator for the target interaction operation, and the interaction message is used to instruct the first and second virtual objects to interact according to the target interaction operation.
[0095] The display module 1501 is used to display the target screen in response to receiving a confirmation message sent by a terminal device used by the user corresponding to the second virtual target.
[0096] In one possible implementation, the transmitting module retrieves the friend list of the user corresponding to the first virtual target in response to a second operation on a target interaction operation among several candidate interaction operations; and is used to send an interaction message to the terminal device used by the user corresponding to the second virtual target, depending on whether the user corresponding to the second virtual target is present in the friend list of the user corresponding to the first virtual target.
[0097] The steps performed by the transmission module can also be completed by the display module 1501, which, in response to a second operation on a target interaction operation among several candidate interaction operations, retrieves the friends list of the user corresponding to the first virtual target; and, in response to the fact that the user corresponding to the second virtual target is in the friends list of the user corresponding to the first virtual target, sends an interaction message to the terminal device used by the user corresponding to the second virtual target.
[0098] To facilitate understanding, the above-described embodiment illustrates the division of each functional module as an example of how the device performs its functions. However, in actual applications, the above functions may be assigned to different functional modules as needed; that is, the internal configuration of the device may be assigned to different functional modules to complete all or some of the above functions. Furthermore, the device provided in the above-described embodiment belongs to the same concept as the embodiment of the method, and its specific implementation process and resulting technical effects can be found in the embodiment of the method, which is omitted here for further detail.
[0099] Figure 16 is a diagram of the configuration of a terminal device 1600 provided in one exemplary embodiment of this application. The terminal device 1600 may be a mobile device, such as a smartphone, tablet computer, MP3 (Moving Picture Experts Group Audio Layer III) player, MP4 (Moving Picture Experts Group Audio Layer IV4) player, laptop computer, or desktop computer. The terminal device 1600 may also be referred to as a user device, mobile device, laptop device, desktop device, etc.
[0100] Generally, terminal equipment 1600 includes a processor 1601 and a memory unit 1602.
[0101] The processor 1601 may include one or more processing cores, such as a 4-core processor or an 8-core processor. The processor 1601 may be implemented in the form of at least one hardware component from among a DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1601 may also include a main processor and a coprocessor, the main processor being a processor that processes data in an active state and also referred to as a Central Processing Unit (CPU), and the coprocessor being a low-power processor that processes data in a standby state. In some embodiments, the processor 1601 may integrate a GPU (Graphics Processing Unit), which is used to render and draw content that needs to be displayed on a display. In some embodiments, the processor 1601 may further include an Artificial Intelligence (AI) processor, which is used to process computational operations related to machine learning.
[0102] The memory unit 1602 may include one or more computer-readable storage media, which may be non-temporary. The memory unit 1602 may further include high-speed random-access memory and non-volatile memory, such as one or more magnetic disks, or fresh memory. In some embodiments, the non-temporary computer-readable storage media of the memory unit 1602 is used to store at least one instruction, which is executed by the processor 1601 to implement the method provided in the embodiments of this application.
[0103] In some embodiments, the terminal device 1600 may optionally further include a peripheral device interface 1603 and at least one peripheral device. The processor 1601, memory 1602, and peripheral device interface 1603 may be connected by a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1603 by a bus, signal lines, or circuit board. Specifically, the peripheral device includes at least one of the following: an RF circuit 1604, a display panel 1605, a camera head assembly 1606, an audio circuit 1607, and a power supply 1609.
[0104] The peripheral device interface 1603 is used to connect at least one peripheral device related to input / output (I / O) to the processor 1601 and the memory 1602. In some embodiments, the processor 1601, memory 1602, and peripheral device interface 1603 can be integrated on the same chip or circuit board, and in some other embodiments, any one or two of the processor 1601, memory 1602, and peripheral device interface 1603 may be implemented on a single chip or circuit board, but this embodiment is not limited thereto.
[0105] The RF circuit 1604 is used to transmit and receive RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1604 communicates with communication networks and other communication devices using electromagnetic signals. The RF circuit 1604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 1604 includes an antenna system, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, user ID identification module cards, etc. The RF circuit 1604 can communicate with other terminals using at least one wireless communication protocol. This wireless communication protocol may include, but is not limited to, the Internet, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or wireless WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1604 may further include, but is not limited to, circuits related to Near Field Communication (NFC).
[0106] The display panel 1605 is used to display a user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. The display panel 1605 also has the ability to collect touch signals on or over the surface of the display panel 1605. These touch signals can be input to the processor 1601 and processed as control signals. The display panel 1605 is used to provide virtual buttons and / or a virtual keyboard, which are also referred to as soft buttons and / or a soft keyboard. In some embodiments, there may be one display panel 1605, which may be provided on the front panel of the terminal device 1600; in some other embodiments, there may be at least two display panels 1605, which may be provided on different surfaces of the terminal device 1600 or designed to be foldable; and in some other embodiments, the display panel 1605 is a flexible display and may be provided on a curved or foldable surface of the terminal device 1600. Furthermore, the display panel 1605 may be installed as a non-rectangular, irregular shape, i.e., a panel with a special shape. The display panel 1605 can be made from materials such as liquid crystal displays (LCDs) and organic light-emitting diodes (OLEDs).
[0107] The camera head assembly 1606 is used to capture images or videos. Optionally, the camera head assembly 1606 includes a front camera head and a rear camera head. Typically, the front camera head is used for video calls or selfies, and the rear camera head is used for taking photos or videos. In some embodiments, there are at least two rear camera heads, each being any one of the following: a main camera head, a depth-of-field camera head, and a wide-angle camera head. The fusion of the main camera head and the depth-of-field camera head enables background blurring, and the fusion of the main camera head and the wide-angle camera head enables panoramic and virtual reality (VR) shooting. In some embodiments, the camera head assembly 1606 may further include a flash. The flash may be a monochromatic or dichromatic flash. A dichromatic flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation under different color temperatures.
[0108] The audio circuit 1607 is used to provide an audio interface between the user and the terminal device 1600. The audio circuit 1607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, convert the sound waves into electrical signals, and input them to the processor 1601 for processing, or to input them to the RF circuit 1604 for voice communication. For the purpose of stereo sound pickup or noise reduction, there may be multiple microphones, each installed in a different location on the terminal device 1600. The microphone may further be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1601 or the RF circuit 1604 into sound waves. The speaker may be a conventional membrane speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also into sound waves inaudible to humans for purposes such as distance measurement. In some embodiments, the audio circuit 1607 may further include a headphone jack.
[0109] Power supply 1609 is used to supply power to each assembly in terminal device 1600. Power supply 1609 may be AC, DC, a disposable battery, or a rechargeable battery. When power supply 1609 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery is further used to support fast charging technology.
[0110] In some embodiments, the terminal device 1600 further includes one or more sensors 1610. These one or more sensors 1610 include, but are not limited to, an accelerometer 1611, a gyroscope 1612, a pressure sensor 1613, an optical sensor 1615, and a proximity sensor 1616.
[0111] The accelerometer 1611 can detect acceleration on three coordinate axes of a coordinate system established by the terminal device 1600. For example, the accelerometer 1611 can be used to detect the components of gravitational acceleration on three coordinate axes. Based on the gravitational acceleration signal collected by the accelerometer 1611, the processor 1601 can control the display panel 1605 to display the user interface in landscape or portrait mode. The accelerometer 1611 can also be used to collect game or user movement data.
[0112] The gyro sensor 1612 can detect the orientation and rotation angle of the terminal device 1600, and in cooperation with the accelerometer 1611, the gyro sensor 1612 can collect 3D movement of the user relative to the terminal device 1600. Based on the data collected by the gyro sensor 1612, the processor 1601 can implement the following functions: motion sensing (for example, changing the UI in response to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0113] The pressure sensor 1613 can be positioned on the side frame of the terminal device 1600 and / or beneath the display panel 1605. When positioned on the side frame of the terminal device 1600, the pressure sensor 1613 can detect a gripping signal from the user to the terminal device 1600 and recognize the left or right hand or perform shortcut operations based on the gripping signal. When positioned beneath the display panel 1605, the pressure sensor 1613 can control operable controls on the UI interface based on the user's pressure operation on the display panel 1605. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0114] The optical sensor 1615 is used to collect ambient light intensity. In one embodiment, the processor 1601 can control the display brightness of the display panel 1605 based on the ambient light intensity collected by the optical sensor 1615. Specifically, it increases the display brightness of the display panel 1605 when the ambient light intensity is high and decreases it when the ambient light intensity is low. In another embodiment, the processor 1601 can further dynamically adjust the shooting parameters of the camera head assembly 1606 based on the ambient light intensity collected by the optical sensor 1615.
[0115] The proximity sensor 1616, also called a distance sensor, is typically located on the front of the terminal device 1600. The proximity sensor 1616 is used to collect the distance between the user and the front of the terminal device 1600. In one embodiment, when the proximity sensor 1616 detects that the distance between the user and the front of the terminal device 1600 is gradually decreasing, the processor 1601 controls the display panel 1605 to switch from an on-screen state to an off-screen state. When the proximity sensor 1616 detects that the distance between the user and the front of the terminal device 1600 is gradually increasing, the processor 1601 controls the display panel 1605 to switch from an off-screen state to an on-screen state.
[0116] As those skilled in the art will understand, the configuration shown in Figure 16 is not limited to the terminal device 1600 and may include more or fewer assemblies than shown, or may be a combination of several assemblies, or may employ a different arrangement of components.
[0117] Figure 17 is a configuration diagram of a server provided in an embodiment of this application. The server 1700 varies in configuration depending on the settings and performance, but includes one or more central processing units (CPUs) 1701 and one or more memory units 1702, of which one or more memory units 1702 contain at least one program code, which is loaded and executed by the one or more processors 1701 to realize the virtual object interaction method provided in the embodiments of each of the above-described methods. Of course, the server 1700 may further include components such as wired or wireless network interfaces, keyboards, and input / output interfaces for input and output, and the server 1700 may further include other components for realizing the functions of the device, but a detailed explanation of these is omitted here.
[0118] In an exemplary embodiment, a non-temporary computer-readable storage medium is further provided, which stores at least one program code, which is loaded and executed by a processor to cause a computer to perform any one of the virtual object interaction methods described above.
[0119] Optionally, the non-temporary computer-readable storage medium mentioned above may be ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic disk, optical data storage, etc.
[0120] In an exemplary embodiment, a computer program or computer program product is further provided, the computer program or computer program product storing at least one computer instruction, which is loaded and executed by a processor to cause the computer to perform any one of the above-described virtual object interaction methods.
[0121] Furthermore, all information (including, but not limited to, user device information and user personal information), data (including, but not limited to, data for analysis, data for storage, and data for display) and signals relating to this application must be used with the user's permission or the consent of the relevant parties, and the collection, use, and processing of related data must comply with the relevant laws and standards of the relevant countries and regions. For example, all game data relating to this application was obtained with permission.
[0122] Furthermore, to ensure clarity, “plural” as used herein refers to two or more. “And / or” is used to describe the relationship between related objects and indicates that there are three types of relationships, for example, A and / or B means that A exists alone, A and B exist simultaneously, and B exists alone. The letter “ / ” generally means that the related objects before and after it have an “or” relationship. Also, the step numbers described herein indicate only one possible execution order between steps, and in some other embodiments, the steps described above do not have to be performed in the order of the numbers, for example, two different numbered steps may be performed simultaneously, or two different numbered steps may be performed in the reverse order shown, but this is not limited to the embodiments of this application.
[0123] Furthermore, the example numbers in this application are for illustrative purposes only and do not indicate any ranking of the examples.
[0124] While preferred embodiments of this application have been described above, this application is not limited to these embodiments, and any modifications to this application that do not deviate from the spirit of this application fall within the technical scope of this application.
Claims
1. A method of interacting with a virtual object, which is performed by a terminal device. A step of displaying a virtual scene, wherein the virtual scene includes a first virtual object and at least one candidate virtual object; Steps include: displaying an interaction action selection screen in response to detecting the cessation of a drag operation on the second virtual target among the at least one candidate virtual target, wherein the interaction action selection screen includes a plurality of candidate interaction actions; and A step in which, in response to a second operation on a target interaction operation among the plurality of candidate interaction operations, a target screen is displayed, wherein on the target screen, the first virtual object and the second virtual object interact in the virtual scene according to the target interaction operation, The aforementioned virtual scene further includes an action indicator for the action that each candidate virtual object is currently performing, and is a method for interacting with virtual objects.
2. A method for interacting with a virtual object according to claim 1, The step of displaying an interaction action selection screen in response to a drag operation on the second virtual target among the at least one candidate virtual target is: A step of determining a range definition frame after the second virtual object has been dragged, based on a drag operation on the second virtual object, wherein the range definition frame is used to indicate an area that covers the second virtual object; and A virtual object interaction method, comprising the step of displaying the interaction operation selection screen based on the intersection of the range definition frame of the second virtual object after it has been dragged and the range definition frame of the first virtual object.
3. A method for interacting with a virtual object according to claim 2, The step of displaying the interaction action selection screen based on the intersection of the range definition frame after the second virtual object has been dragged and the range definition frame of the first virtual object is as follows: A step of displaying presentation information based on the intersection of the range definition frame of the second virtual object after it has been dragged and the range definition frame of the first virtual object, wherein the presentation information is used to indicate that the dragging of the second virtual object should be stopped; and A method for interacting with a virtual object, comprising the step of displaying the interaction action selection screen in response to the cessation of dragging the second virtual object.
4. A method for interacting with a virtual object according to claim 2, The step of displaying the interaction action selection screen based on the intersection of the range definition frame after the second virtual object has been dragged and the range definition frame of the first virtual object is as follows: A step of displaying a target object at the target position of the first virtual object based on the intersection of the range definition frame of the second virtual object after it has been dragged and the range definition frame of the first virtual object, wherein the target object is used to indicate that dragging of the second virtual object should be stopped; and A method for interacting with a virtual object, comprising the step of displaying the interaction action selection screen in response to the cessation of dragging the second virtual object.
5. A method for interacting with a virtual object according to any one of claims 2 to 4, The step of determining the range definition frame after the second virtual object has been dragged, in response to a drag operation on the second virtual object, is: A step of determining the center position of the second virtual object after it has been dragged, in response to a drag operation on the second virtual object; The steps of determining a reference region centered on the central position after the second virtual object has been dragged; and A method for interacting with a virtual object, comprising the step of making the reference area a range definition frame after the second virtual object has been dragged.
6. A method for interacting with a virtual object according to any one of claims 2 to 4, The interaction method for the virtual object further includes: A virtual object interaction method, comprising the step of canceling the display of an action indicator for an action currently being performed by the first virtual object, based on the intersection of the range definition frame of the second virtual object after it has been dragged and the range definition frame of the first virtual object.
7. A method for interacting with a virtual object according to any one of claims 1 to 4, The interaction method for the virtual object further includes: In response to a first operation on the second virtual target among the at least one candidate virtual target, the step of canceling the display of the operation indicator for the operation currently being performed by the second virtual target; or A virtual object interaction method, comprising the step of canceling the display of an operation indicator for an operation currently being performed by each of the at least one candidate virtual object in response to a first operation on a second virtual object among the candidate virtual objects.
8. A method for interacting with a virtual object according to any one of claims 1 to 4, The interaction action selection screen further includes a text input control, which is used to obtain text content. The step of displaying the target screen in response to a second operation on the target interaction operation among the multiple candidate interaction operations is as follows: A virtual object interaction method comprising the steps of: displaying the target screen based on a second operation for a target interaction operation among the plurality of candidate interaction operations, and text content entered into the text input control, wherein the target screen shows the first virtual object and the second virtual object interacting in the virtual scene according to the target interaction operation, and the target screen includes the text content.
9. A method for interacting with a virtual object according to any one of claims 1 to 4, The step of displaying the target screen in response to a second operation on the target interaction operation among the multiple candidate interaction operations is as follows: A step of generating an action data acquisition request in response to a second operation on a target interaction operation among the plurality of candidate interaction operations, wherein the action data acquisition request includes an action indicator for the target interaction operation, an object indicator for the second virtual object, and an object indicator for the first virtual object; A step of sending the operation data acquisition request to the server, wherein the operation data acquisition request is used to obtain operation data when the first virtual object and the second virtual object interact in accordance with the target interaction operation; The step of receiving the operation data that the server returns based on the operation data acquisition request; Steps to execute the aforementioned operation data; and A method for interacting with a virtual object, comprising the step of displaying the target screen in accordance with the completion of the execution of the aforementioned operation data.
10. A method for interacting with a virtual object according to any one of claims 1 to 4, The step of displaying the target screen in response to a second operation on the target interaction operation among the multiple candidate interaction operations is as follows: Steps include: sending an interaction message to a terminal device used by a user corresponding to the second virtual object in response to a second operation on a target interaction operation among the plurality of candidate interaction operations, wherein the interaction message includes an operation indicator for the target interaction operation, and the interaction message is used to indicate that the first virtual object and the second virtual object should interact in accordance with the target interaction operation; and A method for interacting with a virtual object, comprising the step of displaying the target screen in response to receiving a confirmation message transmitted by a terminal device used by a user corresponding to the second virtual object.
11. A method for interacting with a virtual object according to claim 10, The step of sending an interaction message to a terminal device used by the user corresponding to the second virtual target in response to a second operation on the target interaction operation among the plurality of candidate interaction operations is: A step of obtaining a friend list of the user corresponding to the first virtual target in response to a second operation on the target interaction operation among the plurality of candidate interaction operations; and A method for interacting with virtual objects, comprising the step of sending an interaction message to a terminal device used by a user corresponding to the second virtual object, in response to the user corresponding to the first virtual object being present in the friend list of the user corresponding to the first virtual object.
12. A method for interacting with a virtual object according to any one of claims 1 to 4, In response to a drag operation on the second virtual target among the at least one candidate virtual target, before displaying the interaction action selection screen, the interaction method for the virtual target further: A method for interacting with a virtual object, comprising the step of setting the second virtual object to a draggable state in response to a first operation performed on the second virtual object.
13. An interaction device for virtual objects, Includes a display module, The display module is used to display a virtual scene, and the virtual scene includes a first virtual object and at least one candidate virtual object. The display module is further used to display an interaction action selection screen in response to the detection of the cessation of a drag operation on the second virtual target among the at least one candidate virtual target, and the interaction action selection screen includes a plurality of candidate interaction actions. The display module is further used to display a target screen in response to a second operation on a target interaction operation among the plurality of candidate interaction operations, and on the target screen, the first virtual object and the second virtual object interact in the virtual scene according to the target interaction operation. The virtual scene further includes an interaction device for virtual objects, which includes an action indicator for the action currently being performed by each candidate virtual object.
14. A computer device including a processor and a memory connected to the processor, The memory device stores a computer program. The processor is a computer device configured to realize the interaction method for a virtual object described in any one of claims 1 to 4 by executing the computer program.
15. A program for causing a computer to perform the interaction method for a virtual object described in any one of claims 1 to 4.