Ice skating somatosensory game method, device and computer-readable storage medium

By obtaining the posture data of the somatosensory device to determine the motion status and generating deceleration gliding instructions, the problem of the game object in the skating somatosensory game stopping immediately after stopping movement is solved, enhancing the realism of the game and the player experience.

CN115445201BActive Publication Date: 2024-10-29SHENZHEN SHIMI NETWORK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211071172.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-01
Publication Date
2024-10-29
Estimated Expiration
2042-09-01

AI Technical Summary

Technical Problem

In existing skating somatosensory games, after the player stops moving, the game object immediately stops moving, causing the sports performance to be inconsistent with the actual movement, reducing the realism of the game.

Method used

By obtaining the posture data of the somatosensory device, the player's current motion state is determined, and a deceleration sliding command is generated to control the game object to gradually decelerate from the current sliding speed until it stops, simulating the inertial sliding of real-life skating.

Benefits of technology

It enhances the realism of the skating somatosensory game, improves the player's game immersion and experience, and makes the movement state of the game object closer to the real-life skating movement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115445201B_ABST
    Figure CN115445201B_ABST
Patent Text Reader

Abstract

The present invention discloses a sliding somatosensory game method, device and computer-readable storage medium. The sliding somatosensory game method comprises: after a preset skating somatosensory game is started, obtaining posture data detected by a somatosensory device; determining the current motion state of the player according to the posture data; if it is determined that the player is in a deceleration sliding state, generating a deceleration sliding instruction; and controlling the game object to gradually decelerate from the current sliding speed according to the deceleration sliding instruction. The skating somatosensory game method of the present application has the advantages of enhancing the realism of the game and enhancing the immersion of the player in the game.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of somatosensory game technology, and in particular to a skating somatosensory game method, device and computer-readable storage medium. Background Art

[0002] At present, the somatosensory game architecture on the market is usually a somatosensory motion architecture based on IMU (Inertial Measurement Unit). This somatosensory motion architecture usually maps the user's motion posture in the game. When the player stops moving, the game object controlled by the player will also stop moving. This leads to the situation that when playing some somatosensory games with inertial motion, such as ice skating somatosensory games, once the player stops moving, the object operated by the player will stop directly, while in real ice skating, after the player stops, the object will still slide a certain distance under the action of inertia. This causes the game movement performance to be inconsistent with the actual movement, reduces the realism of the somatosensory game, and affects the player's gaming experience. Summary of the invention

[0003] The embodiment of the present application aims to solve the technical problem of weak realism of skating somatosensory games by providing a skating somatosensory game method.

[0004] To achieve the above objectives, the present application provides a skating somatosensory game method, including:

[0005] After the preset skating motion sensing game is started, the posture data detected by the motion sensing device is obtained;

[0006] Determine the current motion state of the player according to the posture data;

[0007] If it is determined that the player is in a deceleration sliding state, a deceleration sliding instruction is generated;

[0008] The game object is controlled to gradually decelerate from the current sliding speed according to the deceleration sliding instruction.

[0009] In one embodiment, before determining the current motion state of the player according to the posture data, the method further includes:

[0010] It is determined whether the player has completed a skating action that meets a preset standard based on the posture data.

[0011] In one embodiment, the posture data includes a y-axis displacement and a y-axis distance, and the preset standard includes a preset y-axis threshold;

[0012] Judging whether the player has completed a skating action that meets a preset standard according to the posture data includes:

[0013] If the y-axis displacement and the y-axis distance are both greater than or equal to the preset y-axis threshold, it is determined that the player has completed a skating action that meets the preset standard.

[0014] In one embodiment, determining the current motion state of the player according to the posture data includes:

[0015] Calculating the frequency of the player completing skating movements that meet preset standards based on the posture data;

[0016] The current motion state is determined according to the motion frequency.

[0017] In one embodiment, the method further comprises:

[0018] The sliding speed of the game object is determined according to the action frequency.

[0019] In one embodiment, determining that the player is in a deceleration sliding state includes:

[0020] After determining that the player has completed a skating action that meets the preset standard, obtain the current skating speed of the game object;

[0021] Obtaining a reference motion frequency corresponding to the current sliding speed;

[0022] If the player's current action frequency is lower than the reference action frequency, it is determined that the player is in a deceleration sliding state.

[0023] In one embodiment, controlling the game object to gradually decelerate from a current sliding speed according to the deceleration sliding instruction includes:

[0024] According to the preset deceleration rate, the game object is controlled to gradually decelerate from the current sliding speed to the target sliding speed corresponding to the current action frequency.

[0025] In one embodiment, the method further comprises:

[0026] If it is determined that the player is in a uniform sliding state, the game object is controlled to maintain the current sliding speed.

[0027] If it is determined that the player is in an accelerated sliding state, the game object is controlled to accelerate to a sliding speed corresponding to the current action frequency.

[0028] To achieve the above objectives, an embodiment of the present application also proposes a skating somatosensory game device, including a memory, a processor, and a skating somatosensory game program stored in the memory and executable on the processor, wherein the processor implements the skating somatosensory game method as described in any one of the above items when executing the skating somatosensory game program.

[0029] To achieve the above objectives, an embodiment of the present application further proposes a computer-readable storage medium, on which a skating somatosensory game program is stored. When the skating somatosensory game program is executed by a processor, the skating somatosensory game method as described in any one of the above items is implemented.

[0030] It can be understood that in the skating somatosensory game method of the present application, after the preset skating game is started, the terminal can judge the player's current motion state according to the posture data detected by the somatosensory device. If it is determined that the player is currently in a deceleration gliding state, a deceleration gliding instruction is generated to control the player's game object to gradually decelerate from the current gliding speed. In this way, even if the player stops moving in reality, the player's game character will not stop skating immediately, but will gradually decelerate to a stop. In this way, the motion state of the game object in the skating somatosensory game can be close to the real skating movement, which in turn helps to enhance the realism of the skating somatosensory game, so as to enhance the player's game immersion and improve the player's game experience. It can be seen that compared with traditional skating somatosensory games, the skating somatosensory game method of the present application has the advantages of enhancing the realism of the game and enhancing the player's game immersion. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0032] Figure 1 It is a module structure diagram of an embodiment of the skating somatosensory game device of the present invention;

[0033] Figure 2 It is a flow chart of an embodiment of a skating somatosensory game method of the present invention;

[0034] Figure 3 It is a flow chart of another embodiment of the skating somatosensory game method of the present invention;

[0035] Figure 4 The figure is a flow chart of another embodiment of the skating somatosensory game method of the present invention.

[0036] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0037] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0038] In order to better understand the above technical solution, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0039] It should be noted that in the claims, any reference symbols placed between brackets shall not be constructed as limitations to the claims. The presence of "comprising" in the text does not exclude the presence of components or steps not listed in the claims. The quantifier "one" or "an" preceding a component does not exclude the presence of a plurality of such components. The present invention can be implemented by means of hardware comprising several different components and by means of appropriately programmed computers. In a unit claim that lists several means, several of these means may be embodied by the same hardware item. The use of "first", "second", and "third" etc. does not indicate any order, and these words may be interpreted as names.

[0040] like Figure 1 As shown, Figure 1 It is a structural diagram of a server 1 (also called a skating somatosensory game device) in a hardware operating environment involved in an embodiment of the present invention.

[0041] The server of the embodiment of the present invention is a device with display function, such as "Internet of Things devices", smart air conditioners, smart lights, smart power supplies with networking functions, AR / VR devices with networking functions, smart speakers, self-driving cars, PCs, smart phones, tablet computers, e-book readers, portable computers, etc.

[0042] like Figure 1 As shown, the server 1 includes: a memory 11, a processor 12 and a network interface 13.

[0043] The memory 11 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the server 1, such as a hard disk of the server 1. In other embodiments, the memory 11 may also be an external storage device of the server 1, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card, etc., equipped on the server 1.

[0044] Furthermore, the memory 11 may include an internal storage unit of the server 1 as well as an external storage device. The memory 11 may be used not only to store application software and various data installed on the server 1, such as the code of the skating motion sensing game program 10, but also to temporarily store data that has been output or is to be output.

[0045] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, and is used to run program codes or process data stored in the memory 11, such as executing the skating motion sensing game program 10.

[0046] The network interface 13 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), and is generally used to establish a communication connection between the server 1 and other electronic devices.

[0047] The network may be the Internet, a cloud network, a wireless fidelity (Wi-Fi) network, a personal area network (PAN), a local area network (LAN), and / or a metropolitan area network (MAN). Various devices in the network environment may be configured to connect to the communication network according to various wired and wireless communication protocols. Examples of such wired and wireless communication protocols may include, but are not limited to, at least one of the following: Transmission Control Protocol and Internet Protocol (TCP / IP), User Datagram Protocol (UDP), Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), ZigBee, EDGE, IEEE 802.11, Light Fidelity (Li-Fi), 802.16, IEEE 802.11s, IEEE802.11g, multi-hop communication, wireless access point (AP), device-to-device communication, cellular communication protocol, and / or Bluetooth (BlueTooth) communication protocol or a combination thereof.

[0048] Optionally, the server may further include a user interface, which may include a display, an input unit such as a keyboard, and an optional user interface may further include a standard wired interface and a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be referred to as a display screen or a display unit, which is used to display information processed in the server 1 and to display a visual user interface.

[0049] Figure 1 Only the server 1 having components 11-13 and the skating motion sensing game program 10 is shown. It can be understood by those skilled in the art that Figure 1 The structure shown does not constitute a limitation on the server 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0050] In this embodiment, the processor 12 can be used to call the skating motion sensing game program stored in the memory 11 and perform the following operations:

[0051] After the preset skating motion sensing game is started, the posture data detected by the motion sensing device is obtained;

[0052] Determine the current motion state of the player according to the posture data;

[0053] If it is determined that the player is in a deceleration sliding state, a deceleration sliding instruction is generated;

[0054] The game object is controlled to gradually decelerate from the current sliding speed according to the deceleration sliding instruction.

[0055] In one embodiment, the processor 12 may be used to call the skating motion sensing game program stored in the memory 11 and perform the following operations:

[0056] Before determining the current motion state of the player according to the posture data, the method further includes:

[0057] It is determined whether the player has completed a skating action that meets a preset standard based on the posture data.

[0058] In one embodiment, the processor 12 may be used to call the skating motion sensing game program stored in the memory 11 and perform the following operations:

[0059] The posture data includes y-axis displacement and y-axis distance, and the preset standard includes a preset y-axis threshold;

[0060] Judging whether the player has completed a skating action that meets a preset standard according to the posture data includes:

[0061] If the y-axis displacement and the y-axis distance are both greater than or equal to the preset y-axis threshold, it is determined that the player has completed a skating action that meets the preset standard.

[0062] In one embodiment, the processor 12 may be used to call the skating motion sensing game program stored in the memory 11 and perform the following operations:

[0063] Determining the current motion state of the player according to the posture data includes:

[0064] Calculating the frequency of the player completing skating movements that meet preset standards based on the posture data;

[0065] The current motion state is determined according to the motion frequency.

[0066] In one embodiment, the processor 12 may be used to call the skating motion sensing game program stored in the memory 11 and perform the following operations:

[0067] The method further comprises:

[0068] The sliding speed of the game object is determined according to the action frequency.

[0069] In one embodiment, the processor 12 may be used to call the skating motion sensing game program stored in the memory 11 and perform the following operations:

[0070] Determine if the player is in a deceleration sliding state, including:

[0071] After determining that the player has completed a skating action that meets the preset standard, obtain the current skating speed of the game object;

[0072] Obtaining a reference motion frequency corresponding to the current sliding speed;

[0073] If the player's current action frequency is lower than the reference action frequency, the player is judged to be in a deceleration slide.

[0074] In one embodiment, the processor 12 may be used to call the skating motion sensing game program stored in the memory 11 and perform the following operations:

[0075] According to the deceleration sliding instruction, the game object is controlled to gradually decelerate from the current sliding speed, including:

[0076] According to the preset deceleration rate, the game object is controlled to gradually decelerate from the current sliding speed to the target sliding speed corresponding to the current action frequency.

[0077] In one embodiment, the processor 12 may be used to call the skating motion sensing game program stored in the memory 11 and perform the following operations:

[0078] The method further comprises:

[0079] If it is determined that the player is in a uniform sliding state, the game object is controlled to maintain the current sliding speed.

[0080] If it is determined that the player is in an accelerated sliding state, the game object is controlled to accelerate to a sliding speed corresponding to the current action frequency.

[0081] Based on the hardware architecture of the above-mentioned skating somatosensory game device, an embodiment of the skating somatosensory game method of the present invention is proposed. The skating somatosensory game method of the present invention is intended to solve the technical problem of weak realism of skating somatosensory games.

[0082] Reference Figure 2 , Figure 2 This is an embodiment of the skating somatosensory game method of the present invention, and the skating somatosensory game method comprises the following steps:

[0083] S10: After the preset skating motion sensing game is started, the posture data detected by the motion sensing device is obtained.

[0084] Among them, the skating somatosensory game refers to a somatosensory game based on skating. It is worth noting that the skating somatosensory game defined in this application is not limited to traditional skating games, and other games that require skating movements can be considered as the skating somatosensory game of the technical solution of this application.

[0085] Furthermore, the preset skating motion sensing game runs on a terminal, which may be a desktop computer, a laptop computer, a game console, a portable game console, a smart phone, a tablet computer, a smart watch, a smart TV, etc.

[0086] Among them, the somatosensory device refers to a device that can detect the player's posture data. Usually, the somatosensory device is configured to include a six-axis IMU sensor, which includes a three-axis accelerometer and a three-axis gyroscope. The six-axis IMU sensor detects the player's posture data by detecting the changes in the player's three-axis acceleration and three-axis angular velocity. Specifically, the somatosensory device is configured to be wearable, and its form includes but is not limited to the following: bracelets, gloves, watches, headscarves, hats, vests, fitness rings, game controllers, smart phones, etc.

[0087] Furthermore, before the game, the somatosensory device needs to establish a communication connection with the terminal, wherein a wired connection or a wireless connection can be established between the somatosensory device and the terminal. Exemplarily, when the somatosensory device establishes a wired connection with the terminal, it can be based on at least one of the USB2.0 protocol, USB3.0 protocol, Thunderbolt 3 protocol, and Thunderbolt 4 protocol; and when the somatosensory device establishes a wireless connection with the terminal, it can be based on at least one of the Bluetooth protocol, WiFi protocol, infrared protocol, 2.4G communication protocol, and NFC protocol.

[0088] S20: Determine the player's current motion state according to the posture data.

[0089] Specifically, based on the posture data detected by the somatosensory device, the terminal can calculate the player's motion posture / motion trajectory through algorithms such as the Euler angle solution algorithm and the quaternion algorithm. Based on the motion posture / motion trajectory, the terminal can further determine the player's current motion state.

[0090] Specifically, in the skating motion sensing game defined in the present application, the game instructions include acceleration skating instructions, uniform speed skating instructions and deceleration skating instructions, among which the acceleration skating instructions are used to control the player's game object to accelerate skating, the uniform speed skating instructions are used to control the game object to maintain the current skating speed, and the deceleration skating instructions are used to control the player's game object to gradually decelerate and skate at the current skating speed.

[0091] S30: If it is determined that the player is in a deceleration sliding state, a deceleration sliding instruction is generated.

[0092] Specifically, in the skating motion sensing game defined in this application, the player's motion state includes the accelerated skating state, the uniform skating state and the decelerated skating state. The decelerated skating state refers to the state where the player is stationary or the sliding action does not meet the standard, and the decelerated skating instruction is the game control instruction corresponding to the decelerated skating state, which is used to control the game object to decelerate and slide.

[0093] S40. Control the game object to gradually decelerate from the current sliding speed according to the deceleration sliding instruction.

[0094] Among them, the game object refers to the object controlled by the player when playing the game, which can be the player's game character or an object in the game.

[0095] Furthermore, the skating speed refers to the speed parameter of the game object. The terminal assigns different speed parameters to the game object so that the game object can display different speed states in the game interface of the terminal. By changing the speed of the game object, the realism of the skating somatosensory game can be enhanced, which helps to improve the player's game immersion.

[0096] Specifically, after receiving the deceleration sliding instruction, the terminal can control the player's game object to gradually decelerate from the current sliding speed. If the player is always in a deceleration sliding state, the terminal will control the game object to gradually decelerate to 0, that is, stop sliding. Among them, when the player stops moving in reality, the player's game character will not stop sliding immediately, but will gradually decelerate to a stop. In this way, the movement state of the game object in the skating somatosensory game can be close to the real skating movement, which in turn helps to enhance the realism of the skating somatosensory game, so as to enhance the player's game immersion and improve the player's gaming experience.

[0097] In some embodiments, the speed change of the game object can be reflected by adjusting the appearance rate of the reference object in the game interface. For example, the speed change of the game object can be reflected by adjusting the appearance rate of the landmark in the game interface.

[0098] In some embodiments, a sliding speed code table may be set in the game interface, and the change of the sliding speed of the game object may be reflected by the change of the value of the sliding speed code table.

[0099] It can be understood that in the skating somatosensory game method of the present application, after the preset skating game is started, the terminal can judge the player's current motion state according to the posture data detected by the somatosensory device. If it is determined that the player is currently in a deceleration gliding state, a deceleration gliding instruction is generated to control the player's game object to gradually decelerate from the current gliding speed. In this way, even if the player stops moving in reality, the player's game character will not stop skating immediately, but will gradually decelerate to a stop. In this way, the motion state of the game object in the skating somatosensory game can be close to the real skating movement, which in turn helps to enhance the realism of the skating somatosensory game, so as to enhance the player's game immersion and improve the player's game experience. It can be seen that compared with traditional skating somatosensory games, the skating somatosensory game method of the present application has the advantages of enhancing the realism of the game and enhancing the player's game immersion.

[0100] In some embodiments, before determining the current motion state of the player according to the posture data, the skating somatosensory game method of the present application further includes:

[0101] It is determined whether the player has completed a skating action that meets a preset standard based on the posture data.

[0102] Specifically, based on the posture data detected by the somatosensory device, the terminal can calculate the player's motion posture / motion trajectory through algorithms such as Euler angle solution algorithm and quaternion algorithm, and then determine whether the player has completed skating movements that meet preset standards based on the motion posture / motion trajectory.

[0103] Among them, the preset standard is used to limit the player's movement range and movement posture. Only after the player completes the movement that meets the corresponding standard, the terminal will generate the corresponding game instruction. Through this preset standard, the player's game movement can be restricted, so that the player's game movement can be closer to the real skating movement, so as to enhance the realism of the skating somatosensory game and help improve the player's game experience.

[0104] Furthermore, the skating action can be understood as an arm swinging action, and the preset standard can be understood as a preset arm swinging amplitude. If the swinging amplitude of the player is greater than or equal to the preset arm swinging amplitude, it can be considered that the player has completed the arm swinging action, and at this time, it is considered that the leg on the opposite side of the swinging hand has taken a step forward, and then it is considered that the player has performed the skating action. On the contrary, if the swinging amplitude of the player is less than the preset arm swinging amplitude, it can be considered that the player has not completed the arm swinging action, and at this time, it is considered that the leg on the opposite side of the swinging hand has not stepped forward, and then it is considered that the player has not performed the skating action.

[0105] Specifically, the posture data includes y-axis displacement and y-axis distance. The y-axis displacement refers to the distance the somatosensory device moves in the y-axis direction; the y-axis distance refers to the distance between the current position of the somatosensory device and the y-axis initial point in the y-axis direction. The distance refers to an absolute value, not a vector. The y-axis refers to an axis in the spatial coordinate system that represents the front-to-back direction, and the y-axis initial point is a spatial coordinate point that is referenced to the position of the somatosensory device when the skating somatosensory game is running.

[0106] Of course, attitude data also includes other data such as velocity parameters and acceleration data. All data that the six-axis IMU device can provide belongs to the attitude data of this application. This application does not give examples one by one.

[0107] Furthermore, the preset standard includes a preset y-axis threshold.

[0108] Further, judging whether the player has completed a skating action that meets a preset standard according to the posture data includes:

[0109] If the y-axis displacement and the y-axis distance are both greater than or equal to the preset y-axis threshold, it is determined that the player has completed a skating action that meets the preset standard.

[0110] In other words, if either the y-axis displacement or the y-axis distance in the posture data is less than the preset y-axis threshold, it is determined that the player has not completed a skating action that meets the preset standard action.

[0111] Specifically, the position of the somatosensory device when the sliding game is started is assumed to be the initial point, the forward movement of the somatosensory device is regarded as the positive movement of the y-axis, and the backward movement of the somatosensory device is regarded as the negative movement of the y-axis. Then, when the somatosensory device is at the initial position, no matter the displacement value of the somatosensory device controlled by the player to move in the positive direction of the y-axis or in the negative direction of the y-axis is greater than or equal to the preset y-axis threshold, it can be considered that the player has completed a skating action that meets the preset standard.

[0112] Furthermore, after completing a skating action, the y-axis distance in the posture data is greater than the preset y-axis threshold. At this time, if the player maintains the current posture unchanged, the y-axis distance is still greater than the preset y-axis threshold, but the y-axis displacement is basically 0, that is, the y-axis displacement is less than the preset y-axis threshold. In this case, the terminal will determine that the player has not completed the skating action that meets the preset standard. It is worth noting that this posture holding state is basically consistent with the skating posture of the arm remaining still after skating once in the actual skating movement. Therefore, judging that the player has not completed the sliding action at this time is also closer to the actual skating movement.

[0113] If the player controls the somatosensory device to return to the initial position at this time, the y-axis displacement is greater than the preset y-axis threshold, but the y-axis distance is less than the preset y-axis threshold. In this case, the terminal will determine that the player is currently in a deceleration sliding state. This state of restoring the somatosensory device to the initial position is basically consistent with the skating posture of retracting the arms to the body after skating once in actual skating. Therefore, it is judged that the player has not completed the sliding action at this time, which is also closer to the actual skating movement.

[0114] It can be understood that the above scheme can simulate the real skating posture to determine whether the player has completed the skating action, thereby making the game operation of the skating somatosensory game closer to the real skating movement, thereby enhancing the player's immersion and gaming experience.

[0115] like Figure 3 As shown, in some embodiments, determining the current motion state of the player according to the posture data includes:

[0116] S110, calculating the action frequency of the player completing skating actions that meet preset standards based on the posture data.

[0117] Specifically, the action frequency of the player completing the skating actions that meet the preset standards can be calculated based on the total number of times the player completes the skating actions that meet the preset standards within a preset time period.

[0118] S120: Determine the current motion state according to the motion frequency.

[0119] Specifically, the player's current movement frequency can be obtained through the player's action frequency, and the player's current movement state can be determined.

[0120] It can be understood that judging the player's current motion state by action frequency is closer to the actual state, and the player's gaming experience is better.

[0121] In some embodiments, the skating somatosensory game method of the present application further includes:

[0122] The sliding speed of the game object is determined according to the action frequency.

[0123] Specifically, the sliding speed of the game object can be obtained according to the action frequency of the player completing the standard skating action based on a preset action frequency-sliding speed correspondence table or a preset action frequency-sliding speed mapping formula.

[0124] It can be understood that obtaining the skating speed of the game object based on the frequency of the player's standard skating movements can make the skating speed of the game object more realistically reflect the player's athletic performance, thereby enhancing the realism of the somatosensory game and helping to improve the player's gaming experience.

[0125] like Figure 4 As shown, in some embodiments, determining that the player is in a deceleration sliding state includes:

[0126] S210: After determining that the player has completed a skating action that meets a preset standard, obtain the current skating speed of the game object.

[0127] Among them, after determining that the player has completed a skating action that meets the preset standards, the determination to limit the deceleration skating state must be performed after the game object has a certain skating speed.

[0128] Specifically, the sliding speed of the game object is obtained by a certain mapping relationship according to the frequency of the player completing the standard skating action. Since the speed reduction rate of the sliding speed of the game object is fixed, the terminal can obtain the sliding speed of the game object at each moment in real time.

[0129] S220: Obtain a reference action frequency corresponding to the current gliding speed.

[0130] Specifically, based on the corresponding relationship between the preset action frequency and the sliding speed, the corresponding action frequency, ie, the reference action frequency, can be obtained inversely according to the current sliding speed of the game object.

[0131] S230: If the player's current action frequency is lower than the reference action frequency, it is determined that the player is in a deceleration gliding state.

[0132] Specifically, since the sliding speed of the game object corresponds to the frequency of the player completing the standard sliding action, if the player's current action frequency is lower than the reference frequency, it means that the sliding speed corresponding to the player's current action frequency is lower than the current sliding speed of the game object. Then, it can be determined that the player is in a deceleration sliding state.

[0133] It can be understood that after determining that the player has completed a skating action that meets the preset standards, it is then determined whether the player is in a deceleration skating state. In this way, it can ensure that the game object of the player in the current game has a certain skating speed before deceleration skating, so as to avoid the game object decelerating and skating from zero speed, thereby enhancing the realism of the skating somatosensory game and improving the player's gaming experience.

[0134] In some embodiments, controlling the game object to gradually decelerate from a current sliding speed according to the deceleration sliding instruction includes:

[0135] According to the preset deceleration rate, the game object is controlled to gradually decelerate from the current sliding speed to the target sliding speed corresponding to the current action frequency.

[0136] Specifically, the preset deceleration rate refers to the rate at which the sliding speed is reduced. In other words, the preset deceleration rate specifies the value of the sliding speed of the game object per unit time in the deceleration sliding state, such as a deceleration of 5 meters per second. It is worth noting that the unit time can be per second, per 5 seconds, per 30 seconds, per minute, etc., and can be adaptively adjusted according to actual conditions, and this application does not impose specific restrictions on this.

[0137] Furthermore, when it is determined that the player is in a decelerating skating state, the skating speed corresponding to the player's current action frequency of completing standard skating actions can be obtained as the target speed. During the deceleration process of the game object, the game object can be controlled to gradually decelerate from the current skating speed to the target speed. It is worth noting that when the player's action frequency is 0, the game object will decelerate to a standstill according to the preset deceleration rate.

[0138] It can be understood that controlling the gradual deceleration of the game object by a fixed deceleration rate is not only simple and intuitive, but also can reduce the amount of terminal calculation and improve the performance of the terminal.

[0139] In some embodiments, the skating somatosensory game method of the present application further includes:

[0140] If it is determined that the player is in a uniform sliding state, the game object is controlled to maintain the current sliding speed.

[0141] Specifically, if the player's current action frequency is equal to the reference action frequency corresponding to the current sliding speed of the game object, it can be determined that the player is in a uniform sliding state. At this time, the terminal generates a uniform sliding instruction to control the game object to maintain the current sliding speed.

[0142] In some embodiments, the skating somatosensory game method of the present application further includes:

[0143] If it is determined that the player is in an accelerated sliding state, the game object is controlled to accelerate to a sliding speed corresponding to the current action frequency.

[0144] Specifically, if the player's current action frequency is greater than the reference action frequency corresponding to the current sliding speed of the game object, it can be determined that the player is in a greater than sliding state. At this time, the terminal generates an acceleration sliding instruction to control the game object to gradually accelerate to the target sliding speed corresponding to the current action frequency at a fixed acceleration rate.

[0145] It can be understood that the acceleration skating instructions and the constant speed skating instructions can increase the operability and content richness of the skating motion sensing game, which in turn helps to enhance the player's gaming experience.

[0146] In addition, the embodiment of the present invention also proposes a computer-readable storage medium, which can be any one or any combination of a hard disk, a multimedia card, an SD card, a flash memory card, an SMC, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disk read-only memory (CD-ROM), a USB memory, etc. The computer-readable storage medium includes a skating somatosensory game program 10. The specific implementation of the computer-readable storage medium of the present invention is roughly the same as the specific implementation of the above-mentioned skating somatosensory game method and the server 1, which will not be repeated here.

[0147] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0148] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0149] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0150] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0151] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0152] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A skating somatosensory game method, characterized in that: include: After the preset skating motion sensing game is started, the posture data detected by the motion sensing device is obtained; Determine the current motion state of the player according to the posture data; If it is determined that the player is in a deceleration sliding state, a deceleration sliding instruction is generated; According to the deceleration sliding instruction, the game object is controlled to gradually decelerate from the current sliding speed; wherein, Before determining the current motion state of the player according to the posture data, the method further includes: Determining whether the player has completed a skating action that meets a preset standard based on the posture data; The posture data includes y-axis displacement and y-axis distance, wherein the y-axis displacement refers to the distance the somatosensory device moves in the y-axis direction, and the y-axis distance refers to the distance between the current position of the somatosensory device and the y-axis initial point in the y-axis direction, and the y-axis initial point is a spatial coordinate point with reference to the position of the somatosensory device when the skating somatosensory game is running, and the preset standard includes a preset y-axis threshold; Judging whether the player has completed a skating action that meets a preset standard according to the posture data includes: If the y-axis displacement and the y-axis distance are both greater than or equal to the preset y-axis threshold, it is determined that the player has completed a skating action that meets the preset standard.

2. The skating somatosensory game method according to claim 1, characterized in that: Determining the current motion state of the player according to the posture data includes: Calculating the frequency of the player completing skating movements that meet preset standards based on the posture data; The current motion state is determined according to the motion frequency.

3. The skating somatosensory game method according to claim 2, characterized in that: The method further comprises: The sliding speed of the game object is determined according to the action frequency.

4. The skating somatosensory game method according to claim 3, characterized in that: Determine if the player is in a deceleration sliding state, including: After determining that the player has completed a skating action that meets the preset standard, obtain the current skating speed of the game object; Obtaining a reference motion frequency corresponding to the current sliding speed; If the player's current action frequency is lower than the reference action frequency, it is determined that the player is in a deceleration sliding state.

5. The skating somatosensory game method according to claim 3, characterized in that: According to the deceleration sliding instruction, the game object is controlled to gradually decelerate from the current sliding speed, including: According to the preset deceleration rate, the game object is controlled to gradually decelerate from the current sliding speed to the target sliding speed corresponding to the current action frequency.

6. The skating somatosensory game method according to claim 3, characterized in that: The method further comprises: If it is determined that the player is in a uniform sliding state, the game object is controlled to maintain the current sliding speed; If it is determined that the player is in an accelerated sliding state, the game object is controlled to accelerate to a sliding speed corresponding to the current action frequency.

7. A skating somatosensory game device, characterized in that: The invention comprises a memory, a processor and a skating somatosensory game program stored in the memory and executable on the processor, wherein the processor implements the skating somatosensory game method as claimed in any one of claims 1 to 6 when executing the skating somatosensory game program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a skating somatosensory game program, and when the skating somatosensory game program is executed by a processor, the skating somatosensory game method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Foot-gesture-based equipment game and application control method

    CN113842638A