Virtual item use method and device, electronic equipment, computer readable storage medium and computer program product
By introducing a variety of virtual props and corresponding performance effects into virtual pets, the problems of single display effect and low resource utilization of virtual pets are solved, the richness of virtual scenes and user interaction are improved, and the game experience is improved.
Patent Information
- Application Number
- CN202510378220.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2025-05-30
AI Technical Summary
In the prior art, the display effect of virtual pets is single, the resource utilization rate is low, and the acquisition method and guidance information of virtual props are insufficient, which reduces the user's gaming experience.
By displaying the multiple virtual props that the virtual pet has, corresponding to different performance effects, and controlling the application and replacement of virtual props in response to user instructions, the display richness and diversity of virtual pets in virtual scenes is improved.
It improves the display richness and diversity of virtual pets in virtual scenes, enhances the interaction between users and virtual pets, improves the user's gaming experience, and improves the resource utilization rate of electronic devices.
Smart Images

Figure CN120053969A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technologies, and in particular, to a method, device, electronic device, computer-readable storage medium, and computer program product for using virtual props. Background Art
[0002] In order to improve the richness of the display content in a virtual scene, there are corresponding virtual pets for virtual objects. In related technologies, the virtual pets move within a preset range of the virtual objects, and the display effects of the virtual pets are all pre-set. That is to say, for the same type of virtual pet, the display effects are the same. It can be seen that in related technologies, the way of displaying virtual pets is relatively single, and the resource utilization rate of electronic devices is relatively low. Summary of the Invention
[0003] Embodiments of this application provide a method, device, electronic device, computer-readable storage medium, and computer program product for using virtual props, which can improve the richness and diversity of displaying virtual pets in a virtual scene, and can improve the resource utilization rate of electronic devices.
[0004] The technical solution of the embodiments of this application is implemented as follows:
[0005] Embodiments of this application provide a method for using virtual props, and the method includes:
[0006] Display at least one virtual prop of a first virtual pet, where the virtual prop is used to increase the performance special effects of the first virtual pet, and different virtual props correspond to different performance special effects;
[0007] In response to a use instruction for a first virtual prop among the at least one virtual prop, control the first virtual prop to be applied to the first virtual pet;
[0008] Display a virtual scene, and when the first virtual pet appears in the virtual scene, display the first performance special effect corresponding to the first virtual prop during the appearance process of the first virtual pet.
[0009] Embodiments of this application provide a device for using virtual props, and the device includes:
[0010] A display module, configured to display at least one virtual prop of a first virtual pet, where the virtual prop is used to increase the performance special effects of the first virtual pet, and different virtual props correspond to different performance special effects;
[0011] A response module, configured to, in response to a use instruction for a first virtual prop among the at least one virtual prop, control the first virtual prop to be applied to the first virtual pet;
[0012] The display module is further configured to display a virtual scene, and when the first virtual pet appears in the virtual scene, during the appearance process of the first virtual pet, display the first performance special effect corresponding to the first virtual item.
[0013] In the above solution, the display module is further configured to implement at least one of the following: during the appearance process of the first virtual pet, display the first performance special effect corresponding to the acquisition times of the first virtual item, where the performance special effects corresponding to different acquisition times are different;
[0014] during the appearance process of the first virtual pet, display the first performance special effect corresponding to the level of the first virtual item, where the performance special effects corresponding to different levels are different;
[0015] during the appearance process of the first virtual pet, display the first performance special effect corresponding to the acquisition method of the first virtual item, where the performance special effects corresponding to different acquisition methods are different.
[0016] In the above solution, the response module is further configured to, after the first virtual pet appears in the virtual scene, in response to a first control instruction for the first virtual pet, control the first virtual pet to perform the operation indicated by the first control instruction in the virtual scene; during the process of the first virtual pet performing the operation, if the operation is a preset operation, display the second performance special effect corresponding to the first virtual item.
[0017] In the above solution, the display module is further configured to, during the process of the first virtual pet performing the operation, if the operation is not the preset operation, display a first prompt message, and the first prompt message is used to prompt the reason for not displaying the second performance special effect.
[0018] In the above solution, the response module is further configured to, after displaying at least one virtual item possessed by the first virtual pet, in response to a selection operation for the first virtual item among the at least one virtual item, display the information of the first virtual item; the information of the first virtual item includes one or more of the acquisition information of the first virtual item, the information of the performance special effect corresponding to the first virtual item, and the information of the virtual pet that acquired the first virtual item; based on the information of the first virtual item, in response to a use instruction for the first virtual item among the at least one virtual item, control the first virtual item to be applied to the first virtual pet.
[0019] In the above solution, the display module is further configured to display at least one virtual item possessed by the first virtual pet on the configuration page of the virtual items of the first virtual pet;
[0020] The response module is further configured to, in response to a selection operation on a first virtual item among the at least one virtual item, when the first virtual pet has not applied the virtual item, display a prop application control on the configuration page; and in response to a triggering operation on the prop application control, trigger a usage instruction for the first virtual item.
[0021] In the above solution, the response module is further configured to, in response to a selection operation on a first virtual item among the at least one virtual item, if the first virtual pet has applied a second virtual item among the at least one virtual item, display a prop replacement control for virtual prop replacement; in response to a triggering operation on the prop replacement control, trigger a usage instruction for the first virtual item; and control the virtual item applied by the first virtual pet to be switched from the second virtual item to the first virtual item.
[0022] In the above solution, the display module is further configured to, if the first virtual pet has applied a second virtual item among the at least one virtual item, display, on the configuration page of the virtual items of the first virtual pet, multiple virtual items that the first virtual pet has; where the multiple virtual items include the first virtual item and the second virtual item, the second virtual item has a first display style, and the first virtual item has a second display style; the first display style is used to indicate that the second virtual item is the virtual item currently applied by the first virtual pet; and the second display style is used to indicate that the first virtual item is a virtual item that has not been applied.
[0023] The response module is further configured to, in response to a usage instruction for the first virtual item, swap the display styles of the first virtual item and the second virtual item, so as to display the second virtual item in the second display style and display the first virtual item in the first display style.
[0024] In the above solution, the first virtual pet belongs to a first virtual object, and the first virtual item is obtained by the first virtual object; the display module is further configured to, before displaying at least one virtual item that the first virtual pet has, display the first virtual item obtained by the first virtual object.
[0025] The response module is further configured to, in response to a first allocation instruction for the first virtual item, allocate the first virtual item to the first virtual pet, so that the first virtual pet has the first virtual item.
[0026] In the above solution, the response module is further configured to, in response to a first allocation instruction for the first virtual item, display the virtual pets owned by the first virtual object, where the virtual pets owned by the first virtual object include the first virtual pet; and in response to a selection instruction for the first virtual pet, allocate the first virtual item to the first virtual pet.
[0027] In the above solution, the response module is further configured to, in response to a first allocation instruction for the first virtual item, display recommendation information for recommending virtual pets adapted to the first virtual item; and based on the recommendation information, in response to a selection instruction for the first virtual pet, allocate the first virtual item to the first virtual pet.
[0028] In the above solution, before the response module displays the first virtual item obtained by the first virtual object, in response to the virtual pet obtained by the first virtual object satisfying a first acquisition condition, the response module controls the first virtual object to obtain the first virtual item, where the first virtual item corresponds to the first acquisition condition; where the first acquisition condition includes at least one of the following: the number of virtual pets obtained by the first virtual object reaches a first quantity threshold, and the type of virtual pets obtained by the first virtual object reaches a second quantity threshold.
[0029] In the above solution, there are multiple virtual sub-scenes in the virtual scene, and the first virtual pet is obtained from a target virtual sub-scene among the multiple virtual sub-scenes; before the response module controls the first virtual object to obtain the first virtual item, in response to one or more of the following being satisfied, the response module determines that the virtual pet obtained by the first virtual object satisfies the first acquisition condition: the number of virtual pets obtained by the first virtual object in the target virtual sub-scene reaches a first quantity threshold; the type of virtual pets obtained by the first virtual object in the target virtual sub-scene reaches a second quantity threshold.
[0030] In the above solution, the display module is further configured to display at least one third virtual item obtained by the first virtual object.
[0031] The response module is further configured to, in response to a second allocation instruction for the third virtual item, display at least one second virtual object; and in response to a selection instruction for a target second virtual object among the at least one second virtual object, allocate the third virtual item to the target second virtual object.
[0032] In the above solution, the response module is further configured to, in response to a selection instruction for a target second virtual object among the at least one second virtual object, display a second virtual pet owned by the target second virtual object; and in response to a selection instruction for the second virtual pet, allocate the third virtual item to the second virtual pet of the target second virtual object.
[0033] In the above solution, the first virtual pet belongs to a first virtual object, and the first virtual object also owns a third virtual pet; the number of the virtual items is multiple, and the multiple virtual items include exclusive virtual items of the first virtual pet and common virtual items shared by the first virtual pet and the third virtual pet, and the first virtual pet and the third virtual pet belong to the same pet chain;
[0034] The display module is further configured to display the exclusive virtual items of the first virtual pet and the common virtual items of the first virtual pet.
[0035] In the above solution, the response module is further configured to, in response to a use instruction for the first virtual item, if the first virtual item is the common virtual item and the first virtual item has been applied to the third virtual pet, display a second prompt message; wherein the second prompt message is used to prompt to replace the virtual pet to which the first virtual item has been applied from the third virtual pet with the first virtual pet; and in response to a confirmation instruction for the second prompt message, replace the virtual pet to which the first virtual item has been applied from the third virtual pet with the first virtual pet.
[0036] In the above solution, the display module is further configured to, when the common virtual item has been applied to the third virtual pet, display a fourth prompt message in an associated display area of the common virtual item, and the fourth prompt message is used to prompt that the common virtual item has been applied to the third virtual pet.
[0037] In the above solution, the response module is further configured to, in response to a use instruction for the first virtual item, if the first virtual item is the exclusive virtual item, control the first virtual item to be applied to the first virtual pet and display an exclusive special effect of the exclusive virtual item; wherein the exclusive special effect is used to represent that the first virtual item is exclusive to the first virtual pet.
[0038] In the above solution, the first virtual pet belongs to the first virtual object, and the first virtual pet is in a virtual container; the response module is further configured to, after displaying the virtual scene, in response to a second control instruction for the first virtual object, control the first virtual object to throw the virtual container into the virtual scene; in response to the virtual container being thrown into the virtual scene, control the first virtual pet in the virtual container to appear in the virtual scene.
[0039] In the above solution, the virtual scene includes a first virtual scene, and the first virtual scene is used for the virtual pet of the first virtual pet to fight against the virtual pet of the second virtual object; the response module is further configured to, in response to the virtual container being thrown into the first virtual scene, control the first virtual pet in the virtual container to appear in the first virtual scene;
[0040] The display module is further configured to display a first performance special effect corresponding to the first virtual item during the process of the first virtual pet appearing in the first virtual scene;
[0041] The response module is further configured to, in response to a third control instruction for the first virtual pet, control the first virtual pet to fight against the virtual pet of the second virtual object; in response to the first virtual pet defeating the virtual pet of the second virtual object, display a third performance special effect corresponding to the first virtual item.
[0042] In the above solution, the virtual scene includes a second virtual scene, and the second virtual scene is used for the first virtual object and the first virtual pet to carry out activities;
[0043] The response module is further configured to, in response to the virtual container being thrown onto the virtual ground of the second virtual scene, control the first virtual pet in the virtual container to appear in the second virtual scene;
[0044] The display module is further configured to display a first performance special effect corresponding to the first virtual item during the process of the first virtual pet appearing in the second virtual scene;
[0045] The response module is further configured to, in response to a movement instruction for the first virtual object, control the first virtual object to move in the second virtual scene and control the first virtual pet to move following the first virtual object.
[0046] In the above solution, the response module is further configured to, before displaying at least one virtual item owned by the first virtual pet, in response to a fourth control instruction for the first virtual pet, control the first virtual pet to perform the operation indicated by the fourth control instruction; based on the operation indicated by the fourth control instruction performed by the first virtual pet, when the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item;
[0047] The display module is further configured to display a third prompt message for prompting that the first virtual pet already owns the first virtual item.
[0048] In the above solution, the display module is further configured to, in response to an information viewing instruction triggered for the first virtual pet, display an information display page of the first virtual pet, and display a viewing control for the virtual item on the information display page;
[0049] In response to a trigger operation on the viewing control, display at least one virtual item owned by the first virtual pet.
[0050] In the above solution, the first virtual item has corresponding identification information; the display module is further configured to, during the appearance of the first virtual pet, display the name of the first virtual pet, and in an associated display area where the name is displayed, display the identification information corresponding to the first virtual item, and the identification information is used to identify the name.
[0051] An embodiment of the present application provides an electronic device, and the electronic device includes:
[0052] A memory for storing computer-executable instructions or computer programs;
[0053] A processor, when executing the computer-executable instructions or computer programs stored in the memory, implements the method for using virtual items provided by the embodiments of the present application.
[0054] An embodiment of the present application provides a computer-readable storage medium, storing a computer program or computer-executable instructions, which are used to implement the method for using virtual items provided by the embodiments of the present application when being executed by a processor.
[0055] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions, and when the computer program or computer-executable instructions are executed by a processor, the method for using virtual items provided by the embodiments of the present application is implemented.
[0056] The embodiments of the present application have the following beneficial effects:
[0057] In the method for using virtual props provided by the embodiments of the present application, at least one virtual prop possessed by the first virtual pet can be displayed. The virtual prop is used to increase the performance special effects of the first virtual pet, and different virtual props correspond to different performance special effects. In response to a usage instruction for the first virtual prop among at least one virtual prop, control the first virtual prop to be applied to the first virtual pet, display a virtual scene, and when the first virtual pet appears in the virtual scene, during the process of the appearance of the first virtual pet, display the first performance special effect corresponding to the first virtual prop.
[0058] The method for using virtual props provided by the embodiments of the present application can apply the first virtual prop to the first virtual pet, so that during the process of the first virtual pet appearing in the virtual scene, the first performance feature corresponding to the first virtual prop can be displayed, which is equivalent to adding the first performance special effect for the first virtual pet during the process of the first virtual pet appearing in the virtual scene. It can improve the richness of displaying the first virtual pet in the virtual scene, and different virtual props correspond to different performance special effects. Users can set the first virtual prop applied to the first virtual pet according to actual usage needs, which is equivalent to that users can set the performance special effects for the first virtual pet according to actual usage needs, can improve the diversity of displaying the first virtual pet in the virtual scene, and can improve the interactivity of users with respect to the virtual pet, thereby improving the game experience of users and the resource utilization rate of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 is a schematic structural diagram of a virtual prop usage system provided by the embodiments of the present application;
[0060] Figure 2 is a schematic structural diagram of an electronic device provided by the embodiments of the present application;
[0061] Figure 3 is a flowchart of the method for using virtual props provided by the embodiments of the present application Figure 1 ;
[0062] Figure 4 is a schematic diagram of a page provided by the embodiments of the present application Figure 1 ;
[0063] Figure 5 is a schematic diagram of a page provided by the embodiments of the present application Figure 2 ;
[0064] Figure 6 is a schematic diagram of a page provided by the embodiments of the present application Figure 3 ;
[0065] Figure 7 is a schematic diagram of a page provided by the embodiments of the present application Figure 4 ;
[0066] Figure 8 is a schematic diagram of a page provided by an embodiment of the present application Figure 5 ;
[0067] Figure 9 is a schematic diagram of a pet chain provided by an embodiment of the present application;
[0068] Figure 10 is a schematic diagram of a page provided by an embodiment of the present application Figure 6 ;
[0069] Figure 11 is a schematic diagram of a page provided by an embodiment of the present application Figure 7 ;
[0070] Figure 12 is a schematic diagram of a page provided by an embodiment of the present application Figure 8 ;
[0071] Figure 13 is a schematic diagram of a page provided by an embodiment of the present application Figure 9 ;
[0072] Figure 14 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 ;
[0073] Figure 15 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 One;
[0074] Figure 16 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Two;
[0075] Figure 17 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Three;
[0076] Figure 18 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Four;
[0077] Figure 19 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Five;
[0078] Figure 20 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Six;
[0079] Figure 21 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Seven;
[0080] Figure 22 is a schematic diagram of a page provided by an embodiment of the present applicationFigure 10 Eight;
[0081] Figure 23 It is a schematic diagram of the page provided by the embodiment of the present application Figure 10 Nine;
[0082] Figure 24 It is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Ten;
[0083] Figure 25 It is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Eleven;
[0084] Figure 26 It is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Twelve;
[0085] Figure 27 It is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Thirteen;
[0086] Figure 28 It is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Fourteen;
[0087] Figure 29 It is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Fifteen;
[0088] Figure 30 It is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Sixteen;
[0089] Figure 31 It is a schematic diagram of the interface provided by the embodiment of the present application Figure 2 Seventeen;
[0090] Figure 32 It is a schematic diagram of the interface provided by the embodiment of the present application Figure 2 Eighteen;
[0091] Figure 33 It is a schematic diagram of the interface provided by the embodiment of the present application Figure 2 Nineteen;
[0092] Figure 34 It is a schematic diagram of the interface provided by the embodiment of the present application Figure 3 Twenty;
[0093] Figure 35 It is a schematic diagram of the interface provided by the embodiment of the present application Figure 3 Twenty - one;
[0094] Figure 36 It is a schematic diagram of the process of the usage method of the virtual item provided by the embodiment of the present application Figure 2 ;
[0095] Figure 37 is a flowchart showing the method for using virtual items provided by an embodiment of the present application Figure 3 。 Detailed implementation manners
[0096] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be construed as limitations on the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of the present application.
[0097] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.
[0098] In the following description, the terms "first / second / third" are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0099] In the embodiments of the present application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined goal, and can be fully or partially implemented by using software, hardware (such as a processing circuit or a memory), 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 a part of an overall module or unit that includes the function of the module or unit.
[0100] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meaning as commonly understood by those skilled in the art to which the present application belongs. 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.
[0101] In the embodiments of the present application, when collecting and processing relevant data in practical applications, the informed consent or separate consent of the personal information subject should be obtained strictly in accordance with the requirements of relevant laws and regulations, and subsequent data use and processing should be carried out within the scope authorized by laws and regulations and the personal information subject.
[0102] Before further elaborating on the embodiments of the present application, the nouns and terms involved in the embodiments of the present application are described. The nouns and terms involved in the embodiments of the present application are applicable to the following explanations.
[0103] 1) Responsive 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 executed operations can be real-time or have a set delay; without special instructions, there is no restriction on the execution order of multiple executed operations.
[0104] 2) Human-computer interaction interface, an interface for providing human-computer interaction functions / displaying a virtual scene and the first virtual pet. For example, a graphical user interface (GUI) display, 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, allowing a stereoscopic image to be seen without wearing special glasses), a multimodal interface (an interactive interface that combines multiple interaction methods such as touch, vision, and hearing), a brain-machine interface (BMI) interface, etc.
[0105] 3) Virtual scene, a virtual scene displayed (or provided) when an application runs on a terminal. The virtual scene can be a simulation environment of the real world, a semi-simulated and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5D virtual scene, or a three-dimensional virtual scene.
[0106] For example, the virtual scene can include the sky, land, ocean, etc. The land can include environmental elements such as deserts and cities. The user can control virtual objects to perform activities in the virtual scene, and the activities include but are not limited to: adjusting body posture, crawling, walking, running, cycling, jumping, driving, picking up, shooting, attacking, throwing, etc. The virtual scene can be displayed from a first-person perspective (such as playing a virtual object in a game from the user's own perspective), from a third-person perspective (such as the user chasing a virtual object in a game), or from an aerial perspective. The above perspectives can be switched arbitrarily.
[0107] 4) Virtual object: Images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. Such movable objects can be virtual characters, virtual animals, anime characters, etc. For example, 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 used to represent the user. A virtual scene can include multiple virtual objects, and each virtual object has its own shape and volume in the virtual scene, occupying a part of the space in the virtual scene. In this application, the virtual object can be a first virtual object, a second virtual object, and a third virtual object, where the first virtual object, the second virtual object, and the third virtual object are virtual objects controlled by different users.
[0108] 5) Client: Also known as the user side, it refers to a program that provides local services corresponding to the server. Except for some applications that can only run locally, it is generally installed on ordinary client machines and needs to cooperate with the server to run, that is, there needs to be a corresponding server and service program in the network to provide corresponding services. In this way, a specific communication connection needs to be established between the client side and the server side to ensure the normal operation of the application program, such as a game client.
[0109] 6) Virtual pet: It refers to a virtual creature or virtual non - creature owned by a virtual object controlled by a user. Setting a virtual pet for a virtual object can improve the richness of the display content in the virtual scene. The following explains the relationship between the virtual pet and the virtual object. The virtual pet has attachment, interactivity, functionality, and growth.
[0110] Attachment means that the virtual pet can be attached to the virtual object, that is, there is an association relationship between the virtual pet and the virtual object, and the two are mutually bound. Interactivity means that the user can control the virtual object to interact with the virtual pet. For example, the user can control the virtual object to feed, train, or command the virtual pet.
[0111] Functionality means that the virtual pet has corresponding functions. The functions can include assisting the virtual object to interact with other virtual objects in the virtual scene (i.e., fighting), assisting the virtual object to interact with other virtual pets in the virtual scene (i.e., fighting), assisting the virtual object to search for items in the virtual scene, and assisting the virtual object to move in the virtual scene. That is, the virtual pet can be used as a virtual vehicle for the virtual object. Growth means that the attributes, skills, and levels of the virtual pet can be improved through methods such as feeding, training, and fighting.
[0112] During the research process, the inventor found the following technical problems in the related technologies:
[0113] Technical Problem 1. In the related art, the virtual pet moves within the preset range of the virtual object, and the display effect of the virtual pet is preset. That is to say, for the same type of virtual pet, the display effect is consistent. It can be seen that in the related art, the way of displaying virtual pets is relatively single.
[0114] Technical Problem 2. In the related art, when obtaining a virtual pet, there is a preset probability of obtaining a virtual item for the virtual pet. The acquisition method of the virtual item is relatively single, and there is no guiding information for obtaining the virtual item, which reduces the user's gaming experience.
[0115] Technical Problem 3. Continuing with Technical Problem 2, the virtual pet and the virtual item are in a one-to-one correspondence relationship, that is, there are many restrictions between the virtual pet and the virtual item, which reduces the user's gaming experience.
[0116] The embodiments of the present application provide a method for using a virtual item, a device for using a virtual item, an electronic device, a computer-readable storage medium, and a computer program product, which can improve the richness and diversity of displaying virtual pets in a virtual scene, and can improve the interactivity of users with respect to virtual pets, thereby improving the user's gaming experience and the resource utilization rate of the electronic device.
[0117] See Figure 1 , Figure 1 is a schematic structural diagram of a virtual item usage system provided by the embodiments of the present application. Figure 1 The shown virtual item usage system 100 is to support the implementation of a virtual item usage application. Figure 1 The shown terminal 400-1 and terminal 400-2 can both be connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.
[0118] In some embodiments, any one of the terminal 400-1 and the terminal 400-2 can perform the following steps. The following is described in conjunction with the terminal 400-1. The terminal 400-1 is used to display at least one virtual item possessed by the first virtual pet on the graphical interface 410-1. The virtual item is used to increase the performance special effects of the first virtual pet, and different virtual items correspond to different performance special effects.
[0119] In response to a usage instruction for a first virtual item among at least one virtual item, the terminal 400-1 controls the first virtual item to be applied to the first virtual pet. The terminal 400-1 is used to display a virtual scene in the graphical interface 410-1, and when the first virtual pet appears in the virtual scene, during the appearance process of the first virtual pet, a first performance special effect corresponding to the first virtual item is displayed. Among them, the virtual scene, the first virtual pet, the virtual item, and the first performance special effect displayed in the graphical interface 410-1 of the terminal 400-1 can be displayed based on pre-stored data, or data can be transmitted from the server 200 to the terminal 400-1 in real time, so as to realize the display of corresponding content, and can be specifically set according to actual usage requirements.
[0120] The method for using a virtual item provided in the embodiments of the present application can apply the first virtual item to the first virtual pet, so that during the process of the first virtual pet appearing in the virtual scene, a first performance feature corresponding to the first virtual item can be displayed, which is equivalent to adding a first performance special effect for the first virtual pet during the process of the first virtual pet appearing in the virtual scene. It can improve the richness of the display of the first virtual pet in the virtual scene, and the performance special effects corresponding to different virtual items are different. Users can set the first virtual item applied to the first virtual pet according to actual usage requirements, which is equivalent to that users can set the performance special effects for the first virtual pet according to actual usage requirements, can improve the diversity of the display of the first virtual pet in the virtual scene, and can improve the interactivity of users with respect to virtual pets, thereby improving the game experience of users and the resource utilization rate of electronic devices.
[0121] When the game corresponding to the first virtual pet is an online game, after controlling the first virtual item to be applied to the first virtual pet, a virtual scene is displayed in the graphical interface 410-2 of the terminal 400-2, and when the first virtual pet appears in the virtual scene, during the appearance process of the first virtual pet, a first performance special effect corresponding to the first virtual item is displayed. In this way, both the user who sets the first performance special effect for the first virtual pet and other users can see the first performance special effect corresponding to the first virtual item displayed during the appearance process of the first virtual pet at the display node of the corresponding terminal, which can improve the richness and diversity of the display of virtual pets in the virtual scene, thereby improving the game experience of users.
[0122] In some embodiments, the terminal 400-1 logs in to the account of the first user, and the terminal 400-2 logs in to the account of the second user. The first virtual pet can be displayed in both the graphical interface 410-1 of the terminal 400-1 and the graphical interface 410-2 of the terminal 400-2. The first virtual pet is the virtual pet of the first virtual object controlled by the first user, rather than the virtual pet of the second virtual object controlled by the second user.
[0123] For any one of the terminal 400-1 and the terminal 400-2, the following steps can be performed. The following will be described in conjunction with the terminal 400-2. At least one virtual item of the first virtual pet is displayed in the graphical interface 410-2 of the terminal 400-2. The virtual item is used to increase the performance special effects of the first virtual pet, and different virtual items correspond to different performance special effects.
[0124] For the terminal 400-2, in response to a use instruction for the first virtual item among at least one virtual item, control the first virtual item to be applied to the first virtual pet. That is, the second user can apply the first virtual item to the first virtual pet of the first virtual object by controlling the second virtual object, which can further improve the interactivity of the user with respect to the virtual pet.
[0125] For the terminal 400-1 and the terminal 400-2, a virtual scene is displayed. When the first virtual pet appears in the virtual scene, during the appearance process of the first virtual pet, the first performance special effect corresponding to the first virtual item is displayed. Among them, the virtual scene, the first virtual pet, the virtual item, and the first performance special effect displayed in the graphical interface 410-1 of the terminal 400-1 and the graphical interface 410-2 of the terminal 400-2 can be displayed based on pre-stored data, or the server 200 can also transmit data to the terminal 400-1 and the terminal 400-2 in real time, so as to realize the display of the corresponding content, which can be specifically set according to actual usage requirements.
[0126] The method for using the virtual item provided by the embodiments of the present application can improve the richness of the display of the first virtual pet in the virtual scene, and different virtual items correspond to different performance special effects. The user can set the performance special effects for the first virtual pet according to actual usage requirements, which can improve the diversity of the display of the first virtual pet in the virtual scene, and can improve the interactivity of the user with respect to the virtual pet, thereby improving the user's gaming experience and the resource utilization rate of the electronic device.
[0127] The following describes an exemplary application of the electronic device provided in the embodiments of the present application. The electronic device for implementing the method for using virtual props in the embodiments of the present application may be a terminal, a server, or a combination of both. In some embodiments, the terminal may be implemented as various types of terminals such as a laptop computer, 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, etc.
[0128] In some embodiments, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It may also be 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 Network (CDN), and big data and artificial intelligence platforms. The terminal and the server may be directly or indirectly connected through wired or wireless communication methods, which are not limited in the embodiments of the present application.
[0129] See Figure 2 , Figure 2 which is a schematic structural diagram of the electronic device provided in the embodiments of the present application. Figure 2 The electronic device shown includes: at least one processor 410, a memory 450, at least one network interface 420, and a user interface 430. Each component in the electronic device is coupled together through a bus system 440. It can be understood that the bus system 440 is used to realize the 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 clear illustration, in Figure 2 all kinds of buses are labeled as the bus system 440.
[0130] The processor 410 may 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. Among them, the general-purpose processor may be a microprocessor or any conventional processor, etc.
[0131] The user interface 430 includes one or more output devices 431 that enable the 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 assist the user in input, such as a keyboard, a mouse, a microphone, a touch screen display, a camera, other input buttons, and controls.
[0132] The memory 450 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memories, hard disk drives, optical disc drives, etc. The memory 450 optionally includes one or more storage devices that are physically remote from the processor 410.
[0133] The memory 450 includes volatile memory or non-volatile memory, and may also include both volatile and non-volatile memory. The non-volatile memory can be a Read Only Memory (ROM), and the volatile memory can 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.
[0134] In some embodiments, the memory 450 is capable of storing data to support various operations. Examples of such data include programs, modules, and data structures, or subsets or supersets thereof, which are illustrated below.
[0135] The operating system 451, including system programs for handling 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 handling hardware-based tasks;
[0136] The network communication module 452 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 420. Exemplary network interfaces 420 include: Bluetooth, Wireless Fidelity (WiFi), and Universal Serial Bus (USB), etc.;
[0137] The presentation module 453 is used to enable the presentation of information (such as a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 associated with the user interface 430 (such as a display screen, a speaker, etc.);
[0138] The input processing module 454 is used to detect and translate one or more user inputs or interactions from one of one or more input devices 432.
[0139] In some embodiments, the device for using virtual props provided by the embodiments of the present application can be implemented in software. Figure 2 The device 455 for using virtual props stored in the memory 450 is shown. It can be software in the form of a program and a plugin, etc., including the following software modules: a display module 4551 and a response module 4552. These modules are logical, and thus can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0140] In some other embodiments, the virtual item usage device provided by the embodiments of the present application may be implemented in a hardware manner. As an example, the virtual item usage device provided by the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the virtual item usage method provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0141] In some embodiments, the terminal or the server may implement the virtual item usage method provided by the embodiments of the present application by running various computer-executable instructions or computer programs. For example, the computer-executable instructions may be microprogram-level commands, machine instructions, or software instructions. The computer program may be a native program or a software module in the operating system; it may be a native application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as a game application; or it may be a small program that can be embedded in any APP, that is, a program that only needs to be downloaded into the browser environment to run. In short, the above-mentioned computer-executable instructions may be instructions in any form, and the above-mentioned computer programs may be application programs, modules, or plugins in any form.
[0142] The following describes the virtual item usage method provided by the embodiments of the present application. As mentioned above, the electronic device for implementing the virtual item usage method of the embodiments of the present application may be a terminal, a server, or a combination of both. Refer to Figure 3 , Figure 3 which is a flowchart of the virtual item usage method provided by the embodiments of the present application Figure 1 ,and the following describes the virtual item usage method provided by the embodiments of the present application by taking the execution subject as the terminal and combining with the steps shown in Figure 3 As an example, the virtual item usage method provided by the embodiments of the present application is described.
[0143] In step 101, at least one virtual item possessed by the first virtual pet is displayed.
[0144] In the actual application process, the terminal is installed with a game application, and the game can be any one of an open-world game, a massively multiplayer online role-playing game, a first-person shooter game, a third-person shooter game, a multiplayer online battle arena game, a virtual reality application, a three-dimensional map program, or a multiplayer gunfight survival game.
[0145] For the case where the game is a single-player offline game, in response to a trigger operation on the game application, the display page of the game application can be displayed, and then at least one virtual item owned by the first virtual pet can be displayed on the display page of the game application, that is, one or more virtual items owned by the first virtual pet can be displayed.
[0146] For the case where the game is a multiplayer online game, in response to a trigger operation on the game application, the server can send data for displaying the display page of the game application to the terminal, so that the display page of the game application can be displayed on the terminal, and then at least one virtual item owned by the first virtual pet can be displayed on the display page of the game application.
[0147] In some embodiments, after the display page of the game application is displayed, a configuration control for the virtual items of the virtual pet can be displayed on the display page. The virtual pet is the virtual pet owned by the first virtual object corresponding to the account that logs in to the game application, and the configuration control is used to configure the virtual items of the virtual pet.
[0148] The virtual items are used to enhance the performance special effects of the first virtual pet. The number of virtual items of the virtual pet owned by the first virtual object can be one or more, and the number of virtual items corresponding to each virtual pet can be one or more. For the case where the number of virtual items is multiple, the corresponding performance special effects of different virtual items are different, and can be specifically set according to actual usage requirements.
[0149] The virtual items and the performance special effects are described below. The virtual items can be one or more of food-type virtual items, decoration-type virtual items, toy-type virtual items, skill-type virtual items, and social-type virtual items. The food-type virtual items refer to virtual items used to feed the virtual pet, thereby increasing the attribute values of the virtual pet. The decoration-type virtual items refer to virtual items used to dress up the virtual pet. For example, the decoration-type virtual items can be one or more of clothing and accessories. The accessories can be virtual medals, virtual hats, virtual necklaces, etc., and can be specifically set according to actual usage requirements.
[0150] Toy - type virtual props can be used for the interaction between the first virtual object and the virtual pet. The first virtual object can interact with the virtual pet it owns and can also interact with the virtual pet owned by the second virtual object. Skill - type virtual props are used to enhance the skills of the virtual pet and can also unlock new skills for the virtual pet. Social - type virtual props are used to achieve social interactions between virtual objects and virtual pets, between virtual objects and between virtual pets. Specifically, it can be set according to actual usage requirements.
[0151] Presentation special effects can be used to improve the richness and diversity of the display content of the virtual scene, can enhance the visual impact and interestingness. The presentation special effects can be one or more of light and shadow special effects, particle special effects, animation special effects, interaction special effects between the virtual scene, and sound effect special effects. The light and shadow special effects can include one or more of adding a halo effect within the preset range of the virtual pet, converging the light rays emitted from all directions of the virtual scene to the virtual pet, and adding a light and shadow change effect within the preset range of the virtual pet.
[0152] The particle special effects can be particles displayed within the preset range of the virtual pet. The particles can be stars, snowflakes, petals, etc., and the particles can move along the preset movement trajectory. The particle special effects can also be a trajectory composed of particles. The animation special effects can be animation special effects for performing preset operations on the virtual pet. The interaction special effects between the virtual scene can be that when the virtual pet performs a preset operation, the environment or weather in the virtual scene changes. The sound effect special effects can be representing sound effects through visual special effects. For example, the effect of sound waves propagating in the air can be added to the virtual pet. Specifically, it can be set according to actual usage requirements and no specific limitations are made here.
[0153] The difference in presentation special effects can mean that for the same virtual prop, when the virtual pet performs different preset operations, the presentation special effects added to the virtual pet are different. The preset operations can be one or more of a movement operation, an operation of interacting with a virtual object, an operation of interacting with other virtual pets, an operation of changing the dressing of the virtual pet, and an operation of displaying the virtual pet in the virtual scene. Here, it is only an illustrative example for the preset operations.
[0154] The difference in presentation special effects can also mean that for the same virtual pet, if the virtual props applied to the virtual pet are different, the presentation special effects are different. The difference in presentation special effects can also mean that for the same virtual prop, if the species of the virtual pet is different, the presentation special effects are different. The difference in presentation special effects can also mean that for the same virtual pet and the same virtual prop, if the acquisition times of the virtual prop are different, the presentation special effects are different. In the case where the virtual prop can be obtained through multiple acquisition methods, for the same virtual pet and the same virtual prop, if the acquisition methods of the virtual prop are different, the presentation special effects are different.
[0155] The number of virtual pets owned by the first virtual object can be one or more, and the number of configuration controls can be one or more. For the case where the number of virtual pets owned by the first virtual object is one, the virtual pet owned by the first virtual object is the first virtual pet, the number of configuration controls is one, and the configuration control is used to configure the virtual items of the first virtual pet.
[0156] For step 101, in response to a trigger operation on the configuration control, a configuration page for the virtual items of the first virtual pet can be displayed. In the configuration page for the virtual items of the first virtual pet, at least one virtual item owned by the first virtual pet can be displayed.
[0157] For the case where the number of virtual pets owned by the first virtual object is multiple, the number of configuration controls can be multiple, and there is a corresponding configuration control for each virtual pet. Among the multiple virtual pets, there is the first virtual pet. For step 101, in response to a trigger operation on the configuration control corresponding to the first virtual pet, a configuration page for the virtual items of the first virtual pet can be displayed. In the configuration page for the virtual items of the first virtual pet, at least one virtual item owned by the first virtual pet can be displayed.
[0158] For the case where the number of virtual pets owned by the first virtual object is multiple, the number of configuration controls can be one. The multiple virtual pets are in a candidate state. In the case where there is no selected virtual pet, the configuration control can be in a non-selectable state.
[0159] Among the multiple virtual pets, there is the first virtual pet. A first identifier representing different virtual pets can be displayed on the display page. The first identifier can be one or more of the name of the virtual pet, the image of the virtual pet, the video of the virtual pet, and the unique identifier of the virtual pet. Of course, it can also be other identifiers that can represent the virtual pet, which are not specifically limited here.
[0160] In response to a selection operation on the first identifier of the first virtual pet, control the first identifier of the first virtual pet to be in a selected state, which is equivalent to controlling the first virtual pet to be in a selected state in response to a selection operation on the first virtual pet. In the case where there is a selected virtual pet, the configuration control can be controlled to be in an optional state. Based on the selected first virtual pet, in response to a trigger operation on the configuration control, a configuration page for the virtual items of the first virtual pet can be displayed. In the configuration page for the virtual items of the first virtual pet, at least one virtual item owned by the first virtual pet can be displayed.
[0161] Among them, the configuration page can be the display page, and the configuration page can also be a sub-page of the display page. The configuration page can be displayed in the form of a pop-up window or a floating layer. The configuration page can also be different from the display page, which is equivalent to switching the display page to the configuration page, and can be specifically determined according to the actual situation.
[0162] For example, referring to Figure 4 , Figure 4 is a schematic diagram of the page provided by the embodiment of the present application. Figure 1 In the display page 401, the first identifiers of multiple virtual pets and the configuration control 403 can be displayed. In Figure 4 , only the first identifier 402 of the first virtual pet is marked. In Figure 4 , the configuration control 403 is represented by a dotted line in a non-selectable state.
[0163] Referring to Figure 5 , Figure 5 is a schematic diagram of the page provided by the embodiment of the present application. Figure 2 Continuing Figure 4 , in response to the selection operation on the first identifier 402 of the first virtual pet, the first identifier 402 of the first virtual pet can be controlled to be in a selected state, and the configuration control 403 can be controlled to be in a selected state. In Figure 5 , the first identifier 402 of the first virtual pet can be marked with a square in the display interface 401 to indicate that the first identifier 402 of the first virtual pet is in a selected state, and a solid line is used to represent that the configuration control 403 is in a selected state.
[0164] Referring to Figure 6 , Figure 6 is a schematic diagram of the page provided by the embodiment of the present application. Figure 3 In response to Figure 5 the trigger operation on the configuration control 403 shown, in the display page, the configuration page 601 of the virtual items of the first virtual pet is displayed. In the configuration page 601 of the virtual items of the first virtual pet, 6 virtual items owned by the first virtual pet can be displayed. In Figure 6 , the virtual item 602 is marked.
[0165] In the method for using virtual items provided by the embodiment of the present application, for the manner of displaying virtual pets and configuration controls in the display interface, different ways can be adopted to display the configuration page in combination with the number of virtual pets, the number of configuration controls, and the corresponding relationship between virtual pets and configuration controls, and virtual items are displayed in the configuration page. In this way, the diversity of the manner of displaying virtual items of virtual pets can be improved, which is equivalent to improving the diversity of interaction methods.
[0166] In some embodiments, after displaying the display page of the game application, in response to a control display instruction triggered for the display page, at least one control can be displayed on the display page, where the control display instruction can be triggered by a control, can also be triggered by a shortcut instruction, can also be triggered by voice, and can also be triggered by a body movement, and can be specifically set according to actual usage requirements. It should be noted that the instructions involved in the embodiments of the present application can all be triggered in any of the above ways, and will not be elaborated here.
[0167] The number of controls can be one or more. The controls can include at least one of a first control, a second control, a third control, a fourth control, a fifth control, and a sixth control. The first control is used to view the virtual items owned by the first virtual object, and the first control can be a "backpack". The second control can be used to view the virtual pet owned by the first virtual object. The third control can be used to view the achievements obtained by the first virtual object. The fourth control can be used to view the virtual map corresponding to the virtual scene. The fifth control can be used to view the tasks performed by the first virtual object. The sixth control can be used to view the game progress of the first virtual object. The above controls are only examples and can be specifically set according to actual usage requirements.
[0168] For example, referring to Figure 7 , Figure 7 is a schematic diagram of the page provided by the embodiments of the present application Figure 4 , 6 controls can be displayed on the display page 701, that is, the first control, the second control 702, the third control, the fourth control, the fifth control, and the sixth control are displayed on the display page 701. For the functions of the first control - the sixth control, refer to the corresponding descriptions and will not be elaborated here.
[0169] In some embodiments, in response to a trigger operation on the second control, an information display page of the virtual pet owned by the first virtual object can be displayed. On the information display page, the first identifier of the virtual pet owned by the first virtual object can be displayed.
[0170] Among them, the information display page can be a display page, and the information display page can also be a sub - page of the display page. The information display page can be displayed in the form of a pop - up window or a floating layer. The information display page can also be different from the display page, which is equivalent to switching the display page to the information display page, and can be specifically determined according to the actual situation.
[0171] In response to a selection operation on the first identifier, the first identifier of the virtual pet can be controlled to be in a selected state. For the first identifier in the selected state, the virtual pet corresponding to the selected first identifier can be displayed, and for the displayed virtual pet, one or more of the information of the virtual pet, the interaction information between the virtual pet and the virtual object, and the skill information of the virtual pet can be displayed.
[0172] The information of the virtual pet may include one or more of the name, age, gender, attributes, element types, species, level, and talents of the virtual pet.
[0173] The attributes of the virtual pet are the abilities that the virtual pet possesses. The attributes of the virtual pet may include the life, speed, physical strength, etc. of the virtual pet. The element types of the virtual pet may include one or more of the grass type, fire type, water type, light type, and electric type. There are preset mutual restraint relationships between different element types, which will not be elaborated here.
[0174] The talents of the virtual pet can be determined by one or more of the initial health value, initial attack value, speed, and initial defense value of the virtual pet. The initial attack value may include one or more of the normal attack value and the special attack value. The initial defense value may include one or more of the normal defense value and the special defense value. The values corresponding to the factors for determining the talents of the virtual pet can be called individual values, that is, the initial health value, initial attack value, speed, and initial defense value of the virtual pet are different types of individual values.
[0175] In some embodiments, the more factors for determining the talents of the virtual pet, the higher the talents of the virtual pet. That is to say, the talents of the virtual pet are positively correlated with the number of factors for determining the talents of the virtual pet. The higher the value corresponding to the factor for determining the talents of the virtual pet, the higher the talents of the virtual pet. That is, the talents of the virtual pet are positively correlated with the value corresponding to the factor for determining the talents of the virtual pet.
[0176] The talents of the virtual pet can be divided into multiple levels. The higher the talents of the virtual pet means the higher the level of the talents of the virtual pet. For example, the talents of the virtual pet can be low level, medium level, and high level. For another example, the talents of the virtual pet can also be level 1 - level n, where n is a positive integer greater than 1, and can be specifically set according to actual usage requirements.
[0177] The interaction information between the virtual pet and the virtual object may include one or more of the time when the virtual pet and the virtual object are bound in a corresponding relationship, the intimacy between the virtual pet and the virtual object, and the number of interactions between the virtual pet and the virtual object. Among them, the intimacy is an index for measuring the relationship between the virtual pet and the virtual object.
[0178] The skill information of the virtual pet may include one or more of the type of the virtual pet's skills, the number of the virtual pet's skills, the name of the virtual pet's skills, and the description information of the virtual pet's skills. The skills of the virtual pet may include one or more of attack skills, defense skills, and recovery skills. The skills of the virtual pet are used to enable the virtual pet to interact with virtual objects in the virtual scene, and the skills of the virtual pet are also used to enable the virtual pet to interact with other virtual pets in the virtual scene.
[0179] For example, refer to Figure 8 , Figure 8 which is a schematic diagram of the page provided by the embodiments of the present application Figure 5 , connecting to Figure 7 , in response to a trigger operation on the second control 702 shown in Figure 7 , the information display page 801 shown in Figure 8 can be displayed. In the information display page 801, the first identifier of the virtual pet owned by the first virtual object can be displayed. In Figure 8 , the first identifiers of 4 virtual pets are shown. In response to a selection operation on the first identifier 802, the first identifier of the virtual pet can be controlled to be in a selected state (represented by a box identifier). For the first identifier 802 in the selected state, the virtual pet 803 indicated by the first identifier 802 can be displayed in the information display page 801, and the information of the virtual pet 803 can be displayed in the information display page 801. In Figure 8 , only the name of the virtual pet 803, the level of the virtual pet 803, and the talent 804 of the virtual pet are shown.
[0180] In some embodiments, in the information display page, it can also be shown whether there is a virtual item currently applied to the virtual pet. In the case where there is a virtual item currently applied to the virtual pet, the applied virtual item can be displayed at a preset position in the information display page. In the case where there is no virtual item currently applied to the virtual pet, first guiding information can be displayed at a preset position in the information display page. The first guiding information is used to guide the setting of the virtual item applied to the virtual pet.
[0181] In some embodiments, in the information display page, a configuration control can also be displayed. For example, refer to Figure 8 , the configuration control 805 is shown in the information display page 801. Among them, the first guiding information can be used to guide the setting of the virtual item applied to the virtual pet through the configuration control.
[0182] In response to a triggering operation on a configuration control, for a virtual pet displayed on an information display page, a configuration page for virtual items of the virtual pet may be displayed. In the configuration page for the virtual items of the first virtual pet, at least one virtual item possessed by the first virtual pet may be displayed. For example, in combination with Figure 8 , in response to a triggering operation on the configuration control 805, a configuration page for virtual items of the virtual pet 803 (i.e., the first virtual pet) may be displayed. In the configuration page for the virtual items of the virtual pet 803, at least one virtual item possessed by the virtual pet 803 may be displayed. In this way, the configuration control may be displayed on the information display page, so that at least one virtual item possessed by the virtual pet can be displayed through the configuration control, which can further improve the diversity of the ways to display the virtual items of the virtual pet, equivalent to improving the diversity of interaction methods.
[0183] In some embodiments, any one of a virtual scene, a first virtual object, and a virtual pet owned by the first virtual object may be displayed on a display page of a game application. In response to a first area display instruction triggered for the display page, a first display area for displaying virtual items may be displayed on the display page, and at least one virtual item possessed by the first virtual pet may be displayed in the first display area. In this way, it can be realized to display the virtual items of the virtual pet in the first display area of the display page, which can further improve the diversity of the ways to display the virtual items of the virtual pet, equivalent to improving the diversity of interaction methods.
[0184] In some embodiments, the virtual items possessed by different virtual pets are different. In response to a second area display instruction triggered for the display page, a second display area for displaying virtual objects may be displayed on the display page. A first identifier of the virtual pet is displayed in the second display area. When the first display area is being displayed, in response to a selection operation on the first identifier of the virtual pet, the first identifier corresponding to the selection operation is controlled to be in a selected state, and the virtual items possessed by the virtual pet indicated by the first identifier in the selected state are displayed in the first display area. In this way, it can be realized to determine the virtual items of the virtual pet to be displayed in the first display area of the display page according to actual usage requirements, which can further improve the diversity of the ways to display the virtual items of the virtual pet, equivalent to improving the diversity of interaction methods.
[0185] In some embodiments, the first virtual pet belongs to the first virtual object, and the first virtual object also has a third virtual pet. The number of virtual items is multiple, and the multiple virtual items include exclusive virtual items of the first virtual pet and common virtual items shared by the first virtual pet and the third virtual pet. The number of exclusive virtual items can be one or more, and the number of common virtual items can be one or more. The first virtual pet and the third virtual pet belong to the same pet chain, and the pet chain can also be referred to as an evolution chain.
[0186] The pet chain will be described below. In the method for using virtual items provided in the embodiments of the present application, virtual pets have different forms, and virtual pets with different forms are different virtual pets. There is an initial virtual pet, and the initial virtual pet is a virtual pet that has not evolved into other forms. For an initial virtual pet, there can be multiple evolution stages, and there is an evolution order between the multiple evolution stages. The number of evolution stages can be set according to actual usage requirements. For an evolution stage, a virtual pet can have multiple evolution directions, and one evolution direction corresponds to one form. That is to say, one evolution direction corresponds to one virtual pet, and the same pet chain is composed of different virtual pets evolved from an initial virtual pet.
[0187] For example, referring to Figure 9 , Figure 9 is a schematic diagram of the pet chain provided in the embodiments of the present application. There is an initial virtual pet 901. The initial virtual pet 901 has 2 evolution stages, and the evolution stages include evolution stage 910 and evolution stage 920. Evolution stage 920 comes after evolution stage 910. For evolution stage 910, there are two evolution directions. That is to say, for the initial virtual pet 901, it can evolve into virtual pet 902 and virtual pet 903 at evolution stage 910. For evolution stage 920, there are three evolution directions. For virtual pet 902, it can evolve into virtual pet 9021, virtual pet 9022, and virtual pet 9023 at evolution stage 920. For virtual pet 903, it can evolve into virtual pet 9031, virtual pet 9032, and virtual pet 9033 at evolution stage 920. That is to say, the pet chain can be composed of different virtual pets evolved from the initial virtual pet 901.
[0188] The pet chain is composed of the initial virtual pet 901, virtual pet 902, virtual pet 903, virtual pet 9021, virtual pet 9022, virtual pet 9023, virtual pet 9031, virtual pet 9032, and virtual pet 9033. In this way, for an initial virtual pet, it can evolve into virtual pets of different forms, which can further improve the diversity of virtual pets and thus improve the fun of the game.
[0189] The first virtual pet and the third virtual pet belong to the same pet chain, which means that the first virtual pet and the third virtual pet correspond to the same initial virtual pet. The forms of the first virtual pet and the third virtual pet are different. The evolution stage where the first virtual pet is located can be the same as the evolution stage where the third virtual pet is located, but the evolution direction of the first virtual pet at this evolution stage is different from the evolution direction of the third virtual pet at this evolution stage. The evolution stage where the first virtual pet is located can also be different from the evolution stage where the third virtual pet is located, and it can be determined according to the actual situation specifically.
[0190] In some embodiments, in response to an information viewing instruction triggered for the first virtual pet, an information display page of the first virtual pet is displayed, and a viewing control for virtual items is displayed on the information display page. Among them, the information viewing instruction triggered for the first virtual pet can be triggered by a second control, can also be triggered by the first virtual pet displayed in the virtual scene, and can also be triggered by the first identifier of the first virtual pet displayed in the virtual scene. In this way, the information display page of the first virtual pet can be displayed in a variety of different ways, improving the diversity of interaction methods.
[0191] The viewing control is used to view the virtual items that the virtual pet has. The viewing control can be the same as or different from the configuration control, and it can be set according to the actual usage requirements specifically. In response to a trigger operation on the viewing control, at least one virtual item that the first virtual pet has is displayed. Specifically, reference can be made to the description of displaying at least one virtual item that the first virtual pet has through the configuration control and perform equivalent substitution, which will not be elaborated here. In this way, the virtual items of the virtual pet can be displayed through the viewing control, which can improve the diversity of the ways to display the virtual items of the virtual pet, which is equivalent to improving the diversity of interaction methods.
[0192] For Figure 3 For step 101 shown, the exclusive virtual items of the first virtual pet and the common virtual items of the first virtual pet can be displayed. For the convenience of understanding, the exclusive virtual items of the first virtual pet and the common virtual items of the first virtual pet will be described below.
[0193] In some embodiments, in order to facilitate the user to know the exclusive virtual items of the first virtual pet and the common virtual items of the first virtual pet, one or more of different colors, different second identifiers, different display forms of virtual items, and different display areas can be used to distinguish the exclusive virtual items and the common virtual items. The second identifier can be one or more of text, image, and video.
[0194] For example, see Figure 10 , Figure 10 This is a schematic diagram of the page provided in the embodiment of the present application. Figure 6 , three virtual props can be displayed in display page 1001, and the virtual props include virtual props 1002, virtual props 1003 and virtual props 1004, wherein virtual props 1002 is a proprietary virtual prop, and a "proprietary" mark can be used for virtual props 1002, and virtual props 1003 and virtual props 1004 are shared virtual props, and a "shared" mark can be used for virtual props 1003 and virtual props 1004. In this way, the diversity of the content displayed in the display page can be improved, and different texts can be used to mark the proprietary virtual props and the shared virtual props, so that the user can intuitively know the proprietary virtual props and the shared virtual props.
[0195] In some embodiments, the application scope of exclusive virtual props and shared virtual props is different. Exclusive virtual props refer to virtual props that can only be applied to the first virtual pet, and shared virtual props refer to virtual props that can be applied to the pet chain to which the first virtual pet belongs. That is to say, exclusive virtual props can only be applied to one first virtual pet, and shared virtual props can be applied to multiple virtual pets (including the first virtual pet and the third virtual pet). The number of virtual pets to which exclusive virtual props and shared virtual props are applied is different.
[0196] In some embodiments, the user can control the virtual object to disassociate with the virtual pet. With respect to the exclusive virtual props, when the first virtual object disassociates with the first virtual pet, the association between the first virtual object and the exclusive virtual props of the first virtual pet is also disassociated, which is equivalent to the first virtual object releasing the first virtual pet and discarding the exclusive virtual props of the first virtual pet.
[0197] With respect to the shared virtual props, when the first virtual object is released from its association with the first virtual pet, the association between the first virtual object and the shared virtual props of the first virtual pet will not be released, which is equivalent to the first virtual object releasing the first virtual pet and retaining the shared virtual props of the first virtual pet.
[0198] For shared virtual props, even if the first virtual object does not own other virtual pets belonging to the same pet chain as the first virtual pet, the association relationship between the shared virtual props of the first virtual object and the first virtual pet is still retained until the first virtual object owns other virtual pets belonging to the same pet chain as the first virtual pet, and the shared virtual props can be applied to the other virtual pets belonging to the same pet chain as the first virtual pet.
[0199] In some embodiments, the performance special effects corresponding to the proprietary virtual items are different from those of the common virtual items. In some embodiments, the acquisition methods of the proprietary virtual items can be different from those of the common virtual items. In some embodiments, the functions of the proprietary virtual items are different from those of the common virtual items, and the number of functions of the proprietary virtual items can be less than, equal to, or greater than the number of functions of the common virtual items.
[0200] The functions of the virtual items are described below. The functions of the virtual items can include one or more of adding performance special effects to the virtual pet, adding identification information to the virtual pet, adding skills to the virtual pet, adding attribute values to the virtual pet, and adding interaction actions to the virtual pet. Of course, there can also be other functions, which are not specifically limited herein.
[0201] In the method for using the virtual items provided in the embodiments of the present application, the proprietary virtual items of the first virtual pet and the common virtual items of the first virtual pet can be displayed, which is equivalent to increasing the types of virtual items, and can improve the diversity and richness of the displayed virtual items. The performance special effects corresponding to different virtual items are different, which can facilitate improving the diversity of the first virtual pet displayed in the virtual scene subsequently, and can improve the interactivity of the user with respect to the virtual pet, thereby improving the user's gaming experience and the resource utilization rate of the electronic device.
[0202] Through Figure 3 The steps shown in 101, different ways can be used to display the virtual items, which can improve the diversity and richness of the ways to display the virtual items. The performance special effects corresponding to different virtual items are different, which can facilitate improving the diversity of the first virtual pet displayed in the virtual scene subsequently, and can improve the interactivity of the user with respect to the virtual pet, thereby improving the user's gaming experience and the resource utilization rate of the electronic device.
[0203] Continue to refer to Figure 3 , in step 102, in response to a use instruction for the first virtual item among at least one virtual item, control the first virtual item to be applied to the first virtual pet.
[0204] In some embodiments, for the case where the number of displayed virtual items is 1, the displayed virtual item is the first virtual item. In response to a use instruction for the first virtual item, the first virtual item can be controlled to be applied to the first virtual pet.
[0205] In some embodiments, for the case where the number of displayed virtual items is multiple, the displayed virtual items include the first virtual item. In response to a use instruction for the first virtual item among at least one virtual item, control the first virtual item to be applied to the first virtual pet.
[0206] In some embodiments, in response to a selection operation for a first virtual item among at least one virtual item, information of the first virtual item may be displayed, and the information of the first virtual item includes one or more of: acquisition information of the first virtual item, information of the performance special effects corresponding to the first virtual item, and information of the virtual pet that acquires the first virtual item.
[0207] Among them, the acquisition information of the first virtual item may include one or more of the acquisition method of the first virtual item, the acquisition time of the first virtual item, and the acquisition times of the first virtual item. The information of the performance special effects corresponding to the first virtual item may include one or more of the number of performance special effects, the name of the performance special effects, and the way to trigger the performance special effects. Among them, the way to trigger the performance special effects is to add performance special effects to the virtual pet when the virtual pet performs a preset operation, and the preset operations corresponding to different ways to trigger the performance special effects are different.
[0208] The number of performance special effects includes a first number and a second number. The first number is the number of preset operations that can trigger the display of performance special effects. When the virtual pet performs a preset operation, performance special effects can be added to the virtual pet. The second number is the number of types of performance special effects for one preset operation. The types of performance special effects may include one or more of light and shadow special effects, particle special effects, animation special effects, interaction special effects with the virtual scene, and sound effect special effects.
[0209] The information of the virtual pet that acquires the first virtual item may include one or more of the information displayed by the virtual pet, the interaction information between the virtual pet and the virtual object, and the skill information of the virtual pet. For specific details, reference can be made to the corresponding description and will not be elaborated here.
[0210] In some embodiments, for the way of displaying the information of the first virtual item, based on the information of the first virtual item, in response to a use instruction for the first virtual item among at least one virtual item, control the first virtual item to be applied to the first virtual pet. The information of the first virtual item is used to guide the use of the first virtual item. In this way, the information of the virtual item can be displayed. The information of the virtual item can be used to guide the use of the virtual item, which can improve the diversity of the content displayed on the display page, and can facilitate the virtual pet to apply virtual items that more meet the user's usage needs, thereby improving the user's gaming experience.
[0211] In some embodiments, for the way of displaying virtual items in the configuration page, in response to a selection operation for the first virtual item among at least one virtual item, when the first virtual pet has not applied a virtual item, a prop application control can be displayed in the configuration page.
[0212] In some embodiments, regarding the way of displaying virtual items on the configuration page, in response to a selection operation on a first virtual item among at least one virtual item, when the first virtual pet has not applied the virtual item, the information of the first virtual item and the item application control can be displayed on the configuration page.
[0213] For example, refer to Figure 11 , Figure 11 which is a schematic diagram of the page provided by the embodiments of the present application. Figure 7 In the configuration page 1101, 6 virtual items are displayed. Only the virtual item 1102 is marked in Figure 11 . In response to a selection operation on the virtual item 1102 (the first virtual item) among the 6 virtual items, when the first virtual pet has not applied the virtual item, the virtual item 1102 is controlled to be in a selected state. In Figure 11 , the virtual item 1102 is filled with slashes to indicate that the virtual item 1102 is in a selected state.
[0214] In response to a selection operation on the virtual item 1102 (the first virtual item) among the 6 virtual items, the information of the virtual item 1102 can be displayed. The information of the virtual item 1102 can include the name of the virtual item 1102 (the name of the virtual item), obtained by achieving goal A (the acquisition method of the virtual item), 2024 / 01 / 02 (the acquisition time of the virtual item), and obtained by virtual pet A (the name of the virtual pet that obtained the virtual item). Among them, virtual pet A can be the first virtual pet or not the first virtual pet. In response to a selection operation on the virtual item 1102 (the first virtual item) among the 6 virtual items, the item application control 1103 can also be displayed.
[0215] After the item application control is displayed, in response to a trigger operation on the item application control, a use instruction for the first virtual item is triggered. In response to the use instruction for the first virtual item among at least one virtual item, the first virtual item is controlled to be applied to the first virtual pet. In some embodiments, the user can view the information of each virtual item according to actual usage needs, so as to select the first virtual item to be applied to the first virtual pet. In this way, in the case where the virtual pet has not applied the virtual item, the first virtual item can be controlled to be applied to the first virtual pet with one key through the item application control, which can improve the efficiency of applying the virtual item to the virtual pet.
[0216] In some embodiments, in response to a selection operation on a first virtual item among at least one virtual item, if the first virtual pet has applied a second virtual item among at least one virtual item, a item replacement control for virtual item replacement is displayed.
[0217] For example, refer to Figure 12 ,Figure 12 It is a schematic diagram of a page provided by an embodiment of the present application Figure 8 , six virtual items are displayed in the configuration page 1201, and only the virtual item 1202 is marked in Figure 12 . In response to a selection operation on the virtual item 1202 (the first virtual item) among the six virtual items, the virtual item 1202 is controlled to be in a selected state. In Figure 12 , the virtual item 1202 is filled with a slant line to indicate that the virtual item 1202 is in a selected state.
[0218] In response to a selection operation on the virtual item 1202 (the first virtual item) among the six virtual items, if the first virtual pet applies a second virtual item among at least one virtual item, a prop replacement control 1203 for performing virtual item replacement is displayed. Comparing Figure 11 and Figure 12 , it can be seen that in the method for using virtual items provided by the embodiments of the present application, different controls can be displayed according to whether the first virtual pet applies virtual items, so as to implement different operations on virtual items, and the richness of the content displayed on the page can be improved.
[0219] After the prop replacement control is displayed, in response to a trigger operation on the prop replacement control, a use instruction for the first virtual item is triggered. In response to the use instruction for the first virtual item among at least one virtual item, the virtual item applied by the first virtual pet is controlled to be switched from the second virtual item to the first virtual item. In this way, one-key replacement of the virtual item applied by the first virtual pet can be realized, and the efficiency of applying the virtual item to the virtual pet can be improved.
[0220] In some embodiments, the number of virtual items of the first virtual pet is multiple, and the multiple virtual items include the first virtual item and the second virtual item. If the first virtual pet does not apply a virtual item, the display styles of the virtual items displayed in the configuration interface are the same. Among them, the display style can be characterized by one or more of display color, display font, whether to be bold, whether to be highlighted, display of the third identifier, and display form of the virtual item.
[0221] If the first virtual pet applies a second virtual item among at least one virtual item, in the configuration page of the virtual items of the first virtual pet, multiple virtual items of the first virtual pet are displayed. The multiple virtual items include the first virtual item and the second virtual item. The second virtual item has a first display style, and the first virtual item has a second display style; the first display style is used to indicate that the second virtual item is the virtual item currently applied by the first virtual pet; the second display style is used to indicate that the first virtual item is the virtual item not applied. The first display style is different from the second display style.
[0222] For example, refer to Figure 13 , Figure 13 which is a schematic diagram of a page provided by an embodiment of the present application Figure 9 . Five virtual items can be displayed on the configuration page 1301, and the five virtual items include a first virtual item 1303 and a second virtual item 1302. If the first virtual pet uses the second virtual item among at least one virtual item, the second virtual item 1302 has a first display style. In Figure 13 , the first display style is characterized by marking the second virtual item 1302 with a solid line box and a third identifier 1304. The first display style is used to indicate that the second virtual item 1302 is the virtual item currently used by the first virtual pet.
[0223] The first virtual item 1303 has a second display style. In Figure 13 , the second display style is characterized by not using a solid line box and a third identifier 1304 to mark the first virtual item 1303. Figure 13 The display styles of other virtual items shown in
[0224] that are not applied to the first virtual pet are also the second display style. The second display style is used to indicate that the first virtual item 1303 is an unused virtual item. Figure 3 Regarding the step 102 shown in
[0225] For example, refer to Figure 14 , Figure 14 which is a schematic diagram of a page provided by an embodiment of the present application Figure 10 . In response to the use instruction for the first virtual item, control the first virtual item to be applied to the first virtual pet, and swap the display styles of the first virtual item and the second virtual item shown in Figure 13 . In Figure 14 , the first display style is characterized by marking the first virtual item 1303 with a solid line box and a third identifier 1304. The first display style is used to indicate that the first virtual item 1303 is the virtual item currently used by the first virtual pet.
[0226] In Figure 14In it, the second display style is characterized by not using a solid line box and marking the second virtual item 1302 with the third identifier 1304, that is, the second virtual item 1302 is displayed in the same display style as other virtual items that have not been applied to the first virtual pet. The second display style is used to indicate that the second virtual item 1302 is a virtual item that has not been applied. In this way, the display style can be adjusted in real time according to whether the virtual item is applied to the virtual pet. Equivalent to the virtual item, different display styles can be used according to whether the virtual item is applied to the virtual pet, which can improve the diversity and richness of the content displayed on the page. And when the user sets the virtual items applied to the virtual pet, the user can intuitively know the currently applied virtual items, which can improve the user's gaming experience.
[0227] In some embodiments, for the case of displaying the exclusive virtual items and common virtual items of the first virtual pet, if the first virtual item is a common virtual item and the first virtual item has been applied to the third virtual pet, in order to facilitate the user to more intuitively know the virtual pet to which the first virtual item is applied, a fourth identifier capable of representing the information of the third virtual pet may be displayed in the associated display area for displaying the first virtual item. The fourth identifier may be one or more of text, image, and video. The associated display area for displaying the first virtual item may be the area for displaying the first virtual item, or may be an area whose distance from the area for displaying the first virtual item is less than the first distance threshold, and can be specifically set according to actual usage requirements.
[0228] For example, refer to Figure 15 , Figure 15 is a schematic diagram of the page provided by the embodiment of the present application Figure 10 First, in the display page 1501, the first virtual item 1504 of the first virtual pet can be displayed. The first virtual item 1504 is a common virtual item, and the common virtual item has been applied to the third virtual pet. The fourth identifier 1502 can be displayed in the associated display area for displaying the first virtual item 1504. The fourth identifier 1502 is an image of the third virtual pet. In this way, the richness of the content displayed on the display page can be improved, and the user can intuitively know the virtual pet to which the first virtual item is applied, thereby improving the user's gaming experience.
[0229] In some embodiments, in response to a use instruction for the first virtual item, if the first virtual item is a common virtual item and the first virtual item has been applied to the third virtual pet, a second prompt message is displayed. Wherein, the second prompt message is used to prompt to replace the virtual pet to which the first virtual item is applied from the third virtual pet with the first virtual pet.
[0230] In some embodiments, a usage control may be displayed in a display interface, where the usage control may be a prop application control or a prop replacement control. That is, an instruction to use a first virtual prop may be triggered by the prop application control or the prop replacement control. For example, referring to Figure 15 , a usage control 1503 may be displayed in the display interface 1501.
[0231] In some embodiments, in response to a trigger operation on the usage control, an instruction to use the first virtual prop may be triggered. In response to the instruction to use the first virtual prop, if the first virtual prop is a shared virtual prop and the first virtual prop has been applied to a third virtual pet, a second prompt message may be displayed. The second prompt message may be displayed on the display page in the form of a pop-up window or a floating layer, and the second prompt message may be one or more of text information, image information, and video information.
[0232] In response to a rejection instruction for the second prompt message, the display of the second prompt message is cancelled, and the first virtual prop remains applied to the third virtual pet. In response to an approval instruction for the second prompt message, the display of the second prompt message is cancelled, and the virtual pet to which the first virtual prop is applied is replaced from the third virtual pet with the first virtual pet.
[0233] For example, referring to Figure 16 , Figure 16 is a schematic diagram of a page provided by an embodiment of the present application. Figure 10 Second, in response to a trigger operation on the usage control 1503 shown in Figure 15 , a pop-up window 1601 may be displayed. A second prompt message may be displayed in the pop-up window 1601. The second prompt message is "The first virtual prop 1504 has been equipped. Do you want to replace it?" The fact that the first virtual prop 1504 has been equipped is used to indicate that the first virtual prop 1504 has been applied to another virtual pet (i.e., the third virtual pet).
[0234] An approval control 1602 and a cancellation control 1603 for the second prompt message are also displayed in the pop-up window 1601. In response to a trigger operation on the cancellation control 1603, which is equivalent to a rejection instruction for the second prompt message, the display of the pop-up window 1601 may be cancelled, and the first virtual prop 1504 remains applied to the third virtual pet. In response to a trigger operation on the approval control 1602, which is equivalent to an approval instruction for the second prompt message, the virtual pet to which the first virtual prop 1504 is applied is replaced from the third virtual pet with the first virtual pet.
[0235] In the method for using virtual props provided by the embodiments of the present application, for shared virtual props, when the shared virtual prop has been applied to the third virtual pet, a second prompt message can be displayed, which can improve the richness of the content displayed on the display page. Moreover, the virtual pet applying the first virtual prop can be replaced from the third virtual pet with the first virtual pet, which can increase the interaction method of applying virtual props to the first virtual object, improve the user's gaming experience, and enrich the association relationship between virtual pets and virtual props in the method for using virtual props provided by the embodiments of the present application, and can solve Technical Problem 3.
[0236] In some embodiments, after replacing the virtual pet applying the first virtual prop from the third virtual pet with the first virtual pet, that is, in response to the confirmation instruction for the second prompt message, the second prompt message can also be replaced with a seventh prompt message, and the seventh prompt message is used to prompt that the virtual pet applying the first virtual prop is the first virtual pet. The seventh prompt message can be displayed on the display page in the form of a pop-up window or a floating layer, and the seventh prompt message can be one or more of text information, image information, and video information.
[0237] In some embodiments, when the duration of displaying the seventh prompt message reaches the first duration, the display of the seventh prompt message is cancelled. In some embodiments, a confirmation control for the seventh prompt message can be displayed, and in response to the triggering operation for the confirmation control, the display of the seventh prompt message can be cancelled. In this way, the diversity of the content displayed on the display page can be improved, and it is convenient for the user to know the result of applying the virtual prop to the virtual pet, and the user's gaming experience can be improved.
[0238] In some embodiments, when the shared virtual prop has been applied to the third virtual pet, a fourth prompt message is displayed in the associated display area of the shared virtual prop, and the fourth prompt message is used to prompt that the shared virtual prop has been applied to the third virtual pet. In this way, the diversity of the content displayed on the display page can be improved, and it is convenient for the user to know the application situation of the shared virtual prop, and the user's gaming experience can be improved.
[0239] In some embodiments, the fourth prompt message can be a fourth identifier, and the fourth identifier can be one or more of text, image, and video, that is, the fourth prompt message can be one or more of text, image, and video. For the case where the fourth prompt message is text, the fourth prompt message can be "Applied to the third virtual pet". For the case where the fourth prompt message is an image, the fourth prompt message can be an image of the third virtual pet. For the case where the fourth prompt message is a video, the fourth prompt message can be a video of the third virtual pet.
[0240] In some embodiments, the fourth prompt information may be composed of a fourth identifier and matching information. The matching information may include the first matching information between the common virtual item and the third virtual pet, and the second matching information between the common virtual item and the first virtual pet. The matching information is used to characterize whether the virtual item and the virtual pet are matched, and the matching information may also be referred to as adaptation information, which is used to characterize whether the virtual item and the virtual pet are adapted.
[0241] The following is an explanation of the matching information. The common virtual item may have an adapted faction. The matching information may include whether the common virtual item matches the faction of the virtual pet. The common virtual item may enhance the attribute value of the virtual pet. The matching information may also include whether the common virtual item can increase the attribute value of the virtual pet. The common virtual item may provide skills for the virtual pet. The matching information may also include whether the common virtual item adds skills for the virtual pet. The matching information may also include the matching degree calculated based on the content included in the above-mentioned matching information. Of course, the matching information may also include other information, which will not be elaborated here.
[0242] The manner of displaying the fourth identifier and the matching information for the fourth prompt information can further improve the diversity of the content displayed on the display page. The fourth identifier can facilitate the user to intuitively know that the common virtual item has been applied to the third virtual pet. The matching information is used to assist the user in determining whether to change the virtual pet to which the common virtual item is applied, which can further improve the user's gaming experience.
[0243] In some embodiments, after the common virtual item is applied to the first virtual pet, the common special effect of the common virtual item may be displayed. The common special effect is used to characterize that the common virtual item has been applied. The common special effect may be added to the first virtual pet or to the common virtual item. For the common special effect, reference may be made to the description of the performance special effect, which will not be elaborated here. In this way, the content displayed on the display page can be further enriched, and it can be convenient for the user to more intuitively know whether the common virtual item is applied, thereby improving the user's gaming experience.
[0244] In some embodiments, for the proprietary virtual item, in response to the usage instruction for the first virtual item, if the first virtual item is a proprietary virtual item, control the first virtual item to be applied to the first virtual pet and display the proprietary special effect of the proprietary virtual item.
[0245] Among them, the exclusive special effect is used to represent that the first virtual item is exclusive to the first virtual pet. The exclusive special effect can be added to the first virtual pet or to the exclusive virtual item. For the exclusive special effect, reference can be made to the description of the performance special effect, which will not be elaborated here. The common special effect is different from the exclusive special effect. In this way, the content displayed on the display page can be further enriched, and it is convenient for the user to more intuitively know whether the virtual item applied to the first virtual object is of a certain type, which can improve the user's gaming experience.
[0246] Through Figure 3 The step 102 shown can control the application of the first virtual item to the first virtual pet in a variety of different ways, which can improve the diversity and richness of the ways to apply the first virtual item to the first virtual pet. Different virtual items correspond to different performance special effects, which can facilitate the subsequent improvement of the diversity of displaying the first virtual pet in the virtual scene, and can improve the interactivity of the user with respect to the virtual pet, thereby improving the user's gaming experience and the resource utilization rate of the electronic device.
[0247] Continue to refer to Figure 3 In step 103, display the virtual scene, and when the first virtual pet appears in the virtual scene, during the appearance of the first virtual pet, display the first performance special effect corresponding to the first virtual item.
[0248] The following describes the way the first virtual pet appears in the virtual scene. In some embodiments, in response to the virtual object being displayed in the virtual scene, the virtual pet owned by the virtual object can be displayed in the virtual scene following the virtual object. Among them, the first time point when the virtual pet is displayed in the virtual scene can be the same as or different from the second time point when the virtual object is displayed in the virtual scene. The above way of displaying the virtual pet can be simply referred to as following display.
[0249] In some embodiments, in response to the virtual object using the target virtual item, a summon command for displaying the virtual pet is triggered, and the virtual pet corresponding to the target virtual item is displayed in the virtual scene, where the target virtual item is used to display the virtual pet in the virtual scene. The above way of displaying the virtual pet can be summon display. The summon command can also be triggered through a pre-set summon control, summon action, summon text, etc., which will not be elaborated here.
[0250] In some embodiments, display conditions for virtual pets may be preset in advance. In response to the satisfaction of the display conditions for a virtual pet, the corresponding virtual pet may be displayed in the virtual scene. For example, the display condition may be to display the virtual pet when the virtual object reaches a preset area in the virtual scene, or the display condition may be to display the virtual pet when the virtual object is attacked by other virtual objects, or the display condition may be to display the virtual pet when the virtual object interacts with other virtual objects. Specifically, it can be set according to the actual usage requirement information and will not be elaborated here. The above way of displaying virtual pets may be briefly referred to as conditional display.
[0251] In some embodiments, the first virtual pet belongs to the first virtual object, and the first virtual pet is in a virtual container. After the virtual scene is displayed, in response to a second control instruction for the first virtual object, control the first virtual object to throw the virtual container into the virtual scene. In response to the virtual container being thrown into the virtual scene, control the first virtual pet in the virtual container to appear in the virtual scene.
[0252] Among them, the way of displaying the first virtual pet by throwing the virtual container is one kind of summoning display, and the virtual container is the target virtual prop. The virtual container can be any one of a virtual sphere, a virtual box, a virtual book, a virtual package, and a virtual capsule, and can be specifically set according to the actual usage requirements.
[0253] The virtual scene includes a first virtual scene, which is used for the first virtual pet to interact (fight) with the virtual pet of the second virtual object. In response to the virtual container being thrown into the first virtual scene, control the first virtual pet in the virtual container to appear in the first virtual scene. In some embodiments, the first virtual pet appears at a first position in the first virtual scene, and the first position is a preset position.
[0254] During the process of the first virtual pet appearing in the first virtual scene, display the first performance special effect corresponding to the first virtual prop. That is, during the process of the first virtual pet appearing at the first position in the first virtual scene, display the first performance special effect corresponding to the first virtual prop.
[0255] In some embodiments, in response to a third control instruction for the first virtual pet, control the first virtual pet to fight with the virtual pet of the second virtual object. The third control instruction may be an instruction to control the movement of the first virtual pet, or an instruction to control the first virtual pet to release a skill, or an instruction to control the first virtual pet to restore its own state. Specifically, it can be set according to the actual usage requirements, and reference can also be made to the description of the first control instruction and make an equivalent replacement for the description of the first control instruction, and no specific limitation is made here.
[0256] In some embodiments, in response to the virtual pet of the first virtual pet defeating the virtual pet of the second virtual object, a third performance special effect corresponding to the first virtual item is displayed. The third performance special effect may be different from the first performance special effect, the third performance special effect may be adapted to the first virtual scene, and the third performance special effect is used to represent that the first virtual pet has won.
[0257] In some embodiments, in response to the virtual pet of the second virtual pet defeating the virtual pet of the first virtual object, a fourth performance special effect corresponding to the first virtual item is displayed. The fourth performance special effect may be different from both the first performance special effect and the third performance special effect, the fourth performance special effect may be adapted to the first virtual scene, and the fourth performance special effect is used to represent that the first virtual pet has lost.
[0258] In some embodiments, there are multiple virtual pets for the first virtual object, and the first virtual pet is included among the multiple virtual pets. The first virtual scene is used for the virtual pets of the first virtual object to conduct multiple rounds of battles with the virtual pets of the second virtual object. For each round, there is a battle result, and the battle result is used to represent whether the virtual pet has won or lost;
[0259] If the round is the first round in the first virtual scene, in response to the virtual container including the first virtual pet being thrown into the first virtual scene, control the first virtual pet in the virtual container to appear in the first virtual scene. During the process of the first virtual pet appearing at the first position in the first virtual scene, display the first performance special effect corresponding to the first virtual item.
[0260] Furthermore, the first virtual pet can battle with the virtual pet of the second virtual object. If the battle result represents that the first virtual pet has won, the first virtual pet can be controlled to still be displayed in the first virtual scene, while canceling the display of the virtual pet of the second virtual object, and enter the next round. And for the first virtual pet, the third performance special effect corresponding to the first virtual item can be displayed.
[0261] In the next round, the second virtual object can summon a new virtual pet to battle with the first virtual pet. If the battle result represents that the first virtual pet has won, the first virtual pet can be controlled to still be displayed in the first virtual scene, while canceling the display of the virtual pet of the second virtual object. For the first virtual pet, the third performance special effect corresponding to the first virtual item can be displayed, and enter the next round until the first virtual object loses or the round ends.
[0262] If the battle result represents that the first virtual object has lost, the virtual pet of the second virtual object can be controlled to still be displayed in the first virtual scene. First, display the fourth performance special effect corresponding to the first virtual item of the first virtual pet. In response to the completion of the display of the fourth performance special effect, cancel the display of the first virtual pet, and enter the next round. In the next round, other virtual pets of the first virtual object can be summoned.
[0263] In response to a virtual container including other virtual pets being thrown into the first virtual scene, control the other virtual pets in the virtual container to appear in the first virtual scene, and display the first performance special effects corresponding to other virtual items during the process of the other virtual pets appearing at the first position in the first virtual scene.
[0264] The other virtual pets can fight against the virtual pets corresponding to the second virtual object. If the battle result indicates that the other virtual pets win, the other virtual pets can be controlled to still be displayed in the first virtual scene, while canceling the display of the virtual pets of the second virtual object and entering the next round.
[0265] If the battle result indicates that the virtual pets of the second virtual object win, the virtual pets of the second virtual object can be controlled to still be displayed in the first virtual scene, while canceling the display of the other virtual pets of the first virtual object and entering the next round. In the next round (that is, if the round is not the first round and the battle result of the previous round indicates that the virtual pets of the first virtual object lose), in response to a virtual container including the first virtual pet being thrown into the first virtual scene, control the first virtual pet in the virtual container to appear at the first position in the virtual scene. Then the first virtual pet can fight against the virtual pets of the second virtual object.
[0266] In the method for using virtual items provided by the embodiments of the present application, virtual pets can be displayed in the first virtual scene by throwing virtual containers, which can improve the diversity of the ways to display virtual pets and enrich the battle methods between virtual pets.
[0267] In some embodiments, the virtual scene includes a second virtual scene, which is used for the first virtual object and the first virtual pet to carry out activities. The second virtual scene is equivalent to the virtual scene corresponding to the large world. The activities can be one or more of the first virtual object and the first virtual pet moving in the second virtual scene, performing operations to increase the level, performing operations to learn skills, and performing operations to increase the intimacy, which can be specifically set according to actual usage requirements.
[0268] In response to the virtual container being thrown onto the virtual ground of the second virtual scene, control the first virtual pet in the virtual container to appear in the second virtual scene, and display the first performance special effects corresponding to the first virtual item during the process of the first virtual pet appearing in the second virtual scene.
[0269] In some embodiments, in the second virtual scenario, in response to a movement instruction for the first virtual object, the first virtual object is controlled to move in the second virtual scenario, and the first virtual pet is controlled to follow the first virtual object. In this way, the interaction mode between the first virtual object and the first virtual pet in the second virtual scenario can be enriched.
[0270] In some embodiments, the first virtual object may include multiple virtual pets, and each virtual pet has a corresponding virtual container. In response to a selection operation for the multiple virtual containers, the first virtual object can be controlled to carry the selected virtual container. In response to the selected virtual container being thrown onto the virtual ground in the second virtual scenario, the virtual pet in the selected virtual container is controlled to appear in the second virtual scenario.
[0271] Among the multiple virtual pets is the first virtual pet. In the second virtual scenario, the first virtual object can repeatedly execute "in response to a selection operation for the multiple virtual containers, the first virtual object can be controlled to carry the selected virtual container. In response to the selected virtual container being thrown onto the virtual ground in the second virtual scenario, the virtual pet in the selected virtual container is controlled to appear in the second virtual scenario", so that multiple virtual pets can be controlled to appear in the second virtual scenario at the same time, and thus the first virtual object and the multiple virtual pets can jointly move in the second virtual scenario. In this way, the user's gaming experience can be improved.
[0272] The virtual scenarios provided by the embodiments of the present application may include a first virtual scenario and a second virtual scenario. The first virtual scenario is used for the virtual pets of different virtual objects to fight. The fight can be one-on-one or one-to-many, and can be specifically set according to actual usage requirements. One-on-one means that one virtual pet of the first virtual object fights against one virtual pet of the second virtual object, and one-to-many means that one virtual pet of the first virtual object fights against the virtual pets of multiple virtual objects. The number of virtual pets of each virtual object can be one or more, and can be specifically set according to actual usage requirements. In this way, the way of fighting between virtual pets can be enriched.
[0273] The second virtual scenario may include multiple first virtual scenarios, and the second virtual scenario may also be different from the first virtual scenario, which can be specifically set according to actual usage requirements. In this way, the types of virtual scenarios can be enriched, thereby improving the user's gaming experience. Moreover, for the different ways of throwing virtual containers in the first virtual scenario and the second virtual scenario, the user's interest in the game content can be increased, and the exploration willingness of the user to collect virtual props can be improved, thereby improving the user's gaming experience. That is to say, the different ball-throwing performances increase the user's exploration willingness for the game content and prop collection, and also enhance the user experience from another dimension.
[0274] For ease of understanding, the following will be described with specific examples. Figure 3 Shown in step 103, refer to Figure 17 , Figure 17 is a schematic diagram of the page provided by the embodiment of the present application Figure 10 Third, in the display page 1701, a virtual scene 1702 can be displayed. When the virtual pet is displayed by at least one of the above-mentioned follow-up display, summon display, and conditional display, during the appearance of the first virtual pet, a first performance special effect corresponding to the first virtual item is displayed. The first performance special effect can be a dynamic performance special effect, and the first performance special effect can also be called an appearance special effect.
[0275] In some embodiments, during the appearance of the first virtual pet, the first performance special effect corresponding to the first virtual item can be displayed first. In response to the completion of the display of the first performance special effect, the first virtual pet is displayed. For example, refer to Figure 18 , Figure 18 is a schematic diagram of the page provided by the embodiment of the present application Figure 10 Fourth, during the appearance of the first virtual pet, in the virtual scene 1702 displayed on the page 1701, a first performance special effect 1801 corresponding to the first virtual item can be displayed. The first performance special effect 1801 is an image frame of the first performance special effect corresponding to the first virtual item.
[0276] Refer to Figure 19 , Figure 19 is a schematic diagram of the page provided by the embodiment of the present application Figure 10 Fifth, for the process of the appearance of the first virtual pet, after the first performance special effect 1801 shown in Figure 18 , in the virtual scene 1702 displayed on the page 1701, a first performance special effect 1901 corresponding to the first virtual item can be displayed. The first performance special effect 1901 is another image frame of the first performance special effect corresponding to the virtual item.
[0277] Refer to Figure 20 , Figure 20 is a schematic diagram of the page provided by the embodiment of the present application Figure 10 Sixth, in response to the completion of the display of the first performance special effect corresponding to the first virtual item, the first virtual pet 2001 can be displayed in the virtual scene 1702 displayed on the page 1701. In this way, during the appearance of the first virtual pet, the first performance special effect corresponding to the first virtual item can be increased, thereby improving the richness of the display of the first virtual pet in the virtual scene.
[0278] In some embodiments, during the appearance of the first virtual pet, the first performance special effect corresponding to the first virtual item can be displayed simultaneously, and the first virtual pet can also be displayed. For example, refer toFigure 21 , Figure 21 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Seven, in the virtual scene displayed on page 2101, the first virtual pet 2102 and the first display special effect 2103 corresponding to the first virtual item can be displayed simultaneously. In this way, during the appearance of the first virtual pet, the first display special effect corresponding to the first virtual item can be added, thereby improving the richness of the display of the first virtual pet in the virtual scene.
[0279] The following describes the display method of the first display special effect. The first display method: during the appearance of the first virtual pet, display the first display special effect corresponding to the acquisition times of the first virtual item, where the display special effects corresponding to different acquisition times are different.
[0280] In some embodiments, the more the acquisition times, the richer the display effect of the display special effect. For example, refer to Figure 22 , Figure 22 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Eight, display page 2201. When the acquisition times of the first virtual item is 1, the first display special effect 2203 can be displayed during the display of the first virtual pet 2202. Another example, refer to Figure 23 , Figure 23 is a schematic diagram of a page provided by an embodiment of the present application Figure 10 Nine, display page 2201. When the acquisition times of the first virtual item is 2, the first display special effect 2301 can be displayed during the display of the first virtual pet 2202.
[0281] Comparing Figure 22 and Figure 23 it can be seen that the number of lightning bolts corresponding to the first display special effect 2203 is less than the number of lightning bolts of the first display special effect 2301. The more the number of lightning bolts, the richer the display effect of the display special effect. That is to say, the more the acquisition times of the virtual item, the richer the display effect of the display special effect.
[0282] For example, refer to Figure 24 , Figure 24 is a schematic diagram of a page provided by an embodiment of the present application Figure 2 Ten, display page 2201. When the acquisition times of the first virtual item is 3, the first display special effect 2401 can be displayed during the display of the first virtual pet 2202. Comparing Figure 22 and Figure 24It can be known that the first performance special effect 2203 only includes lightning, and the first performance special effect 2401 includes other special effects such as stars in addition to lightning. Compared with the first performance special effect 2203, the display effect of the first performance special effect 2401 is richer. That is to say, the more times the virtual item is obtained, the richer the display effect of the performance special effect.
[0283] Through the first display method, different first performance special effects can be displayed in combination with the number of times different virtual items are obtained, which can improve the richness and diversity of the first performance special effects, and can also improve the richness and diversity of the display of the first virtual pet in the virtual scene. In addition, it can encourage users to control the virtual pet to obtain more virtual items, and can improve the user's gaming experience.
[0284] The second display method: During the appearance of the first virtual pet, display the first performance special effect corresponding to the level of the first virtual item, where different levels correspond to different performance special effects. In some embodiments, the higher the level of the first virtual item, the richer the display effect of the performance special effect.
[0285] The level of the first virtual item can be preset, and the level of the first virtual item can also be determined in combination with one or more of the acquisition method of the first virtual item, the quantity of the first virtual item in the game, and the virtual pet to which the first virtual item is applied.
[0286] Among them, the more difficult the acquisition method of the virtual item, the higher the level of the virtual item, that is, the level of the virtual item is positively correlated with the difficulty of the acquisition method of the virtual item. The fewer the quantity of the first virtual item in the game, the higher the level of the virtual item, that is, the level of the virtual item is inversely correlated with the quantity of the virtual item in the game. The level of the virtual item is also related to whether it is a shared virtual item, the level of the virtual pet, the talent of the virtual pet, the department of the virtual pet, etc., and can be specifically set according to actual usage requirements.
[0287] Through the second display method, different first performance special effects can be displayed in combination with the levels of different virtual items, which can improve the richness and diversity of the first performance special effects, and can also improve the richness and diversity of the display of the first virtual pet in the virtual scene. In addition, it can encourage users to control the virtual pet to obtain more virtual items, and can improve the user's gaming experience.
[0288] The third display method: During the appearance of the first virtual pet, a first performance special effect corresponding to the acquisition method of the first virtual item is displayed, where the performance special effects corresponding to different acquisition methods are different. In some embodiments, the more difficult the acquisition method of the first virtual item is, the richer the display effect of the performance special effect is. Through the third display method, different first performance special effects can be displayed by combining the acquisition methods of different virtual items, which can improve the richness and diversity of the first performance special effects, and can also improve the richness and diversity of the display of the first virtual pet in the virtual scene. In addition, it can motivate users to control the virtual pet to obtain more virtual items and improve the user's gaming experience.
[0289] The fourth display method: Any two of the first display method - the third display method can be combined to display the corresponding first performance special effect. That is to say, during the appearance of the first virtual pet, a first performance special effect corresponding to both the level of the first virtual item and the number of times the first virtual item is obtained can be displayed.
[0290] During the appearance of the first virtual pet, a first performance special effect corresponding to both the level of the first virtual item and the acquisition method of the first virtual item can be displayed. During the appearance of the first virtual pet, a first performance special effect corresponding to both the number of times the first virtual item is obtained and the acquisition method of the first virtual item can be displayed. Through the fourth display method, any two of the acquisition method of the first virtual item, the number of times the first virtual item is obtained, and the level of the first virtual item can be combined to display different first performance special effects, which can improve the richness and diversity of the first performance special effects, and can also improve the richness and diversity of the display of the first virtual pet in the virtual scene. In addition, it can motivate users to control the virtual pet to obtain more virtual items and improve the user's gaming experience.
[0291] The fifth display method: During the appearance of the first virtual pet, a first performance special effect corresponding to the level of the first virtual item, the acquisition method of the first virtual item, and the number of times the first virtual item is obtained can be displayed. Through the fifth display method, the acquisition method of the first virtual item, the number of times the first virtual item is obtained, and the level of the first virtual item can be combined to display different first performance special effects, which can improve the richness and diversity of the first performance special effects, and can also improve the richness and diversity of the display of the first virtual pet in the virtual scene. In addition, it can motivate users to control the virtual pet to obtain more virtual items and improve the user's gaming experience.
[0292] Through the method for using virtual props provided by the embodiments of the present application, the first virtual prop can be applied to the first virtual pet. Thus, during the process when the first virtual pet appears in the virtual scene, the first performance feature corresponding to the first virtual prop can be displayed. This is equivalent to adding a first performance special effect for the first virtual pet during the process when the first virtual pet appears in the virtual scene, which can improve the richness of displaying the first virtual pet in the virtual scene. Moreover, different virtual props correspond to different performance special effects. The user can set the first virtual prop applied to the first virtual pet according to actual usage requirements, which is equivalent to the user being able to set the performance special effect for the first virtual pet according to actual usage requirements, can improve the diversity of displaying the first virtual pet in the virtual scene, and can improve the interactivity of the user with respect to the virtual pet. Consequently, the game experience of the user can be improved, and the resource utilization rate of the electronic device can be increased, and the above technical problem 1 can be solved.
[0293] In some embodiments, the first virtual prop has corresponding identification information; the method further includes: during the process when the first virtual pet appears, not only displaying the first performance special effect corresponding to the first virtual prop, but also displaying the name of the first virtual pet, and in the associated display area for displaying the name, displaying the identification information corresponding to the first virtual prop, where the identification information is used to identify the name. Among them, the identification information can be one or more of text, image, and video.
[0294] In some embodiments, the associated display area can be the area for displaying the name, or can also be the area at a second distance from the area for displaying the name, and can be specifically set according to actual usage requirements. In some embodiments, the identification information corresponding to the first virtual prop can be used as a prefix for the name of the first virtual pet, which is equivalent to the identification information corresponding to the first virtual prop being a title for the first virtual pet.
[0295] For example, referring to Figure 25 , Figure 25 is a schematic diagram of the page provided by the embodiments of the present application Figure 2 Figure 11, in the display interface 2501, the first virtual pet 2502 can be displayed. During the process of displaying the first virtual pet 2502, the first performance special effect 2503 corresponding to the first virtual prop can be displayed, and the name of the first virtual pet 2502 can also be displayed, and the name is "the first virtual pet 2502". In the associated display area for displaying the name, the identification information corresponding to the first virtual prop is displayed, and the identification information is "brave". In this way, the richness of the content displayed on the display page can be improved, and it is convenient for the user to know the displayed virtual pet, thereby improving the game experience.
[0296] In some embodiments, in order to further facilitate the user to know the displayed virtual pet, the identification information may be displayed in a third display style, and the name of the first virtual object may be displayed in a fourth display style. The third display style and the fourth display style may both be embodied by one or more of display color, display font, and display area, and the third display style is different from the fourth display style. In this way, the richness of the content displayed on the display page can be further improved, and it is further convenient for the user to know the displayed virtual pet, thereby further improving the gaming experience.
[0297] In some embodiments, after the first virtual pet appears in the virtual scene, in response to a first control instruction for the first virtual pet, the first virtual pet is controlled to perform the operation indicated by the first control instruction in the virtual scene. During the process of the first virtual pet performing the operation, if the operation is a preset operation, a second performance special effect corresponding to the first virtual item is displayed.
[0298] The first control instruction can be used to control the first virtual pet to perform one or more of moving, releasing skills, changing costumes, and eating virtual food. Releasing skills is used to enable the virtual pet to interact (i.e., fight) with other virtual pets (or virtual objects). The first control instruction can also be any first control instruction for virtual pets in the game field, which will not be elaborated here.
[0299] The first performance special effect is different from the second performance special effect. The first performance special effect is the appearance special effect for the virtual pet. The second performance special effect can be the movement special effect displayed during the movement of the virtual pet, and the second performance special effect can also be the interaction special effect during the interaction between the virtual pet and other virtual pets (or virtual objects). The second performance special effect can also be the dressing special effect for the virtual pet to change costumes. The second performance special effect can also be the eating special effect for the virtual pet to eat virtual food. Different performance special effects can be set according to different preset operations, and specifically, they can be set according to actual usage requirements.
[0300] For example, refer to Figure 26 , Figure 26 is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Twelve, a virtual scene is displayed in the display interface 2601, and the first virtual pet 2603 and other virtual pets 2602 can be displayed in the virtual scene. Refer to Figure 27 , Figure 27 is a schematic diagram of the page provided by the embodiment of the present application Figure 2Thirteen. In response to a skill release instruction for the first virtual pet 2603, the first virtual pet 2603 can release the skill corresponding to the skill release instruction for other virtual pets 2602, which is equivalent to the first virtual pet 2603 being able to perform an interaction operation with other virtual pets 2602. The interaction operation is a preset operation, and the second display special effect 2701 corresponding to the first virtual item can be displayed. The second display special effect 2701 is the interaction special effect.
[0301] In the method for using a virtual item provided in the embodiments of the present application, the second display special effect corresponding to the first virtual item can also be displayed for the preset operation performed by the first virtual pet, which is equivalent to being able to display different display special effects for different situations during the game, further improving the richness of the first virtual pet displayed in the virtual scene. Moreover, the display special effects corresponding to different virtual items are different, and the user can set the first virtual item applied to the first virtual pet according to actual usage needs, which is equivalent to the user being able to set the display special effect for the first virtual pet according to actual usage needs, further improving the diversity of the first virtual pet displayed in the virtual scene and further improving the user's gaming experience.
[0302] In some embodiments, for different virtual items, the preset operations for triggering the display of the special effect are different. For different virtual items, the first quantity of the preset operations for triggering the display of the special effect is different. For the same virtual item, the first quantity of the preset operations for triggering the display of the special effect can be determined according to one or more of the acquisition times of the first virtual item, the level of the first virtual item, and the acquisition method of the first virtual item. Among them, the acquisition times of the first virtual item are positively correlated with the first quantity, the level of the first virtual item is positively correlated with the first quantity, and the difficulty level of the acquisition method of the first virtual item is positively correlated with the first quantity.
[0303] In some embodiments, during the process of the first virtual pet performing an operation, if the operation is not a preset operation, a first prompt message is displayed. The first prompt message is used to prompt the reason for not displaying the second display special effect. The first prompt message can be displayed on the display page in the form of a pop-up window or a floating layer, and the first prompt message can be one or more of text information, image information, and video information.
[0304] In some embodiments, if the operation is not a preset operation, it may be that the first control instruction for the virtual pet is incorrect. The first prompt message can be used to characterize the error of the first control instruction, and the first prompt message can also include the way to trigger the correct first control instruction.
[0305] In some embodiments, if the operation is not a preset operation, it may be that one or more of the following conditions are met: the acquisition times of the first virtual item have not reached the first threshold, the level of the first virtual item has not reached the level threshold, and the difficulty of the acquisition method of the first virtual item has not reached the difficulty threshold. Correspondingly, the first prompt message can be used to indicate that one or more of the acquisition times of the first virtual item have not reached the first threshold, the level of the first virtual item has not reached the level threshold, and the difficulty of the acquisition method of the first virtual item has not reached the difficulty threshold.
[0306] The first prompt message may further include second guiding information. The guiding information may correspondingly include one or more of guiding to increase the acquisition times of the first virtual item, upgrading the level of the first virtual item, and acquiring the first virtual item by other acquisition methods. In this way, the first prompt message can be displayed without displaying the second performance special effect, which can improve the diversity of the content displayed on the display page. Moreover, the user can intuitively know the reason why the second performance special effect is not displayed, which can improve the user's gaming experience.
[0307] Regarding the way to display the correct first control instruction, it can guide the user to correctly trigger the first control instruction, thereby increasing the success rate of displaying the second performance special effect. By displaying the second guiding information, it can guide the user to perform corresponding processing on the virtual item, thereby further improving the user's gaming experience.
[0308] The following describes the method for obtaining virtual items in the embodiments of the present application. In some embodiments, the first virtual pet belongs to the first virtual object, and the first virtual item is obtained by the first virtual object. Before step 101 shown Figure 3 it is possible to display the first virtual item obtained by the first virtual object. In response to the first allocation instruction for the first virtual item, the first virtual item is allocated to the first virtual pet so that the first virtual pet has the first virtual item. In some embodiments, in response to the triggering operation for the first control, the first virtual item obtained by the first virtual object can be displayed.
[0309] In the method for using virtual items provided by the embodiments of the present application, the first virtual item obtained by the first virtual object can be allocated to the first virtual pet, which is equivalent to allocating the first virtual item obtained by the first virtual object to the first virtual pet as a virtual gift. In this way, the interactivity between the virtual object and the virtual pet can be improved, the way for the virtual pet to obtain virtual items can be enriched, and the user's gaming experience can be improved.
[0310] In some embodiments, in response to a first allocation instruction for a first virtual item, the virtual pets owned by a first virtual object are displayed. The number of virtual pets owned by the first virtual object can be one or more. The virtual pets owned by the first virtual object include a first virtual pet. In response to a selection instruction for the first virtual pet, the first virtual item is allocated to the first virtual pet.
[0311] In some embodiments, in response to a first allocation instruction for a first virtual item, the first identifier of the virtual pets owned by a first virtual object is displayed. The number of virtual pets owned by the first virtual object can be one or more. The virtual pets owned by the first virtual object include a first virtual pet. In response to a selection instruction for the first identifier of the first virtual pet, the first virtual item is allocated to the first virtual pet indicated by the first identifier. The virtual pets owned by the first virtual object or the first identifier of the virtual pets can be displayed in the form of a pop-up window or a floating layer.
[0312] For example, referring to Figure 28 , Figure 28 is a schematic diagram of the page provided by the embodiments of the present application. Figure 2 Fourteen, in the display page 2801, the first virtual item 2803 obtained by the first virtual object can be displayed, and the allocation control 2802 for the first virtual item 2803 can also be displayed.
[0313] Referring to Figure 29 , Figure 29 is a schematic diagram of the page provided by the embodiments of the present application. Figure 2 Fifteen, in response to a triggering operation on the allocation control 2802 shown in Figure 28 , which is equivalent to responding to a first allocation instruction for the first virtual item 2803, the pop-up window 2901 shown in Figure 29 can be displayed. The first identifiers of 6 virtual pets owned by the first virtual object are shown in the pop-up window 2901, and the first identifier 2902 of the first virtual pet is included in the first identifiers of the 6 virtual pets. In response to a selection instruction for the first identifier 2902, the first virtual item 2803 can be allocated to the first virtual pet indicated by the first identifier 2902.
[0314] Combined with Figure 28 - Figure 29 it can be seen that in the method for using virtual items provided by the embodiments of the present application, the virtual pets owned by the first virtual object available for the user to select can be displayed, so that the first virtual item can be allocated to the first virtual pet according to the actual usage needs of the user, which can improve the diversity of the content displayed on the display page and also improve the user's gaming experience.
[0315] In some embodiments, for the virtual pet owned by the first virtual object being displayed, a confirmation control and a cancellation control may be correspondingly displayed. In response to a triggering operation on the cancellation control, which is equivalent to responding to a cancellation instruction for the virtual pet owned by the first virtual object, the display of the virtual pet owned by the first virtual object can be cancelled. In response to a triggering operation on the confirmation control, which is equivalent to responding to a selection instruction for the first virtual pet, the first virtual item can then be assigned to the first virtual pet. In this way, the virtual pet owned by the first virtual object available for the user to select can be displayed, so that the first virtual item can be assigned to the first virtual pet according to the actual usage needs of the user, which can improve the diversity of the content displayed on the display page and also improve the user's gaming experience.
[0316] In some embodiments, to further facilitate the user in assigning the first virtual item to the first virtual pet, in response to a first assignment instruction for the first virtual item, while displaying the virtual pet owned by the first virtual object, recommended information may also be displayed. The recommended information is used to recommend a virtual pet that is compatible with the first virtual item. That is to say, the recommended information is used to recommend a virtual pet that is compatible with the first virtual item based on matching information. Whether a virtual pet is compatible with a virtual item can be referred to the description of the matching information, and the corresponding description of the matching information is equivalently replaced here and will not be elaborated.
[0317] In some embodiments, in the case of displaying the virtual pet owned by the first virtual object and the recommended information, based on the recommended information, in response to a selection instruction for the first virtual pet, the first virtual item can be assigned to the first virtual pet.
[0318] For example, referring to Figure 30 , Figure 30 is a schematic diagram of the page provided by the embodiment of the present application Figure 2 Sixteenth, six virtual pets owned by the first virtual object are shown in the pop-up window 3001. The virtual pets include virtual pet 3002, virtual pet 3003, virtual pet 3004, first virtual pet 3005, virtual pet 3006, and virtual pet 3007.
[0319] For each virtual pet, corresponding recommended information is displayed. In Figure 30 , for virtual pet 3002, the recommended information is "department compatibility", for virtual pet 3003, the recommended information is "increase skills", for virtual pet 3004, the recommended information is "increase attribute value", for the first virtual pet 3005, the recommended information is "high compatibility", for virtual pet 3006, the recommended information is "low compatibility", and for virtual pet 3007, the recommended information is "department incompatibility".
[0320] Furthermore, based on the recommendation information, in response to a selection instruction for the first virtual pet 3005, the first virtual item can be allocated to the first virtual pet 3005. In this way, recommendation information for recommending virtual pets suitable for the first virtual item can be displayed, which can increase the diversity of the content displayed on the display page. Moreover, the recommendation information can be used to assist the user in allocating the first virtual item to a more suitable virtual pet, which can improve the accuracy of allocating the first virtual item and enhance the user's gaming experience.
[0321] The method for the first virtual object to obtain the first virtual item will be described below. Before step 101 shown in Figure 3 in response to the virtual pet obtained by the first virtual object meeting the first acquisition condition, control the first virtual object to obtain the first virtual item, where the first virtual item corresponds to the first acquisition condition. Among them, the first acquisition condition includes at least one of the following: the number of virtual pets obtained by the first virtual object reaches the first quantity threshold, and the number of types of virtual pets obtained by the first virtual object reaches the second quantity threshold.
[0322] In some embodiments, there can be multiple first quantity thresholds. In response to the number of virtual pets obtained by the first virtual object reaching the first quantity threshold, control the first virtual object to obtain the first virtual item corresponding to the first quantity threshold, and the number of the first virtual items can be multiple.
[0323] For example, the first quantity threshold can include the first quantity threshold 1 and the first quantity threshold 2. In response to the number of virtual pets obtained by the first virtual object reaching the first quantity threshold 1, control the first virtual object to obtain the first virtual item 1 corresponding to the first quantity threshold 1. In response to the number of virtual pets obtained by the first virtual object reaching the first quantity threshold 2, control the first virtual object to obtain the first virtual item 2 corresponding to the first quantity threshold 2. In this way, the method for the first virtual object to obtain the first virtual item can be enriched, and the user's gaming experience can be improved.
[0324] In some embodiments, there can be multiple second quantity thresholds. In response to the number of types of virtual pets obtained by the first virtual object reaching the second quantity threshold, control the first virtual object to obtain the first virtual item corresponding to the second quantity threshold, and the number of the first virtual items can be multiple.
[0325] For example, the second quantity threshold may include a second quantity threshold 1 and a second quantity threshold 2. In response to the number of types of virtual pets obtained by the first virtual object reaching the second quantity threshold 1, the first virtual object may be controlled to obtain a first virtual item 3 corresponding to the second quantity threshold 1. In response to the number of types of virtual pets obtained by the first virtual object reaching the second quantity threshold 2, the first virtual object may be controlled to obtain a first virtual item 4 corresponding to the second quantity threshold 2. In this way, the manner in which the first virtual object obtains the first virtual item can be enriched, improving the user's gaming experience.
[0326] In some embodiments, in response to the number of virtual pets obtained by the first virtual object reaching a first quantity threshold and the number of types of virtual pets obtained by the first virtual object reaching a second quantity threshold, the first virtual object may be controlled to obtain a first virtual item corresponding to both the first quantity threshold and the second quantity threshold. Wherein, the number of the first quantity thresholds may be one or more, and the number of the second quantity thresholds may be one or more.
[0327] For example, the first quantity threshold may include a first quantity threshold 3, and the second quantity threshold may include a second quantity threshold 3 and a second quantity threshold 4. In response to the number of virtual pets obtained by the first virtual object reaching the first quantity threshold 3 and the number of types of virtual pets obtained by the first virtual object reaching the second quantity threshold 3, the first virtual object may be controlled to obtain a first virtual item 5 corresponding to the first quantity threshold 3 and the second quantity threshold 3. In response to the number of virtual pets obtained by the first virtual object reaching the first quantity threshold 3 and the number of types of virtual pets obtained by the first virtual object reaching the second quantity threshold 4, the first virtual object may be controlled to obtain a first virtual item 6 corresponding to the first quantity threshold 3 and the second quantity threshold 4. In this way, the manner in which the first virtual object obtains the first virtual item can be enriched, improving the user's gaming experience and solving technical problem 2.
[0328] In some embodiments, there are multiple virtual sub-scenes in the virtual scene, and the first virtual pet is obtained from a target virtual sub-scene among the multiple virtual sub-scenes. In response to one or more of the following being satisfied, it is determined that the virtual pet obtained by the first virtual object meets the first acquisition condition:
[0329] The number of virtual pets obtained by the first virtual object in the target virtual sub-scene reaches the first quantity threshold; the number of types of virtual pets obtained by the first virtual object in the target virtual sub-scene reaches the second quantity threshold.
[0330] In some embodiments, the virtual pets corresponding to different virtual sub-scenarios may overlap or may not overlap. For a virtual sub-scenario, the number of virtual pets may be one or more, and the types of virtual pets may be one or more. The first quantity thresholds corresponding to different virtual sub-scenarios may be the same or different, the second quantity thresholds corresponding to different virtual sub-scenarios may be the same or different, and the virtual items corresponding to different virtual sub-scenarios may be the same or different. Specifically, it can be set according to actual usage requirements.
[0331] In some embodiments, there may be multiple first quantity thresholds. In response to the number of virtual pets obtained by the first virtual object in the target virtual sub-scenario reaching the first quantity threshold, the first virtual object can be controlled to obtain the first virtual item corresponding to the first quantity threshold. The number of the first virtual items may be multiple, and the first virtual items have a corresponding relationship with the target virtual sub-scenario and the first quantity threshold.
[0332] In some embodiments, there may be multiple second quantity thresholds. In response to the number of types of virtual pets obtained by the first virtual object in the target virtual sub-scenario reaching the second quantity threshold, the first virtual object can be controlled to obtain the first virtual item corresponding to the second quantity threshold. The number of the first virtual items may be multiple, and the first virtual items have a corresponding relationship with the target virtual sub-scenario and the second quantity threshold.
[0333] In some embodiments, in response to the number of virtual pets obtained by the first virtual object in the target virtual sub-scenario reaching the first quantity threshold and the number of types of virtual pets obtained by the first virtual object in the target virtual sub-scenario reaching the second quantity threshold, the first virtual object can be controlled to obtain the first virtual item corresponding to both the first quantity threshold and the second quantity threshold. Among them, the number of the first quantity thresholds may be one or more, and the number of the second quantity thresholds may be one or more. The first virtual items have a corresponding relationship with the target virtual sub-scenario, the first quantity threshold, and the second quantity threshold.
[0334] The first virtual object can obtain the corresponding first virtual item according to one or more of different virtual sub-scenarios, different first quantity thresholds, and different second quantity thresholds. In this way, the way for the first virtual object to obtain the first virtual item can be enriched, and the user can be motivated to control the virtual object to obtain more virtual pets and to explore different virtual sub-scenarios, which can improve the user's gaming experience and solve Technical Problem 2.
[0335] In some embodiments, for a game, a virtual competition of virtual pets may be set up. In response to a virtual pet achieving a ranking in the virtual competition, the first virtual object may obtain a virtual item corresponding to the ranking in the virtual competition. In this way, the manner in which the first virtual object obtains the first virtual item can be enriched.
[0336] In some embodiments, the first virtual object may be controlled to allocate the virtual item to other virtual objects or virtual pets owned by other virtual objects. Correspondingly, the virtual items possessed by the first virtual pet may be allocated to other virtual objects. The following describes the manner in which the first virtual object allocates the virtual item to other virtual objects or virtual pets owned by other virtual objects.
[0337] In some embodiments, at least one third virtual item obtained by the first virtual object is displayed. The number of the third virtual items may be one or more. In response to a second allocation instruction for the third virtual item, at least one second virtual object is displayed. The second virtual object may be a virtual object whose distance from the position where the first virtual object is located is less than a third distance, a virtual object of a second account added as a friend to the first account corresponding to the first virtual object, a virtual object in the same team as the first virtual object, or a virtual object whose intimacy with the first virtual object is greater than the consistent intimacy. That is to say, there is an association relationship between the first virtual object and the second virtual object, which can be specifically set according to actual usage situations and will not be specifically limited herein.
[0338] In response to a selection instruction for a target second virtual object among at least one second virtual object, the third virtual item is allocated to the target second virtual object. In some embodiments, a fifth identifier of at least one second virtual object may be displayed. In response to a selection instruction for a target fifth identifier among at least one fifth identifier, the third virtual item is allocated to the target second virtual object indicated by the target fifth identifier. The fifth identifier may be one or more of the name of the second virtual object, the second account corresponding to the second virtual object, and the avatar of the second virtual object, which can be specifically set according to actual usage requirements.
[0339] In the method for using virtual items provided in the embodiments of the present application, the third virtual item of the first virtual object can be allocated to the target second virtual object, thereby enriching the manner of allocating the second virtual item. For the target second virtual object, the allocated third virtual item can be obtained, which is equivalent to enriching the manner in which virtual objects obtain virtual items, improving the user's gaming experience, and solving technical problem 2.
[0340] In some embodiments, in response to a selection instruction for a target second virtual object among at least one second virtual object, a second virtual pet owned by the target second virtual object may be displayed. The number of second virtual pets may be one or more. In response to a selection instruction for the second virtual pet, a third virtual item is allocated to the second virtual pet of the target second virtual object.
[0341] In some embodiments, for the case of displaying the second virtual pet owned by the target second virtual object, recommendation information may also be displayed. Furthermore, based on the recommendation information and the display of the second virtual pet owned by the target second virtual object, in response to a selection instruction for the second virtual pet, a third virtual item is allocated to the second virtual pet of the target second virtual object, thereby improving the accuracy of allocating virtual items.
[0342] In the method for using virtual items provided by the embodiments of the present application, it is possible to allocate a third virtual item to a virtual pet owned by another virtual object, thereby enriching the manner of allocating the second virtual item. For the second virtual pet of the target second virtual object, it is possible to obtain virtual items allocated by other virtual objects, which is equivalent to being able to enrich the way for virtual pets to obtain virtual items, improving the user's gaming experience, and solving Technical Problem 2.
[0343] In some embodiments, when a first virtual object obtains a virtual item, a fifth prompt message may be displayed, and the fifth prompt message is used to indicate that the first virtual object has obtained a virtual item. When the first virtual object allocates the virtual item to another virtual object or virtual pet, a sixth prompt message may be displayed, and the sixth prompt message is used to indicate that the virtual item has been allocated. The display methods of the fifth prompt message and the sixth prompt message may refer to the description of other prompt messages and be equivalently replaced, which will not be elaborated here. In this way, the diversity of the content displayed on the display page can be improved, and the user can intuitively obtain the corresponding information, improving the user's gaming experience.
[0344] In some embodiments, before Figure 3 step 101 shown, in response to a fourth control instruction for a first virtual pet, control the first virtual pet to perform the operation indicated by the fourth control instruction. Based on the operation performed by the first virtual pet as indicated by the fourth control instruction, when the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item, and display a third prompt message, which is used to prompt that the first virtual pet already has the first virtual item.
[0345] In some embodiments, there can be three types of conditional acquisition methods for obtaining virtual items. The conditional acquisition methods include a conditional acquisition method for the attributes of a virtual pet, a conditional acquisition method for the growth of a virtual pet, and a conditional acquisition method for the interaction of a virtual pet.
[0346] For the conditional acquisition method for the attributes of a virtual pet, the fourth control instruction can be an instruction for increasing the attribute value of the first virtual pet. The operations indicated by the fourth control instruction executed by the first virtual pet can be one or more of eating virtual food, interacting with a virtual object or other virtual pets, and learning skills. In response to the attribute value of the first virtual pet reaching a preset attribute value, it is determined that the second acquisition condition of the first virtual item is satisfied. When the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item, and display a third prompt message, which is used to prompt that the first virtual pet already has the first virtual item. Among them, the third prompt message can be displayed on the display page in the form of a pop-up window or a floating layer, and the third prompt message can be one or more of text information, image information, and video information.
[0347] For the conditional acquisition method for the growth of a virtual pet, the fourth control instruction can be an instruction for increasing the level of the first virtual pet. The operations indicated by the fourth control instruction executed by the first virtual pet can be one or more of eating virtual food, interacting with a virtual object or other virtual pets, and learning skills. In response to the level of the first virtual pet reaching a preset level, it is determined that the second acquisition condition of the first virtual item is satisfied. When the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item, and display a third prompt message, which is used to prompt that the first virtual pet already has the first virtual item.
[0348] For the conditional acquisition method for the growth of a virtual pet, in response to the first virtual object obtaining a virtual pet, when the level of the natural talent of the virtual pet is greater than the level threshold, it is determined that the second acquisition condition of the first virtual item is satisfied. When the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item, and display a third prompt message, which is used to prompt that the first virtual pet already has the first virtual item.
[0349] For the conditional acquisition method for the growth of a virtual pet, in response to the first virtual object obtaining a virtual pet, when all the individual values corresponding to the natural talent of the virtual pet are greater than the second numerical threshold, it is determined that the second acquisition condition of the first virtual item is satisfied. When the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item, and display a third prompt message, which is used to prompt that the first virtual pet already has the first virtual item.
[0350] Regarding the way to obtain the conditions for the growth of a virtual pet, the fourth control instruction can be an instruction for increasing the number of skills learned by the first virtual pet. The operation indicated by the fourth control instruction executed by the first virtual pet can be an operation of learning different skills. In response to the number of skills learned by the first virtual pet reaching the third quantity threshold, it is determined that the second acquisition condition of the first virtual item is satisfied. When the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item and display a third prompt message, where the third prompt message is used to prompt that the first virtual pet already has the first virtual item.
[0351] Regarding the way to obtain the conditions for virtual pet interaction, the fourth control instruction can be an instruction for controlling the first virtual pet to interact with a virtual object or another virtual pet, or it can be an instruction for controlling the first virtual pet to release a skill. The operation indicated by the fourth control instruction executed by the first virtual pet is an operation of releasing a skill. In response to the number of times the first virtual pet releases a skill reaching the second number threshold, it is determined that the second acquisition condition of the first virtual item is satisfied. When the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item and display a third prompt message, where the third prompt message is used to prompt that the first virtual pet already has the first virtual item.
[0352] When the number of times the first virtual pet wins in the interaction process is greater than the third number threshold, it is determined that the second acquisition condition of the first virtual item is satisfied. When the second acquisition condition of the first virtual item is satisfied, control the first virtual pet to obtain the first virtual item and display a third prompt message, where the third prompt message is used to prompt that the first virtual pet already has the first virtual item.
[0353] In some embodiments, for the same virtual item, the same acquisition method or different acquisition methods can be used to obtain it multiple times. When displaying the information of the virtual item, the acquisition times of the virtual item can be displayed, and there are corresponding number identifiers for different acquisition times. For the same condition acquisition method, if the first virtual pet belongs to different departments, the obtained virtual items are different, which can be specifically set according to actual usage requirements. In the method for using virtual items provided by the embodiments of the present application, virtual items can be obtained through different condition acquisition methods, enriching the acquisition methods of virtual items, improving the user's gaming experience, and being able to solve Technical Problem 2.
[0354] In order to facilitate understanding of the method for using the virtual props provided in the embodiment of the present application, the method for using the virtual props provided in the embodiment of the present application is described in detail below with reference to specific examples. In some embodiments, at least one virtual prop possessed by the first virtual pet may be displayed, wherein the virtual prop may be a virtual medal. The method for displaying the virtual props may refer to the method for displaying the virtual props in the embodiment of the present application. Figure 3 The description of step 101 is not repeated here.
[0355] In the method for using virtual props provided in the embodiment of the present application, a virtual pet may be referred to as a spirit, a virtual pet is a creature that a virtual object can capture as a pet, intimacy is an indicator for measuring the relationship between a virtual object and a virtual pet, a virtual container may be a spirit ball, a population is a virtual pet of the same type that is active in a virtual sub-scene, and an individual value is a set of values used to determine the ability of a virtual pet. The more individual values and the higher the values, the stronger the ability of the virtual pet. When a virtual object captures a virtual pet, the number of individual values and the values of the spirit are randomly generated. Talent is an indicator for measuring the ability of a virtual pet. The more individual values, the higher the talent rating. Skill stones are a virtual prop that enables spirits to learn specified skills. Illustrations: books that record virtual pets that a virtual object has newly encountered / captured. Release: cancel the master-pet relationship with a virtual pet and obtain virtual props. Release: virtual objects obtain virtual resources provided by game planners after completing different tasks / activities in the game. Breeding: select individuals (virtual pets) with excellent attribute values and release individuals (virtual pets) with poor attribute values to obtain resources for cultivating virtual pets. Evolution: When a virtual pet meets certain conditions, it changes to another form. Evolution chain: All the forms that exist when a virtual pet evolves are an evolution chain. Branch evolution: The same virtual pet can become two different forms of virtual pets due to different evolution conditions.
[0356] For one or more virtual props displayed, in response to a selection operation on any one of the virtual props, information of the virtual prop corresponding to the selection operation may be displayed. The information of the virtual prop can refer to the description of the information of the first virtual prop, which is not described here. For example, the information of the virtual prop may include the acquisition method of the virtual prop, the acquisition time of the virtual prop, and the identification information displayed by the application of the virtual prop, and the identification information may be text (i.e., a title).
[0357] The following describes methods for acquiring virtual props. In some embodiments, the acquisition methods may include conditional acquisition methods and gift acquisition methods. The conditional acquisition method is that the virtual pet acquires virtual props when specified conditions are met. There may be three types of conditional acquisition methods, including conditional acquisition methods for the attributes of the virtual pet, conditional acquisition methods for the growth of the virtual pet, and conditional acquisition methods for the interaction of the virtual pet.
[0358] For example, the conditional acquisition method for the attributes of a virtual pet can be to obtain a corresponding virtual item when the attribute value of the virtual pet reaches a preset attribute value. For example, when the value corresponding to the virtual size of the virtual pet reaches the first numerical threshold, a virtual item named "Big Guy" can be obtained. Refer to Figure 31 , Figure 31 which is a schematic diagram of the interface provided by the embodiment of the present application Figure 2 Seventeen, Figure 31 shows the virtual item named "Big Guy" shown in
[0359] For another example, when the talent of the virtual pet is advanced and the values of the individual values all reach the second numerical threshold, a virtual item named "Flawless" can be obtained. Refer to Figure 32 , Figure 32 which is a schematic diagram of the interface provided by the embodiment of the present application Figure 2 Eighteen, Figure 32 shows the virtual item named "Flawless" shown in
[0360] For example, for the conditional acquisition method for the growth of a virtual pet, it can be to obtain a corresponding virtual item when the level of the virtual pet reaches a preset level, or it can be to obtain a corresponding virtual item when the number of skills learned by the virtual pet reaches a quantity threshold (i.e., the third quantity threshold).
[0361] For example, after the virtual pet learns 10 skills through skill stones (virtual items for learning skills), a virtual item named "Never Stop Learning" can be obtained. Refer to Figure 33 , Figure 33 which is a schematic diagram of the interface provided by the embodiment of the present application Figure 2 Nineteen, Figure 33 shows the virtual item named "Never Stop Learning" shown in
[0362] For example, for the conditional acquisition method for virtual pet interaction, the interaction can be between the virtual pet and a virtual object, or it can be between the virtual pet and other virtual pets. For example, when the virtual pet can defeat 3 other virtual pets in an interaction process, a virtual item named "One Against Many" can be obtained. Refer to Figure 34 , Figure 34 which is a schematic diagram of the interface provided by the embodiment of the present application Figure 3 Ten, Figure 34The virtual item named "One vs. Many" is shown, and the acquisition times 3401 corresponding to the virtual item named "One vs. Many" are displayed.
[0363] The way to obtain a gift is that after a virtual object obtains a virtual item, the virtual item obtained by the virtual object can be distributed as a virtual gift to a virtual pet. The way for a virtual object to obtain a virtual item can be that the virtual object obtains the virtual item when a specified condition is met.
[0364] In some embodiments, for the virtual item obtained by a virtual object, in response to an allocation instruction for the virtual item, the virtual item is allocated to a virtual pet so that the first virtual pet has the virtual item. In some embodiments, in response to an allocation instruction for the virtual item, the virtual pets owned by the virtual object are displayed, and in response to a selection instruction for a virtual pet, the first virtual item is allocated to the virtual pet corresponding to the selection instruction.
[0365] The following describes the way to apply a virtual item to a virtual pet. In the method for using a virtual item provided in the application embodiments, the virtual item can include a proprietary virtual item and a shared virtual item. The proprietary virtual item can only be applied to a single virtual pet, and the shared virtual item can be applied to multiple virtual pets in a pet chain.
[0366] In this application, applying a virtual item to a virtual pet can be referred to as a virtual pet wearing the virtual item. For the virtual item, a wearing control (corresponding to the item application control) can be displayed, and in response to a trigger operation for the wearing control, the virtual item can be controlled to be applied to the virtual pet.
[0367] In the method for using a virtual item provided in the embodiments of this application, for the same virtual item, the virtual item can be obtained repeatedly. For the virtual item, the acquisition times of the virtual item can be displayed. For the same virtual item, with different acquisition times, the display special effects are different. In some embodiments, when the information of the virtual item is displayed, the acquisition times of the virtual item can be displayed. For example, see Figure 35 , Figure 35 is a schematic diagram of the interface provided by the embodiments of this application Figure 3 Eleventh, when the acquisition times of the virtual item are 5, information indicating that the achievement times (i.e., acquisition times) are 5 can be displayed on the display page 3501. The information indicating the acquisition times corresponding to different acquisition times is different, and can be specifically set according to actual usage requirements.
[0368] For a shared virtual item, when the shared virtual item has been applied to a third virtual object, a replacement control (corresponding to the item replacement control) can be displayed. In response to a trigger operation for the replacement control, the third virtual object to which the shared virtual item has been applied can be replaced with a first virtual object.
[0369] For proprietary virtual items, each proprietary virtual item has a proprietary virtual item identifier, and the virtual pet has a virtual pet identifier that can identify the uniqueness of the virtual pet. See Figure 36 , Figure 36 which is a flowchart showing the method for using virtual items provided by the embodiments of the present application. Figure 2 In step 3601, in response to the condition for obtaining a proprietary virtual item being satisfied, it is determined whether the virtual pet has obtained the proprietary virtual item.
[0370] For step 3601, it can be determined whether the virtual pet has obtained the proprietary virtual item in response to at least one of the first acquisition condition and the second acquisition condition being satisfied. In the case of obtaining a proprietary virtual medal, that is, in the case of yes, step 3602 is executed; in the case of not obtaining a proprietary virtual medal, that is, in the case of no, step 3603 is executed.
[0371] In step 3602, the acquisition count of the proprietary virtual item is incremented by 1. In step 3603, the virtual pet is controlled to obtain the proprietary virtual item. For step 3603, the pair of the proprietary virtual item identifier and the virtual pet identifier can be stored correspondingly, the virtual pet is controlled to obtain the proprietary virtual item, and a prompt message indicating that the proprietary virtual item has been obtained is displayed. In this way, it is possible to implement the virtual pet obtaining the virtual item or determining the number of times the virtual pet has obtained the virtual item.
[0372] For common virtual items, each common virtual item has a common virtual item identifier, the virtual pet has a virtual pet identifier that can identify the uniqueness of the virtual pet, the virtual pet has a corresponding pet chain, and the pet chain has a pet chain identifier that can identify the uniqueness of the pet chain. There is a corresponding relationship between the pet chain identifier and the virtual pet identifier.
[0373] See Figure 37 , Figure 37 which is a flowchart showing the method for using virtual items provided by the embodiments of the present application. Figure 3 In step 3701, in response to the condition for obtaining a common virtual item being satisfied, it is determined whether there is a virtual pet in the pet chain that has obtained the common virtual item.
[0374] Regarding step 3701, the corresponding relationship between the virtual item identifier and the virtual pet identifier is pre-stored. Based on the virtual item identifier, it can be determined whether there is a corresponding virtual pet identifier. If there is, it can be determined whether the virtual pet identifier belongs to the pet chain identifier. If it belongs, that is, in the case of "yes", step 3702 is executed. If there is no virtual pet identifier corresponding to the virtual item identifier, or if the virtual pet identifier does not belong to the pet chain identifier, that is, in the case of "no", step 3703 can be executed.
[0375] In step 3702, the acquisition times of the shared virtual item are incremented by 1. In step 3703, the virtual pet in the pet chain is controlled to obtain the shared virtual item. In some embodiments, based on the virtual pet identifier and the corresponding relationship between the pet chain identifier and the virtual pet identifier, the pet chain identifier can be determined, and it can be judged whether there is a virtual pet in the pet chain that has obtained the shared virtual item. If there is a virtual pet that has obtained the shared virtual item, the acquisition times of the shared virtual item can be incremented by 1. If there is no virtual pet that has obtained the shared virtual item, the shared virtual item identifier can be stored corresponding to the pet chain identifier, and the shared virtual item identifier can be stored corresponding to the virtual pet identifier. The virtual pet in the pet chain is controlled to obtain the shared virtual item, and a prompt message indicating that the shared virtual item has been obtained is displayed.
[0376] In the method for using virtual items provided in the embodiments of the present application, the virtual items can be divided into different categories. The virtual items belonging to the first category can only change the title of the virtual pet, and the virtual items belonging to the second category can, on the basis of changing the title of the virtual pet, change the display special effects of the virtual pet.
[0377] In some embodiments, for the method of allocating virtual items to virtual objects, it can be displayed that the virtual object has multiple virtual pets (the virtual pet of the first virtual object or the second virtual pet of the second virtual object). For each virtual pet, it can be judged whether there is a virtual item for the virtual pet. If there is, the virtual pet or the identifier of the virtual pet may not be displayed. If there is no virtual item, the virtual pet or the identifier of the virtual pet can be displayed. In this way, the accuracy of allocating virtual items can be further improved.
[0378] For the method of allocating virtual items to virtual objects, the second virtual object can be displayed. For each virtual object, it can be judged whether there is a virtual item for the virtual object. If there is, the virtual object or the identifier of the virtual object may not be displayed. If there is no virtual item, the virtual object or the identifier of the virtual object can be displayed. In this way, the accuracy of allocating virtual items can be further improved.
[0379] In some embodiments, there are many elements involved in presenting special effects and a large number of skill editors are involved. As the number of virtual items increases, configuring the presentation special effects one by one will result in an increase in maintenance costs. In some embodiments, the skill editors can be extracted and the extracted skill editors can be configured in a separate special effect file. When it is necessary to display the presentation special effects, the corresponding skill editors can be extracted from the special effect file, so as to display the corresponding presentation special effects, thereby enabling the reuse of the special effect file. Among them, the skill editor is an editor in the Unreal Engine used to adjust character animations, special effects, and other content.
[0380] In some embodiments, when it is necessary to display the presentation special effects, the server can obtain the name of the presentation special effects corresponding to the virtual item. Based on the name of the presentation special effects, search for the corresponding presentation special effects in the special effect file. If there is no presentation special effects corresponding to the name of the presentation special effects, the pre-set presentation special effects can be displayed. If there is a presentation special effects corresponding to the name of the presentation special effects, then display the presentation special effects corresponding to the name of the presentation special effects.
[0381] The method for using a virtual item provided by the embodiments of the present application enriches the way to obtain virtual items, makes the virtual items more compatible with the resource placement method of the long-term operation game. The virtual item can increase the presentation special effects of the virtual pet, thereby improving the diversity and richness of the displayed virtual pet, and improving the user's gaming experience. That is to say, the method for using a virtual item provided by the embodiments of the present application enriches the way to obtain virtual items, enriches the applicable scope of virtual items and the rules applied to virtual pets, allows repeated acquisition of virtual items, and can increase the presentation special effects for virtual pets.
[0382] Next, continue to describe the exemplary structure of the software module implementation of the virtual item usage device 455 provided by the embodiments of the present application. In some embodiments, as Figure 2 shown, the software module stored in the virtual item usage device 455 in the memory 450 may include:
[0383] A display module 4551, configured to display at least one virtual item possessed by the first virtual pet, where the virtual item is used to increase the presentation special effects of the first virtual pet, and the presentation special effects corresponding to different virtual items are different;
[0384] A response module 4552, configured to control the first virtual item to be applied to the first virtual pet in response to a usage instruction for the first virtual item among the at least one virtual item;
[0385] The display module 4551 is further configured to display a virtual scene, and when the first virtual pet appears in the virtual scene, during the appearance process of the first virtual pet, display a first performance special effect corresponding to the first virtual item.
[0386] In some embodiments, the display module 4551 is further configured to implement at least one of the following: during the appearance process of the first virtual pet, display a first performance special effect corresponding to the acquisition times of the first virtual item, where the performance special effects corresponding to different acquisition times are different;
[0387] During the appearance process of the first virtual pet, display a first performance special effect corresponding to the level of the first virtual item, where the performance special effects corresponding to different levels are different;
[0388] During the appearance process of the first virtual pet, display a first performance special effect corresponding to the acquisition method of the first virtual item, where the performance special effects corresponding to different acquisition methods are different.
[0389] In some embodiments, the response module 4552 is further configured to, after the first virtual pet appears in the virtual scene, in response to a first control instruction for the first virtual pet, control the first virtual pet to perform an operation indicated by the first control instruction in the virtual scene; during the process of the first virtual pet performing the operation, if the operation is a preset operation, display a second performance special effect corresponding to the first virtual item.
[0390] In some embodiments, the display module 4551 is further configured to, during the process of the first virtual pet performing the operation, if the operation is not the preset operation, display a first prompt message, where the first prompt message is used to prompt the reason for not displaying the second performance special effect.
[0391] In some embodiments, the response module 4552 is further configured to, after displaying at least one virtual item possessed by the first virtual pet, in response to a selection operation for the first virtual item among the at least one virtual item, display information about the first virtual item; the information about the first virtual item includes one or more of the acquisition information of the first virtual item, the information about the performance special effect corresponding to the first virtual item, and the information about the virtual pet that acquired the first virtual item; based on the information about the first virtual item, in response to a use instruction for the first virtual item among the at least one virtual item, control the first virtual item to be applied to the first virtual pet.
[0392] In some embodiments, the display module 4551 is further configured to display at least one virtual item that the first virtual pet has in the configuration page of the virtual items of the first virtual pet;
[0393] The response module 4552 is further configured to, in response to a selection operation on a first virtual item among the at least one virtual item, when the first virtual pet has not applied the virtual item, display an item application control in the configuration page; and in response to a trigger operation on the item application control, trigger a use instruction for the first virtual item.
[0394] In some embodiments, the response module 4552 is further configured to, in response to a selection operation on a first virtual item among the at least one virtual item, if the first virtual pet has applied a second virtual item among the at least one virtual item, display an item replacement control for virtual item replacement; in response to a trigger operation on the item replacement control, trigger a use instruction for the first virtual item; and control the virtual item applied by the first virtual pet to be switched from the second virtual item to the first virtual item.
[0395] In some embodiments, the display module 4551 is further configured to, if the first virtual pet has applied a second virtual item among the at least one virtual item, display a plurality of virtual items that the first virtual pet has in the configuration page of the virtual items of the first virtual pet; wherein, the plurality of virtual items include the first virtual item and the second virtual item, the second virtual item has a first display style, and the first virtual item has a second display style; the first display style is used to indicate that the second virtual item is the virtual item currently applied by the first virtual pet; and the second display style is used to indicate that the first virtual item is an unapplied virtual item;
[0396] The response module 4552 is further configured to, in response to a use instruction for the first virtual item, interchange the display styles of the first virtual item and the second virtual item, so as to display the second virtual item in the second display style and display the first virtual item in the first display style.
[0397] In some embodiments, the first virtual pet belongs to a first virtual object, and the first virtual item is obtained by the first virtual object; the display module 4551 is further configured to display the first virtual item obtained by the first virtual object before displaying at least one virtual item that the first virtual pet has;
[0398] The response module 4552 is further configured to, in response to a first allocation instruction for the first virtual item, allocate the first virtual item to the first virtual pet, so that the first virtual pet has the first virtual item.
[0399] In some embodiments, the response module 4552 is further configured to, in response to a first allocation instruction for the first virtual item, display the virtual pets owned by the first virtual object, where the virtual pets owned by the first virtual object include the first virtual pet; and in response to a selection instruction for the first virtual pet, allocate the first virtual item to the first virtual pet.
[0400] In some embodiments, the response module 4552 is further configured to, in response to a first allocation instruction for the first virtual item, display recommendation information for recommending virtual pets suitable for the first virtual item; and based on the recommendation information, in response to a selection instruction for the first virtual pet, allocate the first virtual item to the first virtual pet.
[0401] In some embodiments, before the response module 4552 displays the first virtual item obtained by the first virtual object, in response to the virtual pet obtained by the first virtual object satisfying a first acquisition condition, the response module 4552 controls the first virtual object to obtain the first virtual item, where the first virtual item corresponds to the first acquisition condition; wherein, the first acquisition condition includes at least one of the following: the number of virtual pets obtained by the first virtual object reaches a first quantity threshold, and the type of virtual pets obtained by the first virtual object reaches a second quantity threshold.
[0402] In some embodiments, there are multiple virtual sub-scenes in the virtual scene, and the first virtual pet is obtained from a target virtual sub-scene among the multiple virtual sub-scenes; before the response module 4552 controls the first virtual object to obtain the first virtual item, in response to one or more of the following being satisfied, the response module 4552 determines that the virtual pet obtained by the first virtual object satisfies the first acquisition condition: the number of virtual pets obtained by the first virtual object in the target virtual sub-scene reaches a first quantity threshold; the type of virtual pets obtained by the first virtual object in the target virtual sub-scene reaches a second quantity threshold.
[0403] In some embodiments, the display module 4551 is further configured to display at least one third virtual item obtained by the first virtual object.
[0404] The response module 4552 is further configured to display at least one second virtual object in response to a second allocation instruction of the third virtual item; and allocate the third virtual item to the target second virtual object in response to a selection instruction for the target second virtual object among the at least one second virtual object.
[0405] In some embodiments, the response module 4552 is further configured to display a second virtual pet owned by the target second virtual object in response to a selection instruction for the target second virtual object among the at least one second virtual object; and allocate the third virtual item to the second virtual pet of the target second virtual object in response to a selection instruction for the second virtual pet.
[0406] In some embodiments, the first virtual pet belongs to a first virtual object, and the first virtual object also has a third virtual pet; the number of the virtual items is multiple, and the multiple virtual items include an exclusive virtual item of the first virtual pet and a shared virtual item shared by the first virtual pet and the third virtual pet, and the first virtual pet and the third virtual pet belong to the same pet chain;
[0407] The display module 4551 is further configured to display the exclusive virtual item of the first virtual pet and the shared virtual item of the first virtual pet.
[0408] In some embodiments, the response module 4552 is further configured to display a second prompt message in response to a use instruction for the first virtual item, if the first virtual item is the shared virtual item and the first virtual item has been applied to the third virtual pet; wherein, the second prompt message is used to prompt to replace the virtual pet to which the first virtual item has been applied from the third virtual pet with the first virtual pet; and replace the virtual pet to which the first virtual item has been applied from the third virtual pet with the first virtual pet in response to a confirmation instruction for the second prompt message.
[0409] In some embodiments, the display module 4551 is further configured to display a fourth prompt message in an associated display area of the shared virtual item when the shared virtual item has been applied to the third virtual pet, and the fourth prompt message is used to prompt that the shared virtual item has been applied to the third virtual pet.
[0410] In some embodiments, the response module 4552 is further configured to, in response to a usage instruction for the first virtual item, if the first virtual item is the proprietary virtual item, control the first virtual item to be applied to the first virtual pet and display the proprietary special effect of the proprietary virtual item; wherein, the proprietary special effect is used to characterize that the first virtual item is proprietary to the first virtual pet.
[0411] In some embodiments, the first virtual pet belongs to a first virtual object, and the first virtual pet is in a virtual container; the response module 4552 is further configured to, after displaying a virtual scene, in response to a second control instruction for the first virtual object, control the first virtual object to throw the virtual container into the virtual scene; in response to the virtual container being thrown into the virtual scene, control the first virtual pet in the virtual container to appear in the virtual scene.
[0412] In some embodiments, the virtual scene includes a first virtual scene, and the first virtual scene is used for the first virtual pet to battle with the virtual pet of a second virtual object; the response module 4552 is further configured to, in response to the virtual container being thrown into the first virtual scene, control the first virtual pet in the virtual container to appear in the first virtual scene;
[0413] The display module 4551 is further configured to, during the process of the first virtual pet appearing in the first virtual scene, display the first performance special effect corresponding to the first virtual item;
[0414] The response module 4552 is further configured to, in response to a third control instruction for the first virtual pet, control the first virtual pet to battle with the virtual pet of the second virtual object;
[0415] In response to the first virtual pet defeating the virtual pet of the second virtual object, display the third performance special effect corresponding to the first virtual item.
[0416] In some embodiments, the virtual scene includes a second virtual scene, and the second virtual scene is used for the first virtual object and the first virtual pet to carry out activities;
[0417] The response module 4552 is further configured to, in response to the virtual container being thrown onto the virtual ground of the second virtual scene, control the first virtual pet in the virtual container to appear in the second virtual scene;
[0418] The display module 4551 is further configured to, during the process of the first virtual pet appearing in the second virtual scene, display the first performance special effect corresponding to the first virtual item;
[0419] The response module 4552 is further configured to, in response to a movement instruction for the first virtual object, control the first virtual object to move in the second virtual scene, and control the first virtual pet to follow the first virtual object to move.
[0420] In some embodiments, before the response module 4552 displays at least one virtual item that the first virtual pet has, in response to a fourth control instruction for the first virtual pet, the response module 4552 controls the first virtual pet to perform an operation indicated by the fourth control instruction; based on the operation indicated by the fourth control instruction performed by the first virtual pet, when a second acquisition condition of the first virtual item is satisfied, the response module 4552 controls the first virtual pet to acquire the first virtual item;
[0421] The display module 4551 is further configured to display a third prompt message for prompting that the first virtual pet already has the first virtual item.
[0422] In some embodiments, the display module 4551 is further configured to, in response to an information viewing instruction triggered for the first virtual pet, display an information display page of the first virtual pet, and display a viewing control for the virtual item on the information display page;
[0423] In response to a trigger operation for the viewing control, display at least one virtual item that the first virtual pet has.
[0424] In some embodiments, the first virtual item has corresponding identification information; the display module 4551 is further configured to, during the appearance of the first virtual pet, display the name of the first virtual pet, and in an associated display area where the name is displayed, display the identification information corresponding to the first virtual item, and the identification information is used to identify the name.
[0425] An embodiment of the present application provides a computer program product, which includes a computer program or computer executable instructions, and the computer program or computer executable instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer executable instructions from the computer-readable storage medium, and the processor executes the computer executable instructions, so that the electronic device executes the method for using a virtual item in the embodiments of the present application as described above.
[0426] An embodiment of the present application provides a computer-readable storage medium, in which computer executable instructions or a computer program are stored. When the computer executable instructions or the computer program are executed by a processor, it will cause the processor to execute the method for using a virtual item provided by the embodiments of the present application, for example, Figure 3 the method for using a virtual item shown.
[0427] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disc, or CD-ROM; it may also be various devices including one or any combination of the above memories.
[0428] In some embodiments, the 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 being deployed as a stand-alone program or being deployed as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0429] As an example, the computer-executable instructions may or may not correspond to a file in the file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, stored in a single file dedicated to the program under discussion, or, stored in multiple cooperating files (for example, files that store one or more modules, subroutines, or portions of code).
[0430] As an example, the computer-executable instructions may be deployed to execute on one electronic device, or on multiple electronic devices located at one location, or, on multiple electronic devices distributed at multiple locations and interconnected by a communication network.
[0431] As described above, the above are only embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are all included in the protection scope of the present application.
Claims
1. A method for using a virtual item, characterized in that: The method comprises: Displaying at least one virtual prop of the first virtual pet, wherein the virtual prop is used to increase the performance effect of the first virtual pet, and different virtual props correspond to different performance effects; In response to a use instruction for a first virtual prop among the at least one virtual prop, controlling the first virtual prop to be applied to the first virtual pet; The virtual scene is displayed, and when the first virtual pet appears in the virtual scene, during the appearance of the first virtual pet, a first performance effect corresponding to the first virtual prop is displayed.
2. The method according to claim 1, characterized in that: The displaying of the first special effect corresponding to the first virtual prop during the appearance of the first virtual pet includes at least one of the following: During the appearance of the first virtual pet, a first performance effect corresponding to the number of acquisitions of the first virtual item is displayed, wherein different performance effects correspond to different acquisitions; During the appearance of the first virtual pet, a first performance effect corresponding to the level of the first virtual item is displayed, wherein different levels correspond to different performance effects; During the appearance of the first virtual pet, a first performance effect corresponding to the method for obtaining the first virtual prop is displayed, wherein different performance effects correspond to different methods for obtaining the first virtual prop.
3. The method according to claim 1, characterized in that After the first virtual pet appears in the virtual scene, the method further includes: In response to a first control instruction for the first virtual pet, controlling the first virtual pet to perform an operation indicated by the first control instruction in the virtual scene; During the process of the first virtual pet performing the operation, if the operation is a preset operation, a second performance effect corresponding to the first virtual prop is displayed.
4. The method according to claim 3, characterized in that: The method further comprises: During the process of the first virtual pet performing the operation, if the operation is not the preset operation, a first prompt message is displayed, and the first prompt message is used to prompt the reason why the second performance special effect is not displayed.
5. The method according to claim 1, characterized in that: After displaying at least one virtual prop of the first virtual pet, the method further includes: In response to a selection operation on the first virtual prop among the at least one virtual prop, displaying information of the first virtual prop; The information of the first virtual prop includes one or more of: acquisition information of the first virtual prop, information of a performance special effect corresponding to the first virtual prop, and information of a virtual pet for acquiring the first virtual prop; In response to the instruction to use a first virtual prop among the at least one virtual prop, controlling the first virtual prop to be applied to the first virtual pet comprises: Based on the information of the first virtual prop, in response to a use instruction for a first virtual prop among the at least one virtual prop, the first virtual prop is controlled to be applied to the first virtual pet.
6. The method according to claim 1, characterized in that The displaying of at least one virtual prop of the first virtual pet includes: In a configuration page of virtual props of the first virtual pet, displaying at least one virtual prop possessed by the first virtual pet; After displaying at least one virtual prop of the first virtual pet, the method further includes: In response to a selection operation on a first virtual prop among the at least one virtual prop, when the first virtual pet does not apply the virtual prop, displaying a prop application control in the configuration page; In response to a trigger operation on the item application control, a use instruction for the first virtual item is triggered.
7. The method according to claim 6, characterized in that The method further comprises: In response to a selection operation on a first virtual prop among the at least one virtual prop, if the first virtual pet is applied with a second virtual prop among the at least one virtual prop, displaying a prop replacement control for performing virtual prop replacement; In response to a trigger operation on the item replacement control, triggering a use instruction for the first virtual item; The controlling the first virtual prop to be applied to the first virtual pet includes: The virtual props controlling the first virtual pet application are switched from the second virtual props to the first virtual props.
8. The method according to claim 7, characterized in that The displaying of at least one virtual prop of the first virtual pet on the configuration page of the virtual prop of the first virtual pet includes: If the first virtual pet has a second virtual prop among the at least one virtual prop, displaying the plurality of virtual props possessed by the first virtual pet in a configuration page of the virtual props of the first virtual pet; The plurality of virtual props include the first virtual prop and the second virtual prop, the second virtual prop has a first display style, and the first virtual prop has a second display style; the first display style is used to indicate that the second virtual prop is a virtual prop currently used by the first virtual pet; the second display style is used to indicate that the first virtual prop is an unused virtual prop; The method further comprises: In response to the use instruction for the first virtual item, the display styles of the first virtual item and the second virtual item are interchanged, so that the second virtual item is displayed in the second display style, and the first virtual item is displayed in the first display style.
9. The method according to any one of claims 1 to 8, characterized in that: The first virtual pet belongs to a first virtual object, and the first virtual prop is obtained by the first virtual object; Before displaying at least one virtual prop of the first virtual pet, the method further includes: displaying the first virtual prop acquired by the first virtual object; In response to a first allocation instruction for the first virtual item, the first virtual item is allocated to the first virtual pet so that the first virtual pet has the first virtual item.
10. The method according to claim 9, characterized in that In response to a first allocation instruction for the first virtual item, allocating the first virtual item to the first virtual pet comprises: In response to a first allocation instruction for the first virtual prop, displaying virtual pets owned by the first virtual object, the virtual pets owned by the first virtual object including the first virtual pet; In response to a selection instruction for the first virtual pet, the first virtual item is assigned to the first virtual pet.
11. The method according to claim 10, characterized in that The method further comprises: In response to a first allocation instruction for the first virtual item, displaying recommendation information, the recommendation information being used to recommend a virtual pet that matches the first virtual item; In response to the selection instruction for the first virtual pet, allocating the first virtual prop to the first virtual pet comprises: Based on the recommendation information, in response to a selection instruction for the first virtual pet, the first virtual item is allocated to the first virtual pet.
12. The method according to claim 9, characterized in that Before displaying the first virtual prop acquired by the first virtual object, the method further includes: In response to the virtual pet acquired by the first virtual object satisfying a first acquisition condition, controlling the first virtual object to acquire the first virtual prop, the first virtual prop corresponding to the first acquisition condition; The first acquisition condition includes at least one of the following: the number of virtual pets acquired by the first virtual object reaches a first quantity threshold, and the type of virtual pets acquired by the first virtual object reaches a second quantity threshold.
13. The method according to claim 12, characterized in that There are multiple virtual sub-scenes in the virtual scene, and the first virtual pet is obtained from a target virtual sub-scene in the multiple virtual sub-scenes; Before controlling the first virtual object to obtain the first virtual prop, the method further includes: In response to one or more of the following being satisfied, it is determined that the virtual pet acquired by the first virtual object meets the first acquisition condition: The number of virtual pets acquired by the first virtual object in the target virtual sub-scene reaches a first quantity threshold; and the types of virtual pets acquired by the first virtual object in the target virtual sub-scene reach a second quantity threshold.
14. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: displaying at least one third virtual prop acquired by the first virtual object; In response to the second allocation instruction of the third virtual prop, displaying at least one second virtual object; In response to a selection instruction for a target second virtual object among the at least one second virtual object, the third virtual prop is allocated to the target second virtual object.
15. The method according to any one of claims 1 to 8, characterized in that: The first virtual pet belongs to a first virtual object, and the first virtual object also owns a third virtual pet; the number of the virtual props is multiple, and the multiple virtual props include exclusive virtual props of the first virtual pet and shared virtual props shared by the first virtual pet and the third virtual pet, and the first virtual pet and the third virtual pet belong to the same pet chain; The displaying of at least one virtual prop of the first virtual pet includes: The exclusive virtual props of the first virtual pet and the shared virtual props of the first virtual pet are displayed.
16. The method according to claim 15, characterized in that In response to the instruction to use a first virtual prop among the at least one virtual prop, controlling the first virtual prop to be applied to the first virtual pet comprises: In response to the use instruction for the first virtual item, if the first virtual item is the shared virtual item and the first virtual item has been applied to the third virtual pet, displaying a second prompt message; The second prompt information is used to prompt that the virtual pet used by the first virtual prop is replaced by the first virtual pet from the third virtual pet; In response to a confirmation instruction for the second prompt information, the virtual pet using the first virtual prop is replaced by the third virtual pet with the first virtual pet.
17. The method according to any one of claims 1 to 8, characterized in that: The first virtual pet belongs to a first virtual object, and the first virtual pet is in a virtual container; After displaying the virtual scene, the method further includes: In response to a second control instruction for the first virtual object, controlling the first virtual object to throw the virtual container into the virtual scene; In response to the virtual container being thrown into the virtual scene, the first virtual pet in the virtual container is controlled to appear in the virtual scene.
18. The method according to claim 17, characterized in that The virtual scene includes a first virtual scene, and the first virtual scene is used for the first virtual pet to fight with the virtual pet of the second virtual object; The step of displaying a first performance effect corresponding to the first virtual prop during the appearance of the first virtual pet includes: When the first virtual pet appears in the first virtual scene, displaying a first performance effect corresponding to the first virtual prop; The method further comprises: In response to a third control instruction for the first virtual pet, controlling the first virtual pet to fight against the virtual pet of the second virtual object; In response to the first virtual pet defeating the virtual pet of the second virtual object, a third performance effect corresponding to the first virtual prop is displayed.
19. The method according to claim 17, characterized in that The virtual scene includes a second virtual scene, and the second virtual scene is used for the first virtual object and the first virtual pet to perform activities; In response to the virtual container being thrown into the virtual scene, controlling the first virtual pet in the virtual container to appear in the virtual scene comprises: In response to the virtual container being thrown onto the virtual ground of the second virtual scene, controlling the first virtual pet in the virtual container to appear in the second virtual scene; The step of displaying a first performance effect corresponding to the first virtual prop during the appearance of the first virtual pet includes: When the first virtual pet appears in the second virtual scene, displaying a first performance effect corresponding to the first virtual prop; The method further comprises: In response to a movement instruction for the first virtual object, the first virtual object is controlled to move in the second virtual scene, and the first virtual pet is controlled to move following the first virtual object.
20. The method according to any one of claims 1 to 8, characterized in that: Before displaying at least one virtual prop of the first virtual pet, the method further includes: In response to a fourth control instruction for the first virtual pet, controlling the first virtual pet to perform an operation indicated by the fourth control instruction; Based on the operation indicated by the fourth control instruction executed by the first virtual pet, when the second acquisition condition of the first virtual item is met, controlling the first virtual pet to obtain the first virtual item; The third prompt information is displayed, where the third prompt information is used to prompt that the first virtual pet already has the first virtual prop.
21. The method according to any one of claims 1 to 8, characterized in that: The first virtual item has corresponding identification information; the method further includes: When the first virtual pet appears, the name of the first virtual pet is displayed, and identification information corresponding to the first virtual prop is displayed in the associated display area where the name is displayed, where the identification information is used to identify the name.
22. A device for using a virtual item, characterized in that: The device comprises: A display module, used for displaying at least one virtual prop of the first virtual pet, wherein the virtual prop is used to increase the performance effect of the first virtual pet, and different virtual props correspond to different performance effects; a response module, configured to control the application of a first virtual prop to the first virtual pet in response to a use instruction for a first virtual prop among the at least one virtual prop; The display module is further used to display a virtual scene, and when the first virtual pet appears in the virtual scene, during the appearance of the first virtual pet, display a first performance effect corresponding to the first virtual prop.
23. An electronic device, characterized in that: The electronic device comprises: A memory for storing computer executable instructions or computer programs; The processor is used to implement the method for using the virtual props according to 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 programs are executed by a processor, the method for using the virtual props according to 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 programs are executed by a processor, the method for using the virtual props according to any one of claims 1 to 21 is implemented.