Interaction method and device in virtual scene, electronic equipment, computer readable storage medium and computer program product
By using the interactive method of aiming at the sight in the virtual scene and sending riding requests, the problem of a single method of co-riding virtual objects in the prior art is solved, and more efficient resource utilization and better gaming experience are achieved.
Patent Information
- Application Number
- CN202510380847.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-03-27
AI Technical Summary
In the prior art, the way of co-riding virtual objects is relatively single, resulting in low resource utilization of electronic devices and reducing the player's gaming experience.
It provides an interactive method in a virtual scene. By displaying the virtual scene, in response to the riding invitation function, it aims at the virtual object and sends a riding request using the sight star to realize the function of riding a virtual pet together with the candidate virtual object.
It enriches the way of virtual objects riding together, improves the resource utilization rate of electronic devices, and improves the user's gaming experience.
Smart Images

Figure CN119971482A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an interaction method, device, electronic device, computer-readable storage medium and computer program product in a virtual scene. Background Art
[0002] In the related art, a first virtual object can invite a second virtual object to ride a virtual vehicle together, wherein the second virtual object and the first virtual object need to be in the same team. In other words, the first virtual object and the second virtual object are both in a team state to be able to ride a virtual vehicle together. It can be seen that in the related art, the way in which the first virtual object and the second virtual object ride together is relatively simple, the resource utilization rate of the electronic device is low, and the player's gaming experience is reduced. Summary of the invention
[0003] The embodiments of the present application provide an interactive method, device, electronic device, computer-readable storage medium and computer program product in a virtual scene, which can enrich the way of riding virtual objects together, improve the resource utilization of electronic devices, and thus enhance the user's gaming experience.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides an interactive method in a virtual scene, the method comprising:
[0006] Displaying a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object;
[0007] In response to the ride invitation function of the virtual scene being turned on, displaying a crosshair for aiming in the virtual scene;
[0008] When the crosshair is aimed at the first virtual object, in response to an invitation instruction for the first virtual object, sending a riding request to the first virtual object;
[0009] In response to the first virtual object accepting the riding request, the first virtual object is controlled to ride the first virtual pet together with the master virtual object.
[0010] The present application provides an interactive method in a virtual scene, the method comprising:
[0011] Displaying a virtual scene, wherein the virtual scene includes a first virtual object;
[0012] Displaying a riding request sent by the master virtual object, wherein the riding request is used to invite the first virtual object and the master virtual object to ride together the first virtual pet of the master virtual object;
[0013] In response to a determination instruction for the riding request, the first virtual object is transmitted to a location where the first virtual pet is located, and the first virtual object is controlled to ride the first virtual pet together with the master virtual object.
[0014] The present application provides an interactive device in a virtual scene, the device comprising:
[0015] A first display module, configured to display a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object;
[0016] A first response module, configured to display a crosshair for aiming in the virtual scene in response to the riding invitation function of the virtual scene being turned on;
[0017] The first response module is configured to send a riding request to the first virtual object in response to an invitation instruction for the first virtual object when the crosshair is aimed at the first virtual object;
[0018] The first response module is used to control the first virtual object and the master virtual object to ride the first virtual pet together in response to the first virtual object accepting the riding request.
[0019] In the above scheme, the first response module is further used to display a riding invitation control in the interface of the virtual scene; and in response to a triggering operation on the riding invitation control, enable the riding invitation function of the virtual scene.
[0020] In the above solution, the first response module is further used to respond to a pressing operation on the riding invitation control to enable the riding invitation function of the virtual scene;
[0021] The first response module is also used to, after turning on the riding invitation function of the virtual scene, adjust the position of the crosshairs in the virtual scene in response to a drag operation on the riding invitation control during the pressing operation to aim at the first virtual object; and trigger the invitation instruction in response to the pressing operation being released.
[0022] In the above solution, the first response module is further used to display the first virtual pet in the virtual scene and display the riding control; in response to the trigger operation on the riding control, control the master virtual object to ride the first virtual pet and display the riding invitation control.
[0023] In the above scheme, the first response module is also used to display a pet control in the interface of the virtual scene, and there is a one-to-one correspondence between the pet control and the virtual pet; in response to a triggering operation of the pet control corresponding to the first virtual pet, the first virtual pet is displayed in the virtual scene.
[0024] In the above solution, the first response module is further used to display the riding control in a first style;
[0025] The first response module is further used to control the master virtual object to ride the first virtual pet, and then switch the display style of the riding control from the first style to the second style; in response to the triggering operation of the riding control of the second style, remove the master virtual object from the first virtual pet.
[0026] In the above scheme, the first response module is also used to display a moving control for the crosshair in response to the activation of the riding invitation function of the virtual scene; and to control the movement of the crosshair in the virtual scene in response to a moving instruction triggered by the moving control to aim at the first virtual object.
[0027] In the above scheme, there are multiple crosshairs, and the multiple crosshairs are used to aim at the multiple candidate virtual objects, and the distance between any two candidate virtual objects being aimed at is less than the first distance threshold; the first response module is also used to respond to the movement instruction triggered by the movement control, and control the multiple crosshairs to move synchronously in the virtual scene to aim at the multiple first virtual objects.
[0028] In the above scheme, in some embodiments, there are multiple crosshairs, and the multiple crosshairs are used to aim at the multiple candidate virtual objects, and the distance between any two candidate virtual objects to be aimed at is less than a first distance threshold; the first response module is also used to display the crosshairs for aiming in the virtual scene, and then, in response to a movement instruction for the crosshairs, control the multiple crosshairs to move synchronously in the virtual scene to aim at the multiple first virtual objects.
[0029] In the above scheme, the mobile control includes a virtual joystick, and the movement instruction is triggered by a drag operation on the virtual joystick; the first response module is also used to control the crosshairs to move synchronously in the virtual scene in response to the drag operation on the virtual joystick to aim at the first virtual object; in response to the drag operation on the virtual joystick being released, the invitation instruction is triggered.
[0030] In the above scheme, the first response module is also used to display a virtual joystick in the interface of the virtual scene in response to the riding invitation function of the virtual scene being turned on; in response to the dragging operation on the virtual joystick, control the crosshairs to move synchronously in the virtual scene to aim at the first virtual object; in response to the dragging operation on the virtual joystick being released, trigger the invitation instruction.
[0031] In the above scheme, the first response module is further used to display the object status of the candidate virtual object at the associated position of each candidate virtual object in response to the riding invitation function of the virtual scene being turned on; wherein the object status includes an inviteable state and a non-inviteable state;
[0032] The first response module is further configured to send a riding request to the first virtual object in response to an invitation instruction for the first virtual object when the crosshair is aimed at the first virtual object and the object state of the first virtual object is the inviteable state.
[0033] In the above solution, the first response module is further used to display an invitation mark corresponding to the first virtual object at the aiming position of the crosshair when the crosshair is aimed at the first virtual object, and the invitation mark is used to indicate whether the first virtual object can be invited;
[0034] The first responding module is further configured to send a riding request to the first virtual object in response to an invitation instruction for the first virtual object when the invitation mark indicates that the first virtual object can be invited.
[0035] In the above scheme, the invitation mark includes a first invitation mark and a second invitation mark; the first response module is further used to display a first invitation mark corresponding to the first virtual object at the aiming position of the crosshair if the first virtual object can be invited; if the first virtual object cannot be invited, display a second invitation mark corresponding to the first virtual object at the aiming position of the crosshair; wherein the pattern of the first invitation mark is different from the pattern of the second invitation mark, or the color of the first invitation mark is different from the color of the second invitation mark.
[0036] In the above solution, at least one candidate virtual object further includes a second virtual object, and the first response module is further configured to send a riding request to the first virtual object in response to an invitation instruction for the second virtual object when the crosshair is aimed at the second virtual object after sending the riding request to the first virtual object;
[0037] The first response module is further configured to control the first virtual object and the master virtual object to ride the first virtual pet together in response to the first virtual object accepting the riding request at a first moment and the second virtual object accepting the riding request at a second moment, and the first moment is earlier than the second moment;
[0038] Alternatively, in response to the first virtual object accepting the riding request at the first position and the second virtual object accepting the riding request at the second position, and the distance between the first position and the master virtual object is smaller than the distance between the second position and the master virtual object, the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0039] In the above scheme, the first response module is also used to control the crosshairs to aim at the first virtual object again after sending a riding request to the first virtual object in response to a control instruction for the crosshairs; in response to the invitation instruction for the first virtual object that is triggered again, if the time difference between the two invitation instructions executed for the first virtual object is less than a time difference threshold, display a first prompt message; the first prompt message is used to prompt that the sending frequency of the riding request has reached the frequency threshold and the riding request cannot be sent again.
[0040] In the above scheme, the first response module is also used to display a crosshair for aiming in the virtual scene, and when the crosshair is not aimed at any of the candidate virtual objects, in response to the invitation instruction, display a second prompt message, wherein the second prompt message is used to prompt that there is no candidate virtual object to be invited.
[0041] In the above solution, the first response module is further used to control the first virtual object and the master virtual object to ride the first virtual pet together in response to the first virtual object accepting the riding request within the target time period;
[0042] The first response module is further configured to cancel the riding request for the first virtual object in response to the first virtual object not accepting the riding request within the target time period.
[0043] In the above scheme, the first response module is also used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then display a dismissal control in the interface of the virtual scene; in response to a trigger operation on the dismissal control, remove the first virtual object and the master virtual object from the first virtual pet.
[0044] In the above scheme, a plurality of pet controls are displayed in the interface of the virtual scene, and there is a one-to-one correspondence between the pet controls and the virtual pets; the first response module is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then, in response to a trigger operation of the pet control corresponding to the second virtual pet, remove the first virtual object and the master virtual object from the first virtual pet; switch the first virtual pet to the second virtual pet, and control the master virtual object to ride the second virtual pet.
[0045] In the above scheme, the first response module is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then display a removal control in the interface of the virtual scene; in response to a trigger operation on the removal control, remove the first virtual object from the first virtual pet, so that the master virtual object rides the first virtual pet alone.
[0046] In the above scheme, the first response module is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then control the first virtual pet to move in a target area; when the distance between the first virtual pet and the boundary of the target area is less than a second distance threshold, display a third prompt information; wherein the third prompt information is used to prompt that if the first virtual pet moves out of the target area, the first virtual object and the master virtual object will be released from riding the first virtual pet together.
[0047] In the above solution, the first display module is further used to display a boundary special effect of the target area when the distance between the first virtual pet and the boundary of the target area is less than a second distance threshold.
[0048] In the above scheme, the size of the second distance threshold is positively correlated with the size of the target area; the first response module is also used to switch the display style of the third prompt information from the third style to the fourth style in response to the duration of time when the distance is less than the second distance threshold reaching a duration threshold, and the prompt intensity corresponding to the fourth style is higher than the prompt intensity corresponding to the third style.
[0049] In the above scheme, the first response module is also used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then display a riding request sent by the third virtual object, wherein the riding request is used to request to join the joint ride for the first virtual pet; in response to a determination instruction for the riding request, control the third virtual object, the first virtual object and the master virtual object to ride the first virtual pet together.
[0050] The present application provides an interactive device in a virtual scene, the device comprising:
[0051] A second display module, used for displaying a virtual scene, wherein the virtual scene includes a first virtual object;
[0052] The second display module is used to display the riding request sent by the master virtual object, where the riding request is used to invite the first virtual object and the master virtual object to ride the first virtual pet of the master virtual object together;
[0053] The second response module is used to transmit the first virtual object to the location of the first virtual pet in response to the determination instruction for the riding request, and control the first virtual object and the master virtual object to ride the first virtual pet together.
[0054] In the above scheme, the second response module is also used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then display a leaving control in the interface of the virtual scene; in response to a trigger operation on the leaving control, control the first virtual object to leave the first virtual pet.
[0055] In the above solution, the second display module is further used to display a countdown for the riding request during the process of displaying the riding request; when the countdown is reset to zero, the riding request is cancelled.
[0056] An embodiment of the present application provides an electronic device, the electronic device comprising:
[0057] A memory for storing computer executable instructions or computer programs;
[0058] The processor is used to implement the interaction method in the virtual scene provided in the embodiment of the present application when executing the computer executable instructions or computer programs stored in the memory.
[0059] An embodiment of the present application provides a computer-readable storage medium storing a computer program or computer-executable instructions for implementing an interactive method in a virtual scene provided by an embodiment of the present application when executed by a processor.
[0060] An embodiment of the present application provides a computer program product, including a computer program or computer executable instructions. When the computer program or computer executable instructions are executed by a processor, the interaction method in the virtual scene provided by the embodiment of the present application is implemented.
[0061] The embodiments of the present application have the following beneficial effects:
[0062] The interactive method in a virtual scene provided by an embodiment of the present application can display a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object. In response to the riding invitation function of the virtual scene being turned on, a crosshair for aiming in the virtual scene is displayed, thereby improving the richness of the content displayed in the virtual scene. When the crosshair is aimed at the first virtual object, a riding request is sent to the first virtual object in response to an invitation instruction for the first virtual object. In response to the first virtual object accepting the riding request, the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0063] In the embodiment of the present application, a ride request can be sent by aiming. For the user who controls the main virtual object, the user can control the crosshairs to aim at the virtual object that he wants to request to ride together, which can improve the autonomy of sending the ride request and enrich the diversity of the interaction methods. Only when the first virtual object accepts the ride request, the first virtual object and the main virtual object are controlled to ride the first virtual pet together. For the user who controls the first virtual object, it can be determined whether to accept the ride request according to actual use needs, which can improve the autonomy of accepting the ride request, and can improve the diversity of interactions between different virtual objects, enrich the ways of virtual objects riding together, improve the resource utilization of electronic devices, and thus improve the user's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 is a schematic diagram of the structure of an interactive system in a virtual scene provided in an embodiment of the present application;
[0065] Figure 2A This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 1 ;
[0066] Figure 2B This is a second structural diagram of an electronic device provided in an embodiment of the present application;
[0067] Figure 3 This is a flow diagram of the interactive method in a virtual scene provided by an embodiment of the present application. Figure 1 ;
[0068] Figure 4This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 1 ;
[0069] Figure 5 Schematic diagram 2 of a virtual scene provided in an embodiment of the present application;
[0070] Figure 6 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 3 ;
[0071] Figure 7 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 4 ;
[0072] Figure 8 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 5 ;
[0073] Fig. 9 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 6 ;
[0074] Fig.10 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 7 ;
[0075] Fig.11 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 8 ;
[0076] Fig.12 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 9 ;
[0077] Fig.13 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 ;
[0078] Fig.14 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 one;
[0079] Fig.15 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 two;
[0080] Fig.16 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 three;
[0081] Fig.17 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 Four;
[0082] Fig.18 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10five;
[0083] Fig.19 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 six;
[0084] Fig. 20 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 seven;
[0085] Fig.21 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 eight;
[0086] Fig. 22 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 Nine;
[0087] Fig.23 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 ;
[0088] Fig.24 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 one;
[0089] Fig.25 Schematic diagram 2 of the flow of the interactive method in the virtual scene provided in the embodiment of the present application;
[0090] Fig.26 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 two;
[0091] Fig. 27 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 three;
[0092] Fig.28 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 Four;
[0093] Fig.29 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 five;
[0094] Fig.30 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 six;
[0095] Fig.31 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 seven;
[0096] Fig.32 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 eight;
[0097] Fig.33 is a schematic diagram of a target area provided in an embodiment of the present application;
[0098] Fig.34 This is a flow diagram of the interactive method in a virtual scene provided by an embodiment of the present application. Figure 3 . DETAILED DESCRIPTION
[0099] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0100] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0101] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0102] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0103] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0104] The relevant data collection and processing in the embodiments of this application should be strictly in accordance with the requirements of relevant laws and regulations when applied in examples, obtain the informed consent or separate consent of the personal information subject, and carry out subsequent data use and processing within the scope of authorization of laws and regulations and the personal information subject.
[0105] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0106] 1) In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed may be executed.
[0107] 2) Human-computer interaction interface, an interface for providing human-computer interaction functions / an interface for displaying virtual scenes, wherein at least one of a master virtual object, a candidate virtual object (including a first virtual object) and a first virtual pet can be displayed in the virtual scene. For example, the human-computer interaction interface can be displayed through a graphical user interface (GUI), such as an augmented reality (AR) interface, a virtual reality (VR) interface, a voice user interface (VUI), an interactive projection interface (using projection technology to display information on a plane), an eye movement detection interface (an interface controlled by detecting the user's line of sight), a holographic interface (a three-dimensional hologram formed by projecting an image through holographic projection technology, and a stereoscopic image can be seen without wearing special glasses), a multimodal interface (an interactive interface that combines multiple interaction methods, such as touch, vision, hearing, etc.), a brain-machine interface (BMI) interface, etc.
[0108] 3) Virtual scene is a virtual scene displayed (or provided) when the application is running on the terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene.
[0109] For example, the virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. The user (i.e., the player) may control the virtual object to perform activities in the virtual scene, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. The virtual scene may be displayed from a first-person perspective (e.g., playing the virtual object in the game from the user's own perspective); it may also be displayed from a third-person perspective (e.g., the user chases the virtual object in the game to play the game); it may also be displayed from a bird's-eye view perspective, and the above perspectives may be switched arbitrarily.
[0110] 4) Virtual objects, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as people, animals, plants, oil drums, walls, stones, etc. displayed in a virtual scene. The virtual object can be a virtual image in the virtual scene that represents the user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.
[0111] For example, the virtual object may be a player character controlled by operations on the client, an artificial intelligence (AI) trained to fight in a virtual scene, or a non-player character (NPC) set in an interactive virtual scene. The number of virtual objects participating in the interaction in the virtual scene may be preset or dynamically determined according to the number of clients participating in the interaction.
[0112] 5) Virtual pets refer to virtual creatures or virtual non-living things owned by virtual objects. Virtual pets are set up for virtual objects, which can improve the richness of the content displayed in virtual scenes. Among them, virtual objects can be one or more of player characters and non-player characters. The relationship between virtual pets and virtual objects is explained below. Virtual pets have dependence, interactivity, functionality and growth.
[0113] Dependence means that a virtual pet can be attached to a virtual object, that is, there is an association between the virtual pet and the virtual object, and the two are bound to each other. Interactivity means that players can control virtual objects to interact with virtual pets. For example, players can control virtual objects to feed, train or command virtual pets.
[0114] Functionality refers to the existence of corresponding functions of virtual pets, which may include assisting virtual objects to interact with other virtual objects in virtual scenes (i.e., fighting), assisting virtual objects to interact with other virtual pets in virtual scenes (i.e., fighting), assisting virtual objects to find items in virtual scenes, and assisting virtual objects to move in virtual scenes, that is, virtual pets can be used as virtual vehicles for virtual objects. Growth refers to the ability to improve the properties, skills, and levels of virtual pets through feeding, training, fighting, etc.
[0115] 6) Client, also known as the user end, refers to the program corresponding to the server that provides local services to users. Except for some applications that can only run locally, it is generally installed on an ordinary client and needs to cooperate with the server to run. That is, there must be corresponding servers and service programs in the network to provide corresponding services. In this way, specific communication connections need to be established between the client and server to ensure the normal operation of the application, such as the game client.
[0116] During the research, the inventor discovered that the related technology has the following technical problems:
[0117] Technical issue 1. In the related art, the first virtual object can invite the second virtual object to ride a virtual vehicle together, wherein the second virtual object and the first virtual object need to be in the same team. In other words, the first virtual object and the second virtual object are both in a team state to ride a virtual vehicle together. It can be seen that in the related art, the way for the first virtual object and the second virtual object to ride together is relatively simple, which reduces the player's gaming experience.
[0118] The embodiments of the present application provide an interaction method in a virtual scene, an interaction device in a virtual scene, an electronic device, a computer-readable storage medium, and a computer program product, which can enrich the way in which virtual objects are ridden together, thereby improving the user's gaming experience.
[0119] See also Figure 1 , Figure 1 is a schematic diagram of the structure of an interactive system in a virtual scene provided in an embodiment of the present application, Figure 1 The interactive system 100 in the virtual scene shown is used to implement and support an interactive application in a virtual scene. Figure 1 The terminal 400 - 1 and the terminal 400 - 2 shown can both be connected to the server 200 via the network 300 . The network 300 can be a wide area network or a local area network, or a combination of the two.
[0120] In some embodiments, terminal 400-1 is a terminal used by a user who controls a main virtual object, and terminal 400-2 is a terminal used by a user who controls a first virtual object. Virtual scenes can be displayed on both the graphical interface 410-1 of terminal 400-1 and the graphical interface 410-2 of terminal 400-2. The virtual scenes displayed by the two correspond to the same game, and the virtual scenes displayed by the two can be the same or different, which can be set according to actual usage.
[0121] The virtual scene includes a master virtual object and at least one candidate virtual object. The master virtual object has a first virtual pet. The at least one candidate virtual object includes the first virtual object. When the number of candidate virtual objects is 1, the candidate virtual object is the first virtual object. When the number of candidate virtual objects is multiple, the candidate virtual objects include the first virtual object and other virtual objects. The other virtual objects can correspond to other terminals.
[0122] In some embodiments, in response to the riding invitation function of the virtual scene being turned on, terminal 400-1 may display a crosshair for aiming in the virtual scene on graphical interface 410-1. When the crosshair is aimed at the first virtual object, terminal 400-1 sends a riding request to the first virtual object in response to the invitation instruction for the first virtual object, that is, terminal 400-1 sends the riding request to terminal 400-2.
[0123] In some embodiments, in response to an invitation instruction for the first virtual object, terminal 400-1 may send a riding request to server 200, server 200 may determine terminal 400-2 corresponding to the first virtual object, and then server 200 may send the riding request to terminal 400-2.
[0124] Terminal 400-2 can display the riding request sent by the master virtual object. In response to the confirmation instruction for the riding request, terminal 400-2 can send the return information of accepting the riding request to server 200. Server 200 can send the return information of accepting the riding request to terminal 400-1. Terminal 400-1 then responds to the first virtual object accepting the riding request, and controls the first virtual object and the master virtual object to ride the first virtual pet together.
[0125] In some embodiments, the first virtual object and the main virtual object can be displayed on both the graphical interface 410-1 of the terminal 400-1 and the graphical interface 410-2 of the terminal 400-2 to ride the first virtual pet together, which can improve the richness of the content displayed in the virtual scene, and the riding request can be sent in an aiming manner. For the user who controls the main virtual object, the user can control the crosshairs to aim at the virtual object that wants to request to ride together, which can improve the autonomy of sending the riding request and enrich the diversity of the interaction methods. Only when the first virtual object accepts the riding request, the first virtual object and the main virtual object are controlled to ride the first virtual pet together. For the user who controls the first virtual object, it can be determined whether to accept the riding request according to actual use needs, which can improve the autonomy of accepting the riding request, and can improve the diversity of interactions between different virtual objects, enrich the way of virtual objects riding together, thereby improving the user's gaming experience.
[0126] The electronic device provided in the embodiment of the present application is described below. The electronic device may include multiple electronic devices. For example, the electronic device may include a first electronic device, a second electronic device, a third electronic device, etc. The number of electronic devices may be set according to actual conditions. The electronic device that implements the interactive method in the virtual scene of the embodiment of the present application may be a terminal, a server, or a combination of the two. In some embodiments, the terminal may be a laptop, a tablet computer, a desktop computer, a set-top box, a smart phone, a smart speaker, a smart watch, a smart TV, a vehicle-mounted terminal, and other types of terminals.
[0127] In some embodiments, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0128] See also Figure 2A , Figure 2A This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 1 , see Figure 2B , Figure 2B is a second structural diagram of an electronic device provided in an embodiment of the present application, Figure 2A-2BThe electronic device shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the electronic device are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2A-2B Various buses are labeled as bus system 440 .
[0129] The processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0130] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0131] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0132] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0133] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0134] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0135] A network communication module 452, used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;
[0136] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);
[0137] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0138] In some embodiments, the interactive device in the virtual scene provided in the embodiments of the present application can be implemented in a software manner. Figure 2A An interactive device 455 in a virtual scene stored in a memory 450 is shown, which may be software in the form of a program or a plug-in, including the following software modules: a first display module 4551 and a first response module 4552. These modules are logical, and thus may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0139] Figure 2B The interactive device 456 in the virtual scene stored in the memory 450 is shown, which can be software in the form of a program and a plug-in, including the following software modules: a second display module 4561 and a second response module 4562. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.
[0140] In other embodiments, the interactive device in the virtual scene provided by the embodiments of the present application can be implemented in hardware. As an example, the interactive device in the virtual scene provided by the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the interactive method in the virtual scene provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), programmable logic devices (Programmable Logic Device, PLD), complex programmable logic devices (Complex Programmable Logic Device, CPLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other electronic components.
[0141] In some embodiments, the terminal or server can implement the interactive method in the virtual scene provided by the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be commands, machine instructions or software instructions at the microprogram level. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a game application; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.
[0142] The following describes the interactive method in the virtual scene provided by the embodiment of the present application. As mentioned above, the electronic device that implements the method for using the virtual props in the embodiment of the present application can be a terminal, a server, or a combination of the two. Figure 3 , Figure 3 This is a flow diagram of the interactive method in a virtual scene provided by an embodiment of the present application. Figure 1 , the following combination Figure 3 The steps shown take the execution subject being a terminal as an example to illustrate the interaction method in the virtual scene provided by the embodiment of the present application.
[0143] In step 101, a virtual scene is displayed.
[0144] In actual application, the terminal is installed with a game application, which can be any one of an open world game, a multiplayer online role-playing game, a first-person shooter game, a third-person shooter game, a multiplayer online tactical competitive game, a virtual reality application, a three-dimensional map program, or a multiplayer gunfight survival game.
[0145] If the game is a stand-alone offline game, in response to a trigger operation on the game application, the display interface of the game application can be displayed, and a virtual scene can be displayed in the display interface of the game application. If the game is a multiplayer online game, in response to a trigger operation on the game application, the terminal can send a data acquisition request to the server, and the server can send data showing the display interface of the game application to the terminal, so that the display interface of the game application can be displayed on the terminal, and a virtual scene can be displayed in the display interface.
[0146] The virtual scene may include a master virtual object and at least one candidate virtual object, the master virtual object has a first virtual pet, the at least one candidate virtual object includes the first virtual object, when the number of candidate virtual objects is 1, the candidate virtual object is the first virtual object, when the number of candidate virtual objects is multiple, the candidate virtual objects include the first virtual object and other virtual objects. Other virtual objects may be virtual objects controlled by other users, or may be non-player virtual objects.
[0147] In some embodiments, for the case where the virtual scene is displayed from a first-person perspective, at least one candidate virtual object can be displayed synchronously with the display of the virtual scene, and the displayed virtual scene can be adjusted for the user according to actual usage needs until at least one candidate virtual object is displayed in the virtual scene.
[0148] In some embodiments, in the case where the virtual scene is displayed from a third-person perspective, the master virtual object and at least one candidate virtual object may be displayed synchronously when the virtual scene is displayed. In some embodiments, when the virtual scene is displayed, the master virtual object is displayed synchronously, and the user adjusts the position of the master virtual object in the virtual scene according to actual usage requirements, thereby adjusting the displayed virtual scene until at least one candidate virtual object is displayed in the virtual scene.
[0149] In some embodiments, when displaying a virtual scene, a first virtual pet can be displayed synchronously. In some embodiments, for a master virtual object, the master virtual object has at least one virtual pet, the at least one virtual pet includes a first virtual object, and the number of first virtual objects can be one or more. In some embodiments, when displaying a virtual scene, in response to a first display instruction, the first virtual pet can be displayed, wherein the first display instruction can be triggered by a corresponding control, a corresponding shortcut key, a corresponding voice, a corresponding body movement, and the like. In this way, the first virtual pet in the virtual scene can be displayed in different ways, thereby improving the user's gaming experience.
[0150] The first display instruction is described below. In some embodiments, a pet control may be displayed in an interface displaying a virtual scene. The number of pet controls may be at least one, and the at least one pet control includes a pet control for a first virtual pet. In response to a trigger operation for the pet control for the first virtual pet, the first display instruction is triggered, and the first virtual pet may be displayed in the virtual scene. In some embodiments, in response to a selection instruction for the pet control for the first virtual pet (equivalent to responding to the first display instruction), the first virtual pet may be controlled to be displayed in the virtual scene.
[0151] In some embodiments, the first virtual pet is in a first virtual container. In response to a selection instruction for the pet control, the main control virtual object can be controlled to hold the first virtual container corresponding to the first virtual pet. In response to a throwing instruction triggered for the main control virtual object, the main control virtual object is controlled to throw the first virtual container into the virtual scene. In response to the first virtual container being thrown into the virtual scene, the first virtual pet is controlled to be displayed in the virtual scene, that is, the first virtual pet is displayed in the virtual scene. Among them, the first virtual container can be any one of a virtual sphere, a virtual box, a virtual book, a virtual package, and a virtual capsule, which can be set according to actual usage requirements. In this way, the first virtual pet can be displayed in a virtual scene in a variety of ways, which can enrich the way of displaying the first virtual pet and improve the user's gaming experience.
[0152] In some embodiments, after the main virtual object and the first virtual pet of the main virtual object are displayed, in response to the movement of the player character, the first virtual pet follows the main virtual object. The distance between the first virtual pet and the main virtual object is less than the first distance, and the first virtual pet can be in any position relative to the main virtual object.
[0153] The first virtual pet can be used as a virtual vehicle of the master virtual object, that is, the master virtual object can ride the first virtual pet. In some embodiments, when the first virtual pet is displayed, the riding control of the first virtual pet can be displayed synchronously, that is, the first virtual pet and the riding control are displayed in the virtual scene, and in response to the trigger operation of the riding control, the master virtual object is controlled to ride the first virtual pet. In this way, the interaction between the master virtual object and the first virtual pet can be enriched.
[0154] For example, see Figure 4 , Figure 4 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 1 , a virtual scene 401 can be displayed, in which a main virtual object 402 and a first virtual pet 403 of the main virtual object 402 are displayed, the first virtual pet 403 is located on the right side of the main virtual object 402, and the distance between the first virtual pet 403 and the main virtual object 402 is less than the first distance.
[0155] For example, see Figure 5 , Figure 5 This is a second schematic diagram of a virtual scene provided in an embodiment of the present application, which can display a virtual scene 501. A master virtual object 502 and a first virtual pet 503 of the master virtual object 502 are displayed in the virtual scene 501. The first virtual pet 503 serves as a virtual vehicle of the master virtual object 502, and the player character 502 rides the first virtual pet 503.
[0156] pass Figure 3 In step 101 shown, virtual objects can be displayed in a virtual scene in a variety of ways, or virtual objects and virtual pets can be displayed in a variety of ways, which can increase the diversity of interaction methods. In addition, virtual objects and virtual pets can be displayed in a variety of ways, which can increase the diversity of content displayed in the virtual scene.
[0157] In some embodiments, a ride invitation control is displayed in an interface displaying a virtual scene (i.e., a display interface of a game application), and in response to a trigger operation on the ride invitation control, a ride invitation function of the virtual scene is enabled. The ride invitation control is used to invite at least one candidate virtual object in the virtual scene to ride the first virtual pet together. In this way, the ride invitation function of the virtual scene can be enabled according to actual usage requirements, thereby improving the user's gaming experience.
[0158] In some embodiments, in response to a pressing operation on a ride invitation control, a ride invitation function of the virtual scene is turned on. The pressing operation on the ride invitation control is described below. In some embodiments, the pressing operation on the ride invitation control can be a click operation, that is, the user can click on the ride invitation control, thereby turning on the ride invitation function of the virtual scene in response to the pressing operation on the ride invitation control.
[0159] In some embodiments, the pressing operation on the ride invitation control can be a long press, which means that the duration of pressing the ride invitation control is greater than or equal to the pressing duration. The user can press the ride invitation control, and in response to the duration of pressing the ride invitation control reaching the pressing duration, it is equivalent to the pressing operation on the ride invitation control, and the ride invitation function of the virtual scene is turned on. In this way, the ride invitation function of the virtual scene can be turned on by pressing the ride invitation control, enriching the way of turning on the ride invitation function.
[0160] In some embodiments, in the case where the first virtual pet follows the master virtual object, in response to the triggering operation of the ride invitation control, the master virtual object can be controlled to ride the first virtual pet and the ride invitation function of the virtual scene can be turned on. In this way, the master virtual object can be triggered to ride the first virtual pet and the ride invitation function of the virtual scene can be turned on with one click, which can improve the interaction efficiency.
[0161] In some embodiments, in the case where the first virtual pet follows the master virtual object, the ride invitation control may not be displayed in the interface of the virtual scene, and the ride control may be displayed in the interface of the virtual scene, and in response to a trigger operation on the ride control, the master virtual object may be controlled to ride the first virtual pet. In the case where the master virtual object rides the first virtual pet, the ride invitation control may be displayed in the interface of the virtual scene, and in response to a trigger operation on the ride invitation control, the ride invitation function of the virtual scene is enabled. In this way, the ride invitation function of the virtual scene can be enabled according to actual usage requirements, thereby improving the user's gaming experience.
[0162] In some embodiments, in the case where the first virtual pet follows the master virtual object, the ride invitation control displayed in the interface of the virtual scene can be controlled to be in an unselectable state, the ride control can be displayed in the interface of the virtual scene, and in response to the triggering operation on the ride control, the master virtual object can be controlled to ride the first virtual pet. In the case where the master virtual object rides the first virtual pet, the ride invitation control displayed in the interface of the virtual scene can be controlled to be in an selectable state, and in response to the triggering operation on the ride invitation control, the ride invitation function of the virtual scene is turned on. In this way, the ride invitation function of the virtual scene can be turned on according to actual usage needs, thereby improving the user's gaming experience.
[0163] In some embodiments, when the main virtual object rides the first virtual pet, the riding invitation function of the virtual scene can be automatically turned on. Of course, the riding invitation function in the virtual scene can also be turned on through riding invitation controls, corresponding shortcut keys, corresponding voice, corresponding body movements, etc., which can be set specifically according to actual usage needs.
[0164] For example, see Figure 6 , Figure 6 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 3 , a riding invitation control 602 is displayed in an interface 601 displaying a virtual scene, and in response to a triggering operation on the riding invitation control 602, a riding invitation function of the virtual scene is turned on.
[0165] In some embodiments, in order to facilitate the user to intuitively know that the ride invitation function of the virtual scene has been turned on, in response to the triggering operation of the ride invitation control, a fourth prompt information can be displayed, wherein the fourth prompt information is used to prompt that the ride invitation function of the virtual scene has been turned on. The fourth prompt information can be displayed in the form of a pop-up window or a floating layer, in this way, it is convenient for the user to intuitively know that the ride invitation function of the virtual scene has been turned on.
[0166] In some embodiments, when the riding invitation function of the virtual scene is turned on, the fifth prompt information that the riding invitation function of the virtual scene has been turned on can be displayed in the associated area of the riding invitation control, and when the riding invitation function of the virtual scene is not turned on, the sixth prompt information that the riding invitation function of the virtual scene is not turned on can be displayed in the associated area of the riding invitation control. The associated area of the riding invitation control can be an area where the riding invitation control is displayed, or an area whose distance from the riding invitation control is less than the second distance, which can be set according to actual usage requirements.
[0167] For example, see Figure 7 , Figure 7 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 4 , a riding invitation control 702 is displayed in the interface 701 displaying the virtual scene. When the riding invitation function of the virtual scene is not enabled, the riding invitation control 702 may display “not enabled” (corresponding to the sixth prompt information).
[0168] See also Figure 8 , Figure 8 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 5In response to the triggering operation on the ride invitation control 702, the ride invitation function of the virtual scene is turned on. When the ride invitation function of the virtual scene has been turned on, the ride invitation control 702 can display "turned on" (corresponding to the fifth prompt information).
[0169] Combination Figure 7 and Figure 8 It can be seen that in response to the triggering operation on the riding invitation control 702, Figure 7 The "Not On" switch shown is Figure 8 The word “turned on” is displayed so that the user can intuitively know whether the riding invitation function of the virtual scene is turned on, thereby improving the user's gaming experience.
[0170] Continue to participate Figure 3 In step 102, in response to the ride invitation function of the virtual scene being turned on, a crosshair for aiming in the virtual scene is displayed.
[0171] In some embodiments, in response to the virtual scene's ride invitation function being turned on, a crosshair for aiming in the virtual scene may be displayed, the crosshair is used to assist in aiming at a virtual object, and in some embodiments, the crosshair may automatically aim at a candidate virtual object displayed in the virtual scene. In some embodiments, the user may adjust the virtual object aimed at by the crosshair according to actual usage requirements. The specific setting may be based on actual usage conditions.
[0172] For example, see Fig. 9 , Fig. 9 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 6 In response to the ride invitation function of the virtual scene 901 being turned on, a crosshair 902 for aiming in the virtual scene 901 is displayed, and the crosshair can automatically aim at a candidate virtual object 903 displayed in the virtual scene 901. In this way, the virtual object that can be invited to ride together can be automatically aimed at, which improves the accuracy of sending a ride request, thereby improving the user's gaming experience.
[0173] In some embodiments, in response to a trigger operation on a ride invitation control, the ride invitation function of the virtual scene can be turned on, and the main virtual object can be controlled to be in an aiming state, where the aiming state means that the virtual object to be ridden together can be aimed at by the crosshairs.
[0174] In some embodiments, in response to the virtual scene's ride invitation function being turned on, a mobile control for the crosshair is displayed, and in response to a movement instruction triggered by the mobile control, the crosshair is controlled to move in the virtual scene to aim at the first virtual object. The mobile control is used to adjust the virtual object aimed at by the crosshair. In this way, the user can control the crosshair to aim at the virtual object that the user wants to ride together according to actual usage needs in combination with the mobile control, which can improve the autonomy of sending ride requests and enrich the ways of riding virtual objects together.
[0175] In some embodiments, the movement control may include an up control, a down control, a left control, and a right control. In response to a trigger operation on at least one of the up control, the down control, the left control, and the right control, a movement instruction may be triggered. In response to the movement instruction triggered based on at least one of the up control, the down control, the left control, and the right control, the crosshair may be controlled to move in the virtual scene to aim at the first virtual object.
[0176] For example, see Fig.10 , Fig.10 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 7 , a first virtual object 1007 is displayed in the virtual scene 1001 , and movement controls of a crosshair 1002 are also displayed in the virtual scene 1001 , and the movement controls may include an upward control 1003 , a downward control 1004 , a left control 1005 , and a right control 1006 .
[0177] See also Fig.11 , Fig.11 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 8 , undertake Fig.10 , a first virtual object 1007 is also displayed in the virtual scene 1001, and in response to a trigger operation on the upward control 1003, the crosshair 1002 can be controlled to move in the virtual scene 1001 to aim at the first virtual object 1007 in the virtual scene 1001. In this way, the user can control the crosshair to aim at the virtual object that the user wants to ride together according to actual usage needs in combination with the mobile control, which can improve the autonomy of sending a ride request and enrich the ways of riding virtual objects together.
[0178] In some embodiments, the mobile control includes a virtual joystick, the movement instruction is triggered by a drag operation on the virtual joystick, and in response to the drag operation on the virtual joystick, the crosshairs are controlled to move synchronously in the virtual scene to aim at the first virtual object.
[0179] In some embodiments, there are multiple crosshairs, and the multiple crosshairs are used to aim at multiple candidate virtual objects. The number of candidate virtual objects displayed in the virtual scene is multiple, and the crosshairs can automatically aim at the candidate virtual objects displayed in the virtual scene. The number of crosshairs can be the same as the number of candidate virtual objects or different. When the number of crosshairs is less than the number of candidate virtual objects, there may be candidate virtual objects that are not aimed at. When the number of crosshairs is greater than the number of candidate virtual objects, there may be crosshairs that are not aimed at candidate virtual objects.
[0180] For example, see Fig.12 , Fig.12 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 9 , two crosshairs are displayed in the virtual scene 1201 , the two crosshairs include a crosshair 1202 and a crosshair 1203 , and a first virtual object 1204 and a first virtual object 1205 are also displayed in the virtual scene 1201 .
[0181] See also Fig.13 , Fig.13 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 , undertake Fig.12 The crosshair 1202 can automatically aim at the first virtual object 1204, and the crosshair 1203 can automatically aim at the first virtual object 1205. In this way, the virtual object that can be invited to ride together can be automatically aimed at, which improves the accuracy of sending the riding request, thereby improving the user's gaming experience.
[0182] The following describes the way in which the crosshair automatically aims at the virtual object. In some embodiments, the crosshair can automatically aim at a candidate virtual object whose distance from the main virtual object is less than a third distance threshold, and the virtual object aimed at by the crosshair is the first virtual object. In some embodiments, the main virtual object can have a degree of intimacy with the candidate virtual object, and the crosshair can automatically aim at a candidate virtual object whose degree of intimacy is greater than a first intimacy threshold, and the virtual object aimed at by the crosshair is the first virtual object. The specific setting can be based on actual usage requirements.
[0183] In some embodiments, there are multiple crosshairs, and the multiple crosshairs are used to aim at multiple candidate virtual objects. The distance between any two candidate virtual objects being aimed at is less than the first distance threshold. In response to movement instructions based on the crosshairs, the multiple crosshairs are controlled to move synchronously in the virtual scene to aim at the multiple first virtual objects. In this way, it is possible to aim at multiple first virtual objects with one click, improve the efficiency of aiming, and aim at the first virtual object for sending a ride request, thereby improving the efficiency of sending a ride request and improving the user's gaming experience.
[0184] The following describes controlling the movement of the crosshairs in the virtual scene. In some embodiments, the displayed virtual scene may not change, and the crosshairs are controlled to move in the virtual scene. In some embodiments, the crosshairs may be controlled to be located in a preset area of the display page of the game application, and the virtual scene may be controlled to change, thereby achieving movement of the crosshairs in the virtual scene.
[0185] For example, the crosshair can be located in the center of the display page. In response to the movement of the main virtual object in the virtual scene, the virtual scene is controlled to change, so that the crosshair moves in the virtual scene. Alternatively, in response to the virtual object's orientation change instruction, the virtual scene is controlled to change, so that the crosshair moves in the virtual scene. Of course, the displayed virtual scene can also be changed in other ways, which are not specifically limited here. In this way, the crosshair can be moved in the virtual scene, so that the crosshair can be aimed at the virtual object later, so as to improve the success rate of sending the ride request.
[0186] In some embodiments, there may be multiple mobile controls, one mobile control corresponds to one crosshair, and for each mobile control, in response to a movement instruction triggered for the mobile control, the corresponding crosshair may be controlled to move in the virtual scene, so that the crosshair is aimed at the first virtual object. In this way, the crosshairs may be controlled to aim at different first virtual objects respectively, thereby improving the accuracy of aiming at the virtual object, thereby improving the user's gaming experience.
[0187] In some embodiments, the user can click on the first virtual object displayed in the virtual scene to make the crosshair aim at the first virtual object corresponding to the click operation, that is, when the first virtual object and the crosshair are displayed, in response to the click operation on the first virtual object, the crosshair can be controlled to aim at the first virtual object corresponding to the click operation. In this way, it is possible to achieve one-click aiming at the first virtual object, improve the efficiency of aiming at the first virtual object, and improve the user's gaming experience.
[0188] In some embodiments, the user drags the crosshair to aim at the first virtual object. That is, when the first virtual object and the crosshair are displayed, in response to the dragging operation on the crosshair, the crosshair is synchronously controlled to move in the virtual scene, and in response to canceling the dragging operation, the crosshair is controlled to stop moving in the virtual scene. The crosshair can stop at the position corresponding to the first virtual object, thereby achieving aiming at the first virtual object. In this way, the accuracy of aiming at the first virtual object can be improved, thereby improving the user's gaming experience.
[0189] Continue to see Figure 3In step 103, when the crosshair is aimed at the first virtual object, in response to the invitation instruction for the first virtual object, a riding request is sent to the first virtual object.
[0190] In some embodiments, an invitation confirmation control for the crosshairs is displayed in the interface displaying the virtual scene. When the crosshairs is aimed at the first virtual object, responding to the triggering operation of the invitation confirmation control indicates that the targeted first virtual object is wanted to be invited to ride the first virtual pet together, which is equivalent to responding to the invitation instruction for the first virtual object and sending a riding request to the first virtual object.
[0191] Among them, for the method of automatically aiming at the first virtual object and for the method of aiming at the first virtual object by moving the control, the invitation determination control can be used to trigger the invitation instruction for the first virtual object. In this way, it is possible to send a riding request by aiming. For the user who controls the main virtual object, the user can control the crosshairs to aim at the virtual object that he wants to request to ride together, which can improve the autonomy of sending riding requests and enrich the diversity of interaction methods.
[0192] In some embodiments, in response to the virtual scene's ride invitation function being turned on, a virtual joystick is displayed in the interface of the virtual scene, and in response to a drag operation on the virtual joystick, a crosshair is controlled to move synchronously in the virtual scene to aim at the first virtual object, and in response to the drag operation on the virtual joystick being released, an invitation instruction is triggered. In this way, the virtual object can be aimed at by the virtual joystick, thereby triggering the invitation instruction, which can enrich the way of aiming at the virtual object.
[0193] In some embodiments, in order to improve the neatness of the interface in the virtual scene, the number of displayed virtual controls can be controlled, and the fifth style can be used to display the ride invitation control. In response to a press operation on the ride invitation control, the ride invitation function of the virtual scene is turned on, and the display style of the ride invitation control is switched from the fifth style to the sixth style. After turning on the ride invitation function of the virtual scene, during the pressing operation, in response to a drag operation on the sixth style of the ride invitation control, the position of the crosshairs in the virtual scene is adjusted to aim at the first virtual object. In response to the press operation being released, the invitation instruction is triggered.
[0194] Among them, the fifth style of riding invitation control is used to turn on the riding invitation function, the sixth style of riding invitation control is used to adjust the position of the crosshairs in the virtual scene and send a riding request, and the fifth style of riding invitation control and the sixth style of riding invitation control together realize the invitation of virtual objects to ride together.
[0195] The fifth style and the sixth style are explained below. The fifth style and the sixth style are different. In some embodiments, at least one of the fifth style icon and the sixth style icon, the fifth style text and the sixth style text, the display area corresponding to the fifth style and the display area corresponding to the sixth style, and the color of the fifth style and the sixth style may be different. In this way, the user can automatically change the display style of the ride invitation control during continuous pressing. The ride invitation controls under different display styles implement different functions, so that multiple operations can be completed through one control, which improves the neatness of the virtual scene interface and improves the user's gaming experience.
[0196] In the case where the mobile control includes a virtual joystick, in response to a drag operation on the virtual joystick, after controlling the crosshairs to move in the virtual scene to aim at the first virtual object, in response to the drag operation on the virtual joystick being released, an invitation instruction for the first virtual object is triggered, and in response to the invitation instruction for the first virtual object, a ride request can be sent to the first virtual object. In this way, the invitation instruction can be triggered in combination with the virtual joystick, and the virtual joystick can also realize the movement of the crosshairs, which can improve the accuracy of sending the ride request, and enrich the interaction method, which can improve the user's gaming experience.
[0197] In some embodiments, in response to the ride invitation function of the virtual scene being turned on, the object status of the candidate virtual object is displayed at the associated position of each candidate virtual object, wherein the associated position of the candidate virtual object may be the position where the candidate virtual object is displayed, or the associated position of the candidate virtual object may be a position that is a fourth distance away from the position where the candidate virtual object is displayed, which may be specifically set according to actual usage.
[0198] The object state includes an inviteable state and an uninviteable state. The inviteable state means that the master virtual object can invite the candidate virtual object to ride together, and the uninviteable state means that the master virtual object cannot invite the candidate virtual object to ride together. In this way, the diversity of the content displayed in the virtual scene can be increased, and the user can intuitively know the object state of the candidate virtual object, thereby improving the user's gaming experience.
[0199] The object status can be displayed in one or more ways: text, graphics, or video. For example, see Fig.14 , Fig.14 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10First, a candidate virtual object 1402 and a candidate virtual object 1403 are displayed in a virtual scene 1401. For the candidate virtual object 1402, an object state 1404 of the candidate virtual object 1402 can be displayed at the associated position of the candidate virtual object 1402. The object state 1404 is "invitable". Therefore, the candidate virtual object 1402 can be the first virtual object that rides the first virtual pet together with the main virtual object.
[0200] For the candidate virtual object 1403, the object state 1405 of the candidate virtual object 1403 can be displayed at the associated position of the candidate virtual object 1403. The object state 1405 is "not inviteable", so the candidate virtual object 1403 cannot be the first virtual object that rides the first virtual pet together with the main virtual object. In this way, the diversity of the content displayed in the virtual scene can be increased, and the user can intuitively know the object state of the candidate virtual object, thereby improving the user's gaming experience.
[0201] In the case of displaying the object state of the candidate virtual object, Figure 3 Step 103 shown can be implemented in the following manner: when the crosshair is aimed at the first virtual object and the object state of the first virtual object is an inviteable state, in response to an invitation instruction for the first virtual object, a ride request is sent to the first virtual object. In this manner, the user can intuitively know the object state of the candidate virtual object, thereby improving the accuracy of sending the ride request and improving the user's gaming experience.
[0202] In some embodiments, when the crosshairs are aimed at the first virtual object and the object state of the first virtual object is a non-invitable state, a seventh prompt message may be displayed, and the seventh prompt message is used to remind the master virtual object that it cannot invite the candidate virtual object to ride together. The seventh prompt message may be displayed in the form of a pop-up window or a floating layer, which may be set according to actual usage requirements. In this way, the master virtual object can be further reminded that it cannot invite the candidate virtual object to ride together, thereby improving the user's gaming experience.
[0203] In some embodiments, when the crosshair is aimed at the first virtual object, an invitation mark corresponding to the first virtual object is displayed at the aiming position of the crosshair, and the invitation mark is used to indicate whether the first virtual object can be invited.
[0204] The invitation mark may be one or more of a text mark, a pattern mark, and a video mark. The invitation mark may include a first invitation mark and a second invitation mark. The first invitation mark may be used to indicate that the first virtual object can be invited, that is, the master virtual object can invite the first virtual object to ride together. The second invitation mark is used to indicate that the first virtual object cannot be invited, that is, the master virtual object cannot invite the first virtual object to ride together.
[0205] If the first virtual object can be invited, a first invitation mark corresponding to the first virtual object is displayed at the aiming position of the crosshair, for example, see Fig.15 , Fig.15 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 Second, if the first virtual object 1501 can be invited, a first invitation mark 1503 corresponding to the first virtual object 1501 is displayed at the aiming position of the crosshair 1502 .
[0206] If the first virtual object cannot be invited, a second invitation mark corresponding to the first virtual object is displayed at the aiming position of the crosshair. Fig.16 , Fig.16 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 Third, if the first virtual object 1601 cannot be invited, a second invitation mark 1603 corresponding to the first virtual object 1601 is displayed at the aiming position of the crosshair 1602 .
[0207] The first invitation mark is different from the second invitation mark, specifically including at least one of the following: the text corresponding to the first invitation mark is different from the text corresponding to the second invitation mark, the pattern of the first invitation mark is different from the pattern of the second invitation mark, the color of the first invitation mark is different from the color of the second invitation mark, and the video of the first invitation mark is different from the video of the second invitation mark. For example, the pattern of the first invitation mark is a triangle, and the pattern of the second invitation mark can be a square, so the pattern of the first invitation mark is different from the pattern of the second invitation mark.
[0208] The pattern of the first invitation mark is different from the pattern of the second invitation mark, which may include that the pattern filled in the first invitation mark is different from the pattern filled in the second invitation mark. Fig.15 and Fig.16It can be seen that the first invitation mark 1503 is not filled with a pattern, the second invitation mark 1603 is filled with a pattern, and the first invitation mark 1503 is different from the second invitation mark 1603. In this way, the richness of the content displayed in the virtual scene can be improved, and the user can intuitively know the virtual objects that can be invited to ride together and the virtual objects that cannot be invited to ride together, so that the riding request can be accurately sent later, thereby improving the user's gaming experience.
[0209] When the invitation mark indicates that the first virtual object cannot be invited, that is, when the first invitation mark corresponding to the first virtual object is displayed at the aiming position of the crosshair, the first virtual object can be controlled to be in an unselectable state, which is equivalent to being unable to trigger an invitation instruction for the first virtual object, or, in response to the invitation instruction for the first virtual object, an eighth prompt information can be displayed, and the eighth prompt information can be used to indicate that the first virtual object cannot be invited. The eighth prompt information can also include the reason why the first virtual object cannot be invited. In this way, the user can intuitively know that the first virtual object cannot be invited, thereby improving the user's gaming experience.
[0210] The following describes the situation where a virtual object cannot be invited. In some embodiments, when the virtual object performs other operations, the virtual object cannot be invited to ride together. The other operations may be any operations except riding together. For example, the other operations may be one or more of the operations of releasing skills, learning skills, and purchasing virtual props. The specific settings can be made according to actual usage requirements.
[0211] In some embodiments, if the virtual object is a non-player virtual object, the virtual object cannot be invited to ride together. In some embodiments, if the virtual object is preset not to receive ride requests, the virtual object cannot be invited to ride together. In some embodiments, conditions for being able to ride together can also be set, and if the virtual object does not meet the conditions for riding together, it can be determined that the virtual object cannot be invited to ride together.
[0212] For example, the condition for riding together may be that the virtual object is in the target area. If the virtual object is not in the target area, it can be determined that the virtual object does not meet the condition for riding together. For another example, the condition for riding together may be that the level of the virtual object is greater than the level threshold. If the level of the virtual object is less than or equal to the level threshold, it can be determined that the virtual object does not meet the condition for riding together. The conditions for riding together can be set according to actual usage requirements and are not specifically limited here. In this way, the scene of riding together can be enriched, thereby improving the user's gaming experience.
[0213] against Figure 3 In step 103, when the invitation mark indicates that the first virtual object can be invited, a ride request is sent to the first virtual object in response to the invitation instruction for the first virtual object. That is, when the first invitation mark corresponding to the first virtual object is displayed at the aiming position of the crosshair, a ride request is sent to the first virtual object in response to the invitation instruction for the first virtual object. In this way, the accuracy of sending the ride request can be further improved, thereby improving the user's gaming experience.
[0214] In some embodiments, when the virtual object is pre-set to receive a ride request, the virtual object can be invited to ride together. In some embodiments, conditions for being able to ride together can also be set, and when the virtual object meets the conditions for riding together, it can be determined that the virtual object can be invited to ride together.
[0215] For example, the condition for riding together may be that the virtual object is in the target area. If the virtual object is in the target area, it can be determined that the virtual object meets the condition for riding together. For another example, the condition for riding together may be that the level of the virtual object is greater than the level threshold. If the level of the virtual object is greater than the level threshold, it can be determined that the virtual object meets the condition for riding together. The conditions for riding together can be set according to actual usage requirements and are not specifically limited here. In this way, the scene of riding together can be enriched, thereby improving the user's gaming experience.
[0216] In some embodiments, the master virtual object can send ride requests to multiple candidate virtual objects. In some embodiments, different candidate virtual objects can be targeted in sequence. For each targeted candidate virtual object (i.e., the first virtual object), in response to an invitation instruction for the targeted virtual object, a ride request is sent to the targeted virtual object. In this way, it is possible to send ride requests to multiple virtual objects and increase the probability of the ride requests being approved.
[0217] In some embodiments, there may be multiple crosshairs, and the multiple crosshairs may aim at multiple candidate virtual objects at the same time. In response to a movement instruction triggered by a movement control, the multiple crosshairs are controlled to move synchronously in the virtual scene to aim at multiple first virtual objects. In response to an invitation instruction for the multiple first virtual objects, ride requests are sent to the multiple first virtual objects. In this way, it is possible to send ride requests to multiple virtual objects with one click, increase the probability of the ride request being approved, and increase the probability of sending the ride request.
[0218] In some embodiments, in response to an invitation instruction for the first virtual object, the first electronic device of the master virtual object can generate a ride request including an identifier of the first virtual object, and send the ride request to a server corresponding to the game. The server can determine the second electronic device of the first virtual object based on the identifier of the first virtual object in the ride request, and send the ride request to the second electronic device of the first virtual object, thereby displaying the ride request sent by the master virtual object in the display interface of the second electronic device of the first virtual object.
[0219] For the second electronic device, the second electronic device can display the display interface of the game application, display the virtual scene in the display interface of the game application, and display the riding request sent by the main virtual object, wherein the riding request can be displayed in the form of a pop-up window or a floating layer. In response to the confirmation instruction for the riding request, the second electronic device can generate return information for the riding request and send the return information of the riding request to the server, and the server can forward the return information of the riding request to the first electronic device.
[0220] Continue to participate Figure 3 In step 104, in response to the first virtual object accepting the riding request, the first virtual object is controlled to ride the first virtual pet together with the master virtual object.
[0221] In some embodiments, when the returned information indicates that the first virtual object accepts the riding request, in response to the first virtual object accepting the riding request, the first virtual object is controlled to ride the first virtual pet together with the master virtual object. Fig.17 , Fig.17 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 Fourth, in response to the first virtual object 1702 accepting the riding request, the first virtual object 1702 and the master virtual object 1703 are controlled to ride together on the first virtual pet 1701. In this way, the diversity of interactions between different virtual objects can be improved, and the ways of riding virtual objects together can be enriched, thereby improving the user's gaming experience.
[0222] In some embodiments, the master virtual object may send a ride request to multiple candidate virtual objects, wherein the multiple virtual objects include a first virtual object. For ease of understanding, at least one candidate virtual object also includes a second virtual object. When the crosshair is aimed at the second virtual object, in response to an invitation instruction for the second virtual object, a ride request is sent to the second virtual object. For details, see Figure 3 The description of step 103 is shown and the Figure 3 The step 103 shown is equivalently replaced and is not specifically limited here. The second virtual object may correspond to the third electronic device.
[0223] In some embodiments, in response to an invitation instruction for the second virtual object, the first electronic device of the master virtual object can generate a ride request including the identifier of the second virtual object, and send the ride request to the server corresponding to the game. The server can determine the third electronic device of the second virtual object based on the identifier of the second virtual object in the ride request, and send the ride request to the third electronic device of the second virtual object, so that the ride request sent by the master virtual object is displayed in the display interface of the third electronic device of the second virtual object.
[0224] For the third electronic device, the third electronic device can display the display interface of the game application, display the virtual scene in the display interface of the game application, and display the riding request sent by the main virtual object, wherein the riding request can be displayed in the form of a pop-up window or a floating layer. In response to the confirmation instruction for the riding request, the third electronic device can generate return information for the riding request and send the return information of the riding request to the server, and the server can forward the return information of the riding request to the first electronic device.
[0225] In some embodiments, the following describes the situation after a riding request is sent to multiple candidate virtual objects in combination with the first virtual object and the second virtual object. The virtual object that rides the first virtual pet together with the main virtual object can be determined by one or more of the time when the riding request is accepted, the distance between the location where the riding request is accepted and the location of the main virtual object, the relationship between the virtual object that accepts the riding request and the main virtual object, the intimacy between the virtual object that accepts the riding request and the main virtual object, and the level of the virtual object that accepts the riding request.
[0226] In some embodiments, in response to the first virtual object accepting the riding request at a first time and the second virtual object accepting the riding request at a second time, and the first time is earlier than the second time, the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0227] In some embodiments, in response to the first virtual object accepting the riding request at the first moment and the second virtual object accepting the riding request at the second moment, and the first moment is later than the second moment, the second virtual object and the main virtual object are controlled to ride the first virtual pet together. That is, in the case where both the first virtual object and the second virtual object accept the riding request, the virtual object that accepts the riding request first can be controlled to ride the first virtual pet together with the main virtual object. In this way, the situations of riding the first virtual pet together can be enriched, and the user's gaming experience can be improved.
[0228] In some embodiments, the difference between the first moment and the second moment is less than a difference threshold, and in response to an invitation instruction for multiple candidate virtual objects, a riding request is sent to the virtual objects corresponding to the invitation instruction. A time interval is pre-set, and the time interval starts at the time point when the riding request is sent. The duration corresponding to the time interval is the preset duration. Within the time interval, if there are multiple candidate virtual objects that accept the riding request, the virtual object that accepts the riding request earliest is controlled to ride the first virtual pet together with the main virtual object. In this way, the situation of riding the first virtual pet together can be enriched, and the user's gaming experience can be improved.
[0229] Within the time interval, if there is a candidate virtual object that accepts the riding request, the virtual object that accepts the riding request within the time interval is controlled to ride the first virtual pet together with the main virtual object. In this way, the situation of riding the first virtual pet together can be enriched and the user's gaming experience can be improved.
[0230] In some embodiments, in response to the first virtual object accepting a riding request at a first position and the second virtual object accepting a riding request at a second position, and the distance between the first position and the master virtual object is smaller than the distance between the second position and the master virtual object, the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0231] In some embodiments, in response to the first virtual object accepting the riding request at the first position, the second virtual object accepting the riding request at the second position, and the distance between the second position and the master virtual object is less than the distance between the first position and the master virtual object, the second virtual object and the master virtual object are controlled to ride the first virtual pet together. That is, when both the first virtual object and the second virtual object accept the riding request, the virtual object closer to the master virtual object can be controlled to ride the first virtual pet together with the master virtual object. In this way, the situations of riding the first virtual pet together can be enriched, and the user's gaming experience can be improved.
[0232] For example, see Fig.18 , Fig.18 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10Fifth, the first virtual object 1802, the second virtual object 1805, the master virtual object 1804 and the first virtual pet 1803 are displayed in the virtual scene 1801, and the master virtual object 1804 rides the first virtual pet 1803. In response to the first virtual object 1802 accepting the riding request at the first position, the second virtual object 1805 accepting the riding request at the second position, and the distance between the second position and the master virtual object 1804 is smaller than the distance between the first position and the master virtual object 1804, the second virtual object 1805 and the master virtual object 1804 are controlled to ride the first virtual pet 1803 together. In this way, the situation of riding the first virtual pet together can be enriched, and the user's game experience can be improved.
[0233] In the interaction method in the virtual scene provided in the embodiment of the present application, when both the first virtual object and the second virtual object accept the riding request, the virtual object closer to the main virtual object can be controlled to ride the first virtual pet together with the main virtual object. In this way, the situations of riding the first virtual pet together can be enriched, thereby improving the user's gaming experience.
[0234] In some embodiments, when both the first virtual object and the second virtual object accept the riding request, if the first virtual object and the controlling virtual object have a friend relationship, but the second virtual object and the controlling virtual object do not have a friend relationship, the first virtual object and the controlling virtual object can be controlled to ride the first virtual pet together.
[0235] In some embodiments, when both the first virtual object and the second virtual object accept the riding request, if the first virtual object and the controlling virtual object do not have a friend relationship, but the second virtual object and the controlling virtual object do have a friend relationship, the second virtual object and the controlling virtual object can be controlled to ride the first virtual pet together.
[0236] In some embodiments, the relationship between the first virtual object and the master virtual object can be set according to actual usage requirements. In the interactive method in the virtual scene provided in the embodiment of the present application, the virtual object that rides the first virtual pet together with the master virtual object can be determined in combination with the relationship between the virtual object that accepts the riding request and the master virtual object. In this way, the situation of riding the first virtual pet together can be enriched, and the user's gaming experience can be improved.
[0237] In some embodiments, when both the first virtual object and the second virtual object accept the riding request, if the intimacy between the first virtual object and the controlling virtual object is greater than the intimacy between the second virtual object and the controlling virtual object, the first virtual object and the controlling virtual object can be controlled to ride the first virtual pet together.
[0238] In some embodiments, when both the first virtual object and the second virtual object accept the riding request, if the intimacy between the first virtual object and the controlling virtual object is less than the intimacy between the second virtual object and the controlling virtual object, the second virtual object and the controlling virtual object can be controlled to ride the first virtual pet together.
[0239] In some embodiments, the intimacy between the virtual object and the main virtual object can be determined by combining one or more of the number of interactions, the number of days of adding a friend relationship, and the number of days of conversations, which can be set according to actual usage requirements. In the interaction method in the virtual scene provided by the embodiment of the present application, the virtual object that accepts the riding request and the intimacy between the main virtual object can be combined to determine the virtual object that rides the first virtual pet together with the main virtual object. In this way, the situation of riding the first virtual pet together can be enriched, and the user's gaming experience can be improved.
[0240] In some embodiments, when both the first virtual object and the second virtual object accept the riding request, if the level of the first virtual object is greater than the level of the second virtual object, the first virtual object and the master virtual object can be controlled to ride the first virtual pet together. In some embodiments, when both the first virtual object and the second virtual object accept the riding request, if the level of the first virtual object is less than the level of the second virtual object, the second virtual object and the master virtual object can be controlled to ride the first virtual pet together.
[0241] In the interactive method in the virtual scene provided by the embodiment of the present application, the virtual object that rides the first virtual pet together with the main virtual object can be determined in combination with the level of the virtual object. In this way, the situation of riding the first virtual pet together can be enriched, and the user's gaming experience can be improved.
[0242] With respect to the above-mentioned situation in which the virtual object that rides the first virtual pet together with the main virtual object is determined by any one of the time of accepting the riding request, the distance between the location where the riding request is accepted and the location of the main virtual object, the relationship between the virtual object that accepts the riding request and the main virtual object, the intimacy between the virtual object that accepts the riding request and the main virtual object, and the level of the virtual object that accepts the riding request, if they are equal, other methods may be used to determine the virtual object that rides the first virtual pet together with the main virtual object.
[0243] For example, in some embodiments, in response to the first virtual object accepting a riding request at a first moment, the second virtual object accepting a riding request at a second moment, and the first moment is equal to the second moment, the virtual object that rides the first virtual pet together with the master virtual object is further determined by the position of accepting the riding request, and in response to the first virtual object accepting the riding request at a first position, the second virtual object accepting the riding request at a second position, and the distance between the first position and the master virtual object is less than the distance between the second position and the master virtual object, the first virtual object is controlled to ride the first virtual pet together with the master virtual object. In this way, it is possible to accurately determine that the first virtual pet is ridden together with the master virtual object, thereby improving the accuracy of the shared riding.
[0244] The moment of accepting the riding request, the distance between the location of accepting the riding request and the location of the controlling virtual object, the relationship between the virtual object accepting the riding request and the controlling virtual object, the intimacy between the virtual object accepting the riding request and the controlling virtual object, and the level of the virtual object accepting the riding request are all elements for determining the virtual object that rides the first virtual pet together with the controlling virtual object.
[0245] When at least two of the time of accepting the riding request, the distance between the location of the riding request and the location of the main virtual object, the relationship between the virtual object accepting the riding request and the main virtual object, the intimacy between the virtual object accepting the riding request and the main virtual object, and the level of the virtual object accepting the riding request are used to determine the virtual object that rides the first virtual pet together with the main virtual object, different elements can be used to determine the candidate virtual object that rides the first virtual pet together with the main virtual object, and when the candidate virtual objects corresponding to different elements are consistent, the candidate virtual object is determined to be the virtual object that rides the first virtual pet together with the main virtual object. In this way, it is possible to accurately determine that the virtual object rides the first virtual pet together with the main virtual object, thereby improving the accuracy of the joint ride.
[0246] When the virtual objects to be selected corresponding to different elements are inconsistent, different elements have priorities, and the virtual object to be selected corresponding to the element with the highest priority can be determined as the virtual object that rides the first virtual pet together with the main control virtual object. The priority can be set according to actual usage requirements.
[0247] For example, the priority of the moment of accepting the ride request is greater than the priority of the distance between the position of accepting the ride request and the position of the master virtual object, the priority of the distance between the position of accepting the ride request and the position of the master virtual object is greater than the priority of the relationship between the virtual object accepting the ride request and the master virtual object, the priority of the relationship between the virtual object accepting the ride request and the master virtual object is greater than the priority of the intimacy between the virtual object accepting the ride request and the master virtual object, and the priority of the intimacy between the virtual object accepting the ride request and the master virtual object is greater than the priority of the level of the virtual object accepting the ride request. In this way, it is possible to accurately determine whether to ride the first virtual pet together with the master virtual object, thereby improving the accuracy of the joint ride.
[0248] In some embodiments, the number of virtual objects to be selected may be counted, and the virtual objects whose number is greater than a number threshold may be determined as virtual objects that ride the first virtual pet together with the master virtual object. For example, the virtual objects with the largest number of virtual objects to be selected may be determined as virtual objects that ride the first virtual pet together with the master virtual object. After the virtual object that rides the first virtual pet together with the master virtual object is determined, the virtual object may be controlled to ride the first virtual pet together with the master virtual object. In this way, it may be accurately determined that the virtual object rides the first virtual pet together with the master virtual object, thereby improving the accuracy of the co-riding.
[0249] In the interaction method in the virtual scene provided by the embodiment of the present application, a variety of methods can be used to determine the virtual object that rides the first virtual pet together with the main virtual object, which can improve the accuracy of determining the virtual object, and can enrich the situations of riding the first virtual pet together, thereby improving the user's gaming experience.
[0250] The interactive method in a virtual scene provided by an embodiment of the present application can display a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object. In response to the riding invitation function of the virtual scene being turned on, a crosshair for aiming in the virtual scene is displayed, thereby improving the richness of the content displayed in the virtual scene. When the crosshair is aimed at the first virtual object, a riding request is sent to the first virtual object in response to an invitation instruction for the first virtual object. In response to the first virtual object accepting the riding request, the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0251] In the embodiment of the present application, a ride request can be sent by aiming. For the user who controls the main virtual object, the user can control the crosshairs to aim at the virtual object that he wants to request to ride together, which can improve the autonomy of sending ride requests and enrich the diversity of interaction methods. Only when the first virtual object accepts the ride request, the first virtual object and the main virtual object are controlled to ride the first virtual pet together. For the user who controls the first virtual object, it can be determined whether to accept the ride request according to actual usage needs, which can improve the autonomy of accepting the ride request, and can improve the diversity of interactions between different virtual objects, enrich the ways of virtual objects riding together, and improve the resource utilization of electronic devices, thereby improving the user's gaming experience, and can solve technical problem 1.
[0252] In some embodiments, Figure 3 After step 103, that is, after sending a ride request to the first virtual object, in response to a control instruction for the crosshair, the crosshair is controlled to aim at the first virtual object again, and in response to a re-triggered invitation instruction for the first virtual object, if the time difference between the two invitation instructions executed for the first virtual object is less than the time difference threshold, a first prompt message is displayed. The first prompt message is used to prompt that the frequency of sending ride requests has reached the frequency threshold and the ride request cannot be sent again.
[0253] For example, see Fig.19 , Fig.19 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 Sixth, a first virtual object 1902, a master virtual object 1904 and a first virtual pet 1903 are displayed in a virtual scene 1901, and the master virtual object 1904 rides on the first virtual pet 1903. In response to the invitation instruction for the first virtual object 1902 that is triggered again, if the time difference between the two invitation instructions executed for the first virtual object 1902 is less than the time difference threshold, a first prompt message 1905 is displayed, and the first prompt message 1905 is "Frequent operation, please try again later", wherein frequent operation means that the frequency of sending the riding request reaches the frequency threshold, and please try again later is used to indicate that the riding request cannot be sent again at present. In this way, the user can intuitively know whether the riding request is sent successfully and the reason for the failure of sending the riding request, which can improve the user experience.
[0254] In some embodiments, the first prompt information may be displayed in the form of a pop-up window or a floating layer. The first prompt information may have a first display duration. In response to the first display duration of displaying the first prompt information reaching the first duration, the first prompt information may be automatically canceled. For example, the first prompt information may be "The frequency of sending the ride request has reached the frequency threshold, and the ride request cannot be sent again." In response to the first display duration of displaying the first prompt information reaching 5s (first duration), the first prompt information may be automatically canceled. In this way, the user can intuitively know whether the ride request is sent successfully, and the reason for the failure to send the ride request, which can improve the user experience.
[0255] In some embodiments, the first prompt information may also include a first countdown, in response to the first countdown being 0, a re-invitation control for the first prompt information is displayed, or the re-invitation control is controlled to be in a selected state, in response to a trigger operation on the re-invitation control, an invitation instruction for the first virtual object may be triggered again, in response to the invitation instruction for the first virtual object, a riding request is sent to the first virtual object, in response to the first virtual object accepting the riding request, the first virtual object and the master virtual object are controlled to ride the first virtual pet together. In this way, the user can be assisted to improve the accuracy of the re-sending of the riding request, thereby improving the user's gaming experience.
[0256] In some embodiments, there is also a cancel control for the first prompt information. In response to a trigger operation on the cancel control, the first prompt information can be canceled. In this way, the first prompt information can be canceled according to the user's actual usage needs, thereby improving the user's gaming experience.
[0257] In some embodiments, Figure 3 After step 103 shown, that is, after sending a riding request to the first virtual object, when the crosshairs are not aimed at any candidate virtual object, in response to the invitation instruction, a second prompt message is displayed, and the second prompt message is used to prompt that there is no candidate virtual object to be invited.
[0258] In some embodiments, in the case where there are candidate virtual objects in the virtual scene, if the crosshairs are not aimed at any candidate virtual objects, it means that the user has moved the crosshairs inaccurately. In response to the invitation instruction, a second prompt message is displayed, and the second prompt message is used to prompt that there is no invited candidate virtual object. In this case, the second prompt message may also include movement prompt information, and the movement prompt information is used to assist the user in moving the crosshairs. The movement prompt information can be determined based on the relative position relationship between the position aimed at by the crosshairs and the candidate virtual object closest to the crosshairs.
[0259] For example, see Fig. 20 , Fig. 20 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 Seventh, in the case where there is a candidate virtual object 2003 in the virtual scene 2001, if the crosshair 2002 is not aimed at any candidate virtual object, it means that the user moves the crosshair inaccurately, and the crosshair is not aimed at any virtual object, that is, there is no candidate virtual object to be invited. In response to the invitation instruction, the second prompt information 2004 is displayed, and the second prompt information 2004 is "No virtual object is aimed at, try moving left", wherein the virtual object is not aimed at to indicate that there is no candidate virtual object to be invited, and the move prompt information is "Try moving left". In this way, the user can intuitively know whether the riding request is sent successfully and the reason for the failure of the riding request to send, which can improve the user experience.
[0260] In some embodiments, in response to the invitation instruction, a second prompt message is displayed when there is no candidate virtual object in the virtual scene and the crosshairs are not aimed at any candidate virtual object. The second prompt message is used to prompt that there is no invited candidate virtual object in the virtual scene. In this case, the second prompt message may also include position guidance information, which is used to guide the master virtual object to move to the position where the candidate virtual object exists. In this way, the user can intuitively know whether the ride request is sent successfully and the reason for the failure of the ride request to send, which can improve the user experience.
[0261] In some embodiments, Figure 3 In step 104, in response to the first virtual object accepting the riding request within the target time period, the first virtual object and the master virtual object are controlled to ride the first virtual pet together. That is, there is a corresponding target time period for each riding request, and the target time period can be preset, or can be determined according to one or more of the number of riding requests sent, the historical duration of accepting the riding request of the master virtual object, and the level of the first virtual pet, wherein the duration corresponding to the target time period is greater than or equal to the historical duration, thereby increasing the probability of the riding request being accepted and improving the user's gaming experience.
[0262] In some embodiments, in response to the first virtual object not accepting the riding request within the target time period, it indicates that the first virtual object is less willing to accept the riding request, and thus the riding request for the first virtual object can be canceled. In this way, the riding request for the first virtual object can be automatically canceled, and for the terminal corresponding to the first virtual object, the neatness of the display interface can be improved, thereby improving the user's gaming experience.
[0263] In some embodiments, after controlling the first virtual object and the master virtual object to ride the first virtual pet together, a dismissal control may be displayed in an interface displaying a virtual scene, and in response to a triggering operation on the dismissal control, the first virtual object and the master virtual object are removed from the first virtual pet.
[0264] For example, see Fig.21 , Fig.21 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 Eight, the first virtual object 2102 and the main virtual object 2103 ride on the first virtual pet 2101 together, and a dismiss control 2104 is displayed in the interface displaying the virtual scene. In response to the triggering operation of the dismiss control 2104, the first virtual object 2102 and the main virtual object 2103 are removed from the first virtual pet 2101. In this way, it is possible to achieve one-click cancellation of the virtual object (including the first virtual object and the main virtual object) riding the first virtual pet, which can improve the efficiency of canceling the virtual object riding the first virtual pet.
[0265] In some embodiments, the first virtual object and the master virtual object are controlled to ride the first virtual pet together, a pet switching control is displayed in the interface of the virtual scene, and in response to a trigger operation on the pet switching control, the first virtual object and the master virtual object are removed from the first virtual pet, the first virtual pet is switched to the second virtual pet, and the master virtual object is controlled to ride the second virtual pet.
[0266] In some embodiments, a pet switching control may be displayed in the virtual scene. In response to a trigger operation on the pet switching control, at least one virtual pet owned by the player character may be displayed. In response to a selection operation on a second virtual pet among the at least one virtual pet, it is equivalent to removing the first virtual object and the master virtual object from the first virtual pet in response to the trigger operation on the pet switching control, switching the first virtual pet to the second virtual pet, and controlling the master virtual object to ride the second virtual pet.
[0267] In some embodiments, multiple pet switching controls can be displayed in a virtual scene, and each pet switching control corresponds to identification information of a virtual pet. One pet switching control corresponds to one virtual pet, and one virtual pet corresponds to one identification information. The identification information can be one or more of the virtual pet's avatar, the virtual pet's name, and the virtual pet's unique identifier, and can be set according to actual usage requirements.
[0268] Responding to the triggering operation of the pet switching control for the second virtual pet is equivalent to responding to the triggering operation of the pet switching control, removing the first virtual object and the main virtual object from the first virtual pet, switching the first virtual pet to the second virtual pet, and controlling the main virtual object to ride the second virtual pet.
[0269] For example, see Fig. 22 , Fig. 22 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 10 9. The first virtual object 2202 and the main virtual object 2203 ride the first virtual pet 2201 together. Multiple pet switching controls can be displayed in the virtual scene. Fig. 22 Only the pet switching control 2204 is marked, each pet switching control corresponds to a virtual pet avatar, and the pet switching control 2204 is used to switch the first virtual pet 2201 to the second virtual pet 2205
[0270] In response to the triggering operation of the pet switching control 2204 for the second virtual pet 2205, the first virtual object 2202 and the main virtual object 2203 are removed from the first virtual pet 2201, the first virtual pet 2201 is switched to the second virtual pet 2205, and the main virtual object 2203 is controlled to ride on the second virtual pet 2205. In this way, the virtual pet ridden by the main virtual object can be switched, the interaction between the main virtual object and the virtual pet can be improved, and thus the user's gaming experience can be improved.
[0271] In some embodiments, the pet switching control can be a pet control. The pet control is described below. Multiple pet controls are displayed in the interface of the virtual scene. There is a one-to-one correspondence between the pet controls and the virtual pets. Each pet control can display the identification information of the corresponding virtual pet. The identification information can be one or more of the name of the virtual pet, the avatar of the virtual pet, and the unique identifier of the virtual pet, which is not specifically limited here.
[0272] In some embodiments, after controlling the first virtual object and the master virtual object to ride the first virtual pet together, in response to a selection instruction for a pet control corresponding to a second virtual pet, the first virtual object and the master virtual object are removed from the first virtual pet, the first virtual pet is switched to the second virtual pet, and the master virtual object is controlled to ride the second virtual pet.
[0273] In some embodiments, the second virtual pet is in the second virtual container. In response to a selection instruction for the pet control corresponding to the second virtual pet, the first virtual object and the main virtual object can be removed from the first virtual pet, which is equivalent to disbanding the joint ride, and the main virtual object is controlled to hold the second virtual container corresponding to the second virtual pet. In response to a throwing instruction triggered for the main virtual object, the main virtual object is controlled to throw the second virtual container into the virtual scene. In response to the second virtual container being thrown into the virtual scene, the second virtual pet is controlled to be displayed in the virtual scene. This is equivalent to the selection instruction for the pet control to achieve the disbanding of the joint ride.
[0274] In some embodiments, a throwing instruction can be triggered by a throwing control, and in response to a selection instruction of a pet control corresponding to a virtual pet, identification information of the virtual pet can be displayed in an associated area of the throwing control. Based on the throwing control, in response to a throwing instruction triggered for a master virtual object, the master virtual object is controlled to throw the virtual container into a virtual scene, and in response to the virtual container being thrown into the virtual scene, the virtual pet is controlled to be displayed in the virtual scene. The above virtual pet can correspond to the first virtual pet or the second virtual pet, and can be replaced equivalently.
[0275] In some embodiments, in response to a selection instruction for a pet control corresponding to a virtual pet, the throwing control can be displayed in the seventh style; in response to a throwing instruction triggered for a master virtual object, the display style of the throwing control can be switched from the seventh style to the eighth style, that is, after displaying the virtual pet, the throwing control can be displayed in the eighth style.
[0276] Among them, the throwing control displayed in the seventh style is used to throw the virtual container, and the throwing control displayed in the eighth style allows the user to take the corresponding virtual pet back to the virtual container. Accordingly, the throwing control can be displayed in the eighth style to take back the first virtual pet, and remove the first virtual object and the main control virtual object from the first virtual pet. In this way, the way of disbanding the shared ride can be enriched, thereby improving the user's gaming experience. The seventh style is different from the eighth style. For details, please refer to the description of the fifth style and the sixth style, and make equivalent replacements, which will not be repeated here.
[0277] When the second virtual pet is displayed, the riding controls of the second virtual pet can be displayed synchronously, that is, the second virtual pet and the riding controls are displayed in the virtual scene, and in response to the trigger operation on the riding controls, the main virtual object is controlled to ride the second virtual pet. Through the above content, "switching the first virtual pet to the second virtual pet, and controlling the main virtual object to ride the second virtual pet" can be achieved. In this way, the virtual pet ridden by the main virtual object can be switched, the interaction between the main virtual object and the virtual pet can be improved, and thus the user's gaming experience can be improved.
[0278] In some embodiments, after controlling the first virtual object and the master virtual object to ride the first virtual pet together, a removal control is displayed in the interface of the virtual scene, and in response to a trigger operation on the removal control, the first virtual object is removed from the first virtual pet so that the master virtual object rides the first virtual pet alone.
[0279] For example, see Fig.23 , Fig.23 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 , the first virtual object 2302 and the master virtual object 2303 ride on the first virtual pet 2301 together, and a removal control 2304 is displayed in the interface displaying the virtual scene. In response to the triggering operation of the dismissal control 2304, the first virtual object 2302 is removed from the first virtual pet 2301, so that the master virtual object 2303 rides on the first virtual pet 2301 alone. In this way, the first virtual object can be removed with one click, which is equivalent to canceling the joint riding of the first virtual pet with one click, and the master virtual object can ride on the first virtual pet alone, which can improve the game experience of the user.
[0280] In some embodiments, before the master virtual object is controlled to ride the first virtual pet, the riding controls may be displayed in a first style. After the master virtual object is controlled to ride the first virtual pet, the display style of the riding controls may be switched from the first style to a second style. In response to a triggering operation on the riding controls of the second style, the master virtual object is removed from the first virtual pet.
[0281] The riding control displayed in the first style is used to control the main virtual object to ride the first virtual pet, and the riding control displayed in the second style is used to remove the main virtual object from the first virtual pet. The two have different functions, and the riding controls displayed in different styles can be used to realize riding and removing riding, which can improve the neatness of the interface displaying the virtual scene.
[0282] The first style and the second style are different. In some embodiments, at least one of the icon of the first style and the icon of the second style, the text of the first style and the text of the second style, the display area corresponding to the first style and the display area corresponding to the second style, and the color of the first style and the color of the second style may be different.
[0283] In some embodiments, after the first virtual object and the master virtual object are controlled to ride the first virtual pet together, the first virtual pet is controlled to move in a target area, wherein the target area may be a mutual viewing area where the master virtual object and the candidate virtual object can see each other, and the area of the target area may be set according to actual use requirements. The target area may be a regular shape or an irregular shape. When the target area is a regular shape, for example, the target area is a circle, the radius and diameter of the target area may be set according to actual use requirements.
[0284] The first virtual pet's activity in the target area can be achieved by moving controls. The first virtual pet's activity in the target area is equivalent to the first virtual object and the main control virtual object synchronously moving in the target area, which can improve the interaction between the first virtual object and the main control virtual object and improve the user's gaming experience.
[0285] When the distance between the first virtual pet and the boundary of the target area is less than the second distance threshold, a third prompt message is displayed. The third prompt message is used to prompt that if the first virtual pet moves out of the target area, the first virtual object and the main control virtual object will release the common ride on the first virtual pet. The third prompt message can be displayed in the form of a pop-up window or a floating layer.
[0286] For example, see Fig.24 , Fig.24 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 First, the first virtual object 2402 and the main control virtual object 2403 ride on the first virtual pet 2401 together. When the distance between the first virtual pet 2401 and the boundary 2405 of the target area is less than the second distance threshold, the third prompt message 2406 is displayed, and the third prompt message 2406 is "leaving the target area ahead, and the joint ride will be terminated." In this way, it is convenient for the user to intuitively know whether to leave the target area, and at the same time, the user's sense of separation and loss when leaving the target area is reduced, and psychological expectations are established when leaving the target area.
[0287] In some embodiments, when there is an activity in the target area, the activity is an activity involving shared riding, and the third prompt information may also include an activity start prompt, which is used to prompt that there is an activity that is about to start. In this way, it is convenient for the user to intuitively know the activities in the target area, thereby improving the user's gaming experience.
[0288] In some embodiments, when the distance between the first virtual pet and the boundary of the target area is less than the second distance threshold, a boundary effect of the target area is displayed. The boundary effect can be used to increase the richness and diversity of the displayed content of the virtual scene, and can increase the visual impact and fun. In this way, the diversity of the content displayed in the virtual scene can be increased, and the user's gaming experience can be improved based on the user's visual impact.
[0289] Boundary special effects can be one or more of light and shadow effects, particle effects, animation effects, interactive effects between virtual scenes, and sound effects. Light and shadow effects can include adding a halo effect to a preset range of the target part, converging light emitted from all directions of the virtual scene to the target part of the virtual pet, and adding one or more of light and shadow change effects within a preset range of the target part.
[0290] Particle effects can be particles displayed within a preset range of the target part. The particles can be stars, snowflakes, petals, etc., and the particles can move according to a preset motion trajectory. Particle effects can also be trajectories composed of particles. Animation effects can be animation effects that perform interactive operations on the target part. Interactive effects with virtual scenes can be changes in the environment or weather in the virtual scene when interactive operations are performed on the target part. Sound effects can be the representation of sound effects through visual effects. For example, the effect of sound waves propagating in the air can be added to virtual pets. It can be set according to actual usage needs and is not specifically limited here.
[0291] In some embodiments, the size of the second distance threshold is positively correlated with the size of the target area, that is, the larger the second distance threshold, the larger the area of the target area, and the smaller the second distance threshold, the smaller the area of the target area. In the case where the target area is circular, the larger the second distance threshold, the larger the diameter of the target area, and the smaller the second distance threshold, the smaller the diameter of the target area. Of course, the target area can also be other regular shapes, which can be set according to actual usage requirements.
[0292] In some embodiments, in response to the duration during which the distance is less than the second distance threshold reaching a duration threshold, the display style of the third prompt information is switched from the third style to the fourth style, and the prompt intensity corresponding to the fourth style is higher than the prompt intensity corresponding to the third style.
[0293] The display style may include whether to bold, italic, enlarge the font, font color, font background fill color, the display area of the third prompt information, and the graphics corresponding to the third prompt information. The third style and the fourth style are different. For details, please refer to the description of the first style and the second style, and no specific limitation is made here.
[0294] For example, the prompt strength corresponding to the fourth style is higher than the prompt strength corresponding to the third style, which may mean that the third style does not bold the text corresponding to the third prompt information, while the fourth style bolds the text corresponding to the third prompt information. In this way, the prompt strength of the third prompt information can be improved, thereby further intuitively prompting the user to the content corresponding to the third prompt information, which can increase the diversity of displaying the third prompt information and improve the user's gaming experience.
[0295] In some embodiments, in response to the distance being less than a second distance threshold and the distance gradually decreasing, the prompt intensity corresponding to the display style of the third prompt information can be gradually increased, which can increase the prompt intensity of the third prompt information, thereby further intuitively prompting the user to the content corresponding to the third prompt information, increasing the diversity of displaying the third prompt information, and improving the user's gaming experience.
[0296] In some embodiments, after controlling the first virtual object and the master virtual object to ride the first virtual pet together, a ride request sent by the third virtual object is displayed, and the ride request is used to request to join the joint ride for the first virtual pet. In response to a determination instruction for the ride request, the third virtual object is controlled to ride the first virtual pet together with the first virtual object and the master virtual object.
[0297] In some embodiments, there is a corresponding determination control for the riding request. In response to the triggering operation on the determination control, a determination instruction for the riding request can be triggered. In response to the determination instruction for the riding request, the third virtual object is controlled to ride the first virtual pet together with the first virtual object and the master virtual object. In this way, the number of virtual objects that can be ridden together can be increased. Of course, the number of virtual objects that can be ridden together can be set to a positive integer greater than 3 according to actual usage requirements, which can enrich the interaction between the master virtual object and other virtual objects, thereby improving the user's gaming experience.
[0298] In some embodiments, in response to a determination instruction regarding a riding request, the first virtual object can be removed from the first virtual pet, and the third virtual object and the main virtual object can be controlled to ride the first virtual pet together. In this way, the replacement of the virtual objects that are ridden together can be achieved, thereby enriching the interaction between the main virtual object and the other virtual objects, thereby improving the user's gaming experience.
[0299] In some embodiments, in response to a rejection instruction for the riding request, the first virtual object and the master virtual object can be kept riding the first virtual pet together. In this way, the user can control the number of virtual objects that ride together according to the actual use request, thereby improving the user's gaming experience.
[0300] In some embodiments, for different virtual pets, the riding positions of the first virtual object and the master virtual object riding the first virtual pet are different. In some embodiments, there may be at least two candidate riding positions for the first virtual pet. In response to a selection instruction for a target riding position among the at least two candidate riding positions, the master virtual object or the first virtual object may be controlled to ride the first virtual pet at the target riding position. In this way, the user can set the riding position according to actual usage requirements, thereby improving the user's gaming experience.
[0301] In some embodiments, for the same virtual pet, there are different forms, and the corresponding riding positions are different under different forms. At least one candidate form of the virtual pet can be displayed, and in response to the selection operation of the target form in the at least one candidate form, the virtual object can be controlled to ride the virtual pet in the target form, wherein the number of virtual objects can be one or more. In this way, the user can set the form of the virtual pet according to actual use needs, thereby realizing the setting of the riding position, thereby improving the user's gaming experience.
[0302] The following describes the interactive method in the virtual scene provided by the embodiment of the present application. As mentioned above, the electronic device that implements the method for using the virtual props in the embodiment of the present application can be a terminal, a server, or a combination of the two. Fig.25 , Fig.25 This is a flow chart of the interactive method in the virtual scene provided in the embodiment of the present application. Fig.25 The steps shown take the execution subject being a terminal as an example to illustrate the interaction method in the virtual scene provided by the embodiment of the present application.
[0303] In step 2501, a virtual scene is displayed.
[0304] Among them, step 2501 and Figure 3 The step 101 shown is consistent, and the only difference between the two is that the electronic devices displayed are different. The electronic device corresponding to step 2501 is the second electronic device, and the electronic device corresponding to step 101 is the first electronic device. The virtual scene includes a first virtual object, and the first virtual object corresponds to the second electronic device.
[0305] In step 2502, the ride request sent by the master virtual object is displayed.
[0306] Among them, the riding request is used to invite the first virtual object and the master virtual object to ride the first virtual pet of the master virtual object together. A confirmation control and a rejection control can be displayed for the riding request. In response to the trigger operation of the rejection control, a rejection instruction for the riding request can be triggered, and the riding request sent by the master virtual object can be canceled.
[0307] In some embodiments, during the process of displaying a ride request, a countdown for the ride request is displayed. When the countdown is reset to zero, it indicates that the user controlling the first virtual object has a low willingness to accept the ride request, and thus the ride request can be canceled. In this way, the ride request can be automatically canceled, thereby improving the neatness of the interface of the virtual scene and enhancing the user's gaming experience.
[0308] In step 2503, in response to the determination instruction for the riding request, the first virtual object is transferred to the location of the first virtual pet, and the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0309] In some embodiments, in response to the trigger operation on the determination control, a determination instruction for the riding request can be triggered, the first virtual object can be transferred to the location of the first virtual pet, and the first virtual object and the main control virtual object can be controlled to ride the first virtual pet together. The determination instruction can also be triggered by shortcut keys, voice, body movements, etc., which are not specifically limited here.
[0310] In some embodiments, the first virtual object and the first virtual pet are located at different positions. In order to enable the first virtual object and the main virtual object to ride the first virtual pet together, the process of moving the first virtual object from the current position to the position of the first virtual pet can be displayed in the virtual scene, thereby improving the diversity of content displayed in the virtual scene.
[0311] In some embodiments, there may be at least two candidate riding positions for the first virtual pet. In response to a selection instruction for a target riding position among the at least two candidate riding positions, the first virtual object may be transferred to the target riding position of the first virtual pet, and the first virtual object and the master virtual object may be controlled to ride the first virtual pet together. In this way, the user may set the riding position according to actual usage requirements, thereby improving the user's gaming experience.
[0312] The interactive method in a virtual scene provided by an embodiment of the present application can display a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object. In response to the riding invitation function of the virtual scene being turned on, a crosshair for aiming in the virtual scene is displayed, thereby improving the richness of the content displayed in the virtual scene. When the crosshair is aimed at the first virtual object, a riding request is sent to the first virtual object in response to an invitation instruction for the first virtual object. In response to the first virtual object accepting the riding request, the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0313] In the embodiment of the present application, a ride request can be sent by aiming. For the user who controls the main virtual object, the user can control the crosshairs to aim at the virtual object that he wants to request to ride together, which can improve the autonomy of sending ride requests and enrich the diversity of interaction methods. Only when the first virtual object accepts the ride request, the first virtual object and the main virtual object are controlled to ride the first virtual pet together. For the user who controls the first virtual object, it can be determined whether to accept the ride request according to actual usage needs, which can improve the autonomy of accepting the ride request, and can improve the diversity of interactions between different virtual objects, enrich the ways of virtual objects riding together, and improve the resource utilization of electronic devices, thereby improving the user's gaming experience, and can solve technical problem 1.
[0314] In some embodiments, a leave control is displayed in the interface of the virtual scene, and in response to a trigger operation on the leave control, the first virtual object is controlled to leave the first virtual pet. In this way, the shared ride can be canceled according to the actual use needs of the user, thereby improving the user's use experience.
[0315] In some embodiments, in order to facilitate the users corresponding to the master virtual object and the first virtual object to intuitively obtain user information, in the display interface of the first electronic device corresponding to the master virtual object, after the master virtual object and the first virtual object ride the first virtual object together, the information of the first virtual object can be displayed in the associated area of the first virtual object, wherein the information of the first virtual object may include one or more of the name, level, title, organization to which it belongs, and gender of the first virtual object, which is not specifically limited here. The associated area of the virtual object can be a pre-set area, and can also be an area whose distance from the virtual object is less than a third distance threshold.
[0316] In the display interface of the second electronic device corresponding to the first virtual object, after the master virtual object and the first virtual object ride on the first virtual object together, the information of the master virtual object can be displayed in the associated area of the master virtual object, wherein the information of the master virtual object can include one or more of the name, level, title, organization to which it belongs, and gender of the master virtual object, which is not specifically limited here. In this way, the diversity of the content displayed in the virtual scene can be improved, and the user's gaming experience can be improved.
[0317] The following is an example of the content displayed by the second electronic device. For example, see Fig.26 , Fig.26 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 Second, the first virtual object 2601 is displayed on the display interface of the second electronic device, and the riding request 2602 sent by the master virtual object is displayed. For the riding request 2602, countdown information 2603 for the riding request is displayed. The countdown information 2603 includes a countdown and description information for the countdown. The countdown information 2603 is "invalid after the countdown ends (15 seconds)". When the countdown is cleared, the riding request 2602 is canceled. Fig.26 The process is shown in FIG.
[0318] join Fig. 27 , Fig. 27 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 Third, the first virtual object 2702 and the master virtual object 2703 ride the first virtual pet 2701 together, and a leave control 2704 is displayed in the interface displaying the virtual scene. In response to a trigger operation on the dismissal control 2704, the first virtual object 2702 is controlled to leave the first virtual pet 2704, so that the master virtual object 2703 rides the first virtual pet 2701 alone. Fig. 27 In this way, it is possible to leave the shared ride with one click, which can enhance the user's gaming experience.
[0319] In some embodiments, a list of objects to be requested may be displayed, where the objects to be requested are objects waiting for other virtual objects to join in the ride, and at least one object to be requested is displayed in the list. In response to a selection instruction for a target object in at least one of the objects to be requested, the first virtual object may be controlled to send a ride request to the target object. In response to the target object agreeing to the ride request, that is, in response to a confirmation instruction for the ride request, the first virtual object may be controlled to ride the target object's virtual pet together with the target object. In this way, the active sending of the ride request may be realized, thereby improving the user's gaming experience.
[0320] In order to facilitate understanding of the interactive mode of the virtual scene provided in the embodiment of the present application, the interactive mode of the virtual scene provided in the embodiment of the present application is described below by way of example. Fig.28 , Fig.28 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 Four, Fig.28 Displayed in the figure are a main control virtual object 2801, three pet controls (including a pet control 2802), a throwing control 2803, a skill control 2804, a riding control 2805, a jumping control 2806 and a sprinting control 2807.
[0321] The pet control 2802 displays the avatar of the first virtual pet. In response to the selection instruction for the pet control, the avatar of the first virtual pet can be displayed in the associated area of the throwing control 2803. The above process is not performed in Fig.28 It is shown in Fig.28 The middle throw control 2803 is displayed in the seventh style.
[0322] In response to the trigger operation on the skill control 2804, the master virtual object 2801 can be controlled to release the skill corresponding to the skill control 2804. In response to the trigger operation on the jump control 2806, the master virtual object 2801 can be controlled to perform a jump operation. In response to the trigger operation on the sprint control 2807, the master virtual object 2801 can be controlled to perform a sprint operation. The sprint operation is a moving operation, and the corresponding speed of the sprint operation is greater than the speed threshold. Fig.28 When the first virtual pet is not displayed, the riding control 2805 may not be displayed, which can be set according to actual usage requirements.
[0323] See also Fig.29 , Fig.29 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 5. Response to Fig.28 The throwing control 2803 shown triggers the throwing instruction. Fig.29 The first virtual pet 2901 is displayed in the figure, and the display style of the throwing control 2803 is controlled by Fig.28 The seventh style shown is switched to the eighth style.
[0324] exist Fig.29 In the example, the ride control 2805 is displayed in the first style, see Fig.30 , Fig.30 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 6. Response to Fig.29 The trigger operation of the riding control 2805 shown in FIG. 1 controls the master virtual object 2801 to ride the first virtual pet 2901, and changes the display style of the riding control 2805 from Fig.29 The first style switch shown is Fig.30 In some embodiments, in response to a trigger operation for the ride controls displayed in the second style, the master virtual object can be removed from the first virtual pet.
[0325] Continue to see Fig.30 In the case where the master virtual object 2801 rides the first virtual pet 2901, a riding invitation control 3001 may be displayed. Fig.30 , the ride invitation control 3001 is displayed in the fifth style.
[0326] See also Fig.31 , Fig.31 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 VII. Response to Fig.30 The pressing operation of the riding invitation control 3001 displayed in the fifth style is shown to open the riding invitation function of the virtual scene, and control the riding invitation control 3001 to adopt Fig.31 The sixth style display shown in FIG. 1 shows that, during the pressing operation, in response to the dragging operation on the ride invitation control 3001 displayed in the sixth style, the position of the crosshair 3101 in the virtual scene is adjusted to aim at the first virtual object 3103. Fig.31 A close control 3102 is also displayed, and the close control 3102 is used to close the ride invitation function. In response to a trigger operation on the close control 3102, the ride invitation function can be closed.
[0327] Undertake Fig.31 In response to the pressing operation being released, triggering the invitation instruction, in response to Fig.31 The invitation instruction of the first virtual object 3102 is shown to Fig.31 The first virtual object 3102 is shown sending a ride request, see Fig.32 , Fig.32 This is a schematic diagram of a virtual scene provided in an embodiment of the present application. Figure 20 8. In response to the first virtual object 3103 accepting the riding request, the first virtual object 3103 is controlled to ride the first virtual pet 2901 together with the master virtual object 2801, and Fig.31 The sixth style display of the ride invitation control 3001 is shown switched to a removal control 3201, and in Fig.32 , the ride control 2805 displayed in the second style is equivalent to the dismissal control.
[0328] In response to a trigger operation for removing the control, the first virtual object is removed from the first virtual pet, so that the master virtual object rides the first virtual pet alone. In response to a trigger operation for dismissing the control, the first virtual object and the master virtual object are removed from the first virtual pet.
[0329] In the embodiment of the present application, a ride request can be sent in an aiming manner. For the user who controls the main virtual object, the user can control the crosshairs to aim at the virtual object that he wants to request to ride together, which can improve the autonomy of sending ride requests and enrich the diversity of interaction methods. Only when the first virtual object accepts the ride request, the first virtual object and the main virtual object are controlled to ride the first virtual pet together. For the user who controls the first virtual object, it can be determined whether to accept the ride request according to actual use needs, which can improve the autonomy of accepting the ride request, and can improve the diversity of interactions between different virtual objects, enrich the ways of virtual objects riding together, and improve the resource utilization of electronic devices, thereby improving the user's gaming experience. In addition, in the embodiment of the present application, the control can automatically change according to different situations, which can improve the accuracy of control and the neatness of the interface that displays the virtual scene, thereby further improving the user's gaming experience.
[0330] In order to facilitate understanding of the interaction method of the virtual scene provided in the embodiment of the present application, the interaction method of the virtual scene provided in the embodiment of the present application is illustrated below. In some embodiments, in the interaction method of the virtual scene provided in the embodiment of the present application, the first virtual object can be invited to ride the first virtual pet together in an aiming manner. For example, long pressing the ride invitation control can turn on the ride invitation function of the virtual scene, which is equivalent to the main control virtual object entering the aiming state.
[0331] In response to the ride invitation function of the virtual scene being turned on, a crosshair for aiming in the virtual scene is displayed, and in response to a movement instruction triggered based on a movement control, the crosshair is controlled to move in the virtual scene to aim at the first virtual object.
[0332] For example, the mobile control is a virtual joystick, which can also become a skill joystick. In response to the drag operation on the virtual joystick, the crosshairs are controlled to move synchronously in the virtual scene to aim at the first virtual object. If the first virtual object can be invited, a first invitation mark corresponding to the first virtual object can be displayed at the aiming position of the crosshairs. If the first virtual object cannot be invited, a second invitation mark corresponding to the first virtual object can be displayed at the aiming position of the crosshairs. For details, please refer to the corresponding instructions, which will not be repeated here.
[0333] For example, when the first virtual object can be invited, a white triangle corresponding to the first virtual object can be displayed at the aiming position of the crosshair, and when the first virtual object cannot be invited, a red triangle corresponding to the first virtual object can be displayed at the aiming position of the crosshair.
[0334] When the crosshair is aimed at the first virtual object, in response to the invitation instruction for the first virtual object, a ride request is sent to the first virtual object. For example, when the crosshair is aimed at the first virtual object, in response to the drag operation on the virtual joystick being released, that is, after the virtual joystick is released, the invitation instruction may be triggered, and in response to the invitation instruction for the first virtual object, a ride request is sent to the first virtual object.
[0335] In some embodiments, the master virtual object may send a ride request to multiple candidate virtual objects. In the case of inviting multiple candidate virtual objects, the virtual object that first accepts the ride request among the multiple candidate virtual objects may ride the first virtual object together with the master virtual object. In other words, the virtual object that first accepts the ride request may enter the riding state of the two virtual objects (i.e., the shared riding state).
[0336] When the ride request is sent successfully, “Ride request sent successfully” may be displayed. When the first virtual object cannot enter the shared ride state, “The first virtual object is temporarily busy, try again later” may be displayed. For each ride request, there is a time limit. During the time period corresponding to the time limit, the ride request cannot be repeatedly sent to the same virtual object. That is, in response to the invitation instruction for the first virtual object that is triggered again, if the time difference between the two invitation instructions executed for the first virtual object is less than the time difference threshold (time limit), a first prompt message is displayed. When there is no candidate virtual object that can be invited, in response to the invitation instruction, a second prompt message is displayed, and the second prompt message is used to prompt that there is no candidate virtual object to be invited.
[0337] For the first virtual object, the first virtual object can accept the riding request before the countdown is reset to zero, and then the first virtual object and the main control virtual object can be controlled to ride the first virtual pet together. When the countdown is reset to zero, the riding request is cancelled.
[0338] In some embodiments, a dismissal control is displayed in the interface of the virtual scene, and in response to a trigger operation on the dismissal control, the first virtual object and the main virtual object are removed from the first virtual pet. A pet switching control is displayed in the interface of the virtual scene, and in response to a trigger operation on the pet switching control, the first virtual object and the main virtual object are removed from the first virtual pet, the first virtual pet is switched to the second virtual pet, and the main virtual object is controlled to ride the second virtual pet. In other words, the user who controls the main virtual object can actively dismiss the joint ride or change the virtual pet.
[0339] In some embodiments, a removal control is displayed in the interface of the virtual scene, and in response to a trigger operation for the removal control, the first virtual object is removed from the first virtual pet, so that the master virtual object can ride the first virtual pet alone. In other words, the user who controls the master virtual object can remove the first virtual object. In some embodiments, a leave control is displayed in the interface of the virtual scene, and in response to a trigger operation for the leave control, the first virtual object is controlled to leave the first virtual pet. In other words, the user who controls the first virtual object can actively control the first virtual object to leave the first virtual pet.
[0340] In the interaction method in the virtual scene provided in the embodiment of the present application, only part of the scene in the game is the area where the main virtual object and the candidate virtual object are visible to each other (i.e., the target area). In the related art, there is no obvious boundary prompt for the target area in the game, that is, the range of the target area is a hidden range. When a two-person ride is performed, if the two-person ride accidentally leaves the mutual visibility area (i.e., the target area), the two-person ride will be forced to disband, and due to the random plane reasons of the server, the main virtual object and the candidate virtual object may never meet again, which reduces the user's gaming experience.
[0341] In the embodiment of the present application, a pop-up prompt area can be added within the real range of the mutual-visibility zone, and the size of the pop-up prompt area is based on the current range of the mutual-visibility zone and is reduced year-on-year. When the first virtual pet enters the pop-up prompt area in the two-person riding state, a pop-up prompt will continue to inform the player that the mutual-visibility zone will be left (i.e., the third prompt information will be displayed), and the boundary effect of the real mutual-visibility zone will be displayed. For example, see Fig.33 , Fig.33 is a schematic diagram of the target area provided in the embodiment of the present application, Fig.33 The area filled with the pattern is the area where the third prompt information pops up (corresponding to the pop-up prompt range).
[0342] See also Fig.34 , Fig.34 This is a flow diagram of the interactive method in a virtual scene provided by an embodiment of the present application. Figure 3, in step 3401, trigger the ride invitation control. Step 3401 can enable the ride invitation function. In step 3402, aim at the first virtual object. This is equivalent to displaying a crosshair for aiming in the virtual scene in response to the ride invitation function of the virtual scene being enabled, and controlling the crosshair to aim at the first virtual object. In step 3403, send a ride request to the first virtual object. That is, when the crosshair is aimed at the first virtual object, in response to the invitation instruction for the first virtual object, send a ride request to the first virtual object. In step 3404, the first virtual object accepts the ride request. In step 3405, ride the first virtual pet together. That is, in response to the first virtual object accepting the ride request, control the first virtual object and the master virtual object to ride the first virtual pet together.
[0343] In the interactive method in the virtual scene provided in the embodiment of the present application, virtual objects riding the first virtual pet together is a gameplay that allows users to travel together with other players in the big world game, which enhances the emotional communication and bond between the main virtual object and at least one candidate virtual object, while reducing the sense of separation and loss of the first virtual pet when leaving the mutual seeing area, and establishes psychological expectations when leaving the mutual seeing area.
[0344] The following is a description of an exemplary structure of the interactive device 455 in the virtual scene provided by the present application as a software module. In some embodiments, Figure 2A As shown, the software modules stored in the interactive device 455 in the virtual scene of the memory 450 may include:
[0345] A first display module 4551, configured to display a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object;
[0346] A first response module 4552, configured to display a crosshair for aiming in the virtual scene in response to the riding invitation function of the virtual scene being turned on;
[0347] The first response module 4552 is further configured to send a riding request to the first virtual object in response to an invitation instruction for the first virtual object when the crosshair is aimed at the first virtual object;
[0348] The first response module 4552 is further configured to control the first virtual object and the master virtual object to ride the first virtual pet together in response to the first virtual object accepting the riding request.
[0349] In some embodiments, the first response module 4552 is further used to display a ride invitation control in the interface of the virtual scene; and in response to a trigger operation on the ride invitation control, enable the ride invitation function of the virtual scene.
[0350] In some embodiments, the first response module 4552 is further configured to enable the riding invitation function of the virtual scene in response to a pressing operation on the riding invitation control;
[0351] The first response module 4552 is also used to, after turning on the riding invitation function of the virtual scene, adjust the position of the crosshairs in the virtual scene in response to a drag operation on the riding invitation control during the pressing operation to aim at the first virtual object; and trigger the invitation instruction in response to the pressing operation being released.
[0352] In some embodiments, the first response module 4552 is further used to display the first virtual pet in the virtual scene and display the riding control; in response to the trigger operation on the riding control, control the master virtual object to ride the first virtual pet and display the riding invitation control.
[0353] In some embodiments, the first response module 4552 is further used to display a pet control in the interface of the virtual scene, where the pet control has a one-to-one correspondence with the virtual pet; in response to a triggering operation of the pet control corresponding to the first virtual pet, the first virtual pet is displayed in the virtual scene.
[0354] In some embodiments, the first response module 4552 is further configured to display the ride control in a first style;
[0355] The first response module 4552 is further used to control the master virtual object to switch the display style of the riding control from the first style to the second style after the master virtual object rides the first virtual pet; and remove the master virtual object from the first virtual pet in response to a triggering operation of the riding control of the second style.
[0356] In some embodiments, the first response module 4552 is also used to display a movement control for the crosshair in response to activation of a ride invitation function of the virtual scene; and to control the movement of the crosshair in the virtual scene in response to a movement instruction triggered based on the movement control to aim at the first virtual object.
[0357] In some embodiments, there are multiple crosshairs, and the multiple crosshairs are used to aim at multiple candidate virtual objects, and the distance between any two candidate virtual objects to be aimed at is less than a first distance threshold; the first response module 4552 is also used to respond to the movement instruction triggered by the mobile control, and control the multiple crosshairs to move synchronously in the virtual scene to aim at the multiple first virtual objects.
[0358] In some embodiments, there are multiple crosshairs, and the multiple crosshairs are used to aim at multiple candidate virtual objects, and the distance between any two candidate virtual objects to be aimed at is less than a first distance threshold; the first response module 4552 is also used to display the crosshairs for aiming in the virtual scene, and then, in response to a movement instruction for the crosshairs, control the multiple crosshairs to move synchronously in the virtual scene to aim at the multiple first virtual objects.
[0359] In some embodiments, the mobile control includes a virtual joystick, and the movement instruction is triggered by a drag operation on the virtual joystick; the first response module 4552 is also used to control the crosshairs to move synchronously in the virtual scene in response to the drag operation on the virtual joystick to aim at the first virtual object; in response to the drag operation on the virtual joystick being released, the invitation instruction is triggered.
[0360] In some embodiments, the first response module 4552 is also used to display a virtual joystick in the interface of the virtual scene in response to the riding invitation function of the virtual scene being turned on; in response to a drag operation on the virtual joystick, control the crosshairs to move synchronously in the virtual scene to aim at the first virtual object; and in response to releasing the drag operation on the virtual joystick, trigger the invitation instruction.
[0361] In some embodiments, the first response module 4552 is further configured to, in response to the riding invitation function of the virtual scene being turned on, display the object status of each candidate virtual object at the associated position of each candidate virtual object; wherein the object status includes an inviteable state and a non-inviteable state;
[0362] The first response module 4552 is further configured to send a ride request to the first virtual object in response to an invitation instruction for the first virtual object when the crosshair is aimed at the first virtual object and the object state of the first virtual object is the inviteable state.
[0363] In some embodiments, the first response module 4552 is further configured to display an invitation mark corresponding to the first virtual object at the aiming position of the crosshair when the crosshair aims at the first virtual object, wherein the invitation mark is used to indicate whether the first virtual object can be invited;
[0364] The first response module 4552 is further configured to send a riding request to the first virtual object in response to an invitation instruction for the first virtual object when the invitation mark indicates that the first virtual object can be invited.
[0365] In some embodiments, the invitation mark includes a first invitation mark and a second invitation mark; the first response module 4552 is also used to display a first invitation mark corresponding to the first virtual object at the aiming position of the crosshair if the first virtual object can be invited; if the first virtual object cannot be invited, display a second invitation mark corresponding to the first virtual object at the aiming position of the crosshair; wherein a pattern of the first invitation mark is different from a pattern of the second invitation mark, or a color of the first invitation mark is different from a color of the second invitation mark.
[0366] In some embodiments, the at least one candidate virtual object further includes a second virtual object, and the first response module 4552 is further configured to send a ride request to the first virtual object after sending the ride request to the first virtual object, in response to an invitation instruction for the second virtual object, when the crosshair is aimed at the second virtual object;
[0367] The first responding module 4552 is further configured to control the first virtual object and the master virtual object to ride the first virtual pet together in response to the first virtual object accepting the riding request at a first moment and the second virtual object accepting the riding request at a second moment, and the first moment is earlier than the second moment;
[0368] Alternatively, in response to the first virtual object accepting the riding request at the first position and the second virtual object accepting the riding request at the second position, and the distance between the first position and the master virtual object is smaller than the distance between the second position and the master virtual object, the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0369] In some embodiments, the first response module 4552 is also used to, after sending a ride request to the first virtual object, control the crosshairs to aim at the first virtual object again in response to a control instruction for the crosshairs; in response to a re-triggered invitation instruction for the first virtual object, if the time difference between the two invitation instructions executed for the first virtual object is less than a time difference threshold, display a first prompt message; the first prompt message is used to prompt that the frequency of sending the ride request has reached a frequency threshold and the ride request cannot be sent again.
[0370] In some embodiments, the first response module 4552 is also used to display a crosshair for aiming in the virtual scene, and when the crosshair is not aimed at any of the candidate virtual objects, in response to an invitation instruction, display a second prompt message, wherein the second prompt message is used to prompt that there is no candidate virtual object to be invited.
[0371] In some embodiments, the first response module 4552 is further configured to control the first virtual object and the master virtual object to ride the first virtual pet together in response to the first virtual object accepting the riding request within a target time period;
[0372] The first response module 4552 is further configured to cancel the riding request for the first virtual object in response to the first virtual object not accepting the riding request within the target time period.
[0373] In some embodiments, the first response module 4552 is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then display a dismissal control in the interface of the virtual scene; in response to a trigger operation on the dismissal control, remove the first virtual object and the master virtual object from the first virtual pet.
[0374] In some embodiments, a plurality of pet controls are displayed in the interface of the virtual scene, and there is a one-to-one correspondence between the pet controls and the virtual pets; the first response module 4552 is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then, in response to a trigger operation on the pet control corresponding to the second virtual pet, remove the first virtual object and the master virtual object from the first virtual pet; switch the first virtual pet to the second virtual pet, and control the master virtual object to ride the second virtual pet.
[0375] In some embodiments, the first response module 4552 is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then display a removal control in the interface of the virtual scene; in response to a trigger operation on the removal control, remove the first virtual object from the first virtual pet, so that the master virtual object rides the first virtual pet alone.
[0376] In some embodiments, the first response module 4552 is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then control the first virtual pet to move in a target area; when the distance between the first virtual pet and the boundary of the target area is less than a second distance threshold, display a third prompt message; wherein the third prompt message is used to prompt that if the first virtual pet moves out of the target area, the first virtual object and the master virtual object will be released from riding the first virtual pet together.
[0377] In some embodiments, the first display module 4551 is further configured to display a boundary effect of the target area when the distance between the first virtual pet and the boundary of the target area is less than a second distance threshold.
[0378] In some embodiments, the size of the second distance threshold is positively correlated with the size of the target area; the first response module 4552 is also used to switch the display style of the third prompt information from the third style to the fourth style in response to the duration of time when the distance is less than the second distance threshold reaching a duration threshold, and the prompt intensity corresponding to the fourth style is higher than the prompt intensity corresponding to the third style.
[0379] In some embodiments, the first response module 4552 is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then display a riding request sent by the third virtual object, wherein the riding request is used to request to join the joint ride for the first virtual pet; in response to a determination instruction for the riding request, control the third virtual object to ride the first virtual pet together with the first virtual object and the master virtual object.
[0380] The following is a description of an exemplary structure of the interactive device 456 in the virtual scene provided by the present application as a software module. In some embodiments, Figure 2B As shown, the software modules stored in the interactive device 456 in the virtual scene of the memory 450 may include:
[0381] A second display module 4561, configured to display a virtual scene, wherein the virtual scene includes a first virtual object;
[0382] The second display module 4561 is further used to display the riding request sent by the master virtual object, where the riding request is used to invite the first virtual object and the master virtual object to ride the first virtual pet of the master virtual object together;
[0383] The second response module 4562 is used to respond to the determination instruction for the riding request, transmit the first virtual object to the location of the first virtual pet, and control the first virtual object and the master virtual object to ride the first virtual pet together.
[0384] In some embodiments, the second response module 4562 is further used to control the first virtual object and the master virtual object to ride the first virtual pet together, and then display a leave control in the interface of the virtual scene; in response to a trigger operation on the leave control, control the first virtual object to leave the first virtual pet.
[0385] In some embodiments, the second display module 4561 is further used to display a countdown for the ride request during the process of displaying the ride request; when the countdown is reset to zero, the ride request is cancelled.
[0386] The embodiment of the present application provides a computer program product, which includes a computer program or a computer executable instruction, and the computer program or the computer executable instruction is stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instruction from the computer-readable storage medium, and the processor executes the computer executable instruction, so that the electronic device executes the interaction method in the virtual scene described in the embodiment of the present application.
[0387] The present application embodiment provides a computer-readable storage medium, in which computer executable instructions or computer programs are stored. When the computer executable instructions or computer programs are executed by a processor, the processor will be caused to execute the interactive method in the virtual scene provided by the present application embodiment, for example, Figure 3 The interactive method in the virtual scene is shown.
[0388] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
[0389] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0390] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0391] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0392] The interactive method in a virtual scene provided by an embodiment of the present application can display a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object. In response to the riding invitation function of the virtual scene being turned on, a crosshair for aiming in the virtual scene is displayed, thereby improving the richness of the content displayed in the virtual scene. When the crosshair is aimed at the first virtual object, a riding request is sent to the first virtual object in response to an invitation instruction for the first virtual object. In response to the first virtual object accepting the riding request, the first virtual object and the master virtual object are controlled to ride the first virtual pet together.
[0393] In the embodiment of the present application, a ride request can be sent by aiming. For the user who controls the main virtual object, the user can control the crosshairs to aim at the virtual object that he wants to request to ride together, which can improve the autonomy of sending ride requests and enrich the diversity of interaction methods. Only when the first virtual object accepts the ride request, the first virtual object and the main virtual object are controlled to ride the first virtual pet together. For the user who controls the first virtual object, it can be determined whether to accept the ride request according to actual usage needs, which can improve the autonomy of accepting the ride request, and can improve the diversity of interactions between different virtual objects, enrich the ways of virtual objects riding together, and improve the resource utilization of electronic devices, thereby improving the user's gaming experience, and can solve technical problem 1.
[0394] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. An interactive method in a virtual scene, characterized in that: The method comprises: Displaying a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object; In response to the ride invitation function of the virtual scene being turned on, displaying a crosshair for aiming in the virtual scene; When the crosshair is aimed at the first virtual object, in response to an invitation instruction for the first virtual object, sending a riding request to the first virtual object; In response to the first virtual object accepting the riding request, the first virtual object is controlled to ride the first virtual pet together with the master virtual object.
2. The method according to claim 1, characterized in that The method further comprises: Displaying a ride invitation control in the interface of the virtual scene; In response to a triggering operation on the ride invitation control, a ride invitation function of the virtual scene is enabled.
3. The method according to claim 2, characterized in that The step of enabling the riding invitation function of the virtual scene in response to the triggering operation on the riding invitation control includes: In response to a pressing operation on the ride invitation control, starting a ride invitation function of the virtual scene; After the riding invitation function of the virtual scene is enabled, the method further includes: During the pressing operation, in response to a drag operation on the ride invitation control, the position of the crosshair in the virtual scene is adjusted to aim at the first virtual object; In response to the pressing operation being released, the invitation instruction is triggered.
4. The method according to claim 2, characterized in that: The step of displaying a riding invitation control in the interface of the virtual scene includes: Displaying the first virtual pet in the virtual scene and displaying riding controls; In response to a trigger operation on the riding control, the master virtual object is controlled to ride the first virtual pet, and the riding invitation control is displayed.
5. The method according to claim 4, characterized in that The step of displaying the first virtual pet in the virtual scene comprises: Displaying a pet control in the interface of the virtual scene, wherein the pet control has a one-to-one correspondence with the virtual pet; In response to a selection instruction for a pet control of the first virtual pet, the first virtual pet is controlled to be displayed in the virtual scene.
6. The method according to claim 4, characterized in that The display riding control comprises: displaying the ride controls in a first style; After controlling the master virtual object to ride the first virtual pet, the method further includes: Switching the display style of the riding control from the first style to a second style; In response to a trigger operation on the riding control of the second style, the master virtual object is removed from the first virtual pet.
7. The method according to claim 1, characterized in that There are multiple crosshairs, and the multiple crosshairs are used to aim at multiple candidate virtual objects, and the distance between any two candidate virtual objects being aimed at is less than a first distance threshold; After displaying the crosshairs for aiming in the virtual scene, the method further comprises: In response to a movement instruction for the crosshairs, the plurality of crosshairs are controlled to move synchronously in the virtual scene to aim at the plurality of first virtual objects.
8. The method according to claim 1, characterized in that: The method further comprises: In response to the riding invitation function of the virtual scene being turned on, displaying the object status of each candidate virtual object at an associated position of each candidate virtual object; The object status includes an inviteable status and an uninviteable status; When the crosshair is aimed at the first virtual object, in response to an invitation instruction for the first virtual object, sending a riding request to the first virtual object comprises: When the crosshair is aimed at the first virtual object and the object state of the first virtual object is the inviteable state, a ride request is sent to the first virtual object in response to an invitation instruction for the first virtual object.
9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: When the crosshair is aimed at the first virtual object, an invitation mark corresponding to the first virtual object is displayed at the aiming position of the crosshair, and the invitation mark is used to indicate whether the first virtual object can be invited; The sending a riding request to the first virtual object in response to the invitation instruction for the first virtual object includes: In a case where the invitation mark indicates that the first virtual object can be invited, in response to an invitation instruction for the first virtual object, a riding request is sent to the first virtual object.
10. The method according to claim 9, characterized in that: The invitation mark includes a first invitation mark and a second invitation mark; and displaying the invitation mark corresponding to the first virtual object at the aiming position of the crosshair includes: If the first virtual object can be invited, displaying a first invitation mark corresponding to the first virtual object at the aiming position of the crosshair; If the first virtual object cannot be invited, displaying a second invitation mark corresponding to the first virtual object at the aiming position of the crosshair; The pattern of the first invitation mark is different from the pattern of the second invitation mark, or the color of the first invitation mark is different from the color of the second invitation mark.
11. The method according to any one of claims 1 to 8, characterized in that: After sending the riding request to the first virtual object, the method further includes: In response to a control instruction for the crosshair, controlling the crosshair to aim at the first virtual object again; In response to the invitation instruction for the first virtual object being triggered again, if the time difference between the two invitation instructions executed for the first virtual object is less than a time difference threshold, displaying a first prompt message; The first prompt information is used to prompt that the sending frequency of the riding request has reached a frequency threshold and the riding request cannot be sent again.
12. The method according to any one of claims 1 to 8, characterized in that: After displaying the crosshairs for aiming in the virtual scene, the method further comprises: In a case where the crosshair is not aimed at any of the candidate virtual objects, in response to an invitation instruction, second prompt information is displayed, where the second prompt information is used to prompt that there is no candidate virtual object to be invited.
13. The method according to any one of claims 1 to 8, characterized in that: In response to the first virtual object accepting the riding request, controlling the first virtual object and the master virtual object to ride the first virtual pet together includes: In response to the first virtual object accepting the riding request within a target time period, controlling the first virtual object and the master virtual object to ride the first virtual pet together; The method further includes canceling the ride request for the first virtual object in response to the first virtual object not accepting the ride request within the target time period.
14. The method according to any one of claims 1 to 8, characterized in that: After controlling the first virtual object and the master virtual object to ride the first virtual pet together, the method further includes: Displaying a dismissal control in the interface of the virtual scene; In response to a trigger operation on the dismissal control, the first virtual object and the master virtual object are removed from the first virtual pet.
15. The method according to any one of claims 1 to 8, characterized in that: A plurality of pet controls are displayed in the interface of the virtual scene, and there is a one-to-one correspondence between the pet controls and the virtual pets; After controlling the first virtual object and the master virtual object to ride the first virtual pet together, the method further includes: In response to a selection instruction for a pet control corresponding to a second virtual pet, removing the first virtual object and the main control virtual object from the first virtual pet; The first virtual pet is switched to the second virtual pet, and the main control virtual object is controlled to ride the second virtual pet.
16. The method according to any one of claims 1 to 8, characterized in that: After controlling the first virtual object and the master virtual object to ride the first virtual pet together, the method further includes: Displaying a removal control in the interface of the virtual scene; In response to a trigger operation on the removal control, the first virtual object is removed from the first virtual pet, so that the master virtual object rides the first virtual pet alone.
17. The method according to any one of claims 1 to 8, characterized in that: After controlling the first virtual object and the master virtual object to ride the first virtual pet together, the method further includes: Controlling the first virtual pet to move within a target area; When the distance between the first virtual pet and the boundary of the target area is less than a second distance threshold, displaying a third prompt message; The third prompt information is used to prompt that if the first virtual pet moves out of the target area, the first virtual object and the master virtual object will release the common riding of the first virtual pet.
18. The method according to claim 17, characterized in that The method further comprises: When the distance between the first virtual pet and the boundary of the target area is less than a second distance threshold, a boundary special effect of the target area is displayed.
19. An interactive method in a virtual scene, characterized in that: The method comprises: Displaying a virtual scene, wherein the virtual scene includes a first virtual object; Displaying a riding request sent by the master virtual object, wherein the riding request is used to invite the first virtual object and the master virtual object to ride together on the first virtual pet of the master virtual object; In response to a determination instruction for the riding request, the first virtual object is transmitted to a location where the first virtual pet is located, and the first virtual object is controlled to ride the first virtual pet together with the master virtual object.
20. The method according to claim 19, characterized in that After controlling the first virtual object and the master virtual object to ride the first virtual pet together, the method further includes: Displaying a leave control in the interface of the virtual scene; In response to a trigger operation on the leaving control, the first virtual object is controlled to leave the first virtual pet.
21. The method according to claim 19, characterized in that The method further comprises: During display of the ride request, displaying a countdown for the ride request; When the countdown is cleared, the ride request is canceled from being displayed.
22. An interactive device in a virtual scene, characterized in that: The device comprises: A first display module, configured to display a virtual scene, wherein the virtual scene includes a master virtual object and at least one candidate virtual object, wherein the master virtual object has a first virtual pet, and the at least one candidate virtual object includes the first virtual object; A first response module, configured to display a crosshair for aiming in the virtual scene in response to the riding invitation function of the virtual scene being turned on; The first response module is further configured to send a riding request to the first virtual object in response to an invitation instruction for the first virtual object when the crosshair is aimed at the first virtual object; The first response module is further configured to control the first virtual object and the master virtual object to ride the first virtual pet together in response to the first virtual object accepting the riding request.
23. An electronic device, characterized in that: The electronic device comprises: A memory for storing computer executable instructions or computer programs; A processor, used to implement the interactive method in a virtual scene as described in any one of claims 1 to 21 when executing the computer executable instructions or computer programs stored in the memory.
24. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: When the computer executable instructions or computer program are executed by a processor, the interactive method in a virtual scene described in any one of claims 1 to 21 is implemented.
25. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer program are executed by a processor, the interactive method in a virtual scene described in any one of claims 1 to 21 is implemented.
Citation Information
Patent Citations
Game state synchronization method and device and game state display method and device
CN110694266A
Interaction method and device, terminal equipment and computer readable storage medium
CN117815663A
Game editing method and device and electronic equipment
CN117899493A
Virtual scene interaction method and device, equipment, storage medium and program product
CN118778801A
Method and apparatus for alignment harmonization
US8977512B1
Cited By
Method and device for generating media content, equipment and storage medium
CN120547418A