CN115554696A - Operation method of skiing somatosensory game - Google Patents
Operation method of skiing somatosensory game Download PDFInfo
- Publication number
- CN115554696A CN115554696A CN202211301889.8A CN202211301889A CN115554696A CN 115554696 A CN115554696 A CN 115554696A CN 202211301889 A CN202211301889 A CN 202211301889A CN 115554696 A CN115554696 A CN 115554696A
- Authority
- CN
- China
- Prior art keywords
- somatosensory
- flight
- data
- game
- skiing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
- A63F13/428—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving motion or position input signals, e.g. signals representing the rotation of an input controller or a player's arm motions sensed by accelerometers or gyroscopes
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
- A63F13/2145—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
- A63F13/56—Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/807—Gliding or sliding on surfaces, e.g. using skis, skates or boards
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/10—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
- A63F2300/1068—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
- A63F2300/1075—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8041—Skating using skis, skates or board
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method, a device and equipment for operating a skiing somatosensory game and a computer-readable storage medium, wherein the method for operating the skiing somatosensory game comprises the following steps: after a preset skiing somatosensory game is started, mapping operation keys on a touch display module of a paired somatosensory device, wherein the operation keys comprise flight keys; acquiring somatosensory data and key operation data from the somatosensory equipment; performing a skiing operation according to the data; and if the key operation data comprise operation data of flight keys, executing flight operation, and adjusting the duration of the current flight operation according to the somatosensory data when the flight operation is executed. The skiing somatosensory game method has the advantages of low cost, wide applicability, strong game operability, strong immersion and the like.
Description
Technical Field
The invention relates to the technical field of motion sensing games, in particular to a skiing type motion sensing game operation method, device and equipment and a computer readable storage medium.
Background
The motion sensing game is a game which collects motion data of a user by means of motion sensing equipment and controls game roles according to the motion data. The game mode has the advantages that the user needs to participate in the game process, the participation sense of the user is stronger, and the physical health of the user is protected.
However, the conventional motion sensing game has a problem that motion sensing data cannot be used for realizing non-motion related functions such as shooting, prop throwing and the like because motion sensing data is used for controlling the motion of a game character. At present, for the functions related to non-sports, the functions are usually realized by depending on a specific motion sensing gamepad, but the use of the specific gamepad not only increases the game cost of users, but also limits the game instantaneity and freedom.
Disclosure of Invention
The embodiment of the application provides an operation method of a skiing somatosensory game, and aims to improve the playability of the skiing somatosensory game and reduce the game cost of the skiing somatosensory game.
In order to achieve the above object, an embodiment of the present application provides a method for operating a skiing-like motion sensing game, including:
after a preset skiing somatosensory game is started, mapping operation keys on a touch display module of a paired somatosensory device, wherein the operation keys comprise flight keys;
acquiring somatosensory data and key operation data from the somatosensory equipment;
performing a skiing operation according to the data;
and if the key operation data comprise operation data of flight keys, executing flight operation, and adjusting the duration of the current flight operation according to the somatosensory data when the flight operation is executed.
In an embodiment, the method further comprises:
during the execution of the flying operation, the moving direction of the game character is controlled based on the set moving route.
In one embodiment, adjusting the duration of the current flight operation according to the somatosensory data includes:
acquiring initial flight time before executing flight operation;
when the flight operation is executed, the current remaining flight duration is decreased every second on the basis of the initial flight duration until the current remaining flight duration is 0;
acquiring a duration increment value according to the somatosensory data during the execution of the flight operation;
and updating the current remaining flight time according to the time increase value.
In one embodiment, acquiring a duration increment value according to somatosensory data during execution of flight operation comprises:
splitting the somatosensory data according to a preset time window;
calculating the frequency of swinging arms of the user in each time window by calculating the somatosensory data;
and acquiring the duration increment value according to the swing arm times in each preset time window.
In an embodiment, the duration of the preset time window is not less than 2 seconds;
updating the current remaining flight duration according to the duration increment value, wherein the updating comprises the following steps:
and updating the current remaining flight time once each time one time length increasing value is obtained.
In one embodiment, the operation keys further include an acceleration key, and the method further includes:
accumulating acceleration energy according to the somatosensory data;
and after the acceleration energy reaches a set value, if operation data of an acceleration key is received from the somatosensory device, executing set acceleration operation.
In one embodiment, the operation keys further include a prop throwing key, and the method further includes:
and if the operation data of the throwing key is received from the motion sensing equipment, executing the set prop throwing operation.
In order to achieve the above object, an embodiment of the present invention further provides a ski-like motion sensing game operation device, including:
the key mapping module is used for mapping operation keys of a touch display module of the paired motion sensing equipment after a preset skiing type motion sensing game is started, and the operation keys comprise flight keys;
the data acquisition module is used for acquiring somatosensory data and key operation data from the somatosensory equipment;
the skiing operation module is used for executing skiing operation according to the data;
and the flight operation module is used for executing flight operation when the key operation data comprise operation data of flight keys, and adjusting the duration of the current flight operation according to the somatosensory data when the flight operation is executed.
In order to achieve the above object, an embodiment of the present invention further provides a skiing type motion sensing game operation device, including a memory, a processor, and a skiing type motion sensing game operation program stored in the memory and executable on the processor, where the processor implements the skiing type motion sensing game operation method according to any one of the above embodiments when executing the skiing type motion sensing game operation program.
In order to achieve the above object, an embodiment of the present application further provides a computer-readable storage medium, where a ski-like motion sensing game operation program is stored, and when executed by a processor, the computer-readable storage medium implements the method for operating a ski-like motion sensing game as described in any one of the above items.
The utility model provides a recreation operation method is felt to skiing class body, when playing, through the touch-control display module mapping shooting button at body sensing equipment, thus, in the recreation process, can carry out flight operation according to body sensing data, carry out flight operation according to button operation data, thereby can realize body sensing control and key control with conventional body sensing equipment simultaneously, consequently, even use ordinary body sensing equipment, like intelligent wrist-watch, the input of button instruction also can be carried out to intelligent bracelet, just so need not specific body sensing recreation equipment, thereby user's recreation cost can greatly be reduced, and the randomness and the freedom of promotion recreation. And moreover, the flight time length can be adjusted according to the somatosensory data, and the operability of the game and the immersion of the user can be further improved. Therefore, compared with the traditional skiing somatosensory game method, the skiing somatosensory game method has the advantages of low cost, wide applicability, strong game operability, strong immersion and the like.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a block configuration diagram of an embodiment of a ski-like somatosensory game operating device of the invention;
FIG. 2 is a schematic flow chart illustrating an embodiment of a method for operating a skiing-like motion sensing game according to the present invention;
FIG. 3 is a schematic flow chart illustrating a method of operating a skiing-like motion sensing game according to another embodiment of the present invention;
FIG. 4 is a schematic flow chart illustrating a method of operating a ski-like somatosensory game according to yet another embodiment of the invention;
FIG. 5 is a schematic flow chart illustrating a method of operating a skiing-like motion sensing game according to another embodiment of the present invention;
fig. 6 is a block diagram of an embodiment of the operation device for a skiing-like motion sensing game of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of "first," "second," and "third," etc. do not denote any order, and such words are to be interpreted as names.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a server 1 (also called a ski-like motion sensing game operating device) in a hardware operating environment according to an embodiment of the present invention.
The server provided by the embodiment of the invention comprises equipment with a display function, such as Internet of things equipment, an intelligent air conditioner with a networking function, an intelligent electric lamp, an intelligent power supply, AR/VR equipment with a networking function, an intelligent sound box, an automatic driving automobile, a PC, a smart phone, a tablet computer, an electronic book reader, a portable computer and the like.
As shown in fig. 1, the server 1 includes: memory 11, processor 12, and network interface 13.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 11 may in some embodiments be an internal storage unit of the server 1, for example a hard disk of the server 1. The memory 11 may also be an external storage device of the server 1 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the server 1.
Further, the memory 11 may also include an internal storage unit of the server 1 and also an external storage device. The memory 11 may be used to temporarily store data that has been output or is to be output, as well as application software installed in the server 1 and various types of data, such as a code of the ski-like somatosensory game operation program 10.
The processor 12 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip in some embodiments, and is used for executing program codes stored in the memory 11 or Processing data, such as executing the skiing type somatosensory game operation program 10.
The network interface 13 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), and is typically used to establish a communication link between the server 1 and other electronic devices.
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: 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, optical fidelity (Li-Fi), 802.16, IEEE 802.11s, IEEE 802.11g, multi-hop communications, wireless Access Points (APs), device-to-device communications, cellular communication protocol, and/or bluetooth (Blue Tooth) communication protocol, or a combination thereof.
Optionally, the server may further comprise a user interface, which may include a Display (Display), an input unit such as a Keyboard (Keyboard), and an optional user interface may also include a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is used for displaying information processed in the server 1 and for displaying a visualized user interface.
While fig. 1 shows only a server 1 having components 11-13 and a ski-like somatosensory game operating program 10, those skilled in the art will appreciate that the configuration shown in fig. 1 is not intended to be limiting of server 1 and may include fewer or more components than those shown, or some components in combination, or a different arrangement of components.
In this embodiment, the processor 12 may be configured to call the operation program of the skiing-like somatosensory game stored in the memory 11, and perform the following operations:
after a preset skiing somatosensory game is started, mapping operation keys on a touch display module of a paired somatosensory device, wherein the operation keys comprise flight keys;
acquiring somatosensory data and key operation data from the somatosensory equipment;
performing a skiing operation according to the data;
and if the key operation data comprise operation data of flight keys, executing flight operation, and adjusting the duration of the current flight operation according to the somatosensory data when the flight operation is executed.
In one embodiment, the processor 12 may be configured to call the operation program of the ski-like somatosensory game stored in the memory 11, and perform the following operations:
the method further comprises the following steps:
during the execution of the flying operation, the moving direction of the game character is controlled based on the set moving route.
In one embodiment, the processor 12 may be configured to call the operation program of the ski-like somatosensory game stored in the memory 11, and perform the following operations:
adjusting the duration of the current flight operation according to the somatosensory data, including:
acquiring initial flight time before executing flight operation;
when the flight operation is executed, the current remaining flight duration is decreased every second on the basis of the initial flight duration until the current remaining flight duration is 0;
acquiring a duration increment value according to the somatosensory data during the execution of the flight operation;
and updating the current remaining flight time according to the time increase value.
In one embodiment, the processor 12 may be configured to call the operation program of the ski-like somatosensory game stored in the memory 11, and perform the following operations:
obtaining a duration increment value according to somatosensory data during executing flight operation, comprising:
splitting the somatosensory data according to a preset time window;
calculating the frequency of swinging arms of the user in each time window by calculating the somatosensory data;
and acquiring the duration increment value according to the number of times of swinging the arm in each preset time window.
In one embodiment, the processor 12 may be configured to call the operation program of the ski-like somatosensory game stored in the memory 11, and perform the following operations:
the duration of the preset time window is not less than 2 seconds;
updating the current remaining flight duration according to the duration increment value, comprising:
and updating the current remaining flight time once each time one time length increasing value is obtained.
In one embodiment, the processor 12 may be configured to call the operation program of the ski-like somatosensory game stored in the memory 11, and perform the following operations:
the operation keys further comprise an acceleration key, and the method further comprises:
accumulating acceleration energy according to the somatosensory data;
and after the acceleration energy reaches a set value, if operation data of an acceleration key is received from the body sensing equipment, executing set acceleration operation.
In one embodiment, the processor 12 may be configured to call the operation program of the ski-like somatosensory game stored in the memory 11, and perform the following operations:
the operation keys further comprise a prop throwing key, and the method further comprises the following steps:
and if the operation data of the throwing key is received from the motion sensing equipment, executing the set prop throwing operation.
Based on the hardware framework of the skiing type motion sensing game operating equipment, the embodiment of the skiing type motion sensing game operating method is provided. The invention provides an operation method of a skiing somatosensory game, and aims to improve the playability of the skiing somatosensory game and reduce the game cost of the skiing somatosensory game.
Referring to fig. 2, fig. 2 is a diagram of an embodiment of an operation method of a skiing type motion sensing game, where the operation method of the skiing type motion sensing game includes the following steps:
and S10, after the preset skiing type somatosensory game is started, mapping operation keys of a touch display module of the paired somatosensory equipment are pressed, wherein the operation keys comprise flight keys.
Here, the ski-like motion sensing game is a motion sensing game that requires a player to control a game character to perform skiing, and may be a local application program, an HTML5 applet, a web application, or the like. Specifically, the motion sensing game runs on a terminal, and the terminal can be a desktop computer, a notebook computer, a game host, a portable game host, a smart phone, a tablet computer, a smart watch, a smart television and the like.
The motion sensing device is a device capable of detecting motion sensing data of a player, and generally, the motion sensing device is configured to include a six-axis IMU sensor including a three-axis accelerometer and a three-axis gyroscope, and the six-axis IMU sensor detects the motion sensing data of the player by detecting a change in three-axis acceleration and a change in three-axis angular velocity of the player. Specifically, the motion sensing device is wearable, and the form thereof includes, but is not limited to, the following: bracelets, watches, gamepads, smart phones, and the like.
Further, before playing, the motion sensing device needs to establish a communication connection with the terminal (i.e. establish a pairing with the terminal), where the motion sensing device and the terminal may establish a wired connection or a wireless connection. For example, when the somatosensory device establishes a wired connection with the terminal, the wired connection can be based on at least one of a USB2.0 protocol, a USB3.0 protocol, a thunder and lightning 3 protocol and a thunder and lightning 4 protocol; and when the somatosensory device is wirelessly connected with the terminal, the somatosensory device can be based on at least one of a Bluetooth protocol, a WiFi protocol, an infrared protocol, a 2.4G communication protocol and an NFC protocol.
Specifically, in the technical solution defined in the present application, the motion sensing device needs to have a touch display module to display a graphical user interface required by the game, and the touch display module has a touch function besides being capable of displaying the required graphical user interface, so that the user can input an instruction in a touch manner.
The acceleration key is a key corresponding to flight operation in a skiing type somatosensory game, and through the flight key, a user can input a flight instruction on the somatosensory device so as to realize the flight operation of a game role.
Specifically, when a user starts a skiing somatosensory game on a terminal, the terminal generates operation key data based on preset operation keys of the current somatosensory game and transmits the operation key data to the somatosensory equipment based on a communication mode. After the somatosensory device receives the operation key data, the corresponding operation key is displayed on the corresponding touch display module based on the operation key data. The preset operation keys correspond to functions which are difficult to realize through somatosensory data in the somatosensory game, and in the game process, a user can trigger the operation keys to realize functions of shooting, flying, prop throwing and the like. It should be noted that, according to the difference of game types or the difference of game contents, different numbers of operation keys are preset for each motion sensing game, and flight keys are preset for the skiing type motion sensing game defined in the technical scheme of the application.
According to the technical scheme, corresponding operation keys are mapped on the touch control display module of the motion sensing device according to the motion sensing game currently running on the terminal, so that a user can input a specific control instruction by using common motion sensing devices (such as a smart watch, a smart bracelet and the like) without purchasing a specific game handle, and the game cost of the user can be greatly reduced. In addition, as the game handle is not required to be carried, the user can play games at any time, and the anytime and the freedom of the games are improved. In addition, as the virtual operation keys are mapped on the touch display module, different key operations can be mapped in a self-adaptive manner according to different body sensing games, so that the touch display module can adapt to various body sensing games and meet different use requirements.
And S20, acquiring somatosensory data and key operation data from the somatosensory equipment.
The motion sensing data refers to gesture data of a user, which are acquired by the motion sensing device and comprise triaxial acceleration data and triaxial angular velocity data; the key operation data refers to data when the user touches the operation key.
Further, when the terminal runs the motion sensing game, the motion sensing device continuously transmits motion sensing data and key operation data to the terminal based on a communication protocol for establishing communication connection with the terminal and a set sampling frequency.
For example, when the motion sensing device is paired with a terminal via a bluetooth protocol and a communication connection is established, the motion sensing device may send sampling data (which may also be understood as data sent by the motion sensing device to the terminal at a frequency of 50 Hz) to the terminal at intervals of 20ms, where the sampling data includes motion sensing data and key operation data.
And S30, performing skiing operation according to the data.
Specifically, after receiving the somatosensory data transmitted by the somatosensory device, the terminal can obtain the motion/attitude trajectory of the user according to attitude algorithms such as an euler angle algorithm, a direction cosine method and a quaternion algorithm, and then obtain a corresponding game character skiing operation instruction according to the motion/attitude trajectory data obtained through calculation. And after the terminal sends the skiing operation instruction to the current skiing somatosensory game, the game executes corresponding skiing operation. For example, the skiing direction, skiing speed and the like of the game character are controlled according to the body feeling data.
And S40, if the key operation data comprise operation data of a flight key, executing flight operation, and adjusting the duration of the current flight operation according to the somatosensory data when the flight operation is executed.
Here, the flying operation means to control the game character to depart from the current ski track for avoiding obstacles on the ski track and the like.
Specifically, in the game process, if a user inputs a flight operation instruction through a flight key on the motion sensing device, the terminal executes flight operation to enable the game character to enter a flight state. When the game role enters a flight state, the terminal can adjust the duration of the current issuing operation according to the somatosensory data acquired by the somatosensory equipment.
Specifically, the motion performance of the user in the flight state can be determined according to the motion sensing data terminal, and the duration of the current flight operation can be adjusted according to the motion performance. Specifically, the better the athletic performance of the user in the flight phase, the longer the duration of the current flight maneuver, and conversely, the worse the athletic performance of the user in the flight phase, the shorter the duration of the current flight maneuver. Therefore, the duration of the flight operation can be adjusted according to the athletic performance of the user, and compared with the traditional game based on the flight operation with fixed duration, the operability of the game is stronger, the game participation and immersion of the user are stronger, and the game experience of the user is more facilitated.
It can be understood that game operation method is felt to skiing class of this application technical scheme, when playing the recreation, through the touch-control display module mapping shooting button at body sensing equipment, so, in the recreation process, can carry out flight operation according to body sensing data, carry out flight operation according to button operation data, thereby can realize body sensing control and button control simultaneously with conventional body sensing equipment, consequently, even use ordinary body sensing equipment, like smart watch, the input of button instruction also can be carried out to smart bracelet, just so need not specific body sensing recreation equipment, thereby user's recreation cost can greatly be reduced, and the anytime nature and the freedom of promotion recreation. And moreover, the flight time length can be adjusted according to the somatosensory data, and the operability of the game and the immersion of the user can be further improved. Therefore, compared with the traditional skiing somatosensory game method, the skiing somatosensory game method has the advantages of low cost, wide applicability, strong game operability, strong immersion and the like.
In some embodiments, the method further comprises:
during the execution of the flying operation, the moving direction of the game character is controlled based on the set moving route.
The set moving route refers to a moving route of a game object preset in an issuing state, and is used for realizing the autonomous control of the movement of the game character when the game character enters a flying state. For example, the movement route may be set to a straight line movement.
It can be understood that through the removal route of this settlement, can realize the autonomous control of game role, so, the player can need not to control the removal of game role again, and the adjustment of the time of flight is realized to the use body to feel data to the transition, and then can reduce the operation degree of difficulty of recreation, promotes player's gaming experience. Of course, the design of the present application is not limited to this, and in other embodiments, after entering the flight state, the movement control of the game character may also be implemented by means of the operation keys on the motion sensing device.
As shown in fig. 3, in some embodiments, adjusting the duration of the current flight operation according to the somatosensory data includes:
and S110, acquiring initial flight time before executing flight operation.
The initial flight duration refers to a preset duration serving as a basic duration of the flight operation, and for example, if the initial flight duration is set to 5s, the duration of the flight operation of the game character is 5s without the influence of the user somatosensory data. Of course, the initial flight time period is not limited to 5s, and may be set to 2s, 10s, 15s, or the like. It should be noted that the initial flight time is not fixed, and can be adaptively adjusted according to different levels of game stages or game characters.
Specifically, after the current skiing somatosensory game is started, the game determines the duration of flight operation in the current game stage, and the duration is the initial flight duration. After the flight operation is started, if the flight duration is over, the flight operation is also over.
And S120, when the flight operation is executed, the current remaining flight time is decreased every second on the basis of the initial flight time until the current remaining flight time is 0.
Specifically, after the flight operation is started, the terminal decrements the current flight duration per second, that is, after the game character enters the flight state, the flight duration is decremented based on the initial flight duration until the current flight duration returns to 0.
And S130, acquiring a time length increasing value according to the somatosensory data during the flight operation.
Wherein the duration increase value refers to a value for increasing the current flight duration.
Specifically, the duration increase value is acquired according to the body sensing data during the flight operation, and the duration of the flight can be increased according to the game performance of the player.
And S140, updating the current remaining flight time according to the time increase value.
Specifically, after the duration increase value is calculated according to the somatosensory data, the corresponding duration increase value can be increased on the basis of the current remaining flight duration to obtain the updated current remaining flight duration, and the updated flight duration is the actual remaining flight duration.
It can be understood that the duration of the flight state can be adaptively adjusted according to the game performance of the user in the above manner, so that the activity of the user movement can be mobilized, and the game immersion of the user can be improved.
As shown in fig. 4, in some embodiments, obtaining the duration increment value according to the somatosensory data during the execution of the flight operation includes:
and S111, splitting the somatosensory data according to a preset time window.
The preset time window is a window which takes time as a unit and is used for splitting somatosensory data during the execution of flight operation.
Specifically, during the flight operation, when the somatosensory data transmitted by the somatosensory device meet the duration requirement of a preset time window, the terminal splits the somatosensory data at one time.
And S112, calculating the swing arm times of the user in each time window by the aid of the somatosensory data.
Specifically, when a skiing-type motion sensing game is played, a user is required to perform a swing arm operation, and thus motion sensing data acquired by the motion sensing device is motion data of the user when swinging the arm. Then, based on the somatosensory data collected by the somatosensory equipment, the terminal can obtain the motion posture of the user through algorithms such as an Euler angle algorithm and the like, and then the number of times of swinging arms of the user can be calculated through setting a threshold value. It should be noted that, since the user usually wears/uses the motion sensing device with only one hand, the number of swing arms calculated is the number of swing arms of one arm of the user.
S113, acquiring the duration increment value according to the number of times of swinging the arm in each preset time window.
Specifically, after the swing arm times of the user are obtained through calculation, the corresponding duration increment value can be obtained based on the swing arm times. Specifically, the number of times of swinging the arm of the user corresponds to a set time length increase value, and thus, each time the user completes a swinging motion, the number of times of swinging the arm corresponds to a set time length increase value. In other words, the higher the swing arm frequency within a single time window of the user, the more incremental value is obtained.
It can be understood that, through the above manner, the added value of the flight time can be obtained based on the times of the swing arm of the user, and the added value of the flight time is in positive correlation with the swing arm frequency of the user, so that the enthusiasm of the user in motion can be stimulated, and the participation sense of the user in game can be further improved.
In some embodiments, the preset time window is no less than 2 seconds in duration.
Specifically, the preset time window is set to be not less than 2 seconds, on one hand, the motion sensing data is sufficient and complete to be used for calculating the swing arm times of the user, and on the other hand, the situation that the increase of the flight time is far larger than the decrease of the flight time, so that the game character is always in the flight state, and the normal game experience of the user is influenced is avoided.
Illustratively, the duration of the preset time window is set to 2 seconds, 2.5 seconds, 3 seconds, etc.
In some embodiments, updating the current remaining flight duration according to the duration increment value includes:
and updating the current remaining flight time once each time one time duration increment value is obtained.
Particularly, the real-time updating during the current remaining flight can be realized by the arrangement, and the timeliness of data updating is ensured so as to improve the game experience of users.
As shown in fig. 5, in some embodiments, the operation keys further include an acceleration key, and the method further includes:
and S210, accumulating acceleration energy according to the somatosensory data.
The acceleration energy is a precondition necessary for executing an acceleration operation in a game, and a user can execute the acceleration condition only after accumulating a certain amount of acceleration energy during the game. In other words, until the acceleration energy is not accumulated sufficiently, even if the user inputs an instruction for the acceleration operation, the game character cannot perform the acceleration operation. Specifically, after receiving the somatosensory data transmitted by the somatosensory device, the terminal can obtain the motion/posture trajectory of the user according to the posture algorithms such as the euler angle algorithm, the direction cosine method, the quaternion algorithm and the like, and then obtain the corresponding running operation instruction of the game role according to the motion/posture trajectory data obtained by calculation. And after the terminal sends the running operation instruction to the current skiing somatosensory game, the game executes corresponding running operation. Such as controlling the running direction, running speed and the like of the game role according to the body sensing data. In addition, in the technical scheme of the application, acceleration energy required by acceleration operation can be accumulated according to the body feeling data. Therefore, accumulation of accelerated energy can be achieved according to the athletic performance of the user, and compared with the traditional game which acquires energy through collecting energy props, the game playing method has the advantages that not only is operability of the game stronger, but also the game participation sense and the immersion sense of the user are stronger, and the game playing experience of the user is further promoted.
And S220, after the acceleration energy reaches a set value, if operation data of an acceleration key is received from the body sensing equipment, executing set acceleration operation.
Specifically, after the acceleration energy accumulation is completed, if the user inputs an acceleration operation instruction through an acceleration key on the motion sensing device, the terminal performs an acceleration operation to increase the skiing speed of the game character. In addition, when the acceleration operation is performed, the skiing speed of the game character may be increased to a fixed speed, or the skiing speed of the game character may be increased according to a set magnification.
It can be understood that, with the above arrangement, accumulation of acceleration data can be realized according to the body feeling data, which further contributes to further improving operability of the game and immersion of the user.
In some embodiments, accumulating acceleration energy from somatosensory data comprises:
and S310, calculating the swing arm times of the user according to the somatosensory data.
Specifically, when a skiing-type motion sensing game is played, a user is required to perform a swing arm operation, and thus motion sensing data acquired by the motion sensing device is motion data of the user when swinging the arm. Then, based on the somatosensory data collected by the somatosensory equipment, the terminal can obtain the motion posture of the user through algorithms such as an Euler angle algorithm and the like, and then the number of times of swinging arms of the user can be calculated through setting a threshold value. It should be noted that, since the user usually wears/uses the motion sensing device with only one hand, the number of swing arms calculated is the number of swing arms of one arm of the user.
And S320, accumulating the acceleration energy according to the times of the swing arm.
Specifically, after the swing arm number of the user is calculated, accumulation of acceleration energy may be performed based on the swing arm number. Specifically, the number of times of swinging the arm of the user corresponds to a set energy value, and thus, the acceleration energy is increased by a set energy value every time the user completes one swinging motion. In other words, the higher the swing arm frequency of the user, the faster the acceleration energy will accumulate.
It can be understood that, through the above manner, the accumulation of the acceleration energy can be performed based on the number of times of the swing arm of the user, and the accumulation of the acceleration energy is in positive correlation with the frequency of the swing arm of the user, so that the enthusiasm of the user in the motion can be stimulated, and the participation sense of the user in the game can be improved.
In some embodiments, the operation keys further include a prop throwing key, the method further comprising:
and if the operation data of the throwing key is received from the motion sensing equipment, executing the set prop throwing operation.
Specifically, the property throwing key is a key corresponding to a property throwing function, and based on the property throwing key, a user can input a property throwing instruction to realize the property throwing operation. It should be noted that, in the current skiing somatosensory games, the props that can be thrown by the prop throwing key include, but are not limited to, negative gain props, positive gain props, special gate clearance props (such as bridges, escalators, and the like). It can be understood that the operability of the skiing somatosensory game can be improved by the aid of the prop throwing keys, and the game content can be enriched, so that the interestingness of the game is improved.
Further, referring to fig. 6, an embodiment of the present invention further provides a ski-like body-sensory game operation device including:
the key mapping module 110 is configured to map operation keys on a touch display module of a paired motion sensing device after a preset skiing type motion sensing game is started, where the operation keys include flight keys;
a data acquisition module 120 configured to acquire motion sensing data and key operation data from the motion sensing device;
a skiing operation module 130 for performing skiing operations according to the data;
and the flight operation module 140 is configured to execute a flight operation when the key operation data includes operation data of a flight key, and adjust duration of a current flight operation according to the somatosensory data when the flight operation is executed.
The steps implemented by each functional module of the skiing somatosensory game operating device can refer to each embodiment of the skiing somatosensory game operating method, and are not described herein again.
In addition, the embodiment of the present invention further provides a computer-readable storage medium, which may be any one of 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 disc read only memory (CD-ROM), a USB memory, and the like. The computer-readable storage medium includes a program 10 for operating a ski-like motion sensing game, and the specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the specific embodiment of the method for operating a ski-like motion sensing game and the server 1 described above, and will not be described again.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such 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 such modifications and variations.
Claims (10)
1. A skiing somatosensory game operation method is characterized by comprising the following steps:
after a preset skiing somatosensory game is started, mapping operation keys on a touch display module of a paired somatosensory device, wherein the operation keys comprise flight keys;
acquiring somatosensory data and key operation data from the somatosensory equipment;
performing a skiing operation according to the data;
and if the slave key operation data comprise operation data of flight keys, executing flight operation, and adjusting the duration of the current flight operation according to the somatosensory data when the flight operation is executed.
2. The method of operating a ski-like somatosensory game of claim 1, further comprising:
during the execution of the flying operation, the moving direction of the game character is controlled based on the set moving route.
3. The method for operating a ski-like somatosensory game according to claim 2, wherein adjusting the duration of the current flight operation according to the somatosensory data comprises:
before executing flight operation, acquiring initial flight time;
when the flight operation is executed, the current remaining flight duration is decreased every second on the basis of the initial flight duration until the current remaining flight duration is 0;
acquiring a duration increment value according to the somatosensory data during the execution of the flight operation;
and updating the current remaining flight time according to the time increase value.
4. The method for operating a ski-like somatosensory game according to claim 3, wherein obtaining the increased value of the duration according to the somatosensory data during the execution of the flight operation comprises:
splitting the somatosensory data according to a preset time window;
calculating the frequency of swinging arms of the user in each time window by calculating the somatosensory data;
and acquiring the duration increment value according to the number of times of swinging the arm in each preset time window.
5. The method of operating a ski-like somatosensory game according to claim 4, wherein the duration of the preset time window is not less than 2 seconds;
updating the current remaining flight duration according to the duration increment value, comprising:
and updating the current remaining flight time once each time one time length increasing value is obtained.
6. The method of operating a ski-like somatosensory game of claim 1, wherein the operating keys further comprise an acceleration key, the method further comprising:
accumulating acceleration energy according to the somatosensory data;
and after the acceleration energy reaches a set value, if operation data of an acceleration key is received from the body sensing equipment, executing set acceleration operation.
7. The method of operating a ski-like somatosensory game of claim 1, wherein the operating keys further comprise a prop-throwing key, the method further comprising:
and if the somatosensory equipment receives the operation data of the throwing key, executing the set prop throwing operation.
8. A ski-like somatosensory game operation device, comprising:
the key mapping module is used for mapping operation keys of a touch display module of the paired motion sensing equipment after a preset skiing type motion sensing game is started, and the operation keys comprise flight keys;
the data acquisition module is used for acquiring somatosensory data and key operation data from the somatosensory equipment;
the skiing operation module is used for executing skiing operation according to the data;
and the flight operation module is used for executing flight operation when the key operation data comprises operation data of a flight key, and adjusting the duration of the current flight operation according to the somatosensory data when the flight operation is executed.
9. A skiing somatosensory game operation device comprising a memory, a processor, and a skiing somatosensory game operation program stored on the memory and executable on the processor, wherein the processor implements the skiing somatosensory game operation method according to any one of claims 1 to 7 when executing the skiing somatosensory game operation program.
10. A computer-readable storage medium having stored thereon a ski-like somatosensory game operation program which, when executed by a processor, implements a ski-like somatosensory game operation method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211301889.8A CN115554696A (en) | 2022-10-24 | 2022-10-24 | Operation method of skiing somatosensory game |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211301889.8A CN115554696A (en) | 2022-10-24 | 2022-10-24 | Operation method of skiing somatosensory game |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115554696A true CN115554696A (en) | 2023-01-03 |
Family
ID=84767730
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211301889.8A Pending CN115554696A (en) | 2022-10-24 | 2022-10-24 | Operation method of skiing somatosensory game |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115554696A (en) |
-
2022
- 2022-10-24 CN CN202211301889.8A patent/CN115554696A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5527940B2 (en) | GAME SYSTEM, GAME PROGRAM, GAME DEVICE, SERVER, AND GAME METHOD | |
US20170189803A1 (en) | Task-oriented feedback using a modular sensing device | |
WO2018108174A1 (en) | Interface interactive assembly control method and apparatus, and wearable device | |
CN112121406A (en) | Object control method and device, storage medium and electronic device | |
CN115554696A (en) | Operation method of skiing somatosensory game | |
CN116251343A (en) | Somatosensory game method based on throwing action | |
CN116196611A (en) | Somatosensory game method based on waving action | |
CN115531867A (en) | Operation method of running somatosensory game | |
CN115531866A (en) | Operation method of shooting somatosensory game | |
CN115657786A (en) | Operation method of flying somatosensory game | |
JP2013248482A (en) | Game system, game program, game device, and server | |
CN115708954A (en) | Running somatosensory game operation method | |
CN115282589B (en) | Somatosensory game method based on rope skipping action | |
CN115282596B (en) | Control method, device and equipment of somatosensory equipment and computer readable storage medium | |
CN117018594A (en) | Somatosensory game method based on apple watch | |
CN115845356A (en) | Motion sensing game method based on swiping action | |
CN115337627A (en) | Boxing motion sensing game method and device and computer readable storage medium | |
CN115414669B (en) | Motion sensing game method, device and computer readable storage medium based on running gesture | |
CN115445201B (en) | Skating motion sensing game method, apparatus and computer readable storage medium | |
CN117180744A (en) | Game operation method based on bar-shaped somatosensory controller | |
CN115040872B (en) | Somatosensory game method and equipment based on html5 and computer readable storage medium | |
CN114904258A (en) | Motion sensing game method based on translation motion | |
CN115869611A (en) | Somatosensory game method based on climbing action | |
CN115253270A (en) | Table tennis ball feeling game method | |
CN117991901A (en) | Motion-based somatosensory game method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |