Game interaction control method and device and electronic equipment
By dividing the game interface into multiple display areas and displaying area identifiers, users can directly select the target area, and the focus identifier jumps to elements in the area, solving the problem of low movement efficiency of focus identifiers and improving interaction efficiency and user experience.
Patent Information
- Application Number
- CN202510637388.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-16
- Publication Date
- 2025-08-12
AI Technical Summary
In game interactive scenarios, the movement efficiency of focus identifiers is poor, especially when the target element is located in the corner of the interface, it requires multiple operations to arrive, which increases operational complexity and time cost.
By dividing the graphical user interface into multiple display areas and displaying area identifiers on the interface, the user can directly select the target area and the focus identifier can jump to the interface elements in the area without moving them step by step.
It effectively shortens the interaction path of focus identification, significantly reduces the number of operations, improves interaction efficiency and user experience, especially for target elements at extreme locations of the interface.
Smart Images

Figure CN120459630A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game technology, and in particular to a method, device and electronic equipment for interactive control of games. Background Art
[0002] In a game interaction scenario, when the user controls the game controller, he or she can use the controller's direction keys, joystick and other input devices to drive an identifier with visual focus attributes in the game interface, such as a highlighted box or cursor, to switch positions between various interface elements such as menu options, game characters, and prop icons. When the focus identifier is accurately located at a target element, the user can trigger the corresponding key position of the controller to perform interactive behaviors such as selection and property viewing on the target element.
[0003] In related technologies, users can only control the focus indicator to move from one element to the next adjacent element in a fixed order and hierarchy. The movement efficiency of the focus indicator is poor, especially when the target element is located in the corner of the interface. Multiple moving operations are required to reach the target element, which is complicated and affects the user experience. Summary of the Invention
[0004] In view of this, the object of the present invention is to provide a method, device and electronic device for interactive control of a game, so as to shorten the interactive path of moving the focus mark to the target element, reduce the operation complexity and improve the user experience.
[0005] In a first aspect, an embodiment of the present invention provides an interactive control method for a game, providing a graphical user interface through a terminal device; the graphical user interface includes multiple interface elements, and the first element in the interface elements is associated with a focus identifier; the focus identifier is used to indicate that the first element is the currently selected interface element; the method includes: responding to an area division instruction, dividing the graphical user interface into multiple display areas, and displaying area identifiers corresponding to the graphical user interface areas; responding to an area selection instruction, selecting a target area from the multiple display areas; wherein the target area contains at least one interface element; responding to an end control instruction corresponding to the area division instruction, controlling the focus identifier to move to a second element, wherein the second element is an interface element in the target area.
[0006] In a second aspect, an embodiment of the present invention further provides an interactive control device for a game, which provides a graphical user interface through a terminal device; the graphical user interface includes multiple interface elements, and the first element in the interface elements is associated with a focus identifier; the focus identifier is used to indicate that the first element is the currently selected interface element; the device includes: a first display module, which is used to divide the graphical user interface into multiple display areas in response to an area division instruction, and display area identifiers corresponding to the graphical user interface areas; a first selection module, which is used to select a target area from multiple display areas in response to an area selection instruction; wherein the target area contains at least one interface element; a first movement module, which is used to control the focus identifier to move to a second element in response to an end control instruction corresponding to the area division instruction, wherein the second element is an interface element in the target area.
[0007] In a third aspect, an embodiment of the present invention provides an electronic device including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned interactive control method of the game.
[0008] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method of the above-mentioned game.
[0009] The embodiments of the present invention bring the following beneficial effects:
[0010] The interactive control method, device and electronic device of the above-mentioned game provide a graphical user interface through a terminal device; the graphical user interface includes multiple interface elements, and the first element in the interface elements is associated with a focus identifier; the focus identifier is used to indicate that the first element is the currently selected interface element; the method includes: responding to an area division instruction, dividing the graphical user interface into multiple display areas, and displaying area identifiers corresponding to the areas in the graphical user interface; responding to an area selection instruction, selecting a target area from the multiple display areas; wherein the target area contains at least one interface element; responding to an end control instruction corresponding to the area division instruction, controlling the focus identifier to move to a second element, wherein the second element is an interface element in the target area.
[0011] In this method, the graphical user interface is divided into multiple display areas through area division instructions. The interface elements in the graphical user interface are divided into each display area. After selecting the target area in the display area, the focus marker can be controlled to jump directly from the current position to the interface element in the area, without the user having to move the focus marker one by one in the entire interface, effectively shortening the interaction path of the focus marker. In this method, when the user wants to select the target element, he only needs to select the display area where the target element is located to control the focus marker to jump to the interface element in the display area. The user only needs to move the focus marker in the target area to quickly select the target element. The operation is convenient and efficient, especially for target elements at extreme positions in the interface. The number of operations to move the focus marker is significantly reduced, improving interaction efficiency and user experience.
[0012] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or will be understood through implementation of the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0013] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0015] Figure 1 A flowchart of a method for interactive control of a game provided by an embodiment of the present invention;
[0016] Figure 2 A schematic diagram of the display status of each display area provided by an embodiment of the present invention;
[0017] Figure 3 A schematic diagram of determining a second element provided by an embodiment of the present invention;
[0018] Figure 4 A schematic diagram of an interactive control device for a game provided by an embodiment of the present invention;
[0019] Figure 5 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the scope of protection of the present invention.
[0021] In related technologies, users can only control the focus marker to move from one element to the next adjacent element in a fixed order and hierarchy. The movement efficiency of the focus marker is poor, especially when the target element is located in the corner of the interface. Multiple repeated operations are required to reach it, which increases the complexity and time cost of the operation.
[0022] Based on this, an embodiment of the present invention provides a method, device, and electronic device for interactive control of a game, and this technology can be applied to a game interface.
[0023] In one embodiment of the present invention, the interactive control method for a game can be run on a local terminal device or a server. When the interactive control method for a game is run on a server, the method can be implemented and executed based on a cloud interactive system, wherein the cloud interactive system includes a server and a client device.
[0024] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud gaming operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the interactive control method of the game are completed on the cloud gaming server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud gaming server in the cloud is responsible for information processing. 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 screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0025] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. 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, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0026] In one possible implementation, an embodiment of the present invention provides an interactive control method for a game, providing a graphical user interface through a terminal device; the graphical user interface includes a plurality of interface elements, and the interface elements may be game characters, item icons, or game controls, etc. The first element in the interface elements is associated with a focus identifier, and the focus identifier is used to indicate that the first element is the currently selected interface element. Here, the focus identifier may be an identifier of a specific visual focus attribute, such as a highlighted box or cursor. When the focus identifier moves to an interface element, it is determined that the focus identifier is associated with the interface element, and the interface element can be used as the currently selected interface element, and the user can perform interactive behaviors such as selection and property viewing on the interface element. In this embodiment, when the highlight box frames the first element, it indicates that the first element is the currently selected interface element.
[0027] like Figure 1 As shown, the interactive control method of the game includes the following steps:
[0028] Step S102: In response to the region division instruction, the graphical user interface is divided into a plurality of display regions, and region identifiers corresponding to the display regions are displayed on the graphical user interface;
[0029] The above-mentioned area division instructions can be touch operations for input devices such as game controller devices and keyboards. For example, the area division instruction is triggered after the user presses the specified control on the game controller device. The above-mentioned area identification is used to achieve accurate positioning and rapid identification of each display area. Here, the area outline can be used as the area identification of the display area. It can be understood that the edge lines of each display area can be presented in the graphical user interface to clearly outline the area outline of each display area. These visual outline boundaries can intuitively divide the interface space and help users quickly distinguish different display areas.
[0030] In one method, after receiving the area division instruction, the graphical user interface can be divided into multiple display areas of the same size, and the edge lines of each display area can be presented in the graphical user interface to outline the area contours of each display area to help users quickly distinguish between the display areas.
[0031] Step S104 : In response to the region selection instruction, a target region is selected from the plurality of display regions; wherein the target region includes at least one interface element.
[0032] The above-mentioned area selection instruction can be a trigger operation for the joystick of the game controller device. The user can control the area selection mark to switch between multiple display areas by offsetting or pressing the joystick of the game controller. When the area selection mark switches to a certain display area for display, it indicates that the display area is selected. Here, the area selection mark can be a visual feedback mark for the area, such as a highlight mark, a shadow mark, a background fill mark, etc. In one embodiment, when the area selection mark switches to a certain display area, the terminal device presents the display area with a highlight effect, forming a clear and clear visual feedback.
[0033] In this step, a target area is selected from multiple display areas through an area selection instruction, and the target area includes at least one interface element.
[0034] Step S106 : In response to the end control instruction corresponding to the area division instruction, the focus marker is controlled to move to the second element, where the second element is an interface element in the target area.
[0035] The end control instruction corresponding to the above-mentioned area division instruction is used to end the area division instruction. In one embodiment, the area division instruction can be triggered by pressing a designated control of the game controller device with a finger, and the end control instruction can also be automatically triggered after the finger releases the designated control.
[0036] In this step, upon receiving the end control command corresponding to the region division command, the focus marker is controlled to move directly from the first element to the second element in the target region, switching the currently selected element to the second element. Here, the focus marker can be moved directly from the first element to the second element without the user having to move the focus marker step by step throughout the entire interface. This effectively shortens the interaction path of the focus marker, reduces the number of operations the user has to perform to move the focus marker, and improves interaction efficiency and user experience.
[0037] In one method, the second element can also be specified as an interface element adjacent to the edge of the target area. This setting allows users to quickly select interface elements at extreme positions, effectively reducing unnecessary repetitive operations and significantly improving the fluency and efficiency of interactive operations.
[0038] The present application can also reduce the difficulty of multi-terminal adaptation. Generally, in the host interface design, according to the host interface development specifications, the layout of the interface elements must follow the principle of neat arrangement in the horizontal or vertical direction, and the movement path of the focus mark is also in a cross direction. However, the mobile phone interface is subject to limited display space, and the layout of the interface elements is often not neatly arranged. Some controls may appear in diagonal corners or unconventional positions. In the prior art, when adapting the mobile phone interface to the host side, it is usually necessary to redesign the host interface, adjust the interface elements in unconventional positions to horizontal columns or vertical columns, and plan a specific focus movement path. In the present application, the user can control the focus mark to jump directly from the current position to the interface element in the area by directly selecting the display area where the irregular position is located, without the need to move step by step, avoiding a large number of path designs, and reducing the difficulty of multi-terminal adaptation.
[0039] The interactive control method for the aforementioned game, in response to a region division instruction, divides a graphical user interface into multiple display regions and displays region identifiers corresponding to the regions in the graphical user interface; in response to a region selection instruction, selects a target region from the multiple display regions; wherein the target region contains at least one interface element; and in response to an end control instruction corresponding to the region division instruction, controls the focus identifier to move to a second element, wherein the second element is an interface element in the target region. In this method, the region division instruction divides the graphical user interface into multiple display regions, and the interface elements in the graphical user interface are divided into each display region. After selecting a target region in a display region, the focus identifier can be controlled to jump directly from its current position to the interface element in that region, eliminating the need for the user to repeatedly move the focus identifier throughout the entire interface, effectively shortening the interaction path of the focus identifier. In this method, when the user wants to select the target element, they only need to select the display region where the target element is located, and the focus identifier will be controlled to jump to the interface element in that display region. The user only needs to move the focus identifier within the target region to quickly select the target element, which is convenient and efficient. In particular, for target elements at extreme positions on the interface, the number of operations required to move the focus identifier is significantly reduced, thereby improving interaction efficiency and user experience.
[0040] In one approach, after controlling the focus marker to move to the second element, if the second element is not the target element that the user wants to select, the user can continue to control the focus marker to move within the target area to move it to the target element.
[0041] Specifically, in response to the focus control instruction, the focus marker is controlled to move from the second element to the third element in the target area.
[0042] In one implementation, the focus control instruction can be a touch operation performed by the user on the joystick of the game controller device. After the focus marker moves to the second element, the user can also control the focus marker to move from the second element to the third element in the target area by touching the joystick of the game controller device.
[0043] Specifically, in response to the focus control instruction, the direction control information and distance control information corresponding to the focus control instruction are obtained; the focus marker is controlled to move along the direction indicated by the direction control information until it moves a distance length indicated by the distance control information; and the interface element where the focus marker after the move is located is determined as the third element.
[0044] Here, the focus control instruction may be an offset operation performed by the user on the joystick of the game controller device.
[0045] In one method, the focus control instruction can include direction control information and distance control information. The user can perform an offset operation on the joystick. The terminal device obtains the direction control information by obtaining the offset direction of the joystick, and determines the movement distance control information by obtaining the offset amount of the joystick. Then, the focus marker is controlled to move in the direction indicated by the direction control information until it moves the distance indicated by the distance control information, and the interface element where the focus marker is located after the movement is determined as the third element. If the third element is not the target element that the user wants to select, the user can continue to repeatedly offset the joystick of the game controller device until the focus marker moves to the target element.
[0046] There is another way, the focus control instruction only contains direction control information, and the terminal device obtains the direction control information by obtaining the offset direction of the joystick. After obtaining the direction control information, the terminal device determines the interface element adjacent to the current position of the focus marker along the direction indicated by the direction control information, obtains the distance between the current position of the focus marker and the adjacent interface element, and uses this distance as the movement distance control information corresponding to the focus control instruction. Then, the focus marker is controlled to move to the adjacent interface element, and this adjacent interface element is used as the third element. Similarly, if the third element is not the target element that the user wants to select, the user can continue to repeatedly offset the joystick of the game controller device until the focus marker moves to the target element.
[0047] In one embodiment, the area division instruction can be a trigger operation acting on the first control or the first control combination of the game controller device. In response to the trigger operation acting on the first control or the first control combination of the game controller device, the graphical user interface is divided into multiple display areas, and the area identifiers corresponding to the display areas are displayed on the graphical user interface.
[0048] In this mode, the region division instruction can be a trigger operation acting on a control or a group of controls of the game controller device. For example, when the user presses the LT key and RT key of the game controller device simultaneously, the region division instruction is triggered, the graphical user interface is divided into multiple display areas, and the region identifier corresponding to each display area is displayed in the graphical user interface. Here, the region identifier can be a region outline. After the graphical user interface is divided into multiple display areas, the edge lines of each display area are displayed in the graphical user interface to outline the region outline, helping the user to quickly distinguish between the display areas.
[0049] In one embodiment, after the graphical user interface is divided into multiple display areas, a default selected area is determined from the multiple display areas, and a display area selection identifier is associated with the default selected area.
[0050] Here, the above-mentioned default selected area is the display area in which the area status is set to the selected state after the display areas are divided. The default selected area is associated with the area selection mark and displayed. The user can use the default selected area as the starting area for switching the display of the area selection mark, and control the area selection mark to switch between different display areas by sending an area selection instruction.
[0051] In one embodiment, the default selected area includes the display area where the first element is located, or the central area of multiple display areas.
[0052] The following describes the display state of the graphical user interface after receiving the region division instruction, taking the default selected region as the central region of multiple display regions as an example. Figure 2 As shown, when the user presses the LT key and the RT key of the game controller device at the same time, the graphical user interface is divided into 9 display areas of the same size, and the edge lines of each display area are presented in the graphical user interface to outline the area contours. The area contours are used as area identifiers corresponding to each area to help users quickly distinguish between the display areas. The central area of the multiple display areas is associated with the area selection identifier as the default selected area. Here, the area selection identifier is a visual feedback identifier of the background fill type, that is, a diagonal line pattern is drawn in the default selected area to clearly present the selected state in the interface, which is convenient for users to quickly identify.
[0053] The following embodiments provide specific implementation methods for determining to select a target area from multiple display areas.
[0054] In one embodiment, in response to a joystick triggering operation on a game controller device, a control area selection mark is switched among multiple display areas; wherein the display area where the area selection mark is located is the selected target area.
[0055] The above-mentioned joystick triggering operation may be an offset operation on the joystick or a pressing operation on the joystick.
[0056] In one implementation, after the graphical user interface is divided into multiple display areas, a default selected area will be displayed. The default selected area is associated with an area selection identifier. If the target area that the user wants to select is the default selected area, the user can press the joystick to confirm that the default selected area is determined as the target area.
[0057] In another implementation, the user can also control the area selection mark by offsetting the joystick to use the default selected area as the starting area for switching display, switch the display between different display areas, and determine the display area where the area selection mark is located as the selected target area.
[0058] Specifically, in response to a joystick offset operation on the game controller device, an offset direction is determined; and the control area selection mark is switched and displayed in multiple display areas along the offset direction.
[0059] That is, by capturing the offset direction of the joystick offset operation, the control area selection mark can be switched and displayed in multiple display areas along the offset direction.
[0060] In one method, in response to a joystick offset operation applied to a game controller device, it is determined that the offset of the joystick offset operation is greater than a preset offset threshold, and the offset direction is determined; if the offset of the joystick offset operation is determined to be less than or equal to the preset offset threshold, no response is given to the joystick offset operation.
[0061] In this method, if the offset amount of the joystick offset operation is greater than the preset offset threshold, the offset direction of the joystick offset operation can be captured, and the control area selection mark is switched and displayed along the offset direction in multiple display areas; if the offset amount of the joystick offset operation is not greater than the preset offset threshold, the joystick offset operation is deemed invalid, and the area selection mark does not change.
[0062] For example, when the offset of the joystick offset operation exceeds 30% of the distance from the center position of the joystick to the maximum limit position of the joystick's movement, the offset direction of the joystick offset operation is captured, and the control area selection mark is switched along the offset direction in multiple display areas. Otherwise, the joystick offset operation is deemed invalid. This method can reduce the risk of misoperation caused by slight shaking or unintentional touch, and ensure the accuracy of interactive operations.
[0063] The following provides an implementation method for controlling the switching display of the region selection mark in multiple display areas: along the offset direction, determining the adjacent area of the display area where the region selection mark is currently located, and moving the region selection mark to the adjacent area.
[0064] That is, the terminal device can capture the offset direction of the joystick offset operation, determine the adjacent area of the display area where the area selection marker is currently located along the offset direction, and move the area selection marker to the adjacent area.
[0065] In actual implementation, after the graphical user interface is divided into multiple display areas, the default selected area is used as the starting area for switching the display of the area selection mark. The user controls the area selection mark to switch between different display areas by touching the joystick of the game controller device. Specifically, if the target area that the user wants to select is the default selected area, the user can press the joystick to confirm that the default selected area is determined as the target area. The user can also perform a joystick offset operation with a joystick offset greater than a preset offset threshold to control the area selection mark to use the default selected area as the starting area for switching display and switch display among multiple display areas. When the user performs the joystick offset operation, the terminal device obtains the offset direction of the joystick offset operation in real time, obtains the adjacent area of the default selected area in the offset direction, and controls the area selection mark to be displayed in the adjacent area. If the adjacent area is not the display area that the user wants to select, the user can continue to perform the joystick offset operation to control the area selection mark to switch display to the adjacent area of the display area where the current area selection mark is located until the area selection mark switches display to the target area that the user wants to select.
[0066] The following provides a specific implementation method for controlling the focus indicator to move to the second element.
[0067] Determine a first area where the first element is located from the display area; determine a second element from the interface elements included in the target area based on the relative position of the target area and the first area; and control the focus indicator to move to the second element.
[0068] The first area where the first element is located is the display area where the focus mark is located before receiving the area selection instruction, that is, the display area where the original focus mark is located. The relative position includes the relative direction.
[0069] That is, according to the relative position between the target area and the display area where the original focus marker is located, the second element is determined from the interface elements included in the target area, and the focus marker is controlled to move to the second element.
[0070] Specifically, a first direction of the target area relative to the first area is obtained; a region edge line of the target area in the first direction is determined; and a second element is determined from interface elements contained in the target area and closest to the region edge line.
[0071] The above-mentioned first direction is the direction of the target area relative to the first area, and the directions include: above, below, left, right, upper left, lower left, upper right, lower right, etc. The area edge line of the target area in the first direction may be one or more. For example, if the target area is located directly above the first area and the first direction is above, then the area edge line in the first direction is the uppermost edge line of the target area. If the target area is located in the upper left of the first area and the first direction is the upper left, then the area edge line in the first direction may be the uppermost edge line and the leftmost edge line of the target area. The above-mentioned second element is the interface element in the target area that is adjacent to the area edge line in the first direction.
[0072] In this method, a first direction of the target area relative to the first area is obtained and a region edge line of the target area in the direction is determined, and then the interface element closest to the region edge line is obtained from the target area, and the second element is determined among these interface elements.
[0073] In this way, upon receiving the end control instruction corresponding to the area division instruction, the focus marker can be controlled to move to the interface element adjacent to the edge of the target area, thereby achieving rapid selection of interface elements at extreme positions, reducing repetitive operations, and improving operational fluency.
[0074] In one approach, when the region edge line in the first direction is a region edge line, the interface element closest to the region edge line can be obtained from the interface elements contained in the target region, and then the second element can be determined from the closest interface elements.
[0075] In another method, the area edge line in the first direction includes two area edge lines. It is necessary to determine the main edge line and the auxiliary edge line from the two area edge lines, determine the interface element closest to the main edge line as the alternative element, and determine the second element from the alternative elements closest to the auxiliary edge line.
[0076] That is to say, when the area edge line in the first direction contains two area edge lines, it is necessary to determine the main edge line and the auxiliary edge line from them, and first determine the alternative element closest to the main edge line from the interface elements, then determine the element closest to the auxiliary edge line from the alternative elements, and finally, determine the second element from the element closest to the auxiliary edge line.
[0077] Specifically, the main edge line and the auxiliary edge line can be determined in the following manner: obtain the directions of the two area edge lines, and determine the main direction and the auxiliary direction from the directions of the two area edge lines; determine the area edge line located in the main direction as the main edge line; and determine the area edge line located in the auxiliary direction as the auxiliary edge line.
[0078] The primary and secondary directions can be pre-specified. For example, if the region edge lines in the first direction are the topmost and leftmost edge lines of the target region, and the directions of the two region edge lines are respectively upward and left, the left direction can be designated as the primary direction and the top direction as the secondary direction. The region edge line located in the left direction is determined as the primary edge line, and the region edge line located in the upper direction is determined as the secondary edge line.
[0079] In one approach, if the interface element closest to the region edge line includes multiple interface elements with an overlapping relationship, the display levels of the multiple interface elements with the overlapping relationship are obtained, and the second element is determined from the interface element with the highest display level.
[0080] That is, if the interface element closest to the region edge line has an overlapping relationship, the second element can be preferentially determined from the interface elements with the highest display level.
[0081] Furthermore, if the interface element with the highest display level includes multiple elements, the first element located in a preset direction is obtained from the multiple interface elements with the highest display level, and the first element is determined as the second element.
[0082] The preset direction may be a pre-specified direction used to accurately distinguish the positional relationship of the interface elements. For example, when multiple interface elements with the highest display level are arranged horizontally, the preset direction may be from left to right.
[0083] That is to say, if there are multiple interface elements with the highest display level, the first element located in the preset direction is obtained from the multiple interface elements with the highest display level, and the first element is determined as the second element. For example, when multiple interface elements with the highest display level are arranged horizontally, the preset direction is from left to right. At this time, the first interface element located on the left among these interface elements is determined as the second element.
[0084] Below Figure 3 For example, the process of determining the second element is described in detail. A graphical user interface displays interface elements A to F at the same display level. Interface element F is the first element. Assuming that the target area is area 2, and the target area is above area 8 where the first element is located, interface element A in area 2 that is closest to the edge of the area above area 2 is determined as the second element.
[0085] Assuming that the target area is area 4, the target area is located in the upper left of area 8 where the first element is located. The area edge lines in the upper left direction of area 4 include: the area edge line above area 4 and the area edge line on the left. The left direction is designated as the main direction and the top direction is designated as the auxiliary direction. Figure 4 The left edge line is the main edge line. Figure 4 The upper area edge line is the auxiliary edge line, and the interface elements B and C closest to the left area edge line are taken as candidate elements. Among the candidate elements, the interface element B closest to the upper area edge line is determined as the second element.
[0086] In one embodiment, before the target area is selected from the multiple display areas, in response to a cancel instruction, the focus indicator is controlled to remain on the first element.
[0087] The above-mentioned cancel instruction can be automatically generated by user operation. When the terminal device receives the cancel instruction, the control focus indicator does not change and remains at the first element. For example, if the area selection instruction is a joystick trigger operation acting on a game controller device, when the graphical user interface is divided into multiple display areas, if the user does not trigger the joystick of the game controller device, a cancel instruction is automatically generated, and the control focus indicator of the terminal device does not change and remains at the first element.
[0088] In one embodiment, in response to a mode switching instruction, a cursor marker is controlled to be generated and displayed in a graphical user interface; wherein the cursor marker is configured to be movable to any position in the graphical user interface; in response to a movement control instruction, the cursor marker is controlled to move in the graphical user interface; in response to the cursor marker moving to a second element, the focus marker is controlled to move to the second element.
[0089] The mode switching instruction may be a triggering operation of a relevant control on a game controller device. The movement control instruction may be input via a joystick of the game controller.
[0090] When the terminal device receives a mode switching instruction, it will generate and display a cursor in the graphical user interface. The cursor has the ability to move freely to any position in the graphical user interface. Once the terminal device receives a movement control instruction input by the game controller joystick, it will precisely control the movement of the cursor. For example, the display position of the cursor in the graphical user interface can be determined based on the offset position of the game controller joystick on the game controller. When the cursor moves to an interface element, the focus mark will be automatically moved to the interface element to indicate that the interface element is selected.
[0091] Here, the user can also use mode switching instructions to control the generation and display of a cursor marker in the graphical user interface, and select a second element in the graphical user interface by moving the cursor. When the cursor marker moves to the second element, the focus marker can also be controlled to move to the second element to indicate that the second element is selected.
[0092] In one embodiment, in response to a triggering operation on a second control or a combination of second controls of a game controller device, a cursor indicator is generated and displayed in a graphical user interface.
[0093] That is, the mode switching instruction may be a triggering operation acting on a second control or a second control combination of the game controller device, where the second control or the second control combination is different from the first control or the first control combination. For example, by simultaneously pressing the R, RT, L, and L2 key combination of the game controller device, a cursor indicator may be generated and displayed in a graphical user interface.
[0094] In one approach, the movement speed of the cursor marker may be set to be exponentially related to the joystick offset, so that the cursor marker may be controlled to quickly reach an interface element at an extreme position.
[0095] Corresponding to the above method embodiment, see Figure 4 A schematic diagram of an interactive control device for a game is shown, wherein a terminal device provides a graphical user interface (GUI); the GUI includes multiple interface elements, wherein the first element of the interface elements is associated with a focus indicator; the focus indicator is used to indicate that the first element is the currently selected interface element; the device includes:
[0096] A first display module 402 is configured to divide the graphical user interface into a plurality of display areas in response to an area division instruction, and to display area identifiers corresponding to the display areas on the graphical user interface;
[0097] A first selection module 404 is configured to select a target area from a plurality of display areas in response to an area selection instruction; wherein the target area includes at least one interface element;
[0098] The first moving module 406 is configured to control the focus marker to move to a second element in response to an end control instruction corresponding to the area division instruction, wherein the second element is an interface element in the target area.
[0099] In this method, the graphical user interface is divided into multiple display areas through area division instructions. The interface elements in the graphical user interface are divided into each display area. After selecting the target area in the display area, the focus marker can be controlled to jump directly from the current position to the interface element in the area, without the user having to move the focus marker one by one in the entire interface, effectively shortening the interaction path of the focus marker. In this method, when the user wants to select the target element, he only needs to select the display area where the target element is located to control the focus marker to jump to the interface element in the display area. The user only needs to move the focus marker in the target area to quickly select the target element. The operation is convenient and efficient, especially for target elements at extreme positions in the interface. The number of operations to move the focus marker is significantly reduced, improving interaction efficiency and user experience.
[0100] The above device further includes a first control module, configured to control the focus marker to move from the second element to a third element in the target area in response to a focus control instruction.
[0101] The above-mentioned first display module is also used to respond to the triggering operation of the first control or the first control combination acting on the game controller device, divide the graphical user interface into multiple display areas, and display area identifiers corresponding to the display areas on the graphical user interface.
[0102] The above-mentioned device also includes a second display module, which is used to determine a default selected area from multiple display areas and associate a display area selection mark with the default selected area.
[0103] The default selected area includes the display area where the first element is located, or the central area of multiple display areas.
[0104] The above-mentioned first selection module is also used to respond to the joystick trigger operation acting on the game controller device, and control the area selection mark to switch the display in multiple display areas; wherein the display area where the area selection mark is located is the selected target area.
[0105] The above-mentioned device also includes a second control module, which is used to respond to the joystick offset operation acting on the game handle device and determine the offset direction; and control the area selection mark to switch and display along the offset direction in multiple display areas.
[0106] The above-mentioned device further includes a first determining module, which is used to determine, along the offset direction, an adjacent area of the display area where the area selection marker is currently located, and move the area selection marker to the adjacent area.
[0107] The above-mentioned device also includes a second determination module, which is used to respond to the joystick offset operation acting on the game handle device, determine that the offset amount of the joystick offset operation is greater than a preset offset threshold, and determine the offset direction; determine that the offset amount of the joystick offset operation is less than or equal to the preset offset threshold, and do not respond to the joystick offset operation.
[0108] The first movement module is further configured to determine a first area where the first element is located from the display area; determine a second element from the interface elements contained in the target area based on the relative position of the target area and the first area; and control the focus marker to move to the second element.
[0109] The above device also includes a third determination module for obtaining a first direction of the target area relative to the first area; determining an area edge line of the target area in the first direction; and determining a second element from interface elements contained in the target area that are closest to the area edge line.
[0110] The above-mentioned device also includes a fourth determination module, which is used to obtain the display hierarchy of the multiple interface elements with overlapping relationships if the interface element closest to the area edge line includes multiple interface elements with overlapping relationships, and determine the second element from the interface element with the highest display hierarchy.
[0111] The above-mentioned device also includes a fifth determination module, which is used to obtain the first element located in a preset direction from the multiple interface elements with the highest display level if there are multiple interface elements with the highest display level, and determine the first element as the second element.
[0112] The area edge lines in the above-mentioned first direction include two area edge lines; the above-mentioned device also includes a sixth determination module, which is used to determine the main edge line and the auxiliary edge line from the two area edge lines; determine the interface element closest to the main edge line as the alternative element, and determine the second element from the alternative elements closest to the auxiliary edge line.
[0113] The above-mentioned device also includes a seventh determination module, which is used to obtain the directions of the two area edge lines, determine the main direction and the auxiliary direction from the directions of the two area edge lines; determine the area edge line located in the main direction as the main edge line; and determine the area edge line located in the auxiliary direction as the auxiliary edge line.
[0114] The above device further includes a third control module, configured to control the focus indicator to remain on the first element in response to a cancel instruction.
[0115] The above-mentioned device also includes an eighth determination module, which is used to respond to the focus control instruction, obtain direction control information and distance control information corresponding to the focus control instruction; control the focus identifier to move along the direction indicated by the direction control information until it moves the distance indicated by the distance control information; and determine the interface element where the focus identifier is located after the move as the third element.
[0116] The above-mentioned device also includes a first switching module, which is used to control the generation and display of a cursor identifier in a graphical user interface in response to a mode switching instruction; wherein the cursor identifier is configured to: be movable to any position in the graphical user interface; control the cursor identifier to move in the graphical user interface in response to a movement control instruction; and control the focus identifier to move to the second element in response to the cursor identifier moving to a second element.
[0117] The above-mentioned apparatus further includes a fourth control module, which is used to control the generation and display of a cursor mark in the graphical user interface in response to a triggering operation acting on the second control or the second control combination of the game handle device.
[0118] This embodiment further provides an electronic device, including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned interactive control method for the game. The electronic device can be a server or a terminal device.
[0119] See also Figure 5 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine executable instructions that can be executed by the processor 100. The processor 100 executes the machine executable instructions to implement the interactive control method of the above game.
[0120] Furthermore, Figure 5 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .
[0121] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0122] The processor 100 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 100 or software instructions. The above processor 100 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or register. The storage medium is located in the memory 101. The processor 100 reads the information in the memory 101 and, in conjunction with its hardware, completes the steps of the method of the aforementioned embodiment.
[0123] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the area division instruction, the graphical user interface is divided into multiple display areas, and the area identifiers corresponding to the display areas are displayed on the graphical user interface; in response to the area selection instruction, the target area is selected from the multiple display areas; wherein the target area contains at least one interface element; in response to the end control instruction corresponding to the area division instruction, the control focus identifier is moved to the second element, wherein the second element is the interface element in the target area.
[0124] In this method, the graphical user interface is divided into multiple display areas through area division instructions. The interface elements in the graphical user interface are divided into each display area. After selecting the target area in the display area, the focus marker can be controlled to jump directly from the current position to the interface element in the area, without the user having to move the focus marker one by one in the entire interface, effectively shortening the interaction path of the focus marker. In this method, when the user wants to select the target element, he only needs to select the display area where the target element is located to control the focus marker to jump to the interface element in the display area. The user only needs to move the focus marker in the target area to quickly select the target element. The operation is convenient and efficient, especially for target elements at extreme positions in the interface. The number of operations to move the focus marker is significantly reduced, improving interaction efficiency and user experience.
[0125] The processor in the electronic device can implement the following operations of the interactive control method of the game by executing machine executable instructions: in response to the focus control instruction, control the focus marker to move from the second element to the third element in the target area.
[0126] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the trigger operation of the first control or the first control combination acting on the game handle device, the graphical user interface is divided into multiple display areas, and the area identifiers corresponding to the display areas are displayed on the graphical user interface.
[0127] The processor in the above electronic device can implement the following operations of the interactive control method of the above game by executing machine executable instructions: determining a default selected area from multiple display areas, and associating a display area selection identifier with the default selected area.
[0128] The default selected area includes the display area where the first element is located, or the central area of multiple display areas.
[0129] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the joystick trigger operation acting on the game handle device, the control area selection mark is switched and displayed in multiple display areas; wherein, the display area where the area selection mark is located is the selected target area.
[0130] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: responding to the joystick offset operation acting on the game handle device, determining the offset direction; and switching the control area selection mark in multiple display areas along the offset direction.
[0131] The processor in the above electronic device can implement the following operations of the interactive control method of the above game by executing machine executable instructions: determine the adjacent area of the display area where the area selection marker is currently located along the offset direction, and move the area selection marker to the adjacent area.
[0132] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: responding to the joystick offset operation acting on the game handle device, determining that the offset amount of the joystick offset operation is greater than a preset offset threshold, and determining the offset direction; determining that the offset amount of the joystick offset operation is less than or equal to the preset offset threshold, and not responding to the joystick offset operation.
[0133] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: determining the first area where the first element is located from the display area; based on the relative position of the target area and the first area, determining the second element from the interface elements contained in the target area; and controlling the focus indicator to move to the second element.
[0134] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: obtaining a first direction of the target area relative to the first area; determining the area edge line of the target area in the first direction; and determining a second element from the interface elements contained in the target area that are closest to the area edge line.
[0135] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: if the interface element closest to the edge line of the area includes multiple interface elements with an overlapping relationship, obtain the display hierarchy of the multiple interface elements with an overlapping relationship, and determine the second element from the interface element with the highest display hierarchy.
[0136] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: if the interface elements with the highest display level include multiple ones, obtain the first element located in a preset direction from the multiple interface elements with the highest display level, and determine the first element as the second element.
[0137] The area edge lines in the above-mentioned first direction include two area edge lines; the processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: determining the main edge line and the auxiliary edge line from the two area edge lines; determining the interface element closest to the main edge line as the alternative element, and determining the second element from the alternative elements closest to the auxiliary edge line.
[0138] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: obtaining the directions of the two area edge lines, determining the main direction and the auxiliary direction from the directions of the two area edge lines; determining the area edge line located in the main direction as the main edge line; and determining the area edge line located in the auxiliary direction as the auxiliary edge line.
[0139] The processor in the electronic device can implement the following operations of the interactive control method of the game by executing machine-executable instructions: in response to a cancel instruction, the focus indicator is controlled to remain on the first element.
[0140] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to the focus control instruction, obtain the direction control information and distance control information corresponding to the focus control instruction; control the focus marker to move along the direction indicated by the direction control information until it moves the distance indicated by the distance control information; and determine the interface element where the focus marker is located after the move as the third element.
[0141] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: in response to a mode switching instruction, control the generation and display of a cursor marker in a graphical user interface; wherein the cursor marker is configured to: be movable to any position in the graphical user interface; in response to a movement control instruction, control the cursor marker to move in the graphical user interface; in response to the cursor marker moving to a second element, control the focus marker to move to the second element.
[0142] The processor in the above-mentioned electronic device can implement the following operations of the interactive control method of the above-mentioned game by executing machine-executable instructions: responding to the trigger operation of the second control or second control combination acting on the game handle device, controlling the generation and display of the cursor mark in the graphical user interface.
[0143] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method of the above game.
[0144] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: in response to the area division instruction, the graphical user interface is divided into multiple display areas, and the area identifiers corresponding to the display areas are displayed in the graphical user interface; in response to the area selection instruction, a target area is selected from the multiple display areas; wherein the target area contains at least one interface element; in response to the end control instruction corresponding to the area division instruction, the control focus identifier is moved to the second element, wherein the second element is the interface element in the target area.
[0145] In this method, the graphical user interface is divided into multiple display areas through area division instructions. The interface elements in the graphical user interface are divided into each display area. After selecting the target area in the display area, the focus marker can be controlled to jump directly from the current position to the interface element in the area, without the user having to move the focus marker one by one in the entire interface, effectively shortening the interaction path of the focus marker. In this method, when the user wants to select the target element, he only needs to select the display area where the target element is located to control the focus marker to jump to the interface element in the display area. The user only needs to move the focus marker in the target area to quickly select the target element. The operation is convenient and efficient, especially for target elements at extreme positions in the interface. The number of operations to move the focus marker is significantly reduced, improving interaction efficiency and user experience.
[0146] The machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: in response to the focus control instruction, control the focus marker to move from the second element to the third element in the target area.
[0147] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: in response to a trigger operation of the first control or the first control combination acting on the game controller device, the graphical user interface is divided into multiple display areas, and area identifiers corresponding to the display areas are displayed on the graphical user interface.
[0148] The machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: determining a default selected area from multiple display areas, and associating a display area selection identifier with the default selected area.
[0149] The default selected area includes the display area where the first element is located, or the central area of multiple display areas.
[0150] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: in response to the joystick trigger operation acting on the game controller device, the control area selection mark is switched to display in multiple display areas; wherein, the display area where the area selection mark is located is the selected target area.
[0151] The machine executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: responding to the joystick offset operation acting on the game controller device, determining the offset direction; and switching the control area selection mark in multiple display areas along the offset direction.
[0152] The machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: along the offset direction, determine the adjacent area of the display area where the area selection marker is currently located, and move the area selection marker to the adjacent area.
[0153] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: responding to the joystick offset operation acting on the game controller device, determining that the offset amount of the joystick offset operation is greater than a preset offset threshold, and determining the offset direction; determining that the offset amount of the joystick offset operation is less than or equal to the preset offset threshold, and not responding to the joystick offset operation.
[0154] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: determining the first area where the first element is located from the display area; based on the relative position of the target area and the first area, determining the second element from the interface elements contained in the target area; and controlling the focus marker to move to the second element.
[0155] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: obtaining a first direction of the target area relative to the first area; determining the area edge line of the target area in the first direction; and determining a second element from the interface elements contained in the target area that are closest to the area edge line.
[0156] The machine executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: if the interface element closest to the edge line of the area includes multiple interface elements with an overlapping relationship, obtain the display hierarchy of the multiple interface elements with an overlapping relationship, and determine the second element from the interface element with the highest display hierarchy.
[0157] The machine executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: if the interface elements with the highest display level include multiple ones, obtain the first element located in a preset direction from the multiple interface elements with the highest display level, and determine the first element as the second element.
[0158] The area edge lines in the above-mentioned first direction include two area edge lines; the machine executable instructions stored in the above-mentioned machine-readable storage medium can realize the following operations in the interactive control method of the above-mentioned game by executing the machine executable instructions: determining the main edge line and the auxiliary edge line from the two area edge lines; determining the interface element closest to the main edge line as the alternative element, and determining the second element from the alternative elements closest to the auxiliary edge line.
[0159] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: obtaining the directions of the two area edge lines, determining the main direction and the auxiliary direction from the directions of the two area edge lines; determining the area edge line located in the main direction as the main edge line; and determining the area edge line located in the auxiliary direction as the auxiliary edge line.
[0160] The machine executable instructions stored in the machine readable storage medium can implement the following operations in the interactive control method of the game by executing the machine executable instructions: in response to the cancel instruction, the focus indicator is controlled to remain on the first element.
[0161] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: in response to the focus control instruction, obtain the direction control information and distance control information corresponding to the focus control instruction; control the focus marker to move along the direction indicated by the direction control information until it moves the distance indicated by the distance control information; and determine the interface element where the focus marker is located after the move as the third element.
[0162] The machine-executable instructions stored in the above-mentioned machine-readable storage medium can implement the following operations in the interactive control method of the above-mentioned game by executing the machine-executable instructions: in response to a mode switching instruction, controlling the generation and display of a cursor identifier in a graphical user interface; wherein the cursor identifier is configured to: be movable to any position in the graphical user interface; in response to a movement control instruction, controlling the cursor identifier to move in the graphical user interface; in response to the cursor identifier moving to a second element, controlling the focus identifier to move to the second element.
[0163] The machine executable instructions stored in the above-mentioned machine-readable storage medium can be executed to implement the following operations in the interactive control method of the above-mentioned game: in response to the triggering operation of the second control or the second control combination acting on the game controller device, control the generation and display of the cursor mark in the graphical user interface.
[0164] The computer program products of the interactive game control methods, devices, and systems provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the previous method embodiments. For specific implementation, please refer to the method embodiments and will not be repeated here.
[0165] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0166] In addition, in the description of the embodiments of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.
[0167] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0168] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and therefore should not be construed as limitations on the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0169] Finally, it should be noted that the above embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for interactive control of a game, characterized in that: Providing a graphical user interface through a terminal device; the graphical user interface includes a plurality of interface elements, and a first element of the interface elements is associated with a focus indicator; The focus indicator is used to indicate that the first element is the currently selected interface element; the method includes: In response to the area division instruction, the graphical user interface is divided into a plurality of display areas, and area identifiers corresponding to the display areas are displayed on the graphical user interface; In response to the area selection instruction, a target area is selected from the multiple display areas; wherein the target area includes at least one interface element; In response to an end control instruction corresponding to the area division instruction, the focus marker is controlled to move to a second element, wherein the second element is an interface element in the target area.
2. The method according to claim 1, characterized in that After the step of controlling the focus marker to move to the second element in response to an end control instruction corresponding to the region division instruction, the method further includes: In response to a focus control instruction, the focus marker is controlled to move from the second element to a third element in the target area.
3. The method according to claim 1, characterized in that In response to the area division instruction, the step of dividing the graphical user interface into a plurality of display areas and displaying area identifiers corresponding to the display areas on the graphical user interface includes: In response to a triggering operation of a first control or a first control combination acting on the game handle device, the graphical user interface is divided into a plurality of display areas, and area identifiers corresponding to the display areas are displayed on the graphical user interface.
4. The method according to claim 1, wherein After the steps of dividing the graphical user interface into a plurality of display areas in response to the area division instruction and displaying area identifiers corresponding to the display areas on the graphical user interface, the method further includes: A default selected area is determined from the multiple display areas, and a display area selection identifier is associated with the default selected area.
5. The method according to claim 4, characterized in that The default selected area includes the display area where the first element is located, or the central area of the multiple display areas.
6. The method according to claim 1, characterized in that In response to the area selection instruction, the step of selecting a target area from the plurality of display areas includes: In response to a joystick triggering operation on the game controller device, the control area selection mark is switched and displayed in the multiple display areas; wherein the display area where the area selection mark is located is the selected target area.
7. The method according to claim 6, characterized in that In response to a joystick triggering operation on a game controller device, the step of controlling the area selection mark to switch display in the multiple display areas includes: In response to a joystick offset operation applied to the game controller device, determining an offset direction; The control area selection mark is switched and displayed in the multiple display areas along the offset direction.
8. The method according to claim 7, characterized in that The step of switching the display of the control area selection mark in the multiple display areas along the offset direction includes: Along the offset direction, an adjacent area of the display area where the area selection marker is currently located is determined, and the area selection marker is moved to the adjacent area.
9. The method according to claim 7, characterized in that The step of determining the offset direction in response to the joystick offset operation on the game controller device includes: In response to a joystick offset operation applied to the game controller device, determining that an offset amount of the joystick offset operation is greater than a preset offset threshold, and determining an offset direction; It is determined that the offset of the joystick offset operation is less than or equal to a preset offset threshold, and the joystick offset operation is not responded to.
10. The method according to claim 1, characterized in that The step of controlling the focus marker to move to the second element includes: determining a first area where the first element is located from the display area; Determining a second element from interface elements included in the target area based on a relative position between the target area and the first area; Control the focus marker to move to the second element.
11. The method according to claim 10, characterized in that The step of determining the second element from the interface elements contained in the target area based on the relative position of the target area and the first area includes: Acquire a first direction of the target area relative to the first area; determining a region edge line of the target region in the first direction; The second element is determined from interface elements contained in the target area and closest to the area edge line.
12. The method according to claim 11, characterized in that The step of determining the second element from the interface elements contained in the target area and closest to the area edge line includes: If the interface element closest to the region edge line includes multiple interface elements with an overlapping relationship, the display levels of the multiple interface elements with the overlapping relationship are obtained, and the second element is determined from the interface element with the highest display level.
13. The method according to claim 12, characterized in that The step of determining the second element from the interface elements with the highest display level includes: If there are multiple interface elements with the highest display level, the first element located in a preset direction is obtained from the multiple interface elements with the highest display level, and the first element is determined as the second element.
14. The method according to claim 11, characterized in that The region edge lines in the first direction include two region edge lines; The step of determining the second element from the interface elements contained in the target area and closest to the area edge line includes: determining a main edge line and an auxiliary edge line from the two region edge lines; The interface element closest to the main edge line is determined as a candidate element, and the second element is determined from the candidate elements closest to the auxiliary edge line.
15. The method according to claim 14, characterized in that The step of determining the main edge line and the auxiliary edge line from the two area edge lines includes: Obtaining the directions of the two area edge lines, and determining a main direction and an auxiliary direction from the directions of the two area edge lines; The region edge line located in the main direction is determined as the main edge line; and the region edge line located in the auxiliary direction is determined as the auxiliary edge line.
16. The method according to claim 1, wherein Before the step of selecting a target area from the plurality of display areas in response to the area selection instruction, the method further includes: In response to a cancel instruction, the focus indicator is controlled to remain on the first element.
17. The method according to claim 2, characterized in that In response to a focus control instruction, the step of controlling the focus marker to move from the second element to a third element in the target area includes: In response to a focus control instruction, acquiring direction control information and distance control information corresponding to the focus control instruction; Controlling the focus marker to move along the direction indicated by the direction control information until it moves a distance indicated by the distance control information; The interface element where the moved focus marker is located is determined as the third element.
18. The method according to claim 1, wherein The method further comprises: In response to a mode switching instruction, controlling the generation and display of a cursor mark in the graphical user interface; wherein the cursor mark is configured to be movable to any position in the graphical user interface; In response to a movement control instruction, controlling the cursor marker to move on the graphical user interface; In response to the cursor marker moving to the second element, the focus marker is controlled to move to the second element.
19. The method according to claim 18, characterized in that In response to the mode switching instruction, the step of controlling the generation and display of a cursor mark in the graphical user interface includes: In response to a triggering operation on a second control or a second control combination of the game handle device, control is performed to generate and display a cursor mark in the graphical user interface.
20. An interactive control device for a game, characterized in that: Providing a graphical user interface through a terminal device; the graphical user interface includes a plurality of interface elements, and a first element of the interface elements is associated with a focus indicator; The focus indicator is used to indicate that the first element is a currently selected interface element; the device includes: a first display module, configured to divide the graphical user interface into a plurality of display areas in response to an area division instruction, and display area identifiers corresponding to the display areas on the graphical user interface; A first selection module, configured to select a target area from the plurality of display areas in response to an area selection instruction; wherein the target area includes at least one interface element; The first moving module is configured to control the focus marker to move to a second element in response to an end control instruction corresponding to the area division instruction, wherein the second element is an interface element in the target area.
21. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the interactive control method of the game according to any one of claims 1 to 19.
22. A machine-readable storage medium, characterized in that The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the interactive control method of the game according to any one of claims 1 to 19.