A method and device for marking virtual objects in a game
By providing highly selective controls and marking information generation modules in the game, the problem of insufficiently accurate virtual object marking in the prior art is solved, and precise marking and information transmission of virtual object spatial locations are realized.
Patent Information
- Application Number
- CN202111679756.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2041-12-31
AI Technical Summary
In existing game technology, the marking of virtual objects is limited to plane positions, lacks accuracy, and it is difficult to transmit relevant information, resulting in players not positioning virtual objects in time and inaccurately.
In the game, when the marking operation meets the preset conditions, a height selection control is provided, allowing the player to select the height information of the target virtual object, and generate the marking information based on the information.
By marking the spatial location of virtual objects, the convenience and accuracy of information transmission are improved, allowing players to position virtual objects in a timely and precise manner.
Smart Images

Figure CN114344898B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game technology, and in particular to a method and device for marking virtual objects in a game. Background Art
[0002] In some games, there is usually a need to mark virtual objects, such as marking materials, so that players can obtain the marking information of the virtual objects and locate the virtual objects.
[0003] Currently, the marking of virtual objects is limited to marking their plane positions, but this method is not accurate enough for marking virtual objects. If other information related to the virtual objects needs to be transmitted, players can only send it separately through voice messages, text messages, etc. The operation is not convenient enough, resulting in players being unable to locate virtual objects in a timely and accurate manner. Summary of the invention
[0004] In view of the above problems, a method and device for marking virtual objects in a game is proposed to overcome the above problems or at least partially solve the above problems, including:
[0005] A method for marking a virtual object in a game, the method comprising:
[0006] In response to a marking operation on a target virtual object in the game, if the marking operation satisfies a preset condition, providing a height selection control in the graphical user interface;
[0007] In response to operation of the altitude selection control, determining selected target altitude information;
[0008] In response to the operation of the height selection control being completed, marking information for the target virtual object is generated according to the target height information.
[0009] Optionally, the marking operation is an operation on a marking control in the graphical user interface, and the operation on the height selection control is a sliding operation from the marking control to the height selection control when the operation on the marking control is not completed.
[0010] Optionally, the altitude selection control includes an altitude increase control and an altitude decrease control, and the determining of the selected target altitude information in response to the operation of the altitude selection control includes:
[0011] In response to the operation of the height increase control, the height is increased based on the current height information to obtain the target height information;
[0012] And / or, in response to the operation of the altitude reduction control, the altitude is reduced based on the current altitude information to obtain the target altitude information.
[0013] Optionally, it also includes:
[0014] In response to a marking operation on a target virtual object, if the marking operation satisfies a preset condition, providing a height display area in the graphical user interface;
[0015] In the altitude display area, the target altitude information is displayed.
[0016] Optionally, it also includes:
[0017] In response to a marking operation on a target virtual object, if the marking operation satisfies a preset condition, providing a cancel control in the graphical user interface;
[0018] In response to an operation on the cancel control, the marking operation is canceled or the selected target height information is removed.
[0019] Optionally, the preset conditions include:
[0020] The duration of the marking operation is greater than a preset duration or the pressing strength is greater than a preset strength.
[0021] Optionally, it also includes:
[0022] A marking message is generated according to the marking information.
[0023] A device for marking a virtual object in a game, the device comprising:
[0024] A height selection control providing module, configured to respond to a marking operation on a target virtual object and provide a height selection control on the graphical user interface if the marking operation satisfies a preset condition;
[0025] a target altitude information determination module, for determining selected target altitude information in response to an operation on the altitude selection control;
[0026] The marking information generating module is used to generate marking information for the target virtual object according to the target height information in response to the operation of the height selection control being completed.
[0027] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method for marking virtual objects in a game as described above when executed by the processor.
[0028] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for marking a virtual object in a game as described above is implemented.
[0029] The embodiments of the present invention have the following advantages:
[0030] In an embodiment of the present invention, by responding to a marking operation on a target virtual object in a game, when the marking operation meets a preset condition, a height selection control is provided in a graphical user interface, and in response to the operation on the height selection control, the selected target height information is determined, and in response to the operation on the height selection control being ended, marking information for the target virtual object is generated based on the target height information, thereby achieving optimization of marking of virtual objects in the game, being able to mark the spatial position of virtual objects in the game, improving the convenience of transmitting information related to the spatial position, and improving the accuracy of marking virtual objects, so that players can locate virtual objects more timely and accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0032] Figure 1 This is a flowchart of a method for marking a virtual object in a game provided by an embodiment of the present invention;
[0033] Figure 2a is a structural block diagram of a graphical user interface provided by an embodiment of the present invention;
[0034] Figure 2b is a structural block diagram of another graphical user interface provided by an embodiment of the present invention;
[0035] Figure 3 is a flowchart of another method for marking a virtual object in a game provided by an embodiment of the present invention;
[0036] Figure 4 The present invention is a structural block diagram of a device for marking virtual objects in a game provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Reference Figure 1, showing a flow chart of the steps of a method for marking a virtual object in a game provided by an embodiment of the present invention, the method can be run on a local terminal device or a server.
[0039] When the method for marking virtual objects in a game runs on a server, it can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0040] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the method of marking virtual objects in the game are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a first terminal device, a TV, a computer, a handheld computer, etc.; but the method of marking virtual objects in the game is performed by the cloud game server in the cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0041] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0042] Specifically, the following steps may be included:
[0043] Step 101, in response to a marking operation on a target virtual object in a game, when the marking operation satisfies a preset condition, a height selection control is provided in a graphical user interface.
[0044] During the running of the game, a graphical user interface may be provided to the player, and multiple virtual objects at the current position may be displayed in the graphical user interface. The multiple virtual objects may include a target virtual object. The target virtual object may be a virtual object that can be acquired by a player character in the game and used by the acquired player character. For example, the target virtual object may be an unoccupied material (such as a game prop) in the game, which can be used by the acquired player character after the player character acquires the material. Of course, the target virtual object may also be other virtual objects that need to be marked.
[0045] When it is necessary to transmit relevant information of the target virtual object to other players, such as transmitting relevant information of the target virtual object to teammates, the player character can mark the target virtual object. Before marking, the player character can first select the target virtual object, for example, the player character can select the target virtual object by aligning the crosshairs with the target virtual object. After selecting the target virtual object, the target virtual object can be marked.
[0046] Specifically, the graphical user interface may provide a marking control, which may be displayed in the right or left area of the graphical user interface to facilitate the player's operation, such as Figure 2a , a mark control 210 is displayed in the left area of the graphical user interface 200. When the mark control is displayed, the player can perform a mark operation on the target virtual object, and the mark operation can be an operation on the mark control in the graphical user interface.
[0047] When an operation on a mark control is detected, it can be determined whether the mark operation meets a preset condition, and the preset condition can include that the duration of the mark operation is greater than the preset duration or the pressing force is greater than the preset strength, that is, it is determined whether the duration of the operation on the mark control is greater than the preset duration, such as the preset duration is 2s. The preset condition can also be other conditions, such as the preset condition can be that the pressing force of the screen on the mark operation is greater than the preset strength.
[0048] In the case where the marking operation does not meet the preset conditions, such as the duration of the operation on the marking control is less than or equal to the preset duration, that is, the touch medium is released after clicking the marking control, the coordinate information (plane position) of the target virtual object in the game map can be directly obtained, and then the marking information for the target virtual object can be generated based on the coordinate information. The marking information may include coordinate information and other attribute information (such as the object name of the target virtual object), and then a marking message containing the marking information can be generated, and the marking message can be transmitted to other players.
[0049] When the marking operation meets the preset conditions, such as the duration of the operation on the marking control is greater than the preset duration, that is, the touch medium is not released after pressing the marking control, the graphical user interface can provide a height selection control, which can be used to select the height information (spatial position) of the target virtual object, such as the floor where the target virtual object is located.
[0050] The height selection control may include a height increase control for increasing the height and a height decrease control for decreasing the height. The height selection control may be displayed around the mark control as the center, and the height increase control and the height decrease control may be relatively arranged, such as Figure 2b The middle surrounding mark control 210 displays a height increase control 221 and a height decrease control 222.
[0051] Step 102, in response to the operation of the altitude selection control, determining the selected target altitude information.
[0052] For some game scenarios, such as when a virtual object is located in a multi-story building, there is a need to mark the spatial position of the virtual object, that is, a position mark on the Z axis. When the height selection control is displayed, the player can operate the height selection control. The operation on the height selection control can be a sliding operation from the mark control to the height selection control without completing the operation on the mark control, that is, the operation is an uninterrupted continuous operation, and the player can select the target height information for the target virtual object through this operation.
[0053] In an embodiment of the present invention, since the height selection control may include a height increase control and a height decrease control, step 102 may include:
[0054] In response to the operation of the height increase control, the height is increased based on the current height information to obtain the target height information; and / or, in response to the operation of the height decrease control, the height is decreased based on the current height information to obtain the target height information.
[0055] When the height selection is performed for the first time, the current height information may be the initial height information, which may be a preset value. For example, when the height information is the floor height, the initial height information is the first floor. When the height selection is not performed for the first time, the current height information may be the height information after the most recent height selection.
[0056] When the player operates the height increase control, the current height information can be increased. Specifically, the height can be increased according to the duration of the operation. For example, if the height increase control operation lasts for 1 second, one floor is added to obtain the target height information.
[0057] When the player operates the height reduction control, the current height information can be reduced. Specifically, the height can be increased according to the duration of the operation. For example, for every 1 second that the height reduction control operation is continued, the floor is reduced by one floor, and the target height information is obtained.
[0058] In one example, the player can increase the current height information by operating the height increase control, and without interrupting the operation, slide from the height increase control to the height decrease control, and then operate the height decrease control, thereby being able to select the height more accurately.
[0059] Step 103 , in response to the operation on the height selection control being completed, generating marking information for the target virtual object according to the target height information.
[0060] After selecting the target height information, the player can end the operation of the height selection control, such as releasing the touch medium, and then the target height information can be determined as the final height information selected by the player for the target virtual object, and then marking information for the target virtual object can be generated based on the target height information.
[0061] Specifically, the target height information (spatial position) can be obtained, and the coordinate information (plane position) and other attribute information (such as the object name of the target virtual object) of the target virtual object in the game map can be obtained, and then marking information containing the target height information, coordinate information, and other attribute information can be generated.
[0062] In one embodiment of the present invention, the method may further include:
[0063] A marking message is generated according to the marking information.
[0064] After the marking information is generated, a marking message including the marking information may be generated, and the marking message may be transmitted to other players.
[0065] In an embodiment of the present invention, by responding to a marking operation on a target virtual object in a game, when the marking operation meets a preset condition, a height selection control is provided in a graphical user interface, and in response to the operation on the height selection control, the selected target height information is determined, and in response to the operation on the height selection control being ended, marking information for the target virtual object is generated based on the target height information, thereby achieving optimization of marking of virtual objects in the game, being able to mark the spatial position of virtual objects in the game, improving the convenience of transmitting information related to the spatial position, and improving the accuracy of marking virtual objects, so that players can locate virtual objects more timely and accurately.
[0066] Reference Figure 3, shows a flowchart of a method for marking a virtual object in a game provided by an embodiment of the present invention, which may specifically include the following steps:
[0067] Step 301, in response to a marking operation on a target virtual object in a game, if the marking operation meets a preset condition, a height selection control and a height display area are provided in a graphical user interface.
[0068] During the running of the game, a graphical user interface may be provided to the player, and multiple virtual objects at the current position may be displayed in the graphical user interface. The multiple virtual objects may include a target virtual object. The target virtual object may be a virtual object that can be acquired by a player character in the game and used by the acquired player character. For example, the target virtual object may be an unoccupied material (such as a game prop) in the game, which can be used by the acquired player character after the player character acquires the material. Of course, the target virtual object may also be other virtual objects that need to be marked.
[0069] When it is necessary to transmit relevant information of the target virtual object to other players, such as transmitting relevant information of the target virtual object to teammates, the player character can mark the target virtual object. Before marking, the player character can first select the target virtual object, for example, the player character can select the target virtual object by aligning the crosshairs with the target virtual object. After selecting the target virtual object, the target virtual object can be marked.
[0070] Specifically, the graphical user interface may provide a marking control, which may be displayed in the right or left area of the graphical user interface to facilitate the player's operation, such as Figure 2a , a mark control 210 is displayed in the left area of the graphical user interface 200. When the mark control is displayed, the player can perform a mark operation on the target virtual object, and the mark operation can be an operation on the mark control in the graphical user interface.
[0071] When an operation on a mark control is detected, it can be determined whether the mark operation meets a preset condition. For example, the preset condition can include that the duration of the mark operation is greater than the preset duration, that is, it is determined whether the duration of the operation on the mark control is greater than the preset duration, such as the preset duration is 2s. The preset condition can also be other conditions, such as the preset condition that the pressure on the screen by the mark operation is greater than the preset force. In addition, the preset condition can also be that the operation distance is greater than the preset distance, that is, the mark operation containing the height information is triggered by sliding the mark control.
[0072] In the case where the marking operation does not meet the preset conditions, such as the duration of the operation on the marking control is less than or equal to the preset duration, that is, the touch medium is released after clicking the marking control, the coordinate information (plane position) of the target virtual object in the game map can be directly obtained, and then the marking information for the target virtual object can be generated based on the coordinate information. The marking information may include coordinate information and other attribute information (such as the object name of the target virtual object), and then a marking message containing the marking information can be generated, and the marking message can be transmitted to other players.
[0073] When the marking operation meets the preset conditions, such as the duration of the operation on the marking control is greater than the preset duration, that is, the touch medium is not released after pressing the marking control, the graphical user interface can provide a height selection control, which can be used to select the height information (spatial position) of the target virtual object, such as the floor where the target virtual object is located.
[0074] The height selection control may include a height increase control for increasing the height and a height decrease control for decreasing the height. The height selection control may be displayed around the mark control as the center, and the height increase control and the height decrease control may be relatively arranged, such as Figure 2b The middle surrounding mark control 210 displays a height increase control 221 and a height decrease control 222.
[0075] In order to facilitate players to view the height information selected for the target virtual object in real time, the graphical user interface may provide a height display area, which may be used to display the current height information selected for the target virtual object. When the height selection is made for the first time, the current height information may be the initial height information, which may be a preset value, such as when the height information is the floor height, the initial height information is the first floor. When the height selection is not made for the first time, the current height information may be the height information after the most recent height selection.
[0076] Specifically, the height display area can be set around the marker control as the center, such as Figure 2b The middle surround mark control 210 displays a height display area 231 .
[0077] Step 302, in response to the operation of the altitude selection control, determining the selected target altitude information, and displaying the target altitude information in the altitude display area.
[0078] For some game scenarios, such as when a virtual object is located in a multi-story building, there is a need to mark the spatial position of the virtual object, that is, a position mark on the Z axis. When the height selection control is displayed, the player can operate the height selection control. The operation on the height selection control can be a sliding operation from the mark control to the height selection control without completing the operation on the mark control, that is, the operation is an uninterrupted continuous operation. The player can select target height information for the target virtual object through this operation. After determining the target height information, the target height information can be displayed in the height display area.
[0079] Step 303 : in response to the operation on the height selection control being completed, generating marking information for the target virtual object according to the target height information.
[0080] After selecting the target height information, the player can end the operation of the height selection control, such as releasing the touch medium, and then the target height information can be determined as the final height information selected by the player for the target virtual object, and then marking information for the target virtual object can be generated based on the target height information.
[0081] Specifically, the target height information (spatial position) can be obtained, and the coordinate information (plane position) and other attribute information (such as the object name of the target virtual object) of the target virtual object in the game map can be obtained, and then marking information containing the target height information, coordinate information, and other attribute information can be generated.
[0082] In one embodiment of the present invention, the following steps may also be included:
[0083] In response to a marking operation on a target virtual object, if the marking operation meets a preset condition, a cancel control is provided in the graphical user interface; in response to the operation on the cancel control, the marking operation is canceled or the selected target height information is removed.
[0084] After the height selection control is displayed, if the player needs to cancel the mark, and the mark information will be generated and sent to other players after the operation of the height selection control is ended, the player cannot cancel the mark directly by ending the operation of the height selection control. In this case, the graphical user interface can provide a cancel control, which can be used to cancel the mark of the target virtual object. The cancel control can be set around the mark control as the center, such as Figure 2bThe cancel control 241 is displayed around the mark control 210. The player can remove the selected target height information by operating the cancel control, and then cancel the mark (it can also be to only remove the selected target height information but not cancel the mark, that is, the mark does not contain the height information or the height information is restored to the default value). The operation of the cancel control can be a sliding operation from the height selection control to the cancel control when the operation of the height selection control is not completed, that is, the operation is an uninterrupted continuous operation.
[0085] In one example, the height selection control, the height display area, the height increase control, the height decrease control, the cancel control, and the mark control may form a circle in the graphical user interface, such as Figure 2b The mark control can be located in the center area of the circle, and the height selection control, height display area, height increase control, height reduction control, and cancel control are fan-shaped areas surrounding the mark control. The arrangement of the above controls is not limited to the method provided in this embodiment, and those skilled in the art can adopt other arrangements according to the situation.
[0086] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0087] Reference Figure 4 , shows a schematic diagram of the structure of a device for marking a virtual object in a game provided by an embodiment of the present invention, which may specifically include the following modules:
[0088] The height selection control providing module 401 is used to respond to a marking operation on a target virtual object in the game, and provide a height selection control in the graphical user interface when the marking operation meets a preset condition.
[0089] The target altitude information determination module 402 is used to determine the selected target altitude information in response to the operation of the altitude selection control.
[0090] The marking information generating module 403 is used to generate marking information for the target virtual object according to the target height information in response to the operation of the height selection control being completed.
[0091] In one embodiment of the present invention, the marking operation may be an operation on a marking control in a graphical user interface, and the operation on the height selection control may be a sliding operation from the marking control to the height selection control when the operation on the marking control is not completed.
[0092] In an embodiment of the present invention, the height selection control may include a height increase control and a height decrease control, and the target height information determination module 402 may include:
[0093] The height increase submodule is used to increase the height based on the current height information in response to the operation of the height increase control to obtain the target height information.
[0094] The height reduction submodule is used to reduce the height based on the current height information in response to the operation of the height reduction control to obtain the target height information.
[0095] In one embodiment of the present invention, the method may further include:
[0096] A height display area providing module is used to respond to a marking operation on a target virtual object and provide a height display area in a graphical user interface when the marking operation meets a preset condition. ;
[0097] The target altitude information display module is used to display the target altitude information in the altitude display area.
[0098] In one embodiment of the present invention, the method may further include:
[0099] The cancel control providing module is used to respond to the marking operation on the target virtual object and provide a cancel control in the graphical user interface when the marking operation meets the preset conditions.
[0100] The target height information removal module is used to cancel the marking operation or remove the selected target height information in response to the operation of the cancel control.
[0101] In an embodiment of the present invention, the preset conditions may include:
[0102] The duration of the marking operation is greater than the preset duration or the pressing force is greater than the preset strength.
[0103] In one embodiment of the present invention, the method may further include:
[0104] The marking message generating module is used to generate a marking message according to the marking information.
[0105] In an embodiment of the present invention, in response to a marking operation on a target virtual object in a game, when the marking operation meets a preset condition, a height selection control is provided in a graphical user interface, in response to the operation on the height selection control, the selected target height information is determined, and in response to the end of the operation on the height selection control, marking information for the target virtual object is generated according to the target height information, thereby realizing marking of the height information of the virtual object in the game, improving the accuracy of the virtual object marking, and facilitating teammates in the game to locate the virtual object more timely and accurately.
[0106] An embodiment of the present invention further provides an electronic device, which may include 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 method for marking virtual objects in the above game is implemented.
[0107] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for marking a virtual object in a game as described above is implemented.
[0108] As 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 partial description of the method embodiment.
[0109] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0110] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0111] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0112] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0113] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0114] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0115] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0116] The method and device for marking virtual objects in a game are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for marking virtual objects in a game, characterized in that: The method comprises: In response to a marking operation on a target virtual object in the game, if the marking operation satisfies a preset condition, providing a height selection control in the graphical user interface; In response to operation of the altitude selection control, determining selected target altitude information; In response to the operation of the height selection control being completed, generating marking information for the target virtual object according to the target height information; The height selection control includes a height increase control and a height decrease control, and the step of determining the selected target height information in response to the operation of the height selection control includes: In response to the operation of the height increase control, the height is increased based on the current height information to obtain the target height information; And / or, in response to the operation of the altitude reduction control, the altitude is reduced based on the current altitude information to obtain the target altitude information.
2. The method according to claim 1, characterized in that: The marking operation is an operation on a marking control in the graphical user interface, and the operation on the height selection control is a sliding operation from the marking control to the height selection control when the operation on the marking control is not completed.
3. The method according to claim 1, characterized in that Also includes: In response to a marking operation on a target virtual object, if the marking operation satisfies a preset condition, providing a height display area in the graphical user interface; In the altitude display area, the target altitude information is displayed.
4. The method according to claim 3, characterized in that Also includes: In response to a marking operation on a target virtual object, if the marking operation satisfies a preset condition, providing a cancel control in the graphical user interface; In response to an operation on the cancel control, the marking operation is canceled or the selected target height information is removed.
5. The method according to claim 1, characterized in that The preset conditions include: The duration of the marking operation is greater than a preset duration or the pressing strength is greater than a preset strength.
6. The method according to claim 1, characterized in that Also includes: A marking message is generated according to the marking information.
7. A device for marking virtual objects in a game, characterized in that: The device comprises: A height selection control providing module, configured to respond to a marking operation on a target virtual object and provide a height selection control on a graphical user interface if the marking operation satisfies a preset condition; a target altitude information determination module, for determining selected target altitude information in response to an operation on the altitude selection control; a marking information generating module, configured to generate marking information for the target virtual object according to the target height information in response to completion of the operation on the height selection control; The height selection control includes a height increase control and a height decrease control, and the target height information determination module includes: A height increase submodule, configured to increase the height based on the current height information to obtain target height information in response to an operation on the height increase control; The height reduction submodule is used to reduce the height based on the current height information in response to the operation of the height reduction control to obtain the target height information.
8. An electronic device, characterized in that: The invention comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the method for marking a virtual object in a game as claimed in any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for marking a virtual object in a game according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Method and device for displaying marker elements in virtual scene, computer device, and computer-readable storage medium
WO2019218815A1