Dynamic thermal zone touch method and apparatus, device, medium

CN120891966BActive Publication Date: 2026-09-08GUANGZHOU KULUO SHUJIE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511020020.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-23
Publication Date
2026-09-08
Estimated Expiration
2045-07-23

AI Technical Summary

Technical Problem

[0003]然而,随着移动设备屏幕尺寸的不断增大,特别是大屏、全面屏乃至折叠屏设备的普及,上述固定式布局逐渐暴露出明显的体验缺陷

Benefits of technology

[0010]本申请通过响应玩家触发的第一触控操作,对操作热区的热区控件进行扩大,再将拖动操作映射至非操作热区的配置选项上,根据触控释放事件完成配置切换并复位热区控件,有效解决了传统操作机制在手机或平板电脑等移动设备上的操作便捷度以及操作体验的不足,取得多方面有益效果,包括但不限于:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120891966B_ABST
    Figure CN120891966B_ABST
Patent Text Reader

Abstract

The application relates to a dynamic hot area touch control method and device, equipment and a medium. The method comprises the following steps: in response to a first touch control operation on a hot area control in a game interface, triggering a touch control operation event according to the first touch control operation; based on the touch control operation event, expanding the hot area control from a control initial area to a mapped touch control area of the game interface; in response to a dragging operation on the mapped touch control area, mapping a first displacement of the dragging operation to a second displacement of a non-operation hot area, and anchoring a corresponding configuration option in the non-operation hot area according to the second displacement; in response to a touch release event corresponding to the first touch control operation, configuring a game resource based on the currently anchored configuration option, and reducing the hot area control from the mapped touch control area to the control initial area. The application provides an efficient operation mapping mechanism, and improves the operation convenience and interactive experience of the game.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a dynamic hot zone touch method, apparatus, device, and medium thereof. Background Technology

[0002] In mobile gaming, touchscreen operation has always been the core way for players to interact with the virtual world. Current technologies generally employ a fixed-mapped virtual button layout. The main operation buttons for character movement or attack interactions are typically located in the lower half of the screen near the left and right edges, while relatively low-frequency interaction areas such as view control occupy the center of the screen. In other words, current touchscreen operation relies on finger displacement on the screen surface, converting touch events into game commands by detecting the matching relationship between touch coordinates and preset button areas. Therefore, for portable devices like smartphones or tablets, screen size and handholding posture dictate that users can only complete most operations with their thumb or index finger. Thus, traditional solutions concentrate operation points in the central area to provide a balanced touch range for both hands when operating symmetrically.

[0003] However, with the continuous increase in mobile device screen size, especially the widespread adoption of large-screen, full-screen, and even foldable screen devices, the aforementioned fixed layout has gradually revealed significant user experience defects. Because the center of the screen is far from the edge of the grip, players need to extend their thumb considerably to reach the central touch point during touch operation, significantly lengthening the finger movement path. During extended gaming sessions, this excessively large movement leads to continuous tension in the hand muscles, causing fatigue and reducing operational accuracy. For widescreen devices, the horizontal screen size further exacerbates this problem; when operating with one hand, the thumb may not even naturally cover the central area, requiring adjustments to the grip or assistance from the other hand, disrupting the original smooth operating rhythm. Furthermore, when using large-screen devices outdoors or in mobile environments, the increased weight and size reduce grip stability, and frequent, large finger movements are more likely to cause device shaking, further deteriorating touch accuracy. Summary of the Invention

[0004] The purpose of this application is to solve the above-mentioned problems by providing a dynamic hot zone touch method and corresponding apparatus, devices, non-volatile readable storage media, and computer program products.

[0005] According to one aspect of this application, a dynamic hot zone touch method is provided, comprising: In response to a first touch operation applied to a hotspot control in the game interface, a touch operation event is triggered based on the first touch operation, wherein the hotspot control is mapped to a non-operational hotspot in the game interface, and the first touch operation is a specific touch operation performed by the player on the hotspot control in a touchable state; Based on the touch operation event, the hot zone control is expanded from the initial area of ​​the control to the mapped touch area of ​​the game interface; In response to a drag operation applied to the mapped touch area, the first displacement of the drag operation is mapped to a second displacement of the non-operational hotspot, and the corresponding configuration option in the non-operational hotspot is anchored according to the second displacement. In response to the touch release event corresponding to the first touch operation, the game resource configuration is performed based on the currently anchored configuration option, and the hot zone control is shrunk from the mapped touch area to the initial area of ​​the control.

[0006] According to another aspect of this application, a dynamic hot zone touch device is provided, comprising: The touch response module is configured to respond to a first touch operation applied to a hot zone control in the game interface, and trigger a touch operation event based on the first touch operation. The hot zone control is mapped to a non-operational hot zone in the game interface, and the first touch operation is a specific touch operation performed by the player on the hot zone control in a touchable state. The control extension module is configured to expand the hot zone control from the initial control area to the mapped touch area of ​​the game interface based on the touch operation event; The touch mapping module is configured to respond to a drag operation applied to the mapped touch area, map a first displacement amount of the drag operation to a second displacement amount of the non-operational hot zone, and anchor the corresponding configuration option in the non-operational hot zone according to the second displacement amount. The resource configuration module is configured to respond to the touch release event corresponding to the first touch operation, configure game resources based on the currently anchored configuration options, and shrink the hot zone control from the mapped touch area to the initial area of ​​the control.

[0007] According to another aspect of this application, a dynamic hot zone touch device is provided, including a central processing unit and a memory, wherein the central processing unit is used to invoke and run a computer program stored in the memory to perform the steps of the method described in this application.

[0008] According to another aspect of this application, a non-volatile readable storage medium is provided, which stores a computer program implemented according to the dynamic hot zone touch method in the form of computer-readable instructions, wherein the computer program, when invoked by a computer, executes the steps included in the method.

[0009] According to another aspect of this application, a computer program product is provided, comprising a computer program / instructions that, when executed by a processor, implement the steps of the method.

[0010] This application expands the hotspot controls of the operation area in response to the player's first touch operation, then maps the drag operation to the configuration options of the non-operation hotspot. Based on the touch release event, it completes the configuration switching and resets the hotspot controls. This effectively solves the shortcomings of traditional operation mechanisms in terms of ease of use and user experience on mobile devices such as smartphones or tablets, achieving several beneficial effects, including but not limited to: The technical solution of this application establishes a real-time mapping relationship between the hot zone control located in the operation hot zone and the configuration options in the non-operation hot zone. It can trigger a touch operation event after the player long presses the hot zone control, so that the hot zone control is proportionally enlarged to the mapped touch area in the game interface. This allows the non-operation hot zone corresponding to the configuration option to be folded into the sliding range accessible to the thumb based on the drag operation acting on the mapped touch area. Subsequently, the displacement of the drag operation is linearly mapped to the displacement of the non-operation hot zone. When the touch release event is triggered, the resource data of the configuration option can be updated. The entire process is completed in a closed loop within a single gesture.

[0011] Therefore, this application simplifies the clicking operation that originally required traversing a long screen distance into a short-range swipe operation of the thumb within the enlarged hot zone control. This significantly reduces the finger extension range for players during gameplay on mobile devices, minimizes the need to adjust their grip posture, and directly alleviates operational fatigue and decreased precision caused by the increased screen size. Furthermore, this application provides clear trigger conditions for the equipment switching mechanism corresponding to the configuration options through a linkage mechanism of control expansion and displacement mapping. This allows players to dynamically select the equipment corresponding to the configuration options based on the real-time state of the hot zone control, enhancing their immediate control over the combat rhythm, regardless of their grip posture. At the same time, the enlarged hot zone control makes it more visually prominent, and the increased touchable area improves the margin for error, allowing players to quickly switch equipment without interrupting their combat focus, thus improving operational continuity and game smoothness.

[0012] Finally, the technical solution of this application can transform the inherent disadvantage of touch distance on large-screen devices into a more operable mapped operation space through a low-learning-cost interaction mode of long press-drag-release. This allows players to complete richer game resource configurations using a shorter path while maintaining the original grip stability, making game operation more user-friendly and convenient, ensuring the smoothness of the player's experience with the current gameplay, and thus significantly improving the overall quality and market competitiveness of the game. Attached Figure Description

[0013] Figure 1 This application provides an exemplary network architecture; Figure 2This is a schematic diagram of a game interface representing an embodiment of the dynamic hot zone touch method of this application; Figure 3 This is a flowchart illustrating one embodiment of the dynamic hot zone touch method of this application; Figure 4 This is a schematic block diagram of the dynamic hot zone touch device of this application; Figure 5 This is a schematic diagram of the structure of a dynamic hot zone touch device used in this application. Detailed Implementation

[0014] The technical solution of this application can be deployed in various network architectures. Figure 1 An exemplary network architecture is illustrated. In this architecture, a game server 81 is connected to multiple player terminals 80 via a network. These terminals are equipped with computer program products implementing the dynamic hotspot touch method according to this application. When these computer program products are run, they are responsible for handling various events and interactions in the game in real time. The game server 81 is responsible for receiving operation events triggered by player terminal devices, including operation instructions corresponding to touch screen operations such as clicks, long presses, or drags triggered by players on mobile devices, as well as other data transmitted by player terminal devices. Player terminals 80 communicate with the game server via the network, receiving game status information and sending player operation instructions.

[0015] The technical solution of this application can be deployed in common mobile game network architectures: the game server maintains real-time data interaction with multiple mobile terminals (hereinafter referred to as terminals) through the network. In this application, "mobile terminal" and "terminal device" can refer to the same device, and no further distinction or limitation is made here. The server is responsible for calculating and distributing data parameters such as configuration option index mapping, control extended animation parameters, and gyroscope sampling thresholds. The terminal side completes tasks such as touch event capture, control visual transformation, and local state synchronization based on the corresponding data parameters, thereby ensuring a low-latency mapping experience. In terms of application scenarios, this solution is particularly suitable for role-playing games running on mobile terminals such as mobile phones or tablets. It can also be applied to various types of games such as action shooting and strategy tower defense games. When the game's main interface needs to place selectable configuration options such as equipment bars, skill bars, or item bars at a remote, easily operable position on the screen, but the player's grip area and touchable area are limited, the dynamic hot zone touch mechanism provided in this application can be used to fold the selection logic of the remote configuration option bar to the operating hot zone that the thumb can naturally reach, realizing the interaction mode of "short-distance swipe control of long-distance points".

[0016] In this application, the mobile terminal and the game server are coupled in real time through a bidirectional data channel, forming a complete mapping link from the player's fingertip to the remote equipment bar. The terminal side continuously monitors the first touch operation of the hot zone control. Once a continuous press operation on the screen of the current terminal device is detected to reach a time threshold, the touch operation event along with the current screen coordinates is immediately sent to the server. After receiving the touch operation event, the server side performs real-time conversion between the magnification ratio of the hot zone control, the drag operation displacement, and the index range of the non-operational hot zone, and sends the conversion result back to the terminal. The terminal then synchronously magnifies the control and updates the highlight of the index option, triggering a touch release event the moment the finger is lifted. This application can also control the smooth scaling and reset of the hot zone control, and can also reclaim the interface style resources of specific interface components when the hot zone control is expanded and reload specific interface components after the index option is selected, ensuring that memory usage and visual interference are minimized. At the same time, the gyroscope sampling function of the terminal device can be enabled in parallel in the expanded state, converting the device rotation amount into index increments based on pre-stored positive and negative angular velocity thresholds, and it can share the same index update channel with the drag mapping. The server-side state synchronization pool continuously stores the configuration option selection status of each player to determine the game resources corresponding to the player's currently selected configuration option. This ensures the restoration of game resources during game disconnection and reconnection or scene switching. Simultaneously, this modular collaboration between the terminal and the server enables closed-loop operations such as long press, drag, and release to be completed with extremely low latency on any large-screen mobile terminal, providing a unified and scalable underlying framework for subsequent implementations.

[0017] Please see Figure 2 , Figure 2 This is a schematic diagram of a game interface representing an embodiment of the dynamic hot zone touch method of this application. Figure 2 The game interface shown contains multiple configuration options arranged horizontally at the bottom. The area shared by all configuration options can be designated as a non-operational hotspot. The currently selected configuration option can be made more prominent in the game interface by changing its animation effects. A capsule-shaped control is located in the upper right corner of the overall configuration option area. This capsule can be configured as the hotspot control described in this application. The location of this hotspot control is part of the operation hotspot, and dragging operations on this hotspot control can be mapped to configuration options in the non-operational hotspot.

[0018] like Figure 2As shown in the figure, the hot zone control is in a state where it has been expanded to the mapped touch area of ​​the game interface. The hot zone control currently contains a circular mapping marker, which is positioned slightly to the left of the center in the horizontal direction of the entire hot zone control area. At this time, the configuration option mapped to this marker in the non-operational hot zone is also positioned slightly to the left of the center in the horizontal direction of the non-operational hot zone. Furthermore, this configuration option is surrounded by a thickened circular line and has a triangle icon in its upper right corner. This enables dragging operations on the hot zone control, mapping various configuration options on the non-operational hot zone. By prominently displaying the currently selected configuration option, this application can transform the inherent touch distance disadvantage of mobile terminal devices, especially large-screen devices, into a more operable mapped operation space. This allows players to complete richer configuration resource selection and switching operations using a shorter path while maintaining the original grip stability, making game operation more user-friendly and convenient.

[0019] Please see Figure 3 The dynamic hot zone touch method of this application, in some embodiments, includes the following steps: Step S3100: Respond to the first touch operation applied to the hot zone control in the game interface, and trigger a touch operation event according to the first touch operation, wherein the hot zone control is mapped to the non-operational hot zone in the game interface, and the first touch operation is a specific touch operation performed by the player on the hot zone control in the touchable state; In the game interface of mobile terminal devices, specific game icon components are usually used as the carriers for players to interact with game content. Different game icon components have different functions. For example, in the control settings of a typical role-playing game on a mobile terminal device, the lower left corner of the game interface is usually set as a joystick component to control the movement of the character, while the lower right corner of the game interface is set as multiple different operation components to provide richer character interaction components. This is to accommodate players who use their left thumb to control the left joystick and their right thumb to touch other character interaction components during the game experience. This is the basis for the game interaction method on mobile terminal devices.

[0020] In this embodiment, the game interface area that a player with a normal hand size can easily click with their thumbs while holding the mobile device without changing their grip is defined as the operation hot zone. Game interface areas that require the player to change their grip or that require a large extension of the thumb to reach are defined as non-operation hot zones. This application defines the scope of the game interface area based on the cross-shaped dividing lines of the game interface. The four areas—upper left, lower left, upper right, and lower right—are the same size and together form the complete game interface area. The hot zone control is one or more capsule-shaped or other interactive components that are permanently located in the lower right interactive area of ​​the game interface. It can also be placed in the lower left corner or other easily accessible locations, such as the upper left or upper right corner, and in some cases, it can be a mapping of an external physical button on the terminal device. Hotspot controls are generated by the terminal rendering engine when the interface loads. Their width and height are adaptive according to the screen ratio. The surface can be covered with a semi-transparent mask or icon texture to indicate interactivity. The hotspot control holds a status flag, which is initially set to "touchable". At this time, touch operation events falling in the area can be captured by the game terminal and sent to the game server.

[0021] In this embodiment, the non-operational hot zone refers to the area located at the top, middle, or bottom of the screen, far from the natural reach of the thumb. This area is typically used to display game options that require precise clicking to respond, such as equipment bars containing multiple items or skill bars containing multiple skills. These game options can be displayed as multiple configuration options in the game interface, and the hot zone control can act as a mapping control for these game options located in the non-operational hot zone. For example, if an equipment bar component is arranged horizontally around the center at the bottom of the game interface, it is difficult for the player to touch the corresponding interface area when holding the mobile device normally. In this case, the game control can act as the corresponding mapping control for the equipment bar component to control the selection of equipment within it. The first touch operation can be a continuous action of the player pressing the control with their thumb and holding it down, or it can be considered as a valid continuous touch operation on the device screen. The terminal continuously receives long-press touch information through the touch feedback provided by the operating system. If the continuous sampling results are all within the control boundary and the duration exceeds an internally set threshold (e.g., the long press time exceeds 0.5 seconds), it is considered a valid first touch operation.

[0022] In one implementation, the first touch operation can also be set as multiple clicks performed by the player on the hot zone control within a preset time range.

[0023] In one implementation, the first touch operation can also be a specific swipe operation performed by the player within the control area of ​​the hot zone control. For example, the player first presses and holds the hot zone control, and then swipes their finger in any direction. At this time, different swipe directions can trigger the mapping of configuration options in different areas, thereby providing the player with a more convenient operating experience in situations where more configuration options need to be set.

[0024] Touch operation events are internal messages generated by the terminal immediately after confirming the first touch operation. The content can include the event type, starting coordinates, and timestamp, and is distributed to the animation module and the logic module. Based on this, the animation module enlarges the hotspot control horizontally by a preset ratio within a fixed number of frames. The enlarged area remains in the operation hotspot in the lower right corner of the screen, and the height can be set to remain unchanged. The texture is scaled synchronously. When the event is triggered, the logic module sets the status flag to "locked" to prevent subsequent touch events from entering until the gesture ends.

[0025] In one implementation, after a touch operation event occurs, the terminal establishes an index mapping table in memory, evenly dividing the horizontal pixel range of the magnified hotspot control into several logical segments. Each segment corresponds to a configuration option in the non-operational hotspot, realizing the near-end mapping of the far-end position. Throughout the process, the terminal only needs one long press operation to fold the far-end interaction into the thumb-controllable range, completing the sliding of the near-end hotspot control, and the configuration option of the far-end non-operational hotspot responds to the selection loop of the sliding.

[0026] Step S3200: Based on the touch operation event, expand the hot zone control from the initial area of ​​the control to the mapped touch area of ​​the game interface; Upon confirming the first touch operation, the terminal immediately responds to the touch event and adjusts the visual appearance of the hotspot control, i.e., the touch logic. It scales the hotspot control horizontally proportionally using a preset animation frame rate and duration. The scaling ratio can be pre-calculated based on the number of resources configured in the non-operational hotspot area, ensuring that the width of the scaled-up hotspot control covers enough logic segments for accurate mapping. During scaling, the height of the hotspot control remains constant to maintain operational comfort; simultaneously, the texture of the hotspot control is scaled to ensure visual continuity. The scaled-up hotspot control remains within the operational hotspot area, and its geometric center can be set to maintain the initial position or adapted to different terminal device screen sizes, ensuring consistent thumb operation for the player.

[0027] The initial area of ​​the control is the area occupied by the animation effect of the hotspot control in the game screen after the game interface has loaded. It also corresponds to the response area range of the hotspot control to the first touch operation. The mapped touch area is pre-configured by the terminal. After responding to a touch operation event, the hotspot control needs to be enlarged accordingly. Finally, when the hotspot control is fully enlarged, it occupies the area in the game screen. It also corresponds to the range that the hotspot control can respond to drag operations after the enlargement. When a touch operation event is triggered, the terminal switches the status flag of the hotspot control from "touchable" to "locked" to prevent new touch events from interfering during the animation playback until the player completes the subsequent drag operation or the gesture ends. The entire expansion process of the hotspot control is completed in a short time, and with the corresponding smooth transition animation, it provides players with a smooth visual and operational experience. This makes it easier to select configuration options for elements such as the equipment bar that were originally located in non-operational hotspots through the enlarged hotspot control.

[0028] Step S3300: In response to a drag operation applied to the mapped touch area, the first displacement amount of the drag operation is mapped to a second displacement amount of the non-operational hot zone, and the corresponding configuration option in the non-operational hot zone is anchored according to the second displacement amount. In this embodiment, after the hot zone control is expanded and the status flag is locked, the terminal enters the drag operation monitoring phase. At this time, the touch engine continuously captures the horizontal drag coordinates of the player's thumb on the enlarged hot zone control at a preset sampling frequency, ignoring minor vertical jitter and focusing only on horizontal displacement. The first displacement is obtained by subtracting the previous horizontal coordinate from the current one. Based on the index mapping table established after the touch operation event, the first displacement is proportionally converted into a second displacement of the configuration option in the non-operational hot zone, thus anchoring the configuration option in the non-operational hot zone. The index mapping table evenly divides the horizontal pixel range of the enlarged hot zone control into several logical segments, each corresponding to a configuration option in the equipment bar. The mapping relationship between the displacement and the logical segment is linear. For example, if the first displacement is 1 / 8 of the width of the hot zone control, it is mapped to an option offset one point to the left or right, the specific direction depending on the horizontal displacement direction of the drag coordinates on the hot zone control.

[0029] During the player's continuous thumb dragging, the corresponding dragging operation continuously updates the current index. The animation effects of the configuration options in the non-operational hotspot are updated in real time based on the updated index, such as enlarging and highlighting the icon of the currently anchored configuration option. When a configuration option is not anchored by the current dragging operation, the animation display remains in its default state, providing the player with immediate visual feedback and ensuring they can clearly see the currently selected point. Therefore, if the player selects a corresponding configuration option in the non-operational hotspot through dragging the hotspot control, and their finger finally leaves the screen, the press operation on the mapped touch area corresponding to the hotspot control is detected as finished. At this point, the last anchored index option is locked as the player's final selection, and the hotspot control's status flag is restored to "touchable" to prepare for the next touch operation. This response process provides players with an efficient and intuitive operating experience through smooth visual effects and immediate response, allowing players to easily select configuration options in non-operational hotspots.

[0030] Step S3400: Respond to the touch release event corresponding to the first touch operation, configure game resources based on the currently anchored configuration options, and shrink the hot zone control from the mapped touch area to the initial area of ​​the control.

[0031] After the dragging operation ends, which might correspond to the player lifting their finger from the screen, the terminal device immediately enters the touch release event receiving phase. At this time, the touch engine detects that the touch operation currently applied to the hot zone control has ended and generates a touch release event. This touch release event contains the index information corresponding to the last anchored index option. The terminal can then use this index information to lock the corresponding configuration option as the final configuration selection result. Subsequently, the terminal performs a configuration switching operation on the game based on the final configuration selection result. This could be switching the player character's current equipment or skills to the equipment or skills corresponding to the final selected configuration option, updating the character's equipment status or skill slots, etc., during this process. It could also be switching the background of the game scene or switching certain game elements within the game scene. Specific settings can be configured for various game resources that require convenient switching.

[0032] Furthermore, the terminal sends the updated character status data to the game server for synchronization. After verifying the data's validity, the server stores it in the character status database to ensure consistency across multiple devices and sends a confirmation message back to the terminal. Upon receiving confirmation, the terminal immediately updates the game interface, refreshing the display of the equipment or skill bars corresponding to the configuration options. Newly selected equipment or skills can be highlighted, while other configuration options remain at their default settings. Specific settings also allow for corresponding adjustments to equipment switching animations or skill activation effects to enhance the player's visual experience.

[0033] At the same time, the terminal ends the expansion behavior of the hot zone control, restores the animation effect and touchable area of ​​the hot zone control from the mapped touch area to the initial area of ​​the control, and adjusts the texture back to its original state to prevent the hot zone control from obscuring the current game interface when it is not responding. The terminal also switches the status flag of the hot zone control from locked back to touchable, preparing for the next touch operation on the hot zone control.

[0034] As can be seen from the above embodiments, by mapping and controlling the corresponding configuration options such as the equipment bar or skill bar located in the non-operational hot zone through the hot zone control located in the operation hot zone, this application allows the player's thumb to always stay within the natural grip range to complete the continuous action of "long press-drag-release". At the same time, it can also conveniently control the screen area that is not easy to touch. Through the first touch operation, the long press trigger mechanism of the hot zone control can bring the interaction needs of the remote end to the thumb landing point. The horizontal sliding area of ​​the hot zone control after the touch operation event is magnified can compress all the points of the equipment bar into the controllable pixel range. The linear mapping accurately converts the sliding distance of the player's finger into the option index, and the touch release event triggered when the player lifts his finger ensures that the configuration option switching takes effect immediately. Since the entire process does not require the thumb to cross the center of the screen or change the grip posture, this application significantly shortens the operation path of gamers on mobile terminal devices, reduces fatigue and accidental touches caused by large-screen devices, and improves the smoothness of the game process. At the same time, the smooth transition animation and real-time highlight feedback maintain the continuity of vision and touch, enabling players to seamlessly switch equipment or skills in battle, further enhancing the overall experience of playing games on mobile terminal devices.

[0035] Based on any embodiment of the method in this application, in response to a first touch operation applied to a hotspot control in the game interface, a touch operation event is triggered according to the first touch operation, wherein the hotspot control is mapped to a non-operational hotspot in the game interface, and the first touch operation is a specific touch operation performed by the player on the hotspot control in a touchable state, including: Step S3110: Monitor the continuous pressing operation of the touch part corresponding to the hot zone control of the terminal device, and determine whether the continuous pressing operation has reached a preset time threshold. In this embodiment, for hotspot controls in the game interface, their touch area can be set as a rectangular bounding box that completely covers the hotspot control. This rectangular bounding box defines the touchable range of the hotspot control. In actual settings, the shape of the bounding box can be adjusted according to the shape of the hotspot control and actual needs. Its specific geometry is unrestricted as long as it ensures coverage of the hotspot control. When the player's thumb long-presses the hotspot control, the long-press position on the terminal device is exactly within the touchable range of the hotspot space in the game interface, i.e., within the rectangular bounding box. At this point, it is considered that the player has successfully performed the first touch operation on the hotspot control, and the terminal continuously monitors the touch behavior through the touch event stream provided by the operating system. The terminal records the coordinates of the corresponding touch point and determines whether these coordinates are always within the bounding box. If the touch point does not move out of the bounding box during continuous sampling, the terminal starts a timer and accumulates the time from zero. When the accumulated value of the timer reaches a preset time threshold, the terminal determines that the continuous press operation is valid, thereby triggering a touch operation event.

[0036] In one implementation, a time threshold can be used to distinguish between valid and invalid presses. This threshold can be dynamically adjusted according to game design requirements. For example, for operations requiring a quick response, the threshold can be set lower; while for operations requiring more time for confirmation, the threshold can be set higher. Specifically, the time threshold can be set to 0.5 seconds to ensure that players have enough time to perform the press operation while preventing accidental presses.

[0037] In another implementation, the time threshold can be adjusted according to player preferences. For example, players can actively set the time threshold to suit more personalized operational needs. Furthermore, the time threshold can also be dynamically updated via the server to adapt to changes in game versions or player feedback.

[0038] In addition to time thresholds, the device can also monitor continuous pressing operations in various ways. For example, the device can monitor changes in touch pressure. If the pressure remains above a certain threshold for a certain period of time, it can also be determined as a valid continuous pressing operation. This method can provide players with a more intuitive operating experience and also increase the flexibility of operation.

[0039] Step S3120: When the continuous pressing operation applied to the hot zone control reaches the time threshold, a corresponding touch operation event is generated to lock the touchable state of the hot zone control.

[0040] In this embodiment, when the terminal detects that the player's thumb is long-pressing within the touchable boundary of the hotspot control, it starts a timer and begins to accumulate the time. Once the accumulated value of the timer reaches or exceeds a preset time threshold, the terminal determines that the continuous press operation is valid and triggers a touch operation event. Simultaneously with generating the touch operation event, the terminal locks the touchable state of the hotspot control. Therefore, during the touch operation event processing, the hotspot control will no longer respond to new touch events to prevent accidental player actions from interfering with the current extended process. For example, if a player long-presses the hotspot control with their right thumb for more than the preset threshold on a tablet with a large screen, and another finger happens to touch the touchable area of ​​the hotspot control, no further touch operation response event will be triggered.

[0041] The aforementioned locking mechanism ensures that once a player's press touch operation is confirmed as valid, the extended animation and related logic of the hotspot control can execute normally and smoothly until the player completes subsequent dragging operations or the gesture ends, preventing abnormal situations in the hotspot control caused by accidental touches. Once the touchable state is locked, it will remain so until the touch operation event is processed, at which point the touchable state of the hotspot control can be unlocked, allowing it to return to its initial touchable state.

[0042] Through the above implementation, the terminal can accurately monitor and determine the validity of the operation when the player performs a continuous press operation on the hot zone control, thereby triggering a touch operation event and locking the touchable state of the control. This significantly improves the accuracy and stability of the operation, ensuring that the hot zone control will not produce abnormal states due to accidental touches during the extended event processing, and guaranteeing the normal execution of the extended animation and related logic. At the same time, by locking the touchable state, the mapping process is prevented from being interrupted by interference caused by multi-finger touch or accidental operation during the operation, ensuring that the player's drag operation path corresponds to the configuration options, enhancing the continuity and smoothness of the operation. In addition, the above implementation also provides players with an intuitive and consistent operating experience, allowing players to trigger control extensions through simple long press operations without leaving the touch of the hot zone control, thereby achieving convenient control of non-operational hot zone elements, significantly improving operating efficiency and user experience.

[0043] Based on any embodiment of the method in this application, and based on the touch operation event, the hot zone control is expanded from the initial area of ​​the control to the mapped touch area of ​​the game interface, including: Step S3210: In response to the touch operation event, enlarge the hot zone control to the operation hot zone of the game interface, and update the state of the hot zone control to the control expansion state; In this embodiment, after responding to a touch operation event, the terminal performs a zoom-in operation on the hotspot control, adjusting it from its initial size to a size easily manipulated by the player within the game interface's operating hotspot. When a touch operation event is triggered, the terminal initiates a zoom-in animation of the hotspot control along the horizontal direction according to preset animation parameters such as frame rate and duration, ensuring that the hotspot control has sufficient space within the operating hotspot for subsequent dragging operations by the player. The width of the zoomed-in hotspot control adaptively adjusts according to the size of the operating hotspot, while the height remains unchanged to maintain operational comfort. Simultaneously, the texture of the hotspot control scales synchronously to ensure visual continuity and consistency.

[0044] During the zoom-in process, the terminal will synchronously update the status flag of the hot zone control, so that the status flag switches from the touchable state to the control extended state. This ensures that the interaction logic of the hot zone control matches the operation logic after the control is extended. Thus, in the control extended state, players can map the configuration options of non-operational hot zones by dragging horizontally on the hot zone control.

[0045] Step S3220: Update the visual appearance of the hot zone control in the game interface, and simultaneously increase the touchable area of ​​the hot zone control in the game interface.

[0046] After the terminal performs the hot zone control magnification operation, it further updates the visual effect of the hot zone control in the game interface and simultaneously increases its touchable area to ensure that players can see the changes of the hot zone control more intuitively within the operation hot zone and can perform subsequent drag operations more conveniently.

[0047] In this embodiment, after the hotspot control is zoomed in to the operating hotspot, the terminal redraws the visual elements of the hotspot control, including adjusting the background color, border style, and icon size, to ensure that it remains clear and easily recognizable even when zoomed in. For example, if the hotspot control is initially a semi-transparent capsule shape, it can be made more eye-catching after zooming in, and the background color can be correspondingly deepened or made more vibrant to stand out in the game interface.

[0048] Simultaneously, the terminal will increase the touchable area of ​​the hotspot controls. This increase is based on the actual size of the enlarged hotspot controls, ensuring the player's thumb can more easily operate on them. The terminal updates the rectangular bounding box of the hotspot controls to cover the entire enlarged area, allowing the player's finger to fall more naturally within the touchable area when dragging horizontally, thus achieving precise mapping of non-operational hotspot configuration options.

[0049] The above embodiments not only visually enlarge the hotspot controls but also ensure their functionality and interactivity within the operating hotspot. By simultaneously increasing the touchable area, the terminal ensures that players can perform drag operations more smoothly within the operating hotspot, reducing the possibility of misoperations and improving the accuracy and efficiency of operations. At the same time, the updated visual effects provide players with more intuitive feedback, allowing them to better understand the current operating status and further enhancing the game's interactivity and immersion.

[0050] Based on any embodiment of the method in this application, in response to a drag operation applied to the mapped touch area, a first displacement of the drag operation is mapped to a second displacement of the non-operating hotspot, and a corresponding configuration option in the non-operating hotspot is anchored according to the second displacement, including: Step S3310: When the hot zone control expands to the mapped touch area of ​​the game interface, continuously monitor the horizontal movement coordinates corresponding to the drag operation performed on the mapped identifier on the hot zone control, wherein the mapped identifier is a movable identifier within the range of the hot zone control, and the coordinates of the mapped identifier in the hot zone control correspond to the coordinates of multiple configuration options of the non-operational hot zone. Once the hotspot control expands on the game interface, the terminal continuously monitors the horizontal movement coordinates of the mapping marker on the hotspot control. The mapping marker is a movable marker within the hotspot control; it can be set as a dot-shaped marker or a texture. Its position in the hotspot control's coordinate system corresponds to the coordinates of multiple configuration options in the non-operational hotspot, ensuring that the player can accurately map horizontal dragging operations on the hotspot control to configuration options in the non-operational hotspot. After the hotspot control expands, the terminal activates a touch event listener specifically for monitoring touch events on the hotspot control. When the player's thumb drags horizontally on the hotspot control, the terminal captures the coordinates of the touch point in real time and maps them to the coordinate system of the hotspot control. The coordinate system of the hotspot control has already established a preset correspondence with the coordinates of the configuration options in the non-operational hotspot during expansion. This correspondence is achieved through an index mapping table, which evenly divides the horizontal pixel range of the hotspot control into several logical segments, each segment corresponding to a configuration option.

[0051] As the mapped marker within the touchable area of ​​the hot zone control is dragged, the terminal continuously calculates the horizontal coordinates of the touch point and converts them into the corresponding logical segment index. For example, if the horizontal pixel range of the hot zone control is divided into 8 logical segments, each corresponding to a configuration option, when the player's thumb drags from the left end to the right end of the hot zone control, the terminal calculates the logical segment index of the current touch point based on its horizontal coordinates and updates the position of the mapped marker in real time. The change in the position of the mapped marker is synchronously reflected in the configuration options of the non-operational hot zone, highlighting or using other visual effects to indicate the currently selected point to the player.

[0052] Step S3320: Map the first displacement corresponding to the horizontal movement coordinate to the second displacement corresponding to the non-operation hot zone in real time according to a preset ratio, determine that the configuration option currently mapped by the mapping identifier is an index option, and update the visual effect of the index option in real time.

[0053] When a player drags horizontally across a hotspot control within the game interface area of ​​a terminal device, the terminal calculates the initial displacement of the touch point in real time. This initial displacement is calculated based on the coordinate system of the hotspot control and represents the distance the player's finger moves on the hotspot control. The terminal then maps this initial displacement to a second displacement of a non-operational hotspot configuration option according to a preset proportional relationship. This proportional relationship is pre-defined using an index mapping table to ensure that movement on the hotspot control is accurately mapped to the configuration option in the non-operational hotspot. For example, if the horizontal pixel range of the hotspot control is divided into 8 logical segments, each corresponding to a configuration option, then when the player's thumb moves 1 / 8 of the width on the hotspot control, the terminal will map this displacement to a 1-point displacement of the configuration option in the non-operational hotspot. In this way, every movement the player makes on the hotspot control is reflected in real time on the configuration option in the non-operational hotspot.

[0054] The terminal determines the current mapped configuration option based on the mapped displacement and marks it as an index option. Simultaneously, the terminal updates the visual appearance of the index option in real time, using methods such as highlighting, color changes, or other visual cues to clearly indicate the currently selected configuration option, allowing players to intuitively see the results of their actions.

[0055] The synergistic effect of the above embodiments ensures that players can select configuration options in non-operational hotspots via simple horizontal dragging on the hotspot controls. Real-time feedback also improves the accuracy and smoothness of the operation. Players can easily manipulate configuration options in non-operational hotspots without leaving the operation hotspot, significantly improving operational efficiency and user experience. Furthermore, the terminal can achieve precise mapping from operation hotspots to non-operational hotspots, ensuring that players can easily select configuration options in non-operational hotspots via simple horizontal dragging, thereby significantly improving player operational efficiency and gaming experience.

[0056] Based on any embodiment of the method in this application, in response to the touch release event corresponding to the first touch operation, game resource configuration is performed based on the currently anchored configuration options, and the hot zone control is shrunk from the mapped touch area to the initial area of ​​the control, including: Step S3410: When the continuous pressing operation of the touch part corresponding to the hot zone control of the terminal device is detected to end, the touch release event is triggered accordingly. The terminal monitors touch events on the hot zone control in real time through a touch event listener. When the player's thumb continuously presses within the touchable area of ​​the hot zone control, the terminal records the coordinates of the corresponding touch point and determines whether the coordinates of the touch point are always within the touchable area. If the touch point moves out of the touchable area during continuous sampling, or loses monitoring of touch events acting on the touchable area, the terminal determines that the touch operation on the hot zone control has ended and triggers a touch release event accordingly.

[0057] The touch release event is an internal message used to notify the system that the player has completed their operation on the hotspot control and is ready to proceed to the next point selection. This event contains the logical segment index of the current mapping identifier and the corresponding non-operational hotspot index option information. Upon receiving the touch release event, the terminal determines the player's currently selected configuration option based on the index option information in the event and marks it as the final selected option.

[0058] Step S3420: Respond to the touch release event, obtain the option configuration information corresponding to the currently anchored index option, and update the current game resource data based on the option configuration information; When the terminal receives a touch release event, it extracts the logical segment index of the current mapping identifier and the corresponding non-operational hotspot configuration option information from the event. The obtained information is determined using a preset index mapping table as the mapping logic, ensuring that the player's actions on the hotspot controls are accurately mapped to the configuration options in the non-operational hotspots. Based on the extracted index option information, the terminal queries and obtains detailed information corresponding to the current index option, including but not limited to the equipment attributes, equipment functions, and related game status data of the configuration option. For example, if the current index option corresponds to a specific piece of equipment, the terminal will obtain equipment information such as the equipment's attribute bonuses and skill effects to update the game resource data based on this equipment information.

[0059] Furthermore, the terminal updates the player's current game configuration status to the index option status corresponding to the acquired index option information. This allows the player character's equipment status, skill status, or other related game status to be updated according to the selected configuration option, and corresponding updated game resources to be loaded in the game. For example, if the player selects an equipment with specific attribute bonuses, the terminal will apply these attribute bonuses to the player character's current status, thereby improving the player character's combat ability or other related abilities.

[0060] Step S3430: Based on the touch release event, shrink the hot zone control to the initial area of ​​the control, update the visual effect of the hot zone control in the game interface, and simultaneously shrink the touchable area of ​​the hot zone control in the game interface.

[0061] Once the terminal completes the touch release event processing, it triggers the hotspot control's reset process. First, the terminal ends the hotspot control's expanded state, shrinking it back to its initial area. This process can be implemented using an animation module. The animation module initiates a shrinking animation based on preset animation parameters, gradually reducing the width of the hotspot control from its expanded size to its initial size, while maintaining its height. Simultaneously, the terminal updates the hotspot control's visual appearance in the game interface, adjusting elements such as its background color, border style, and icon size to restore its visual appearance to its initial state. For example, if the hotspot control's background color was darker or more vibrant during expansion, these visual elements will revert to their initial state during reset, maintaining consistency and aesthetics in the game interface.

[0062] Furthermore, the terminal will simultaneously shrink the touchable area of ​​the hot zone control. The shrinkage of the touchable area can be adjusted based on the actual size of the hot zone control after it is restored to its initial size, ensuring that the player can accurately touch the hot zone control in subsequent operations. Specifically, the terminal will update the rectangular bounding box of the hot zone control to cover the entire shrunken area. In this way, the touchable area of ​​the hot zone control will be consistent with the initial state, avoiding misoperation caused by the touchable area being too large in the expanded state.

[0063] Through the embodiments described above, the terminal can accurately capture the player's continuous pressing operation and trigger a touch release event, ensuring that the player's intention is accurately conveyed. Furthermore, the terminal obtains and applies the selected configuration option information based on the touch release event, instantly updating the player character's game status, such as equipment attributes and skill effects, thereby enhancing the game character's abilities and improving combat performance. Finally, the terminal triggers the hotspot control's reset process, ending the extended state and restoring its initial size and visual effect. Simultaneously, the touchable area is shrunk to its initial size to avoid accidental operation and prepare for the next touch operation on the hotspot control. This not only improves the smoothness and accuracy of the player's game operation but also optimizes the visual effect of the game interface, enhancing the player's interactive experience. It allows players to select and switch configuration options more efficiently, significantly improving the game's playability and fun.

[0064] Based on any embodiment of the method in this application, after the step of expanding the hot zone control from the initial area of ​​the control to the mapped touch area of ​​the game interface based on the touch operation event, the method further includes: Step S3510: Based on the touch operation event, determine the specific interface component in the game interface that can be hidden, reclaim the interface style resources of the specific interface component in the game interface, and set the current component state of the specific interface component to the hidden state. When a touch event is triggered, the terminal identifies and determines which UI components in the game interface can be hidden. These specific UI components are typically character interaction components within the game interface, providing players with the ability to interact with the game. However, during hotspot control expansion, since players only need to select configuration options for non-operational hotspots within the game interface, other character interaction components besides hotspot controls and configuration options may interfere with the player's operation or visual attention. These could include certain UI buttons, decorative icons, and secondary information panels within the game interface.

[0065] The terminal determines which components are specific UI components that can be hidden using preset rules or configuration files, and then reclaims the UI style resources of these specific UI components. After reclaiming the UI style resources, the terminal releases the game resources such as graphics, textures, and animations occupied by these UI style components to reduce memory usage and improve system efficiency. At this point, these game resources can be marked as reclaimable and removed from memory or placed into a resource pool at an appropriate time for possible reuse later.

[0066] Subsequently, the terminal sets the current component state of these specific interface components to a hidden state. By updating the state flag of the interface components, the specific interface components are no longer visible to the player in the game interface, and they will not respond to the player's touch events. The above-mentioned setting of the hidden state ensures the cleanliness of the game interface and the player's focus during the operation of the hot zone controls, allowing the player to focus more on the operation of the hot zone controls and the main interaction of the game.

[0067] Step S3520: In response to the touch release event, load the interface resources corresponding to the specific interface component in the game interface, and set the current component state of the specific interface component to the display state.

[0068] When the terminal receives a touch release event and completes the corresponding point selection and state update, it triggers the interface component recovery process. The terminal loads the interface style resources of the specific interface component that were previously recycled, including the corresponding graphic resources, textures, and animation resources of the specific interface component. Since the corresponding interface style resources are marked as recyclable when the touch operation event is triggered, and may be removed or placed in the resource pool, the terminal can reload these interface style resources through the resource management module to ensure that the corresponding interface component can be displayed normally.

[0069] After the interface style resources are loaded, the terminal will update the status flag of the specific interface component, switching it from a hidden state to a visible state. This allows the corresponding specific interface component to reappear in the game interface and resume responding to the player's touch events. The player can then interact with it normally and continue to experience the game content.

[0070] The embodiments described above in this application intelligently hide specific interface components during the expansion of the hot zone control, which reduces visual interference from the game screen to the player. After the player selects a point, the specific interface components can be quickly restored, ensuring the integrity of the game interface and the continuity of interaction. This not only optimizes the interface layout of the game process, allowing players to obtain appropriate visual effects at different operation stages, but also improves the system's operating efficiency and reduces memory usage through the reasonable recycling and reuse of resources. In this way, it provides players with a smooth and efficient gaming experience, significantly enhancing the interactivity and playability of the game.

[0071] Based on any embodiment of the method in this application, after the step of expanding the hot zone control from the initial area of ​​the control to the mapped touch area of ​​the game interface based on the touch operation event, the method further includes: Step S3610: Respond to the touch operation event, obtain the gyroscope function permission of the terminal device, call the gyroscope function of the terminal device, and sample the current angular velocity of the terminal device based on the gyroscope function; Since most existing mobile terminal devices have integrated gyroscope hardware, this embodiment can also provide a selection method other than the player selecting the hot zone control by sliding their finger. That is, after triggering a touch operation event, the player can select the corresponding configuration option by shaking the mobile terminal device left and right.

[0072] When a touch operation event is triggered, the terminal requests and obtains access to the device's gyroscope through the system-level permission management module. A gyroscope is a sensor that measures the angular velocity of a terminal device's rotation in three-dimensional space, and its output data reflects the device's rotation rate along various axes. The terminal continuously reads the gyroscope's angular velocity data at a sampling frequency of, for example, 60 times per second by calling the system-provided sensor API. The angular velocity data includes the rotational angular velocity around the X, Y, and Z axes, typically expressed in radians per second or degrees per second. The terminal then stores the acquired angular velocity data in a temporary buffer in memory so that subsequent modules can read and use this data in real time.

[0073] Step S3620: Update the index option based on the angular velocity exceeding the preset static threshold, and update the visual performance of the index option in real time. The static threshold can be set to a positive or negative number. When the angular velocity exceeding the static threshold is negative, the previous configuration option of the current configuration option is set as the index option. When the angular velocity exceeding the static threshold is positive, the next configuration option of the current configuration option is set as the index option. To distinguish whether the device is stationary or rotating, the terminal sets a preset stationary threshold. This threshold can be adjusted based on game design requirements and device characteristics; it can be either positive or negative. When the terminal detects an angular velocity exceeding this threshold, it indicates the device is rotating. The terminal then updates the index options based on the direction and magnitude of the angular velocity. The specific update logic is as follows: If the angular velocity exceeding the threshold is negative, it means the player may be rotating the terminal device to the left or counter-clockwise. In this case, the terminal sets the previous position of the current configuration option as the new index option. Conversely, if the angular velocity exceeding the threshold is positive, it means the player may be rotating the terminal device to the right or clockwise. The terminal sets the next position of the current configuration option as the new index option.

[0074] While updating the index options, the terminal will also update the visual effects of the index options in real time, such as through highlighting, color changes or other visual cues, so that players can clearly know the currently selected configuration option.

[0075] Step S3630: Respond to the touch release event, end the angular velocity sampling of the terminal device, and release the permission to call the gyroscope function of the terminal device.

[0076] Once the terminal receives a touch release event and completes the corresponding point selection and status update, it triggers the release process for the gyroscope function. First, the terminal stops sampling the gyroscope's angular velocity by sending a stop sampling command, causing the sensor to stop outputting data. This involves calling the system's sensor management API, meaning the terminal no longer reads the device's rotation data through the sensor API, thus saving system resources and reducing unnecessary data processing. Subsequently, the terminal releases access to the gyroscope function. By revoking previously requested gyroscope access permissions, it ensures that the device's sensor resources can be used normally by other applications or system modules. In other words, after releasing permissions, the terminal no longer occupies gyroscope resources, thus avoiding resource conflicts and excessive usage.

[0077] Through the synergistic effect of the above embodiments, this application utilizes gyroscope data during hotspot control expansion to open up different operation dimensions for players based on device rotation, enriching the player's game interaction methods. This allows players to select configuration options in non-operational hotspots using natural physical rotation movements, thereby enhancing the fun and immersion of the operation. Simultaneously, after completing point selection, the terminal promptly stops angular velocity sampling and releases gyroscope permissions, not only avoiding performance loss caused by continuous occupation of sensor resources but also ensuring efficient utilization of device resources. This reserves sufficient resources for subsequent operations, guaranteeing smooth gameplay throughout and significantly enhancing the game's interactivity and playability.

[0078] Please see Figure 4 According to one aspect of this application, a dynamic hotspot touch device includes a touch response module 4100, a control extension module 4200, a touch mapping module 4300, and a resource configuration module 4400. The touch response module 4100 is configured to respond to a first touch operation applied to a hotspot control in a game interface, and trigger a touch operation event based on the first touch operation. The hotspot control is mapped to a non-operational hotspot area of ​​the game interface, and the first touch operation is a specific touch operation performed by a player on the hotspot control in a touchable state. The control extension module 4200 is configured to... The event expands the hot zone control from the initial area of ​​the control to the mapped touch area of ​​the game interface; the touch mapping module 4300 is configured to respond to a drag operation applied to the mapped touch area, map the first displacement of the drag operation to the second displacement of the non-operational hot zone, and anchor the corresponding configuration option in the non-operational hot zone according to the second displacement; the resource configuration module 4400 is configured to respond to the touch release event corresponding to the first touch operation, perform game resource configuration based on the currently anchored configuration option, and shrink the hot zone control from the mapped touch area to the initial area of ​​the control.

[0079] Based on any embodiment of the device in this application, the touch response module 4100 includes: a press monitoring module, configured to monitor a continuous press operation on the touch area corresponding to the hot zone control of the terminal device, and determine whether the continuous press operation reaches a preset time threshold; and a touch determination module, configured to generate a touch operation event and lock the touchable state of the hot zone control when the continuous press operation on the hot zone control reaches the time threshold.

[0080] Based on any embodiment of the device in this application, the control expansion module 4200 includes: a control magnification module, configured to respond to the touch operation event, magnify the hot zone control to the operation hot zone of the game interface, and update the state of the hot zone control to the control expansion state; and a control update module, configured to update the visual performance of the hot zone control in the game interface, and synchronously increase the touchable area of ​​the hot zone control in the game interface.

[0081] Based on any embodiment of the device in this application, the touch mapping module 4300 includes: a coordinate monitoring module, configured to continuously monitor the horizontal movement coordinates corresponding to the drag operation performed on the mapping identifier on the hot zone control when the hot zone control expands to the mapped touch area of ​​the game interface, wherein the mapping identifier is a movable identifier within the range of the hot zone control, and the coordinates of the mapping identifier on the hot zone control correspond to the coordinates of multiple configuration options in the non-operational hot zone; and a displacement mapping module, configured to map the first displacement amount corresponding to the horizontal movement coordinate to the second displacement amount corresponding to the non-operational hot zone in real time according to a preset ratio, determine that the configuration option currently mapped by the mapping identifier is an index option, and update the visual performance of the index option in real time.

[0082] Based on any embodiment of the device in this application, the resource configuration module 4400 includes: a release trigger module, configured to trigger the touch release event when the continuous pressing operation of the touch area corresponding to the hot zone control on the terminal device ends; a configuration update module, configured to respond to the touch release event, obtain the option configuration information corresponding to the currently anchored index option, and update the current game resource data based on the option configuration information; and a control restoration module, configured to shrink the hot zone control to the initial area of ​​the control based on the touch release event, update the visual performance of the hot zone control in the game interface, and simultaneously shrink the touchable area of ​​the hot zone control in the game interface.

[0083] Based on any embodiment of the device in this application, it includes: a component hiding module, configured to determine a specific interface component in the game interface that can be hidden based on the touch operation event, reclaim the interface resources of the specific interface component in the game interface, and set the current component state of the specific interface component to a hidden state; and a component display module, configured to respond to the touch release event, load the interface resources corresponding to the specific interface component in the game interface, and set the current component state of the specific interface component to a displayed state.

[0084] Based on any embodiment of the device in this application, the device includes: a permission invocation module, configured to respond to the touch operation event, obtain permission for the gyroscope function of the terminal device, invoke the gyroscope function of the terminal device, and sample the current angular velocity of the terminal device based on the gyroscope function; an index selection module, configured to update the index option based on the angular velocity exceeding a preset static threshold, and update the visual performance of the index option in real time, wherein the static threshold can be set to a positive or negative number, when the angular velocity exceeding the static threshold is negative, the previous configuration option of the current configuration option is set as the index option, and when the angular velocity exceeding the static threshold is positive, the next configuration option of the current configuration option is set as the index option; and a permission release module, configured to respond to the touch release event, end the sampling of the angular velocity of the terminal device, and release the permission to invoke the gyroscope function of the terminal device.

[0085] Another embodiment of this application also provides a dynamic hot zone touch device. For example... Figure 5 The diagram shows the internal structure of a dynamic hotspot touch device. This device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. The computer-readable, non-volatile storage medium stores an operating system, a database, and computer-readable instructions. The database stores information sequences, and when executed by the processor, these computer-readable instructions enable the processor to implement a dynamic hotspot touch method.

[0086] The processor of this dynamic hotspot touch device provides computing and control capabilities to support the operation of the entire device. The memory of the device can store computer-readable instructions, which, when executed by the processor, cause the processor to perform the dynamic hotspot touch method of this application. The network interface of the device is used for communication with a terminal.

[0087] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the dynamic hot zone touch device to which the present application is applied. A specific dynamic hot zone touch device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0088] In this embodiment, the processor is used to execute... Figure 4The specific functions of each module are described, and the memory stores the program code and various data required to execute the above modules or sub-modules. The network interface is used to realize data transmission between user terminals or servers. In this embodiment, the non-volatile readable storage medium stores the program code and data required to execute all modules in the dynamic hot zone touch device of this application, and the server can call the server's program code and data to execute the functions of all modules.

[0089] This application also provides a non-volatile readable storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the dynamic hot zone touch method of any embodiment of this application.

[0090] This application also provides a computer program product, including a computer program / instructions that, when executed by one or more processors, implement the steps of the method described in any embodiment of this application.

[0091] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The aforementioned storage medium can be a computer-readable storage medium such as a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM).

Claims

1. A dynamic hot zone touch control method, characterized in that, include: In response to a first touch operation applied to a hotspot control in the game interface, a touch operation event is triggered based on the first touch operation, wherein the hotspot control is mapped to a non-operational hotspot in the game interface, and the first touch operation is a specific touch operation performed by the player on the hotspot control in a touchable state; Based on the touch operation event, the hot zone control is expanded from the initial area of ​​the control to the mapped touch area of ​​the game interface; In response to a drag operation applied to the mapped touch area, the first displacement of the drag operation is mapped to a second displacement of the non-operational hotspot, and the corresponding configuration option in the non-operational hotspot is anchored according to the second displacement. This includes: when the hotspot control expands to the mapped touch area of ​​the game interface, continuously monitoring the horizontal movement coordinates corresponding to the drag operation performed on the mapping identifier on the hotspot control, wherein the mapping identifier is a movable identifier within the range of the hotspot control, and the coordinates of the mapping identifier in the hotspot control correspond to the coordinates of multiple configuration options in the non-operational hotspot; mapping the first displacement corresponding to the horizontal movement coordinate to the second displacement corresponding to the non-operational hotspot in real time according to a preset ratio, determining that the configuration option currently mapped by the mapping identifier is an index option, and updating the visual effect of the index option in real time. In response to the touch release event corresponding to the first touch operation, the game resource configuration is performed based on the currently anchored configuration option, and the hot zone control is shrunk from the mapped touch area to the initial area of ​​the control.

2. The dynamic hot zone touch method according to claim 1, characterized in that, The response is a first touch operation applied to a hotspot control in the game interface, triggering a touch operation event based on the first touch operation. The hotspot control is mapped to a non-operational hotspot in the game interface, and the first touch operation is a specific touch operation performed by the player on the hotspot control in a touchable state, including: Monitor continuous pressing operations on the touch area corresponding to the hot zone control of the terminal device, and determine whether the continuous pressing operation has reached a preset time threshold. When the continuous pressing operation applied to the hot zone control reaches the time threshold, a corresponding touch operation event is generated to lock the touchable state of the hot zone control.

3. The dynamic hot zone touch method according to claim 2, characterized in that, Based on the touch operation event, the hot zone control is expanded from its initial area to the mapped touch area of ​​the game interface, including: In response to the touch operation event, the hot zone control is enlarged to the operation hot zone of the game interface, and the state of the hot zone control is updated to the control expansion state; Update the visual appearance of the hot zone control in the game interface, and simultaneously increase the touchable area of ​​the hot zone control in the game interface.

4. The dynamic hot zone touch method according to claim 1, characterized in that, The step of responding to the touch release event corresponding to the first touch operation, configuring game resources based on the currently anchored configuration options, and shrinking the hot zone control from the mapped touch area to the initial control area includes: When the continuous pressing operation of the touch area corresponding to the hot zone control of the terminal device ends, the touch release event is triggered accordingly; In response to the touch release event, obtain the option configuration information corresponding to the currently anchored index option, and update the current game resource data based on the option configuration information; Based on the touch release event, the hot zone control is reduced to its initial area, the visual appearance of the hot zone control in the game interface is updated, and the touchable area of ​​the hot zone control in the game interface is reduced simultaneously.

5. The dynamic hot zone touch method according to any one of claims 1-4, characterized in that, After the step of expanding the hot zone control from its initial area to the mapped touch area of ​​the game interface based on the touch operation event, the method further includes: Based on the touch operation event, a specific interface component in the game interface that can be hidden is determined, the interface resources of the specific interface component in the game interface are recycled, and the current component state of the specific interface component is set to a hidden state. In response to the touch release event, load the interface resources corresponding to the specific interface component in the game interface, and set the current component state of the specific interface component to the display state.

6. The dynamic hot zone touch method according to claim 5, characterized in that, After the step of expanding the hot zone control from its initial area to the mapped touch area of ​​the game interface based on the touch operation event, the method further includes: In response to the touch operation event, obtain gyroscope function permission of the terminal device, call the gyroscope function of the terminal device, and sample the current angular velocity of the terminal device based on the gyroscope function; The index option is updated based on the angular velocity exceeding a preset static threshold, and the visual performance of the index option is updated in real time. The static threshold can be set to a positive or negative number. When the angular velocity exceeding the static threshold is negative, the previous configuration option of the current configuration option is set as the index option. When the angular velocity exceeding the static threshold is positive, the next configuration option of the current configuration option is set as the index option. In response to the touch release event, the sampling of the angular velocity of the terminal device is terminated, and the permission to call the gyroscope function of the terminal device is released.

7. A dynamic hot zone touch device, characterized in that, include: The touch response module is configured to respond to a first touch operation applied to a hot zone control in the game interface, and trigger a touch operation event based on the first touch operation. The hot zone control is mapped to a non-operational hot zone in the game interface, and the first touch operation is a specific touch operation performed by the player on the hot zone control in a touchable state. The control extension module is configured to expand the hot zone control from the initial area of ​​the control to the mapped touch area of ​​the game interface based on the touch operation event; A touch mapping module is configured to respond to a drag operation applied to the mapped touch area, map a first displacement of the drag operation to a second displacement of the non-operational hotspot, and anchor corresponding configuration options in the non-operational hotspot based on the second displacement. This includes: when the hotspot control expands to the mapped touch area of ​​the game interface, continuously monitoring the horizontal movement coordinates corresponding to the drag operation performed on the mapping identifier on the hotspot control, wherein the mapping identifier is a movable identifier within the range of the hotspot control, and the coordinates of the mapping identifier in the hotspot control correspond to the coordinates of multiple configuration options in the non-operational hotspot; mapping the first displacement corresponding to the horizontal movement coordinates to the second displacement corresponding to the non-operational hotspot in real time according to a preset ratio; determining that the configuration option currently mapped by the mapping identifier is an index option; and updating the visual effect of the index option in real time. The resource configuration module is configured to respond to the touch release event corresponding to the first touch operation, configure game resources based on the currently anchored configuration options, and shrink the hot zone control from the mapped touch area to the initial area of ​​the control.

8. The dynamic hot zone touch device according to claim 7, characterized in that, The touch response module includes: The press monitoring module is configured to monitor continuous press operations on the touch area corresponding to the hot zone control of the terminal device and determine whether the continuous press operation has reached a preset time threshold. The touch determination module is configured to generate a touch operation event and lock the touchable state of the hot zone control when the continuous pressing operation applied to the hot zone control reaches the time threshold.

9. A dynamic hot zone touch device, comprising a central processing unit and a memory, characterized in that, The central processing unit is used to invoke and run a computer program stored in the memory to perform the steps of the method as described in any one of claims 1 to 6.

10. A non-volatile readable storage medium, characterized in that, It stores, in the form of computer-readable instructions, a computer program implemented according to any one of claims 1 to 6, which, when invoked by a computer, executes the steps included in the corresponding method.

Citation Information

Patent Citations

  • Game interaction method and device, electronic equipment and storage medium

    CN117138338A

  • Hot area adjusting method and device, equipment, storage medium and program product

    CN117679742A