Object operation method in game, electronic equipment and readable storage medium

By providing a graphical user interface in the game, displaying virtual object operation controls associated with overlapping areas, and sorting them according to hierarchical priority, it solves the problem that players find it difficult to select overlapping virtual objects with lower hierarchies, and achieves the effect of simplifying operation steps and improving the game experience.

CN119587962AActive Publication Date: 2025-03-11NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411889843.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-02-10
Publication Date
2025-03-11
Estimated Expiration
2042-02-10

AI Technical Summary

Technical Problem

In game scenarios, the display effects of multiple virtual objects may have overlapping relationships. Players need to select virtual objects at lower levels, but the existing technology can only select objects with the highest level, which is complicated in operation and reduces the player's gaming experience.

Method used

By providing a graphical user interface on the terminal device, in response to the trigger operation for the overlapping area, displaying the operation controls of multiple target virtual objects associated with the area, and displaying the operation controls from high to low in order of the hierarchical priority of the target virtual object, the player can directly contact the target virtual object corresponding to the dispatch operation control to perform the specified operation.

Benefits of technology

The operation steps are simplified, and players can directly select the required virtual objects without complex hierarchical adjustments, improving the game experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119587962A_ABST
    Figure CN119587962A_ABST
Patent Text Reader

Abstract

The invention provides an object operation method in a game, electronic equipment and a readable storage medium, and the method comprises the steps: firstly, responding to a triggering operation for a first region in a graphical user interface, and displaying operation controls of a plurality of target virtual objects associated with the first region; and then, in response to a trigger operation for a first operation control in the operation controls of the multiple target virtual objects, executing a specified operation on the target virtual object corresponding to the first operation control. In the mode, after the first area is triggered and the operation controls of the multiple target virtual objects associated with the first area are displayed, a player triggers any operation control in the multiple operation controls, the designated operation can be directly executed on the target virtual object corresponding to the operation control, and the mode is simple in operation step and high in practicability. The game experience of players can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of game technology, and in particular to an object operation method, an electronic device, and a readable storage medium in a game. Background Art

[0002] In some game scenes, there may be multiple virtual objects with overlapping display effects under the current viewing angle, and players sometimes need to select a virtual object among the overlapping virtual objects. For example, in a home layout scene, overlapping furniture is a common situation. The virtual furniture that players often need to select may be virtual furniture at the second or third level, or even virtual furniture at a deeper level, among the virtual furniture with overlapping placement. In the related art, usually only the highest-level virtual furniture is supported, that is, only the first-level virtual furniture can be selected. If overlapping virtual furniture at other levels needs to be selected, it is necessary to first select the virtual furniture at a higher level and move it away, and then select the virtual furniture at other levels. Finally, the virtual furniture that has been moved away needs to be moved back to its original position. The operation steps of this method are relatively complicated, which reduces the player's gaming experience. Summary of the invention

[0003] The purpose of the present disclosure is to provide a method, device and electronic device for operating objects in a game, so as to simplify the operation steps and enhance the game experience of players.

[0004] The present disclosure provides an object operation method in a game, which provides a graphical user interface through a terminal device, and the graphical user interface includes multiple virtual objects; the method includes: responding to a trigger operation on a first area in the graphical user interface, displaying operation controls of multiple target virtual objects associated with the first area; wherein there are overlapping areas between the display areas of the multiple target virtual objects; responding to a trigger operation on a first operation control among the operation controls of the multiple target virtual objects, performing a specified operation on the target virtual object corresponding to the first operation control.

[0005] Furthermore, the first area is an overlapping area of ​​display areas of multiple virtual objects in the graphical user interface; and the step of displaying operation controls of multiple target virtual objects associated with the first area in response to a trigger operation on the first area in the graphical user interface includes: displaying operation controls of multiple target virtual objects associated with the overlapping area in response to a trigger operation on the overlapping area in the graphical user interface, wherein the multiple target virtual objects are virtual objects corresponding to the multiple display areas constituting the overlapping area.

[0006] Furthermore, at different viewing angles, the overlapping areas of the display areas of multiple virtual objects in the graphical user interface are different.

[0007] Furthermore, in response to a trigger operation on the overlapping area in the graphical user interface, the step of displaying operation controls of multiple target virtual objects associated with the overlapping area includes: in response to a trigger operation on the overlapping area in the graphical user interface, displaying operation controls of multiple target virtual objects in order of the hierarchical priority of each target virtual object in the multiple target virtual objects from high to low.

[0008] Furthermore, the first area is a non-overlapping area of ​​a display area of ​​a first target virtual object among multiple target virtual objects; the step of displaying operation controls of multiple target virtual objects associated with the first area in response to a trigger operation on the first area in the graphical user interface includes: displaying operation controls of multiple target virtual objects in response to a trigger operation on a non-overlapping area of ​​a display area of ​​the first target virtual object in the graphical user interface; the multiple target virtual objects are virtual objects corresponding to the multiple display areas constituting the first overlapping area; wherein the first overlapping area is an overlapping area of ​​the display area of ​​the first target virtual object.

[0009] Furthermore, in response to a triggering operation of a first operation control among operation controls for multiple target virtual objects, the step of performing a specified operation on a target virtual object corresponding to the first operation control includes: in response to a triggering operation of a first operation control among operation controls for multiple target virtual objects, selecting the target virtual object corresponding to the first operation control.

[0010] Furthermore, after the step of selecting the target virtual object corresponding to the first operation control, the method further includes: in response to the selection operation on the target virtual object corresponding to the first operation control, canceling the display of the operation controls of the multiple target virtual objects associated with the first area.

[0011] Furthermore, after the step of selecting the target virtual object corresponding to the first operation control, the method also includes: in response to the selection operation on the target virtual object corresponding to the first operation control, displaying the operable control for the target virtual object corresponding to the first operation control; wherein the operable control is used to: indicate the executable operation acting on the target virtual object corresponding to the first operation control.

[0012] Furthermore, each operation control includes a hidden button; in response to a triggering operation of a first operation control among the operation controls for multiple target virtual objects, the step of performing a specified operation on the target virtual object corresponding to the first operation control includes: in response to a triggering operation of a hidden button of a first operation control among the operation controls for multiple target virtual objects, displaying the target virtual object corresponding to the first operation control in a first display format; and canceling the display of the operation controls for multiple target virtual objects associated with the first area.

[0013] Furthermore, the operation controls of multiple target virtual objects are arranged and displayed in descending order according to the hierarchical priority of each target virtual object; in response to a trigger operation of a first operation control among the operation controls of the multiple target virtual objects, the step of performing a specified operation on the target virtual object corresponding to the first operation control includes: in response to a trigger move operation of the first operation control among the operation controls of the multiple target virtual objects, moving the first operation control to the display position of the second operation control; swapping the display positions of the first operation control and the second operation control.

[0014] Furthermore, after the step of swapping the display positions of the first operation control and the second operation control, the method also includes: in response to swapping the display positions of the first operation control and the second operation control, canceling the display of the operation controls of multiple target virtual objects associated with the first area; if the swapped first operation control is the operation control with the highest hierarchical priority, adjusting the target virtual object corresponding to the second operation control displayed in the overlapping area to be displayed as the target virtual object corresponding to the first operation control.

[0015] The present disclosure provides an object operation device in a game, which provides a graphical user interface through a terminal device, and the graphical user interface includes multiple virtual objects; the device includes: a display module, which is used to respond to a trigger operation on a first area in the graphical user interface, and display operation controls of multiple target virtual objects associated with the first area; wherein there are overlapping areas between the display areas of the multiple target virtual objects; and an execution module, which is used to respond to a trigger operation on a first operation control among the operation controls for the multiple target virtual objects, and execute a specified operation on the target virtual object corresponding to the first operation control.

[0016] The present disclosure provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement any of the above-mentioned object operation methods in the game.

[0017] The present disclosure provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement any of the above-mentioned object operation methods in the game.

[0018] The present disclosure provides a method, device and electronic device for operating objects in a game. First, in response to a trigger operation on a first area in a graphical user interface, operation controls for multiple target virtual objects associated with the first area are displayed; wherein there are overlapping areas between the display areas of the multiple target virtual objects; then, in response to a trigger operation on a first operation control among the operation controls for the multiple target virtual objects, a specified operation is performed on the target virtual object corresponding to the first operation control. In this method, after the first area is triggered and the operation controls for multiple target virtual objects associated with the first area are displayed, the player can directly perform a specified operation on the target virtual object corresponding to the operation control by triggering any one of the multiple operation controls. This method has simple operation steps and can enhance the player's gaming experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 A schematic diagram of a game scene provided for one embodiment of the present disclosure;

[0021] Figure 2 A flowchart of a method for operating an object in a game provided by one of the embodiments of the present disclosure;

[0022] Figure 3 A schematic diagram of object operation interaction in a game provided by one of the embodiments of the present disclosure;

[0023] Figure 4 A schematic diagram of object operation interaction in a game provided by one of the embodiments of the present disclosure;

[0024] Figure 5 A schematic diagram of object operation interaction in a game provided by one of the embodiments of the present disclosure;

[0025] Figure 6 A schematic diagram of object operation interaction in a game provided by one of the embodiments of the present disclosure;

[0026] Figure 7 A schematic diagram of object operation interaction in a game provided by one of the embodiments of the present disclosure;

[0027] Figure 8 A schematic diagram of object operation interaction in a game provided by one of the embodiments of the present disclosure;

[0028] Fig. 9 A schematic diagram of object operation interaction in a game provided by one of the embodiments of the present disclosure;

[0029] Fig.10 A schematic diagram of the structure of an object operating device in a game provided by one of the embodiments of the present disclosure;

[0030] Fig.11 A schematic diagram of the structure of an electronic device provided in accordance with one of the embodiments of the present disclosure. DETAILED DESCRIPTION

[0031] The technical solution of the present disclosure will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.

[0032] Currently, in some game scenes, there may be multiple objects with overlapping display effects in the current perspective. Players sometimes need to select one of the overlapping objects. For example, in the home layout scene, it is common for furniture to be placed overlappingly. In most games, only the highest-level virtual furniture can be selected. If you need to select overlapping virtual furniture at other levels, you need to move the virtual furniture at the higher level away first, and then select the virtual furniture at other levels. Finally, there is a repeated operation of recovery. For example, see Figure 1 A schematic diagram of a game scene is shown, including virtual furniture 1, virtual furniture 2, virtual furniture 3 and virtual furniture 4, wherein virtual furniture 1 has the highest hierarchical priority, and virtual furniture 2, virtual furniture 3 and virtual furniture 4 have lower hierarchical priorities, so the player can only select virtual furniture 1. If it is necessary to select virtual furniture 2, virtual furniture 3 or virtual furniture 4, it is necessary to move virtual furniture 1 first, and after selecting the required virtual furniture and performing related operations, it is necessary to move virtual furniture 1 back to its original position; although the implementation of this method is relatively simple and the operation steps are relatively easy to understand, it does not really solve the problem of how to enable the player to select the furniture he wants to select when the virtual furniture overlaps, and the operation steps are relatively complicated, which reduces the player's gaming experience.

[0033] Based on this, the embodiments of the present disclosure provide a method, device and electronic device for operating objects in a game. The technology can be applied to scenarios where it is necessary to operate virtual objects with overlapping relationships.

[0034] In one embodiment of the present disclosure, the object operation method in the game can be run on a terminal device or a server. The terminal device can be a local terminal device. When the object operation method in the game is run on the server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0035] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the 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 object operation method 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 mobile terminal, a TV, a computer, a handheld computer, etc.; but the terminal device for information processing is a 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.

[0036] In an optional embodiment, the terminal device may be a local terminal device. Taking a game as an example, the 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.

[0037] For ease of understanding, a method for operating an object in a game disclosed in one embodiment of the present disclosure is first described in detail. In this method, a graphical user interface is provided by a terminal device, and the graphical user interface includes a plurality of virtual objects; the terminal device may be a mobile terminal, a television, a computer, a handheld computer, etc.; the graphical user interface may be understood as an operation user interface displayed in a graphical manner, and is used to realize interaction between the terminal device and a player operating the terminal device; the virtual object may be a virtual furniture, a virtual item, etc. in a game scene; the graphical user interface generally includes a plurality of virtual objects; such as Figure 2As shown, the method comprises the following steps:

[0038] Step S202, in response to a trigger operation on a first area in a graphical user interface, display operation controls of multiple target virtual objects associated with the first area; wherein there are overlapping areas between the display areas of the multiple target virtual objects.

[0039] The first area is usually a designated position of a display area of ​​a virtual object with an overlapping area. For example, the first area may be the overlapping area, or may be a non-overlapping area of ​​a display area of ​​a virtual object with an overlapping area. The trigger operation is usually performed by a player operating a terminal device. The trigger operation may be a click operation on the first area. The operation control may be in any form such as a circle or a rectangle. The operation control corresponding to each target virtual object may usually display identification information of the target virtual object. For example, the identification information may be the name of the target virtual object. In actual implementation, a player may trigger the first area in a graphical user interface. At this time, operation controls of multiple target virtual objects associated with the first area may be displayed in the graphical user interface. For example, in a home layout scene, the graphical user interface includes virtual furniture 1, virtual furniture 2, and virtual furniture 3. There is an overlapping area between the display areas of virtual furniture 1 and virtual furniture 2. When the overlapping area is triggered, the operation controls of virtual furniture 1 and virtual furniture 2 associated with the overlapping area may be displayed.

[0040] Step S204, in response to a triggering operation of a first operation control among the operation controls for multiple target virtual objects, performing a specified operation on the target virtual object corresponding to the first operation control.

[0041] The first operation control may be any operation control among the operation controls of multiple target virtual objects; the trigger operation is usually performed by a player operating a terminal device, and the trigger operation may be a click operation on the first operation control, etc.; the specified operation may be operations such as selecting, hiding, adjusting the hierarchy priority, etc., performed on the target virtual object corresponding to the first operation control, which may be set specifically according to actual needs and is not limited here; in actual implementation, after the operation controls of multiple target virtual objects associated with the first area are displayed in the graphical user interface, the player may select the target virtual object for the specified operation according to actual needs, select the first operation control corresponding to the target virtual object from the displayed multiple operation controls, trigger the first operation control, and perform the specified operations such as selecting, hiding, adjusting the hierarchy priority, etc. on the target virtual object corresponding to the first operation control. For example, the graphical user interface displays operation controls for virtual furniture 1 and virtual furniture 2. If the player triggers the operation control for virtual furniture 1, the specified operation may be performed on virtual furniture 1, and if the player triggers the operation control for virtual furniture 2, the specified operation may be performed on virtual furniture 2.

[0042] The object operation method in the above game first responds to the trigger operation for the first area in the graphical user interface, and displays the operation controls of multiple target virtual objects associated with the first area; wherein there are overlapping areas between the display areas of the multiple target virtual objects; and then responds to the trigger operation of the first operation control among the operation controls for the multiple target virtual objects, and performs a specified operation on the target virtual object corresponding to the first operation control. In this method, after the first area is triggered and the operation controls of multiple target virtual objects associated with the first area are displayed, the player can trigger any operation control among the multiple operation controls to directly perform the specified operation on the target virtual object corresponding to the operation control. This method has simple operation steps and can enhance the player's gaming experience.

[0043] A specific implementation method for displaying operation controls of multiple target virtual objects associated with a first area is described below. In this method, the first area is an overlapping area of ​​display areas of multiple virtual objects in a graphical user interface; in response to a trigger operation on the overlapping area in the graphical user interface, operation controls of multiple target virtual objects associated with the overlapping area are displayed, and the multiple target virtual objects are virtual objects corresponding to the multiple display areas constituting the overlapping area; in actual implementation, the virtual objects corresponding to the multiple display areas constituting the above-mentioned overlapping area can be determined as the above-mentioned multiple target virtual objects. When a player needs to perform a specified operation such as selecting or hiding a target virtual object among the multiple target virtual objects, the overlapping area can be directly triggered. At this time, operation controls of multiple target virtual objects associated with the overlapping area can be displayed in the graphical user interface, and the multiple operation controls can be displayed in the form of a list or the like; for example, taking a home layout scene as an example, there may be multiple virtual furniture in the home layout scene, and the pattern coverage area of ​​the virtual furniture can be regarded as a clickable hot zone of the virtual furniture. If two virtual furniture have an overlapping area on the hot zone, that is, the overlapping area>0, then the overlapping area can be regarded as an overlapping hot zone, and the overlapping hot zone is the above-mentioned overlapping area.

[0044] For easier understanding, see Figure 3 A schematic diagram of object operation interaction in a game shown in FIG. Figure 4 The schematic diagram of object operation interaction in a game is shown, and the graphical user interface includes virtual furniture 1, virtual furniture 2 and virtual furniture 3, wherein there is an overlapping area 1 between virtual furniture 2 and virtual furniture 3, and there is an overlapping area 2 between virtual furniture 1 and virtual furniture 3. When the player triggers the overlapping area 2, the operation controls of virtual furniture 1 and virtual furniture 3 associated with the overlapping area 2 can be displayed in the graphical user interface in a list form. In this way, the player directly triggers the overlapping area to display the operation controls of multiple target virtual objects associated with the overlapping area. The operation steps are simple and the game experience of the player can be improved.

[0045] Furthermore, at different viewing angles, the overlapping areas of the display areas of multiple virtual objects in the graphical user interface are different. Figure 3For example, when the virtual camera is located at a first position, at the corresponding first viewing angle, there is an overlapping area 1 between virtual furniture 2 and virtual furniture 3, and there is an overlapping area 2 between virtual furniture 1 and virtual furniture 3. When the position of the virtual camera is moved from the first position to the second position, at the corresponding second viewing angle, the size of the overlapping area 1 between virtual furniture 2 and virtual furniture 3 will usually change, and the size of the overlapping area 2 between virtual furniture 1 and virtual furniture 3 will usually also change. In one possible case, there may be no overlapping area between virtual furniture 2 and virtual furniture 3, and there may be no overlapping area between virtual furniture 1 and virtual furniture 3. That is, in a graphical user interface, the positions of the overlapping areas of multiple virtual objects will change with the viewing angle and are not fixed.

[0046] Furthermore, in response to a trigger operation for an overlapping area in a graphical user interface, operation controls of multiple target virtual objects are displayed in descending order of the hierarchical priority of each target virtual object. The hierarchical priority can be understood as the display priority of the target virtual object in the graphical user interface. The hierarchical priorities of multiple target virtual objects are usually not the same. Some target virtual objects have higher hierarchical priorities, while some target virtual objects have lower hierarchical priorities. When the overlapping area is triggered, the corresponding operation controls of each target virtual object can be displayed in descending order of the hierarchical priority of each target virtual object. For example, if multiple operation controls are displayed in a list, the operation control corresponding to the target virtual object with the highest hierarchical priority can be displayed at the first position of the list. The operation controls of multiple target virtual objects are arranged in descending order of the hierarchical priority. The target virtual object arranged at the end of the list has the lowest hierarchical priority. Figure 4 As shown, it can be seen that the hierarchical priority of virtual furniture 3 is higher than that of virtual furniture 1. This method displays the corresponding operation controls of each target virtual object in descending order of their hierarchical priority, making it easier for players to intuitively see the hierarchical priority of each target virtual object, which can further enhance the player's gaming experience.

[0047] Another specific implementation method for displaying operation controls of multiple target virtual objects associated with a first area is described below, wherein the first area is a non-overlapping area of ​​a display area of ​​a first target virtual object among multiple target virtual objects; in response to a trigger operation on a non-overlapping area of ​​a display area of ​​a first target virtual object in a graphical user interface, operation controls of multiple target virtual objects are displayed; multiple target virtual objects are virtual objects corresponding to multiple display areas constituting the first overlapping area; wherein the first overlapping area is an overlapping area of ​​the display area of ​​the first target virtual object. The first target virtual object may be any target virtual object among multiple target virtual objects, and since multiple target virtual objects associated with the first area generally have different hierarchical priorities, the first target virtual object may be a virtual object of any hierarchical priority, and preferably, the first target virtual object may be any target virtual object except the target virtual object with the highest hierarchical priority, and more preferably, the first target virtual object may be a target virtual object that the player wants to operate.

[0048] In actual implementation, the overlapping area of ​​the display area of ​​the first target virtual object can be determined as the first overlapping area, and the virtual objects corresponding to the multiple display areas constituting the first overlapping area can be determined as the multiple target virtual objects. When it is necessary to display the operation controls of the multiple target virtual objects, the player can directly trigger the non-overlapping area of ​​the display area of ​​the first target virtual object among the multiple target virtual objects, and the operation controls of the multiple target virtual objects can be displayed in the graphical user interface; for example, see Figure 5 A schematic diagram of object operation interaction in a game is shown. In a home layout scene, the graphical user interface includes virtual furniture 1, virtual furniture 2 and virtual furniture 3, wherein there is an overlapping area 1 between virtual furniture 2 and virtual furniture 3, and there is also an overlapping area 2 between virtual furniture 1 and virtual furniture 3, and the hierarchical priority of virtual furniture 3 is higher than the hierarchical priority of virtual furniture 1. If the player wants to operate virtual furniture 1, the non-overlapping area in the display area of ​​virtual furniture 1 can be directly triggered, and the following display can be displayed: Figure 4 The operation controls of virtual furniture 1 and virtual furniture 3 are shown. In this way, when a player triggers a non-overlapping area of ​​the display area of ​​the first target virtual object among multiple target virtual objects, the operation controls of the associated multiple target virtual objects can be displayed, and the operation mode is more flexible and diverse, which can increase the player's freedom of operation on the target virtual objects with overlapping relationships, and can further enhance the player's gaming experience.

[0049] Another optional implementation is described below. When the player wants to select the first target virtual object, the non-overlapping area of ​​the display area of ​​the first target virtual object can be directly triggered. At this time, the first target virtual object can be directly selected without displaying the operation controls containing other target virtual objects. For example, Figure 5 For example, if the player wants to operate virtual furniture 1, the non-overlapping area in the display area of ​​virtual furniture 1 can be directly triggered. At this time, the virtual furniture 1 can be directly selected, and then the virtual furniture 1 can be deleted, rotated, added, etc. can be performed according to actual needs. Since the first target virtual object can be directly selected, there is no need to display the operation control first and then select the first target virtual object from the operation control, which can further simplify the operation process. The selection method is simpler and faster, which can further improve the efficiency of players operating the game.

[0050] Another specific application scenario applicable to the present embodiment is described below, in which a target virtual object corresponding to the first operation control is selected in response to a trigger operation of a first operation control in the operation controls for multiple target virtual objects. In actual implementation, after the operation controls for multiple target virtual objects associated with the first area are displayed in the graphical user interface, the player can select the first operation control corresponding to the target virtual object to be selected from the multiple operation controls displayed according to the target virtual object actually desired to be selected, and trigger the first operation control to directly select the corresponding target virtual object, which will not be affected by the hierarchical priority of the multiple target virtual objects, even if the hidden virtual object with a lower hierarchical priority can be directly selected. In this way, after the first operation control in the operation controls for multiple target virtual objects is triggered, the target virtual object corresponding to the first operation control can be directly selected, and the operation steps are simple. In addition, this way of selecting the corresponding target virtual object by triggering the first operation control can avoid the situation where the player cannot select the target virtual object with a lower hierarchical priority, and the accidental touch operation of the target virtual object with a coincident relationship, thereby improving the efficiency and accuracy of selecting the target virtual object and enhancing the interactive experience of the player selecting the target virtual object.

[0051] For easier understanding, see Figure 6 In the diagram of object operation interaction in a game shown in the figure, the operation controls of virtual furniture 1 and virtual furniture 3 are displayed in a list form, and the hierarchical priority of virtual furniture 3 is higher than that of virtual furniture 1. If the player wants to operate virtual furniture 1, the operation control of virtual furniture 1 can be triggered, and then virtual furniture 1 can be selected, so that virtual furniture 1 becomes selected; if the player wants to operate virtual furniture 3, the operation control of virtual furniture 3 can be triggered, and then virtual furniture 3 can be selected, so that virtual furniture 3 becomes selected.

[0052] Furthermore, in response to the selection operation of the target virtual object corresponding to the first operation control, the operation controls of the multiple target virtual objects associated with the first area are canceled. In actual implementation, when the player triggers the first operation control and selects the target virtual object corresponding to the first operation control, the operation controls of the multiple target virtual objects displayed are usually automatically closed, which further simplifies the operation process and improves the player's gaming experience.

[0053] Further, in response to the selection operation of the target virtual object corresponding to the first operation control, the operable control for the target virtual object corresponding to the first operation control is displayed; wherein the operable control is used to indicate the executable operation acting on the target virtual object corresponding to the first operation control. In actual implementation, after the target virtual object corresponding to the first operation control is selected, the operable control for the target virtual object is usually displayed in the graphical user interface. For example, the operable control can be displayed in an area close to the target virtual object, etc. The number of the operable controls can be multiple, and each operable control can correspond to an executable operation for the target virtual object, such as a delete operation, a rotation operation, a new operation, and an operation to confirm the current state of the target virtual object; by clicking or selecting a certain operable control, the operable control can be triggered to perform a corresponding operation on the target virtual object. After the target virtual object corresponding to the first operation control is selected, this method can automatically display the operable control for the target virtual object for the convenience of the player's operation. The operation process is simple and can enhance the player's gaming experience.

[0054] For easier understanding, see Figure 7 As shown in the diagram of object operation interaction in a game, after the player selects virtual furniture 1, an operation mark for indicating deletion of virtual furniture 1, an operation mark for indicating confirmation of the current state of virtual furniture 1, an operation mark for indicating rotation of virtual furniture 1, and an operation mark for indicating adding new virtual furniture 1 can be displayed in the area near the virtual furniture 1.

[0055] Another specific application scenario applicable to the present embodiment is described below, in which each operation control includes a hidden button; in response to the triggering operation of the hidden button of the first operation control in the operation controls for multiple target virtual objects, the target virtual object corresponding to the first operation control is displayed in a first display format; and the operation controls for multiple target virtual objects associated with the first area are canceled. The position of the hidden button can be indicated in a special format in the operation control. For example, the shape of the operation control is a rectangle, and a button with an "eye" pattern can be displayed near the left side of the rectangular operation control, which is the hidden button; the first operation control can be any operation control among the operation controls for multiple target virtual objects, and the first operation control is usually the operation control corresponding to the target virtual object that the player wants to hide; the first display format can be a display format with a specified transparency, for example, 50% transparency, etc.

[0056] In actual implementation, when the player needs to hide a target virtual object among multiple target virtual objects, the player can trigger a hide button in the first operation control corresponding to the target virtual object to hide the target virtual object. For example, the transparency of the hidden target virtual object becomes 50%, etc. For example, see Figure 8 A schematic diagram of object operation interaction in a game is shown. Figure 8 In (1), the player triggers the button with the "eye" pattern in the operation control of the virtual furniture 1 to hide the virtual furniture 1. After hiding, the transparency of the virtual furniture 1 becomes 50%. Figure 8 (2) As shown; after hiding the target virtual object, the operation controls of the displayed multiple target virtual objects are usually automatically closed. This method can directly hide the corresponding target virtual object by triggering the hide button in the operation control. The operation method is simple and fast, which can improve the efficiency of players in operating the game.

[0057] Another specific application scenario applicable to the present embodiment is described below. The operation controls of multiple target virtual objects are displayed in descending order according to the hierarchical priority of each target virtual object; in response to a trigger movement operation of a first operation control in the operation controls for the multiple target virtual objects, the first operation control is moved to the display position of the second operation control; and the display positions of the first operation control and the second operation control are swapped. The trigger movement operation is usually performed by a player operating a terminal device; the second operation control can be any operation control except the first operation control among the operation controls of the multiple target virtual objects displayed; in actual implementation, the operation controls of the multiple target virtual objects displayed in the graphical user interface are usually displayed in descending order according to the hierarchical priority of each target virtual object, and the player can directly judge the relative relationship of the hierarchical priority of each target virtual object through the display positions of the multiple operation controls.

[0058] If the player wants to swap the hierarchical priorities of the target virtual object corresponding to the first operation control with the target virtual object corresponding to the second operation control, the player can trigger the movement operation on the first operation control and move the first operation control to the display position of the second operation control. In this way, the display position of the first operation control can be swapped with the display position of the second operation control, thereby realizing the swap of the hierarchical priorities of the target virtual object corresponding to the first operation control with the target virtual object corresponding to the second operation control. In specific implementation, the player can long press the first operation control of the target virtual object to make the first operation control of the target virtual object become a slidable state, and drag the first operation control to the position of the second operation control to be swapped, so as to complete the swap of the hierarchical priorities of the two target virtual objects. This method can achieve the adjustment and swap of the hierarchical priorities of the target virtual objects corresponding to the two operation controls by swapping the display positions of the first operation control and the second operation control. The operation method is simple, which can improve the freedom and flexibility of the player in operating the game and further enhance the player's gaming experience.

[0059] Furthermore, in response to swapping the display positions of the first operation control and the second operation control, the operation controls of the multiple target virtual objects associated with the first area are cancelled; if the swapped first operation control is the operation control with the highest hierarchical priority, the target virtual object corresponding to the second operation control displayed in the overlapping area is adjusted to be the target virtual object corresponding to the first operation control. In actual implementation, after swapping the display positions of the first operation control and the second operation control, the operation controls of the multiple target virtual objects displayed are usually automatically closed. Since the overlapping area of ​​the display areas of multiple target virtual objects can only display the display area corresponding to one of the target virtual objects in the overlapping area, and the display area corresponding to the target virtual object with the highest hierarchical priority is usually displayed, if the first operation control after the swap is the control with the highest hierarchical priority, it can be understood that the second operation control before the swap is the control with the highest hierarchical priority, and the target virtual object corresponding to the second operation control is displayed in the overlapping area. Therefore, after swapping the display positions of the first operation control and the second operation control, the first operation control is swapped to the operation control with the highest hierarchical priority. At this time, the target virtual object corresponding to the second operation control originally displayed in the overlapping area will be adjusted to the target virtual object corresponding to the first operation control.

[0060] After swapping the display positions of the first operation control and the second operation control, the above method can automatically close the operation controls of multiple target virtual objects displayed, thereby simplifying the operation process. In addition, the control with the highest hierarchical priority can be automatically displayed in the overlapping area. This method increases the player's freedom to operate the game and can further enhance the player's gaming experience.

[0061] For easier understanding, see Fig. 9 A schematic diagram of object operation interaction in a game is shown. Fig. 9 In (1), the operation controls of virtual furniture 1 and virtual furniture 3 are displayed in a list format. The first position in the list is the operation control of virtual furniture 3, and the second position is the operation control of virtual furniture 1. It can be seen that the hierarchical priority of virtual furniture 3 is higher than that of virtual furniture 1. Fig. 9 (2) If the player wants to swap the hierarchical priorities of virtual furniture 1 and virtual furniture 3, he can long press the operation control of virtual furniture 1 to make the operation control slidable, and drag the operation control of virtual furniture 1 to the position of the operation control of virtual furniture 3. This will complete the swap of the display positions of the two operation controls and automatically close the list of the operation controls. Fig. 9 As shown in (3), after the display positions of the two operation controls are interchanged, since the hierarchical priority of virtual furniture 1 is higher than that of virtual furniture 3, the relevant area of ​​virtual furniture 1 is displayed in the overlapping area 2.

[0062] Corresponding to the above method embodiment, see Fig.10 A structural schematic diagram of an object operation device in a game is shown, in which a graphical user interface is provided through a terminal device, and the graphical user interface includes multiple virtual objects; the device includes: a display module 100, which is used to respond to a trigger operation on a first area in the graphical user interface, and display operation controls of multiple target virtual objects associated with the first area; wherein there are overlapping areas between the display areas of the multiple target virtual objects; an execution module 101, which is used to respond to a trigger operation on a first operation control among the operation controls for the multiple target virtual objects, and perform a specified operation on the target virtual object corresponding to the first operation control.

[0063] The object operation device in the above game first responds to the trigger operation for the first area in the graphical user interface, and displays the operation controls of multiple target virtual objects associated with the first area; wherein there are overlapping areas between the display areas of the multiple target virtual objects; and then responds to the trigger operation for the first operation control among the operation controls for the multiple target virtual objects, and performs a specified operation on the target virtual object corresponding to the first operation control. In this device, after the first area is triggered and the operation controls of multiple target virtual objects associated with the first area are displayed, the player can trigger any operation control among the multiple operation controls to directly perform the specified operation on the target virtual object corresponding to the operation control. This method has simple operation steps and can enhance the player's gaming experience.

[0064] In an optional embodiment, the first area is an overlapping area of ​​display areas of multiple virtual objects in a graphical user interface; the display module is also used to: respond to a trigger operation on the overlapping area in the graphical user interface, display operation controls of multiple target virtual objects associated with the overlapping area, and the multiple target virtual objects are virtual objects corresponding to the multiple display areas constituting the overlapping area.

[0065] In an optional implementation, at different viewing angles, overlapping areas of display areas of multiple virtual objects in the graphical user interface are different.

[0066] In an optional embodiment, the display module is also used to: respond to a trigger operation on the overlapping area in the graphical user interface, and display operation controls of multiple target virtual objects in order of the hierarchical priority of each target virtual object in the multiple target virtual objects from high to low.

[0067] In an optional embodiment, the first area is a non-overlapping area of ​​the display area of ​​the first target virtual object among the multiple target virtual objects; the display module is also used to: respond to a trigger operation on the non-overlapping area of ​​the display area of ​​the first target virtual object in the graphical user interface, and display operation controls of the multiple target virtual objects; the multiple target virtual objects are virtual objects corresponding to the multiple display areas constituting the first overlapping area; wherein the first overlapping area is an overlapping area of ​​the display area of ​​the first target virtual object.

[0068] In an optional implementation, the execution module is further used to: respond to a triggering operation of a first operation control among the operation controls for multiple target virtual objects, and select the target virtual object corresponding to the first operation control.

[0069] In an optional implementation, the execution module is further configured to: in response to a selection operation on a target virtual object corresponding to the first operation control, cancel display of the operation controls of the multiple target virtual objects associated with the first area.

[0070] In an optional embodiment, the execution module is also used to: respond to a selection operation on the target virtual object corresponding to the first operation control, and display an operable control for the target virtual object corresponding to the first operation control; wherein the operable control is used to: indicate an executable operation acting on the target virtual object corresponding to the first operation control.

[0071] In an optional embodiment, each operation control includes a hidden button; the execution module is also used to: respond to the triggering operation of the hidden button of the first operation control in the operation controls for multiple target virtual objects, display the target virtual object corresponding to the first operation control in a first display format; and cancel the display of the operation controls of multiple target virtual objects associated with the first area.

[0072] In an optional embodiment, the operation controls of multiple target virtual objects are displayed in descending order according to the hierarchical priority of each target virtual object; the execution module is also used to: respond to a trigger move operation of a first operation control among the operation controls of the multiple target virtual objects, move the first operation control to the display position of the second operation control; swap the display positions of the first operation control and the second operation control.

[0073] In an optional embodiment, the execution module is also used to: in response to swapping the display positions of the first operation control and the second operation control, cancel the display of the operation controls of multiple target virtual objects associated with the first area; if the swapped first operation control is the operation control with the highest hierarchical priority, adjust the target virtual object corresponding to the second operation control displayed in the overlapping area to be displayed as the target virtual object corresponding to the first operation control.

[0074] The object operating device in the game provided by the embodiment of the present disclosure has the same implementation principle and technical effects as those of the object operating method embodiment in the aforementioned game. For the sake of brief description, for parts not mentioned in the embodiment of the object operating device in the game, reference may be made to the corresponding contents in the embodiment of the object operating method in the aforementioned game.

[0075] The present disclosure also provides an electronic device, see Fig.11 As shown, the electronic device includes a processor 130 and a memory 131. The memory 131 stores machine executable instructions that can be executed by the processor 130. The processor 130 executes the machine executable instructions to implement the object operation method in the above game.

[0076] Further, Fig.11 The electronic device shown further includes a bus 132 and a communication interface 133 , and the processor 130 , the communication interface 133 and the memory 131 are connected via the bus 132 .

[0077] The memory 131 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 132 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0078] The processor 130 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 130. The above processor 130 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the method of the above embodiment in combination with its hardware.

[0079] The disclosed embodiment also provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the object operation method in the above-mentioned game. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0080] The computer program product of the object operation method, device and electronic device in the game provided by the embodiments of the present disclosure includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.

[0081] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0082] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. A method for operating an object in a game, characterized in that: Displaying a game scene by means of a graphical user interface, wherein the game scene includes a plurality of virtual objects; the method includes: When the virtual camera located in the game scene is located at a first position, the game scene corresponding to a first perspective is displayed in the graphic interface, wherein under the first perspective, there is no overlapping area between the multiple virtual objects in the game scene, and the first perspective is the perspective corresponding to the virtual camera when it is at the first position; In response to the viewing angle control operation, controlling the virtual camera to move from the first position to a second position; When the virtual camera is located at a second position, a game scene corresponding to a second perspective is displayed in the graphic interface, wherein, under the second perspective, at least some of the multiple virtual objects in the game scene have overlapping areas, and the second perspective is the perspective corresponding to the virtual camera when it is at the second position; In response to a first trigger operation on the overlapping area, displaying operation controls of a plurality of target virtual objects associated with the overlapping area; wherein the plurality of target virtual objects are virtual objects constituting the overlapping area among the plurality of virtual objects; In response to a triggering operation of a first operation control among the operation controls of the multiple target virtual objects, a specified operation is performed on the target virtual object corresponding to the first operation control; wherein the specified operation includes at least one of the following: selecting, hiding, and adjusting the hierarchical priority operations performed on the target virtual object corresponding to the first operation control.

2. The method according to claim 1, characterized in that: The step of displaying the operation controls corresponding to the multiple target virtual objects is: A list interface is displayed, wherein the list interface includes a plurality of operation controls arranged in a preset manner.

3. The method according to claim 1, characterized in that Under different viewing angles, the positions of the overlapping areas formed by the multiple target virtual objects are different.

4. The method according to claim 1, characterized in that: The operation controls are arranged according to the display priority of the target objects in the graphical user interface.

5. The method according to claim 4, characterized in that Along the acquisition direction of the virtual camera, the display priority of the first virtual object close to the virtual camera is greater than the display priority of the second virtual object far away from the virtual camera, wherein the area constituting the overlapping area of ​​the first target virtual object is close to the virtual camera, and the area constituting the overlapping area of ​​the second target virtual object is far away from the virtual camera.

6. The method according to claim 1, characterized in that The method further comprises: In response to a trigger operation on a non-overlapping area of ​​the target virtual object, the first target virtual object is selected.

7. The method according to claim 1, characterized in that The method further comprises: When the target virtual object is selected, the display of the operation controls corresponding to the multiple target virtual objects is cancelled.

8. The method according to any one of claims 1 or 6, characterized in that: The method further comprises: When the target virtual object is selected, the operable controls corresponding to the target virtual object are controlled to be displayed, wherein the operable controls include at least one of the following: a delete control, a selection control, a new add control, and a confirmation control.

9. The method according to claim 1, characterized in that: Each of the operation controls includes a hidden button; the step of responding to the triggering operation of the first operation control among the operation controls for the multiple target virtual objects and performing a specified operation on the target virtual object corresponding to the first operation control includes: In response to a triggering operation of a hiding button of a first operation control among the operation controls for the multiple target virtual objects, the target virtual object corresponding to the first operation control is displayed in a first display format.

10. The method according to claim 4, characterized in that The step of responding to a triggering operation of a first operation control among the operation controls for the multiple target virtual objects and performing a specified operation on the target virtual object corresponding to the first operation control comprises: In response to a triggering movement operation of the first operation control among the operation controls for the multiple target virtual objects, moving the first operation control to a display position of a second operation control; The display positions of the first operation control and the second operation control are swapped.

11. The method according to claim 10, characterized in that After the step of switching the display positions of the first operation control and the second operation control, the method further includes: If the first operation control after replacement is the operation control with the highest hierarchical priority, the target virtual object corresponding to the second operation control displayed in the overlapping area is adjusted to be displayed as the target virtual object corresponding to the first operation control.

12. A method for operating an object in a game, characterized in that: Displaying a game scene by means of a graphical user interface, wherein the game scene includes a plurality of virtual objects; the method includes: According to the viewing angle control operation, controlling the movement of a virtual camera located in the game scene so that the graphical user interface displays the display positions of the multiple virtual objects at different viewing angles; receiving trigger operations acting on the graphical user interface; Under the current viewing angle, when the trigger position of the trigger operation corresponds to an area constituting an overlapping area of ​​multiple target virtual objects, displaying operation controls corresponding to the multiple target virtual objects; In response to a triggering operation of a first operation control among the operation controls of the multiple target virtual objects, a specified operation is performed on the target virtual object corresponding to the first operation control; wherein the specified operation includes at least one of the following: selecting, hiding, and adjusting the hierarchical priority operations performed on the target virtual object corresponding to the first operation control.

13. The method according to claim 12, characterized in that When the virtual camera is controlled to move, the position of the overlapping area formed by the multiple target virtual objects changes with the movement of the virtual camera.

14. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the object operation method in the game described in any one of claims 1-13.

15. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the object operation method in the game described in any one of claims 1-13.

Citation Information

Patent Citations

  • Object selection method and system

    CN105677134A

  • Selection method and device for object in games

    CN107433036A

  • Method and device for selecting virtual objects in game, equipment and medium

    CN109771941A

  • Role control method and device, terminal and computer readable storage medium

    CN113546403A

  • Virtual object control method, electronic equipment and readable medium

    CN113680055A