Virtual item processing method, apparatus, storage medium, and electronic device
By displaying target body parts for virtual treatment items in a graphical user interface, the method addresses the challenges of precise drag operations, enhancing accuracy and convenience in using virtual therapeutic items across different gaming platforms.
Patent Information
- Application Number
- JP2025500808
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-07-08
- Filing Date
- 2023-02-03
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2043-02-03
AI Technical Summary
Existing gaming technologies face challenges in accurately and efficiently using virtual therapeutic items due to the need for precise drag operations, especially in games controlled by sticks or steering wheels, leading to high difficulty and low accuracy.
A method that displays a graphical user interface showing target body parts where virtual treatment items can be used, allowing players to select these parts through intuitive control operations, reducing the need for precise dragging and enhancing accuracy and convenience.
This method improves the accuracy and convenience of using virtual treatment items by enabling intuitive selection of target body parts, reducing operational difficulty, and expanding compatibility across various game platforms.
Smart Images

Figure 2025525491000001_ABST
Abstract
Description
Cross-Citation of Related Applications
[0001] This disclosure claims priority to a Chinese patent application entitled "Method, Apparatus, Storage Medium and Electronic Device for Processing Virtual Items," filed on July 8, 2022, with application number 202210806246.2, the entire contents of which are incorporated herein by reference. [Technical Field]
[0002] The present disclosure relates to the field of gaming technology, and in particular to a method for processing a virtual item, a device for processing a virtual item, a computer-readable storage medium, and an electronic device. [Background technology]
[0003] In some games, the amount of blood, injuries, etc. of the virtual controlled object in the game scene are not calculated in an integrated manner, but the body of the virtual controlled object is divided into several parts, and if a local part of the virtual controlled object is injured, treatment of that local part of the virtual controlled object can be allowed.
[0004] In related art, when treating a localized area of a virtual control object, treatment is usually performed by dragging a virtual treatment item to a specific area of the virtual control object model. However, this method adopted in related art requires a certain degree of operation precision, and the virtual treatment item can only be accurately dragged to the required treatment area to complete the corresponding treatment, requiring the game player to operate a long path and repeatedly move between the virtual medicine list and the virtual control object model. For games controlled by a stick or steering wheel, the use of virtual treatment items is difficult and the precision is low.
[0005] It should be noted that the information disclosed in the above background art section is used only to enhance understanding of the background of the present disclosure and may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0006] The present disclosure provides a method for processing a virtual item, a processing device for a virtual item, a computer-readable storage medium and an electronic device, and further solves, at least to a certain extent, the problems of high difficulty and low accuracy in using virtual therapeutic items in the related art.
[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0008] A first aspect of the present application provides a method for processing a virtual item, the method including: displaying a graphical user interface corresponding to a virtual control object corresponding to a terminal device; receiving a first control operation on a virtual treatment item via the graphical user interface; determining a target virtual treatment item in response to the first control operation acting on the virtual treatment item; displaying at least one target body part of the virtual control object corresponding to the target virtual treatment item in the graphical user interface, the virtual control object including a plurality of body parts, the target body part being a body part at which the target virtual treatment item can be used; and determining a target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part; and consuming the target virtual treatment item to perform a game effect corresponding to the target virtual treatment item on the target body part.
[0009] In an exemplary embodiment of the present disclosure, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface includes displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object based on a display position of the target virtual treatment item in the graphical user interface.
[0010] In an exemplary embodiment of the present disclosure, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface includes displaying an object model corresponding to the virtual control object in the graphical user interface, and displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the object model corresponding to the virtual control object.
[0011] In an exemplary embodiment of the present disclosure, the virtual therapeutic item includes either a virtual therapeutic item possessed by the virtual control subject or a virtual therapeutic item dispersed in a virtual game scene.
[0012] In an exemplary embodiment of the present disclosure, when there are multiple target body parts corresponding to the target virtual treatment item in the virtual control object, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface includes sorting the multiple target body parts corresponding to the target virtual treatment item in the virtual control object to obtain a target sort order, and displaying the multiple target body parts corresponding to the target virtual treatment item in the virtual control object in the graphical user interface according to the target sort order.
[0013] In an exemplary embodiment of the present disclosure, sorting a plurality of target body parts corresponding to the target virtual treatment items in the virtual control object to obtain a target sort order includes sorting target injured body parts corresponding to the target virtual treatment items in the virtual control object to obtain a target sort order, wherein the target injured body parts are injured body parts among the target body parts.
[0014] In an exemplary embodiment of the present disclosure, sorting target injured body parts corresponding to the target virtual treatment items in the virtual control object to obtain a target sort order includes sorting the target injured body parts according to the severity of injury corresponding to the target injured body parts to obtain a target sort order.
[0015] In an exemplary embodiment of the present disclosure, sorting the target injured body parts according to the severity of injury corresponding to the target injured body parts includes sorting body parts with the same severity of injury in the target injured body parts according to injury type.
[0016] In an exemplary embodiment of the present disclosure, before sorting the target injured body parts according to the severity of injury corresponding to the target injured body parts and obtaining a target sorting order, the method further includes determining the severity of injury corresponding to the target injured body parts based on the current residual blood volume value and total blood volume value corresponding to the target injured body parts.
[0017] In an exemplary embodiment of the present disclosure, after determining the target virtual treatment item, the method further includes displaying at least one of an injury type, a current residual blood volume value, and a total blood volume value of the target injured body part on the graphical user interface.
[0018] In an exemplary embodiment of the present disclosure, consuming the target virtual treatment item to perform a game effect corresponding to the target virtual treatment item on the treated body part includes updating a current remaining blood volume value corresponding to the treated body part based on a treatment value of the target virtual treatment item until the current remaining blood volume value corresponding to the treated body part reaches a total blood volume value or the target virtual treatment item is depleted.
[0019] In an exemplary embodiment of the present disclosure, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface includes displaying a sub-interface in the graphical user interface, the sub-interface including a part entry for the at least one target body part, and determining a treatment target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part includes determining a treatment target body part of the virtual control object from the at least one target body part in response to a third control operation on a part entry in the sub-interface.
[0020] In an exemplary embodiment of the present disclosure, the sub-interface further includes all treatment entries, and determining a target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part includes making all target injured body parts the target body parts of the virtual control object in response to a fourth control operation on all treatment entries, and the target injured body parts are injured body parts among the target body parts.
[0021] A second aspect of the present application provides a virtual item processing device including a first control operation receiving module, a target body part display module, and a virtual treatment item using module, wherein the first control operation receiving module is configured to display a graphical user interface corresponding to a virtual control object corresponding to a terminal device and receive a first control operation on the virtual treatment item via the graphical user interface, the target body part display module is configured to determine a target virtual treatment item in response to the first control operation acting on the virtual treatment item and display at least one target body part of the virtual control object corresponding to the target virtual treatment item in the graphical user interface, the virtual control object including a plurality of body parts, the target body part being a part at which the target virtual treatment item can be used, and the virtual treatment item using module is configured to determine a target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part, and consume the target virtual treatment item to perform a game effect corresponding to the target virtual treatment item on the target body part.
[0022] A third aspect of the present disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, realizes the above-described method for processing virtual items.
[0023] A fourth aspect of the present disclosure provides an electronic device including a processor and a memory for storing executable instructions for the processor, the processor performing the method for processing the virtual item by executing the executable instructions.
[0024] The technical solution of the present disclosure has the following beneficial effects:
[0025] In the virtual item processing process, a graphical user interface corresponding to a virtual control object corresponding to the terminal device is displayed, a first control operation on the virtual treatment item is received through the graphical user interface, a target virtual treatment item is determined in response to the first control operation acting on the virtual treatment item, and at least one target body part of the virtual control object corresponding to the target virtual treatment item is displayed on the graphical user interface, the virtual control object includes multiple body parts, and the target body part is a part using the target virtual treatment item. In response to a second control operation on the at least one target body part, a target body part of the virtual control object is determined from the at least one target body part, and the target virtual treatment item is consumed to perform a game effect corresponding to the target virtual treatment item on the target body part. By selecting the target body part from the target body parts that can use the target virtual treatment item, accurate use of the target virtual treatment item is achieved, and the target model of the virtual object does not need to rely on difficult drag operations on the virtual treatment item. This reduces the difficulty of using the virtual treatment item, improves the accuracy and convenience of using the virtual treatment item, and allows for a wider range of applicable game types and stronger compatibility. On the other hand, by displaying the target body parts on which the target virtual treatment item can be used in the graphical user interface, the player can intuitively understand the body parts on which the target virtual treatment item can be used, thereby assisting the player in making a decision to use the target virtual treatment item, and further reducing the time the player spends in the process of using the target virtual treatment item, thereby accelerating the progress of the game.
[0026] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. [Brief explanation of the drawings]
[0027] The drawings are incorporated into the specification, are suitable for embodiments of the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the drawings in the following description are merely some embodiments of the present disclosure, and those skilled in the art can obtain other drawings based on these drawings without paying creative labor. [Figure 1] 1A-1C illustrate example interfaces for use of virtual treatment items in the related art. [Figure 2] 10 is a flowchart illustrating a method for processing virtual items in the present embodiment. [Figure 3] 10A and 10B are diagrams illustrating examples of display of target body parts in this embodiment. [Figure 4] 10A and 10B are diagrams showing examples of displaying target body parts present in a target model scene in this embodiment. [Figure 5] 10A and 10B are diagrams showing examples of display of a target injured body part in this embodiment. [Figure 6] FIG. 10 shows an example display of a target injured body part including all treatment entries in the present embodiment. [Figure 7] FIG. 10 is a diagram showing an example of display of a body part to be processed in this embodiment. [Figure 8] 10 is a flowchart illustrating a preferred embodiment of a method for processing the virtual items described above in this embodiment. [Figure 9] FIG. 2 is a block diagram illustrating the configuration of a virtual item processing device according to the present embodiment. [Figure 10] FIG. 1 is a diagram illustrating an electronic device for implementing the above-described method for processing virtual items in this embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0028] Next, exemplary embodiments will be described in more detail with reference to the drawings. However, the exemplary embodiments may be embodied in various forms and should not be understood as being limited to the examples described herein. On the contrary, these embodiments are provided to make the present disclosure more comprehensive and complete and to fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be incorporated into one or more embodiments in any suitable manner. In the following description, numerous specific details are provided to provide a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will recognize that the technical aspects of the present disclosure can be implemented without one or more of the specific details, or that other methods, components, devices, steps, etc. can be employed. In other cases, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0029] Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings indicate the same or similar parts, and redundant description will be omitted. Some of the block diagrams shown in the drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor and / or microcontroller devices.
[0030] In related art, when treating a localized area of a virtual control subject, it is common to drag a virtual treatment item to a specific area of a torso model of the virtual control subject, as shown in FIG. 1. If the torso area is more severely injured or has multiple injured areas, it is difficult to complete treatment for that area with a single drag, and multiple drag operations are required. This requires a long operation path for game players, is difficult to use the virtual treatment item, and has low accuracy, and is not applicable to game interfaces where a virtual torso model of the control subject does not appear but treatment is required. In particular, for games that use controls such as levers or handles, drag operations are necessarily converted into operations to control a cursor using the lever or handle, and certain operating skills are required to quickly and accurately position the cursor at a specific position using the lever or handle, significantly increasing the difficulty of operation for game players.
[0031] In view of one or more of the above problems, exemplary embodiments of the present disclosure provide a highly compatible virtual item processing method that can be applied to virtual game scenes of games using virtual therapeutic items, and can simultaneously meet the development needs of different game platforms, such as game platforms for mobile phone terminals, PC (Personal Computer) terminals, and host terminals.
[0032] In one embodiment of the present disclosure, the virtual item processing method can be executed on a local terminal device or a server. If the virtual item processing method is executed on a server, the virtual item processing method can be implemented and executed based on a cloud interaction system including a server and a client device.
[0033] In an optional embodiment, various cloud applications, such as cloud games, can be executed under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game execution mode, the execution entity of the game program and the presentation entity of the game screen are separated, the storage and execution of the virtual item processing method are performed on the cloud game server, and the role of the client device is to receive and transmit data and present the game screen. For example, the client device is a display device with data transmission capabilities close to the user, such as a mobile terminal, television, computer, or handheld computer, but the virtual item processing is performed by the cloud game server. When playing a game, the player operates the client device to send operation commands to the cloud game server, and the cloud game server executes the game based on the operation commands, encodes and compresses data such as game screens, returns the data to the client device via the network, and finally decodes and outputs the game screens via the client device.
[0034] In an optional embodiment, the local terminal device stores a game program and renders a game screen, e.g., a game. The local terminal device is used to interact with a player via a graphical user interface. That is, a game program is conventionally downloaded, installed, and executed via an electronic device. The local terminal device may provide the graphical user interface to the player in various ways, such as by rendering the interface on a display screen of the terminal or by projection mapping. For example, the local terminal device may include a display and a processor for presenting a graphical user interface, including a game screen, for executing the game, generating the graphical user interface, and controlling the display of the graphical user interface.
[0035] In this embodiment, as shown in FIG. 2, specifically, a method for processing a virtual item is provided, which includes the following steps S210 to S230.
[0036] In step S210, display a graphical user interface corresponding to a virtual control object corresponding to the terminal device, and receive a first control operation for the virtual treatment item through the graphical user interface; In step S220, in response to a first control operation acting on the virtual treatment item, a target virtual treatment item is determined, and at least one target body part corresponding to the target virtual treatment item in the virtual control object is displayed in the graphical user interface, the virtual control object including a plurality of body parts, and the target body part is a part where the target virtual treatment item is used; In step S230, in response to a second control operation on the at least one target body part, a treatment target body part of the virtual control object is determined from the at least one target body part, and a target virtual treatment item is consumed to perform a game effect corresponding to the target virtual treatment item on the treatment target body part.
[0037] In the above-mentioned virtual item processing process, by selecting a target body part from among target body parts that can use the target virtual therapeutic item, the accurate use of the target virtual therapeutic item can be achieved, and the target model of the virtual object does not need to rely on difficult drag operations on the virtual therapeutic item, which reduces the difficulty of using the virtual therapeutic item, improves the accuracy and convenience of using the virtual therapeutic item, and is applicable to a wider range of game types and has stronger compatibility. Meanwhile, by displaying the target body parts that can use the target virtual therapeutic item in the graphical user interface, the player can intuitively understand the body parts that can use the target virtual therapeutic item, thereby helping the player make a decision on using the target virtual therapeutic item, and further reducing the time spent by the player in the process of using the target virtual therapeutic item, accelerating the progress of the game.
[0038] In this disclosure, a virtual control object refers to a controllable dynamic object in a virtual game scene. A game player can control the virtual control object's movement within the virtual game scene, for example, by controlling the virtual control object's running, jumping, crawling, etc., and can also control the virtual control object's combat with other virtual objects using skills and virtual weapon items provided by the application. Furthermore, the virtual control object's blood volume, injuries, etc. are not calculated in an integrated manner; instead, the virtual control object's torso model may be divided into several body parts, with each body part having its own independent blood volume value. If one or more body parts of the virtual control object are injured, the virtual control object may be allowed to perform an appropriate treatment for the injured body parts. Furthermore, the blood volume of different body parts of the virtual control object may differ, and the importance of different body parts may also differ. For example, an injury to the leg only affects the virtual control object's movement speed, while an injury to the head directly kills the virtual control object.
[0039] Each step is explained in detail in FIG.
[0040] In step S210, a graphical user interface corresponding to a virtual control object corresponding to a terminal device is displayed, and a first control operation for the virtual treatment item is received via the graphical user interface.
[0041] The virtual therapeutic items include either virtual therapeutic items possessed by the virtual control subject or virtual therapeutic items dispersed in the virtual game scene.
[0042] The first control operation may be a click operation on a virtual therapeutic item held by the virtual control subject or on a virtual therapeutic item dispersed in the virtual game scene.
[0043] Illustratively, as shown in the virtual therapeutic items shown in warehouse 301 in FIG. 3, a click operation by a game player on a virtual therapeutic item owned by a virtual control subject can be received via a graphical user interface, and a subsequent response can be made.
[0044] Illustratively, a game player's clicks on virtual therapeutic items distributed in the virtual game scene may be received via a graphical user interface for subsequent responses.
[0045] In step S220, in response to a first control operation acting on the virtual treatment item, a target virtual treatment item is determined, and at least one target body part corresponding to the target virtual treatment item in the virtual control object is displayed in the graphical user interface, where the virtual control object includes multiple body parts, and the target body part is a part where the target virtual treatment item can be used.
[0046] Taking a mobile phone game platform as an example, a player can click on a virtual medical item to make it the target virtual medical item.
[0047] Taking a PC-side game platform as an example, when the mouse marker is hovering over a virtual treatment item, this virtual treatment item can be made the target virtual treatment item in response to a game player's mouse press.
[0048] Taking the host gaming platform as an example, when the hover frame is hovering over a virtual treatment item, the player can respond by pressing the triangle key to make this virtual treatment item the target virtual treatment item.
[0049] Illustratively, as shown in FIG. 3, by clicking on a virtual treatment item 302 displayed in a warehouse 301, the virtual treatment item 302 can be set as a target virtual treatment item.
[0050] The virtual control object may include multiple body parts. For example, the virtual control object may be divided into several body parts, such as a head, a left arm, a right arm, a chest cavity, and a right leg. Note that the division of the body parts of the virtual object here is merely an exemplary explanation, and the present disclosure does not specifically limit the body parts included in the virtual control object.
[0051] The target virtual treatment item refers to the object on which the first control operation acts, and the target body part refers to the body part on which the target virtual treatment item can be used under the divided structure of the torso model of the virtual controlled object. As shown in list 303 in Figure 3, when the virtual treatment item 302 is selected as the target virtual treatment item, the body parts on the virtual object on which the virtual treatment item 302 can be used can be displayed in the graphical user interface.
[0052] In an optional embodiment, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface may further be achieved by the following steps: displaying a sub-interface in the graphical user interface, the sub-interface including a part entry for the at least one target body part. For example, FIG. 3 shows multiple body part entries included in list 303.
[0053] The above steps display the target body part corresponding to the target virtual treatment item in the form of a part entry, so that the target virtual treatment item can further break away from the dependency on the object model of the virtual control object during use, broaden the range of applicable game types, and make the compatibility stronger.
[0054] In any embodiment, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface can further be achieved by the following steps: displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object based on the display position of the target virtual treatment item in the graphical user interface.
[0055] As shown in the list 303 of FIG. 3, when a virtual treatment item 302 is selected as a target virtual treatment item, a target body part corresponding to the target virtual treatment item is displayed near the virtual treatment item 302 to facilitate the next control operation.
[0056] In any embodiment, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface can further be achieved by the following steps: displaying an object model corresponding to the virtual control object in the graphical user interface; and displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the object model corresponding to the virtual control object.
[0057] As shown in FIG. 4, a target model 401 of a virtual control object is displayed on the graphical user interface, and a target body part corresponding to a target virtual treatment item is displayed on the target model 401 of the virtual control object, thereby making the target body part visible and further enhancing the visual presentation effect.
[0058] In any embodiment, when there are multiple target body parts corresponding to target virtual treatment items in the virtual control object, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface can further be realized by the following steps: sorting the multiple target body parts corresponding to the target virtual treatment items in the virtual control object, obtaining a target sort order, and displaying the multiple target body parts corresponding to the target virtual treatment items in the virtual control object in the graphical user interface according to the target sort order.
[0059] In such a process, sorting the target body parts allows the player to more intuitively compare the injury status of each target body part of the virtual control subject, in order to prioritize treatment of the more severely injured parts.
[0060] Additionally, since currently uninjured parts of the virtual controlled object do not require further treatment, the currently uninjured body parts among these target body parts may be filtered out before sorting the target body parts for which the target virtual treatment item can be used.
[0061] In any embodiment, sorting multiple target body parts corresponding to target virtual treatment items in a virtual control object and obtaining a target sorting order can be achieved by the following steps: sorting target injured body parts corresponding to target virtual treatment items in a virtual control object and obtaining a target sorting order, and the target injured body parts are injured body parts among the target body parts.
[0062] Illustratively, as shown in list 501 in Fig. 5, target injury locations corresponding to target virtual treatment items in the virtual control object are sorted, and non-injured body parts among the target injury locations are not sorted or displayed. In the above steps, by filtering out non-injured body parts among the target body locations of the virtual control object, the information displayed in the interface can be further simplified to minimize visual interference to the user caused by invalid information.
[0063] When sorting target injury sites, the injury sites that the target virtual treatment items can treat can be sorted based on one or more parameters such as the severity of the injury corresponding to the target injury site, the importance of the site, and the length of time of the injury.
[0064] In any embodiment, sorting the target injured body parts corresponding to the target virtual treatment items in the above virtual control object and obtaining a target sorting order can be achieved by the following steps: sorting the target injured body parts based on the severity of injury corresponding to the target injured body parts and obtaining a target sorting order.
[0065] The amount of blood lost by an injured body part can be used to indicate the severity of the injury of the injured body part, with a larger amount of blood lost indicating a higher severity of the injury and a smaller amount of blood lost indicating a lower severity of the injury. The current remaining blood volume value of the injured body part can also be used to indicate the severity of the injury of that injured body part, with a larger current remaining blood volume value indicating a lower severity of the injury and a smaller current remaining blood volume value indicating a higher severity of the injury. For example, as shown in list 501 of FIG. 5, the left arm and right leg have lower remaining blood volume values and are sorted higher. In actual application, developers can specifically set parameters indicating the severity of the injury, and no specific limitations are provided here.
[0066] For a game player, the more severe the injury, the more urgently the player needs to use a virtual treatment item. Therefore, by sorting the injury areas based on the severity of the injury, the game player can reduce the time it takes to determine which injured body area needs treatment, which is advantageous for speeding up the game progress.
[0067] In any embodiment, if there are body parts with the same injury severity as the target injured body parts, sorting the target injured body parts based on the injury severity corresponding to the target injured body parts can further be achieved by the following steps: sorting the body parts among the target injured body parts with the same injury severity according to injury type.
[0068] The injury type of the target injured body part can be, for example, a loss-of-life injury such as a fracture, bleeding, etc. For example, as shown in list 501 in Figure 5, if the residual blood volume values of the right arm and the thoracic cavity are the same, the right arm will have two loss-of-life injuries, namely, a fracture and bleeding, and the thoracic cavity will have one loss-of-life injury, namely, bleeding. In this case, the right arm can be sorted higher than the thoracic cavity.
[0069] Generally, when the target injury site of the virtual control subject has many injury types, the influence of the virtual control subject's behavior in the virtual game scene will be relatively large. In the above step, the target sorting order is further optimized based on the injury type of the target injury site, and then when treatment is performed using the target virtual treatment item, it will be more in line with the game player's behavioral habits and further assist the game player's game decision-making.
[0070] Furthermore, if there are other body parts with the same injury severity among the target injured body parts, the body parts with the same injury severity can be sorted according to the importance of the part. For example, if the residual blood volume values of the right arm and the thoracic cavity are the same, the thoracic cavity is more important than the arm for the virtual control object, so the thoracic cavity can be sorted higher than the right arm.
[0071] If there are body parts that have been injured to the same degree among the target injured body parts, the body parts that have been injured to the same degree can also be sorted according to the duration of the injury. For example, if the residual blood volume values of the right arm and the thoracic cavity are the same and the duration of the injury of the thoracic cavity is longer than the duration of the injury of the right arm, the thoracic cavity can be sorted higher than the right arm.
[0072] In addition, in the actual application process, the basis for sorting body parts with the same injury severity can be specifically set by the developer based on actual needs, and is not specifically limited here.
[0073] In any embodiment, before sorting the target injured body parts according to the severity of the injury corresponding to the target injured body parts and obtaining the target sorting order, the severity of the injury corresponding to the target injured body parts can be further determined based on the current residual blood volume value and total blood volume value corresponding to the target injured body parts.
[0074] For example, the severity of the injury corresponding to the injured site can be indicated by subtracting the ratio of the current remaining blood volume value to the total blood volume value from 1.
[0075] The above process quantifies the injury severity corresponding to the target injured body part based on the blood volume value, sorts the target injured body part more accurately, and further assists the game player in making game decisions.
[0076] In an optional embodiment, after determining the target virtual treatment item, one or more of the injury type, current residual blood volume value, and total blood volume value of the target injured body part may also be displayed in the graphical user interface.
[0077] As shown in FIG. 3, a blood volume mark 304 of “current remaining blood volume value / total blood volume value” and an injury mark 305 corresponding to the injury type of the target injured body part are displayed in a list 303, visually presenting the current specific injury status of the virtual control object to the game player for further game decisions.
[0078] Continuing to refer to FIG. 2, after displaying the target body parts in the graphical user interface, the player may further select the target body parts displayed in the graphical user interface.
[0079] In step S230, in response to a second control operation on the at least one target body part, a treatment target body part of the virtual control object is determined from the at least one target body part, and a target virtual treatment item is consumed to perform a game effect corresponding to the target virtual treatment item on the treatment target body part.
[0080] Taking a mobile phone game platform as an example, in response to a game player's touch operation on a target body part, the target body part is designated as a body part to be processed.
[0081] Taking a PC game platform as an example, when the mouse marker is floating over a certain target body part, in response to the game player's mouse press operation, that target body part becomes the body part to be processed.
[0082] Taking the host game platform as an example, the player controls the movement of the hover frame by pressing the up / down / left / right buttons on the directional pad or by rocking the rocker bar, and when the hover frame is hovering over a target body part, the player presses the triangle key to make that target body part the body part to be processed.
[0083] The second control operation may be a target body part or a click operation on the target body part among the target body parts. The body part to be processed refers to the object on which the second control operation acts, and the object on which the second control operation acts may be one or more, and may be specifically set according to actual needs, and is not specifically limited herein.
[0084] In an optional embodiment, in response to a second control operation on at least one target body part, a body part to be processed of the virtual control object is determined from the at least one target body part, which can be realized by the following steps: in response to a third control operation on a part entry of the sub-interface, a body part to be processed of the virtual control object is determined from the at least one target body part.
[0085] The third control operation may be a click operation on a part entry for the target body part or the target injured body part, and the body part corresponding to the part entry on which the third control operation acts is the body part to be processed, further realizing accurate use of the target virtual treatment item, and eliminating the need for the object model of the virtual object to perform a difficult drag operation on the virtual treatment item, thereby further reducing the difficulty of using the virtual treatment item.
[0086] The second control operation or the third control operation can be used to select one or more of the target body parts to be treated from the target body parts. If the player specifies multiple target body parts to be treated by the second control operation, the recovery efficiency of the body parts can be further improved by treating these target body parts collectively.
[0087] In any embodiment, the sub-interface further includes all treatment entries, and determining the target body part of the virtual control object from at least one target body part in response to the second control operation on at least one target body part can be achieved by the following steps: in response to a fourth control operation on all treatment entries, all target injured body parts are set as target body parts of the virtual control object, and the target injured body part is the injured body part among the target body parts.
[0088] The fourth control operation may be a click operation on all treatment entries. As shown in Fig. 6, a "Treat All" entry 601 can also be set in the graphical user interface. By clicking the "Treat All" entry in the graphical user interface list, the target body part or the target injured part in the target body part can be set as the body part to be treated, thereby further improving the usability of the target virtual treatment item.
[0089] In any embodiment, consuming a target virtual treatment item to execute a game effect corresponding to the target virtual treatment item on a treated body part can be achieved by the following steps: updating a current remaining blood volume value corresponding to the treated body part based on the treatment value of the target virtual treatment item until the current remaining blood volume value corresponding to the treated body part reaches a total blood volume value or the target virtual treatment item is depleted.
[0090] The treatment value of the target virtual treatment item can indicate the blood volume value that one target virtual treatment item can increase for the treated body part, and each consumption of one quantity of the target virtual treatment item can increase the blood volume value corresponding to the current blood volume value of the treated body part.
[0091] In the above process, by continuously consuming the target virtual medical item, a treatment corresponding to the target body part is performed, for example, the blood volume of the target body part is restored. The game player does not need to repeatedly drag or click the target virtual medical item to perform treatment, which simplifies the operation of using the virtual medical item, further improves the use efficiency of the virtual medical item, and speeds up the progress of the game.
[0092] In any embodiment, when the virtual control object has multiple treatment target body parts, consuming the above-mentioned target virtual treatment item to perform the game effect corresponding to the target virtual treatment item on the treatment target body part can further be realized by the following steps: consuming the target virtual treatment item according to the target sorting order to treat the multiple treatment target body parts of the virtual control object in sequence.
[0093] By treating the target body parts according to the target sorting order, it is possible to treat all injured parts of the virtual control object at once, which not only simplifies the player's operation but also enables prioritized treatment of the target body parts, allowing the most severely injured body parts to be treated first, thereby reducing the player's burden of game decision-making to some extent.
[0094] Furthermore, if the virtual control object has multiple body parts to be treated, the injury duration of these body parts to be treated can be calculated, and the target virtual treatment item can be consumed to treat these body parts to be treated sequentially in accordance with the order of the injury duration of these body parts to be treated.
[0095] If the virtual control object has multiple body parts to be treated, these body parts can be treated sequentially by consuming target virtual treatment items according to the importance of these body parts to be treated. Note that the treatment procedures for these body parts to be treated can be specifically set by the developer based on actual needs, and are not specifically limited here.
[0096] The above-described virtual item processing method can also be applied to a game scene that displays a virtual torso model of a controlled object, as shown in Figure 7. Specifically, a selected body part to be processed (e.g., the "left arm") can be highlighted on the corresponding part of the torso model of the controlled object, and the blood volume recovery status of the corresponding part of the torso model during treatment can be updated in real time, further enhancing game interaction and improving the intuitiveness of game operation.
[0097] As shown in Figure 8, a preferred implementation flowchart of the above-mentioned virtual item processing method is also provided, which can realize fast and accurate treatment of the virtual controlled object and effectively improve the accuracy and convenience of the treatment operation of the game player. Specifically, it can include the following steps S801 to S808.
[0098] In step S801, a graphical user interface corresponding to a virtual control object corresponding to a terminal device is displayed, and a first control operation for the virtual treatment item is received through the graphical user interface; In step S802, determining a target virtual treatment item in response to a click action acting on the virtual treatment item; In step S803, determine the severity of injury corresponding to the target injury site based on the current remaining blood volume value and total blood volume value corresponding to the target injury site in the virtual control object, where the target virtual treatment item can be used; In step S804, sort the target injured body parts according to the injury severity corresponding to the target injured body parts to obtain a target sorting order; In step S805, according to the target sorting order, a sub-interface including a region entry of the target injured body part is displayed in the graphical user interface, and the region entry of the target injured body part includes an injury type, a current residual blood volume value, and a total blood volume value of the target injured body part; In step S806, in response to a click operation on a part entry in the sub-interface, a processing target body part of the virtual control object is determined from the target injured body part; In step S807, the current remaining blood volume value corresponding to the body part to be treated is updated based on the treatment value of the target virtual treatment item until the current remaining blood volume value corresponding to the body part to be treated reaches the total blood volume value or the target virtual treatment item is depleted.
[0099] By sorting the target body parts of the virtual object and selecting the body parts that need further treatment, accurate treatment can be achieved, the operation path of the game player can be condensed and concentrated, the difficulty of using the virtual treatment items can be reduced, the accuracy and convenience of treatment operations can be improved, the range of applicable game types can be expanded, and compatibility can be strengthened. Meanwhile, by displaying the body parts that can be treated by the target virtual treatment items in the graphical user interface according to the sorting order of the body parts that can be treated by the target virtual treatment items, the game player can more intuitively compare the injury status of each body part of the virtual control object so as to prioritize the treatment of the more severely injured body parts.
[0100] The embodiment of the present application also provides a virtual item processing device, and as shown in FIG. 9 , the virtual item processing device 900 includes: a first control operation receiving module 910, a target body part display module 920, and a virtual therapeutic item use module 930; The first control operation receiving module 910 is configured to display a graphical user interface corresponding to a virtual control object corresponding to the terminal device, and receive a first control operation for the virtual treatment item through the graphical user interface; the target body part display module 920 is configured to determine a target virtual treatment item in response to a first control operation acting on the virtual treatment item, and display at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface, the virtual control object including a plurality of body parts, and the target body part is a part where the target virtual treatment item is used; The virtual treatment item use module 930 is configured to, in response to a second control operation on the at least one target body part, determine a target body part to be treated as a virtual control target from the at least one target body part, and consume the target virtual treatment item to perform a game effect corresponding to the target virtual treatment item on the target body part.
[0101] In any embodiment, in the target body part display module 920, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface may include displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object based on the display position of the target virtual treatment item in the graphical user interface.
[0102] In any embodiment, in the target body part display module 920, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface may include displaying an object model corresponding to the virtual control object in the graphical user interface, and displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the object model corresponding to the virtual control object.
[0103] In any embodiment, in the virtual item processor 900, the virtual therapeutic items include either virtual therapeutic items carried by a virtual control subject or virtual therapeutic items dispersed in a virtual game scene.
[0104] In any embodiment, when there are multiple target body parts corresponding to the target virtual treatment items in the virtual control object, in the target body part display module 920, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface further includes a body part sorting module and a body part display sub-module, where the body part sorting module is configured to sort the multiple target body parts corresponding to the target virtual treatment items in the virtual control object to obtain a target sort order, and the body part display sub-module is configured to display the multiple target body parts corresponding to the target virtual treatment items in the virtual control object in the graphical user interface according to the target sort order.
[0105] In any embodiment, the body part sorting module further includes a first body part sorting sub-module, which is configured to sort target injured body parts corresponding to target virtual treatment items in the virtual control object to obtain a target sorting order, and the target injured body parts are injured body parts among the target body parts.
[0106] In any embodiment, the first body part sorting sub-module further includes a second body part sorting sub-module, which is configured to sort the target injured body parts based on the severity of the injury corresponding to the target injured body parts to obtain a target sort order.
[0107] In any embodiment, the second body part sorting sub-module is configured to sort the target injured body parts having the same injury severity according to injury type.
[0108] In any embodiment, before sorting the target injured body parts based on the severity of injury corresponding to the target injured body parts and obtaining a target sorting order, the virtual item processing device 900 further includes an injury severity determination module, which is configured to determine the severity of injury corresponding to the target injured body parts based on the current remaining blood volume value and total blood volume value corresponding to the target injured body parts.
[0109] In any embodiment, after determining the target virtual treatment item, the virtual item processing device 900 further includes a body part display submodule, which is configured to display at least one of the injury type, current residual blood volume value, and total blood volume value of the target injured body part in the graphical user interface.
[0110] In any embodiment, in the virtual treatment item use module 930, consuming a target virtual treatment item to perform a game effect corresponding to the target virtual treatment item on the treated body part may be updating a current remaining blood volume value corresponding to the treated body part based on the treatment value of the target virtual treatment item until the current remaining blood volume value corresponding to the treated body part reaches a total blood volume value or the target virtual treatment item is depleted.
[0111] In any embodiment, in the target body part display module 920, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface may include displaying a sub-interface in the graphical user interface, the sub-interface including a part entry for the at least one target body part. In the virtual treatment item use module 930, determining a target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part may include determining a target body part of the virtual control object from the at least one target body part in response to a third control operation on the part entry in the sub-interface.
[0112] In any embodiment, the sub-interface may include all treatment entries, and in response to a second control operation on at least one target body part, the virtual treatment item use module 930 may determine a target body part to be treated for the virtual control object from the at least one target body part, or in response to a fourth control operation on all treatment entries, all target injured body parts may be the target body parts to be treated for the virtual control object, and the target injured body part may be the injured body part among the target body parts.
[0113] The specific details of each part of the virtual item processing device 900 are described in detail in the method part embodiment, but details not disclosed can be referred to in the method part embodiment, so they will not be described further.
[0114] Exemplary embodiments of the present disclosure also provide a computer-readable storage medium having stored thereon a program product capable of implementing the virtual item processing methods described herein. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product including program code for causing an electronic device to perform steps according to various embodiments of the present disclosure described in the "Example Method" section above of this specification when the program product is running on the electronic device.
[0115] Specifically, the program product stored in a computer-readable storage medium causes an electronic device to perform the following steps: Displaying a graphical user interface corresponding to a virtual control object corresponding to the terminal device, and receiving a first control operation on the virtual treatment item via the graphical user interface; determining a target virtual treatment item in response to a first control operation acting on the virtual treatment item, and displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface, the virtual control object including a plurality of body parts, the target body part being a part where the target virtual treatment item is used; In response to a second control operation on the at least one target body part, a treatment target body part of the virtual control object is determined from the at least one target body part, and a target virtual treatment item is consumed to execute a game effect corresponding to the target virtual treatment item on the treatment target body part.
[0116] In any embodiment, displaying at least one target body part corresponding to a target virtual treatment item in the virtual control object in the above-mentioned graphical user interface can be achieved by the following steps: displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object based on the display position of the target virtual treatment item in the graphical user interface.
[0117] In any embodiment, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the above-mentioned graphical user interface can be achieved by the following steps: displaying an object model corresponding to the virtual control object in the graphical user interface; and displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the object model corresponding to the virtual control object.
[0118] In any embodiment, the virtual therapeutic items include virtual therapeutic items carried by a virtual control subject or virtual therapeutic items dispersed throughout the virtual game scene.
[0119] In any embodiment, when there are multiple target body parts corresponding to target virtual treatment items in the virtual control object, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface can be achieved by the following steps: sorting the multiple target body parts corresponding to the target virtual treatment items in the virtual control object, obtaining a target sorting order, and displaying the multiple target body parts corresponding to the target virtual treatment items in the virtual control object in the graphical user interface according to the target sorting order.
[0120] In any embodiment, sorting multiple target body parts corresponding to target virtual treatment items in the above virtual control object and obtaining a target sorting order can be achieved by the following steps: sorting target injured body parts corresponding to target virtual treatment items in the virtual control object and obtaining a target sorting order, and the target injured body parts are injured body parts among the target body parts.
[0121] In any embodiment, sorting the target injured body parts corresponding to the target virtual treatment items in the above virtual control object and obtaining a target sorting order can be achieved by the following steps: sorting the target injured body parts based on the severity of injury corresponding to the target injured body parts and obtaining a target sorting order.
[0122] In any embodiment, sorting the target injured body parts based on the severity of injury corresponding to the target injured body parts can be achieved by the following steps: sorting the target injured body parts with the same injury severity according to injury type.
[0123] In any embodiment, before sorting the target injured body parts based on the severity of injury corresponding to the target injured body parts and obtaining a target sorting order, the following steps can be performed: determine the severity of injury corresponding to the target injured body parts based on the current residual blood volume value and total blood volume value corresponding to the target injured body parts.
[0124] In any embodiment, after determining the target virtual treatment item, the following steps can be performed to display at least one of the injury type, current residual blood volume value, and total blood volume value of the target injured body part in the graphical user interface.
[0125] In any embodiment, consuming the above-mentioned target virtual treatment item to execute the game effect corresponding to the target virtual treatment item on the treated body part can be achieved by the following steps: updating the current remaining blood volume value corresponding to the treated body part based on the treatment value of the target virtual treatment item until the current remaining blood volume value corresponding to the treated body part reaches the total blood volume value or the target virtual treatment item is depleted.
[0126] In any embodiment, displaying at least one target body part corresponding to a target virtual treatment item in the virtual control object in the above-mentioned graphical user interface can be achieved by the following steps: displaying a sub-interface in the graphical user interface, the sub-interface including a part entry for the at least one target body part; and determining a treatment target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part can be achieved by the following steps: determining a treatment target body part of the virtual control object from the at least one target body part in response to a third control operation on the part entry in the sub-interface.
[0127] In any embodiment, the above sub-interface includes all treatment entries, and determining a virtual controlled treatment target body part from at least one target body part in response to a second control operation on at least one target body part can be achieved by the following steps: in response to a fourth control operation on all treatment entries, all target injured body parts are set as virtual controlled treatment target body parts, and the target injured body part is an injured body part among the target body parts.
[0128] By selecting a target body part from among the target body parts that can use the target virtual treatment item, the accurate use of the target virtual treatment item is realized, and the target model of the virtual object does not need to rely on difficult drag operations on the virtual treatment item, which reduces the difficulty of using the virtual treatment item, improves the accuracy and convenience of using the virtual treatment item, and is applicable to a wider range of game types and has stronger compatibility. Meanwhile, by displaying the target body parts that can use the target virtual treatment item in the graphical user interface, the player can intuitively understand the body parts that can use the target virtual treatment item, thereby helping the player make a decision on using the target virtual treatment item, and further reducing the time the player spends in the process of using the target virtual treatment item, accelerating the progress of the game.
[0129] The program product may be available on a portable compact disc read-only memory (CD-ROM), contain program code, and operate on an electronic device such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this file, a readable storage medium may be any tangible medium that contains or stores a program that can direct the execution of, or be used in conjunction with, a system, apparatus, or device.
[0130] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-limiting list) of readable storage media include an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0131] A computer-readable signal medium may include a propagated data signal, either contained in baseband or as part of a carrier wave, carrying readable program code. Such a propagated data signal may take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A readable signal medium may be any readable medium other than a readable storage medium that can transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
[0132] The program code contained in the readable medium may be transmitted over any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0133] Program code for carrying out the operations of the present disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages, e.g., Java, C++, etc., as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can execute entirely on the user computing device, partially on the user device, as a separate package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. When referring to a remote computing device, the remote computing device can be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., connected via the Internet using an Internet Service Provider).
[0134] An exemplary embodiment of the present disclosure also provides an electronic device capable of implementing the above-described virtual item processing method. Hereinafter, an electronic device 1000 according to such an exemplary embodiment of the present disclosure will be described with reference to Fig. 10. The electronic device 1000 shown in Fig. 10 is merely an example and does not impose any limitations on the functionality and scope of use of the embodiment of the present disclosure.
[0135] 10, electronic device 1000 may be represented in the form of a general-purpose computing device. Components of electronic device 1000 may include, but are not limited to, at least one processing unit 1010, at least one storage unit 1020, a bus 1030 connecting different system components including storage unit 1020 and processing unit 1010, and a display unit 1040.
[0136] The storage unit 1020 stores program code that the processing unit 1010 can execute to cause the processing unit 1010 to perform steps according to various embodiments of the present disclosure described in the "Example Methods" section above of this specification.
[0137] Specifically, the processing unit 1010 performs the following steps: Displaying a graphical user interface corresponding to a virtual control object corresponding to the terminal device, and receiving a first control operation on the virtual treatment item via the graphical user interface; determining a target virtual treatment item in response to a first control operation acting on the virtual treatment item, and displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface, the virtual control object including a plurality of body parts, the target body part being a part where the target virtual treatment item is used; In response to a second control operation on the at least one target body part, a treatment target body part of the virtual control object is determined from the at least one target body part, and a target virtual treatment item is consumed to execute a game effect corresponding to the target virtual treatment item on the treatment target body part.
[0138] In any embodiment, displaying at least one target body part corresponding to a target virtual treatment item in the virtual control object in the above-mentioned graphical user interface can be achieved by the following steps: displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object based on the display position of the target virtual treatment item in the graphical user interface.
[0139] In any embodiment, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the above-mentioned graphical user interface can be achieved by the following steps: displaying an object model corresponding to the virtual control object in the graphical user interface; and displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the object model corresponding to the virtual control object.
[0140] In any embodiment, the virtual therapeutic items include virtual therapeutic items carried by a virtual control subject or virtual therapeutic items dispersed throughout the virtual game scene.
[0141] In any embodiment, when there are multiple target body parts corresponding to target virtual treatment items in the virtual control object, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface can be achieved by the following steps: sorting the multiple target body parts corresponding to the target virtual treatment items in the virtual control object, obtaining a target sorting order, and displaying the multiple target body parts corresponding to the target virtual treatment items in the virtual control object in the graphical user interface according to the target sorting order.
[0142] In any embodiment, sorting multiple target body parts corresponding to target virtual treatment items in the above virtual control object and obtaining a target sorting order can be achieved by the following steps: sorting target injured body parts corresponding to target virtual treatment items in the virtual control object and obtaining a target sorting order, and the target injured body parts are injured body parts among the target body parts.
[0143] In any embodiment, sorting the target injured body parts corresponding to the target virtual treatment items in the above virtual control object and obtaining a target sorting order can be achieved by the following steps: sorting the target injured body parts based on the severity of injury corresponding to the target injured body parts and obtaining a target sorting order.
[0144] In any embodiment, sorting the target injured body parts based on the severity of injury corresponding to the target injured body parts can be achieved by the following steps: sorting the target injured body parts with the same injury severity according to injury type.
[0145] In any embodiment, before sorting the target injured body parts based on the severity of injury corresponding to the target injured body parts and obtaining a target sorting order, the following steps can be performed: determine the severity of injury corresponding to the target injured body parts based on the current residual blood volume value and total blood volume value corresponding to the target injured body parts.
[0146] In any embodiment, after determining the target virtual treatment item, the following steps can be performed to display at least one of the injury type, current residual blood volume value, and total blood volume value of the target injured body part in the graphical user interface.
[0147] In any embodiment, consuming the above-mentioned target virtual treatment item to execute the game effect corresponding to the target virtual treatment item on the treated body part can be achieved by the following steps: updating the current remaining blood volume value corresponding to the treated body part based on the treatment value of the target virtual treatment item until the current remaining blood volume value corresponding to the treated body part reaches the total blood volume value or the target virtual treatment item is depleted.
[0148] In any embodiment, displaying at least one target body part corresponding to a target virtual treatment item in the virtual control object in the above-mentioned graphical user interface can be achieved by the following steps: displaying a sub-interface in the graphical user interface, the sub-interface including a part entry for the at least one target body part; and determining a treatment target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part can be achieved by the following steps: determining a treatment target body part of the virtual control object from the at least one target body part in response to a third control operation on the part entry in the sub-interface.
[0149] In any embodiment, the above sub-interface includes all treatment entries, and determining a virtual controlled treatment target body part from at least one target body part in response to a second control operation on at least one target body part can be achieved by the following steps: in response to a fourth control operation on all treatment entries, all target injured body parts are set as virtual controlled treatment target body parts, and the target injured body part is an injured body part among the target body parts.
[0150] By selecting a target body part from among the target body parts that can use the target virtual treatment item, the accurate use of the target virtual treatment item is realized, and the target model of the virtual object does not need to rely on difficult drag operations on the virtual treatment item, which reduces the difficulty of using the virtual treatment item, improves the accuracy and convenience of using the virtual treatment item, and is applicable to a wider range of game types and has stronger compatibility. Meanwhile, by displaying the target body parts that can use the target virtual treatment item in the graphical user interface, the player can intuitively understand the body parts that can use the target virtual treatment item, thereby helping the player make a decision on using the target virtual treatment item, and further reducing the time the player spends in the process of using the target virtual treatment item, accelerating the progress of the game.
[0151] The storage unit 1020 may include readable media in the form of a volatile storage unit, such as a random access storage unit (RAM) 1021 and / or a cache storage unit 1022, and may also include a read-only storage unit (ROM) 1023.
[0152] The storage unit 1020 may also include, but is not limited to, a program / utility 1024 having a set (at least one) of program modules 1025, including an operating system, one or more applications, other program modules, and program data, each of which, or some combination thereof, may include the implementation of a network environment.
[0153] Bus 1030 may represent one or more of several classes of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphical acceleration port, a processing unit, or a local bus using any of a number of bus structures.
[0154] The electronic device 1000 may also communicate with one or more external devices 1100, such as a keyboard, pointing device, Bluetooth device, one or more devices that allow a user to interact with the electronic device 1000, and / or any device (e.g., router, modem, etc.) that allows the electronic device 1000 to communicate with one or more other computing devices. This communication may occur via an input / output (I / O) interface 1050. The electronic device 1000 may also communicate with public networks, such as a local area network (LAN), a wide area network (WAN), and / or the Internet, via a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 via a bus 1030. Although not shown, it should be understood that other hardware and / or software modules may be used in combination with the electronic device 1000, including, but not limited to, microcode, device drives, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, etc.
[0155] From the above description of the embodiments, it is easy for those skilled in the art to understand that the exemplary embodiments described herein can be realized by software, or by combining necessary hardware with software. Therefore, the technical aspects according to the embodiments of the present disclosure may be embodied in the form of a software product that may be stored in a non-volatile storage medium (which may be a CD-ROM, a USB disk, a mobile hard disk, etc.) and includes multiple instructions for executing the methods according to the embodiments of the present disclosure.
[0156] It is also understood that the above-mentioned drawings are schematic illustrations of the processes involved in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is also understood that the processes shown in the above-mentioned drawings do not indicate or limit the timeline of these processes. It is also understood that these processes may be performed synchronously or asynchronously in multiple modules, for example.
[0157] Although the above detailed description refers to several modules or units of an apparatus for performing operations, such division is not mandatory. In fact, according to exemplary embodiments of the present disclosure, the features and functions of two or more of the above-described modules or units may be embodied in one module or unit. Conversely, the features and functions of one of the above-described modules or units may be further divided and embodied in multiple modules or units.
[0158] Those skilled in the art will appreciate that various aspects of the present disclosure can be implemented as a system, method, or program product. Accordingly, various aspects of the present disclosure can be specifically implemented as an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which may be collectively referred to herein as a "circuit," "module," or "system." Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention(s) disclosed herein. The present disclosure is intended to cover any modifications, uses, or adaptations of the present disclosure, in accordance with the general principles of the present disclosure, including common knowledge or customary technical means known in the art but not disclosed herein. The specification and embodiments are considered to be merely exemplary, with the true scope and spirit of the present disclosure being indicated by the claims.
[0159] It is to be understood that the present disclosure is not limited to the exact construction described above and illustrated in the drawings, but that various modifications and variations are possible without departing from the scope of the present disclosure, which is defined solely by the appended claims.
Claims
1. 11. A method for processing a virtual item, comprising: displaying a graphical user interface corresponding to a virtual control object corresponding to a terminal device; receiving a first control operation on a virtual treatment item via the graphical user interface; determining a target virtual treatment item in response to the first control operation acting on the virtual treatment item; displaying at least one target body part of the virtual control object corresponding to the target virtual treatment item in the graphical user interface, the virtual control object including a plurality of body parts, the target body part being a body part for which the target virtual treatment item can be used; and determining a target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part; and consuming the target virtual treatment item to execute a game effect corresponding to the target virtual treatment item on the target body part.
2. 2. The method of claim 1, wherein displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface comprises displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object based on a display position of the target virtual treatment item in the graphical user interface.
3. 2. The method of claim 1, wherein displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface comprises: displaying an object model corresponding to the virtual control object in the graphical user interface; and displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the object model corresponding to the virtual control object.
4. The virtual treatment item comprises:
2. The method for processing virtual items according to claim 1, wherein the virtual items include either a virtual amendable item possessed by the virtual control subject or a virtual amendable item dispersed in a virtual game scene.
5. 2. The method of claim 1, wherein when the virtual control object has multiple target body parts corresponding to the target virtual treatment item, displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface includes: sorting the multiple target body parts corresponding to the target virtual treatment item in the virtual control object to obtain a target sort order; and displaying the multiple target body parts corresponding to the target virtual treatment item in the virtual control object in the graphical user interface according to the target sort order.
6. 6. The method of claim 5, wherein sorting a plurality of target body parts corresponding to the target virtual treatment items in the virtual control object to obtain a target sort order includes sorting target injured body parts corresponding to the target virtual treatment items in the virtual control object to obtain a target sort order, wherein the target injured body parts are injured body parts among the target body parts.
7. 7. The method for processing virtual items according to claim 6, wherein sorting the target injured body parts corresponding to the target virtual treatment items in the virtual control object to obtain a target sorting order includes sorting the target injured body parts according to the severity of injury corresponding to the target injured body parts to obtain a target sorting order.
8. 8. The method for processing virtual items according to claim 7, wherein sorting the target injured body parts according to the severity of injury corresponding to the target injured body parts includes sorting body parts having the same injury severity in the target injured body parts according to injury type.
9. 8. The virtual item processing method of claim 7, wherein before sorting the target injured body parts according to the severity of the injury corresponding to the target injured body parts and obtaining a target sorting order, the method further includes determining the severity of the injury corresponding to the target injured body parts based on the current remaining blood volume value and total blood volume value corresponding to the target injured body parts.
10. 10. The method for processing virtual items according to claim 9, wherein after determining the target virtual treatment item, the method further comprises displaying at least one of an injury type, a current residual blood volume value, and a total blood volume value of the target injured body part in the graphical user interface.
11. 2. The method of claim 1, wherein consuming the target virtual treatment item to execute the game effect corresponding to the target virtual treatment item for the treated body part includes updating the current remaining blood volume value corresponding to the treated body part based on the treatment value of the target virtual treatment item until the current remaining blood volume value corresponding to the treated body part reaches a total blood volume value or the target virtual treatment item is depleted.
12. 12. The method of claim 11, wherein displaying at least one target body part corresponding to the target virtual treatment item in the virtual control object in the graphical user interface comprises displaying a sub-interface in the graphical user interface, the sub-interface including a part entry for the at least one target body part; and determining a target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part comprises determining a target body part of the virtual control object from the at least one target body part in response to a third control operation on a part entry in the sub-interface.
13. The method for processing a virtual item according to claim 12, wherein the sub-interface further includes all treatment entries, and determining a target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part includes setting all target injured body parts as target body parts of the virtual control object in response to a fourth control operation on all the treatment entries, and the target injured body parts are injured body parts among the target body parts.
14. 1. A virtual item processing device, comprising: a first control operation receiving module, a target body part display module, and a virtual treatment item using module; wherein the first control operation receiving module is configured to display a graphical user interface corresponding to a virtual control object corresponding to a terminal device and receive a first control operation on the virtual treatment item via the graphical user interface; the target body part display module is configured to determine a target virtual treatment item in response to the first control operation acting on the virtual treatment item and display at least one target body part of the virtual control object corresponding to the target virtual treatment item in the graphical user interface; the virtual control object includes a plurality of body parts, and the target body part is a part where the target virtual treatment item can be used; and the virtual treatment item using module is configured to determine a target body part of the virtual control object from the at least one target body part in response to a second control operation on the at least one target body part, and consume the target virtual treatment item to perform a game effect corresponding to the target virtual treatment item on the target body part.
15. A computer-readable storage medium storing a computer program which, when executed by a processor, performs the method according to any one of claims 1 to 13.
16. 14. An electronic device comprising a processor and a memory storing executable instructions, the processor being configured to perform the method of any one of claims 1 to 13 by executing the executable instructions.
Citation Information
Patent Citations
Information processing method and device, electronic device and storage medium
CN113546417A
Damage control game program and game apparatus
JP2005000304A