Checkpoint selection method and device, computer readable storage medium, and electronic device

By responding to preset input events in the turntable to determine the target rotation angle and rotate it, infinite level selection is achieved, solving the problems of high memory usage and low level jump efficiency, and improving the efficiency of level selection.

CN117679729BActive Publication Date: 2026-07-31NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NETEASE (HANGZHOU) NETWORK CO LTD
Filing Date
2023-12-12
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing technologies require a lot of memory to implement infinite levels, and the level switching efficiency is low, especially when level selection is achieved by sliding through a list.

Method used

By responding to preset input events, the target rotation angle of the turntable is determined, and the turntable is controlled to rotate according to that angle, so that the game level jumps to the target level. This avoids the direct use of the list and only loads the level icons displayed in the turntable.

Benefits of technology

It reduces memory usage, improves the computational efficiency of level selection, and solves the problems of high memory usage and low level switching efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117679729B_ABST
    Figure CN117679729B_ABST
Patent Text Reader

Abstract

This disclosure relates to a level selection method and apparatus, a computer-readable storage medium, and an electronic device, belonging to the field of computer technology. The method includes: responding to a preset input event; determining a target rotation angle of a turntable based on the preset input event; and controlling the turntable to rotate according to the target rotation angle, causing the game level to jump from a first level to the target level, wherein the first level is the game level the turntable was in before rotation. This disclosure reduces memory usage and improves level selection efficiency while achieving unlimited levels.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more specifically, to a level selection method and device, a computer-readable storage medium, and an electronic device. Background Technology

[0002] With the development of computer technology, games have become an increasingly common form of entertainment. For level-based games, the entire game consists of multiple levels. In most target games, levels are displayed using a turntable, a common UI element. Most turntables are divided into multiple sections, with each section displaying a fixed amount of information.

[0003] When games need to implement infinite levels, related technologies often use lists. Users navigate between levels by scrolling up and down the list. However, this scrolling process has several drawbacks. First, constantly loading new list items consumes significant memory. Second, memory management requires continuously destroying list items not visible on the scroll wheel, resulting in low level-hopping efficiency.

[0004] Therefore, a new method for selecting levels is needed.

[0005] It should be noted that the information in the background section above is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] This disclosure provides a level selection method, a level selection device, a computer-readable storage medium, and an electronic device, thereby overcoming, to at least a certain extent, the problem that level selection requires a large amount of memory due to limitations and defects in related technologies.

[0007] According to one aspect of this disclosure, a level selection method is provided, comprising:

[0008] In response to a preset input event, the target rotation angle of the turntable is determined based on the preset input event;

[0009] The turntable is controlled to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, wherein the first level is the game level in which the turntable was before it rotated.

[0010] In one exemplary embodiment of this disclosure, the preset input event is a rotation operation event, and determining the target rotation angle of the turntable includes: determining the target rotation angle based on the operation parameters of the rotation operation event.

[0011] In one exemplary embodiment of this disclosure, determining the target rotation angle based on the operation parameters of the rotation operation event includes: acquiring the operation parameters of the rotation operation event in each frame of the game screen; determining the rotation angle of the turntable in each frame of the game screen according to the operation parameters in each frame of the game screen; and accumulating the rotation angle of the turntable in each frame of the game screen during the rotation operation event to obtain the target rotation angle.

[0012] In one exemplary embodiment of this disclosure, the operation parameters include touch position, and determining the rotation angle of the turntable in each frame of the game screen based on the operation parameters in each frame of the game screen includes: obtaining a first initial touch position and a first final touch position of the rotation operation event in each frame of the game screen; and obtaining the rotation angle of the turntable in each frame of the game screen based on the first initial touch position and the first final touch position.

[0013] In one exemplary embodiment of this disclosure, the operation parameters include operation pressure, and determining the rotation angle of the turntable in each frame of the game based on the operation parameters in each frame of the game includes: obtaining the operation pressure corresponding to the rotation operation event in each frame of the game, and determining the rotation angle of the turntable in each frame of the game based on the operation pressure in each frame of the game.

[0014] In one exemplary embodiment of this disclosure, the operation parameters include touch position, and determining the target rotation angle of the turntable based on the operation parameters of the rotation operation event includes: obtaining a second initial touch position and a second final touch position corresponding to the rotation operation event, and obtaining the target rotation angle of the turntable based on the second initial touch position and the second final touch position.

[0015] In one exemplary embodiment of this disclosure, the operation parameters include operation duration, and determining the target rotation angle based on the operation parameters of the rotation operation event includes: obtaining the operation duration corresponding to the rotation operation event, and determining the target rotation angle of the turntable according to the operation duration.

[0016] In one exemplary embodiment of this disclosure, when the preset input event is a level identifier setting event, determining the target rotation angle of the turntable includes: obtaining the target level identifier set by the level identifier setting event; and obtaining the target rotation angle based on the target level identifier and a first level identifier, wherein the first level identifier is the level identifier of the first level.

[0017] In one exemplary embodiment of this disclosure, obtaining the target rotation angle based on the target level identifier and the first level identifier includes: obtaining the angle span of the level identifier; obtaining the level difference based on the target level identifier and the first level identifier; and obtaining the target rotation angle based on the product of the level difference and the angle span.

[0018] In one exemplary embodiment of this disclosure, the turntable includes a rotatable base and a fixed pointer. The base includes a level identifier for indicating a game level. The pointer points to a first level identifier corresponding to the first level before the preset input event. Controlling the turntable to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, includes: controlling the base to rotate relative to the pointer by the target rotation angle, so that the pointer points from the first level identifier to the target level identifier; and controlling the game level to jump from the first level to the target level corresponding to the target level identifier.

[0019] In one exemplary embodiment of this disclosure, controlling the base to rotate relative to the pointer by the target rotation angle includes: obtaining a preset rotation speed and controlling the base to rotate relative to the pointer by the target rotation angle at the preset rotation speed.

[0020] In one exemplary embodiment of this disclosure, the method further includes: during the process of controlling the turntable to rotate according to the target rotation angle, obtaining the current turntable angle of the turntable, determining the second level identifier of the second level pointed to by the pointer according to the current turntable angle; and controlling the display of level details information of the second level in the level information display interface of the graphical user interface.

[0021] In one exemplary embodiment of this disclosure, determining the second level identifier of the second level pointed to by the pointer based on the current turntable angle includes: obtaining the angular span of the level identifier and the initial turntable angle; obtaining the current rotation angle of the turntable based on the angular difference between the current turntable angle and the initial turntable angle; obtaining the number of levels crossed by the turntable based on the current rotation angle and the angular span of the level identifier; and obtaining the second level identifier based on the number of levels crossed by the turntable and the first level identifier.

[0022] In one exemplary embodiment of this disclosure, when the preset input event is the first input event after the turntable is initialized, the initial turntable angle is 0 degrees; when the preset input event is not the first input event after the turntable is initialized, the target rotation angles corresponding to the input events after the turntable is initialized and before the preset input event are accumulated to obtain the initial turntable angle.

[0023] In one exemplary embodiment of this disclosure, the turntable initialization includes: loading the turntable and setting the initial turntable angle of the turntable to 0 degrees; obtaining the level identifier of the level pointed to by the pointer of the turntable, and updating the level identifier displayed in the turntable according to the level identifier of the level pointed to by the pointer of the turntable.

[0024] In one exemplary embodiment of this disclosure, after the game level jumps from the first level to the target level, the method further includes: displaying the level details information of the target level in the level information display interface of the graphical user interface.

[0025] According to one aspect of this disclosure, a checkpoint selection device is provided, comprising:

[0026] The target rotation angle determination module is used to respond to a preset input event and determine the target rotation angle of the turntable based on the preset input event.

[0027] The turntable rotation module is used to control the turntable to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, wherein the first level is the game level where the turntable was before it rotated.

[0028] According to one aspect of this disclosure, a computer storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the level selection method described in any of the exemplary embodiments above.

[0029] According to one aspect of this disclosure, an electronic device is provided, comprising:

[0030] Processor; and

[0031] Memory for storing the executable instructions of the processor;

[0032] The processor is configured to execute the level selection method described in any of the above exemplary embodiments by executing the executable instructions.

[0033] This disclosure provides a level selection method that responds to a preset input event, determines a target rotation angle of a turntable based on the preset input event, and controls the turntable to rotate according to the target rotation angle, causing the game level to jump from a first level to a target level, wherein the first level is the game level where the turntable was before rotation. On one hand, when selecting a level, responding to a preset input event and determining the target rotation angle of the turntable, and rotating the turntable according to the target rotation angle, an infinite number of levels are realized in the turntable. After the turntable rotates to the target rotation angle, the target level can be determined based on the target rotation angle, eliminating the need to determine the level based on a list, thus solving the problem in related technologies where level selection can only be achieved through a list. On the other hand, when selecting a level based on the target rotation angle, after the turntable rotates to the target rotation angle, only the level identifiers displayed in the turntable need to be loaded, resulting in low memory usage and high computational efficiency. This solves the problems in related technologies where high memory usage and the need to constantly destroy list items not visible in the turntable are present, thus improving the efficiency of level selection.

[0034] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention. It is obvious that the drawings described below are merely some embodiments of the invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0036] Figure 1 The flowchart illustrates an example embodiment of a level selection method according to the present disclosure.

[0037] Figure 2 The illustration schematically shows a graphical user interface including a turntable according to an exemplary embodiment of the present disclosure.

[0038] Figure 3 The flowchart illustrates a method for determining a target rotation angle based on operation parameters of a rotation operation event according to an exemplary embodiment of the present disclosure.

[0039] Figure 4 The flowchart illustrates a method for determining the rotation angle of a turntable in each frame of a game screen based on the operation parameters in each frame of the game screen, according to an example embodiment of the present disclosure, when the operation parameters include the touch position.

[0040] Figure 5The flowchart illustrates a method for determining the target rotation angle of a turntable when a preset input event is a level identifier setting event, according to an example embodiment of the present disclosure.

[0041] Figure 6 The flowchart illustrates a method for obtaining a target rotation angle based on a target level identifier and a first level identifier according to an example embodiment of the present disclosure.

[0042] Figure 7 The flowchart illustrates a method for rotating a control turntable according to a target rotation angle, based on an example embodiment of the present disclosure, to jump a game level from a first level to a target level.

[0043] Figure 8 The flowchart illustrates an example embodiment of a level selection method according to the present disclosure.

[0044] Figure 9 The flowchart illustrates a method for determining the second level identifier of the second level pointed to by the pointer based on the current turntable angle, according to an example embodiment of the present disclosure.

[0045] Figure 10 (a)- Figure 10 (b) A schematic diagram illustrating a method for determining a turntable angle according to an exemplary embodiment of the present disclosure.

[0046] Figure 11 A block diagram schematically illustrates a level selection device according to an exemplary embodiment of the present disclosure.

[0047] Figure 12 An electronic device for implementing a level selection method according to an exemplary embodiment of the present invention is illustrated schematically. Detailed Implementation

[0048] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make the invention more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of the invention. However, those skilled in the art will recognize that the technical solutions of the invention may be practiced with one or more of these specific details omitted, or other methods, components, apparatus, steps, etc., may be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of the invention.

[0049] Furthermore, the accompanying drawings are merely illustrative of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0050] This example embodiment first provides a level selection method, referencing... Figure 1 As shown, the following steps may be included:

[0051] Step S110. Respond to a preset input event and determine the target rotation angle of the turntable based on the preset input event;

[0052] Step S120. Control the turntable to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, wherein the first level is the game level where the turntable was before it rotated.

[0053] The aforementioned level selection method responds to a preset input event, determines the target rotation angle of the turntable based on the preset input event, and controls the turntable to rotate according to the target rotation angle, causing the game level to jump from the first level to the target level, where the first level is the game level where the turntable was before rotation. On one hand, when selecting a level, responding to a preset input event and determining the target rotation angle of the turntable, and rotating the turntable according to the target rotation angle, allows for the determination of the target level based on the target rotation angle when implementing infinite levels, eliminating the need to determine levels based on a list, thus solving the problem in related technologies where level selection can only be achieved through a list. On the other hand, when selecting levels based on the target rotation angle, after the turntable rotates to the target rotation angle, only the level identifiers displayed on the turntable need to be loaded, resulting in low memory usage and high computational efficiency. This solves the problems of high memory usage and the need to constantly destroy list items not visible in the turntable in related technologies, improving level selection efficiency.

[0054] The following provides a detailed explanation and description of each step involved in the level selection method of the exemplary embodiments of this disclosure.

[0055] First, the application scenarios and purposes of the exemplary embodiments of this disclosure will be explained and described. Specifically, the exemplary embodiments of this disclosure can implement unlimited levels and support level selection. The main research focuses on how to reduce memory usage and improve level selection efficiency when supporting unlimited levels.

[0056] In this disclosure, a graphical user interface (GUI) is provided via a terminal device. This GUI displays a turntable for selecting game levels, containing a pointer and multiple level icons, with the pointer pointing to a level icon. The pointer can be a pointer shape, a level icon selection box, or another graphic shape; in this example embodiment, the pointer is not specifically limited. The GUI can display all or part of the turntable. In one embodiment, the GUI can also display a level information display interface showing level details corresponding to each level. Based on a received preset input event, upon receiving the preset input event, a response is made to the preset input event, and a target rotation angle of the turntable is determined according to the preset input event. The turntable is then controlled to rotate according to the target rotation angle.

[0057] Secondly, the graphical user interface of this disclosure will be further described. (See references) Figure 2 As shown, the graphical user interface 201 includes a turntable base 202, a level information display interface 203, level icons 204, and a turntable pointer 205. The level information display interface 203 is used to display the level details of the level pointed to by the pointer 205.

[0058] The following will combine Figure 2 Further explanation and description of steps S110 and S120 are provided.

[0059] In step S110, in response to a preset input event, the target rotation angle of the turntable is determined based on the preset input event.

[0060] In one embodiment, the preset input event can be a rotation operation event or a level identifier setting event. The rotation operation event refers to an event that triggers the rotation of the turntable through a preset operation, which can be a sliding operation or a pressing operation; this example embodiment does not specifically limit the operation. The level identifier setting event refers to an operation event that directly sets the target level identifier. For example, a graphical user interface can provide an input box for level identifiers, where the user enters the level identifier (such as a level number). The system responds to the preset input event and determines the target rotation angle of the turntable based on the preset input event.

[0061] In one embodiment, when the preset input event is a rotation operation event, determining the target rotation angle of the turntable may include:

[0062] The target rotation angle is determined based on the operation parameters of the rotation operation event.

[0063] Specifically, when the preset input event is a rotation operation event, the target rotation angle of the turntable can be determined based on the operation parameters of the rotation operation event. These operation parameters can include operation duration, operation pressure, touch position, etc., but in this example embodiment, no specific limitations are placed on the operation parameters.

[0064] refer to Figure 3 As shown, determining the target rotation angle based on the operation parameters of the rotation operation event may include steps S310-S330:

[0065] Step S310. Obtain the operation parameters of the rotation operation event in each frame of the game screen.

[0066] When the game program is running, the game screen displayed in the graphical user interface refreshes at a certain frame rate (e.g., 60 FPS). Each frame of the game screen covers a time period; for example, at 60 FPS, each frame of the game screen corresponds to a time period of 16.67 ms. During the rotation operation event, the operation parameters can be detected frame by frame to obtain the operation parameters of the rotation operation event in each frame of the game screen.

[0067] For example, when the operation parameter is a touch position, the touch position corresponding to the rotation operation event can be obtained in each frame of the game screen. Specifically, the first starting touch position and the first ending touch position of the rotation operation event in each frame of the game screen can be obtained. The first starting touch position refers to the touch position at the beginning of the time period corresponding to each frame of the game screen, and the first ending touch position refers to the touch position at the end of the time period corresponding to each frame of the game screen. For example, if the time period corresponding to each frame of the game screen is 16.67ms, the touch position at the beginning and the touch position at the end of the 16.67ms time period can be obtained, which are respectively the first starting touch position and the first ending touch position.

[0068] For example, when the operation parameter is operation pressure, the operation pressure corresponding to the rotation operation event can be obtained in each frame of the game screen. Specifically, the average operation pressure of the rotation operation event in each frame of the game screen can be obtained. For example, if the time period corresponding to each frame of the game screen is 16.67ms, the average operation pressure within the 16.67ms time period can be obtained, and the obtained average operation pressure can be determined as the operation pressure in each frame of the game screen.

[0069] Step S320. Determine the rotation angle of the turntable in each frame of the game based on the operation parameters in each frame of the game screen.

[0070] The rotation angle of the turntable in each frame of the game refers to how much the turntable can be rotated by the operation parameters in each frame of the game. In one implementation, refer to Figure 4 As shown, when the operation parameters include the touch position, the rotation angle of the turntable in each frame of the game screen is determined based on the operation parameters in each frame of the game screen, which may include steps S410 and S420:

[0071] Step S410. Obtain the first initial touch position and the first final touch position of the rotation operation event in each frame of the game screen;

[0072] Step S420. Based on the first initial touch position and the first final touch position, obtain the rotation angle of the turntable in each frame of the game screen.

[0073] The following will further explain and illustrate steps S410 and S420. Specifically, in each frame of the game screen, there may be multiple touch positions corresponding to rotation operation events. When calculating the rotation angle of the turntable in each frame of the game screen based on the touch positions, the first starting touch position and the first ending touch position can be obtained. The first starting touch position refers to the touch position at the beginning of the time period corresponding to each frame of the game screen, and the first ending touch position refers to the touch position at the end of the time period corresponding to each frame of the game screen. For example, after obtaining the first initial touch position and the first final touch position in a certain frame of the game screen, the first initial touch position is connected to the center point of the turntable, and the first final touch position is connected to the center point of the turntable to obtain the included angle of the two lines. This included angle can be used as the rotation angle of the turntable in the game screen of that frame, or the included angle can be mapped and calculated, such as by multiplying it by a certain coefficient, to obtain the rotation angle of the turntable in the game screen of that frame; or, the distance between the first initial touch position and the first final touch position can be calculated and mapped, such as by calculating the rotation angle corresponding to the distance according to a pre-configured mapping function, that is, the rotation angle of the turntable in the game screen of that frame.

[0074] In one embodiment, when the operating parameters include operating pressure, determining the rotation angle of the turntable in each game frame based on the operating parameters in each game frame includes:

[0075] Obtain the operation pressure corresponding to the rotation operation event in each frame of the game screen, and determine the rotation angle of the turntable in each frame of the game screen based on the operation pressure in each frame of the game screen.

[0076] Specifically, in a rotation operation event, when the operation parameter is operation pressure, the operation pressure may vary at different times. Therefore, when determining the target rotation angle based on the operation pressure, the target rotation angle of the turntable can be determined based on the rotation angle of the turntable in each frame of the game screen. The operation pressure in each frame of the game screen can be the average value of the operation pressure over the corresponding time period of each frame. After obtaining the operation pressure in each frame of the game screen, a mapping calculation is performed on the operation pressure in each frame of the game screen. For example, the rotation angle of the turntable under that operation pressure can be calculated based on a pre-configured pressure rotation function, which can be a function of the rotation speed of the turntable under different pressures.

[0077] Step S330. During the rotation operation event, the rotation angle of the turntable in each frame of the game screen is accumulated to obtain the target rotation angle.

[0078] In one embodiment, the rotation angle of the turntable in each frame of the game screen during the rotation operation event can be obtained through steps S310 and S320. The rotation angles of each frame are accumulated to obtain the target rotation angle corresponding to the rotation operation event. The rotation angle of the turntable in each frame of the game screen can be represented by angle_diff(i). When the number of game frames played during the rotation operation event is n, i represents the target rotation angle of the turntable in any given frame.

[0079] In one embodiment, when the operation parameters include the touch position, determining the target rotation angle of the turntable based on the operation parameters of the rotation operation event may further include:

[0080] Obtain the second initial touch position and the second final touch position corresponding to the rotation operation event, and obtain the target rotation angle of the turntable based on the second initial touch position and the second final touch position.

[0081] Specifically, when the operation parameter is a touch position, a second starting touch position and a second final touch position corresponding to the rotation operation event can also be obtained. The second starting touch position refers to the touch position at the start of the rotation operation event, and the second final touch position refers to the touch position at the end of the rotation operation event. For example, after obtaining the second starting touch position and the second final touch position, the second starting touch position is connected to the center point of the turntable, and the second final touch position is also connected to the center point of the turntable, obtaining the included angle between the two lines. This included angle can be used as the target rotation angle, or it can be mapped and calculated, such as by multiplying it by a certain coefficient, to obtain the target rotation angle of the turntable. Alternatively, the distance between the second starting touch position and the second final touch position can be calculated, and this distance can be mapped and calculated, such as by calculating the rotation angle corresponding to this distance according to a pre-configured mapping function, i.e., the target rotation angle of the turntable based on the rotation operation event.

[0082] In one embodiment, the operating parameters may include operating pressure, which may be pressing pressure; however, this is not specifically limited in this example embodiment. When the operating parameters include operating pressure, determining the target rotation angle based on the operating parameters of the rotation operation event may further include:

[0083] The first operating pressure corresponding to the rotation operation event is obtained based on a preset time interval. The average operating pressure is obtained based on the first operating pressure. The target rotation angle of the turntable is obtained based on the average operating pressure.

[0084] Specifically, when the operating parameter is operating pressure, multiple first operating pressures can be obtained based on a preset time interval during the rotation operation event. The preset time interval can be 0.05 seconds or 0.1 seconds. In this example embodiment, the preset time interval is not specifically limited. After obtaining multiple first operating pressures based on the preset time interval, the average value of the multiple first operating pressures is calculated to obtain the average operating pressure. The average operating pressure is then mapped and calculated. For example, the target rotation angle of the turntable under the average operating pressure can be calculated according to a pre-configured pressure rotation function. The pre-configured pressure rotation function can be the rotation speed function of the turntable under different pressures.

[0085] In one embodiment, when the operation parameter includes the operation duration, the operation duration can be the press duration; however, this is not specifically limited in this example embodiment. Determining the target rotation angle based on the operation parameters of the rotation operation event includes:

[0086] Obtain the operation duration corresponding to the rotation operation event, and determine the target rotation angle of the turntable based on the operation duration.

[0087] Specifically, the operation duration is obtained, and a mapping calculation is performed based on this operation duration to obtain the target rotation angle of the turntable. For example, the target rotation angle corresponding to the operation duration can be calculated according to a preset duration rotation function, which can be a preset turntable rotation speed function, used to represent the angle of turntable rotation per second.

[0088] In this example embodiment, when the preset input event is a level identifier setting event, refer to Figure 5 As shown, determining the target rotation angle of the turntable may include steps S510 and S520:

[0089] Step S510. Obtain the target level identifier set by the level identifier setting event;

[0090] Step S520. Obtain the target rotation angle based on the target level identifier and the first level identifier, wherein the first level identifier is the level identifier of the first level.

[0091] The following will further explain and illustrate steps S510 and S520. Specifically, the level identifier setting event refers to the operation event that directly sets the target level identifier. For example, the graphical user interface can provide an input box for level identifiers. The operation event in which the user enters the level identifier (such as the level number) in the input box is the level identifier setting event. The entered level identifier is the target level identifier, indicating the level identifier that the turntable needs to rotate to. The first level identifier is the level identifier that the pointer is pointing to before the turntable rotates. Based on the target level identifier and the first level identifier, the number of levels to rotate can be determined, thereby obtaining the target rotation angle.

[0092] In one embodiment, reference Figure 6 As shown, the target rotation angle is obtained based on the target level identifier and the first level identifier, which may include steps S610 and S610:

[0093] Step S610. Obtain the angle span of the checkpoint identifier, and obtain the checkpoint difference based on the target checkpoint identifier and the first checkpoint identifier;

[0094] Step S620. Obtain the target rotation angle based on the product of the checkpoint difference and the angle span.

[0095] The angle span refers to the range of angles within the turntable corresponding to the level marker. Each level marker corresponds to an arc-shaped or sector-shaped area on the turntable, and the size of its central angle is the angle span. For example, the angle of one full rotation of the turntable is denoted as `circle_angle`, typically 360 degrees. The number of level markers on the turntable is denoted as `divide_num`, and the angle span of each level marker is denoted as `divide_angle`. The calculation formula is: `divide_angle = circle_angle / divide_num`. If both the target level marker and the first level marker can be level numbers, subtracting the two level numbers yields the level difference between the first and target levels. Alternatively, if at least one of the target level marker and the first level marker is a non-numbered level marker (such as a level name), the non-numbered level marker can be converted to a level number, and the level difference can be obtained by subtracting the level numbers.

[0096] The following will further explain and illustrate steps S610 and S620. Specifically, firstly, the angle of one rotation of the turntable is circle_angle. The turntable includes multiple level markers. When the number of level markers is divide_num, the angle span of each level marker in the turntable, divide_angle, can be obtained. The angle span of each level marker in the turntable can be expressed as: divide_angle = circle_angle / divide_num, where the specific value of circle_angle, the angle of one rotation of the turntable, can be 360. Then, after obtaining the target level marker aim_level set through the level marker setting event, the level difference between the target level marker aim_level and the first level marker ini_level can be calculated. Finally, based on the angle span of divide_angle of each level marker in the turntable and the level difference between the target level marker and the first level marker, the target rotation angle aim_angle is obtained, where aim_angle = (aim_level - ini_level) * divide_angle.

[0097] The above explains how to determine the target rotation angle of the turntable. Once the target rotation angle is determined, proceed to step S120.

[0098] In step S120, the turntable is controlled to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, wherein the first level is the game level where the turntable was before it rotated.

[0099] The turntable can be rotated in a preset direction. For example, if the preset direction is counter-clockwise, indicating an increasing level progression, the turntable can be rotated counter-clockwise by the target rotation angle. If the target rotation angle is negative, the turntable can be rotated in the opposite direction (e.g., clockwise) by the target rotation angle. After the turntable has rotated the target rotation angle, the current game level changes from the first level to the target level, thus enabling level selection.

[0100] In one embodiment, the turntable includes a base and a pointer, the base including a level identifier for indicating game levels; the turntable may include a rotatable base and a fixed pointer, or it may include a fixed base and a rotatable pointer, which is not specifically limited in this example embodiment, the pointer points to the first level identifier corresponding to the first level before a preset input event.

[0101] When the turntable includes a rotatable base and a fixed pointer, refer to Figure 7 As shown, controlling the turntable to rotate according to the target rotation angle, causing the game level to jump from the first level to the target level, may include steps S710 and S720:

[0102] Step S710. Control the base to rotate relative to the pointer by the target rotation angle, so that the pointer points from the first checkpoint marker to the target checkpoint marker;

[0103] Step S720. Control the game level to jump from the first level to the target level corresponding to the target level identifier.

[0104] The following will further explain and illustrate steps S710 and S720. Specifically, the base of the turntable is controlled to rotate relative to the pointer by a target rotation angle. After the base of the turntable has rotated by the target rotation angle, the level marker pointed to by the pointer of the turntable becomes the target level marker. During the rotation of the base, the game level is controlled to jump from the first level before the turntable rotates to the target level corresponding to the target level marker.

[0105] Furthermore, a preset rotation speed can be obtained to control the rotation angle of the turntable base relative to the pointer target rotation angle, and it also includes: controlling the turntable base to rotate at a preset rotation speed relative to the turntable pointer target rotation angle.

[0106] Furthermore, the first turntable parameter can be obtained, which can be the rotation speed of the pointer; controlling the rotation angle of the turntable pointer relative to the base also includes: controlling the pointer of the turntable to rotate relative to the turntable base by the first turntable parameter.

[0107] Specifically, after determining the target rotation angle, when the turntable includes a fixed base and a rotatable pointer, the pointer of the turntable can be controlled to rotate relative to the base of the turntable by the target rotation angle according to the first turntable parameters.

[0108] In one embodiment, reference Figure 8 As shown, the level selection method also includes steps S810 and S820:

[0109] Step S810. During the process of controlling the turntable to rotate according to the target rotation angle, obtain the current turntable angle, and determine the second level identifier of the second level pointed to by the pointer based on the current turntable angle;

[0110] Step S820. Control the display of the level details information of the second level in the level information display interface of the graphical user interface.

[0111] The following will further explain and illustrate steps S810 and S820. Specifically, during the process of controlling the target rotation angle of the turntable, the current turntable angle_org is obtained. Based on the current turntable angle_org and the initial turntable angle_offset, the current rotation angle cur_angle is obtained. Based on the current rotation angle cur_angle, the second level identifier sec_level of the second level pointed to by the pointer is obtained. After determining the second level identifier currently pointed to by the pointer, the level details of the second level are displayed in the level information display interface of the graphical user interface. The second level identifier is the level identifier of the level pointed to by the pointer during the turntable rotation.

[0112] Further reference Figure 9 As shown, determining the second level marker of the second level pointed to by the pointer based on the current turntable angle can include steps S910-S930:

[0113] Step S910. Obtain the angle span of the level marker and the initial turntable angle of the turntable. Based on the angle difference between the current turntable angle and the initial turntable angle, obtain the current rotation angle of the turntable.

[0114] Step S920. Based on the current rotation angle and the angular span of the level marker, obtain the number of levels that the turntable spans;

[0115] Step S930. Obtain the second level identifier based on the number of levels the turntable traverses and the first level identifier.

[0116] The following will further explain and illustrate steps S910-S930. Specifically, based on the difference between the current turntable angle_org and the initial turntable angle_offset, the current rotation angle cur_angle of the turntable is obtained, where cur_angle = angle_org - angle_offset; based on the current rotation angle cur_angle and the angle span of each level marker in the turntable (divide_angle), the number of levels spanned by the turntable (level) is obtained, where level = int(cur_angle / divide_angle), and cur_angle / divide_angle is a floating-point number. Therefore, after obtaining the floating-point number, it is rounded to obtain the number of levels spanned by the turntable (level); based on the number of levels spanned by the turntable (level) and the first level marker ini_level of the first level pointed to by the pointer before the turntable rotates, the second level marker sec_level is obtained, where sec_level = ini_level + level.

[0117] The initial angle of the turntable is the angle of the turntable before it rotates. After entering the game, the graphical user interface is initialized first, and then the turntable is initialized. When the preset input event is the first input event after the turntable is initialized, the initial turntable angle is 0 degrees; when the preset input event is not the first input event after the turntable is initialized, the target rotation angles corresponding to the input events after the turntable is initialized and before the preset input event are accumulated to obtain the initial turntable angle.

[0118] For example, after initializing the turntable, a first preset input event rotates the turntable from level 19 to level 25. When the first preset input event occurs, the initial turntable angle is 0 degrees. A second preset input event rotates the turntable from level 25 to level 30. When the second preset input event occurs, the initial turntable angle is the target rotation angle of the first preset input event. A third preset input event rotates the turntable from level 30 to level 32. When the third preset input event occurs, the initial turntable angle is the sum of the target rotation angles of the first and second preset input events.

[0119] The turntable initialization includes: loading the turntable and setting the initial turntable angle to 0 degrees; obtaining the level identifier of the level pointed to by the turntable pointer and updating the level identifier displayed on the turntable according to the level identifier of the level pointed to by the turntable pointer.

[0120] For example, after the carousel is initialized, if the level `cur_level` pointed to by the carousel pointer is level 19, then the levels before level 19 are sequentially set to 18, 17, 16, 15, ..., `cur_level-m`, and the levels after level 19 are sequentially set to 20, 21, 22, 23, ..., `cur_level+n`, where `n+m+1` = `divide_num`, and `divide_num` is the number of level identifiers included in the carousel. The level identifiers can range from 0 to `max`, where `max` is the maximum value set for the level identifiers. When the target level identifier exceeds the maximum value, a "locked" identifier is displayed on the carousel, and no level identifier is displayed. The "locked" identifier displayed on the carousel can be a lock icon or other lock-related graphic identifiers; this example embodiment does not impose specific limitations on this.

[0121] In one embodiment, the level selection method is further explained and described. When the first preset input event is a rotation operation event, the operation parameters of the rotation operation event include the touch position, and the rotation operation event is the first input event after the turntable is initialized. Before the turntable rotates based on the rotation operation event, the initial turntable angle_offset is 0 degrees. Based on the first initial touch position and the first final touch position of the rotation operation event in each frame of the game screen, the rotation angle_diff(i) of the turntable in each frame of the game screen is obtained. The rotation angle of the turntable in each frame of the game screen during the rotation operation event is accumulated to obtain the target rotation angle_angle of the turntable. After obtaining the target rotation angle of the turntable, the turntable rotates according to the target rotation angle. During the rotation of the turntable, the current turntable angle_org can be obtained. Based on the current turntable angle_org and the initial turntable angle_offset before the turntable rotates, the rotation angle_offset is calculated. The second level identifier (sec_level) of the level currently pointed to by the turntable is calculated from the offset, the angle span (divide_angle) of each level identifier in the turntable, and the first level identifier (ini_level) before the turntable rotates. This second level identifier (sec_level) is calculated as sec_level = ini_level + (angle_org - angle_offset) / divide_angle. When the initial turntable angle before rotation is 0 (angle_offset = 0), then sec_level = ini_level + angle_org / divide_angle. During the turntable's rotation to the target rotation angle, the level details corresponding to the second level also need to be displayed in the level information display interface of the graphical user interface. After the turntable has rotated to the target rotation angle, the level identifier pointed to by the turntable pointer becomes the level identifier of the target level.

[0122] After the turntable rotates to the target rotation angle based on the aforementioned rotation operation event, a second preset input event occurs. This second preset input event is a level marker setting event. Before this second preset input event occurs, the initial turntable angle_offset is equal to the target rotation angle of the aforementioned rotation operation event. In response to the level marker setting event, the target level marker set by this event is aim_level. After obtaining the target level marker aim_level, based on the target level marker aim_level, the angle span (divide_angle) of each level marker on the turntable, and the first level marker ini_level that the turntable pointer pointed to before the second preset input event occurred (this first level marker is the level marker of the level the pointer points to after the turntable rotates to the target rotation angle), the target rotation angle aim_angle corresponding to this level marker setting event is obtained. Here, aim_angle = (aim_level - ini_level) * d After obtaining the target rotation angle `aim_angle`, the turntable begins to rotate. During the rotation, the current turntable angle `angle_org` can be obtained. Based on the current turntable angle `angle_org`, the second level identifier `sec_level` of the level the turntable pointer is currently pointing to is obtained. `sec_level = ini_level + (angle_org - angle_offset) / divide_angle`, where `ini_level` is the level identifier the pointer was pointing to before the turntable rotated, that is, the level identifier the pointer is pointing to after the turntable rotates to the target rotation angle based on the first preset input event; `angle_offset` is the initial turntable angle before the turntable rotates, and the value of the initial turntable angle is the value of the target rotation angle determined based on the first preset input event. When the turntable pointer points to the second level identifier, the level details information corresponding to the second level is displayed in the level information display interface of the graphical user interface. After the turntable rotates to the target rotation angle, the level identifier the pointer points to is the target level identifier set based on the level identifier setting event.

[0123] The turntable angle can be the angle the turntable has rotated relative to its reference state at a certain state or moment. This angle can be an absolute angle value. For example, the reference state could be the state where the pointer points to the center point of the level marker after the turntable is initialized, corresponding to a turntable angle of 0 degrees. Figure 10 Explain the angle of the turntable. Figure 10(a) is the state of the turntable after initialization. The turntable pointer is currently pointing to the level identifier of level 11. After the turntable is initialized, the pointer will point to the first level identifier of level 11. At this time, the turntable angle is 0. Figure 10 (b) After the turntable rotates the target rotation angle based on the preset input event, the level identifier of the target level that the turntable pointer is currently pointing to is 13. The turntable angle is the angle that the turntable rotates from level 11 to level 13, that is, the angle between the angle bisector of the angle span of level 13 and the angle bisector of the angle span of level 11.

[0124] After the target rotation angle of the turntable is determined by the preset input event, if the target rotation angle is greater than 360 degrees, the turntable angle will continuously increase as the turntable rotates 360 degrees according to the target rotation angle.

[0125] When the turntable rotates counterclockwise, the target rotation angle can be recorded as a positive angle, and when the turntable rotates clockwise, the target rotation angle can be recorded as a negative angle. In this example embodiment, no specific limitation is made. For example, when the turntable rotates one full circle clockwise, the target rotation angle of the turntable can be negative 360 ​​degrees; when the turntable rotates one full circle counterclockwise, the target rotation angle of the turntable can be positive 360 ​​degrees.

[0126] In one embodiment, after the game level jumps from the first level to the target level, the level selection method may further include:

[0127] The level details of the target level are displayed in the level information display interface of the graphical user interface.

[0128] Specifically, the graphical user interface may also include a level information display interface. When the pointer of the dial points to the target level, the level details of the target level are displayed in this level information display interface.

[0129] In this example embodiment, the target rotation angle is variable. Rotating the turntable to achieve this target rotation angle creates an infinite number of level markers on the turntable. After obtaining the target rotation angle, the turntable rotates accordingly. During the rotation, the level markers displayed on the turntable are updated based on the rotation angle, eliminating the need to update the level markers based on a list. This solves the problem in related technologies where level selection can only be achieved through a list. Finally, when the pointer points to the target level marker, other level markers on the turntable are updated using that target level marker. In other words, only the level markers displayed on the turntable need to be loaded, resulting in low memory usage and high computational efficiency. This solves the problems of high memory usage and the need to constantly destroy list items not visible on the turntable in related technologies, thus improving level selection efficiency.

[0130] This disclosure also provides a level selection device, as illustrated in the example embodiments. Figure 11 As shown, it may include: a target rotation angle determination module 1110 and a turntable rotation module 1120. Wherein:

[0131] The target rotation angle determination module 1110 is used to respond to a preset input event and determine the target rotation angle of the turntable based on the preset input event;

[0132] The turntable rotation module 1120 is used to control the turntable to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, wherein the first level is the game level where the turntable was before it rotated.

[0133] The specific details of each module in the aforementioned level selection device have been described in detail in the corresponding level selection method, so they will not be repeated here.

[0134] In one exemplary embodiment of this disclosure, the preset input event is a rotation operation event, and determining the target rotation angle of the turntable includes: determining the target rotation angle based on the operation parameters of the rotation operation event.

[0135] In one exemplary embodiment of this disclosure, determining the target rotation angle based on the operation parameters of the rotation operation event includes: acquiring the operation parameters of the rotation operation event in each frame of the game screen; determining the rotation angle of the turntable in each frame of the game screen according to the operation parameters in each frame of the game screen; and accumulating the rotation angle of the turntable in each frame of the game screen during the rotation operation event to obtain the target rotation angle.

[0136] In one exemplary embodiment of this disclosure, the operation parameters include touch position, and determining the rotation angle of the turntable in each frame of the game screen based on the operation parameters in each frame of the game screen includes: obtaining a first initial touch position and a first final touch position of the rotation operation event in each frame of the game screen; and obtaining the rotation angle of the turntable in each frame of the game screen based on the first initial touch position and the first final touch position.

[0137] In one exemplary embodiment of this disclosure, the operation parameters include operation pressure, and determining the rotation angle of the turntable in each frame of the game based on the operation parameters in each frame of the game includes: obtaining the operation pressure corresponding to the rotation operation event in each frame of the game, and determining the rotation angle of the turntable in each frame of the game based on the operation pressure in each frame of the game.

[0138] In one exemplary embodiment of this disclosure, the operation parameters include touch position, and determining the target rotation angle of the turntable based on the operation parameters of the rotation operation event includes: obtaining a second initial touch position and a second final touch position corresponding to the rotation operation event, and obtaining the target rotation angle of the turntable based on the second initial touch position and the second final touch position.

[0139] In one exemplary embodiment of this disclosure, the operation parameters include operation duration, and determining the target rotation angle based on the operation parameters of the rotation operation event includes: obtaining the operation duration corresponding to the rotation operation event, and determining the target rotation angle of the turntable according to the operation duration.

[0140] In one exemplary embodiment of this disclosure, when the preset input event is a level identifier setting event, determining the target rotation angle of the turntable includes: obtaining the target level identifier set by the level identifier setting event; and obtaining the target rotation angle based on the target level identifier and a first level identifier, wherein the first level identifier is the level identifier of the first level.

[0141] In one exemplary embodiment of this disclosure, obtaining the target rotation angle based on the target level identifier and the first level identifier includes: obtaining the angle span of the level identifier; obtaining the level difference based on the target level identifier and the first level identifier; and obtaining the target rotation angle based on the product of the level difference and the angle span.

[0142] In one exemplary embodiment of this disclosure, the turntable includes a rotatable base and a fixed pointer. The base includes a level identifier for indicating a game level. The pointer points to a first level identifier corresponding to the first level before the preset input event. Controlling the turntable to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, includes: controlling the base to rotate relative to the pointer by the target rotation angle, so that the pointer points from the first level identifier to the target level identifier; and controlling the game level to jump from the first level to the target level corresponding to the target level identifier.

[0143] In one exemplary embodiment of this disclosure, controlling the base to rotate relative to the pointer by the target rotation angle includes: obtaining a preset rotation speed and controlling the base to rotate relative to the pointer by the target rotation angle at the preset rotation speed.

[0144] In one exemplary embodiment of this disclosure, the method further includes: during the process of controlling the turntable to rotate according to the target rotation angle, obtaining the current turntable angle of the turntable, determining the second level identifier of the second level pointed to by the pointer according to the current turntable angle; and controlling the display of level details information of the second level in the level information display interface of the graphical user interface.

[0145] In one exemplary embodiment of this disclosure, determining the second level identifier of the second level pointed to by the pointer based on the current turntable angle includes: obtaining the angular span of the level identifier and the initial turntable angle; obtaining the current rotation angle of the turntable based on the angular difference between the current turntable angle and the initial turntable angle; obtaining the number of levels crossed by the turntable based on the current rotation angle and the angular span of the level identifier; and obtaining the second level identifier based on the number of levels crossed by the turntable and the first level identifier.

[0146] In one exemplary embodiment of this disclosure, when the preset input event is the first input event after the turntable is initialized, the initial turntable angle is 0 degrees; when the preset input event is not the first input event after the turntable is initialized, the input events preceding the preset input event are obtained, and the target rotation angles corresponding to the input events preceding the preset input event are accumulated to obtain the initial turntable angle.

[0147] In one exemplary embodiment of this disclosure, initializing the turntable includes: loading the turntable, setting the initial turntable angle of the turntable to 0 degrees, and updating the level identifier displayed on the turntable according to the first level identifier.

[0148] In one exemplary embodiment of this disclosure, the method further includes: displaying level details information of the target level in the level information display interface of the graphical user interface.

[0149] It should be noted that although several modules or units of the device for performing actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0150] Furthermore, although the steps of the method in this invention are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.

[0151] In an exemplary embodiment of the present invention, an electronic device capable of implementing the above-described method is also provided.

[0152] Those skilled in the art will understand that various aspects of the present invention can be implemented as systems, methods, or program products. Therefore, various aspects of the present invention can be specifically implemented in the following forms: entirely hardware implementations, entirely software implementations (including firmware, microcode, etc.), or implementations combining hardware and software aspects, collectively referred to herein as “circuits,” “modules,” or “systems.”

[0153] The following reference Figure 12 To describe an electronic device 1200 according to this embodiment of the present invention. Figure 12 The electronic device 1200 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

[0154] like Figure 12 As shown, the electronic device 1200 is manifested in the form of a general-purpose computing device. The components of the electronic device 1200 may include, but are not limited to: at least one processing unit 1210, at least one storage unit 1220, a bus 1230 connecting different system components (including storage unit 1220 and processing unit 1210), and a display unit 1240.

[0155] The storage unit stores program code that can be executed by the processing unit 1210, causing the processing unit 1210 to perform the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present invention. For example, the processing unit 1210 can perform actions such as... Figure 1 The steps shown are: S110: responding to a preset input event and determining the target rotation angle of the turntable based on the preset input event; S120: controlling the turntable to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, wherein the first level is the game level where the turntable was before it rotated.

[0156] Storage unit 1220 may include a readable medium in the form of a volatile storage unit, such as random access memory (RAM) 12201 and / or cache memory 12202, and may further include a read-only memory (ROM) 12203.

[0157] Storage unit 1220 may also include a program / utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including but not limited to: operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0158] Bus 1230 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0159] Electronic device 1200 can also communicate with one or more external devices 1300 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 1200, and / or with any device that enables electronic device 1200 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 1250. Furthermore, electronic device 1200 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1260. As shown, network adapter 1260 communicates with other modules of electronic device 1200 via bus 1230. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems.

[0160] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, portable hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, terminal device, or network device, etc.) to execute the method according to the embodiments of the present invention.

[0161] In exemplary embodiments of the present invention, a computer-readable storage medium is also provided, on which a program product capable of implementing the methods described above is stored. In some possible embodiments, various aspects of the present invention may also be implemented as a program product comprising program code that, when the program product is run on a terminal device, causes the terminal device to perform the steps of the various exemplary embodiments of the present invention described in the "Exemplary Methods" section above.

[0162] According to embodiments of the present invention, a program product for implementing the above-described method may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0163] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0164] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0165] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF (Radio Frequency), etc., or any suitable combination thereof.

[0166] Program code for performing the operations of this invention can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0167] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of the present invention, and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0168] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention described herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not invented herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the claims.

Claims

1. A method of checkpoint selection, characterized by, The method includes providing a graphical user interface via a terminal device, wherein the graphical user interface displays a wheel for selecting game levels. Responding to a preset input event, wherein the preset input event is a rotation operation event; acquiring the operation parameters of the rotation operation event in each frame of the game screen; determining the rotation angle of the turntable in each frame of the game screen based on the operation parameters in each frame of the game screen; and accumulating the rotation angle of the turntable in each frame of the game screen during the rotation operation event to obtain the target rotation angle. The turntable is controlled to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, wherein the first level is the game level in which the turntable was before it rotated.

2. The checkpoint selection method of claim 1, wherein, The operation parameters include the touch position, and determining the rotation angle of the turntable in each game frame based on the operation parameters in each game frame includes: Obtain the first initial touch position and the first final touch position of the rotation operation event in each frame of the game screen; The rotation angle of the turntable in each frame of the game is obtained based on the first initial touch position and the first final touch position.

3. The checkpoint selection method of claim 1, wherein, The operating parameters include operating pressure. Determining the rotation angle of the turntable in each game frame based on the operating parameters in each game frame includes: Obtain the operation pressure corresponding to the rotation operation event in each frame of the game screen, and determine the rotation angle of the turntable in each frame of the game screen based on the operation pressure in each frame of the game screen.

4. The checkpoint selection method of claim 1, wherein, The operation parameters include the touch position, and determining the target rotation angle of the turntable based on the operation parameters of the rotation operation event includes: Obtain the second initial touch position and the second final touch position corresponding to the rotation operation event, and obtain the target rotation angle of the turntable based on the second initial touch position and the second final touch position.

5. The checkpoint selection method of claim 1, wherein, The operation parameters include the operation duration. Determining the target rotation angle based on the operation parameters of the rotation operation event includes: Obtain the operation duration corresponding to the rotation operation event, and determine the target rotation angle of the turntable based on the operation duration.

6. The checkpoint selection method of claim 1, wherein, When the preset input event is a level identifier setting event, the target rotation angle of the turntable is determined, including: Obtain the target level identifier set by the level identifier setting event; The target rotation angle is obtained based on the target level identifier and the first level identifier, wherein the first level identifier is the level identifier of the first level.

7. The checkpoint selection method of claim 6, wherein, Based on the target checkpoint identifier and the first checkpoint identifier, the target rotation angle is obtained, including: Obtain the angular span of the level marker, and obtain the level difference value based on the target level marker and the first level marker; The target rotation angle is obtained by multiplying the difference between the checkpoints and the angle span.

8. The checkpoint selection method of claim 1, wherein, The turntable includes a rotatable base and a fixed pointer. The base includes a level indicator for indicating game levels. The pointer points to the first level indicator corresponding to the first level before the preset input event. The control of the turntable to rotate according to the target rotation angle, causing the game level to jump from the first level to the target level, includes: Control the base to rotate relative to the pointer by the target rotation angle, so that the pointer points from the first level marker to the target level marker; The game level is controlled to jump from the first level to the target level corresponding to the target level identifier.

9. The checkpoint selection method of claim 8, wherein, Controlling the base to rotate relative to the pointer by the target rotation angle includes: Obtain a preset rotation speed and control the base to rotate relative to the pointer at the preset rotation speed to the target rotation angle.

10. The level selection method according to claim 8, characterized in that, The method further includes: During the process of controlling the turntable to rotate according to the target rotation angle, the current turntable angle is obtained, and the second level identifier of the second level pointed to by the pointer is determined based on the current turntable angle. The system controls the display of level details for the second level in the level information display interface of the graphical user interface.

11. The checkpoint selection method of claim 10, wherein, The step of determining the second level identifier of the second level pointed to by the pointer based on the current turntable angle includes: Obtain the angle span of the level marker and the initial turntable angle of the turntable. Based on the angle difference between the current turntable angle and the initial turntable angle, obtain the current rotation angle of the turntable. The number of levels that the turntable traverses is obtained based on the current rotation angle and the angle span of the level markers; The second level identifier is obtained based on the number of levels the turntable traverses and the first level identifier.

12. The checkpoint selection method of claim 11, wherein, When the preset input event is the first input event after the turntable is initialized, the initial turntable angle is 0 degrees; When the preset input event is not the first input event after the turntable is initialized, the target rotation angles corresponding to the input events after the turntable is initialized and before the preset input event are accumulated to obtain the initial turntable angle.

13. The checkpoint selection method of claim 12, wherein, The turntable initialization includes: Load the turntable and set its initial turntable angle to 0 degrees; Obtain the level identifier of the level pointed to by the pointer of the turntable, and update the level identifier displayed in the turntable according to the level identifier of the level pointed to by the pointer of the turntable.

14. The checkpoint selection method of claim 1, wherein, After the game level jumps from the first level to the target level, the method further includes: The level details of the target level are displayed in the level information display interface of the graphical user interface.

15. A gateway selection apparatus, characterized by comprising: A graphical user interface is provided via a terminal device, wherein the graphical user interface displays a wheel for selecting game levels, and the device includes: The target rotation angle determination module is used to respond to a preset input event, wherein the preset input event is a rotation operation event; to obtain the operation parameters of the rotation operation event in each frame of the game screen; to determine the rotation angle of the turntable in each frame of the game screen based on the operation parameters in each frame of the game screen; and to accumulate the rotation angle of the turntable in each frame of the game screen during the rotation operation event to obtain the target rotation angle. The turntable rotation module is used to control the turntable to rotate according to the target rotation angle, so that the game level jumps from the first level to the target level, wherein the first level is the game level where the turntable was before it rotated.

16. A computer storage medium having stored thereon a computer program, characterized in that When the computer program is executed by the processing unit, it implements the level selection method according to any one of claims 1-14.

17. An electronic device, comprising: include: Processing unit; as well as A storage unit for storing the executable instructions of the processing unit; The processing unit is configured to execute the level selection method according to any one of claims 1-14 by executing the executable instructions.