Game prop display and control method, device, terminal equipment and storage medium

By moving and aligning shortcut windows in the game, it solves the problem of players having difficulty accurately controlling the shortcut bar, and improves the efficiency and user experience of switching game props.

CN114011052BActive Publication Date: 2024-08-23NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111211950.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-18
Publication Date
2024-08-23
Estimated Expiration
2041-10-18

AI Technical Summary

Technical Problem

The design of shortcut windows in existing games makes it difficult for players to accurately control the shortcut bar, affecting the game experience.

Method used

By responding to the user's operations on the graphical user interface, moving the shortcut window to the user's touch position, and aligning the shortcut bar when moving, the user can accurately control the shortcut bar, improving operational efficiency and convenience.

Benefits of technology

It achieves precise control of shortcut windows, avoids finger occlusion and misoperation, and improves the efficiency and user experience of switching game props.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114011052B
    Figure CN114011052B
Patent Text Reader

Abstract

The present invention provides a method, device, terminal device and storage medium for displaying and controlling game props, relates to the field of game technology, and solves the technical problem of inconvenient operation of shortcut bars in games. The method comprises: responding to a first operation acting on a preset area of ​​a graphical user interface, controlling the quick window to be moved from an initial position to a position corresponding to the first operation, or generating a quick window identical to the quick window at the position corresponding to the first operation; responding to a second operation, determining a target quick bar from the quick bar of the quick window after the move position / the generated quick window according to the second operation, and controlling the game props stored in the target quick bar to be configured to the virtual object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of game technology, and in particular to a method, device, terminal equipment and storage medium for displaying and controlling game props. Background Art

[0002] At present, most mobile games often provide a shortcut window in the graphical user interface. The shortcut window is usually fixedly displayed in the middle and lower part of the mobile game terminal screen, and displays the game props stored in the shortcut bar of the shortcut window in real time, so that players can switch game props simply by touching the shortcut bar with their fingers.

[0003] However, although such a design makes it easy for players to observe the quick window at any time, some shortcut bars in the quick window often exceed the operating range of the player's fingers, making it difficult to perform precise control. Summary of the invention

[0004] In view of this, the present application provides a method, apparatus, terminal device and storage medium for displaying and controlling game props to solve the technical problem that players in existing games cannot accurately control the shortcut bar in the shortcut window.

[0005] In a first aspect, the present application provides a method for displaying and controlling game props, wherein a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface includes at least a game screen and a shortcut window, the game screen includes a virtual object controlled by the terminal device, and the shortcut window includes at least one shortcut bar, and the shortcut bar is used to store game props that have been configured or can be configured to the virtual object. The method includes:

[0006] In response to a first operation performed on a preset area of ​​the graphical user interface, controlling the quick window to be moved from an initial position to a position corresponding to the first operation, or generating a quick window identical to the quick window at the position corresponding to the first operation;

[0007] In response to the second operation, a target shortcut bar is determined from the shortcut bar of the shortcut window after the position is moved / generated according to the second operation, and the game props stored in the target shortcut bar are controlled to be configured to the virtual object.

[0008] In a possible implementation, the step of controlling to move the shortcut window from an initial position to a position corresponding to the first operation / generating a shortcut window identical to the shortcut window at the position corresponding to the first operation includes:

[0009] When the virtual object is configured with a game prop stored in a shortcut bar, the position of the shortcut window is moved / the shortcut window is generated so that the shortcut bar is aligned with the position corresponding to the first operation.

[0010] In a possible implementation, the step of controlling to move the shortcut window from an initial position to a position corresponding to the first operation / generating a shortcut window identical to the shortcut window at the position corresponding to the first operation includes:

[0011] When the virtual object is not configured with a game prop stored in a shortcut bar of the shortcut window, controlling the movement of the shortcut window / controlling the generation of the shortcut window so that a non-empty shortcut bar in the shortcut window is aligned with a position corresponding to the first operation;

[0012] The non-empty shortcut bar is a non-empty shortcut bar determined from the shortcut window in a preset order.

[0013] In a possible implementation, the preset area includes a virtual key, and the first operation includes a click / long press operation on the virtual key;

[0014] The step of controlling the quick window to move from an initial position to a position corresponding to the first operation in the preset area in response to a first operation acting on the preset area of ​​the graphical user interface, or generating a quick window identical to the quick window at the position corresponding to the first operation, comprises:

[0015] In response to a click / long press operation on the virtual key, the shortcut window is controlled to be moved from an initial position to a position where the virtual key is located, or a shortcut window identical to the shortcut window is generated at the position where the virtual key is located.

[0016] In a possible implementation, the second operation includes a sliding operation continuous with the click / long press operation;

[0017] The step of determining a target shortcut bar from the shortcut bar of the moved shortcut window / generated shortcut window according to the second operation in response to the second operation includes:

[0018] In response to a sliding operation that is continuous with the click / long press operation, determining the target shortcut bar from a shortcut bar of the shortcut window / generated shortcut window after the position is moved according to the sliding operation;

[0019] In response to the end of the sliding operation, a shortcut bar corresponding to the end position of the sliding operation is determined as the target shortcut bar.

[0020] In a possible implementation, the step of controlling the configuration of the game props stored in the target shortcut bar to the virtual object includes:

[0021] When the target shortcut bar is empty, controlling the virtual object to be configured as a state without game props;

[0022] When the target shortcut bar is not empty, the game props stored in the target shortcut bar are configured for the virtual object.

[0023] In a possible implementation, the step of configuring the virtual object with the game props stored in the target shortcut bar includes:

[0024] If the virtual object has been configured with the game props stored in the target shortcut bar, controlling the virtual object to be configured to a state where the game props are not configured;

[0025] If the virtual object is not configured with the game props stored in the target shortcut bar, control is performed to configure the game props for the virtual object.

[0026] In a possible implementation, after the step of controlling the game props stored in the target shortcut bar to be configured to the virtual object, the method further includes:

[0027] The shortcut window is moved from the position corresponding to the first operation to the initial position, or the shortcut window generated at the position corresponding to the first operation is canceled.

[0028] In a possible implementation, after moving the shortcut window to the initial position or canceling display of the shortcut window generated at the position corresponding to the first operation, the method further includes:

[0029] In the shortcut window at the initial position, the shortcut bar corresponding to the game props configured to the virtual object is highlighted.

[0030] In a possible implementation, the game props include one or more of the following game props: weapons, weapon accessories, armor, medicine, and food.

[0031] In one possible implementation, the method further includes:

[0032] In response to a first operation acting on a preset area of ​​the graphical user interface, a shortcut window identical to the shortcut window is generated at a position corresponding to the first operation.

[0033] In a second aspect, an embodiment of the present application further provides a display and control device for game props, wherein a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface includes at least a game screen and a shortcut window, wherein the game screen includes a virtual object controlled by the terminal device, and the shortcut window includes at least one shortcut bar, and the shortcut bar is used to store game props that have been configured or can be configured to the virtual object, and the device includes:

[0034] a moving module, configured to respond to a first operation applied to a preset area of ​​the graphical user interface, control the movement of the shortcut window from an initial position to a position corresponding to the first operation, or generate a shortcut window identical to the shortcut window at the position corresponding to the first operation;

[0035] The configuration module is used to respond to the second operation, determine a target shortcut bar from the shortcut bar of the shortcut window after the position is moved / generated according to the second operation, and control the configuration of the game props stored in the target shortcut bar to the virtual object.

[0036] In a third aspect, an embodiment of the present application further provides a terminal device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and the processor executes the method described in the first aspect and any one of the various possible implementations of the first aspect.

[0037] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer executes a method as described in the first aspect and any of the various possible implementations of the first aspect.

[0038] The embodiments of the present application bring the following beneficial effects:

[0039] The above implementation modes of the present application, firstly, respond to the user's touch operation on the preset area on the graphical user interface during the game, and control the quick window fixedly displayed in the center of the screen to move to the position corresponding to the user's touch operation, so as to facilitate the user's precise touch control of all quick bars in the quick window; secondly, align the specific quick bar in the quick window to the user's touch position when moving the quick window, thereby avoiding the user's fingers from blocking the game props that are not configured to the game character in the quick window, and improving the efficiency of the user switching different game props; finally, after the game props are switched, the quick window is moved back to the original position from the user's touch position, thereby avoiding the quick window after the move from causing misoperation and blocking the field of view. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0041] Figure 1 The figure shows a schematic diagram of the control interface of an existing mobile game;

[0042] Figure 2 A flowchart showing a first embodiment of a method for displaying and controlling game props provided by the present application is shown;

[0043] Figure 3A-3B Schematic diagram of two optional implementations of moving the quick window in this application;

[0044] Figure 3C A schematic diagram of an optional implementation method for generating a shortcut window in this application;

[0045] Figure 4 This is a flow chart of a second embodiment of the method for displaying and controlling game props provided by the present application;

[0046] Figure 5A-5B A schematic diagram of the quick window, quick bar, and game props stored in the quick bar in this application;

[0047] Figure 6 A flowchart of a third embodiment of the method for displaying and controlling game props provided by the present application;

[0048] Figure 7 It is a detailed flow chart of step S606;

[0049] Figure 8 This is a flow chart of a fourth embodiment of the method for displaying and controlling game props provided by the present application;

[0050] Fig. 9 A schematic diagram of the structure of the display and control device of the game props provided in this application;

[0051] Fig.10 This is a schematic diagram of the hardware architecture of the terminal device provided in this application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0053] In order to better understand the technical solution of the present application, the relevant technologies involved in the present application are further introduced in detail below.

[0054] With the development of mobile communication technology, more and more mobile games have emerged. For example, in role-playing mobile terminal games, players can usually play at least one game character provided by the game, and control the game character to explore and socialize in the virtual world provided by the game, and experience game content such as PVP (player versus player) or PVE (player versus environment) in the virtual world.

[0055] Please refer to Figure 1 , is a schematic diagram of the control interface of an existing mobile game. Figure 1 As shown, in order to facilitate players to control game characters, common mobile games often provide players with a permanent shortcut window at a fixed position in the lower middle part of the game's graphical user interface. The shortcut window includes at least one shortcut bar. The shortcut bar can be used by players to store one or more game props in advance according to game needs, such as weapons, weapon accessories, armor, medicine, food, etc. in the game, so that when playing the game, players only need to touch the corresponding shortcut bar to configure the game props stored in the shortcut bar of the shortcut window to the game character controlled by the player.

[0056] However, due to the limitation of the control range of the player's fingers, the existing quick window design often has some quick bars beyond the area that the player's fingers can touch, resulting in the player being unable to accurately control at least part of the quick bars in the quick window. Figure 1 As shown, the shortcut window 10 includes shortcut bar 101, shortcut bar 102, shortcut bar 103, shortcut bar 104, shortcut bar 105, and shortcut bar 106, wherein shortcut bar 102-105 are not within the area that can be touched by the fingers of the player's hands, that is, they are beyond the finger control range 11 of the player's left hand and the finger control range 12 of the player's right hand, so that the player cannot directly control shortcut bar 102-105 when playing the game, which greatly affects the player's game control and game experience.

[0057] In response to the above-mentioned problems in the prior art, the present application proposes the following technical concept: the shortcut window in the game is configured to be flexibly moved on the game's graphical user interface. When the user wants to accurately control the shortcut window, he only needs to touch a position that can be touched by a finger to trigger the control to move the shortcut window from the initial position to the position touched by the finger, so that the shortcut bar in the shortcut window can be selected and controlled at the touch position, thereby improving the control efficiency, accuracy and convenience of the shortcut bar of the shortcut window.

[0058] Based on the above content, the specific contents of each technical solution provided in this application will be introduced in detail below.

[0059] First, the present application provides a method for displaying and controlling game props.

[0060] In this embodiment, the game prop display and control method can be applied to a terminal device, which can be a local terminal device or a server. When the game prop display and control method is applied to a server, the method can be implemented and executed based on a cloud interaction system, which can include a client device and a server.

[0061] In an optional embodiment, various cloud applications can be run under the cloud interaction system, for example: cloud games 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, and the storage and operation of the game are completed on the server of the cloud game, that is, the server of the cloud game is mainly used to provide information processing for the cloud game; and the role of the client device is mainly used for receiving and sending data and presenting the game screen. Among them, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a television, a computer, a handheld computer, etc. When playing a cloud game, the player operates the client device to send an operation instruction to the server of the cloud game. The server of the cloud game 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.

[0062] In an optional implementation, the local terminal device may store the game program and present the game screen, that is, the game program is downloaded and installed by the local terminal device and run, and the game is interacted with by the player through the graphical user interface provided in the local terminal device. Among them, 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 the display screen of the local terminal device, or provided to the player through holographic projection, etc. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface of the game, the graphical user interface includes the game screen, etc.; the processor is used to run the game, generate the graphical user interface of the game, and control the display of the graphical user interface on the display screen, etc.

[0063] The following is a detailed introduction to the method for displaying and controlling game props provided by the present application in conjunction with specific embodiments.

[0064] See also Figure 2 , is a flow chart of the first embodiment of the method for displaying and controlling game props provided by the present application. Figure 2 As shown, the display and control of the game props include:

[0065] Step S201, in response to a first operation acting on a preset area of ​​the graphical user interface, controlling the quick window to be moved from an initial position to a position corresponding to the first operation, or generating a quick window identical to the quick window at the position corresponding to the first operation.

[0066] In this embodiment, a graphical user interface of a game is provided through a terminal device, and the content displayed by the graphical user interface includes at least a game screen and a shortcut window, the game screen includes a virtual object controlled by the terminal device, and the shortcut window includes at least one shortcut bar, and the shortcut bar is used to store game props that have been configured or can be configured to the virtual object. The terminal device can be the local terminal device mentioned above, or it can be a client device in the cloud interaction system mentioned above.

[0067] Generally, when the user holds the terminal device to play games, the range that the user's fingers can control is extremely limited. In order to enable the user to accurately control all shortcut bars in the shortcut window within the limited control range, this embodiment can configure the shortcut window to respond to a preset first operation and trigger control to move the shortcut window to the position corresponding to the first operation.

[0068] Specifically, the first operation may be a single-click operation, a double-click operation, a long-press operation, etc., which is not limited in this application. The effective area of ​​the first operation is also the preset area, which is preferably an operation hotspot in the graphical user interface, such as Figure 1 The area includes the user's left finger control range 11 and the right finger control range 12, etc., where the user often touches. When the first operation occurs in the preset area, this embodiment responds to the first operation and controls the quick window to move from its initial position to the position corresponding to the first operation.

[0069] It should be noted that the position corresponding to the first operation described in this embodiment may be the touch position of the first operation in the preset area, or may be other positions outside the touch position of the first operation in the preset area. Figure 3A and Figure 3B To elaborate on this:

[0070] Please refer to Figure 3A , is a schematic diagram of an optional implementation method of controlling the quick window to be moved to the position corresponding to the first operation in the present application. In this implementation, as shown in the figure, the graphical user interface of the game includes a quick window 10 fixedly displayed at the initial position (the lower middle part of the graphical user interface), a preset area 21 located on the left side of the graphical user interface, and a touch position 22 located in the preset area 21. Among them, when the user's finger touches the touch position 22 in the preset area 21, so that the terminal device detects the first operation acting on the preset area 21, the terminal device controls the quick window 10 to be moved from the lower middle part of the graphical user interface to the touch position 22 in the preset area 21. That is, in this implementation, the position corresponding to the first operation is the touch position 22 in the preset area 21.

[0071] Please refer to Figure 3B , is a schematic diagram of another optional implementation of controlling the movement of the quick window to the position corresponding to the first operation in the present application. In this implementation, the graphical user interface also includes a quick window 10 displayed at the initial position, a preset area 21 located on the left side of the graphical user interface (only one is shown in the figure), and one or more touch positions 22 located in the preset area 21 (only one is shown in the figure). Among them, when the first operation acting on the touch position 22 of the preset area 21 is detected, the terminal device controls the quick window 10 to be moved from the middle and lower part of the graphical user interface to the preset area 21, wherein the quick window 10 after the movement is displayed in the preset area 21, and its display position in the preset area 21 is different from the touch position 22. That is, in this implementation, the position corresponding to the first operation is a position in the preset area 21 that is different from the touch position 22.

[0072] It should be noted that in the above Figure 3A and Figure 3B In the two embodiments shown, there is only one quick window 10 in the graphical user interface. As shown in the figure, the quick window 10 shown by the dotted line is the quick window 10 before the moving position, and the quick window 10 shown by the solid line is the quick window 10 after the moving position.

[0073] Furthermore, in addition to the above two implementations of moving the quick window 10 from its initial position to the position corresponding to the first operation, in other possible implementations, when the first operation occurs in the preset area 21, in response to the first operation, at the touch position 22 (such as Figure 3A ) or within the preset area 21 (such as Figure 3B ) directly generates a shortcut window identical to the shortcut window 10, rather than moving the shortcut window 10 from its initial position to the position corresponding to the first operation. Figure 3C This is introduced in detail.

[0074] Please refer to Figure 3C , which is a schematic diagram of controlling the direct generation of a shortcut window in the preset area 21 in the present application. Among them, when the first operation acting on the touch position 22 of the preset area 21 is detected, the terminal device can control the direct generation of a shortcut window 20 identical to the shortcut window 10 in the preset area 21 of the graphical user interface. Among them, the generation position of the shortcut window 20 in the preset area 21 can be the touch position 22 corresponding to the first operation, or it can be any other position in the preset area 21. It should be noted that in this embodiment, there are 2 shortcut windows in the graphical user interface: shortcut window 10 and shortcut window 20.

[0075] Step S202, in response to the second operation, determining a target shortcut bar from the shortcut bar of the shortcut window after the move position / generated shortcut window according to the second operation, and controlling the configuration of the game props stored in the target shortcut bar to the virtual object.

[0076] It is understandable that, since the quick window is resident in the graphical user interface before being moved, the user is very clear about which game props are specifically stored in the quick bar of the quick window. Therefore, after moving the quick window to the position corresponding to the first operation / generating the quick window at the position corresponding to the first operation, the user can quickly select and determine the game props that he wants to configure to the virtual object from the quick window after the move through a second operation. Among them, the second operation can be a single-click operation, a double-click operation, a long-press operation, a sliding operation, etc.

[0077] For example, Figure 1 As shown, when the shortcut window 10 includes shortcut bars 101, 102, 103, 104, 105, and 106, assuming that the user wants to store the game props configured to the virtual object in the shortcut bar 103, then when the user touches the preset area on the graphical user interface and moves the shortcut window 10 from the center of the screen to the range within the preset area where the user's finger can touch, the user can directly click on the shortcut bar 103 to configure the game props in the shortcut bar 103 to the virtual object.

[0078] Through the above steps S201-S202, the display and control method of game props described in the present application automatically controls the movement of the shortcut window to the position corresponding to the first operation of the user in the operation hot zone of the graphical user interface, so that the user can accurately control all shortcut bars in the shortcut window in the operation hot zone, improve the use efficiency and convenience of the shortcut window, and improve the user's operating efficiency in switching different game props.

[0079] Based on the above embodiments of the present application, a second embodiment of the method for displaying and controlling game props described in the present application is further proposed.

[0080] Please refer to Figure 4 , is a flow chart of the second embodiment of the method for displaying and controlling game props described in this application. As shown in the figure, in this embodiment, the method for displaying and controlling game props includes:

[0081] Step 401, in response to a first operation acting on a preset area of ​​a graphical user interface, obtain a game prop that has been configured for a virtual object.

[0082] Generally, the user can control the virtual object through the terminal device to perform various game operations in the game, such as configuring one or more game props to the virtual object. However, there are many types of game props, and the game props that users use frequently during the game are generally not many. For example, the game props commonly used in fighting games are mainly medicines and weapons and equipment. Among them, users are generally accustomed to storing frequently used game props in the shortcut bar provided in the shortcut window, so that they can be easily accessed at any time during the game. For example, in Figure 5A The shortcut window 10 shown provides the user with 6 shortcut bars, in which the game props stored respectively are prop A, prop B, prop C, prop D, prop E and prop F.

[0083] Therefore, when the user performs the first operation in the preset area with a finger, the virtual object may be configured with the game props stored in the shortcut bar in the shortcut window, or may not be configured with the game props stored in the shortcut bar in the shortcut window. Therefore, when the first operation acting on the preset area is detected, the present embodiment can first obtain the game props configured for the virtual object, so as to subsequently determine whether the game props configured for the virtual object are game props stored in a shortcut bar or some shortcut bars in the shortcut window. It should be noted that if the virtual object is not configured with any game props, the game props configured for the virtual object obtained are empty.

[0084] Step 402, determining whether the game props configured by the virtual object are the game props stored in the shortcut bar in the shortcut window. If yes, proceed to step S402; if no, proceed to step S403.

[0085] by Figure 5A For example, when the shortcut window is Figure 5A When the quick window 10 shown in the figure is displayed, if the first operation acting on the preset area is detected, the present embodiment can first obtain the game props configured for the virtual object, and then compare the game props configured for the virtual object with props A, props B, props C, props D, props E and props F stored in the six quick bars provided by the quick window 10, and then determine whether the game props configured for the virtual object are one or more of them.

[0086] It should be added that, if the virtual object is not configured with any game props, that is, the game props configured for the virtual object are empty, it can be directly determined that the game props configured for the virtual object are not the game props stored in the shortcut bar in the shortcut window.

[0087] Step 403, if the game props configured by the virtual object are the game props stored in the shortcut bar in the shortcut window, control the shortcut window to be moved from the initial position to the preset area / control the shortcut window to be generated in the preset area, and align the shortcut bar in the shortcut window that stores the game props configured by the virtual object with the position corresponding to the first operation.

[0088] As can be seen from the foregoing, the quick window usually includes one or more quick bars, and the quick bars are usually used to store game props that users often use when playing games, that is, users often use the game props in the quick bar of the quick window. If, when the user triggers the control to move the quick window / generate the quick window through the first operation in the preset area, the game props stored in a quick bar or some quick bars in the quick window configured by the virtual object, it means that it is very likely that the user wants to switch the game props currently configured by the virtual object to game props stored in other quick bars in the quick window.

[0089] Therefore, this embodiment can detect the first operation, and when confirming that the game props configured by the virtual object are the game props stored in the shortcut bar in the shortcut window, after controlling to move the shortcut window from the initial position to the preset area / controlling to generate the shortcut window in the preset area, align the shortcut bar corresponding to the game props configured by the virtual object in the shortcut window with the position corresponding to the first operation. On the one hand, the user's finger can be used as a base point to quickly select game props in other shortcut bars from the shortcut window without leaving the screen, thereby improving operation efficiency; on the other hand, when the user's finger is aligned with the shortcut bar corresponding to the game props configured by the virtual object, it does not affect the display of other shortcut bars in the shortcut window 10, which can effectively prevent the user's finger from blocking the field of view of the shortcut bar in the shortcut window 10.

[0090] For example, please refer to Figure 5A If, when the first operation occurs, the game props stored in the quick window 10 are props A, props B, props C, props D, props E and props F, and the game prop currently configured for the virtual object is prop B, then in response to the first operation, this embodiment controls the quick window 10 to move from the center of the screen to the preset area 21. Figure 5A When the position shown is reached, the position corresponding to the first operation, that is, the touch position 22 of the user's finger, can be aligned with the shortcut bar where the prop B is stored in the quick window 10 after the move. In this way, on the one hand, the user can use the shortcut bar corresponding to prop B as a base point without leaving the screen, and quickly select the game props to be switched from other quick bars in the quick window 10 to the left or right, thereby improving the operation efficiency; on the other hand, when the user's finger is aligned with the quick bar corresponding to prop B, only the prop B configured by the virtual object will be blocked, and the props A, prop C, prop D, prop E and prop F that have not been configured by the virtual object will not be blocked, that is, the field of view of the quick window 10 will not be blocked by the user's finger.

[0091] Step 404, if the game props configured for the virtual object are not the game props stored in the shortcut bar in the shortcut window, control the shortcut window to be moved from the initial position to the preset area / control the shortcut window to be generated in the preset area, and align a non-empty shortcut bar in the shortcut window with the position corresponding to the first operation.

[0092] As can be seen from the foregoing, the quick window provides one or more quick bars, and the quick bars usually store one or more game props that are frequently used by the user, that is, the quick bars of the quick window do not necessarily store corresponding game props, and only some quick bars may store game props, while the rest of the quick bars are empty. At the same time, when the user triggers the control to move the quick window / generate the quick window through the first operation in the preset area, and the virtual object is not configured with any game props stored in the quick bar of the quick window, it can be understood that the user wants to configure the game props stored in the quick bar of the quick window to the virtual object.

[0093] Therefore, when the first operation is detected and it is confirmed that the game props configured for the virtual object are not the game props stored in the shortcut bar in the shortcut window, this embodiment can control the quick window to be moved from the initial position to the preset area / control the quick window to be generated in the preset area, and then select a quick bar from the quick bars storing the game props in the quick window in a preset order, and align the position corresponding to the first operation. In this way, on the one hand, a non-empty quick bar can be directly provided to the user as the selected quick bar, and the user only needs to let go to determine the game props stored in the non-empty quick bar as the target game props, and then configure it to the virtual object, thereby improving the efficiency of game prop selection; on the other hand, it can also facilitate the user to use the non-empty quick bar as a base point to quickly select and switch game props stored in other quick bars in the quick window, thereby improving operation efficiency.

[0094] For example, please refer to Figure 5B , the quick window 10 provides 6 quick bars, from left to right, quick bar 101, quick bar 102, quick bar 103, quick bar 104, quick bar 105, quick bar 106 (not shown in the figure), wherein quick bar 101 and quick bar 104 are both empty, and quick bars 102-103, quick bars 105-106 respectively store props B, props C, props E and props F. Among them, when the present embodiment responds to the first operation, the control moves the quick window 10 from the center of the screen to the preset area 21 Figure 5BWhen the position shown is reached, the position corresponding to the first operation, that is, the touch position 22 of the user's finger, can be aligned with the first non-empty shortcut bar from left to right in the quick window 10 after the movement, that is, the shortcut bar where the prop B is stored. In this way, the user can directly select prop B without leaving the screen, and can quickly switch to select other game props from the shortcut bar of the quick window 10 based on the shortcut bar corresponding to prop B, and at the same time, the quick window 10 will not be blocked too much by the user's finger.

[0095] It should be noted that there are many ways to implement selecting a non-empty shortcut bar from the shortcut window, for example, it can be the above-mentioned order from left to right to select the first non-empty shortcut bar in the shortcut window, or it can be the order from right to left to select the first non-empty shortcut bar in the shortcut window, etc. It can also be the frequency of use of game props in the shortcut window to select the shortcut bar corresponding to the most frequently used game props, etc., and the present application does not limit this.

[0096] Through the above steps S401-S404, the display and control method of game props described in the present application, when displaying the shortcut window / generated shortcut window after the move position, by screening and processing the shortcut bar aligned with the user's finger touch position, the user's finger does not need to leave the screen of the terminal device to quickly locate the target shortcut bar and choose to switch the corresponding game props, thereby improving the efficiency and convenience of switching game props.

[0097] Based on the above embodiments of the present application, a third embodiment of the method for displaying and controlling game props described in the present application is further proposed.

[0098] Please refer to Figure 6 , is a flow chart of the third embodiment of the method for displaying and controlling game props described in this application. As shown in the figure, in this embodiment, the method for displaying and controlling game props includes:

[0099] Step 601, in response to a touch operation on a virtual key of a graphical user interface, controlling the movement of a shortcut window from an initial position to a position where the virtual key is located / generating a shortcut window identical to the shortcut window at a position corresponding to the first operation.

[0100] In this embodiment, the terminal device provides a graphical user interface of the game, and the graphical user interface may include a virtual button, which is used to respond to the user's touch operation, triggering the control to move the shortcut window displayed at a fixed position of the graphical user interface from its initial position to the touch position corresponding to the touch operation / generate a shortcut window identical to the shortcut window at the position corresponding to the first operation. The virtual button may be displayed in the preset area described in the above embodiment, or any other position in the graphical user interface that is frequently touched by the user. The touch operation may be a long press operation, a single click operation, or a double click operation.

[0101] It should be noted that, in response to the touch operation, when controlling to move the shortcut window to the location of the virtual key / generating a shortcut window identical to the shortcut window at the location corresponding to the first operation, the virtual key position can still be aligned with the shortcut bar in the shortcut window according to whether the virtual object controlled by the user through the terminal device is configured with the game props stored in the shortcut bar of the shortcut window, as in the above embodiment. Among them, when the virtual object is configured with the game props stored in the shortcut bar of the shortcut window, the virtual key position is aligned with the shortcut bar corresponding to the configured game props; when the virtual object is not configured with the game props stored in the shortcut bar of the shortcut window, the virtual key position is aligned with a non-empty shortcut bar in the shortcut window. The relevant alignment rules and implementation methods have been described in detail in the above embodiments and will not be repeated here.

[0102] Step 602: In response to a sliding operation that is continuous with the touch operation, a target shortcut bar is determined from the shortcut bar of the moved shortcut window / generated shortcut window according to the sliding operation.

[0103] In this embodiment, after responding to the touch operation of the user's finger and controlling the movement of the shortcut window to the position of the virtual key, the user's finger can also respond to the sliding operation on the shortcut window after the moving position, and according to the different sliding positions in the sliding process of the sliding operation, different shortcut bars are switched in real time. The sliding operation is continuous with the touch operation, that is, after the user touches the virtual key, the user's finger slides left and right on the shortcut window after the moving position / the generated shortcut window, and then determines the target shortcut bar from the shortcut bar of the shortcut window according to the sliding position.

[0104] Step 603: In response to the end of the sliding operation, determine that the shortcut bar corresponding to the end position of the sliding operation is the target shortcut bar.

[0105] It is understood that when the user selects and determines the target shortcut bar from the displayed shortcut window, and the finger leaves the screen of the terminal device, the shortcut bar corresponding to the finger leaving position, i.e., the end position of the sliding operation, can be finally selected as the target shortcut bar. The target shortcut bar can be a shortcut bar storing game props or an empty shortcut bar.

[0106] Step 604, determine whether the target shortcut bar is empty; if it is empty, proceed to step S605; if it is not empty, proceed to step S606.

[0107] Step 605: When the target shortcut bar is empty, control the virtual object to be configured as a state without game props.

[0108] Generally, when the target shortcut bar is empty, that is, the user finally selects a shortcut without game props through the sliding operation, it indicates that the user may want to configure the virtual object to an empty-handed state, that is, a state without game props. Therefore, in this embodiment, when the target shortcut bar is empty, the virtual object can be controlled to be configured to a state without game props, that is, an empty-handed state.

[0109] In addition, when the user selects a shortcut that does not store game props, it is possible that the user wants to abandon the current operation, that is, to keep the current state of the virtual object unchanged. Therefore, it can be understood that in an optional embodiment, the process can also be ended directly when the target shortcut bar is empty.

[0110] Step 606: When the target shortcut bar is not empty, control the configuration of the game props stored in the target shortcut bar to the virtual object.

[0111] It can be understood that if the target shortcut bar is not empty, it means that the user wants to configure the game props in the target shortcut bar to the virtual object. At this time, the game props in the target shortcut bar can be controlled to be configured to the virtual object. It should be noted that when configuring the game props in the target shortcut bar to the virtual object, it is also necessary to consider whether the virtual object has already been configured with the game props. Figure 7 This is explained in detail.

[0112] like Figure 7 FIG. 4 is a detailed flowchart of step 606 in an optional implementation, wherein step S606 may specifically include:

[0113] Step S6061, when the target shortcut bar is not empty, obtain the game props configured by the virtual object, and determine whether the virtual object has been configured with the game props stored in the target shortcut bar according to the configured game props. If yes, proceed to step S6062; if no, proceed to step S6063.

[0114] Step S6062: If the game props configured for the virtual object are the game props stored in the target shortcut bar, control the virtual object to be configured to a state where the game props are not configured.

[0115] As mentioned above, if the virtual object has been configured with a game prop in the target shortcut bar, and the user selects the shortcut bar corresponding to the game prop, it means that the user may want to cancel the game prop that has been configured for the virtual object. Therefore, in this embodiment, when the virtual object has been configured with a game prop in the target shortcut bar, the virtual object is directly restored to a state without the game prop.

[0116] For example, if a weapon prop is stored in the target shortcut bar and the weapon prop has been equipped to the virtual object, when the user slides to select the shortcut bar storing the weapon prop as the target shortcut bar, the weapon prop equipped to the virtual object can be directly cancelled, and the virtual object can be restored to a state without the weapon prop.

[0117] Step S6063: If the virtual object is not configured with the game props stored in the target shortcut bar, control the configuration of the game props for the virtual object.

[0118] Similarly, if the virtual object is not configured with the game prop in the target shortcut bar, and the user selects the shortcut bar corresponding to the game prop, it means that the user may want to configure the game prop for the virtual object. Therefore, in this embodiment, when the virtual object has been configured with the game prop in the target shortcut bar, the game prop is configured for the virtual object.

[0119] Through the above steps S601-S606 and steps S6061-S6063, the method for displaying and controlling game props described in the present application displays a virtual button on the graphical user interface, responds to the user's touch operation on the virtual button line, and then controls the movement of the shortcut window position / generates the shortcut window, so that the user can use touch operations and continuous sliding operations with the touch wipe to simply and conveniently achieve precise operations on the shortcut bar in the shortcut window, thereby improving the use efficiency of the shortcut window and the user experience.

[0120] Based on the above embodiments of the present application, a fourth embodiment of the method for displaying and controlling game props described in the present application is further proposed.

[0121] Please refer to Figure 8 , which is a flow chart of the fourth embodiment of the method for displaying and controlling game props described in the present application. As shown in the figure, in the present embodiment, after the steps of finally configuring the game props stored in the target shortcut bar to the virtual object, and / or finally configuring the virtual object to a state where the game props stored in the target shortcut bar are not configured, and / or finally configuring the virtual object to a state where the game props are not configured, the method for displaying and controlling game props described in the present application may further include the following steps:

[0122] Step S801, move the shortcut window from the position corresponding to the first operation, and / or the position of the virtual key, and / or the preset area, back to the initial position of the shortcut window in the graphical user interface; or cancel the shortcut window generated at the position corresponding to the first operation.

[0123] It can be understood that the purpose of controlling the movement of the shortcut window / generating the shortcut window in this application is to facilitate the user to accurately control the shortcut bar in the shortcut window at a convenient location. When the above purpose is achieved, it is necessary to move the shortcut window back to its original position or cancel the generated shortcut window. For example, Figure 5A After the target shortcut bar in the displayed shortcut window 10 is manipulated in the preset area 21, the shortcut window 10 is moved back from the preset area 21 to the control area 21. Figure 5A The position of the shortcut window 10 is shown by the dotted line.

[0124] Step S802: In the shortcut window at the initial position, highlight the shortcut bar corresponding to the game props configured to the virtual object.

[0125] It can be understood that in all the above embodiments, when the game props in a shortcut bar in the shortcut window are configured to the virtual object, the game props in the shortcut bar are in a selected state. In order to highlight the selected state, the game props configured to the virtual object and the game props not configured to the virtual object in the shortcut window can be visually distinguished by highlighting the shortcut bar corresponding to the selected game props, so as to remind the user which game props are in use and which are not in use.

[0126] Through the above steps S801-S802, the method for displaying and controlling game props described in the present application, on the one hand, avoids the problem of line of sight obstruction that may be caused by the movement of the shortcut window by moving the shortcut window back to its initial position / canceling the display of the generated shortcut window after completing the manipulation of the target shortcut bar in the shortcut window; on the other hand, by visually distinguishing and displaying the shortcut bars corresponding to the virtual object's in-use game props and unused game props in the shortcut window, the user can be reminded of the usage status of the game props in the corresponding shortcut bar in real time, thereby improving the user's gaming experience.

[0127] Secondly, the present application also provides a display and control device for game props.

[0128] like Fig. 9 , which is a schematic diagram of the structure of the display and control device of the game props described in this application.

[0129] In this embodiment, the display and control device for game props can be run in a terminal device, and a graphical user interface of the game is provided through the terminal device. The content displayed by the graphical user interface includes at least a game screen and a shortcut window. The game screen includes a virtual object controlled by the terminal device. The shortcut window includes at least one shortcut bar, and the shortcut bar is used to store game props that have been configured or can be configured to the virtual object.

[0130] Specifically, the device 900 may include: a moving module 901 and a configuration module 902; wherein:

[0131] The moving module 901 is used to respond to a first operation acting on a preset area of ​​the graphical user interface, control the movement of the shortcut window from an initial position to a position corresponding to the first operation, or generate a shortcut window identical to the shortcut window at the position corresponding to the first operation.

[0132] The configuration module 902 is used to respond to the second operation, determine a target shortcut bar from the shortcut bar of the shortcut window after the position is moved / generated according to the second operation, and control the configuration of the game props stored in the target shortcut bar to the virtual object.

[0133] It should be noted that, when working, the process steps executed and / or the functions implemented by the display and control device for game props provided in the present application are generally consistent with the step processes and / or the functions implemented in each embodiment of the display and control method for game props provided in the above text application, and will not be described in detail here.

[0134] Then, the present application also provides a terminal device.

[0135] like Fig.10The figure is a schematic diagram of the hardware architecture of the terminal device described in this application. The terminal device 100 comprises: a processor 1001 and a memory 1002;

[0136] Memory 1001, used for storing computer-executable instructions;

[0137] The processor 1002 is used to execute the computer-executable instructions stored in the memory to implement the various steps performed by the display and control methods of game props described in the above embodiments. For details, please refer to the relevant descriptions in the various embodiments of the display and control methods of game props provided in the above application.

[0138] Optionally, the memory 1001 can be independent or integrated with the processor 1002. When the memory 1001 is independently provided, the terminal device in the game further includes a bus 1003 for connecting the memory 1001 and the processor 1002.

[0139] Finally, an embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the method for displaying and controlling game props as described above is implemented.

[0140] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.

[0141] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application.

[0142] It should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented by a hardware processor or implemented by a combination of hardware and software modules in the processor.

[0143] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.

[0144] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0145] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0146] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application 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 with 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 application.

Claims

1. A method for displaying and controlling game props, characterized in that: A graphical user interface is provided through a terminal device, wherein the content displayed by the graphical user interface includes at least a game screen and a shortcut window, wherein the game screen includes a virtual object controlled by the terminal device, and the shortcut window includes at least one shortcut bar, wherein the shortcut bar is used to store game props that have been configured or can be configured to the virtual object, and the method includes: In response to a first operation performed on a preset area of ​​the graphical user interface, controlling the quick window to be moved from an initial position to a position corresponding to the first operation, or generating a quick window identical to the quick window at the position corresponding to the first operation; In response to the second operation, a target shortcut bar is determined from the shortcut bar of the shortcut window after the position is moved / generated according to the second operation, and the game props stored in the target shortcut bar are controlled to be configured to the virtual object.

2. The method according to claim 1, characterized in that The step of controlling the quick window to be moved from an initial position to a position corresponding to the first operation / generating a quick window identical to the quick window at the position corresponding to the first operation includes: When the virtual object is configured with a game prop stored in a shortcut bar, the position of the shortcut window is moved / the shortcut window is generated so that the shortcut bar is aligned with the position corresponding to the first operation.

3. The method according to claim 1, characterized in that The step of controlling the quick window to be moved from an initial position to a position corresponding to the first operation / generating a quick window identical to the quick window at the position corresponding to the first operation includes: When the virtual object is not configured with a game prop stored in a shortcut bar of the shortcut window, controlling the movement of the shortcut window / controlling the generation of the shortcut window so that a non-empty shortcut bar in the shortcut window is aligned with a position corresponding to the first operation; The non-empty shortcut bar is a non-empty shortcut bar determined from the shortcut window in a preset order.

4. The method according to claim 1, characterized in that The preset area includes a virtual button, and the first operation includes a click / long press operation on the virtual button; The step of controlling the quick window to move from an initial position to a position corresponding to the first operation in the preset area in response to a first operation acting on the preset area of ​​the graphical user interface, or generating a quick window identical to the quick window at the position corresponding to the first operation, comprises: In response to a click / long press operation on the virtual key, the shortcut window is controlled to be moved from an initial position to a position where the virtual key is located, or a shortcut window identical to the shortcut window is generated at the position where the virtual key is located.

5. The method according to claim 4, characterized in that The second operation includes a sliding operation continuous with the clicking / long pressing operation; The step of determining a target shortcut bar from the shortcut bar of the moved shortcut window / generated shortcut window according to the second operation in response to the second operation includes: In response to a sliding operation that is continuous with the click / long press operation, determining the target shortcut bar from a shortcut bar of the shortcut window / generated shortcut window after the position is moved according to the sliding operation; In response to the end of the sliding operation, a shortcut bar corresponding to the end position of the sliding operation is determined as the target shortcut bar.

6. The method according to claim 1, characterized in that The step of controlling the configuration of the game props stored in the target shortcut bar to the virtual object includes: When the target shortcut bar is empty, controlling the virtual object to be configured as a state without game props; When the target shortcut bar is not empty, the game props stored in the target shortcut bar are configured for the virtual object.

7. The method according to claim 6, characterized in that The step of configuring the game props stored in the target shortcut bar for the virtual object comprises: If the virtual object has been configured with the game props stored in the target shortcut bar, controlling the virtual object to be configured to a state where the game props are not configured; If the virtual object is not configured with the game props stored in the target shortcut bar, control is performed to configure the game props for the virtual object.

8. The method according to any one of claims 1 to 7, characterized in that: After the step of controlling the game props stored in the target shortcut bar to be configured to the virtual object, the method further includes: The shortcut window is moved from the position corresponding to the first operation to the initial position, or the shortcut window generated at the position corresponding to the first operation is canceled.

9. The method according to claim 8, characterized in that After moving the shortcut window to the initial position or canceling display of the shortcut window generated at the position corresponding to the first operation, the method further includes: In the shortcut window at the initial position, the shortcut bar corresponding to the game props configured to the virtual object is highlighted.

10. The method according to claim 1, characterized in that The game props include one or more of the following game props: weapons, weapon accessories, armor, medicine, and food.

11. A display and control device for game props, characterized in that: A graphical user interface is provided through a terminal device, wherein the content displayed by the graphical user interface includes at least a game screen and a shortcut window, wherein the game screen includes a virtual object controlled by the terminal device, and the shortcut window includes at least one shortcut bar, wherein the shortcut bar is used to store game props that have been configured or can be configured to the virtual object, and the apparatus includes: a moving module, configured to respond to a first operation applied to a preset area of ​​the graphical user interface, control the movement of the shortcut window from an initial position to a position corresponding to the first operation, or generate a shortcut window identical to the shortcut window at the position corresponding to the first operation; The configuration module is used to respond to the second operation, determine a target shortcut bar from the shortcut bar of the shortcut window after the position is moved / generated according to the second operation, and control the configuration of the game props stored in the target shortcut bar to the virtual object.

12. A terminal device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 10 is implemented.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method and device for controlling props in game, electronic equipment and storage medium

    CN111330260A

  • Game prop using method, device and equipment, and storage medium

    CN112807679A

  • Method and device for switching virtual props in game and touch terminal

    CN113457157A

  • Method for opening shortcut function, device, mobile terminal, and storage medium

    WO2019047728A1