Game control method and device

By displaying a virtual wheel on the game interface and using drag-and-drop operations to select and use virtual items, the problem of low operation continuity and poor user experience caused by multiple clicks in existing technologies is solved, achieving more efficient game control.

CN114307131BActive Publication Date: 2026-01-02NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111547436.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2026-01-02
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

Existing game control methods require multiple independent clicks, resulting in low operational continuity, strong interruptions, and a poor user experience.

Method used

By displaying a virtual wheel on a graphical user interface, virtual items can be selected and used in slots using drag-and-drop operations of target controls, simplifying the operation process and avoiding multiple clicks.

Benefits of technology

It enables the rapid use of virtual items, improves operational fluency and overall user experience, and simplifies the operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114307131B_ABST
    Figure CN114307131B_ABST
Patent Text Reader

Abstract

The application discloses a game control method and device. The method comprises the following steps: in response to a touch operation on a shortcut icon, displaying a virtual roulette on a graphical user interface, wherein the virtual roulette comprises a target control located at a center position of the virtual roulette and a plurality of slots, each slot is composed of a first area and a second area, the first area is located between the center position and the second area, and each slot is used to establish a binding relationship with at least one virtual item; in response to a drag operation on the target control, controlling the target control to move in the graphical user interface following the drag operation; in response to the target control reaching a first area of a first slot in the plurality of slots, selecting the first slot; and in response to the target control reaching a second area of the first slot, controlling a virtual character to use a first virtual item corresponding to the first slot. The application solves the technical problem that the operation continuity of the game control method in the prior art is low, the interruption is strong, and the experience is poor.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of computer, in particular to a game control method and device. BACKGROUND

[0002] At present, in order to facilitate the player to use the item quickly, a scheme of quickly using the item is provided for the user, and the implementation process of the scheme is as follows: the player clicks an entry icon to open a quick use interface, and then clicks the item displayed in the selection interface to use. However, since the operation process of the above scheme is fixed, the player needs to perform multiple independent click operations in the process of repeatedly using the item, the operation is complex, and since the entry icon is clicked to open the quick use interface, the operation continuity is low, the interruption is strong, and the player will lose the battle state, and the game experience is poor.

[0003] At present, no effective solution has been proposed for the above problems. SUMMARY

[0004] The embodiments of the present application at least provide a game control method and device, so as to at least solve the technical problem that the game control method in the prior art needs to perform multiple independent click operations, resulting in low operation continuity, strong interruption, and poor experience.

[0005] According to one of the embodiments of the present application, a game control method is provided, a graphical user interface is provided by a terminal device, the content displayed by the graphical user interface includes part of a game scene, at least one virtual character, and a quick icon, and the method includes: in response to a touch operation on the quick icon, displaying a virtual roulette on the graphical user interface, wherein the virtual roulette includes a target control located at the center position of the virtual roulette and a plurality of slots, each slot is composed of a first area and a second area, the first area is located between the center position and the second area, and each slot is used to establish a binding relationship with at least one virtual item; in response to a drag operation on the target control, controlling the target control to move in the graphical user interface following the drag operation; in response to the target control reaching the first area of the first slot in the plurality of slots, selecting the first slot; and in response to the target control reaching the second area of the first slot, controlling the virtual character to use the first virtual item corresponding to the first slot.

[0006] Optionally, the method further includes: in the process of displaying the virtual roulette, in response to a sliding operation on a blank area in the graphical user interface, controlling the virtual roulette to rotate according to the sliding operation.

[0007] Optionally, the method further includes: in response to the target control reaching the first area of the first slot, displaying detailed information of the first virtual item.

[0008] Optionally, the method further comprises: in response to the target control returning to the center position, maintaining the selected state of the first slot.

[0009] Optionally, the method further comprises: in the process that the first slot is in the selected state, in response to a sliding operation on a blank area in the graphical user interface, controlling the virtual roulette to rotate according to the sliding operation; in response to the target control falling into a second slot, canceling the selected state of the first slot and selecting the second slot.

[0010] Optionally, the first slot and the second slot are adjacent slots, and the method further comprises: in response to an area of a part of the target control located in the second slot being greater than an area of a part of the target control located in the first slot, determining that the target control falls into the second slot.

[0011] Optionally, the method further comprises: in response to the touch point corresponding to the dragging operation moving from the second area to an area outside the virtual roulette, controlling the target control to remain in the second area.

[0012] Optionally, in response to the first slot being selected, the method further comprises: displaying an indication mark from the center position to the target control.

[0013] Optionally, the method further comprises: in response to the end of the dragging operation, hiding the virtual roulette.

[0014] According to one of the embodiments of the present application, a game control device is further provided, which provides a graphical user interface through a terminal device, and the content displayed by the graphical user interface includes a part of a game scene, at least one virtual character, and a shortcut icon. The device comprises: a display module, configured to display a virtual roulette on the graphical user interface in response to a touch operation on the shortcut icon, wherein the virtual roulette comprises a target control located at a center position of the virtual roulette and a plurality of slots, each slot is composed of a first area and a second area, the first area is located between the center position and the second area, and each slot is used to establish a binding relationship with at least one virtual item; a first control module, configured to control the target control to move in the graphical user interface in response to a dragging operation on the target control; a selection module, configured to select a first slot in the plurality of slots in response to the target control reaching the first area of the first slot; and a second control module, configured to control the virtual character to use a first virtual item corresponding to the first slot in response to the target control reaching the second area of the first slot.

[0015] Optionally, the device further comprises: a rotation module, configured to control the virtual roulette to rotate according to a sliding operation in response to the sliding operation on a blank area in the graphical user interface in the process that the virtual roulette is displayed.

[0016] Optionally, the display module is further configured to display detailed information of the first virtual item in response to the target control reaching the first region of the first slot.

[0017] Optionally, the apparatus further comprises a maintaining module configured to maintain the selected state of the first slot in response to the target control returning to the center position.

[0018] Optionally, the apparatus further comprises a rotating module configured to control the virtual roulette to rotate according to the sliding operation in response to the sliding operation on the blank region of the graphical user interface during the process that the first slot is in the selected state; and a canceling module configured to cancel the selected state of the first slot and select the second slot in response to the target control falling into the second slot.

[0019] Optionally, the first slot and the second slot are adjacent slots, and the apparatus further comprises a determining module configured to determine that the target control falls into the second slot in response to an area of the part of the target control located in the second slot being greater than an area of the part of the target control located in the first slot.

[0020] Optionally, the apparatus further comprises a third control module configured to control the target control to remain in the second region in response to the touch point corresponding to the dragging operation moving from the second region to a region outside the virtual roulette.

[0021] Optionally, the display module is further configured to display an indication mark from the center position to the target control in response to the first slot being selected.

[0022] Optionally, the apparatus further comprises a hiding module configured to hide the virtual roulette in response to the end of the dragging operation.

[0023] According to an embodiment of the present application, a non-volatile storage medium is provided, and the non-volatile storage medium stores a computer program. The computer program is configured to execute the game control method of any one of the above embodiments when running.

[0024] According to an embodiment of the present application, a processor is provided, and the processor is configured to run a program. The program is configured to execute the game control method of any one of the above embodiments when running.

[0025] According to an embodiment of the present application, an electronic device is provided, and the electronic device comprises a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to execute the game control method of any one of the above embodiments.

[0026] In at least some embodiments of the present application, a virtual wheel is displayed on the graphical user interface in response to a touch operation on the shortcut icon, the target control is controlled to follow the drag operation in the graphical user interface in response to a drag operation on the target control, the first slot is selected in response to the target control reaching a first region of the first slot in the plurality of slots, and the virtual character is controlled to use a first virtual item corresponding to the first slot in response to the target control reaching a second region of the first slot, thereby achieving the purpose of quick use of the virtual item. It is easy to note that after the player clicks on the shortcut icon, the player can select the first virtual item to be used by dragging the target control, so that the player does not need to click multiple times when using the virtual item, thereby avoiding breaking points, achieving the technical effects of simplifying the operation process, improving the continuity of the operation, and improving the overall experience. In this way, the technical problem that the game control method in the prior art needs to be operated multiple times independently, resulting in low operation continuity, strong interruption, and poor experience is solved. BRIEF DESCRIPTION OF DRAWINGS

[0027] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:

[0028] Figure 1 is a hardware structure block diagram of a mobile terminal of a game control method according to an embodiment of the present application;

[0029] Figure 2 is a flowchart of a game control method according to an embodiment of the present application;

[0030] Figure 3 is an interface schematic diagram of an optional opening of a virtual wheel according to an embodiment of the present application;

[0031] Figure 4 is an interface schematic diagram of a sub-region of a slot of a virtual wheel according to an embodiment of the present application;

[0032] Figure 5 is an interface schematic diagram of an optional control of rotation of a virtual wheel according to an embodiment of the present application;

[0033] Figure 6 is an interface schematic diagram of a change of a selected region after rotation of a virtual wheel according to an embodiment of the present application;

[0034] Figure 7 is a structure block diagram of a game control device according to an embodiment of the present application. DETAILED DESCRIPTION

[0035] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0036] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0037] According to one embodiment of the present invention, an embodiment of a game control method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0038] This method embodiment can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smartphone (such as an Android phone, iOS phone, etc.), tablet computer, PDA, mobile Internet Device (MID), PAD, game console, and other terminal devices. Figure 1 This is a hardware structure block diagram of a mobile terminal for a game control method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1The mobile terminal shown in FIG. 1 includes only one processor 102 (the processor 102 can include, but is not limited to, a processing device such as a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microprocessor (MCU), a field programmable logic device (FPGA), a neural network processing unit (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data. Optionally, the mobile terminal described above can further include a transmission device 106 for communication functions, an input / output device 108, and a display device 110. Those skilled in the art can understand that Figure 1 The structure shown is only schematic, and does not limit the structure of the mobile terminal described above. For example, the mobile terminal can include more or fewer components than those shown, or have a different configuration of components than those shown. Figure 1 For example, the mobile terminal can include more or fewer components than those shown, or have a different configuration of components than those shown. Figure 1 For example, the mobile terminal can include more or fewer components than those shown, or have a different configuration of components than those shown.

[0039] The memory 104 can be used to store computer programs, such as software programs of application software and modules, such as a computer program corresponding to the game control method in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, i.e., implements the game control method described above. The memory 104 can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory remotely disposed relative to the processor 102, which can be connected to the mobile terminal through a network. Examples of the network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0040] The transmission device 106 is used to receive or send data via a network. Specific examples of the network can include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.

[0041] The input in the input / output device 108 can come from a plurality of human interface devices (HIDs). For example: keyboard and mouse, gamepad, other special game controllers (such as steering wheel, fishing rod, dance pad, remote controller, etc.). Some human interface devices can provide not only input function but also output function, for example: force feedback and vibration of gamepad, audio output of controller, etc.

[0042] The display device 110 can be, for example, a heads-up display (HUD), a liquid crystal display (LCD) with touch screen, and a touch display (also referred to as "touch screen" or "touch display screen"). The liquid crystal display can enable a user to interact with a user interface of the mobile terminal. In some embodiments, the above-mentioned mobile terminal has a graphical user interface (GUI), and a user can interact with the GUI through finger contact and / or gestures on a touch-sensitive surface. The human-computer interaction function can optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, gaming, video conferencing, instant messaging, sending and receiving emails, call interface, playing digital videos, playing digital music, and / or web browsing, etc. Executable instructions for performing the above-mentioned human-computer interaction functions are configured / stored in one or more computer program products or readable storage media executable by a processor.

[0043] The game control method in one embodiment of the present disclosure can run on a local terminal device or a server. When the game control method runs 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.

[0044] In an optional embodiment, various cloud applications can run under the cloud interaction system, for example: cloud gaming. Taking cloud gaming as an example, cloud gaming refers to a game mode based on cloud computing. In the running mode of cloud gaming, the running body of the game program and the presentation body of the game picture are separated, and the storage and running of the game control method are completed on the cloud gaming server. The client device is used for receiving and sending data and presenting game pictures. For example, the client device can be a display device close to the user side with data transmission function, such as mobile terminal, television, computer, palmtop computer, etc.; but the information processing is performed by the cloud gaming server in the cloud. When playing the game, the player operates the client device to send operation instructions to the cloud gaming server, the cloud gaming server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.

[0045] In an optional embodiment, taking a game as an example, the local terminal device stores a game program and is configured to present a game screen. The local terminal device is configured to interact with a player through a graphical user interface, i.e., a conventional game program is downloaded and installed through an electronic device and is run. The local terminal device can provide the graphical user interface to the player in various ways, for example, the graphical user interface can be rendered and displayed on a display screen of the terminal, or the graphical user interface can be provided to the player through holographic projection. For example, the local terminal device can include a display screen configured to present a graphical user interface including a game screen, and a processor configured to run the game, generate the graphical user interface, and control display of the graphical user interface on the display screen.

[0046] In a possible embodiment, the embodiment of the present application provides a game control method for providing a graphical user interface through a terminal device. The terminal device can be the local terminal device mentioned above or the client device in the cloud interaction system mentioned above. Figure 2 is a flowchart of a game control method according to an embodiment of the present application, a graphical user interface is provided through a terminal device, and content displayed by the graphical user interface includes part of a game scene, at least one virtual character, and a shortcut icon, as shown in Figure 2 The method includes the following steps:

[0047] In step S202, in response to a touch operation on the shortcut icon, a virtual roulette is displayed on the graphical user interface, where the virtual roulette includes a target control located at a center position of the virtual roulette and a plurality of slots, each slot is composed of a first area and a second area, the first area is located between the center position and the second area, and each slot is configured to establish a binding relationship with at least one virtual item.

[0048] The graphical user interface in the above steps can be a game interface provided for user operation. The interface displays part of a game scene, a virtual character controlled by the player, virtual characters controlled by other players, and a shortcut icon. The player can trigger the display of a virtual wheel on the graphical user interface by clicking the icon. The target control in the above steps can be a control that can move on the virtual wheel, for example, a circular operation icon, but is not limited thereto. In an initial state (i.e., no operation by the user), the target control can be located at the center of the virtual wheel, and can change position accordingly as it is dragged.

[0049] In an alternative embodiment, as shown in FIG. 8, when the player needs to use the item, the player can touch the "shortcut button" icon with a finger. After detecting the touch operation, the electronic device can open the shortcut use interface, i.e., display the virtual wheel on the graphical user interface. It should be noted that the shortcut use interface is displayed on the graphical user interface by keeping the finger pressed on the screen, and the shortcut use interface is closed by releasing the finger. Figure 3

[0050] In an alternative embodiment, the number of slots on the virtual wheel is fixed at 8. When a slot is not equipped with a virtual item, the slot is still displayed, but the slot content is empty.

[0051] Step S204: In response to the dragging operation on the target control, the target control is controlled to move in the graphical user interface following the dragging operation.

[0052] During the movement of the player's finger on the target control, the target control is controlled to move with the movement of the finger.

[0053] Step S206: In response to the target control reaching the first region of the first slot among the plurality of slots, the first slot is selected.

[0054] ​Alternatively, the first slot can be determined by the following steps: obtaining the operation parameters of the drag operation; and determining the first slot based on the operation parameters.

[0055] The operation parameters in the above steps include, but are not limited to, the drag angle and drag distance of the target control. Since each slot has a fixed position, the target slot can be determined by the drag angle and distance of the target control.

[0056] Optionally, the operation parameters include at least: drag angle, wherein determining the first slot based on the operation parameters includes: obtaining a preset angle range corresponding to each slot; comparing the drag angle with the preset angle ranges corresponding to multiple slots to determine the target angle range to which the drag angle belongs; and determining the slot corresponding to the target angle range as the first operation.

[0057] In one alternative embodiment, such as Figure 4 As shown, assuming the virtual wheel has 8 slots, each slot corresponds to an angle range of 45°. A polar coordinate system is constructed with the wheel's center as the pole, where 0° is horizontal to the right, the top is the positive direction of the angle, and the bottom is the negative direction. Based on this, the preset angle range corresponding to the slot directly to the right can be determined to be -22.5° to 22.5°, and so on, to determine the preset angle range corresponding to each slot. During the movement of the target control, the drag angle of the target control can be detected in real time. This drag angle is then compared with the preset angle ranges corresponding to multiple slots to determine the target angle range to which the drag angle belongs, thus determining the first slot. For example, if the drag angle is 20°, then the first slot is determined to be the slot directly to the right.

[0058] The first area in the above steps can be a selected area. When the target control reaches the area, the first virtual item corresponding to the first slot can be controlled to be in a selected state. The selected state can mean that the target virtual item is selected but not used. The ready-to-use state can mean that the target virtual item is selected and the player is waiting to release the finger before using the item.

[0059] Optionally, the operation parameters include: drag distance, wherein the target area reached by the target control can be determined by the following steps: obtaining the preset distance range corresponding to each area, wherein the preset distance range is used to characterize the distance range between each area and the center position of the virtual wheel; comparing the drag distance with the preset distance ranges corresponding to multiple areas to determine the target distance range to which the drag distance belongs; and determining the area corresponding to the target distance range as the target area.

[0060] The preset distance range in the above step can be a range between the shortest distance and the longest distance from each region to the center position of the virtual roulette. The target region reached by the target control can be determined by comparing the dragging distance of the target control with the preset distance range corresponding to each region.

[0061] In an optional embodiment, after the first slot is determined according to the angle of the target control dragging, whether the target control reaches the first region can be determined according to the dragging parameter of the target control, for example, whether the first region is reached is determined according to the current position or the dragging distance of the target control. Further, after reaching the first region, it can be determined that the player selects the target virtual item and does not want to use it immediately, so the first slot can be selected without executing the instruction of using the virtual item.

[0062] As shown in Figure 4 , taking one of the slots as an example, the regions represented by the numbers 1 and 2 in the figure are the first region and the second region respectively. The user's finger can drag the target control (such as the solid circle shown in Figure 4 ) to move from the center position (such as the dashed circle shown in Figure 4 ). When the target control reaches the first region of the first slot, the first slot can be selected, as shown in Figure 4 , which can be represented by the way of slotting the slot with the annotation box of thick lines.

[0063] In step S208, in response to the target control reaching the second region of the first slot, the virtual character is controlled to use the first virtual item corresponding to the first slot.

[0064] The second region in the above step can be a region to be used. When the target control reaches the region, the first virtual item corresponding to the first slot can be controlled to be in a state to be used, wherein the state to be used can be that the target virtual item is selected and waits for the player to release the finger to use the item.

[0065] In an optional embodiment, after the first slot is determined according to the angle of the target control dragging, whether the target control reaches the second region can be determined according to the dragging parameter of the target control, for example, whether the second region is reached is determined according to the current position or the dragging distance of the target control. Further, after reaching the second region, it can be determined that the player wants to use the target virtual item, so the instruction of using the virtual item can be executed.

[0066] It should be noted that when the target control reaches different regions of the first slot, the first slot can be marked with different colors, so as to facilitate the user to more intuitively distinguish different regions and improve the user experience. For example, when the target control reaches the first region of the first slot, the first slot is selected, as shown in Figure 4The shown mark box can be blue; when the target control reaches the second area of the first slot, the virtual character is controlled to use the first virtual item corresponding to the first slot, such as Figure 4 The shown mark box can be green.

[0067] In at least some embodiments of the present application, a virtual wheel is displayed on the graphical user interface in response to a touch operation on the shortcut icon, the target control is controlled to follow the drag operation in the graphical user interface in response to a drag operation on the target control, the first slot is selected in response to the target control reaching the first area of the first slot, and the virtual character is controlled to use the first virtual item corresponding to the first slot in response to the target control reaching the second area of the first slot, thereby achieving the purpose of quick use of virtual items. It is easy to note that after the player clicks on the shortcut icon, the player can select the first virtual item to be used by dragging the target control, so that the player does not need to perform multiple click operations when using virtual items, thereby avoiding breakpoints, simplifying the operation process, improving the continuity of the operation, and improving the overall experience. Technical effects, thereby solving the technical problems in the prior art that the game control method needs to perform multiple independent click operations, resulting in low operation continuity, strong interruption, and poor experience.

[0068] Optionally, the method further includes: during the display of the virtual wheel, in response to a sliding operation on a blank area in the graphical user interface, controlling the virtual wheel to rotate according to the sliding operation.

[0069] The blank area in the above steps can be an area other than the display area of the virtual wheel in the graphical user interface, or an area in the graphical user interface that does not contain any icons, but is not limited to this.

[0070] Optionally, the virtual wheel can be controlled to rotate by the following steps: obtaining the sliding distance of the sliding operation; determining the rotation angle of the virtual wheel based on the sliding distance; and controlling the virtual wheel to rotate according to the rotation angle.

[0071] In an optional example, as Figure 5As shown, the virtual wheel can be displayed on the left side of the electronic device, and the player can hold the target control in the virtual wheel with one hand to keep the virtual wheel continuously displayed, and can slide up or down on the right side of the electronic device with the other hand to control the virtual wheel to rotate, so as to more quickly select different items to be used. Optionally, the rotation direction of the virtual wheel can be determined based on the sliding direction of the sliding operation, and the rotation angle of the virtual wheel can be determined based on the sliding distance of the sliding operation. Further, the sliding direction is upward, and the corresponding rotation direction is counterclockwise rotation; the sliding direction is downward, and the corresponding rotation direction is clockwise rotation. Moreover, a mapping relationship between the sliding distance and the rotation angle can be pre-set, so that after the sliding distance is obtained, the corresponding rotation angle can be determined based on the mapping relationship. Optionally, the virtual wheel rotates clockwise, and the corresponding rotation angle is positive; the virtual wheel rotates counterclockwise, and the corresponding rotation angle is negative. On this basis, the virtual wheel can be controlled to rotate according to the determined rotation angle and rotation direction.

[0072] Optionally, the method further includes: in response to the target control reaching the first region of the first slot, displaying detailed information of the first virtual item.

[0073] The detailed information in the above steps can be the name of the virtual item, detailed introduction, etc. For example, for equipment, the detailed information can be the name of the equipment, description information, equipment effect information, etc., but is not limited thereto, and the present application does not make specific limitations thereon.

[0074] In an optional embodiment, in order to facilitate the user to confirm the selected first virtual item, when the user selects the first virtual item, that is, when the target control reaches the first region of the first slot, the detailed information of the first virtual item can be displayed.

[0075] Optionally, the method further includes: in the process of the first slot being in the selected state, in response to a sliding operation on the blank region in the graphical user interface, controlling the virtual wheel to rotate according to the sliding operation; and in response to the target control falling into the second slot, canceling the selected state of the first slot and selecting the second slot.

[0076] In the process of controlling the virtual wheel to rotate, the display positions of the plurality of slots change with the rotation of the virtual wheel, and since the display position of the target control remains unchanged, the target control can overlap with other slots. At this time, the slot that overlaps with the target control can be determined as the target slot. Optionally, the slot that overlaps with the target control can be highlighted, so that the user can more clearly and intuitively know the current target slot. When the target control is in the originally selected slot (i.e., the first slot), as shown in FIG. 6A, the selection box follows the rotation of the wheel, and when the target control reaches another slot (i.e., the second slot), as shown in FIG. 6B, the selection box follows the rotation of the wheel. Figure 5 Figure 6 ​As shown, another slot is automatically selected.

[0077] In an alternative embodiment, the left hand and the right hand can operate simultaneously, the left hand drags the target control, and the right hand slides the blank area. At this time, the angle of the target control can be calculated by subtracting the rotation angle of the wheel from the dragging angle of the target control, and the slot in which the target control and the virtual wheel overlap can be determined to determine the target slot.

[0078] In another alternative embodiment, the current angle range of each slot can be determined by the rotation angle of the virtual wheel, and the target control can be determined by the dragging angle of the target control.

[0079] Optionally, the first slot and the second slot are adjacent slots, and the method further comprises: in response to the area of the part of the target control located in the second slot being greater than the area of the part of the target control located in the first slot, determining that the target control falls into the second slot.

[0080] In an alternative embodiment, the target control can be determined to fall into which slot based on the current position of the center point of the target control. In another alternative embodiment, when the target control overlaps two slots, the area of the overlapping part in each slot can be determined, and the slot corresponding to the largest area is determined to be the slot into which the target control falls. That is, when the area of the part of the target control located in the second slot is greater than the area of the part of the target control located in the first slot, it is determined that the target control falls into the second slot, otherwise, it is determined that the target control still falls into the first slot.

[0081] Optionally, the method further comprises: in response to the touch point corresponding to the dragging operation moving from the second area to an area outside the virtual wheel, controlling the target control to remain in the second area.

[0082] In an alternative embodiment, during the process of the player's finger moving while pressing the target control, the target control can be controlled to move with the movement of the finger, but the movement range of the target control can only be within the display area of the virtual wheel. That is, in the case where the target control overlaps the edge of the virtual wheel, that is, when the target control is dragged beyond the display area of the virtual wheel, the target control can be controlled to stop moving, that is, the target control no longer moves when the target control is continuously dragged.

[0083] Optionally, the method further comprises: in response to the target control returning to the center position, maintaining the selected state of the first slot.

[0084] In an alternative embodiment, assuming that the preset distance range of the selected region is 5-10 and the preset distance range of the to-be-used region is 10-20, if the initial dragging distance of the target control is 15, the target control is initially the to-be-used region, and the target control is dragged back to a distance of 4 from the center, the selected state of the first slot is maintained.

[0085] Optionally, the method further includes: in response to the touch point corresponding to the dragging operation moving from the second region to a region outside the virtual wheel, maintaining the selected state of the first slot.

[0086] In an alternative embodiment, assuming that the preset distance range of the selected region is 5-10 and the preset distance range of the to-be-used region is 10-20, if the initial dragging distance of the target control is 15, the target control is initially the to-be-used region, and the target control is dragged back to a distance of 4 from the center, the selected state of the first slot is maintained.

[0087] Optionally, the method further includes: in response to the touch point corresponding to the dragging operation moving from the second region to a region outside the virtual wheel, maintaining the selected state of the first slot.

[0088] The target coordinate system in the above steps can be a plane rectangular coordinate system, which takes the center of the virtual wheel as the origin, and the horizontal direction as the x-axis and the vertical direction as the y-axis. The target coordinate system can be a polar coordinate system, which takes the center of the virtual wheel as the pole, the horizontal right direction as the polar axis, the upper direction as the positive angle direction, and the lower direction as the negative angle direction. The moving track in the above steps can be a track formed by a plurality of moving coordinate points of the target control in the target coordinate system.

[0089] In an alternative embodiment, in the case where the target coordinate system is a plane rectangular coordinate system, the angle between the moving track and the x-axis can be calculated to obtain the dragging angle, and the distance between the current coordinate point and the origin can be calculated to obtain the dragging distance. In the case where the target coordinate system is a polar coordinate system, the coordinate value of the current coordinate point can be directly read to obtain the dragging angle and the dragging distance.

[0090] Optionally, the method further includes: in response to the end of the dragging operation, hiding the virtual wheel.

[0091] When the player's finger is released from the target control, the electronic device determines that the player stops dragging the target control, i.e., the dragging operation ends, and the virtual wheel is automatically retracted, i.e., the virtual wheel is hidden. Optionally, in response to the first slot being selected, the method further includes: displaying an indication mark from the center position to the target control.

[0092] The indication mark in the above steps can be an icon displayed between the center position and the current position, for example, it can be a chain icon, indicating that there is a link relationship between the two positions, such as Figure 4The connection line between the dotted circle and the solid circle is shown.

[0093] Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software on a general hardware platform, and of course can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal device (which can be a mobile phone, a computer, a server, or a network device) to execute the method of each embodiment of the present application.

[0094] In the present embodiment, a game control device is also provided, which is used to implement the above embodiments and preferred embodiments, and will not be described again. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware or a combination of software and hardware is also possible and contemplated.

[0095] Figure 7 is a structural block diagram of a game control device according to an embodiment of the present application, which provides a graphical user interface through a terminal device, and the content displayed by the graphical user interface includes part of a game scene, at least one virtual character, and a shortcut icon, as shown in Figure 7 The device includes: a display module 72, configured to display a virtual roulette on the graphical user interface in response to a touch operation on the shortcut icon, wherein the virtual roulette includes a target control located at the center of the virtual roulette and a plurality of slots, each slot is composed of a first area and a second area, the first area is located between the center and the second area, and each slot is used to establish a binding relationship with at least one virtual item; a first control module 74, configured to control the target control to move in the graphical user interface in response to a drag operation on the target control; a selection module 76, configured to select a first slot in the plurality of slots in response to the target control reaching the first area of the first slot; and a second control module 78, configured to control the virtual character to use a first virtual item corresponding to the first slot in response to the target control reaching the second area of the first slot.

[0096] Optionally, the device further includes a rotation module, configured to control the virtual roulette to rotate according to a sliding operation on a blank area in the graphical user interface during the display of the virtual roulette.

[0097] Optionally, the display module 72 is further configured to display detailed information of the first virtual item in response to the target control reaching the first region of the first slot.

[0098] Optionally, the apparatus further comprises a maintaining module configured to maintain the selected state of the first slot in response to the target control returning to the center position.

[0099] Optionally, the apparatus further comprises a rotating module configured to control the virtual roulette to rotate according to the sliding operation in response to the sliding operation on the blank region of the graphical user interface during the process that the first slot is in the selected state; and a canceling module configured to cancel the selected state of the first slot and select the second slot in response to the target control falling into the second slot.

[0100] Optionally, the first slot and the second slot are adjacent slots, and the apparatus further comprises a determining module configured to determine that the target control falls into the second slot in response to an area of the part of the target control located in the second slot being greater than an area of the part of the target control located in the first slot.

[0101] Optionally, the apparatus further comprises a third control module configured to control the target control to remain in the second region in response to the touch point corresponding to the dragging operation moving from the second region to a region outside the virtual roulette.

[0102] Optionally, the display module 72 is further configured to display an indication mark from the center position to the target control in response to the first slot being selected.

[0103] Optionally, the apparatus further comprises a hiding module configured to hide the virtual roulette in response to the end of the dragging operation.

[0104] It should be noted that the above-mentioned units and modules can be implemented by software or hardware, and for the latter, the following implementation manners can be used, but are not limited thereto: the above-mentioned units and modules are located in the same processor; or the above-mentioned units and modules are located in different processors in any combination.

[0105] Embodiments of the present application also provide a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.

[0106] Optionally, in the present embodiment, the above-mentioned non-volatile storage medium can be configured to store a computer program for executing the following steps:

[0107] S1, in response to a touch operation on the shortcut icon, displaying a virtual wheel on the graphical user interface, wherein the virtual wheel comprises a target control located at a center position of the virtual wheel and a plurality of slots, each slot consisting of a first area and a second area, the first area being located between the center position and the second area, and each slot being used to establish a binding relationship with at least one virtual item;

[0108] S2, in response to a drag operation on the target control, controlling the target control to move in the graphical user interface following the drag operation;

[0109] S3, in response to the target control reaching the first area of the first slot in the plurality of slots, selecting the first slot;

[0110] S4, in response to the target control reaching the second area of the first slot, controlling the virtual character to use the first virtual item corresponding to the first slot.

[0111] Optionally, in the embodiment, the non-volatile storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various storage media that can store computer programs.

[0112] The embodiment of the application also provides an electronic device including a memory and a processor, the memory storing a computer program, and the processor being configured to execute the computer program to perform the steps in any of the above method embodiments.

[0113] Optionally, the electronic device can further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0114] Optionally, in the embodiment, the processor can be configured to perform the following steps through the computer program:

[0115] S1, in response to a touch operation on the shortcut icon, displaying a virtual wheel on the graphical user interface, wherein the virtual wheel comprises a target control located at a center position of the virtual wheel and a plurality of slots, each slot consisting of a first area and a second area, the first area being located between the center position and the second area, and each slot being used to establish a binding relationship with at least one virtual item;

[0116] S2, in response to a drag operation on the target control, controlling the target control to move in the graphical user interface following the drag operation;

[0117] S3, in response to the target control reaching the first area of the first slot in the plurality of slots, selecting the first slot;

[0118] S4, in response to the target control reaching the second region of the first slot, controlling the virtual role to use a first virtual item corresponding to the first slot.

[0119] Optionally, specific examples in the embodiments can refer to the examples described in the above embodiments and optional implementation manners, and the embodiments will not be described here again.

[0120] In the above-described embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0121] In several embodiments provided in the present application, it should be understood that the disclosed technical contents can be implemented by other manners. Among them, the above-described device embodiments are only schematic, for example, the division of the units can be a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or modules shown or discussed can be indirect coupling or communication connection through some interfaces, units or modules, which can be electrical or other forms.

[0122] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed to multiple units. According to actual needs, part or all of the units can be selected to achieve the purpose of the present embodiment scheme.

[0123] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The above integrated unit can be realized in the form of hardware or in the form of software functional unit.

[0124] The integrated unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, essentially or in other words, the part that contributes to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to make a computer device (which can be a personal computer, a server or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.

[0125] The above is only the preferred embodiment of the present application, and it should be pointed out that for those skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, and these improvements and refinements should be considered as the protection scope of the present application.

Claims

1. A game control method characterized by comprising: The method comprises the following steps: In response to a touch operation on the shortcut icon, a virtual roulette is displayed on the graphical user interface, wherein the virtual roulette comprises a target control located at a center position of the virtual roulette and a plurality of slots, each of the slots is composed of a first area and a second area, the first area is located between the center position and the second area, each of the slots is used to establish a binding relationship with at least one virtual item, when the target control reaches the first area, a first virtual item corresponding to the slot is in a selected state, when the target control reaches the second area, the first virtual item corresponding to the slot is in a standby state, wherein the selected state means that the first virtual item is selected but not used, and the standby state means that the first virtual item is selected and waits to be used by the player after the player releases the finger; In response to a drag operation on the target control, the target control is controlled to move in the graphical user interface following the drag operation; In response to the target control reaching the first area of the first slot, the first slot is selected; In response to the target control reaching the second area of the first slot, the virtual character is controlled to use the first virtual item corresponding to the first slot.

2. The method of claim 1, wherein, The method further comprises: During the display of the virtual roulette, in response to a sliding operation on a blank area in the graphical user interface, the virtual roulette is controlled to rotate according to the sliding operation.

3. The method of claim 1, wherein, The method further comprises: In response to the target control reaching the first area of the first slot, detailed information of the first virtual item is displayed.

4. The method of claim 1, wherein, The method further comprises: In response to the target control returning to the center position, the selected state of the first slot is maintained.

5. The method of claim 4, wherein, The method further comprises: During the selected state of the first slot, in response to a sliding operation on a blank area in the graphical user interface, the virtual roulette is controlled to rotate according to the sliding operation; In response to the target control falling into a second slot, the selected state of the first slot is cancelled, and the second slot is selected.

6. The method of claim 5, wherein, The first slot and the second slot are adjacent slots, and the method further comprises: In response to an area of a part of the target control located in the second slot being greater than an area of a part of the target control located in the first slot, it is determined that the target control falls into the second slot.

7. The method of claim 1, wherein, The method further comprises: In response to a touch point corresponding to the drag operation moving from the second area to an area outside the virtual roulette, the target control is controlled to remain in the second area.

8. The method of claim 1, wherein, In response to the first slot being selected, the method further comprises: An indication mark from the center position to the target control is displayed.

9. The method of claim 1, wherein, The method further comprises: In response to the end of the drag operation, the virtual roulette is hidden.

10. A game control device, characterized by comprising: A terminal device provides a graphical user interface, content displayed by the graphical user interface includes part of a game scene, at least one virtual character, and a shortcut icon, the device includes: A display module is configured to display a virtual roulette on the graphical user interface in response to a touch operation on the shortcut icon, the virtual roulette includes a target control located at a center position of the virtual roulette and a plurality of slots, each of the slots is composed of a first area and a second area, the first area is located between the center position and the second area, each of the slots is used to establish a binding relationship with at least one virtual item, when the target control reaches the first area, a first virtual item corresponding to the slot is in a selected state, when the target control reaches the second area, the first virtual item corresponding to the slot is in a standby state, the selected state means that the first virtual item is selected but not used, and the standby state means that the first virtual item is selected and waits to be used after the player releases the finger; A first control module is configured to control the target control to move in the graphical user interface in response to a drag operation on the target control; A selection module is configured to select a first slot in the plurality of slots in response to the target control reaching a first area of the first slot; A second control module is configured to control the virtual character to use a first virtual item corresponding to the first slot in response to the target control reaching a second area of the first slot.

11. A computer readable storage medium, characterized in that, The computer readable storage medium stores a computer program, the computer program is configured to execute the game control method in any one of claims 1 to 9 when running.

12. A processor, comprising: The processor is configured to run a program, the program is configured to execute the game control method in any one of claims 1 to 9 when running. 13.An electronic device comprising a memory and a processor, the electronic device characterized by, The memory stores a computer program, and the processor is configured to run the computer program to execute the game control method in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Widget of graphical user interface and method for navigating amongst related objects

    CN101359271A

  • Game button switching method and game button switching device of mobile intelligent terminal

    CN106730810A

  • Skill release method and device, electronic equipment and storage medium

    CN111773673A

  • Virtual item switching method, skill switching method and virtual object switching method

    CN113398572A