Virtual equipment processing method and device, electronic equipment, and storage medium

By responding to the sliding operation of the target virtual equipment on the graphical user interface of MOBA games, the problem of cumbersome operation and accidental operation of pre-ordering virtual equipment is solved, and a fast and accurate one-handed pre-ordering process is realized.

CN115518384BActive Publication Date: 2026-03-27NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-12
Publication Date
2026-03-27

AI Technical Summary

Technical Problem

In MOBA games, the process of pre-ordering virtual equipment is cumbersome and prone to misoperation, especially when the target equipment is far from the pre-order control, making it difficult to achieve quick and accurate selection and clicking with one hand.

Method used

By responding to the first swipe action of the target virtual equipment on the graphical user interface, it is identified as a pre-ordered virtual equipment, simplifying the operation process and reducing misoperation.

Benefits of technology

It enables convenient one-handed operation for pre-ordering virtual equipment, improving operational efficiency and reducing the occurrence of misoperations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115518384B_ABST
    Figure CN115518384B_ABST
Patent Text Reader

Abstract

The application provides a virtual equipment processing method and device, electronic equipment and a storage medium, wherein the method comprises: displaying virtual equipment through a graphical user interface; in response to a first sliding operation on a target virtual equipment in the virtual equipment, determining the target virtual equipment as pre-purchased virtual equipment of a first virtual object; the embodiment of the application pre-purchases virtual equipment through a sliding operation, so that the operation of the user is more convenient, and can be realized by a single hand, and through continuous sliding operation, the misoperation can be reduced, and the operation efficiency of pre-purchasing virtual equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to methods and apparatus for processing virtual equipment, electronic devices, and storage media. Background Technology

[0002] In MOBA (Multiplayer Online Battle Arena) games, players need to purchase various virtual equipment for their controlled virtual objects to improve their attributes. Generally, games have a pre-order function, allowing players to purchase virtual equipment according to their pre-order plan during gameplay.

[0003] In existing technology, the process of pre-ordering virtual equipment is as follows: The user first clicks the equipment control to open the equipment selection interface, finds and selects the desired virtual equipment, and if the user does not have enough gold coins to purchase the desired virtual equipment, they can click the pre-order control to pre-order the desired virtual equipment, and then close the equipment selection interface. The equipment selection interface is generally as follows: Figure 1 As shown, when the target virtual equipment a user wants to buy is Figure 1 When selecting virtual equipment A1, the distance between A1 and the pre-order control is relatively large. Using the same finger to select A1 and click the pre-order control simultaneously is obviously difficult. These two non-continuous operations are time-consuming and prone to errors (for example, while moving the finger from A1 to the pre-order control, it might touch virtual equipment B2, B3, C3, C4, etc., resulting in the wrong item being pre-ordered). Using the left hand to select A1 and the right hand to click the pre-order control, switching between the two hands to pre-order the target virtual equipment, is also cumbersome, time-consuming, and inefficient.

[0004] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] In view of the above problems, this application is made to provide a method and apparatus for processing virtual equipment, an electronic device, and a storage medium that overcomes or at least partially solves the above problems, including:

[0006] A method for processing virtual equipment involves executing an application on the processor of a terminal device and rendering a graphical user interface on the touchscreen display of the terminal device. The method includes:

[0007] The virtual equipment is displayed through the graphical user interface.

[0008] determine the target virtual equipment as pre-purchased virtual equipment of the first virtual object in response to a first sliding operation on the target virtual equipment in the virtual equipment.

[0009] A processing method of virtual equipment, comprising:

[0010] displaying virtual equipment through the graphical user interface;

[0011] determining the target virtual equipment as pre-purchased virtual equipment of the first virtual object in response to a first sliding operation on the target virtual equipment in the virtual equipment.

[0012] An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the processing method of virtual equipment as described above.

[0013] A computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the processing method of virtual equipment as described above.

[0014] The present application has the following advantages:

[0015] In the embodiments of the present application, virtual equipment is displayed through a graphical user interface; a target virtual equipment in the virtual equipment is determined as pre-purchased virtual equipment of a first virtual object in response to a first sliding operation on the target virtual equipment; the embodiments of the present application pre-purchase virtual equipment through a sliding operation, so that the operation of the user is more convenient, and a single hand can achieve the operation, and through continuous sliding operation, the operation efficiency of pre-purchasing virtual equipment can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the description of the present application. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0017] Figure 1 An equipment selection interface schematic diagram for pre-purchasing virtual equipment in the prior art;

[0018] Figure 2A step flow chart of a virtual equipment processing method according to an embodiment of the present application;

[0019] Figure 3 A corresponding interface schematic diagram when responding to a first sliding operation according to an embodiment of the present application;

[0020] Figure 4 A corresponding interface schematic diagram when responding to a first sliding operation according to another embodiment of the present application;

[0021] Figure 5 A corresponding interface schematic diagram when responding to a second sliding operation according to an embodiment of the present application;

[0022] Figure 6 A corresponding interface schematic diagram when responding to a second sliding operation according to another embodiment of the present application;

[0023] Figure 7 A structure block diagram of a virtual equipment processing device according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the above objectives, characteristics and advantages of the present application more apparent, comprehensible and easier to understand, the present application will be further described in detail below with reference to the drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without making any creative labor, shall fall within the scope of protection of the present application.

[0025] As shown in Figure 1 the prior art, when a user wants to pre-purchase a target virtual equipment in a virtual equipment A1 in Figure 1 , the distance between the virtual equipment A1 and the pre-purchase control is large, and it is obviously difficult to use the same finger to realize the operation of selecting the virtual equipment A1 and clicking the pre-purchase control. The two non-continuous operations have the defects of long time consumption and easy to cause misoperation. If the left hand is used to select the virtual equipment A1, and the right hand is used to click the pre-purchase control, the operation of pre-purchasing the target virtual equipment is realized by exchanging operations with both hands. Obviously, the operation is complicated, and there are also problems of long time consumption and low efficiency.

[0026] In view of this, the present application provides a virtual equipment processing method, which determines a target virtual equipment in a virtual equipment as a pre-purchase virtual equipment of a first virtual object by responding to a first sliding operation for the target virtual equipment. The present application can pre-purchase a virtual equipment through a simple sliding operation, which not only realizes single-hand operation to pre-purchase a virtual equipment, but also improves the operation efficiency of pre-purchasing a virtual equipment.

[0027] To make the embodiments of the present application easy to understand, a virtual equipment processing method, device, electronic device and storage medium provided by the embodiments of the present application are described in detail below in combination with a multi-player competitive game. It should be noted that the application scenarios in the embodiments of the present application are not limited to multi-player competitive games, and can also be applied to other games.

[0028] The virtual equipment processing method provided by the embodiments of the present application can run on a local terminal device or a server. When the virtual equipment processing method runs on the server, the virtual equipment processing method can be implemented and executed based on a cloud interaction system, where the cloud interaction system includes a server and a client device.

[0029] In some optional embodiments of the present application, various cloud applications, for example, cloud games, can run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the running mode of cloud games, the running subject of the game program and the presentation subject of the game picture are separated, and the storage and running of the virtual equipment processing method are completed on the cloud game server. The client device is used for receiving and sending data and presenting the game picture. For example, the client device can be a display device close to the user side with a data transmission function, such as a first terminal device, a television, a computer, a palm computer, etc. However, the cloud game server in the cloud is used to perform the virtual equipment processing method. When playing the game, the player operates the client device to send operation instructions to the cloud game server, the cloud game server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.

[0030] In some optional embodiments of the present application, taking games as an example, the local terminal device stores a game program and is used to present a game picture. The local terminal device is used to interact with the player through a graphical user interface, that is, the conventional game program is downloaded and installed on the electronic device and is run. The local terminal device can provide the graphical user interface to the player in various ways, for example, the graphical user interface can be rendered and displayed on the display screen of the terminal, or the graphical user interface can be provided to the player through holographic projection. For example, the local terminal device can include a display screen used to present a graphical user interface including at least part of a game scene, and a processor used to run the game, generate the graphical user interface and control the display of the graphical user interface on the display screen.

[0031] The virtual equipment processing method provided by the embodiments of the present application can run on the aforementioned local terminal device or the aforementioned client device in the cloud interaction system. The following describes the virtual equipment processing method running on a local terminal device (hereinafter referred to as a terminal device) as an example.

[0032] Referring to Figure 2 , a step flow chart of a virtual equipment processing method provided by an embodiment of the present application is shown, in the embodiment of the present application, an application program is executed on a processor of a terminal device, and a graphical user interface is rendered on a touch display screen of the terminal device; the method can include the following steps:

[0033] Step 101, displaying virtual equipment through the graphical user interface.

[0034] The game interface displayed on the graphical user interface can display a plurality of virtual equipment, or a plurality of virtual equipment is displayed in a virtual store page displayed on the graphical user interface. Among them, the game interface is a display screen corresponding to the game scene displayed by the terminal device; the virtual store page is used to display virtual equipment in the game, so that the user selects pre-purchase and / or purchase of virtual equipment for the first virtual object controlled by the user.

[0035] The virtual object refers to an object active in the game scene, which can be a virtual person, an animation character, etc. In the embodiment, the first virtual object is a character controlled by the user through the terminal device, and the user controls the first virtual object to play the game; the first virtual object can also be controlled to perform a specific task to obtain corresponding virtual resources. Exemplarily, the specific task can include at least one of killing a specified virtual object, destroying a specified virtual building, completing a specified dialogue, reaching a specified location, etc. In the embodiment of the present application, the virtual resource can refer to gold coins. The virtual resources owned by the first virtual object (also referred to as current virtual resources) can be used to exchange pre-purchased virtual equipment, purchase virtual equipment, and give to a second virtual object in the same camp, etc.

[0036] The game interface refers to the screen corresponding to the application program provided or displayed through the graphical user interface, and the game interface includes a user interface for user interaction and a game screen. In some optional embodiments of the present application, the user interface can include game controls (such as skill controls, movement controls, function controls, etc.), indication marks (such as direction indication marks, character indication marks, etc.), information display areas (such as kill numbers, game times, chat information, etc.), and can also include game setting controls (such as system settings, stores, gold coins, etc.). In some optional embodiments of the present application, the game screen is a display screen corresponding to the game scene displayed by the terminal device, and the game screen can include game characters performing game logic in the game scene.

[0037] The game scene is a virtual scene displayed (or provided) by an application running on a terminal or a server, which can be a picture obtained by observing in a virtual world in a first-person perspective or a third-person perspective of a virtual object. Alternatively, the game scene can be a simulation environment of a real world, a semi-simulation and semi-fictional virtual environment, or a purely fictional virtual environment.

[0038] In step 102, in response to the first sliding operation on the target virtual equipment in the virtual equipment, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object.

[0039] The target virtual equipment can be any one of the virtual equipment or any one of the other virtual equipment except the pre-purchased virtual equipment. By the first sliding operation on the target virtual equipment, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object.

[0040] The embodiment of the application displays the virtual equipment through a graphical user interface, and in response to the first sliding operation on the target virtual equipment in the virtual equipment, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object. The embodiment of the application pre-purchases the virtual equipment through the sliding operation, so that the operation of the user is more convenient, and the operation can be realized by one hand. In addition, the continuous sliding operation can reduce the misoperation and improve the operation efficiency of pre-purchasing the virtual equipment.

[0041] In the following, the processing method of the virtual equipment in the example embodiment will be further described.

[0042] In step 101, the virtual equipment is displayed through the graphical user interface.

[0043] In the embodiment, the virtual equipment displayed in the virtual store page displayed on the graphical user interface is taken as an example. The virtual equipment displayed in the virtual store page can be all the virtual equipment that can be pre-purchased and / or purchased by the first virtual object, that is, the user can determine any one of the virtual equipment displayed in the virtual store page as the pre-purchased virtual equipment of the first virtual object. Alternatively, the virtual equipment displayed in the virtual store page can include the pre-purchased virtual equipment of the first virtual object and the other virtual equipment not pre-purchased by the first virtual object, that is, the user can only determine any one of the other virtual equipment not pre-purchased by the first virtual object as the pre-purchased virtual equipment of the first virtual object.

[0044] In some optional embodiments of the application, the process of displaying the virtual store page on the graphical user interface can include the following steps:

[0045] In response to a touch operation on a virtual store control in the graphical user interface, a virtual store page is displayed in the graphical user interface. The touch operation can be one of a click operation, a long press operation, a double tap operation, and the like.

[0046] Exemplarily, the virtual equipment displayed in the virtual store page can have multiple equipment types, such as attack type, spell type, defense type, movement type, jungle type, and wandering type. Each equipment type corresponds to multiple virtual equipment, and the multiple virtual equipment can be displayed in a matrix arrangement. Optionally, the virtual store page can further include a recommended type parallel to the equipment types. The virtual equipment in the recommended type can be determined according to the total network purchase times of each virtual equipment, or can be determined according to the historical purchase records of the user of the current terminal device purchasing virtual equipment, and the like. In some cases, through the recommended type, the user can quickly find the target virtual equipment that he or she wants to pre-purchase or purchase.

[0047] In step 102, in response to a first sliding operation on a target virtual equipment in the virtual equipment, the target virtual equipment is determined as a pre-purchased virtual equipment of the first virtual object.

[0048] In the embodiment, when the virtual equipment displayed in the graphical user interface is all the virtual equipment that allows the first virtual object to pre-purchase and / or purchase, the target virtual equipment is any one of the virtual equipment displayed in the graphical user interface. When the virtual equipment displayed in the graphical user interface is the virtual equipment that includes the virtual equipment pre-purchased by the first virtual object and other virtual equipment that is not pre-purchased by the first virtual object, the target virtual equipment is any one of the other virtual equipment displayed in the graphical user interface. Optionally, the virtual equipment pre-purchased by the first virtual object can be added with a pre-purchased identifier to prompt the user not to perform the first sliding operation on the virtual equipment added with the pre-purchased identifier. Through the first sliding operation on the target virtual equipment, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object, and the pre-purchase of the target virtual equipment is realized.

[0049] Optionally, after the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object, the following steps can be further included:

[0050] When the pre-purchased virtual equipment of the first virtual object already has a first pre-purchased virtual equipment, the target virtual equipment is determined as a second pre-purchased virtual equipment whose purchase order is prior to that of the first pre-purchased virtual equipment.

[0051] In the embodiment, the first pre-purchased virtual equipment can be considered as a virtual equipment that has been pre-purchased before the target virtual equipment. In the embodiment, when the first virtual object has pre-purchased the first pre-purchased virtual equipment, the user can perform the first sliding operation on the target virtual equipment, determine the target virtual equipment as a second pre-purchased virtual equipment whose purchase order is prior to that of the first pre-purchased virtual equipment. It can be understood that the purchase order refers to the order of purchasing the pre-purchased virtual equipment. That is, when the virtual resource owned by the first virtual object is sufficient to purchase the first pre-purchased virtual equipment or the second pre-purchased virtual equipment, the second pre-purchased virtual equipment is purchased preferentially.

[0052] It should be noted that in other embodiments, when the pre-purchased virtual equipment includes a plurality of virtual equipments, the purchase order can also be determined according to the order of each virtual equipment determined as the pre-purchased virtual equipment. In other embodiments, after the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object, the method can further include:

[0053] When the first pre-purchased virtual equipment already exists in the pre-purchased virtual equipment of the first virtual object, the target virtual equipment is determined as a second pre-purchased virtual equipment whose purchase order is after that of the first pre-purchased virtual equipment.

[0054] Optionally, after the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object, the method can further include:

[0055] When the first pre-purchased virtual equipment already exists in the pre-purchased virtual equipment of the first virtual object, the target virtual equipment is used to replace the first pre-purchased virtual equipment.

[0056] In the embodiment, the first virtual object is allowed to pre-purchase only one virtual equipment at the same time. In the embodiment, when the first virtual object has pre-purchased the first pre-purchased virtual equipment, the user can perform the first sliding operation on the target virtual equipment, determine the target virtual equipment as a pre-purchased virtual equipment, and replace the first pre-purchased virtual equipment that has been pre-purchased by the first virtual object. Thus, the problem that the existing technology needs to cancel the pre-purchased virtual equipment and then pre-purchase the target virtual equipment when changing the pre-purchase plan is solved, and the operation is not complicated. The method can improve the interaction efficiency without performing the cancel operation on the pre-purchased virtual equipment when changing the pre-purchase plan.

[0057] After the pre-purchased virtual equipment of the first virtual object is determined, the pre-purchased virtual equipment can also be displayed in the user interface corresponding to the game picture. The method can further include:

[0058] In response to the touch operation for the pre-purchased virtual equipment, when the current virtual resource of the first virtual object is greater than or equal to the purchase resource of the pre-purchased virtual equipment, the pre-purchased virtual equipment is purchased and used. The touch operation can be a click operation or a long press operation, etc. Accordingly, the corresponding purchase resource is deducted from the current virtual resource.

[0059] In addition, in response to the touch operation for the pre-purchased virtual equipment, when the current virtual resource of the first virtual object is less than the purchase resource of the pre-purchased virtual equipment, the second virtual object of the same camp of the first virtual object can also be sent a help information, and the help information is used to instruct the second virtual object to give the corresponding virtual resource to the first virtual object. The help information can include difference information between the purchase resource and the current resource, so that the second virtual object knows the specific virtual resource required by the first virtual object.

[0060] It should be noted that the process of pre-purchasing the virtual equipment does not affect the virtual resource owned by the first virtual object. Therefore, whether the current virtual resource of the first virtual object is sufficient to purchase the target virtual equipment or not, the first sliding operation for the target virtual equipment can be used to pre-purchase the target virtual equipment.

[0061] In some optional embodiments of the present application, the above-mentioned response to the first sliding operation for the target virtual equipment in the virtual equipment, determining the target virtual equipment as the pre-purchased virtual equipment of the first virtual object, can include:

[0062] In response to the touch point moving from the position of the target virtual equipment to the first preset position range, displaying pre-purchase information at the corresponding position of the first preset position range, the pre-purchase information is used to indicate pre-purchasing the target virtual equipment;

[0063] In response to the touch point disappearing when in the first preset position range, determining the target virtual equipment as the pre-purchased virtual equipment of the first virtual object.

[0064] In the embodiment, the first sliding operation can be considered as an operation with the sliding starting point at the position of the target virtual equipment and the sliding ending point disappearing when in the first preset position range. The first preset position range can be customized by the user or defaulted by the system. It can be understood that the first preset position range is a region related to the position of the target virtual equipment. The sliding starting point of the first sliding operation can be any position within the region occupied by the identifier corresponding to the target virtual equipment in the graphical user interface, such as Figure 3As shown, when the target virtual equipment is virtual equipment B2, the sliding starting point of the first sliding operation can be any position within the circle where B2 is located; when the operation medium is in contact with the touch display screen of the terminal device, a touch point will be generated, and the operation medium can be a finger or a stylus, etc. In this embodiment, the pre-purchase information is displayed when the touch point moves from the position where the target virtual equipment is located to the first preset position range, so as to prompt the user to release the operation medium to realize the pre-purchase of the target virtual equipment, thereby playing a role of prediction and prompting.

[0065] As shown in the figure, Figure 3 As shown, when the target virtual equipment is B2, the user can control the operation medium to be in contact with the position where the target virtual equipment B2 is located in the touch display screen, and control the operation medium to move from the position where the target virtual equipment B2 is located to the first preset position range (e.g. within the closed figure corresponding to “pre-purchase” in Figure 3 the figure), so that the graphical user interface displays pre-purchase information at the position corresponding to the first preset position range; when the user determines to pre-purchase the target virtual equipment B2, the operation medium can be released, so that the touch point disappears in the first preset position range, so as to determine the target virtual equipment B2 as the pre-purchased virtual equipment of the first virtual object.

[0066] Further, in order to standardize the first sliding operation and prevent misoperation, in some optional embodiments of the present application, the above-mentioned response to the movement of the touch point from the position where the target virtual equipment is located to the first preset position range can include:

[0067] Response to the movement of the touch point from the position where the target virtual equipment is located to the first preset position range along the first preset direction.

[0068] In this embodiment, the sliding direction of the first sliding operation is also limited. Only when the touch point moves from the position where the target virtual equipment is located to the first preset position range along the first preset direction, the pre-purchase information is displayed. The first preset direction can be customized by the user or defaulted by the system. The movement of the touch point from the position where the target virtual equipment is located to the first preset position range along the first preset direction can mean that the projection of the touch point in the horizontal direction moves along the first preset direction during the movement.

[0069] Alternatively, the first preset direction can also be related to the position where the target virtual equipment is located. For example, when the position where the target virtual equipment is located is on the left side of the center line of the graphical user interface, the corresponding first preset direction is left; when the position where the target virtual equipment is located is on the right side of the center line of the graphical user interface, the corresponding first preset direction is right. The center line of the graphical user interface refers to a virtual straight line that divides the graphical user interface into two parts of the same size.

[0070] Further, in order to regulate the first sliding operation and prevent misoperation, in some optional embodiments of the present application, the above-mentioned displaying the pre-purchase information at the corresponding position in the first preset position range in response to the touch point moving from the position of the target virtual equipment to the first preset position range can comprise:

[0071] displaying the pre-purchase information at the corresponding position in the first preset position range in response to the touch point moving from the position of the target virtual equipment to the first preset position range at a speed in the first speed range.

[0072] In the embodiment, the speed of the first sliding operation from the position of the target virtual equipment to the first preset position range is also limited. Only when the touch point moves from the position of the target virtual equipment to the first preset position range at a speed in the first speed range, the pre-purchase information is displayed. That is, the moving speed and the moving distance of the first sliding operation jointly determine whether the pre-purchase information is displayed. Alternatively, the moving speed and the moving distance of the touch point corresponding to the first sliding operation can be associated. When the touch point corresponding to the first sliding operation moves from the position of the target virtual equipment to the first moving distance associated with the first moving speed at the first moving speed, the pre-purchase information is displayed at the position corresponding to the first moving distance. The association between the moving speed and the moving distance of the touch point can be that the slower the moving speed, the longer the associated moving distance, i.e. the longer the distance from the position of the target virtual equipment. For example, when the first moving speed is less than the second moving speed, the first moving distance associated with the first moving speed is greater than the second moving distance associated with the second moving speed.

[0073] In some other optional embodiments of the present application, the above-mentioned determining the target virtual equipment as the pre-purchase virtual equipment of the first virtual object in response to the first sliding operation on the target virtual equipment in the virtual equipment can comprise:

[0074] displaying the pre-purchase information at the corresponding position in the first preset position range in response to the touch point being located at the position of the target virtual equipment, the pre-purchase information being used to instruct to pre-purchase the target virtual equipment;

[0075] determining the target virtual equipment as the pre-purchase virtual equipment of the first virtual object in response to the touch point disappearing when moving from the position of the target virtual equipment to the first preset position range.

[0076] In the embodiment, the first sliding operation can be considered as an operation with the sliding starting point at the position of the target virtual equipment and the sliding ending point disappearing at the first preset position range. In the embodiment, the pre-purchase information is displayed when the touch point is located at the position of the target virtual equipment, so as to prompt the user to move the operation medium according to the position of the pre-purchase information to pre-purchase the target virtual equipment, thereby playing a prompting role.

[0077] Exemplarily, as shown in FIG. 2, when the target virtual equipment is B2, the user can control the operation medium to contact the target virtual equipment B2 in the touch display screen, so that the graphical user interface displays the pre-purchase information at a corresponding position in the first preset position range; when the user determines to pre-purchase the target virtual equipment B2, the operation medium can be controlled to move from the position of the target virtual equipment B2 to the first preset position range, and then the operation medium is released, so that the touch point disappears in the first preset position range, to determine the target virtual equipment B2 as the pre-purchase virtual equipment of the first virtual object. Figure 4

[0078] Further, considering that in the prior art, when purchasing virtual equipment, a similar process to pre-purchasing virtual equipment is needed, that is, the target virtual equipment to be purchased is selected, and then a purchase control is clicked to purchase the target virtual equipment, and the same problem of inconvenient operation and low efficiency exists, therefore, in an embodiment of the present application, the above method can further include:

[0079] in response to the second sliding operation on the target virtual equipment, if the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment, the target virtual equipment is determined as the purchased virtual equipment of the first virtual object.

[0080] In the embodiment, the target virtual equipment can be any virtual equipment displayed in the graphical user interface. The current virtual resource refers to the virtual resource currently owned by the first virtual object; the purchased virtual equipment refers to the virtual equipment that has been purchased and can be used by the first virtual object. When the current virtual resource is greater than or equal to the purchase resource corresponding to the target virtual equipment, the target virtual equipment can be purchased, and at this time, the target virtual equipment is determined as the purchased virtual equipment of the first virtual object through the second sliding operation on the target virtual equipment, and correspondingly, the purchase resource is deducted from the current virtual resource, and the current virtual resource is updated. In the embodiment, the virtual equipment can be purchased through a simple sliding operation, and the operation efficiency of purchasing virtual equipment is improved.

[0081] Optionally, after the above response to the second sliding operation on the target virtual equipment, it can further include: if the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the target virtual equipment is determined as the pre-purchase virtual equipment of the first virtual object.

[0082] ​When the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the target virtual resource cannot be purchased, at this time, the target virtual equipment can be pre-purchased, that is, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object, so that when the virtual resource owned by the first virtual object is enough to purchase the target virtual equipment in the subsequent game, the target virtual equipment can be quickly purchased through the target virtual equipment which has been pre-purchased.

[0083] Optionally, after the response to the second sliding operation on the target virtual equipment, the method further includes: if the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, displaying prompt information of purchase failure.

[0084] When the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the target virtual resource cannot be purchased, at this time, prompt information can be displayed to prompt the user that the current virtual resource cannot purchase the target virtual equipment. Optionally, the prompt information can further include difference information between the current virtual resource and the purchase resource required for purchasing the target virtual equipment, or purchase resource information, so that the user can know the difference between the current virtual resource and the purchase resource.

[0085] In some optional embodiments of the present application, the response to the second sliding operation on the target virtual equipment, if the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment, the target virtual equipment is determined as the purchased virtual equipment of the first virtual object, can include:

[0086] In response to the touch point moving from the position of the target virtual equipment to the second preset position range, if the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment, the purchase information is displayed at the corresponding position of the second preset position range, and the purchase information is used to indicate the purchase of the target virtual equipment.

[0087] In response to the disappearance of the touch point in the second preset position range, the target virtual equipment is determined as the purchased virtual equipment of the first virtual object.

[0088] In the embodiment, the second sliding operation can be considered as an operation in which the sliding start point is at the position of the target virtual equipment and the sliding end point is at the second preset position range. The second preset position range can be customized by the user or be set by the system by default. It can be understood that the second preset position range is a region related to the position of the target virtual equipment. In the embodiment, the purchase information is displayed when the touch point moves from the position of the target virtual equipment to the second preset position range, so as to prompt the user to release the operation medium to purchase the target virtual equipment, thereby playing a role of prediction and prompting.

[0089] Exemplarily, as shown in Figure 5 When the target virtual equipment is B2, the user can control the operation medium to contact the position of the target virtual equipment B2 in the touch display screen and control the operation medium to move from the position of the target virtual equipment B2 to the second preset position range (e.g., the closed figure corresponding to "purchase" in Figure 5 When the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment B2, the purchase information is displayed at the corresponding position in the second preset position range. When the user determines to purchase the target virtual equipment B2, the operation medium can be released, so that the touch point disappears in the second preset position range, to purchase the target virtual equipment B2, that is, the target virtual equipment B2 is determined as the purchased virtual equipment of the first virtual object.

[0090] Optionally, after the above-mentioned response to the touch point moving from the position of the target virtual equipment to the second preset position range, the method can further include:

[0091] If the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the purchase information is displayed in gray at the corresponding position in the second preset position range.

[0092] In response to the touch point disappearing in the second preset position range, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object, or a purchase failure prompt information is displayed.

[0093] The user is reminded that the target virtual equipment cannot be directly purchased by displaying the purchase information in gray. In an example, when the user controls the operation medium to move from the position of the target virtual equipment to the second preset position range and then disappears, the target virtual equipment is pre-purchased, that is, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object, so that when the virtual resource owned by the first virtual object is sufficient to purchase the target virtual equipment in the subsequent game, the target virtual equipment can be quickly purchased through the pre-purchased target virtual equipment. In another example, when the user controls the operation medium to move from the position of the target virtual equipment to the second preset position range and then disappears, a purchase failure prompt information is displayed, to prompt the user that the operation of purchasing the target virtual equipment fails.

[0094] Optionally, when the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the purchase resource or the difference information between the purchase resource and the current virtual resource can also be displayed at the corresponding position in the second preset position range to prompt the user that the current virtual resource cannot purchase the target virtual equipment.

[0095] For the same target virtual equipment, the second preset position range is different from the first preset position range at the same time. Optionally, the distance between the position point in the second preset position range and the position of the target virtual equipment is greater than the distance between the position point in the first preset position range and the position of the target virtual equipment. That is, the distance between the position point in the second preset position range and the first position point in the position of the target virtual equipment is greater than the distance between the position point in the first preset position range and the first position point. It can be understood that when the current virtual resource is sufficient to purchase the target virtual equipment, the user moves from the position of the target virtual equipment to the first preset position range by controlling the operation medium, and the pre-purchase information is displayed. At this time, if the user wants to pre-purchase the target virtual equipment, the operation medium can be released to make the touch point disappear to pre-purchase the target virtual equipment; if the user wants to purchase the target virtual equipment, the operation medium can be controlled to continue to move to the second preset range to display the purchase information, and then the operation medium is released to make the touch point disappear to purchase the target virtual equipment.

[0096] Optionally, the first preset position range and the second preset position range are continuous. It can be understood that the pre-purchase information disappears at the same time when the purchase information is displayed.

[0097] Considering that when the current virtual resource is sufficient to purchase the target virtual equipment, the user can choose to pre-purchase the target virtual equipment or purchase the target virtual equipment, in order to facilitate user operation, in some optional embodiments of the present application, the above method can further comprise:

[0098] According to the size relationship between the current virtual resource of the first virtual object and the purchase resource required for purchasing the target virtual equipment, the first preset position range is determined.

[0099] In the embodiment, the size relationship between the current virtual resource and the purchase resource and the corresponding relationship with the first preset position range can be defined by the user or set by the system by default, that is, when the current virtual resource is greater than or equal to the purchase resource, the corresponding first preset position range is the first position range; when the current virtual resource is less than the purchase resource, the corresponding first preset position range is the second position range. According to the size relationship between the current virtual resource of the first virtual object and the purchase resource corresponding to the target virtual equipment, the first preset position range is determined.

[0100] Exemplarily, the determining the first preset position range according to the size relationship between the current virtual resource of the first virtual object and the purchase resource required for purchasing the target virtual equipment can include:

[0101] When the current virtual resource is greater than or equal to the purchase resource, the first position range corresponding to the position of the target virtual equipment is determined as the first preset position range.

[0102] When the current virtual resource is less than the purchase resource, the second position range corresponding to the position of the target virtual equipment is determined as the first preset position range.

[0103] Wherein, the distance between the position point in the first position range and the position of the target virtual equipment is less than the distance between the position point in the second position range and the position of the target virtual equipment.

[0104] When the current virtual resource is sufficient to purchase the target virtual equipment, in order to facilitate the user to purchase the target virtual equipment, in the present example, when the current virtual resource is sufficient to purchase the target virtual equipment, the sliding distance of the first sliding operation for pre-purchasing the target virtual equipment is relatively short, so that the touch point can be moved to the second preset position range faster.

[0105] Further, in order to regulate the second sliding operation and prevent misoperation, in some optional embodiments of the present application, the above-mentioned response to the touch point moving from the position of the target virtual equipment to the second preset position range can include:

[0106] In response to the touch point moving from the position of the target virtual equipment to the second preset position range along the first preset direction.

[0107] In the present embodiment, the sliding direction of the second sliding operation is also limited, only when the touch point moves from the position of the target virtual equipment to the second preset position range along the first preset direction, the purchase information is displayed. Wherein, the first preset direction can be customized by the user, or can be defaulted by the system; please refer to the description of the first preset direction in the foregoing, which will not be repeated here.

[0108] Further, in order to regulate the second sliding operation and prevent misoperation, in some optional embodiments of the present application, the above-mentioned response to the touch point moving from the position of the target virtual equipment to the second preset position range can include:

[0109] In response to the touch point moving from the position of the target virtual equipment to the second preset position range at a speed in the second speed range.

[0110] In the embodiment, the speed of the second sliding operation from the position of the target virtual equipment to the second preset position range is also limited. Only when the touch point moves from the position of the target virtual equipment to the second preset position range at a second speed range, the purchase information is displayed. That is, the moving speed and the moving distance of the second sliding operation jointly determine whether the purchase information is displayed. Alternatively, the moving speed and the moving distance of the touch point corresponding to the second sliding operation can be associated. When the touch point corresponding to the second sliding operation moves from the position of the target virtual equipment to a third moving distance associated with a third moving speed at the third moving speed, the purchase information is displayed at the position corresponding to the third moving distance. The association between the moving speed and the moving distance of the touch point can be that the slower the moving speed, the longer the associated moving distance. For example, when the third moving speed is less than a fourth moving speed, the third moving distance associated with the third moving speed is greater than a fourth moving distance associated with the fourth moving speed. The second speed range can be the same as or different from the first speed range corresponding to the first sliding operation.

[0111] It should be noted that the distance between the position point in the second preset position range and the position of the target virtual equipment is greater than the distance between the position point in the first preset position range and the position of the target virtual equipment. In the embodiment, when the first speed range is different from the second speed range, when the touch point moves from the position of the target virtual equipment to the first preset position range in the process of moving from the position of the target virtual equipment to the second preset position range, the purchase information is not displayed.

[0112] In some other optional embodiments of the present application, the above-mentioned, in response to the second sliding operation on the target virtual equipment, if the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment, the target virtual equipment is determined as the purchased virtual equipment of the first virtual object, can include:

[0113] In response to the touch point being located at the position of the target virtual equipment, if the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment, the purchase information is displayed at the corresponding position in the second preset position range, and the purchase information is used to indicate the purchase of the target virtual equipment.

[0114] In response to the touch point disappearing from the position of the target virtual equipment to the second preset position range, the target virtual equipment is determined as the purchased virtual equipment of the first virtual object.

[0115] In the embodiment, the second sliding operation can be considered as an operation in which the sliding start point is at the position of the target virtual equipment and the sliding end point is at the second preset position range. The second preset position range can be customized by the user or be set by the system by default. In the embodiment, the purchase information is displayed when the touch point is at the position of the target virtual equipment, so as to prompt the user to move the operation medium to the position of the purchase information to purchase the target virtual equipment, thereby playing a prompting role.

[0116] Exemplarily, as shown in Figure 6 When the target virtual equipment is B2, the user can control the operation medium to contact the position of the target virtual equipment B2 in the touch display screen. When the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment B2, the purchase information is displayed at the corresponding position of the second preset position range of the graphical user interface. When the user determines to purchase the target virtual equipment B2, the operation medium can be controlled to move from the position of the target virtual equipment B2 to the second preset position range, and then the operation medium is released, so that the touch point disappears in the second preset position range, thereby determining the target virtual equipment B2 as the purchased virtual equipment of the first virtual object, and realizing the purchase of the target virtual equipment B2.

[0117] Optionally, when the touch point is at the position of the target virtual equipment, the pre-purchase information can also be displayed at the corresponding position of the first preset position range.

[0118] Optionally, after the above-mentioned response to the touch point being at the position of the target virtual equipment, the method can further include:

[0119] If the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the purchase information is displayed in gray at the corresponding position of the second preset position range.

[0120] In response to the touch point disappearing when moving from the position of the target virtual equipment to the second preset position range, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object, or a purchase failure prompt information is displayed.

[0121] The user is reminded that the target virtual equipment cannot be directly purchased at present by means of gray display; in an example, when the user control operation medium contacts the target virtual equipment and disappears after moving to the second preset position range, the target virtual equipment is pre-purchased, that is, the target virtual equipment is determined as the pre-purchased virtual equipment of the first virtual object; so that in the subsequent game, when the virtual resource owned by the first virtual object is sufficient to purchase the target virtual equipment, the target virtual equipment can be quickly purchased through the target virtual equipment which has been pre-purchased. In another example, when the user control operation medium contacts the target virtual equipment and disappears after moving to the second preset position range, a prompt information of purchase failure is displayed to prompt the user that the operation of purchasing the target virtual equipment fails.

[0122] Optionally, when the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the purchase resource or the difference information between the purchase resource and the current virtual resource can also be displayed at the corresponding position in the second preset position range to prompt the user that the current virtual resource cannot purchase the target virtual equipment.

[0123] Further, in some optional embodiments of the present application, when the target virtual equipment is pre-purchased, the following can also be included:

[0124] When the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the first information including the information that the first virtual object pre-purchases the target virtual equipment and the difference information between the purchase resource and the current resource is sent to the second virtual object in the same camp as the first virtual object.

[0125] When the user pre-purchases the target virtual equipment for the first virtual object, and the current virtual resource of the first virtual object is insufficient to purchase the target virtual equipment, the first information is sent to the second virtual object in the same camp to share the information that the first virtual object cannot purchase the target virtual equipment with the second virtual object, so that the second virtual object can provide assistance to the first virtual object in time. In order to facilitate the second virtual object to evaluate the urgency of the first virtual object to purchase the target virtual equipment, the first information can include the information that the first virtual object pre-purchases the target virtual equipment, and the second virtual object can judge whether the first virtual object urgently needs to use the target virtual equipment according to the information of the target virtual equipment in the first information, and make corresponding processing. In order to facilitate the second virtual object to provide accurate assistance to the first virtual object, the first information can include the difference information between the purchase resource and the current resource.

[0126] In some optional embodiments of the present application, the above-mentioned virtual equipment processing method can also include:

[0127] in response to a third sliding operation for a target virtual equipment in the virtual equipment, recommending the target virtual equipment to a second virtual object in the same camp as the first virtual object; the moving direction of the third sliding operation is opposite to the moving direction of the first sliding operation.

[0128] In the embodiment, the user can send equipment recommendation information to teammates in the same camp through the third sliding operation for the target virtual equipment. In a multi-player competitive game, a user with more experience can recommend equipment to teammates in the same camp according to the equipment of the enemy camp, so as to guide the teammates to purchase appropriate equipment and improve the winning probability of the same camp.

[0129] The moving direction of the third sliding operation is opposite to the moving direction of the first sliding operation. It can be understood that when the moving direction of the first sliding operation is to the right, the moving direction of the third sliding operation is to the left. Alternatively, in the example in which the moving speed and the moving distance of the first sliding operation are used to determine whether to display the pre-purchase information, the moving speed and the moving distance of the third sliding operation can have the same relationship with the moving speed and the moving distance of the first sliding operation, that is, the moving speed and the moving distance of the third sliding operation are used to determine whether to send the equipment recommendation information to the second virtual object.

[0130] Further, in some optional embodiments of the present application, when the target virtual equipment is purchased, the following can also be included:

[0131] sending second information to a second virtual object in the same camp as the first virtual object, the second information including information that the first virtual object purchases the target virtual equipment.

[0132] In the embodiment, when the user purchases the target virtual equipment for the first virtual object, second information can be sent to the second virtual object in the same camp, so as to share the information that the first virtual object purchases the target virtual equipment with the second virtual object, which is beneficial to team combat. Meanwhile, the second virtual object can also be prompted to purchase the same target virtual equipment.

[0133] In some optional embodiments of the present application, after the target virtual equipment is determined as the purchased virtual equipment of the first virtual object, the above virtual equipment processing method can further include:

[0134] in response to a fourth sliding operation for the purchased virtual equipment, sending third information to a second virtual object in the same camp as the first virtual object, the third information including information that the first virtual object purchases the purchased virtual equipment; the moving direction of the fourth sliding operation is opposite to the moving direction of the second sliding operation.

[0135] In the embodiment, the user corresponding to the first virtual object can send information that the first virtual object has purchased the purchased virtual equipment to the teammate in the same camp through the fourth sliding operation on the purchased virtual equipment. In the multi-player competitive game, when a core equipment needs to be used in the game process and the first virtual object has purchased the core equipment, the information that the first virtual object has purchased the core equipment can be sent to the second virtual object in the same camp to remind the teammate to continue the subsequent game operation.

[0136] The moving direction of the fourth sliding operation is opposite to the moving direction of the second sliding operation. It can be understood that when the moving direction of the second sliding operation is to the right, the moving direction of the fourth sliding operation is to the left. Alternatively, in the example in which the moving speed and the moving distance of the second sliding operation are used to jointly determine whether to display the purchase information, the moving speed and the moving distance of the fourth sliding operation can have the same relationship as the moving speed and the moving distance of the second sliding operation, that is, the moving speed and the moving distance of the fourth sliding operation are used to jointly determine whether to send the third information to the second virtual object.

[0137] The preferred embodiment of the application realizes pre-purchase of the target virtual equipment through the first sliding operation on the target virtual equipment, and directly purchases the target virtual equipment when the current virtual resource is sufficient to purchase the target virtual equipment through the second sliding operation on the target virtual equipment. The sliding starting points of the second sliding operation and the first sliding operation are both at the position of the target virtual equipment, and the distance between the sliding ending point and the sliding starting point of the second sliding operation is greater than the distance between the sliding ending point and the sliding starting point of the first sliding operation. The first sliding operation and the second sliding operation are distinguished by the sliding distance, which can simplify the operation, be realized by a single hand, and not be prone to misoperation, thereby reducing the interaction difficulty and improving the interaction efficiency.

[0138] In addition, after the second sliding operation on the target virtual equipment, when the current virtual resource is insufficient to purchase the target virtual equipment, the target virtual equipment can be directly pre-purchased, so that the user does not need to perform the operation of pre-purchasing the target virtual equipment again. After the second sliding operation on the target virtual equipment, when the current virtual resource is insufficient to purchase the target virtual equipment, a prompt information can also be displayed to feedback the operation of the user and play a prompting role, which facilitates the user to understand the current operation result.

[0139] Further, when the first virtual object pre-purchases the target virtual equipment, if the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, the first information can also be sent to the second virtual object of the same camp to prompt the second virtual object to donate the corresponding virtual resource to the first virtual object, so that the first virtual object can purchase the target virtual equipment. When the target virtual equipment is purchased, the second information can also be sent to the second virtual object of the same camp to realize information sharing of the purchased virtual equipment among teammates.

[0140] The third sliding operation opposite to the moving direction of the pre-purchased target virtual equipment can be used to recommend the target virtual equipment to the second virtual object of the same camp, and the fourth sliding operation opposite to the moving direction of the purchased target virtual equipment can be used to send the information of the purchased target virtual equipment to the second virtual object of the same camp to realize information sharing among teammates.

[0141] It should be noted that, for the method embodiments, in order to simply describe, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited by the action sequence described, because according to the embodiments of the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.

[0142] Reference Figure 7 , a structural block diagram of a virtual equipment processing device embodiment of the present application is shown, which corresponds to the virtual equipment processing method embodiment described above. The application program is executed on the processor of the terminal device, and the graphical user interface is obtained by rendering on the touch display screen of the terminal device. In this embodiment, the device can include the following modules:

[0143] The virtual equipment display module 701 is used to display the virtual equipment through the graphical user interface.

[0144] The pre-purchased virtual equipment module 702 is used to determine the target virtual equipment as the pre-purchased virtual equipment of the first virtual object in response to the first sliding operation on the target virtual equipment in the virtual equipment.

[0145] Optionally, the device can also include:

[0146] The purchased virtual equipment module is used to determine the target virtual equipment as the purchased virtual equipment of the first virtual object in response to the second sliding operation on the target virtual equipment, if the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment.

[0147] Optionally, the purchase virtual equipment module can be further configured to: if the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, determine the target virtual equipment as pre-purchased virtual equipment of the first virtual object; or display prompt information of purchase failure.

[0148] Optionally, the pre-purchased virtual equipment module 702 can comprise:

[0149] a first pre-purchased information display submodule configured to: in response to the touch point moving from a position of the target virtual equipment to a first preset position range, display pre-purchased information at a corresponding position of the first preset position range, the pre-purchased information being used to indicate pre-purchase of the target virtual equipment.

[0150] a first pre-purchase submodule configured to: in response to the touch point disappearing at the first preset position range, determine the target virtual equipment as pre-purchased virtual equipment of the first virtual object.

[0151] Optionally, the pre-purchased information display submodule can be configured to: in response to the touch point moving from a position of the target virtual equipment to a first preset position range at a speed in a first speed range, display pre-purchased information at a corresponding position of the first preset position range.

[0152] Optionally, the purchase virtual equipment module can comprise:

[0153] a first purchase information display submodule configured to: in response to the touch point moving from a position of the target virtual equipment to a second preset position range, if the current virtual resource of the first virtual object is greater than or equal to the purchase resource required for purchasing the target virtual equipment, display purchase information at a corresponding position of the second preset position range, the purchase information being used to indicate purchase of the target virtual equipment.

[0154] a first purchase submodule configured to: in response to the touch point disappearing at the second preset position range, determine the target virtual equipment as purchased virtual equipment of the first virtual object.

[0155] Optionally, the purchase virtual equipment module can further comprise:

[0156] a first gray display submodule configured to: in response to the touch point moving from a position of the target virtual equipment to a second preset position range, if the current virtual resource of the first virtual object is less than the purchase resource required for purchasing the target virtual equipment, display the purchase information in gray at the second preset position range.

[0157] The first purchase failure submodule is configured to determine the target virtual equipment as pre-purchased virtual equipment of the first virtual object or display a purchase failure prompt information in response to the touch point disappearing from the second preset position range.

[0158] Optionally, the first purchase information display submodule and the first graying display submodule can each include:

[0159] The movement limiting unit is configured to move the touch point from the position of the target virtual equipment to a second preset position range at a second speed range in response to the touch point moving at a speed of the second speed range.

[0160] Optionally, the pre-purchased virtual equipment module 702 can include:

[0161] The second pre-purchase information display submodule is configured to display pre-purchase information at a corresponding position in a first preset position range in response to the touch point being located at the position of the target virtual equipment, the pre-purchase information being used to indicate pre-purchasing the target virtual equipment.

[0162] The second pre-purchase submodule is configured to determine the target virtual equipment as pre-purchased virtual equipment of the first virtual object in response to the touch point disappearing from the position of the target virtual equipment to the first preset position range.

[0163] Optionally, the purchase virtual equipment module can include:

[0164] The second purchase information display submodule is configured to display purchase information at a corresponding position in a second preset position range in response to the touch point being located at the position of the target virtual equipment, the purchase information being used to indicate purchasing the target virtual equipment, if current virtual resources of the first virtual object are greater than or equal to purchase resources required for purchasing the target virtual equipment.

[0165] The second purchase submodule is configured to determine the target virtual equipment as purchased virtual equipment of the first virtual object in response to the touch point disappearing from the position of the target virtual equipment to the second preset position range.

[0166] Optionally, the purchase virtual equipment module can further include:

[0167] The second graying submodule is configured to gray display the purchase information at a corresponding position in the second preset position range in response to the touch point being located at the position of the target virtual equipment, if current virtual resources of the first virtual object are less than purchase resources required for purchasing the target virtual equipment.

[0168] The second purchase failure submodule is configured to determine the target virtual equipment as the pre-purchase virtual equipment of the first virtual object, or display a purchase failure prompt information, in response to the touch point disappearing from the position where the target virtual equipment is located to the second preset position range.

[0169] Optionally, a distance between a position point in the second preset position range and the position where the target virtual equipment is located is greater than a distance between a position point in the first preset position range and the position where the target virtual equipment is located.

[0170] Optionally, the device can further include:

[0171] The first information sharing module is configured to send first information to a second virtual object in the same camp as the first virtual object when the target virtual equipment is determined as the pre-purchase virtual equipment of the first virtual object, the first information including information that the first virtual object pre-purchases the target virtual equipment and / or difference information between the purchase resource and the current resource.

[0172] Optionally, the device can further include:

[0173] The equipment recommendation module is configured to recommend the target virtual equipment to a second virtual object in the same camp as the first virtual object in response to a third sliding operation on the target virtual equipment in the virtual equipment, the moving direction of the third sliding operation being opposite to the moving direction of the first sliding operation.

[0174] Optionally, the device can further include:

[0175] The second information sharing module is configured to send second information to a second virtual object in the same camp as the first virtual object when the target virtual equipment is determined as the purchased virtual equipment of the first virtual object, the second information including information that the first virtual object purchases the target virtual equipment.

[0176] Optionally, the device can further include:

[0177] The purchased information sharing module is configured to send third information to a second virtual object in the same camp as the first virtual object in response to a fourth sliding operation on the purchased virtual equipment, the third information including information that the first virtual object purchases the purchased virtual equipment, the moving direction of the fourth sliding operation being opposite to the moving direction of the second sliding operation.

[0178] Optionally, the device can further include:

[0179] The pre-purchase equipment processing module is configured to, when the target virtual equipment is determined as a pre-purchase virtual equipment of the first virtual object, determine the target virtual equipment as a second pre-purchase virtual equipment whose purchase order is prior to that of a first pre-purchase virtual equipment in the pre-purchase virtual equipment of the first virtual object, or determine the target virtual equipment as a second pre-purchase virtual equipment whose purchase order is after that of the first pre-purchase virtual equipment in the pre-purchase virtual equipment of the first virtual object, or replace the first pre-purchase virtual equipment with the target virtual equipment when the first pre-purchase virtual equipment already exists in the pre-purchase virtual equipment of the first virtual object.

[0180] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the part of the description of the method embodiment.

[0181] The embodiments of the present application further disclose an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the steps of the virtual equipment processing method described above are implemented.

[0182] The embodiments of the present application further disclose a computer readable storage medium, and the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the virtual equipment processing method described above are implemented.

[0183] Each of the embodiments in the present specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same and similar parts between the embodiments can be referred to each other.

[0184] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a device, or a computer program product. Therefore, the embodiments of the present application can adopt a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can adopt a computer program product in the form of one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program codes.

[0185] The embodiments of the present application are described with reference to the flowchart illustrations and / or block diagrams of the methods, terminal devices (systems) and computer program products according to the embodiments of the present application. It is understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal devices to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal devices, create means for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.

[0186] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal devices to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.

[0187] These computer program instructions can also be loaded into a computer or other programmable data processing terminal devices, such that a series of operational steps are carried out on the computer or other programmable terminal devices to produce a computer implemented process so that the instructions executed on the computer or other programmable terminal devices provide steps for implementing the functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams. Figure 1 one or more functions specified in the flowchart illustrations and / or block diagrams.

[0188] Although the preferred embodiments of the present application have been described, those skilled in the art will be able to make additional modifications and variations to these embodiments once they have the benefit of the foregoing description. Accordingly, it is intended that the appended claims be construed to include all such modifications and variations as fall within the scope of the embodiments of the present application.

[0189] Finally, it is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting; it is not intended to exclude myriad other embodiments of the present application that other inventors can develop based on the same general inventive concepts embodied by the described embodiments. That is, although the present application is described in terms of particular embodiments and implementations, it is to be understood that the terminology used is for the purpose of descriptive clarity and that it should be taken in its broadest possible sense. For example, the terms "process," "method," "procedure," and techniques can include a sequence of steps, which can be wholly or partially performed automatically (e.g., as in an automated process) or performed on the user's behalf (e.g., by a device).

[0190] The above provides a kind of virtual equipment processing method and device, electronic equipment and storage medium provided by the present application, are introduced in detail, the principle and implementation mode of the present application are described in this paper, the above example is only for helping understanding the method of the present application and its core idea;For the person skilled in the art, according to the idea of the present application, there will be changes in specific implementation mode and application range, as described above, the content of the specification should not be understood as the limitation of the present application.

Claims

1. A method for processing virtual equipment, characterized in that, The method comprises executing an application on the processor of a terminal device and rendering a graphical user interface on the touch screen of the terminal device, the method including: The virtual equipment is displayed through the graphical user interface. In response to a first sliding operation targeting a virtual device in the virtual equipment, the target virtual device is identified as a pre-ordered virtual device of a first virtual object; the first sliding operation is an operation in which the sliding start point is located at the position of the target virtual device and the sliding end point disappears within a first preset position range; In response to the second sliding operation for the target virtual equipment, if the current virtual resources of the first virtual object are greater than or equal to the purchase resources required to purchase the target virtual equipment, then the target virtual equipment is determined as the purchased virtual equipment of the first virtual object; the second sliding operation is an operation in which the sliding start point is at the location of the target virtual equipment and the sliding end point disappears when it is within a second preset position range; Wherein, both the first preset location range and the second preset location range are areas related to the location of the target virtual equipment. The distance between a location point within the first preset location range and the location of the target virtual equipment is less than the distance between a location point within the second preset location range and the location of the target virtual equipment. The first preset location range and the second preset location range are continuous.

2. The method according to claim 1, characterized in that, Following the second sliding operation in response to the target virtual device, the method further includes: If the current virtual resources of the first virtual object are less than the purchase resources required to purchase the target virtual equipment, then the target virtual equipment is identified as the pre-purchased virtual equipment of the first virtual object, or a purchase failure message is displayed.

3. The method according to claim 2, characterized in that, The step of determining the target virtual equipment as a pre-ordered virtual equipment of the first virtual object in response to a first sliding operation on the target virtual equipment in the virtual equipment includes: In response to the touch point moving from the location of the target virtual equipment to a first preset location range, pre-order information is displayed at the corresponding position within the first preset location range, the pre-order information being used to indicate the pre-order of the target virtual equipment; In response to the touch point disappearing within the first preset position range, the target virtual equipment is identified as the pre-purchased virtual equipment of the first virtual object.

4. The method according to claim 3, characterized in that, The response to the touch point moving from the location of the target virtual device to a first preset location range, displaying pre-order information at a corresponding position within the first preset location range, includes: In response to the touch point moving from the location of the target virtual device to a first preset position range at a speed within a first speed range, pre-order information is displayed at the corresponding position within the first preset position range.

5. The method according to claim 3, characterized in that, In response to the second sliding operation for the target virtual equipment, if the current virtual resources of the first virtual object are greater than or equal to the purchase resources required to purchase the target virtual equipment, then the target virtual equipment is determined as the purchased virtual equipment of the first virtual object, including: In response to the touch point moving from the location of the target virtual device to a second preset location range, if the current virtual resources of the first virtual object are greater than or equal to the purchase resources required to purchase the target virtual device, purchase information is displayed at the corresponding position within the second preset location range, and the purchase information is used to indicate the purchase of the target virtual device. In response to the touch point disappearing within the second preset position range, the target virtual device is determined as the purchased virtual device of the first virtual object.

6. The method according to claim 5, characterized in that, The response after the touch point moves from the location of the target virtual device to a second preset position range further includes: If the current virtual resources of the first virtual object are less than the purchase resources required to purchase the target virtual equipment, then the purchase information is displayed in gray within the second preset position range; In response to the touch point disappearing within the second preset position range, the target virtual equipment is identified as the pre-ordered virtual equipment of the first virtual object, or a purchase failure message is displayed.

7. The method according to claim 6, characterized in that, The response to the touch point moving from the location of the target virtual device to a second preset position range includes: In response to the touch point moving from the location of the target virtual device to a second preset position range at a speed within a second speed range.

8. The method according to claim 2, characterized in that, The step of determining the target virtual equipment as a pre-ordered virtual equipment of the first virtual object in response to a first sliding operation on the target virtual equipment in the virtual equipment includes: In response to the touch point being located at the location of the target virtual equipment, pre-order information is displayed at the corresponding position within a first preset position range, the pre-order information being used to indicate the pre-order of the target virtual equipment; When the touch point disappears from the location of the target virtual device to the first preset location range, the target virtual device is identified as the pre-purchased virtual device of the first virtual object.

9. The method according to claim 8, characterized in that, In response to the second sliding operation for the target virtual equipment, if the current virtual resources of the first virtual object are greater than or equal to the purchase resources required to purchase the target virtual equipment, then the target virtual equipment is determined as the purchased virtual equipment of the first virtual object, including: In response to the touch point being located at the target virtual equipment, if the current virtual resources of the first virtual object are greater than or equal to the purchase resources required to purchase the target virtual equipment, purchase information is displayed at the corresponding position within the second preset position range, and the purchase information is used to indicate the purchase of the target virtual equipment. When the touch point disappears from the location of the target virtual device to the second preset location range, the target virtual device is determined as the purchased virtual device of the first virtual object.

10. The method according to claim 9, characterized in that, The response after the touch point is located at the location of the target virtual device further includes: If the current virtual resources of the first virtual object are less than the purchase resources required to purchase the target virtual equipment, then the purchase information is displayed in gray at the corresponding position within the second preset position range; When the touch point disappears from the location of the target virtual device to the second preset location range, the target virtual device is identified as the pre-purchased virtual device of the first virtual object, or a purchase failure prompt message is displayed.

11. The method according to any one of claims 3-10, characterized in that, The distance between a location point within the second preset location range and the location of the target virtual equipment is greater than the distance between a location point within the first preset location range and the location of the target virtual equipment.

12. The method according to any one of claims 1-10, characterized in that, The method of identifying the target virtual equipment as the first virtual object for pre-ordered virtual equipment further includes: When the current virtual resources of the first virtual object are less than the purchase resources required to purchase the target virtual equipment, a first message is sent to a second virtual object of the same faction as the first virtual object. The first message includes information about the first virtual object's pre-purchase of the target virtual equipment and / or information about the difference between the purchase resources and the current resources.

13. The method according to any one of claims 1-10, characterized in that, The method further includes: In response to a third swipe operation targeting a target virtual device in the virtual equipment, the target virtual device is recommended to a second virtual device belonging to the same faction as the first virtual device; the direction of movement of the third swipe operation is opposite to the direction of movement of the first swipe operation.

14. The method according to any one of claims 1-10, characterized in that, The step of determining the target virtual equipment as the purchased virtual equipment of the first virtual object further includes: Send a second message to a second virtual object that is in the same faction as the first virtual object. The second message includes information about the first virtual object purchasing the target virtual equipment.

15. The method according to any one of claims 1-10, characterized in that, After determining the target virtual equipment as the purchased virtual equipment of the first virtual object, the method further includes: In response to a fourth swipe operation on the purchased virtual equipment, a third message is sent to a second virtual object belonging to the same faction as the first virtual object. The third message includes information about the first virtual object purchasing the purchased virtual equipment. The direction of the fourth swipe operation is opposite to the direction of the second swipe operation.

16. The method according to any one of claims 1-10, characterized in that, The method of identifying the target virtual equipment as the first virtual object for pre-ordered virtual equipment further includes: When the first pre-ordered virtual equipment already exists in the pre-ordered virtual equipment of the first virtual object, the target virtual equipment is determined as the second pre-ordered virtual equipment whose purchase order takes precedence over the purchase order of the first pre-ordered virtual equipment; or... When the first virtual object already contains a first pre-ordered virtual equipment, the target virtual equipment is determined as the second pre-ordered virtual equipment whose purchase order is after that of the first pre-ordered virtual equipment. When the first pre-ordered virtual equipment already exists in the pre-ordered virtual equipment of the first virtual object, the first pre-ordered virtual equipment is replaced by the target virtual equipment.

17. A processing device for virtual equipment, characterized in that, The apparatus includes a graphical user interface that executes an application on the processor of a terminal device and renders it on the touchscreen display of the terminal device. A virtual equipment display module is used to display virtual equipment through the graphical user interface. The pre-order virtual equipment module is used to respond to a first sliding operation for a target virtual equipment in the virtual equipment, and to determine the target virtual equipment as the pre-order virtual equipment of the first virtual object; the first sliding operation is an operation in which the sliding starting point is located at the position of the target virtual equipment and the sliding ending point disappears within a first preset position range; The virtual equipment purchase module is used to respond to a second sliding operation for the target virtual equipment. If the current virtual resources of the first virtual object are greater than or equal to the purchase resources required to purchase the target virtual equipment, then the target virtual equipment is determined as the purchased virtual equipment of the first virtual object. The second sliding operation is an operation in which the sliding start point is at the location of the target virtual equipment and the sliding end point disappears when it is within a second preset position range. Wherein, both the first preset location range and the second preset location range are areas related to the location of the target virtual equipment. The distance between a location point within the first preset location range and the location of the target virtual equipment is less than the distance between a location point within the second preset location range and the location of the target virtual equipment. The first preset location range and the second preset location range are continuous.

18. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the processing method for the virtual equipment as described in any one of claims 1 to 16.

19. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the steps of the processing method for virtual equipment as described in any one of claims 1 to 16.

Citation Information

Patent Citations

  • Method and device for processing object

    CN103870156A

  • Game equipment replacement method and device, storage medium and electronic equipment

    CN113426122A

  • Processing method and device of virtual equipment in game, electronic equipment and storage medium

    CN114570030A