CN116585710B - Marble control method and system based on intelligent wearable device and readable storage medium - Google Patents

Marble control method and system based on intelligent wearable device and readable storage medium Download PDF

Info

Publication number
CN116585710B
CN116585710B CN202310885787.3A CN202310885787A CN116585710B CN 116585710 B CN116585710 B CN 116585710B CN 202310885787 A CN202310885787 A CN 202310885787A CN 116585710 B CN116585710 B CN 116585710B
Authority
CN
China
Prior art keywords
marble
target
dynamic
game
display screen
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.)
Active
Application number
CN202310885787.3A
Other languages
Chinese (zh)
Other versions
CN116585710A (en
Inventor
陈泽鹏
赵磊
綦吉
刘福亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Weike Technology Co ltd
Original Assignee
Shenzhen Wake Up Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Wake Up Technology Co ltd filed Critical Shenzhen Wake Up Technology Co ltd
Priority to CN202310885787.3A priority Critical patent/CN116585710B/en
Publication of CN116585710A publication Critical patent/CN116585710A/en
Application granted granted Critical
Publication of CN116585710B publication Critical patent/CN116585710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/573Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/577Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application discloses a marble control method, a marble control system and a readable storage medium based on intelligent wearable equipment, wherein the method comprises the following steps: initializing a marble game to randomly generate a target marble, wherein the target marble moves linearly on a display screen of the intelligent wearable device; tracking a track route of the target marble, and comparing the track route with a game frame and a dynamic collision plate in the display screen to change the running track of the target marble; a specification parameter of the dynamic crash panel is modified based on a number of collisions of the target marble with the dynamic crash panel, the specification parameter comprising a crash panel length. The application can change marbles into random colors based on RGB control, but not through the switching form of round color pictures, so as to reduce the waste of resource space; in addition, the moving direction and speed of the baffle plate are controlled by adding gravity induction, and the game experience is more intelligent by adding collision sound effects.

Description

Marble control method and system based on intelligent wearable device and readable storage medium
Technical Field
The application relates to the technical field of intelligent wearing equipment, in particular to a marble control method, a marble control system and a readable storage medium based on intelligent wearing equipment.
Background
As the intelligent wearing hot flashes have lasted two or three years, manufacturers have touted "quantified self". The intelligent wearable device persuades consumers to use the following ways: health aspects: blood pressure, heart rate, exercise, sleep. Consumers are concerned about their own health, and these data need to be known, but after the freshness period, consumers are less concerned about these data. Safety aspects: anti-lost old people and anti-lost children are just needed by consumers, but safety does not occur every day, so that the power of long-term wearing is gradually reduced.
Intelligent wear requires consumers to use them at present, that is, intelligent wear in combination with games.
Disclosure of Invention
The application aims to provide a marble control method, a marble control system and a readable storage medium based on intelligent wearable equipment, wherein marbles can be changed into random colors based on RGB (red, green and blue) control instead of a switching mode of round color pictures, so that the intelligent wearable equipment does not occupy too large resource space, and in addition, the game experience of a user can be increased by adding collision sound.
The first aspect of the application provides a marble control method based on intelligent wearable equipment, which comprises the following steps:
initializing a marble game to randomly generate a target marble, wherein the target marble moves linearly on a display screen of the intelligent wearable device;
tracking a track route of the target marble, and comparing the track route with a game frame and a dynamic collision plate in the display screen to change the running track of the target marble;
a specification parameter of the dynamic crash panel is modified based on a number of collisions of the target marble with the dynamic crash panel, the specification parameter comprising a crash panel length.
In this scheme, the initializing the pachinko game to randomly generate a target pachinko appearance specifically includes:
starting the pachinko game, and initializing the initial position and the initial length of the dynamic collision plate;
acquiring a marble radius, a marble color and an operation parameter to randomly generate one target marble, wherein the operation parameter comprises a marble initial position and a marble operation rate;
and initializing the positions of the integral data and the game scores, performing visual display based on the display screen, and determining background data and frame data of the pachinko game.
In this scheme, track route of tracking the target marble specifically includes:
acquiring a cursor point of the target marble on the display screen;
identifying coordinate values of a current target marble on the display screen based on the cursor point;
and acquiring the track route corresponding to the target pachinko based on the continuous coordinate values.
In this scheme, compare with the recreation frame and the dynamic crash board in the display screen based on the orbit route in order to change the orbit of target marble specifically includes:
when the track route reaches the target frame of the game frame, changing the current movement direction of the target marble, wherein the game points are not accumulated, and when the track route reaches the non-target frame of the game frame, the game is ended;
and changing the current movement direction of the target marble and the marbles running speed every time the track route reaches the dynamic collision board once, and performing game integral accumulation.
In this scheme, based on the collision number of times of target marble with the dynamic collision board changes the specification parameter of dynamic collision board, specification parameter includes collision board length, specifically includes:
when the number of collisions is increased once, increasing the dynamic collision plate by one unit length;
when the number of the unit length values of the increased length of the collision plate reaches a preset target value, the length of the dynamic collision plate is not increased any more when the number of the collisions is increased.
In this solution, the method further includes changing a color of the target marble based on a number of collisions between the target marble and the dynamic collision board, where the trajectory of the target marble changes the color of the target marble every time the target marble arrives at the dynamic collision board, and triggers the smart wearable device to vibrate once.
The second aspect of the present application also provides a marble control system based on an intelligent wearable device, comprising a memory and a processor, wherein the memory comprises a marble control method program based on the intelligent wearable device, and the marble control method program based on the intelligent wearable device realizes the following steps when executed by the processor:
initializing a marble game to randomly generate a target marble, wherein the target marble moves linearly on a display screen of the intelligent wearable device;
tracking a track route of the target marble, and comparing the track route with a game frame and a dynamic collision plate in the display screen to change the running track of the target marble;
a specification parameter of the dynamic crash panel is modified based on a number of collisions of the target marble with the dynamic crash panel, the specification parameter comprising a crash panel length.
In this scheme, the initializing the pachinko game to randomly generate a target pachinko appearance specifically includes:
starting the pachinko game, and initializing the initial position and the initial length of the dynamic collision plate;
acquiring a marble radius, a marble color and an operation parameter to randomly generate one target marble, wherein the operation parameter comprises a marble initial position and a marble operation rate;
and initializing the positions of the integral data and the game scores, performing visual display based on the display screen, and determining background data and frame data of the pachinko game.
In this scheme, track route of tracking the target marble specifically includes:
acquiring a cursor point of the target marble on the display screen;
identifying coordinate values of a current target marble on the display screen based on the cursor point;
and acquiring the track route corresponding to the target pachinko based on the continuous coordinate values.
In this scheme, compare with the recreation frame and the dynamic crash board in the display screen based on the orbit route in order to change the orbit of target marble specifically includes:
when the track route reaches the target frame of the game frame, changing the current movement direction of the target marble, wherein the game points are not accumulated, and when the track route reaches the non-target frame of the game frame, the game is ended;
and changing the current movement direction of the target marble and the marbles running speed every time the track route reaches the dynamic collision board once, and performing game integral accumulation.
In this scheme, based on the collision number of times of target marble with the dynamic collision board changes the specification parameter of dynamic collision board, specification parameter includes collision board length, specifically includes:
when the number of collisions is increased once, increasing the dynamic collision plate by one unit length;
when the number of the unit length values of the increased length of the collision plate reaches a preset target value, the length of the dynamic collision plate is not increased any more when the number of the collisions is increased.
In this solution, the method further includes changing a color of the target marble based on a number of collisions between the target marble and the dynamic collision board, where the trajectory of the target marble changes the color of the target marble every time the target marble arrives at the dynamic collision board, and triggers the smart wearable device to vibrate once.
A third aspect of the present application provides a computer readable storage medium, comprising a marble control method program of a machine based on an intelligent wearable device, which when executed by a processor, implements the steps of a marble control method of an intelligent wearable device as described in any of the above.
According to the intelligent wearable device-based marbles control method, system and readable storage medium disclosed by the application, marbles can be changed into random colors through RGB-based control instead of a switching mode of circular color pictures, so that resource space waste is reduced; in addition, the moving direction and speed of the baffle plate are controlled by adding gravity induction, and the game experience is more intelligent by adding collision sound effects.
Drawings
FIG. 1 shows a flow chart of a pachinko control method based on an intelligent wearable device of the present application;
FIG. 2 shows a schematic diagram of a target pachinko ball of a pachinko ball control method based on an intelligent wearable device of the present application;
FIG. 3 shows a schematic diagram of a target pachinko ball of a pachinko ball control method based on an intelligent wearable device of the present application;
FIG. 4 shows a schematic diagram of a target pachinko ball of a pachinko ball control method based on an intelligent wearable device of the present application;
FIG. 5 shows a schematic diagram of a target pachinko ball of a pachinko ball control method based on an intelligent wearable device of the present application;
fig. 6 shows a block diagram of a pachinko control system based on an intelligent wearable device according to the present application.
Detailed Description
In order that the above-recited objects, features and advantages of the present application will be more clearly understood, a more particular description of the application will be rendered by reference to the appended drawings and appended detailed description. It should be noted that, without conflict, the embodiments of the present application and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, however, the present application may be practiced in other ways than those described herein, and therefore the scope of the present application is not limited to the specific embodiments disclosed below.
Fig. 1 shows a flowchart of a pachinko control method based on an intelligent wearable device according to the present application.
As shown in fig. 1, the application discloses a marble control method based on intelligent wearable equipment, which comprises the following steps:
s102, initializing a marble game to randomly generate a target marble, wherein the target marble moves linearly on a display screen of the intelligent wearable device;
s104, tracking a track route of the target marble, and comparing the track route with a game frame and a dynamic collision plate in the display screen to change the running track of the target marble;
s106, changing the specification parameters of the dynamic collision plate based on the collision times of the target marble and the dynamic collision plate, wherein the specification parameters comprise the length of the collision plate.
It should be noted that, in this embodiment, when the user wears the smart wearable device, taking the smart watch as an example, the user may play a marble game, after logging in, the user initializes the marble game to randomly generate a target marble to play a game in the game frame, where the target marble moves linearly on the display screen, further, during the process of moving linearly the target marble, the target marble collides with the game frame and the set dynamic collision board, so the track route of the target marble is tracked to identify the specific position of the current target marble, when the target marble collides with the game frame, the running track of the target marble is changed, for example, the running direction and the running rate are changed, and as the number of collisions between the target marble and the dynamic collision board increases, the marble not only changes color and also changes the running track, but also lengthens the target marble and the dynamic collision board to accumulate for each collision, and the length of the dynamic collision board corresponding to the number of collisions also increases, where the frame limits, the initial length is limited, and the length of the dynamic collision board does not increase and only continues to accumulate along with the length of the initial limit.
According to an embodiment of the present application, the initializing the pachinko game to randomly generate a target pachinko appearance specifically includes:
starting the pachinko game, and initializing the initial position and the initial length of the dynamic collision plate;
acquiring a marble radius, a marble color and an operation parameter to randomly generate one target marble, wherein the operation parameter comprises a marble initial position and a marble operation rate;
and initializing the positions of the integral data and the game scores, performing visual display based on the display screen, and determining background data and frame data of the pachinko game.
It should be noted that, in this embodiment, after the marble game is started, the initial position and the initial length of the dynamic crash board are initialized, and a target marble is randomly generated, accordingly, the radius, the color and the operation parameters of the marble are obtained to be randomly generated from a certain position, accordingly, the operation parameters include the initial position of the marble and the operation speed of the marble, and the integral data position and the game score are synchronously initialized, so that the visual display is performed based on the display screen, and the background data and the frame data of the marble game are determined, as shown in fig. 2, an initial color marble is randomly generated, the integral data position is located at the top end, the corresponding game score is "0", the background of the game is a preset color, the frame is a quadrilateral frame, and the initial position of the dynamic crash board is located at the bottom end.
According to an embodiment of the present application, the tracking the track route of the target pachinko ball specifically includes:
acquiring a cursor point of the target marble on the display screen;
identifying coordinate values of a current target marble on the display screen based on the cursor point;
and acquiring the track route corresponding to the target pachinko based on the continuous coordinate values.
It should be noted that, in this embodiment, since the cursor is moving when the target marble moves on the display screen, the cursor point of the target marble on the display screen may be obtained, the coordinate value of the target marble on the display screen is identified based on the cursor point, and the specific means for identifying the coordinate is not described herein, and the track route corresponding to the target marble may be obtained after the corresponding continuous coordinate value is obtained.
According to an embodiment of the present application, the method for changing the moving track of the target pachinko ball based on the comparison between the track route and the game frame and the dynamic crash board in the display screen specifically includes:
when the track route reaches the target frame of the game frame, changing the current movement direction of the target marble, wherein the game points are not accumulated, and when the track route reaches the non-target frame of the game frame, the game is ended;
and changing the current movement direction of the target marble and the marbles running speed every time the track route reaches the dynamic collision board once, and performing game integral accumulation.
It should be noted that, in this embodiment, since the game frame is quadrilateral, and accordingly, in fig. 2, the dynamic collision plate is located at the bottom end, the corresponding target frame is the upper side and the left and right sides of the game frame, the corresponding non-target frame is the lower side of the game frame, that is, the non-target frame is consistent with the frame where the dynamic collision plate is located, when the target marble moves linearly, the target frame collides with the non-target frame and the dynamic collision plate, and therefore, specifically, when the track route reaches the target frame of the game frame, that is, when the target marble collides with the target frame, the motion direction of the current target marble is changed, the changed direction may be the reverse direction of the original direction, or the reflection direction of the similar electromagnetic wave (that is, the reflection direction is obtained by taking the contact surface as the base line), the game score is not accumulated, and when the track route reaches the non-target frame of the game frame, that is, the target marble collides with the non-target frame is finished; and changing the current movement direction of the target marble and the marbles running speed and performing game integral accumulation every time the track route reaches the dynamic collision plate once, namely when the target marble contacts and collides with the dynamic collision plate.
According to the embodiment of the application, the method further comprises changing the color of the target marble based on the collision times of the target marble and the dynamic collision plate, wherein the track route of the target marble changes the color of the target marble every time the track route reaches the dynamic collision plate, and the intelligent wearable device is triggered to vibrate once.
It should be noted that, in this embodiment, as shown in fig. 3, a schematic diagram of the target marble position after a collision is displayed, where after the target marble collides with the dynamic collision board once in fig. 2, the color of the target marble is changed, and the change is based on RGB, accordingly, since the running direction is changed after the collision, the movement position of the target marble in fig. 3 is changed, and accordingly, the color of the marble is also changed, and when the user uses the intelligent wearable device, the target marble collides with the dynamic collision board once and triggers the intelligent wearable device to vibrate once.
According to an embodiment of the present application, the changing the specification parameters of the dynamic crash panel based on the number of collisions between the target marble and the dynamic crash panel, wherein the specification parameters include a crash panel length, specifically includes:
when the number of collisions is increased once, increasing the dynamic collision plate by one unit length;
when the number of the unit length values of the increased length of the collision plate reaches a preset target value, the length of the dynamic collision plate is not increased any more when the number of the collisions is increased.
It should be noted that, in the foregoing embodiment, the length of the dynamic crash panel corresponding to the increase of the number of collisions will also be increased, and in this embodiment, it is specifically illustrated that, when the number of collisions per unit length increases, the length of the dynamic crash panel is not increased when the number of collisions per unit length increases to reach the preset target value, i.e., when the length of the current dynamic crash panel is two-thirds of the game frame on the side where the length value of the current dynamic crash panel is located, the length value of the dynamic crash panel is not changed.
It is worth mentioning that the method further comprises:
acquiring view angle data selected by a user;
switching a current moving position of the dynamic collision plate based on the viewing angle data;
a length limit of the dynamic crash panel is dynamically defined based on the movement position.
It should be noted that, in this embodiment, with reference to fig. 2, since the embodiment described above illustrates that the dynamic crash panel is located at the bottom end in one embodiment, because of different game experiences, the position of the dynamic crash panel may be switched by acquiring the view angle data selected by the user, accordingly, the corresponding view angle in fig. 2 is the up-down view angle, and when the user selects the left-right view angle, the dynamic crash panel will be displayed on the left side or the right side of the display screen, as shown in fig. 4, which is a schematic diagram of the dynamic crash panel located on the game frame on the right side.
It is worth mentioning that the method further comprises:
acquiring the collision times corresponding to the contact collision of the target marble and the dynamic collision plate;
comparing the number of collisions with a preset node value, wherein,
and randomly regenerating one target marble when the collision times are equal to the corresponding node values.
In this embodiment, in the embodiment in which one target pachinko ball is described in the foregoing embodiment, while the game is being played, as the user collides with the target pachinko ball with the dynamic collision plate, as the number of collisions increases, the integral becomes higher and higher, and accordingly, when the number of collisions equals the corresponding node value, one of the target marbles is randomly generated again and, accordingly, the node value may be "5,10,15, ·········n", whereAnd n is a multiple of "5", that is, when the number of collisions is equal to "5", one target marble will appear on the display screen, plus the original total of "2", and when the number of collisions is equal to "10", one target marble will appear on the display screen, plus the original total of "3", specifically, as shown in fig. 5, a schematic diagram of "3" target marbles on the display screen is displayed.
It is worth mentioning that the method further comprises:
fixing the initial length of the dynamic collision plate;
acquiring a target quantity value of the existing target pachinko balls on the display screen;
the actual length of the dynamic crash panel is modified based on the target quantity value.
It should be noted that, in the above embodiment, the length of the dynamic crash plate is changed based on the number of collisions, but in this embodiment, the length of the dynamic crash plate is changed based on the target number value of the target marble, specifically, when one target marble is used, the corresponding length of the dynamic crash plate is the initial length, when the target marble collides with the dynamic crash plate for the first time, the length of the dynamic crash plate is still the initial length, until the target marble collides with the dynamic crash plate for the fifth time, a second target marble appears, at this time, one unit length of the dynamic crash plate is increased, accordingly, the increased length value is limited, and when the length value of the current dynamic crash plate occupies two thirds of the game frame on the side where the current dynamic crash plate is located, the length value of the dynamic crash plate is not changed.
Fig. 6 shows a block diagram of a pachinko control system based on an intelligent wearable device according to the present application.
As shown in fig. 6, the application discloses a marble control system based on intelligent wearing equipment, which comprises a memory and a processor, wherein the memory comprises a marble control method program based on the intelligent wearing equipment, and the following steps are realized when the marble control method program based on the intelligent wearing equipment is executed by the processor:
initializing a marble game to randomly generate a target marble, wherein the target marble moves linearly on a display screen of the intelligent wearable device;
tracking a track route of the target marble, and comparing the track route with a game frame and a dynamic collision plate in the display screen to change the running track of the target marble;
a specification parameter of the dynamic crash panel is modified based on a number of collisions of the target marble with the dynamic crash panel, the specification parameter comprising a crash panel length.
It should be noted that, in this embodiment, when the user wears the smart wearable device, taking the smart watch as an example, the user may play a marble game, after logging in, the user initializes the marble game to randomly generate a target marble to play a game in the game frame, where the target marble moves linearly on the display screen, further, during the process of moving linearly the target marble, the target marble collides with the game frame and the set dynamic collision board, so the track route of the target marble is tracked to identify the specific position of the current target marble, when the target marble collides with the game frame, the running track of the target marble is changed, for example, the running direction and the running rate are changed, and as the number of collisions between the target marble and the dynamic collision board increases, the marble not only changes color and also changes the running track, but also lengthens the target marble and the dynamic collision board to accumulate for each collision, and the length of the dynamic collision board corresponding to the number of collisions also increases, where the frame limits, the initial length is limited, and the length of the dynamic collision board does not increase and only continues to accumulate along with the length of the initial limit.
According to an embodiment of the present application, the initializing the pachinko game to randomly generate a target pachinko appearance specifically includes:
starting the pachinko game, and initializing the initial position and the initial length of the dynamic collision plate;
acquiring a marble radius, a marble color and an operation parameter to randomly generate one target marble, wherein the operation parameter comprises a marble initial position and a marble operation rate;
and initializing the positions of the integral data and the game scores, performing visual display based on the display screen, and determining background data and frame data of the pachinko game.
It should be noted that, in this embodiment, after the marble game is started, the initial position and the initial length of the dynamic crash board are initialized, and a target marble is randomly generated, accordingly, the radius, the color and the operation parameters of the marble are obtained to be randomly generated from a certain position, accordingly, the operation parameters include the initial position of the marble and the operation speed of the marble, and the integral data position and the game score are synchronously initialized, so that the visual display is performed based on the display screen, and the background data and the frame data of the marble game are determined, as shown in fig. 2, an initial color marble is randomly generated, the integral data position is located at the top end, the corresponding game score is "0", the background of the game is a preset color, the frame is a quadrilateral frame, and the initial position of the dynamic crash board is located at the bottom end.
According to an embodiment of the present application, the tracking the track route of the target pachinko ball specifically includes:
acquiring a cursor point of the target marble on the display screen;
identifying coordinate values of a current target marble on the display screen based on the cursor point;
and acquiring the track route corresponding to the target pachinko based on the continuous coordinate values.
It should be noted that, in this embodiment, since the cursor is moving when the target marble moves on the display screen, the cursor point of the target marble on the display screen may be obtained, the coordinate value of the target marble on the display screen is identified based on the cursor point, and the specific means for identifying the coordinate is not described herein, and the track route corresponding to the target marble may be obtained after the corresponding continuous coordinate value is obtained.
According to an embodiment of the present application, the method for changing the moving track of the target pachinko ball based on the comparison between the track route and the game frame and the dynamic crash board in the display screen specifically includes:
when the track route reaches the target frame of the game frame, changing the current movement direction of the target marble, wherein the game points are not accumulated, and when the track route reaches the non-target frame of the game frame, the game is ended;
and changing the current movement direction of the target marble and the marbles running speed every time the track route reaches the dynamic collision board once, and performing game integral accumulation.
It should be noted that, in this embodiment, since the game frame is quadrilateral, and accordingly, in fig. 2, the dynamic collision plate is located at the bottom end, the corresponding target frame is the upper side and the left and right sides of the game frame, the corresponding non-target frame is the lower side of the game frame, that is, the non-target frame is consistent with the frame where the dynamic collision plate is located, when the target marble moves linearly, the target frame collides with the non-target frame and the dynamic collision plate, and therefore, specifically, when the track route reaches the target frame of the game frame, that is, when the target marble collides with the target frame, the motion direction of the current target marble is changed, the changed direction may be the reverse direction of the original direction, or the reflection direction of the similar electromagnetic wave (that is, the reflection direction is obtained by taking the contact surface as the base line), the game score is not accumulated, and when the track route reaches the non-target frame of the game frame, that is, the target marble collides with the non-target frame is finished; and changing the current movement direction of the target marble and the marbles running speed and performing game integral accumulation every time the track route reaches the dynamic collision plate once, namely when the target marble contacts and collides with the dynamic collision plate.
According to the embodiment of the application, the method further comprises changing the color of the target marble based on the collision times of the target marble and the dynamic collision plate, wherein the track route of the target marble changes the color of the target marble every time the track route reaches the dynamic collision plate, and the intelligent wearable device is triggered to vibrate once.
It should be noted that, in this embodiment, as shown in fig. 3, a schematic diagram of the target marble position after a collision is displayed, where after the target marble collides with the dynamic collision board once in fig. 2, the color of the target marble is changed, and the change is based on RGB, accordingly, since the running direction is changed after the collision, the movement position of the target marble in fig. 3 is changed, and accordingly, the color of the marble is also changed, and when the user uses the intelligent wearable device, the target marble collides with the dynamic collision board once and triggers the intelligent wearable device to vibrate once.
According to an embodiment of the present application, the changing the specification parameters of the dynamic crash panel based on the number of collisions between the target marble and the dynamic crash panel, wherein the specification parameters include a crash panel length, specifically includes:
when the number of collisions is increased once, increasing the dynamic collision plate by one unit length;
when the number of the unit length values of the increased length of the collision plate reaches a preset target value, the length of the dynamic collision plate is not increased any more when the number of the collisions is increased.
It should be noted that, in the foregoing embodiment, the length of the dynamic crash panel corresponding to the increase of the number of collisions will also be increased, and in this embodiment, it is specifically illustrated that, when the number of collisions per unit length increases, the length of the dynamic crash panel is not increased when the number of collisions per unit length increases to reach the preset target value, i.e., when the length of the current dynamic crash panel is two-thirds of the game frame on the side where the length value of the current dynamic crash panel is located, the length value of the dynamic crash panel is not changed.
It is worth mentioning that the method further comprises:
acquiring view angle data selected by a user;
switching a current moving position of the dynamic collision plate based on the viewing angle data;
a length limit of the dynamic crash panel is dynamically defined based on the movement position.
It should be noted that, in this embodiment, with reference to fig. 2, since the embodiment described above illustrates that the dynamic crash panel is located at the bottom end in one embodiment, because of different game experiences, the position of the dynamic crash panel may be switched by acquiring the view angle data selected by the user, accordingly, the corresponding view angle in fig. 2 is the up-down view angle, and when the user selects the left-right view angle, the dynamic crash panel will be displayed on the left side or the right side of the display screen, as shown in fig. 4, which is a schematic diagram of the dynamic crash panel located on the game frame on the right side.
It is worth mentioning that the method further comprises:
acquiring the collision times corresponding to the contact collision of the target marble and the dynamic collision plate;
comparing the number of collisions with a preset node value, wherein,
and randomly regenerating one target marble when the collision times are equal to the corresponding node values.
In this embodiment, in the embodiment in which one target pachinko ball is described in the foregoing embodiment, while the game is being played, as the user collides with the target pachinko ball with the dynamic collision plate, as the number of collisions increases, the integral becomes higher and higher, and accordingly, when the number of collisions equals the corresponding node value, one of the target marbles is randomly generated again and, accordingly, the node value may be "5,10,15, ·········n", whereAnd n is a multiple of "5", that is, when the number of collisions is equal to "5", one target marble will appear on the display screen, plus the original total of "2", and when the number of collisions is equal to "10", one target marble will appear on the display screen, plus the original total of "3", specifically, as shown in fig. 5, a schematic diagram of "3" target marbles on the display screen is displayed.
It is worth mentioning that the method further comprises:
fixing the initial length of the dynamic collision plate;
acquiring a target quantity value of the existing target pachinko balls on the display screen;
the actual length of the dynamic crash panel is modified based on the target quantity value.
It should be noted that, in the above embodiment, the length of the dynamic crash plate is changed based on the number of collisions, but in this embodiment, the length of the dynamic crash plate is changed based on the target number value of the target marble, specifically, when one target marble is used, the corresponding length of the dynamic crash plate is the initial length, when the target marble collides with the dynamic crash plate for the first time, the length of the dynamic crash plate is still the initial length, until the target marble collides with the dynamic crash plate for the fifth time, a second target marble appears, at this time, one unit length of the dynamic crash plate is increased, accordingly, the increased length value is limited, and when the length value of the current dynamic crash plate occupies two thirds of the game frame on the side where the current dynamic crash plate is located, the length value of the dynamic crash plate is not changed.
A third aspect of the present application provides a computer-readable storage medium, in which a marble control method program based on an intelligent wearable device is included, which when executed by a processor, implements the steps of a marble control method based on an intelligent wearable device as described in any one of the above.
According to the intelligent wearable device-based marbles control method, system and readable storage medium disclosed by the application, marbles can be changed into random colors through RGB-based control instead of a switching mode of circular color pictures, so that resource space waste is reduced; in addition, the moving direction and speed of the baffle plate are controlled by adding gravity induction, and the game experience is more intelligent by adding collision sound effects.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.

Claims (6)

1. The marble control method based on the intelligent wearable equipment is characterized by comprising the following steps of:
initializing a marble game to randomly generate a target marble, wherein the target marble moves linearly on a display screen of the intelligent wearable device;
tracking a track route of the target marble, and comparing the track route with a game frame and a dynamic collision plate in the display screen to change the running track of the target marble;
altering a gauge parameter of the dynamic crash panel based on a number of collisions of the target marble with the dynamic crash panel, the gauge parameter comprising a crash panel length;
the initializing of the pachinko game to randomly generate a target pachinko appearance specifically includes:
starting the pachinko game, and initializing the initial position and the initial length of the dynamic collision plate;
acquiring a marble radius, a marble color and an operation parameter to randomly generate one target marble, wherein the operation parameter comprises a marble initial position and a marble operation rate;
initializing the position of the integral data and the game score, performing visual display based on the display screen, and determining background data and frame data of the pachinko game;
the track route for tracking the target marble specifically comprises:
acquiring a cursor point of the target marble on the display screen;
identifying coordinate values of a current target marble on the display screen based on the cursor point;
acquiring the track route corresponding to the target pachinko ball based on continuous coordinate values;
the method further comprises the steps of:
acquiring view angle data selected by a user;
switching a current moving position of the dynamic collision plate based on the viewing angle data;
dynamically defining a current length limit for the dynamic crash panel based on the movement location;
the method further comprises the steps of:
fixing the initial length of the dynamic collision plate;
acquiring a target quantity value of the existing target pachinko balls on the display screen;
the actual length of the dynamic crash panel is modified based on the target quantity value.
2. The method for controlling the marbles based on the intelligent wearable device according to claim 1, wherein the comparing the track route with the game frame and the dynamic collision board in the display screen to change the running track of the target marbles specifically comprises:
when the track route reaches the target frame of the game frame, changing the current movement direction of the target marble, wherein the game points are not accumulated, and when the track route reaches the non-target frame of the game frame, the game is ended;
and changing the current movement direction of the target marble and the marbles running speed every time the track route reaches the dynamic collision board once, and performing game integral accumulation.
3. The method for controlling the marble based on the intelligent wearable device according to claim 2, wherein the specification parameters of the dynamic collision board are changed based on the number of collisions between the target marble and the dynamic collision board, the specification parameters include a collision board length, and specifically include:
when the number of collisions is increased once, increasing the dynamic collision plate by one unit length;
when the number of the unit length values of the increased length of the collision plate reaches a preset target value, the length of the dynamic collision plate is not increased any more when the number of the collisions is increased.
4. The method of claim 1, further comprising changing the color of the target marble based on the number of collisions of the target marble with the dynamic collision plate, wherein the trajectory of the target marble changes the color of the target marble once every time the target marble arrives at the dynamic collision plate, and triggers the intelligent wearable device to vibrate once.
5. The marble control system based on the intelligent wearing equipment is characterized by comprising a memory and a processor, wherein the memory comprises a marble control method program based on the intelligent wearing equipment, and the marble control method program based on the intelligent wearing equipment realizes the following steps when being executed by the processor:
initializing a marble game to randomly generate a target marble, wherein the target marble moves linearly on a display screen of the intelligent wearable device;
tracking a track route of the target marble, and comparing the track route with a game frame and a dynamic collision plate in the display screen to change the running track of the target marble;
altering a gauge parameter of the dynamic crash panel based on a number of collisions of the target marble with the dynamic crash panel, the gauge parameter comprising a crash panel length;
the initializing of the pachinko game to randomly generate a target pachinko appearance specifically includes:
starting the pachinko game, and initializing the initial position and the initial length of the dynamic collision plate;
acquiring a marble radius, a marble color and an operation parameter to randomly generate one target marble, wherein the operation parameter comprises a marble initial position and a marble operation rate;
initializing the position of the integral data and the game score, performing visual display based on the display screen, and determining background data and frame data of the pachinko game;
the track route for tracking the target marble specifically comprises:
acquiring a cursor point of the target marble on the display screen;
identifying coordinate values of a current target marble on the display screen based on the cursor point;
acquiring the track route corresponding to the target pachinko ball based on continuous coordinate values;
the method further comprises the steps of:
acquiring view angle data selected by a user;
switching a current moving position of the dynamic collision plate based on the viewing angle data;
dynamically defining a current length limit for the dynamic crash panel based on the movement location;
the method further comprises the steps of:
fixing the initial length of the dynamic collision plate;
acquiring a target quantity value of the existing target pachinko balls on the display screen;
the actual length of the dynamic crash panel is modified based on the target quantity value.
6. A computer readable storage medium, wherein the computer readable storage medium includes a marble control method program based on an intelligent wearable device, and the marble control method program based on the intelligent wearable device is executed by a processor, and the steps of the marble control method based on the intelligent wearable device are implemented as described in any one of claims 1 to 4.
CN202310885787.3A 2023-07-19 2023-07-19 Marble control method and system based on intelligent wearable device and readable storage medium Active CN116585710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310885787.3A CN116585710B (en) 2023-07-19 2023-07-19 Marble control method and system based on intelligent wearable device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310885787.3A CN116585710B (en) 2023-07-19 2023-07-19 Marble control method and system based on intelligent wearable device and readable storage medium

Publications (2)

Publication Number Publication Date
CN116585710A CN116585710A (en) 2023-08-15
CN116585710B true CN116585710B (en) 2023-09-26

Family

ID=87606708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310885787.3A Active CN116585710B (en) 2023-07-19 2023-07-19 Marble control method and system based on intelligent wearable device and readable storage medium

Country Status (1)

Country Link
CN (1) CN116585710B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893935A (en) * 2010-07-14 2010-11-24 北京航空航天大学 Cooperative construction method for enhancing realistic table-tennis system based on real rackets
CN111318009A (en) * 2020-01-19 2020-06-23 张衡 Somatosensory health entertainment system based on wearable inertial sensing and working method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4221838B2 (en) * 1998-09-30 2009-02-12 株式会社セガ Game device, hit determination method, and information recording medium
US7084888B2 (en) * 2001-08-09 2006-08-01 Konami Corporation Orientation detection marker, orientation detection device and video game device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893935A (en) * 2010-07-14 2010-11-24 北京航空航天大学 Cooperative construction method for enhancing realistic table-tennis system based on real rackets
CN111318009A (en) * 2020-01-19 2020-06-23 张衡 Somatosensory health entertainment system based on wearable inertial sensing and working method thereof

Also Published As

Publication number Publication date
CN116585710A (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN110227258B (en) Transitioning gameplay on head-mounted display
US20210370171A1 (en) Virtual object control method and apparatus, terminal, and storage medium
WO2019141175A1 (en) Data interaction method, device, storage medium, and electronic device
CN111760282B (en) Interface display method, device, terminal and storage medium
US11554317B2 (en) Computer-readable recording medium that stores game program, method of controlling information processing apparatus, and information processing apparatus for slide puzzles
EP3795224A2 (en) Graphical rendering method and apparatus
EP3634593B1 (en) Optimized deferred lighting and foveal adaptation of particles and simulation models in a foveated rendering system
EP3635515A1 (en) Optimized shadows and adaptive mesh skinning in a foveated rendering system
CN106385408A (en) Motion state changing indication and processing method and device
US11638874B2 (en) Systems and methods for changing a state of a game object in a video game
US8043149B2 (en) In-game shot aiming indicator
US20200061470A1 (en) Game program, and game program control method
CN110505521A (en) A kind of live streaming match interactive approach, electronic equipment, storage medium and system
CN112755516A (en) Interaction control method and device, electronic equipment and storage medium
CN110898431A (en) Display control method and device of information in virtual reality game
CN116585710B (en) Marble control method and system based on intelligent wearable device and readable storage medium
CN110124308B (en) Control method and device of virtual racing car, storage medium and electronic device
CN113908529A (en) Pass control method, pass control device, electronic device and storage medium
JP2020044103A (en) Game system and program
KR20220073699A (en) computer systems and game systems
CN113304479B (en) Indication information display method and device, game terminal equipment and storage medium
KR102497650B1 (en) Gaming virtual space control method and apparatus
CN112774189B (en) Picture display method, device, terminal and storage medium
JP2003067773A (en) Image generation system, program and information storage medium
CN109350967B (en) Expression display method and device, server and computer readable storage medium

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 4208, Tower A, Hongrongyuan North Station Center, Minzhi Street North Station Community, Longhua District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Weike Technology Co.,Ltd.

Country or region after: China

Address before: 518109 room 1501, building e, phase II, Xinghe world, Minle community, Minzhi street, Longhua District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN WAKE UP TECHNOLOGY CO.,LTD.

Country or region before: China