WO2022110839A1 - Game control method and apparatus - Google Patents

Game control method and apparatus Download PDF

Info

Publication number
WO2022110839A1
WO2022110839A1 PCT/CN2021/107103 CN2021107103W WO2022110839A1 WO 2022110839 A1 WO2022110839 A1 WO 2022110839A1 CN 2021107103 W CN2021107103 W CN 2021107103W WO 2022110839 A1 WO2022110839 A1 WO 2022110839A1
Authority
WO
WIPO (PCT)
Prior art keywords
game
beat
background music
interactive interface
file
Prior art date
Application number
PCT/CN2021/107103
Other languages
French (fr)
Chinese (zh)
Inventor
戴旭
李家云
Original Assignee
北京达佳互联信息技术有限公司
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 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Publication of WO2022110839A1 publication Critical patent/WO2022110839A1/en

Links

Images

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/50Controlling the output signals based on the game progress
    • A63F13/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/60Methods for processing data by generating or executing the game program
    • A63F2300/6063Methods for processing data by generating or executing the game program for sound processing
    • A63F2300/6081Methods for processing data by generating or executing the game program for sound processing generating an output signal, e.g. under timing constraints, for spatialization

Definitions

  • the present disclosure relates to the field of game technology, and in particular, to a game control method, apparatus, electronic device, and medium.
  • game nesting that is, a game is also nested with other games.
  • game A is nested with mini-game B.
  • mini-game B the process of game A, after hitting a monster, the user will switch to mini-game B, and after clearing mini-game B, it will switch back to A game.
  • a game control method including:
  • a first beat time period that matches the first operation time is determined from a preconfigured first metronome file; the first beat time period is determined;
  • the metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
  • the second interactive interface of the second game is displayed, and the background music of the first game is played from the beat of the first background music.
  • the second game includes a second key index file
  • the second key index file includes a plurality of second key points
  • the second key points and the first metronome file The takt time periods in the settings correspond to each other one by one.
  • the game control method further includes:
  • the first game includes a first key index file
  • the first key index file includes a plurality of first key points
  • the first key points and the first metronome file are a plurality of first key points
  • the takt time periods in the settings correspond to each other one by one.
  • the game control method further includes:
  • first prompt information is used to prompt the user to perform the second operation after the preset time period
  • the output of the first prompt information is stopped.
  • the second interactive interface includes a button track on which a plurality of button controls are provided, and the button controls are set in a one-to-one correspondence with the first melody segment on the first track.
  • the first audio track is the audio track corresponding to the game music of the second game;
  • the game control method further includes:
  • a first receiving module configured to receive a first operation on the first interactive interface of the first game
  • a time determination module configured to determine, in response to the first operation, a first operation time matching the first operation time from a preconfigured first metronome file based on the first operation time of the first operation a beat time period; the first metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
  • a beat determination module configured to determine a first background music beat corresponding to the first beat time period
  • a display module configured to display the second interactive interface of the second game
  • the first playing module is configured to play the background music of the first game from the beat of the first background music.
  • the game control device further includes:
  • a second receiving module configured to receive a second operation on the second interactive interface
  • the execution module is configured to execute, under the condition that the second operation time of the second operation conforms to the beat time period of the first metronome file, to control the target game character in the second game to execute the same operation as the first metronome file.
  • the target corresponding to the two operations responds to the operation; wherein, the second game is provided with a plurality of second button points, and the second button points are set in a one-to-one correspondence with the beat time periods in the first metronome file.
  • the execution module is further configured to:
  • the device further includes:
  • a prompt module configured to output first prompt information
  • the first prompt information is configured to perform prompting the user to perform the second operation after the preset time period; and in response to the time period for displaying the second interactive interface When the preset time period is reached, the output of the first prompt information is stopped.
  • the second interactive interface includes a button track on which a plurality of button controls are provided, and the button controls are set in a one-to-one correspondence with the first melody segment on the first track.
  • the first audio track is the audio track corresponding to the game music of the second game;
  • the device also includes:
  • the third receiving module is configured to receive the third operation on the target key control
  • the second playing module is configured to play the first melody segment corresponding to the target key control.
  • a memory for storing the processor-executable instructions
  • the processor is configured to execute the instructions to implement the game control method according to the first aspect.
  • a storage medium wherein instructions in the storage medium enable the electronic device to perform the game control as described in the first aspect in response to execution by a processor of the electronic device method.
  • a computer program product including a program or an instruction, so that when the program or the instruction is executed, the game control method according to the first aspect is implemented.
  • the first operation time of the first operation and the first operation will be determined from the first metronome file. match the first beat time period, and then determine the first background music beat corresponding to the first beat time period; subsequently, the first interactive interface is switched to the second interactive interface of the second game, and the first background music The beat continues to play the background music corresponding to the first game.
  • the second game will continue to play the same background music as the first game, that is, after the game is switched, the background music will not be suddenly interrupted or switched to other music. In this way, the continuity of the background music before and after the game switching is ensured, and several games that are nested in each other also have high integrity and integrity.
  • Fig. 1 is a flowchart of a game control method according to an exemplary embodiment.
  • Fig. 2 is a schematic diagram of a metronome time period according to an exemplary embodiment.
  • Fig. 3 is a flowchart of another game control method according to an exemplary embodiment.
  • Fig. 4 is a schematic diagram showing a kind of first prompt information according to an exemplary embodiment.
  • Fig. 5 is a schematic diagram showing the arrangement of a key track according to an exemplary embodiment.
  • Fig. 6 is a block diagram of a game control device according to an exemplary embodiment.
  • the background music will also switch. In this case, the user's experience will be interrupted.
  • the switching of background music will also cause the user's operation mode to switch, affecting the continuity of the user's game, and may also increase the risk of user operation errors. For example, when two music games are nested, if the user is accustomed to music After the rhythm of music A, suddenly switch to the rhythm of music B, the user may be in a hurry, which affects the experience of the game.
  • embodiments of the present disclosure provide a game control method, apparatus, electronic device, and medium.
  • the method is applied to an electronic device, which can be a mobile electronic device or a non-mobile electronic device, such as a mobile phone, a tablet computer, a computer, a wearable device, and the like.
  • a target game is set on the electronic device, and the target game includes at least two sub-games nested in each other, that is, the target game includes at least sub-games such as a first game and a second game, and the target game may also include other sub-games . Switchable between the first game and the second game. Wherein, any sub-game in the target game can be used as the first game or the second game. The present disclosure does not limit the game type of each sub-game included in the target game.
  • the following describes a game control method provided by an embodiment of the present disclosure.
  • the user can operate the game object to perform a specific action, and the action game will play the corresponding background music.
  • the user playing the action game if the user clicks the switch button or controls the game object to perform a specific action, Then the electronic device will switch to the interactive interface of the rhythm game.
  • the rhythm game is mainly based on dance or simulated percussion instruments.
  • the user needs to press the button according to the beat of the background music in the game. Only when the effective operation is performed within the beat time period of each beat, the system will increase the game score for the player. For example, if the background music is "Little Apple", the user needs to trigger the button according to the rhythm of the little apple to score points. During this process, the content of each operation of the user is the same, rather than depending on the melody of the background music.
  • the frequency of user actions depends on the beat frequency of the background music.
  • the embodiment of the present disclosure controls the action game and the rhythm game to use the same background music, and It is guaranteed that after switching to the rhythm game, the background music will not be replayed, but can continue to play from the position where the action game was played, thus greatly improving the continuity of the target game.
  • FIG. 1 is a flowchart of a game control method according to an exemplary embodiment.
  • the above game control method includes steps S110 to S140, and the specific steps are as follows.
  • step S110 a first operation on the first interactive interface of the first game is received.
  • the first operation here refers to an operation that triggers game switching.
  • the first operation may be a trigger operation on the switching control set in the first interactive interface, such as a click operation; or, the first operation may also be a target operation on the target object displayed in the first interactive interface, such as a target monster. Strike operation; or, the first operation may also be an operation that triggers the target object to enter a specific state, such as a killing operation that triggers the death of a monster boss.
  • the content of the first operation is preset in the game, and the present disclosure does not limit the specific type of the first operation.
  • step S120 in response to the first operation, based on the first operation time of the first operation, a first metronome time period matching the first operation time is determined from a preconfigured first metronome file; the first metronome The file includes a series of beat time periods set in accordance with the beats of the background music of the first game.
  • the first operation time refers to the time period corresponding to when the user performs the first operation, that is, the time period from the moment when the first operation is performed to the moment when the first operation is completed; is a preset time period after the first operation is performed, for example, a time period corresponding to 5 s after the time when the first operation is completed.
  • the first operation time here can be the relative time since the background music starts playing, that is, the time point when the background music starts playing is taken as 0:00, and the time after receiving the first operation
  • the timing time corresponding to the time is the first operation time.
  • the first operation time can also be natural time, that is, satellite time, such as 15:32.
  • the background needs to be subtracted from the first operation time. After the time difference is obtained from the time when the music starts playing, the beat time period in which the first operation is located is determined according to the time difference.
  • FIG. 2 is a schematic diagram of a metronome time period according to an exemplary embodiment. Therefore, a piece of music can be divided into equal intervals by the time period corresponding to each beat.
  • the first metronome file includes a series of beat time periods set according to the beat of the background music of the first game, so the time period corresponding to each beat of the background music can be determined based on the first metronome file.
  • the beat time period corresponding to the first operation time can be determined according to the time period of the first operation time of the first operation, so as to determine the currently played beat, and then switch After reaching the second interactive interface, the playback can be continued from the currently played beat, thereby ensuring the continuity of the background music.
  • step S130 a first background music beat corresponding to the first beat time period is determined.
  • the first metronome file is set based on the background music of the first game, so the beat time period in the first metronome file corresponds to the beat of the background music one-to-one, so the corresponding first beat time period can be determined based on the first beat time period.
  • a background music beat, the first background music beat is the beat at which the background music is played when the first operation is received.
  • step S140 the second interactive interface of the second game is displayed, and the background music of the first game is played from the beat of the first background music.
  • the first operation time of the first operation and the first operation will be determined from the first metronome file. match the first beat time period, and then determine the first background music beat corresponding to the first beat time period; subsequently, the first interactive interface is switched to the second interactive interface of the second game, and the first background music The beat continues to play the background music corresponding to the first game.
  • the second game will continue to play the same background music as the first game, that is, after the game is switched, the background music will not be suddenly interrupted or switched to other music. In this way, the continuity of the background music before and after the game switching is ensured, so that the user has a relatively coherent game experience, and several games nested within each other also have high integrity and integrity.
  • the second game includes a second key index file
  • the second key index file includes a plurality of second key points
  • the second key points are set in a one-to-one correspondence with the beat time periods in the first metronome file.
  • the second game is a rhythm game
  • the rhythm game requires the user to press keys according to the beat of the background music. Therefore, the second game needs to set multiple second key points, and the user needs to meet the conditions corresponding to the second key points when Press the key to get the score.
  • the key press time corresponding to each second key point can be limited. After the setting is completed, the user only needs to complete the key press within the corresponding beat time period. , that is, the condition corresponding to the second key point is satisfied.
  • the second game is made to continuously play the background music of the first game, so that the user can operate according to the rhythm of the background music of the first game, which is convenient for the user to play in the background music of the first game. After entering the second game, quickly get used to the rhythm of the background music, and then press the button at an accurate time, which improves the continuity of the user's game.
  • the second key point when the second key point is set in a one-to-one correspondence with the beat time period in the first metronome file, the second key point can be specifically set in association with the start time of the beat time period in the first metronome file, Alternatively, the second button point may also be set in association with the termination moment of the beat time period in the first metronome file. Or, because the user is often unable to accurately hit the same time point every time the key is pressed, but there is a slight time deviation, so in order to improve the user's game experience, the second key point can also be matched with the first beat. Set the associated settings for part of or the entire time period in the beat time period in the rhythm file.
  • FIG. 3 is a flowchart of another game control method according to an exemplary embodiment.
  • the method may further include the following steps:
  • step S350 receiving a second operation on the second interactive interface
  • step S360 if the second operation time of the second operation matches the beat time period of the first metronome file, the target game character in the second game is controlled to perform a target response operation matching the second operation.
  • the second game is a rhythm game
  • the user's second operation is a key operation in the rhythm game
  • the key operation here may include a click operation on a virtual key or
  • the present disclosure does not limit the specific type of the key operation, such as the click operation on the physical key. If the second operation time of the second operation conforms to the beat time period of the first metronome file, it indicates that the second operation satisfies the setting condition of the second button point set previously, that is, the user performs the second operation at the correct time, Therefore, the target game character can be controlled to respond to the second operation, and execute the target response operation matching the second operation.
  • the target response operation here refers to the correct operation, for example, the target response operation can be shooting bullets or hitting monsters.
  • the second operation time of the second operation does not conform to the beat time period of the first metronome file, the second operation can be controlled not to respond; or the second operation can be controlled to respond, but an erroneous operation is performed.
  • the electronic device determines whether the time of the user's second operation matches the background music of the first game.
  • the rhythm is used to determine whether to respond to the user's operation, thereby realizing the continuity and integrity of the first game and the second game, and avoiding the situation that the user feels disconnected after the game is switched.
  • the second button point of the second game is set every 2s, for example, the second button is set at 2s, 4s, 6s...32s...etc. key point.
  • the second operation time satisfies the above-mentioned time for setting the second key point. For example, if the second operation time is 4s, the second operation time meets the condition, and responds In the second operation, the target gun shoots bullets; if the second operation time is 3s, the second operation time does not meet the condition, the second operation is not responded to, and the target gun does not perform any action.
  • the first game includes a first key index file
  • the first key index file includes a plurality of first key points
  • the first key points are set in a one-to-one correspondence with the beat time periods in the first metronome file .
  • the first game may also include a plurality of first button points, that is, the first game may also be a rhythm game.
  • the first button point in the first game also needs to match the rhythm of its own background music.
  • the first game and the second game may have different scenes, game characters and target response operations.
  • the content of the first game is to control the gun to shoot bullets to burst the balloon
  • the second operation of the user is to click on the gun
  • the game character is the gun
  • the target response operation is to shoot the bullet, that is, the user needs to click according to the rhythm of the background music
  • the click operation actually meets the rhythm of the background music
  • the gun will shoot bullets
  • the content of the second game is to control the brave to fight monsters
  • the second operation of the user is to click on the brave, and the game character is the brave
  • the target response operation is to hit the monster, that is, the user needs to click the hero according to the rhythm of the background music. If the click operation actually meets the rhythm of the background music, the hero will hit the monster.
  • the above are only specific examples, and the present disclosure does not limit the specific contents
  • the user may not know the gameplay of the second game. For example, when the user is playing the first game, he may not know that the second game will be nested in the first game. In this case, if the user switches to the second game If you start the game immediately after the game, it may cause the user to lose the game.
  • the method may further include the following steps:
  • the second operation is not responded to.
  • timing in response to the first operation, timing is also started while the second interactive interface is displayed. If the second operation is received when the timing duration does not reach the preset duration, the second operation is not responded to. That is, in the embodiment, after switching to the second game, a preset game preparation time will be reserved. During this period of time, the second game is in a preparation state, and the user cannot operate the characters in the second game. . During this process, the user can learn the gameplay of the second game by querying the help control or other means, so as to help the user to play the game smoothly in the future.
  • the rhythm game requires a high degree of concentration
  • the user may be in a bad state after the first game, such as stiff fingers, etc., so the user can also adjust their state during this preparation time, such as moving their fingers, drinking A little water, etc., so that when the second game is started subsequently, the user can play the game in a better state, which improves the user experience.
  • the preset duration is 10s
  • the second game is to control the hero to fight monsters
  • the user after switching to the second game, the user cannot perform the second operation on the hero within 10s, even if the user performs the first operation on the hero.
  • the second operation will not be responded.
  • the user After 10s, the user performs the second operation on the brave man, and the brave man will only hit the monster.
  • the background music does not stop playing when the duration of displaying the second interactive interface does not reach the preset duration, and the first metronome file will also play along with the background music.
  • the play records the playing beat of the background music.
  • the method may further include:
  • the first prompt information may be output, and the first prompt information is used to prompt the user to perform the second operation after a preset time period, that is, the first prompt information can inform the user of the second game premonition Set aside the preparation time, and inform the user of the gameplay of the second game.
  • the first prompt information can inform the user of the second game premonition Set aside the preparation time, and inform the user of the gameplay of the second game.
  • the user can quickly grasp the gameplay of the second game, without the need to search for the gameplay information by looking for help controls, etc., which improves the user experience. Convenience when using.
  • the first prompt information can also enable the user to know the reserved time of the second game, avoid the user from missing the start time of the second game, and enable the user to perform the second operation as soon as possible after the preset time, which is convenient for the user to Control of game time.
  • the duration of displaying the second interactive interface reaches the preset duration, since the second game has already started, if the first prompt information continues to be displayed, the user's line of sight will be blocked, and the user has already obtained the information in the first prompt information.
  • the output of the first prompt information may be stopped, for example, the first prompt information will not be displayed, so as to facilitate the user to start the second game.
  • the above-mentioned first prompt information may include preset duration information, such as "start the game in 10s".
  • the first prompt information may include countdown information.
  • the first prompt information will change as time goes by: “start the game after 10s - start the game after 9s... start the game after 1s - start the game", etc., so that the user can more Accurately determine the start time of the second game; the countdown information here may also only include time information, such as "00:10", etc., see FIG. 4 , which is a first example according to an exemplary embodiment A schematic diagram of the prompt information, the present disclosure does not limit the display manner of the countdown information.
  • the first prompt information may also include the content of the second operation, as shown in FIG. 4 , the content of the second operation may be “follow the music to hit the bomb” and the like.
  • the first prompt information may only include any one or a combination of information such as preset duration information, countdown information, and content of the second operation, or the first prompt information may also include other required prompts User information, which is not limited in this disclosure.
  • the above-mentioned manner of outputting the first prompt information may be to display the first prompt information in the second interactive interface, or to output the first prompt information in language, such as language broadcast of countdown information, etc.
  • the present disclosure does not limit the first prompt information output method.
  • the second game may be a music game
  • the game mode of the music game is to display consecutive buttons, each button corresponds to a melody segment of game music, and each button is based on its own corresponding melody segment. time to trigger the operation.
  • the display interface of the electronic device will display buttons according to the rhythm of the background music.
  • the user needs to trigger different buttons in sequence according to the melody segment of the background music.
  • the time point and trigger duration of the trigger button depend on For the melody of the background music, for example, if part of the melody is a short tone, the user needs to click on the corresponding button, and if part of the melody is a long tone, the user needs to long press the corresponding button.
  • the process is similar to playing a real musical instrument, where the user earns points for triggering the right key in the right time frame.
  • the second interactive interface includes a button track, and a plurality of button controls are arranged on the button track, that is, the user can see the button track and the plurality of button controls arranged on the button track.
  • These key controls are set in a one-to-one correspondence with the first melody segment on the first track, as shown in FIG. 5 , which is a schematic diagram of setting a key track according to an exemplary embodiment.
  • the first track is the second track.
  • the audio track corresponding to the game's game music.
  • the button controls match the game music of the second game, and the user needs to trigger each button control in sequence according to the melody of the game music of the second game, and the second game will follow the first melody corresponding to the button control according to the time when the user triggers the button control. Whether the time periods corresponding to the clips match or not will be scored.
  • the method may further include:
  • the second game is a music game
  • the user can play the first melody segment corresponding to the target button control by controlling the target button control displayed on the second interactive interface to perform the third operation. That is, in the embodiment, the response content of the second game to the third operation is to play the corresponding melody segment. That is, in the embodiment, when a music game is nested in the first game, it is ensured that after switching to the second game, the user can complete the content of the music game while playing the background music of the first game, Thus, the scope of games to which the present disclosure is applicable is enriched.
  • the game music of the second game may be the background music of the first game.
  • the user after switching from the first game to the second game, the user can directly complete the game according to the melody of the background music of the first game. The user only needs to pay attention to the background music of the first game. better coherence.
  • the game music of the second game may not be the background music of the first game.
  • the first melody segment will also be played.
  • the background music of the first game is "Little Apple”
  • the game music of the second game is "Spring Water Dingdong”
  • “Little Apple” will be played continuously as the background music, and at the same time After receiving the user's third operation, it will also play some melody clips of "Spring Ding Dong” while playing "Little Apple”.
  • the game music of the second game since the game music of the second game only plays part of the melody fragment, when the background music of the first game and the game music of the second game are quite different, there will be no major difference between the two.
  • the background music of the first game and the game music of the second game are set reasonably, for example, when the two are relatively close or suitable for simultaneous playback, the two may also be merged into new music. Bring users a better gaming experience.
  • the game music of the second game may be fixed, for example, the game music of the second game is the background music of the first game.
  • the game music of the second game may also have user-defined settings, that is, in response to the user's selection input on the music selection control, the corresponding target music will be selected and input as the game music of the second game.
  • the specific manner to be adopted is not limited in the present disclosure.
  • the above-mentioned first game may also be a music game, that is, the first interactive interface includes a button track, and a plurality of button controls are arranged on the button track, and these button controls are connected with the second melody segment on the second track.
  • the second audio track is the audio track corresponding to the game music of the first game.
  • FIG. 6 is a block diagram of a game control apparatus according to an exemplary embodiment.
  • the game control device 200 includes a first receiving module 210 , a time determining module 220 , a beat determining module 230 , a display module 240 and a first playing module 250 .
  • the first receiving module 210 is configured to perform receiving the first operation of the first interactive interface of the first game
  • the time determination module 220 is configured to perform, in response to the first operation, based on the first operation time of the first operation, from a preconfigured first metronome file, to determine a first beat time period that matches the first operation time;
  • the first metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
  • the rhythm determining module 230 is configured to perform determining the first background music rhythm corresponding to the first rhythm time period
  • a display module 240 configured to execute a second interactive interface for displaying the second game
  • the first playing module 250 is configured to play the background music of the first game from the beat of the first background music.
  • the above-mentioned game control device 200 may further include:
  • a second receiving module configured to perform receiving a second operation on the second interactive interface
  • the execution module is configured to control the target game character in the second game to execute the target response operation matching the second operation under the condition that the second operation time of the second operation matches the beat time period of the first metronome file ; wherein, the second game is provided with a plurality of second button points, and the second button points are set in one-to-one correspondence with the beat time periods in the first metronome file.
  • the second game is a rhythm game
  • the user's second operation is a key operation in the rhythm game
  • the key operation here may include a click operation on a virtual key or
  • the present disclosure does not limit the specific type of the key operation, such as the click operation on the physical key.
  • the above execution module is further configured to execute:
  • the second operation is not responded to.
  • timing in response to the first operation, timing is started while displaying the second interactive interface, and if the second operation is received when the timing duration does not reach the preset duration, the second operation is not responded to. That is, in the embodiment, after switching to the second game, a preset game preparation time will be reserved. During this period of time, the second game is in a preparation state, and the user cannot operate the characters in the second game. . During this process, the user can learn the gameplay of the second game by querying the help control or other means, so as to help the user to play the game smoothly in the future.
  • the rhythm game requires a high degree of concentration
  • the user may be in a bad state after the first game, such as stiff fingers, etc., so the user can also adjust their state during this preparation time, such as moving their fingers, drinking A little water, etc., so that when the second game is started subsequently, the user can play the game in a better state, which improves the user experience.
  • the above-mentioned game control device 200 may further include:
  • the prompt module is configured to perform outputting first prompt information, and the first prompt information is configured to perform prompting the user to perform the second operation after a preset time period; when the time period of displaying the second interactive interface reaches the preset time period, stop outputting the first prompt information.
  • a prompt message is configured to perform outputting first prompt information, and the first prompt information is configured to perform prompting the user to perform the second operation after a preset time period; when the time period of displaying the second interactive interface reaches the preset time period, stop outputting the first prompt information.
  • the first prompt information may be output, and the first prompt information is used to prompt the user to perform the second operation after a preset time period, that is, the first prompt information can inform the user of the second game premonition Set aside the preparation time, and inform the user of the gameplay of the second game.
  • the first prompt information can inform the user of the second game premonition Set aside the preparation time, and inform the user of the gameplay of the second game.
  • the user can quickly grasp the gameplay of the second game, and does not need to search for the gameplay information by looking for help controls, etc., which improves the user experience. Convenience when using.
  • the first prompt information can also enable the user to know the reserved time of the second game, avoid the user from missing the start time of the second game, and enable the user to perform the second operation as soon as possible after the preset time, which is convenient for the user to Control of game time.
  • the above-mentioned second interactive interface includes a button track, and a plurality of button controls are provided on the button track.
  • the track is the audio track corresponding to the game music of the second game;
  • the above-mentioned game control device 200 may further include:
  • a third receiving module configured to perform receiving a third operation on the target key control
  • the second playing module is configured to play the first melody segment corresponding to the target key control.
  • the second game is a music game
  • the user can play the first melody segment corresponding to the target button control by controlling the target button control displayed on the second interactive interface to perform the third operation. That is, in the embodiment, the response content of the second game to the third operation is to play the corresponding melody segment. That is, in the embodiment, when a music game is nested in the first game, it is ensured that after switching to the second game, the user can complete the content of the music game while playing the background music of the first game, Thus, the scope of games to which the present disclosure is applicable is enriched.
  • Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 301 includes a processing component 3011, which further includes one or more processors, and memory 3013 resources, represented by memory 3013, for storing instructions executable by the processing component 3011, such as applications.
  • An application program stored in memory 3013 may include one or more modules, each corresponding to a set of instructions.
  • the processing component 3011 is configured to execute instructions to execute the game control method of any of the above embodiments.
  • the electronic device 301 may also include a power supply assembly 3015 configured to perform power management of the electronic device 301, a wired or wireless network interface 3017 configured to perform connection of the electronic device 301 to a network, and an input output (I/O) interface 3019.
  • Electronic device 301 may operate based on an operating system stored in memory 3013, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • a storage medium is also provided, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the game control method of any of the above embodiments.
  • the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk and optical data storage devices, etc.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk and optical data storage devices, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • User Interface Of Digital Computer (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

A game control method and apparatus, and an electronic device and a medium. The method comprises: receiving a first operation on a first interactive interface of a first game (S110); in response to the first operation, on the basis of a first operation time of the first operation, determining, from a pre-configured first metronome file, a first beat time period matching the first operation time (S120), the first metronome file comprising a series of beat time periods set according to background music beats of the first game; determining first background music beats corresponding to the first beat time period (S130); and displaying a second interactive interface of a second game, and playing background music of the first game starting from the first background music beats (S140).

Description

游戏控制的方法及装置Game control method and device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202011349577.5、申请日为2020年11月26日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202011349577.5 and the filing date of November 26, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本公开涉及游戏技术领域,尤其涉及游戏控制方法、装置、电子设备及介质。The present disclosure relates to the field of game technology, and in particular, to a game control method, apparatus, electronic device, and medium.
背景技术Background technique
随着游戏的发展,游戏的玩法越来越多样,为了提高游戏的趣味性,有些游戏中会存在游戏嵌套的情况,即一个游戏中还嵌套有其他的游戏。这种情况下,在用户玩游戏的过程中,则会出现游戏切换的场景。例如,A游戏中嵌套有B小游戏,用户在进行A游戏的过程中,在击打了某个怪物后,会切换进入B小游戏中,通关了B小游戏之后,则会切换回A游戏。With the development of the game, the gameplay of the game becomes more and more diverse. In order to improve the fun of the game, some games may have game nesting, that is, a game is also nested with other games. In this case, when the user is playing the game, a game switching scene will occur. For example, game A is nested with mini-game B. During the process of game A, after hitting a monster, the user will switch to mini-game B, and after clearing mini-game B, it will switch back to A game.
为了提高用户的体验,游戏通常设置有背景音乐,但是相关技术中,上述嵌套的几个游戏通常设置有不同的背景音乐或者同一个背景音乐的不同片段,用以区分各个游戏。但是这种情况下,当发生游戏切换时,就会出现背景音乐突然切换的情况,导致用户的体验中断,可见,目前的嵌套游戏之间的整体性和完整性较差。In order to improve user experience, games are usually provided with background music, but in the related art, the above-mentioned nested games are usually provided with different background music or different segments of the same background music to distinguish each game. However, in this case, when a game switch occurs, the background music will suddenly switch, resulting in interruption of the user's experience. It can be seen that the integrity and integrity of the current nested games are poor.
发明内容SUMMARY OF THE INVENTION
根据本公开实施例的第一方面,提供一种游戏控制方法,包括:According to a first aspect of the embodiments of the present disclosure, a game control method is provided, including:
接收对第一游戏的第一交互界面的第一操作;receiving a first operation on the first interactive interface of the first game;
响应于所述第一操作,基于所述第一操作的第一操作时间,从预先配置的第一节拍器文件中确定与所述第一操作时间相匹配的第一节拍时间段;所述第一节拍器文件包括按照所述第一游戏的背景音乐节拍设置的一系列节拍时间段;In response to the first operation, based on the first operation time of the first operation, a first beat time period that matches the first operation time is determined from a preconfigured first metronome file; the first beat time period is determined; The metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
确定与所述第一节拍时间段相对应的第一背景音乐节拍;determining the first background music beat corresponding to the first beat time period;
显示第二游戏的第二交互界面,并从所述第一背景音乐节拍开始播放所述第一游戏的背景音乐。The second interactive interface of the second game is displayed, and the background music of the first game is played from the beat of the first background music.
一种可选的实施例中,所述第二游戏包括第二按键索引文件,所述第二按键索引文件 包括多个第二按键点,所述第二按键点与所述第一节拍器文件中的节拍时间段一一对应设置。In an optional embodiment, the second game includes a second key index file, the second key index file includes a plurality of second key points, the second key points and the first metronome file. The takt time periods in the settings correspond to each other one by one.
一种可选的实施例中,所述游戏控制方法,还包括:In an optional embodiment, the game control method further includes:
接收对所述第二交互界面的第二操作;receiving a second operation on the second interactive interface;
在所述第二操作的第二操作时间符合所述第一节拍器文件的节拍时间段的情况下,控制所述第二游戏中的目标游戏角色执行与所述第二操作相匹配的目标响应操作。In the case that the second operation time of the second operation matches the beat time period of the first metronome file, controlling the target game character in the second game to perform a target response matching the second operation operate.
一种可选的实施例中,所述第一游戏包括第一按键索引文件,所述第一按键索引文件包括多个第一按键点,所述第一按键点与所述第一节拍器文件中的节拍时间段一一对应设置。In an optional embodiment, the first game includes a first key index file, the first key index file includes a plurality of first key points, the first key points and the first metronome file. The takt time periods in the settings correspond to each other one by one.
一种可选的实施例中,所述游戏控制方法,还包括:In an optional embodiment, the game control method further includes:
在显示所述第二交互界面的时长未达到预设时长的情况下,不对所述第二操作做出响应。In the case that the duration of displaying the second interactive interface does not reach the preset duration, no response is made to the second operation.
一种可选的实施例中,所述游戏控制方法,还包括:In an optional embodiment, the game control method further includes:
输出第一提示信息,所述第一提示信息用于提示用户在所述预设时长后执行所述第二操作;outputting first prompt information, where the first prompt information is used to prompt the user to perform the second operation after the preset time period;
响应于显示所述第二交互界面的时长达到所述预设时长,停止输出所述第一提示信息。In response to the duration of displaying the second interactive interface reaching the preset duration, the output of the first prompt information is stopped.
一种可选的实施例中,所述第二交互界面包括按键轨,所述按键轨上设置有多个按键控件,所述按键控件与第一音轨上的第一旋律片段一一对应设置,所述第一音轨为所述第二游戏的游戏音乐对应的音轨;并且In an optional embodiment, the second interactive interface includes a button track on which a plurality of button controls are provided, and the button controls are set in a one-to-one correspondence with the first melody segment on the first track. , the first audio track is the audio track corresponding to the game music of the second game; and
所述游戏控制方法,还包括:The game control method further includes:
接收对目标按键控件的第三操作;receiving a third operation on the target key control;
播放所述目标按键控件对应的第一旋律片段。Play the first melody segment corresponding to the target key control.
根据本公开实施例的第二方面,提供一种游戏控制装置,包括:According to a second aspect of the embodiments of the present disclosure, there is provided a game control device, comprising:
第一接收模块,被配置为接收对第一游戏的第一交互界面的第一操作;a first receiving module, configured to receive a first operation on the first interactive interface of the first game;
时间确定模块,被配置为响应于所述第一操作,基于所述第一操作的第一操作时间,从预先配置的第一节拍器文件中确定与所述第一操作时间相匹配的第一节拍时间段;所述第一节拍器文件包括按照所述第一游戏的背景音乐节拍设置的一系列节拍时间段;a time determination module configured to determine, in response to the first operation, a first operation time matching the first operation time from a preconfigured first metronome file based on the first operation time of the first operation a beat time period; the first metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
节拍确定模块,被配置为确定与所述第一节拍时间段相对应的第一背景音乐节拍;a beat determination module configured to determine a first background music beat corresponding to the first beat time period;
显示模块,被配置为显示第二游戏的第二交互界面;a display module configured to display the second interactive interface of the second game;
第一播放模块,被配置为从所述第一背景音乐节拍开始播放所述第一游戏的背景音乐。The first playing module is configured to play the background music of the first game from the beat of the first background music.
一种可选的实施例中,所述游戏控制装置还包括:In an optional embodiment, the game control device further includes:
第二接收模块,被配置为接收对所述第二交互界面的第二操作;a second receiving module, configured to receive a second operation on the second interactive interface;
执行模块,被配置为执行在所述第二操作的第二操作时间符合所述第一节拍器文件的节拍时间段的情况下,控制所述第二游戏中的目标游戏角色执行与所述第二操作相匹配的目标响应操作;其中,所述第二游戏设置有多个第二按键点,所述第二按键点与所述第一节拍器文件中的节拍时间段一一对应设置。The execution module is configured to execute, under the condition that the second operation time of the second operation conforms to the beat time period of the first metronome file, to control the target game character in the second game to execute the same operation as the first metronome file. The target corresponding to the two operations responds to the operation; wherein, the second game is provided with a plurality of second button points, and the second button points are set in a one-to-one correspondence with the beat time periods in the first metronome file.
一种可选的实施例中,所述执行模块还被配置为:In an optional embodiment, the execution module is further configured to:
在显示所述第二交互界面的时长未达到预设时长的情况下,不对所述第二操作做出响应。In the case that the duration of displaying the second interactive interface does not reach the preset duration, no response is made to the second operation.
一种可选的实施例中,所述装置还包括:In an optional embodiment, the device further includes:
提示模块,被配置为输出第一提示信息,所述第一提示信息被配置为执行提示用户在所述预设时长后执行所述第二操作;并且响应于显示所述第二交互界面的时长达到所述预设时长,停止输出所述第一提示信息。a prompt module, configured to output first prompt information, the first prompt information is configured to perform prompting the user to perform the second operation after the preset time period; and in response to the time period for displaying the second interactive interface When the preset time period is reached, the output of the first prompt information is stopped.
一种可选的实施例中,所述第二交互界面包括按键轨,所述按键轨上设置有多个按键控件,所述按键控件与第一音轨上的第一旋律片段一一对应设置,所述第一音轨为所述第二游戏的游戏音乐对应的音轨;并且In an optional embodiment, the second interactive interface includes a button track on which a plurality of button controls are provided, and the button controls are set in a one-to-one correspondence with the first melody segment on the first track. , the first audio track is the audio track corresponding to the game music of the second game; and
所述装置还包括:The device also includes:
第三接收模块,被配置为接收对目标按键控件的第三操作;The third receiving module is configured to receive the third operation on the target key control;
第二播放模块,被配置为播放所述目标按键控件对应的第一旋律片段。The second playing module is configured to play the first melody segment corresponding to the target key control.
根据本公开实施例的第三方面,提供一种电子设备,包括:According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, comprising:
处理器;processor;
用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
其中,所述处理器被配置为执行所述指令,以实现如第一方面所述的游戏控制方法。Wherein, the processor is configured to execute the instructions to implement the game control method according to the first aspect.
根据本公开实施例的第四方面,提供一种存储介质,其中,所述存储介质中的指令响应于由电子设备的处理器的执行,使得电子设备能够执行如第一方面所述的游戏控制方法。According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions in the storage medium enable the electronic device to perform the game control as described in the first aspect in response to execution by a processor of the electronic device method.
根据本公开实施例的第五方面,提供一种计算机程序产品,包括程序或指令,以使程序或指令被执行时,实现如第一方面所述的游戏控制方法。According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product including a program or an instruction, so that when the program or the instruction is executed, the game control method according to the first aspect is implemented.
本公开实施例中,在用户与第一游戏进行交互时,若接收到用户对第一交互界面的第一操作,则会从第一节拍器文件中,确定与第一操作的第一操作时间相匹配的第一节拍时间段,进而确定与第一节拍时间段对应的第一背景音乐节拍;后续将第一交互界面切换为第二游戏的第二交互界面,同时还会从第一背景音乐节拍继续播放第一游戏对应的背景音乐。这种方式使得在第一游戏和第二游戏发生切换后,第二游戏会继续播放与第一游戏相同的背景音乐,即游戏切换后,背景音乐也不会突然中断或切换为其他的音乐。这种方式,保证了游戏切换前后背景音乐的连贯性,相互嵌套的几个游戏之间也具有较高的整体性和完整性。In the embodiment of the present disclosure, when the user interacts with the first game, if the first operation of the user on the first interactive interface is received, the first operation time of the first operation and the first operation will be determined from the first metronome file. match the first beat time period, and then determine the first background music beat corresponding to the first beat time period; subsequently, the first interactive interface is switched to the second interactive interface of the second game, and the first background music The beat continues to play the background music corresponding to the first game. In this way, after the first game and the second game are switched, the second game will continue to play the same background music as the first game, that is, after the game is switched, the background music will not be suddenly interrupted or switched to other music. In this way, the continuity of the background music before and after the game switching is ensured, and several games that are nested in each other also have high integrity and integrity.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理,并不构成对本公开的不当限定。The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the description, serve to explain the principles of the present disclosure and do not unduly limit the present disclosure.
图1是根据一示例性实施例示出的一种游戏控制方法的流程图。Fig. 1 is a flowchart of a game control method according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种节拍器时间段的示意图。Fig. 2 is a schematic diagram of a metronome time period according to an exemplary embodiment.
图3是根据一示例性实施例示出的另一种游戏控制方法的流程图。Fig. 3 is a flowchart of another game control method according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种第一提示信息的示意图。Fig. 4 is a schematic diagram showing a kind of first prompt information according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种按键轨设置示意图。Fig. 5 is a schematic diagram showing the arrangement of a key track according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种游戏控制装置的框图。Fig. 6 is a block diagram of a game control device according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种电子设备的框图。Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment.
具体实施方式Detailed ways
为了使本领域普通人员更好地理解本公开的技术方案,下面将结合附图,对本公开实施例中的技术方案进行清楚、完整地描述。In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开的实施例能够以除了在这里图示或描述的那些以外的顺序实施。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。It should be noted that the terms "first", "second" and the like in the description and claims of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
如背景技术所述,在嵌套游戏相互切换时,背景音乐也会随之切换,这种情况下,会 导致用户的体验中断,针对于游戏操作与背景音乐关联的游戏,如音乐类游戏、节奏类游戏等,背景音乐切换也会导致用户的操作方式切换,影响用户游戏时的连贯性,并且还可能增加用户操作出错的风险,如两个音乐游戏相互嵌套时,若用户在习惯音乐A的节奏后,突然切换至音乐B的节奏,则用户可能会手忙脚乱,影响游戏的体验效果。As described in the background art, when the nested games switch to each other, the background music will also switch. In this case, the user's experience will be interrupted. For games whose game operations are associated with background music, such as music games, For rhythm games, etc., the switching of background music will also cause the user's operation mode to switch, affecting the continuity of the user's game, and may also increase the risk of user operation errors. For example, when two music games are nested, if the user is accustomed to music After the rhythm of music A, suddenly switch to the rhythm of music B, the user may be in a hurry, which affects the experience of the game.
为了解决上述技术问题,本公开实施例提供了一种游戏控制方法、装置、电子设备及介质。In order to solve the above technical problems, embodiments of the present disclosure provide a game control method, apparatus, electronic device, and medium.
下面首先对本公开提供的游戏控制方法进行介绍。The game control method provided by the present disclosure will be first introduced below.
该方法应用于电子设备,该电子设备可以为移动电子设备或非移动电子设备,例如可以为手机、平板电脑、计算机、可穿戴设备等。The method is applied to an electronic device, which can be a mobile electronic device or a non-mobile electronic device, such as a mobile phone, a tablet computer, a computer, a wearable device, and the like.
该电子设备上设置有目标游戏,该目标游戏内包括相互嵌套的至少两个子游戏,即该目标游戏至少包括第一游戏和第二游戏等子游戏,并且目标游戏内还可以包含其他子游戏。第一游戏和第二游戏之间可互相切换。其中,目标游戏中的任意一个子游戏均可以作为第一游戏或第二游戏。本公开不限定目标游戏中包含的各个子游戏的游戏类型。A target game is set on the electronic device, and the target game includes at least two sub-games nested in each other, that is, the target game includes at least sub-games such as a first game and a second game, and the target game may also include other sub-games . Switchable between the first game and the second game. Wherein, any sub-game in the target game can be used as the first game or the second game. The present disclosure does not limit the game type of each sub-game included in the target game.
下面以第一游戏为动作游戏,第二游戏为节奏游戏为例,介绍本公开实施例提供的一种游戏控制方法。用户在玩动作游戏时,用户可以操作游戏对象进行特定动作,动作游戏会播放对应的背景音乐,在用户玩动作游戏的过程中,若用户点击切换按键或者控制游戏对象执行了某个特定动作,则电子设备会切换至节奏游戏的交互界面。Taking the first game as an action game and the second game as an example of a rhythm game, the following describes a game control method provided by an embodiment of the present disclosure. When the user is playing an action game, the user can operate the game object to perform a specific action, and the action game will play the corresponding background music. During the user playing the action game, if the user clicks the switch button or controls the game object to perform a specific action, Then the electronic device will switch to the interactive interface of the rhythm game.
而节奏游戏以舞蹈或模拟打击乐器为主,用户需要按照游戏中背景音乐的节拍进行按键,只有在每个节拍的节拍时间段内进行了有效的操作,***才会为玩家增加游戏得分。例如,背景音乐为《小苹果》,则用户需要按照小苹果的节拍触发击打按钮才能得分,在此过程中,用户的每次的操作内容是相同的,而不是取决于背景音乐的旋律,用户操作的频率取决于背景音乐的节拍频率。The rhythm game is mainly based on dance or simulated percussion instruments. The user needs to press the button according to the beat of the background music in the game. Only when the effective operation is performed within the beat time period of each beat, the system will increase the game score for the player. For example, if the background music is "Little Apple", the user needs to trigger the button according to the rhythm of the little apple to score points. During this process, the content of each operation of the user is the same, rather than depending on the melody of the background music. The frequency of user actions depends on the beat frequency of the background music.
因此,在用户习惯动作游戏的背景音乐的情况下,为了避免用户在从动作游戏切换至节奏游戏后不容易连贯操作的情况,本公开实施例控制动作游戏与节奏游戏采用相同的背景音乐,并且保证切换至节奏游戏后,背景音乐不会重新播放,而是能够继续从动作游戏播放到的位置开始继续播放,从而大大提高了目标游戏的连贯性。Therefore, in the case where the user is accustomed to the background music of the action game, in order to avoid the situation that the user is not easy to operate continuously after switching from the action game to the rhythm game, the embodiment of the present disclosure controls the action game and the rhythm game to use the same background music, and It is guaranteed that after switching to the rhythm game, the background music will not be replayed, but can continue to play from the position where the action game was played, thus greatly improving the continuity of the target game.
下面结合图1至图5,对本公开提供的游戏控制方法进行详细的说明。The game control method provided by the present disclosure will be described in detail below with reference to FIGS. 1 to 5 .
如图1所示,图1是根据一示例性实施例示出的一种游戏控制方法的流程图,上述游戏控制方法包括步骤S110至S140,具体步骤如下。As shown in FIG. 1, FIG. 1 is a flowchart of a game control method according to an exemplary embodiment. The above game control method includes steps S110 to S140, and the specific steps are as follows.
在步骤S110中,接收对第一游戏的第一交互界面的第一操作。In step S110, a first operation on the first interactive interface of the first game is received.
用户与第一游戏进行交互时,电子设备的显示界面内会显示第一游戏的第一交互界面。这里的第一操作指的是触发游戏切换的操作。第一操作可以是对第一交互界面内设置的切换控件的触发操作,例如点击操作;或者,第一操作也可以是对第一交互界面内显示的目标对象的目标操作,例如对目标怪物的击打操作;或者,第一操作还可以是触发目标对象进入特定状态的操作,例如触发怪物boss死亡的击杀操作等。第一操作的内容是游戏内预先设定的,本公开不限定第一操作的具体类型。When the user interacts with the first game, the display interface of the electronic device will display the first interactive interface of the first game. The first operation here refers to an operation that triggers game switching. The first operation may be a trigger operation on the switching control set in the first interactive interface, such as a click operation; or, the first operation may also be a target operation on the target object displayed in the first interactive interface, such as a target monster. Strike operation; or, the first operation may also be an operation that triggers the target object to enter a specific state, such as a killing operation that triggers the death of a monster boss. The content of the first operation is preset in the game, and the present disclosure does not limit the specific type of the first operation.
在步骤S120中,响应于第一操作,基于第一操作的第一操作时间,从预先配置的第一节拍器文件中确定与第一操作时间相匹配的第一节拍时间段;第一节拍器文件包括按照第一游戏的背景音乐节拍设置的一系列节拍时间段。In step S120, in response to the first operation, based on the first operation time of the first operation, a first metronome time period matching the first operation time is determined from a preconfigured first metronome file; the first metronome The file includes a series of beat time periods set in accordance with the beats of the background music of the first game.
其中,第一操作时间指的是用户执行第一操作时对应的时间段,即从开始执行第一操作的时刻到第一操作执行完毕的时刻之间的时间段;或者,第一操作时间指的是执行第一操作之后预设时长的时间段,例如从第一操作执行完毕的时刻开始之后的5s对应的时间段。Wherein, the first operation time refers to the time period corresponding to when the user performs the first operation, that is, the time period from the moment when the first operation is performed to the moment when the first operation is completed; is a preset time period after the first operation is performed, for example, a time period corresponding to 5 s after the time when the first operation is completed.
此外,从另一方面看,为了方便计算,这里的第一操作时间可以为自背景音乐开始播放后的相对时间,即将背景音乐开始播放的时间点作为0点开始计时,接收到第一操作的时刻对应的计时时间即为第一操作时间。当然,第一操作时间也可以是自然时间,即卫星时间,例如15:32,这种情况下,后续为了确定第一操作时间对应的第一节拍时间段,需要令第一操作时间减去背景音乐开始播放的时间,得到时间差之后,依据时间差确定第一操作所处的节拍时间段。In addition, on the other hand, for the convenience of calculation, the first operation time here can be the relative time since the background music starts playing, that is, the time point when the background music starts playing is taken as 0:00, and the time after receiving the first operation The timing time corresponding to the time is the first operation time. Of course, the first operation time can also be natural time, that is, satellite time, such as 15:32. In this case, in order to determine the first tick time period corresponding to the first operation time, the background needs to be subtracted from the first operation time. After the time difference is obtained from the time when the music starts playing, the beat time period in which the first operation is located is determined according to the time difference.
由于每首音乐均具有固定的节拍,并且一首音乐中的节拍间隔通常是固定的,如图2所示,图2是根据一示例性实施例示出的一种节拍器时间段的示意图。因此可以通过各个节拍对应的时间段来对一首音乐进行等间隔的划分。第一节拍器文件包括按照第一游戏的背景音乐节拍设置的一系列节拍时间段,因此基于第一节拍器文件即能够确定背景音乐的各个节拍对应的时间段。这种情况下,在接收到第一操作之后,根据第一操作的第一操作时间所处的时间段,能够确定第一操作时间对应的节拍时间段,从而确定当前播放到的节拍,后续切换至第二交互界面后,即能够从当前播放到的节拍开始继续进行播放,从而保证背景音乐的连续。Since each piece of music has a fixed beat, and the beat interval in a piece of music is usually fixed, as shown in FIG. 2 , FIG. 2 is a schematic diagram of a metronome time period according to an exemplary embodiment. Therefore, a piece of music can be divided into equal intervals by the time period corresponding to each beat. The first metronome file includes a series of beat time periods set according to the beat of the background music of the first game, so the time period corresponding to each beat of the background music can be determined based on the first metronome file. In this case, after the first operation is received, the beat time period corresponding to the first operation time can be determined according to the time period of the first operation time of the first operation, so as to determine the currently played beat, and then switch After reaching the second interactive interface, the playback can be continued from the currently played beat, thereby ensuring the continuity of the background music.
在步骤S130中,确定与第一节拍时间段相对应的第一背景音乐节拍。In step S130, a first background music beat corresponding to the first beat time period is determined.
第一节拍器文件是基于第一游戏的背景音乐设置的,因此第一节拍器文件中的节拍时间段与背景音乐的节拍一一对应,故基于第一节拍时间段即能够确定与其对应的第一背景 音乐节拍,该第一背景音乐节拍即为接收到第一操作时,背景音乐播放到的节拍。The first metronome file is set based on the background music of the first game, so the beat time period in the first metronome file corresponds to the beat of the background music one-to-one, so the corresponding first beat time period can be determined based on the first beat time period. A background music beat, the first background music beat is the beat at which the background music is played when the first operation is received.
在步骤S140中,显示第二游戏的第二交互界面,并从第一背景音乐节拍开始播放第一游戏的背景音乐。In step S140, the second interactive interface of the second game is displayed, and the background music of the first game is played from the beat of the first background music.
在显示第二交互界面后,表示游戏已经从第一游戏切换为第二游戏。此时继续从第一背景音乐节拍开始播放第一游戏的背景音乐,即能够使用户感受到连贯的音乐播放效果。After the second interactive interface is displayed, it indicates that the game has been switched from the first game to the second game. At this time, the background music of the first game continues to be played from the beat of the first background music, that is, the user can feel a continuous music playing effect.
本公开实施例中,在用户与第一游戏进行交互时,若接收到用户对第一交互界面的第一操作,则会从第一节拍器文件中,确定与第一操作的第一操作时间相匹配的第一节拍时间段,进而确定与第一节拍时间段对应的第一背景音乐节拍;后续将第一交互界面切换为第二游戏的第二交互界面,同时还会从第一背景音乐节拍继续播放第一游戏对应的背景音乐。这种方式使得在第一游戏和第二游戏发生切换后,第二游戏会继续播放与第一游戏相同的背景音乐,即游戏切换后,背景音乐也不会突然中断或切换为其他的音乐。这种方式,保证了游戏切换前后背景音乐的连贯性,使得用户具有较为连贯的游戏体验,相互嵌套的几个游戏之间也具有较高的整体性和完整性。In the embodiment of the present disclosure, when the user interacts with the first game, if the first operation of the user on the first interactive interface is received, the first operation time of the first operation and the first operation will be determined from the first metronome file. match the first beat time period, and then determine the first background music beat corresponding to the first beat time period; subsequently, the first interactive interface is switched to the second interactive interface of the second game, and the first background music The beat continues to play the background music corresponding to the first game. In this way, after the first game and the second game are switched, the second game will continue to play the same background music as the first game, that is, after the game is switched, the background music will not be suddenly interrupted or switched to other music. In this way, the continuity of the background music before and after the game switching is ensured, so that the user has a relatively coherent game experience, and several games nested within each other also have high integrity and integrity.
在一些实施例中,第二游戏包括第二按键索引文件,第二按键索引文件包括多个第二按键点,第二按键点与第一节拍器文件中的节拍时间段一一对应设置。In some embodiments, the second game includes a second key index file, the second key index file includes a plurality of second key points, and the second key points are set in a one-to-one correspondence with the beat time periods in the first metronome file.
在实施例中,第二游戏为节奏游戏,节奏游戏需要用户根据背景音乐的节拍进行按键,因此,第二游戏需要设置多个第二按键点,用户需要在满足第二按键点对应的条件时进行按键,从而获得分数。通过将第二按键点与第一节拍器文件中的节拍时间段一一对应设置,能够限定各个第二按键点对应的按键时间,设置完成后,用户只需要在对应的节拍时间段内完成按键,即满足了第二按键点对应的条件。由于节奏游戏的按键节奏取决于游戏的背景音乐,这种情况下,令第二游戏连贯播放第一游戏的背景音乐,使得用户能够根据第一游戏的背景音乐的节奏进行操作,从而方便用户在进入第二游戏后快速习惯背景音乐的节奏,进而在准确的时间点进行按键,提高了用户游戏时的连贯性。In the embodiment, the second game is a rhythm game, and the rhythm game requires the user to press keys according to the beat of the background music. Therefore, the second game needs to set multiple second key points, and the user needs to meet the conditions corresponding to the second key points when Press the key to get the score. By setting the second key point in a one-to-one correspondence with the beat time period in the first metronome file, the key press time corresponding to each second key point can be limited. After the setting is completed, the user only needs to complete the key press within the corresponding beat time period. , that is, the condition corresponding to the second key point is satisfied. Since the key rhythm of the rhythm game depends on the background music of the game, in this case, the second game is made to continuously play the background music of the first game, so that the user can operate according to the rhythm of the background music of the first game, which is convenient for the user to play in the background music of the first game. After entering the second game, quickly get used to the rhythm of the background music, and then press the button at an accurate time, which improves the continuity of the user's game.
此外,上述将第二按键点与第一节拍器文件中的节拍时间段一一对应设置时,第二按键点具体可以与第一节拍器文件中的节拍时间段的起始时刻进行关联设置,或者,第二按键点也可以与第一节拍器文件中的节拍时间段的终止时刻进行关联设置。或者,由于用户在进行按键时,往往无法每次按键均准确命中同一个时刻点,而是很容易存在细微的时间偏差,因此为了提高用户的游戏体验,第二按键点也可以与第一节拍器文件中的节拍时间段的中的部分时段或整个时段进行关联设置。In addition, when the second key point is set in a one-to-one correspondence with the beat time period in the first metronome file, the second key point can be specifically set in association with the start time of the beat time period in the first metronome file, Alternatively, the second button point may also be set in association with the termination moment of the beat time period in the first metronome file. Or, because the user is often unable to accurately hit the same time point every time the key is pressed, but there is a slight time deviation, so in order to improve the user's game experience, the second key point can also be matched with the first beat. Set the associated settings for part of or the entire time period in the beat time period in the rhythm file.
例如,假设第一节拍器文件中的某个节拍时间段为[5s,5.5s],则可以将一个第二按 键点与[5s,5.5s]的时间段进行关联设置,后续在背景音乐播放时,只需要用户在播放进度为[5s,5.5s]的时间范围内进行按键,即认为为有效输入,可以响应该按键输入并得分。或者,假设第一节拍器文件中的某个节拍时间段为[5s,5.5s],则可以将一个第二按键点与[5.2s,5.5s]的时间段进行关联设置,后续在背景音乐播放时,只需要用户在播放进度为[5.2s,5.5s]的时间范围内进行按键,即认为为有效输入,可以响应该按键输入并得分。For example, assuming that a certain beat time period in the first metronome file is [5s, 5.5s], you can associate a second button point with the time period of [5s, 5.5s], and then play the background music later. , the user only needs to press the key within the time range of the playback progress of [5s, 5.5s], that is, it is considered as a valid input, and the key input can be responded to and scored. Or, assuming that a certain beat time period in the first metronome file is [5s, 5.5s], you can associate a second button point with the time period of [5.2s, 5.5s], and then set it in the background music later. When playing, the user only needs to press the button within the time range of the playback progress of [5.2s, 5.5s], that is, it is considered as a valid input, and the button input can be responded to and scored.
当然,以上仅为几种具体实例,本公开不限定第二关键点与第一节拍器文件之间的设置方式。Of course, the above are only a few specific examples, and the present disclosure does not limit the setting manner between the second key point and the first metronome file.
由于在显示第二交互界面的情况下,用户会与第二游戏进行交互,在第二游戏为节奏游戏的情况下,在另一些实施例中,上述步骤S140之后,参见图3所示,图3是根据一示例性实施例示出的另一种游戏控制方法的流程图。除了与上文参照图1所示的步骤S110、S120、S130和S140分别对应的步骤S310、S320、S330和S340之外,该方法还可以包括以下步骤:Since the user will interact with the second game when the second interactive interface is displayed, and in the case that the second game is a rhythm game, in other embodiments, after the above step S140, see FIG. 3 . 3 is a flowchart of another game control method according to an exemplary embodiment. In addition to steps S310, S320, S330 and S340 respectively corresponding to steps S110, S120, S130 and S140 shown above with reference to FIG. 1, the method may further include the following steps:
在步骤S350中,接收对第二交互界面的第二操作;In step S350, receiving a second operation on the second interactive interface;
在步骤S360中,在第二操作的第二操作时间符合第一节拍器文件的节拍时间段的情况下,控制第二游戏中的目标游戏角色执行与第二操作相匹配的目标响应操作。In step S360, if the second operation time of the second operation matches the beat time period of the first metronome file, the target game character in the second game is controlled to perform a target response operation matching the second operation.
在实施例中,由于第二游戏为节奏游戏,因此用户在于第二游戏进行交互时,用户的第二操作即为节奏游戏中的按键操作,这里的按键操作可以包括对虚拟按键的点击操作或者对实体按键的点击操作等,本公开不限定按键操作的具体类型。若第二操作的第二操作时间符合第一节拍器文件的节拍时间段,表明该第二操作满足了之前设置的第二按键点的设置条件,即用户在正确的时间进行了第二操作,因此可以控制目标游戏角色响应第二操作,执行与第二操作相匹配的目标响应操作,这里的目标响应操作指的是正确操作,例如目标响应操作可以为射出子弹、或者击打怪兽等。当在第二操作的第二操作时间不符合第一节拍器文件的节拍时间段的情况下,可以控制不响应第二操作;或者也可以控制响应第二操作,但是执行错误操作等。In the embodiment, since the second game is a rhythm game, when the user interacts with the second game, the user's second operation is a key operation in the rhythm game, and the key operation here may include a click operation on a virtual key or The present disclosure does not limit the specific type of the key operation, such as the click operation on the physical key. If the second operation time of the second operation conforms to the beat time period of the first metronome file, it indicates that the second operation satisfies the setting condition of the second button point set previously, that is, the user performs the second operation at the correct time, Therefore, the target game character can be controlled to respond to the second operation, and execute the target response operation matching the second operation. The target response operation here refers to the correct operation, for example, the target response operation can be shooting bullets or hitting monsters. When the second operation time of the second operation does not conform to the beat time period of the first metronome file, the second operation can be controlled not to respond; or the second operation can be controlled to respond, but an erroneous operation is performed.
通过本申请的实施例,能够保证在第二游戏为节奏游戏时,用户需要按照第一游戏的背景音乐的节拍进行操作,电子设备根据用户的第二操作的时间是否符合第一游戏的背景音乐的节拍,来确定是否响应用户的操作,从而实现了第一游戏与第二游戏的连贯性和整体性,避免进行游戏切换后用户产生割裂感的情况。Through the embodiments of the present application, it can be ensured that when the second game is a rhythm game, the user needs to operate in accordance with the beat of the background music of the first game, and the electronic device determines whether the time of the user's second operation matches the background music of the first game. The rhythm is used to determine whether to respond to the user's operation, thereby realizing the continuity and integrity of the first game and the second game, and avoiding the situation that the user feels disconnected after the game is switched.
作为一个示例,假设第一游戏的背景音乐为每2秒一个节拍,则第二游戏的第二按键点每隔2s设置一个,如分别在2s、4s、6s……32s……等设置第二按键点。后续在切换至 第二游戏后,接收到第二操作后,检测第二操作时间是否满足上述设置第二按键点的时间,例如第二操作时间为4s的话,则第二操作时间满足条件,响应第二操作,目标***射出子弹;若第二操作时间为3s的话,则第二操作时间不满足条件,则不响应第二操作,目标***不进行任何动作。As an example, assuming that the background music of the first game has a beat every 2 seconds, the second button point of the second game is set every 2s, for example, the second button is set at 2s, 4s, 6s...32s...etc. key point. After switching to the second game, after receiving the second operation, check whether the second operation time satisfies the above-mentioned time for setting the second key point. For example, if the second operation time is 4s, the second operation time meets the condition, and responds In the second operation, the target gun shoots bullets; if the second operation time is 3s, the second operation time does not meet the condition, the second operation is not responded to, and the target gun does not perform any action.
在另一些实施例中,上述第一游戏包括第一按键索引文件,第一按键索引文件包括多个第一按键点,第一按键点与第一节拍器文件中的节拍时间段一一对应设置。In other embodiments, the first game includes a first key index file, the first key index file includes a plurality of first key points, and the first key points are set in a one-to-one correspondence with the beat time periods in the first metronome file .
在实施例中,第一游戏也可以包括多个第一按键点,即第一游戏也可以为节奏游戏,这种情况下,第一游戏中的第一按键点也需要与自身背景音乐的节拍进行对应设置,因此需要将第一按键点与第一节拍器文件中的节拍时间段一一对应设置。通过这种方式,使得在两个节奏游戏嵌套时,在用户习惯第一游戏的节奏后,即使切换至第二游戏,用户也能够很快的适应第二游戏的操作节奏,连贯的进行操作,从而使用户具有更好的游戏体验。In the embodiment, the first game may also include a plurality of first button points, that is, the first game may also be a rhythm game. In this case, the first button point in the first game also needs to match the rhythm of its own background music. To perform corresponding settings, it is necessary to set the first button point and the beat time period in the first metronome file in a one-to-one correspondence. In this way, when two rhythm games are nested, after the user is accustomed to the rhythm of the first game, even if he switches to the second game, the user can quickly adapt to the operation rhythm of the second game and operate coherently. , so that users have a better gaming experience.
其中,由于第一游戏与第二游戏为不同的游戏,因此即使第一游戏与第二游戏均为节奏游戏,但是第一游戏和第二游戏可以具有不同的场景、游戏角色以及目标响应操作。例如,第一游戏的内容是控制***射出子弹来击破气球,则用户的第二操作为对***的点击操作,游戏角色为***,目标响应操作为射出子弹,即用户需要按照背景音乐的节奏点击***,若点击操作的实际满足背景音乐的节奏,则***会射出子弹;而第二游戏的内容为控制勇者击打怪兽,则用户的第二操作为对勇者的点击操作,游戏角色为勇者,目标响应操作为击打怪兽,即用户需要按照背景音乐的节奏点击勇者,若点击操作的实际满足背景音乐的节奏,则勇者会对怪兽进行击打。当然,以上仅为具体示例,本公开不限定第一游戏和第二游戏的具体内容。Wherein, since the first game and the second game are different games, even if the first game and the second game are both rhythm games, the first game and the second game may have different scenes, game characters and target response operations. For example, the content of the first game is to control the gun to shoot bullets to burst the balloon, then the second operation of the user is to click on the gun, the game character is the gun, and the target response operation is to shoot the bullet, that is, the user needs to click according to the rhythm of the background music For guns, if the click operation actually meets the rhythm of the background music, the gun will shoot bullets; and the content of the second game is to control the brave to fight monsters, the second operation of the user is to click on the brave, and the game character is the brave, The target response operation is to hit the monster, that is, the user needs to click the hero according to the rhythm of the background music. If the click operation actually meets the rhythm of the background music, the hero will hit the monster. Of course, the above are only specific examples, and the present disclosure does not limit the specific contents of the first game and the second game.
在一些场景中,用户可能并不清楚第二游戏的玩法,例如用户在玩第一游戏时,并不清楚会第一游戏内嵌套后第二游戏,这种情况下,若切换至第二游戏后立即开始游戏的话,可能会导致用户游戏失败的情况。In some scenarios, the user may not know the gameplay of the second game. For example, when the user is playing the first game, he may not know that the second game will be nested in the first game. In this case, if the user switches to the second game If you start the game immediately after the game, it may cause the user to lose the game.
基于此,在本公开的一些实施例中,在步骤S140之后,步骤S150之前,该方法还可以包括以下步骤:Based on this, in some embodiments of the present disclosure, after step S140 and before step S150, the method may further include the following steps:
在显示第二交互界面的时长未达到预设时长的情况下,不响应第二操作。If the duration of displaying the second interactive interface does not reach the preset duration, the second operation is not responded to.
在实施例中,响应于第一操作,在显示第二交互界面的同时,还会开始计时,若在计时时长未达到预设时长时接收到第二操作,则不响应第二操作。即在实施例中,在切换至第二游戏后,会预留出预设时长的游戏准备时间,在该段时间内,第二游戏处于准备状态,用户无法对第二游戏中的角色进行操作。在此过程中,用户可以通过查询帮助控件或者其 他方式了解第二游戏的玩法,帮助用户后续顺利进行游戏。并且,由于节奏游戏需要较高的专注度,因此用户在结束第一游戏后可能状态不好,例如手指僵硬等,因此用户也可以在这段准备时间内调整自身状态,例如活动活动手指,喝一点水等,从而使得在后续开始第二游戏时,用户能够以较好的状态进行游戏,提高了用户体验。In an embodiment, in response to the first operation, timing is also started while the second interactive interface is displayed. If the second operation is received when the timing duration does not reach the preset duration, the second operation is not responded to. That is, in the embodiment, after switching to the second game, a preset game preparation time will be reserved. During this period of time, the second game is in a preparation state, and the user cannot operate the characters in the second game. . During this process, the user can learn the gameplay of the second game by querying the help control or other means, so as to help the user to play the game smoothly in the future. In addition, since the rhythm game requires a high degree of concentration, the user may be in a bad state after the first game, such as stiff fingers, etc., so the user can also adjust their state during this preparation time, such as moving their fingers, drinking A little water, etc., so that when the second game is started subsequently, the user can play the game in a better state, which improves the user experience.
作为一个示例,假设预设时长为10s,第二游戏为控制勇者击打怪兽,则在切换至第二游戏后,在10s内,用户不能对勇者进行第二操作,即使用户对勇者进行了第二操作,也不会被响应,在10s之后,用户对勇者进行了第二操作,勇者才会击打怪兽。As an example, assuming that the preset duration is 10s, and the second game is to control the hero to fight monsters, after switching to the second game, the user cannot perform the second operation on the hero within 10s, even if the user performs the first operation on the hero. The second operation will not be responded. After 10s, the user performs the second operation on the brave man, and the brave man will only hit the monster.
此外,需要注意的是,为了保证游戏音乐的连贯性,在显示第二交互界面的时长未达到预设时长的过程中,背景音乐可以不停止播放,第一节拍器文件也会随着背景音乐的播放记录背景音乐的播放节拍。In addition, it should be noted that, in order to ensure the continuity of the game music, the background music does not stop playing when the duration of displaying the second interactive interface does not reach the preset duration, and the first metronome file will also play along with the background music. The play records the playing beat of the background music.
由于在预留出的游戏准备时间内,用户可能无法快速找到想要的游戏玩法信息,并且用户可能也不清楚具体的游戏准备时间,容易导致用户错过第二游戏的开始,影响游戏结果。基于此,在本公开的再一些实施例中,在步骤S140之后,该方法还可以包括:During the reserved game preparation time, the user may not be able to quickly find the desired game play information, and the user may not know the specific game preparation time, which may easily cause the user to miss the start of the second game and affect the game result. Based on this, in some further embodiments of the present disclosure, after step S140, the method may further include:
输出第一提示信息,第一提示信息用于提示用户在预设时长后执行第二操作;outputting first prompt information, where the first prompt information is used to prompt the user to perform the second operation after a preset time period;
在显示第二交互界面的时长达到预设时长时,停止输出第一提示信息。When the duration of displaying the second interactive interface reaches the preset duration, the output of the first prompt information is stopped.
在实施例中,在切换至第二游戏后,可以输出第一提示信息,第一提示信息用于提示用户在预设时长后执行第二操作,即第一提示信息能够告知用户第二游戏预留出来的准备时长,并且告知用户第二游戏的玩法,通过第一提示信息,使得用户能够快速掌握第二游戏的玩法,而不需要通过寻找帮助控件等来进行玩法信息的查找,提高了用户使用时的便利性。另外,第一提示信息还能够使用户了解到第二游戏的预留时长,避免用户错过第二游戏的开始时间,使用户能够尽可能在预设时长后立刻进行第二操作,方便了用户对游戏时间的掌控。而在显示第二交互界面的时长达到预设时长的情况下,由于第二游戏已经开始,若继续显示第一提示信息会遮挡用户视线,并且用户已经获取到了第一提示信息中的信息,因此可以停止输出第一提示信息,例如不再显示第一提示信息等,从而方便用户开始进行第二游戏。In the embodiment, after switching to the second game, the first prompt information may be output, and the first prompt information is used to prompt the user to perform the second operation after a preset time period, that is, the first prompt information can inform the user of the second game premonition Set aside the preparation time, and inform the user of the gameplay of the second game. Through the first prompt information, the user can quickly grasp the gameplay of the second game, without the need to search for the gameplay information by looking for help controls, etc., which improves the user experience. Convenience when using. In addition, the first prompt information can also enable the user to know the reserved time of the second game, avoid the user from missing the start time of the second game, and enable the user to perform the second operation as soon as possible after the preset time, which is convenient for the user to Control of game time. In the case where the duration of displaying the second interactive interface reaches the preset duration, since the second game has already started, if the first prompt information continues to be displayed, the user's line of sight will be blocked, and the user has already obtained the information in the first prompt information. The output of the first prompt information may be stopped, for example, the first prompt information will not be displayed, so as to facilitate the user to start the second game.
在一些示例中,上述第一提示信息可以包括预设时长信息,例如“10s后开始游戏”。或者第一提示信息可以包括倒计时信息,例如第一提示信息会随着时间进行以下变化:“10s后开始游戏-9s后开始游戏……1s后开始游戏-游戏开始”等,从而使用户能够更准确的确定第二游戏的开始时间;这里的倒计时信息也可以仅包含时间信息,例如“00:10”等,参见图4所示,图4是根据一示例性实施例示出的一种第一提示信息的示意图,本公 开不限定倒计时信息的显示方式。此外,第一提示信息还可以包括第二操作的内容,如图4所示,第二操作的内容可以为“跟随音乐击打炸弹”等。In some examples, the above-mentioned first prompt information may include preset duration information, such as "start the game in 10s". Or the first prompt information may include countdown information. For example, the first prompt information will change as time goes by: "start the game after 10s - start the game after 9s... start the game after 1s - start the game", etc., so that the user can more Accurately determine the start time of the second game; the countdown information here may also only include time information, such as "00:10", etc., see FIG. 4 , which is a first example according to an exemplary embodiment A schematic diagram of the prompt information, the present disclosure does not limit the display manner of the countdown information. In addition, the first prompt information may also include the content of the second operation, as shown in FIG. 4 , the content of the second operation may be “follow the music to hit the bomb” and the like.
在一些实施例中,第一提示信息可以仅包含预设时长信息、倒计时信息、第二操作的内容等信息中的任意一种或几种的组合,或者第一提示信息还可以包含其他需要提示用户的信息,本公开对此不作限定。In some embodiments, the first prompt information may only include any one or a combination of information such as preset duration information, countdown information, and content of the second operation, or the first prompt information may also include other required prompts User information, which is not limited in this disclosure.
此外,上述输出第一提示信息的方式,可以是在第二交互界面内显示第一提示信息,也可以是语言输出第一提示信息,例如语言播报倒计时信息等,本公开不限定第一提示信息的输出方式。In addition, the above-mentioned manner of outputting the first prompt information may be to display the first prompt information in the second interactive interface, or to output the first prompt information in language, such as language broadcast of countdown information, etc. The present disclosure does not limit the first prompt information output method.
在本公开的又一些实施例中,第二游戏可以为音乐游戏,音乐游戏的游戏方式是显示连续的按键,每个按键分别对应一段游戏音乐的旋律片段,各个按键按照自身对应的旋律片段的时长进行触发操作。In still other embodiments of the present disclosure, the second game may be a music game, and the game mode of the music game is to display consecutive buttons, each button corresponds to a melody segment of game music, and each button is based on its own corresponding melody segment. time to trigger the operation.
其中,用户在玩音乐游戏时,电子设备的显示界面内会根据背景音乐的节拍显示按键,用户需要根据背景音乐的旋律片段依次触发不同的按键,触发按键的时间点与触发时长,均取决于背景音乐的旋律,例如部分旋律为短音,则用户需要对对应的按键进行点击,部分旋律为长音,则用户需要对对应的按键进行长按等。该过程类似于真实演奏乐器,用户在正确的时间范围内触发正确的按键则获得分数。Among them, when the user is playing a music game, the display interface of the electronic device will display buttons according to the rhythm of the background music. The user needs to trigger different buttons in sequence according to the melody segment of the background music. The time point and trigger duration of the trigger button depend on For the melody of the background music, for example, if part of the melody is a short tone, the user needs to click on the corresponding button, and if part of the melody is a long tone, the user needs to long press the corresponding button. The process is similar to playing a real musical instrument, where the user earns points for triggering the right key in the right time frame.
在第二游戏为音乐游戏的情况下,则第二交互界面包括按键轨,按键轨上设置有多个按键控件,即用户能够看到按键轨及其上所设置的多个按键控件。这些按键控件与第一音轨上的第一旋律片段一一对应设置,如图5所示,图5是根据一示例性实施例示出的一种按键轨设置示意图,第一音轨为第二游戏的游戏音乐对应的音轨。In the case where the second game is a music game, the second interactive interface includes a button track, and a plurality of button controls are arranged on the button track, that is, the user can see the button track and the plurality of button controls arranged on the button track. These key controls are set in a one-to-one correspondence with the first melody segment on the first track, as shown in FIG. 5 , which is a schematic diagram of setting a key track according to an exemplary embodiment. The first track is the second track. The audio track corresponding to the game's game music.
即按键控件与第二游戏的游戏音乐相匹配,用户需要按照第二游戏的游戏音乐的旋律依次触发各个按键控件,后续第二游戏会根据用户触发按键控件的时间与按键控件对应的第一旋律片段对应的时间段是否匹配,来进行打分。That is, the button controls match the game music of the second game, and the user needs to trigger each button control in sequence according to the melody of the game music of the second game, and the second game will follow the first melody corresponding to the button control according to the time when the user triggers the button control. Whether the time periods corresponding to the clips match or not will be scored.
相应的,在上述步骤S140之后,该方法还可以包括:Correspondingly, after the above step S140, the method may further include:
接收对目标按键控件的第三操作;receiving a third operation on the target key control;
播放目标按键控件对应的第一旋律片段。Play the first melody segment corresponding to the target key control.
在实施例中,第二游戏为音乐游戏,用户能够通过控制第二交互界面所显示的目标按键控件进行第三操作,来实现对目标按键控件对应的第一旋律片段的播放。即在实施例中,第二游戏对于第三操作的响应内容,就是播放对应的旋律片段。即在实施例中,能够在第一游戏内嵌套有音乐游戏的情况下,保证在切换至第二游戏后,用户能够在播放第一游戏 的背景音乐的过程中,完成音乐游戏的内容,从而丰富了本公开所适用的游戏范围。In the embodiment, the second game is a music game, and the user can play the first melody segment corresponding to the target button control by controlling the target button control displayed on the second interactive interface to perform the third operation. That is, in the embodiment, the response content of the second game to the third operation is to play the corresponding melody segment. That is, in the embodiment, when a music game is nested in the first game, it is ensured that after switching to the second game, the user can complete the content of the music game while playing the background music of the first game, Thus, the scope of games to which the present disclosure is applicable is enriched.
在一些实施例中,第二游戏的游戏音乐可以为第一游戏的背景音乐。这种情况下,使得在从第一游戏切换至第二游戏后,用户能够直接根据第一游戏的背景音乐的旋律完成游戏,用户只需要关注第一游戏的背景音乐即可,用户游戏时操作的连贯性更好。In some embodiments, the game music of the second game may be the background music of the first game. In this case, after switching from the first game to the second game, the user can directly complete the game according to the melody of the background music of the first game. The user only needs to pay attention to the background music of the first game. better coherence.
在一些实施例中,第二游戏的游戏音乐也可以不是第一游戏的背景音乐,这种情况下,在用户与第二游戏进行交互时,不仅会播放第一游戏的背景音乐,同时在接收到用户的第三操作后,还会播放第一旋律片段。例如,第一游戏的背景音乐为《小苹果》,第二游戏的游戏音乐为《泉水叮咚》,则在用户与第二游戏进行交互时,会连续播放《小苹果》作为背景音乐,同时在接收到用户的第三操作后,还会在播放《小苹果》的同时,播放《泉水叮咚》的部分旋律片段。这种情况下,由于第二游戏的游戏音乐仅是播放部分旋律片段,因此在第一游戏的背景音乐与第二游戏的游戏音乐具有较大差异时,两者之间并不会有较大影响,并且,在第一游戏的背景音乐与第二游戏的游戏音乐设置较为合理的情况下,例如两者为较为接近或者适合同时播放的情况下,两者还可能彼此融合为新的音乐,带给用户更好的游戏体验。In some embodiments, the game music of the second game may not be the background music of the first game. In this case, when the user interacts with the second game, not only the background music of the first game is played, but also the After the user's third operation, the first melody segment will also be played. For example, if the background music of the first game is "Little Apple", and the game music of the second game is "Spring Water Dingdong", when the user interacts with the second game, "Little Apple" will be played continuously as the background music, and at the same time After receiving the user's third operation, it will also play some melody clips of "Spring Ding Dong" while playing "Little Apple". In this case, since the game music of the second game only plays part of the melody fragment, when the background music of the first game and the game music of the second game are quite different, there will be no major difference between the two. In addition, when the background music of the first game and the game music of the second game are set reasonably, for example, when the two are relatively close or suitable for simultaneous playback, the two may also be merged into new music. Bring users a better gaming experience.
此外,在另一些实施例中,第二游戏的游戏音乐可以是固定的,例如第二游戏的游戏音乐就是第一游戏的背景音乐。或者,在一些实施例中,第二游戏的游戏音乐也可以有用户自定义设置,即响应于用户对音乐选择控件的选择输入,将选择输入对应的目标音乐作为第二游戏的游戏音乐。具体采用哪种方式,本公开不作限定。In addition, in other embodiments, the game music of the second game may be fixed, for example, the game music of the second game is the background music of the first game. Alternatively, in some embodiments, the game music of the second game may also have user-defined settings, that is, in response to the user's selection input on the music selection control, the corresponding target music will be selected and input as the game music of the second game. The specific manner to be adopted is not limited in the present disclosure.
在另一些实施例中,上述第一游戏也可以为音乐游戏,即第一交互界面包括按键轨,按键轨上设置有多个按键控件,这些按键控件与第二音轨上的第二旋律片段一一对应设置,第二音轨为第一游戏的游戏音乐对应的音轨。在第一游戏为音乐游戏的情况下,第一游戏的相关实现方式可参见上述实施例的内容,在此不再赘述。In other embodiments, the above-mentioned first game may also be a music game, that is, the first interactive interface includes a button track, and a plurality of button controls are arranged on the button track, and these button controls are connected with the second melody segment on the second track. One-to-one correspondence setting, the second audio track is the audio track corresponding to the game music of the first game. In the case where the first game is a music game, reference may be made to the content of the foregoing embodiment for the related implementation manner of the first game, which will not be repeated here.
本公开实施例还提供了一种游戏控制装置,图6是根据一示例性实施例示出的一种游戏控制装置的框图。参照图6,该游戏控制装置200包括第一接收模块210、时间确定模块220、节拍确定模块230、显示模块240和第一播放模块250。An embodiment of the present disclosure further provides a game control apparatus, and FIG. 6 is a block diagram of a game control apparatus according to an exemplary embodiment. 6 , the game control device 200 includes a first receiving module 210 , a time determining module 220 , a beat determining module 230 , a display module 240 and a first playing module 250 .
第一接收模块210,被配置为执行接收对第一游戏的第一交互界面的第一操作;The first receiving module 210 is configured to perform receiving the first operation of the first interactive interface of the first game;
时间确定模块220,被配置为执行响应于第一操作,基于第一操作的第一操作时间,从预先配置的第一节拍器文件中确定与第一操作时间相匹配的第一节拍时间段;第一节拍器文件包括按照第一游戏的背景音乐节拍设置的一系列节拍时间段;The time determination module 220 is configured to perform, in response to the first operation, based on the first operation time of the first operation, from a preconfigured first metronome file, to determine a first beat time period that matches the first operation time; The first metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
节拍确定模块230,被配置为执行确定与第一节拍时间段相对应的第一背景音乐节 拍;The rhythm determining module 230 is configured to perform determining the first background music rhythm corresponding to the first rhythm time period;
显示模块240,被配置为执行显示第二游戏的第二交互界面;a display module 240, configured to execute a second interactive interface for displaying the second game;
第一播放模块250,被配置为执行从第一背景音乐节拍开始播放第一游戏的背景音乐。The first playing module 250 is configured to play the background music of the first game from the beat of the first background music.
本公开实施例中,在用户与第一游戏进行交互时,若接收到用户对第一交互界面的第一操作,则会从第一节拍器文件中,确定与第一操作的第一操作时间相匹配的第一节拍时间段,进而确定与第一节拍时间段对应的第一背景音乐节拍;后续将第一交互界面切换为第二游戏的第二交互界面,同时还会从第一背景音乐节拍继续播放第一游戏对应的背景音乐。这种方式使得在第一游戏和第二游戏发生切换后,第二游戏会继续播放与第一游戏相同的背景音乐,即游戏切换后,背景音乐也不会突然中断或切换为其他的音乐。这种方式,保证了游戏切换前后背景音乐的连贯性,使得用户具有较为连贯的游戏体验,相互嵌套的几个游戏之间也具有较高的整体性和完整性。In the embodiment of the present disclosure, when the user interacts with the first game, if the first operation of the user on the first interactive interface is received, the first operation time of the first operation and the first operation will be determined from the first metronome file. match the first beat time period, and then determine the first background music beat corresponding to the first beat time period; subsequently, the first interactive interface is switched to the second interactive interface of the second game, and the first background music The beat continues to play the background music corresponding to the first game. In this way, after the first game and the second game are switched, the second game will continue to play the same background music as the first game, that is, after the game is switched, the background music will not be suddenly interrupted or switched to other music. In this way, the continuity of the background music before and after the game switching is ensured, so that the user has a relatively coherent game experience, and several games nested within each other also have high integrity and integrity.
在一些实施例中,上述游戏控制装置200还可以包括:In some embodiments, the above-mentioned game control device 200 may further include:
第二接收模块,被配置为执行接收对所述第二交互界面的第二操作;a second receiving module configured to perform receiving a second operation on the second interactive interface;
执行模块,被配置为执行在第二操作的第二操作时间符合第一节拍器文件的节拍时间段的情况下,控制第二游戏中的目标游戏角色执行与第二操作相匹配的目标响应操作;其中,第二游戏设置有多个第二按键点,第二按键点与第一节拍器文件中的节拍时间段一一对应设置。The execution module is configured to control the target game character in the second game to execute the target response operation matching the second operation under the condition that the second operation time of the second operation matches the beat time period of the first metronome file ; wherein, the second game is provided with a plurality of second button points, and the second button points are set in one-to-one correspondence with the beat time periods in the first metronome file.
在实施例中,由于第二游戏为节奏游戏,因此用户在于第二游戏进行交互时,用户的第二操作即为节奏游戏中的按键操作,这里的按键操作可以包括对虚拟按键的点击操作或者对实体按键的点击操作等,本公开不限定按键操作的具体类型。若第二操作的第二操作时间符合第一节拍器文件的节拍时间段,表明该第二操作满足了之前设置的第二按键点的设置条件,即用户在正确的时间进行了第二操作,因此可以控制目标游戏角色响应该第二操作,执行与第二操作相匹配的目标响应操作,例如目标响应操作可以为射出子弹、或者击打怪兽等。In the embodiment, since the second game is a rhythm game, when the user interacts with the second game, the user's second operation is a key operation in the rhythm game, and the key operation here may include a click operation on a virtual key or The present disclosure does not limit the specific type of the key operation, such as the click operation on the physical key. If the second operation time of the second operation conforms to the beat time period of the first metronome file, it indicates that the second operation satisfies the setting condition of the second button point set previously, that is, the user performs the second operation at the correct time, Therefore, the target game character can be controlled to respond to the second operation and perform a target response operation matching the second operation, for example, the target response operation can be shooting bullets, or hitting a monster.
在另一些实施例中,上述执行模块还被配置为执行:In other embodiments, the above execution module is further configured to execute:
在显示第二交互界面的时长未达到预设时长的情况下,不响应第二操作。If the duration of displaying the second interactive interface does not reach the preset duration, the second operation is not responded to.
在实施例中,响应于第一操作,显示第二交互界面的同时,还会开始计时,并在计时时长未达到预设时长时接收到第二操作的话,则不响应第二操作。即在实施例中,在切换至第二游戏后,会预留出预设时长的游戏准备时间,在该段时间内,第二游戏处于准备状 态,用户无法对第二游戏中的角色进行操作。在此过程中,用户可以通过查询帮助控件或者其他方式了解第二游戏的玩法,帮助用户后续顺利进行游戏。并且,由于节奏游戏需要较高的专注度,因此用户在结束第一游戏后可能状态不好,例如手指僵硬等,因此用户也可以在这段准备时间内调整自身状态,例如活动活动手指,喝一点水等,从而使得在后续开始第二游戏时,用户能够以较好的状态进行游戏,提高了用户体验。In an embodiment, in response to the first operation, timing is started while displaying the second interactive interface, and if the second operation is received when the timing duration does not reach the preset duration, the second operation is not responded to. That is, in the embodiment, after switching to the second game, a preset game preparation time will be reserved. During this period of time, the second game is in a preparation state, and the user cannot operate the characters in the second game. . During this process, the user can learn the gameplay of the second game by querying the help control or other means, so as to help the user to play the game smoothly in the future. In addition, since the rhythm game requires a high degree of concentration, the user may be in a bad state after the first game, such as stiff fingers, etc., so the user can also adjust their state during this preparation time, such as moving their fingers, drinking A little water, etc., so that when the second game is started subsequently, the user can play the game in a better state, which improves the user experience.
在本公开的再一些实施例中,上述游戏控制装置200还可以包括:In still other embodiments of the present disclosure, the above-mentioned game control device 200 may further include:
提示模块,被配置为执行输出第一提示信息,第一提示信息被配置为执行提示用户在预设时长后执行第二操作;在显示第二交互界面的时长达到预设时长时,停止输出第一提示信息。The prompt module is configured to perform outputting first prompt information, and the first prompt information is configured to perform prompting the user to perform the second operation after a preset time period; when the time period of displaying the second interactive interface reaches the preset time period, stop outputting the first prompt information. A prompt message.
在实施例中,在切换至第二游戏后,可以输出第一提示信息,第一提示信息用于提示用户在预设时长后执行第二操作,即第一提示信息能够告知用户第二游戏预留出来的准备时长,并且告知用户第二游戏的玩法,通过第一提示信息,使得用户能够快速掌握第二游戏的玩法,而不需要通过寻找帮助控件等来进行玩法信息的查找,提高了用户使用时的便利性。另外,第一提示信息还能够使用户了解到第二游戏的预留时长,避免用户错过第二游戏的开始时间,使用户能够尽可能在预设时长后立刻进行第二操作,方便了用户对游戏时间的掌控。In the embodiment, after switching to the second game, the first prompt information may be output, and the first prompt information is used to prompt the user to perform the second operation after a preset time period, that is, the first prompt information can inform the user of the second game premonition Set aside the preparation time, and inform the user of the gameplay of the second game. Through the first prompt information, the user can quickly grasp the gameplay of the second game, and does not need to search for the gameplay information by looking for help controls, etc., which improves the user experience. Convenience when using. In addition, the first prompt information can also enable the user to know the reserved time of the second game, avoid the user from missing the start time of the second game, and enable the user to perform the second operation as soon as possible after the preset time, which is convenient for the user to Control of game time.
在本公开的又一些实施例中,上述第二交互界面包括按键轨,按键轨上设置有多个按键控件,按键控件与第一音轨上的第一旋律片段一一对应设置,第一音轨为第二游戏的游戏音乐对应的音轨;In still other embodiments of the present disclosure, the above-mentioned second interactive interface includes a button track, and a plurality of button controls are provided on the button track. The track is the audio track corresponding to the game music of the second game;
上述游戏控制装置200还可以包括:The above-mentioned game control device 200 may further include:
第三接收模块,被配置为执行接收对目标按键控件的第三操作;a third receiving module, configured to perform receiving a third operation on the target key control;
第二播放模块,被配置为执行播放目标按键控件对应的第一旋律片段。The second playing module is configured to play the first melody segment corresponding to the target key control.
在实施例中,第二游戏为音乐游戏,用户能够通过控制第二交互界面所显示的目标按键控件进行第三操作,来实现对目标按键控件对应的第一旋律片段的播放。即在实施例中,第二游戏对于第三操作的响应内容,就是播放对应的旋律片段。即在实施例中,能够在第一游戏内嵌套有音乐游戏的情况下,保证在切换至第二游戏后,用户能够在播放第一游戏的背景音乐的过程中,完成音乐游戏的内容,从而丰富了本公开所适用的游戏范围。In the embodiment, the second game is a music game, and the user can play the first melody segment corresponding to the target button control by controlling the target button control displayed on the second interactive interface to perform the third operation. That is, in the embodiment, the response content of the second game to the third operation is to play the corresponding melody segment. That is, in the embodiment, when a music game is nested in the first game, it is ensured that after switching to the second game, the user can complete the content of the music game while playing the background music of the first game, Thus, the scope of games to which the present disclosure is applicable is enriched.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
图7是根据一示例性实施例示出的一种电子设备的框图。参照图7,该电子设备301 包括处理组件3011,其进一步包括一个或多个处理器,以及由存储器3013所代表的存储器3013资源,用于存储可由处理组件3011的执行的指令,例如应用程序。存储器3013中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件3011被配置为执行指令,以执行上述任一实施例的游戏控制方法。Fig. 7 is a block diagram of an electronic device according to an exemplary embodiment. 7, the electronic device 301 includes a processing component 3011, which further includes one or more processors, and memory 3013 resources, represented by memory 3013, for storing instructions executable by the processing component 3011, such as applications. An application program stored in memory 3013 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 3011 is configured to execute instructions to execute the game control method of any of the above embodiments.
该电子设备301还可以包括一个电源组件3015被配置为执行电子设备301的电源管理,一个有线或无线网络接口3017被配置为执行将电子设备301连接到网络,和一个输入输出(I/O)接口3019。电子设备301可以操作基于存储在存储器3013的操作***,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。The electronic device 301 may also include a power supply assembly 3015 configured to perform power management of the electronic device 301, a wired or wireless network interface 3017 configured to perform connection of the electronic device 301 to a network, and an input output (I/O) interface 3019. Electronic device 301 may operate based on an operating system stored in memory 3013, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
在本公开一些实施例中,还提供了一种存储介质,当该存储介质中的指令由上述电子设备的处理器执行时,使得电子设备能够执行上述任一实施例的游戏控制方法。In some embodiments of the present disclosure, a storage medium is also provided, when the instructions in the storage medium are executed by the processor of the electronic device, the electronic device can execute the game control method of any of the above embodiments.
在一些实施例中,该存储介质可以是非临时性计算机可读存储介质,示例性的,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In some embodiments, the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk and optical data storage devices, etc.
本领域技术人员在考虑说明书及实践这里公开的内容后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of what is disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
本公开所有实施例均可以单独被执行,也可以与其他实施例相结合被执行,均视为本公开要求的保护范围。All the embodiments of the present disclosure can be implemented independently or in combination with other embodiments, which are all regarded as the protection scope required by the present disclosure.

Claims (20)

  1. 一种游戏控制方法,包括:A game control method comprising:
    接收对第一游戏的第一交互界面的第一操作;receiving a first operation on the first interactive interface of the first game;
    响应于所述第一操作,基于所述第一操作的第一操作时间,从预先配置的第一节拍器文件中确定与所述第一操作时间相匹配的第一节拍时间段;所述第一节拍器文件包括按照所述第一游戏的背景音乐节拍设置的一系列节拍时间段;In response to the first operation, based on the first operation time of the first operation, a first beat time period that matches the first operation time is determined from a preconfigured first metronome file; the first beat time period is determined; The metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
    确定与所述第一节拍时间段相对应的第一背景音乐节拍;determining the first background music beat corresponding to the first beat time period;
    显示第二游戏的第二交互界面,并从所述第一背景音乐节拍开始播放所述第一游戏的背景音乐。The second interactive interface of the second game is displayed, and the background music of the first game is played from the beat of the first background music.
  2. 根据权利要求1所述的游戏控制方法,其中,所述第二游戏包括第二按键索引文件,所述第二按键索引文件包括多个第二按键点,所述第二按键点与所述第一节拍器文件中的节拍时间段一一对应设置。The game control method according to claim 1, wherein the second game includes a second key index file, the second key index file includes a plurality of second key points, the second key points and the first key The beat time periods in a metronome file are set in one-to-one correspondence.
  3. 根据权利要求2所述的游戏控制方法,还包括:The game control method according to claim 2, further comprising:
    接收对所述第二交互界面的第二操作;receiving a second operation on the second interactive interface;
    在所述第二操作的第二操作时间符合所述第一节拍器文件的节拍时间段的情况下,控制所述第二游戏中的目标游戏角色执行与所述第二操作相匹配的目标响应操作。In the case that the second operation time of the second operation matches the beat time period of the first metronome file, controlling the target game character in the second game to perform a target response matching the second operation operate.
  4. 根据权利要求2或3所述的游戏控制方法,其中,所述第一游戏包括第一按键索引文件,所述第一按键索引文件包括多个第一按键点,所述第一按键点与所述第一节拍器文件中的节拍时间段一一对应设置。The game control method according to claim 2 or 3, wherein the first game includes a first key index file, the first key index file includes a plurality of first key points, and the first key points are related to all the first key points. The beat time periods in the first metronome file are set in one-to-one correspondence.
  5. 根据权利要求3所述的游戏控制方法,还包括:The game control method according to claim 3, further comprising:
    在显示所述第二交互界面的时长未达到预设时长的情况下,不对所述第二操作做出响应。In the case that the duration of displaying the second interactive interface does not reach the preset duration, no response is made to the second operation.
  6. 根据权利要求5所述的游戏控制方法,还包括:The game control method according to claim 5, further comprising:
    输出第一提示信息,所述第一提示信息用于提示用户在所述预设时长后执行所述第二操作;outputting first prompt information, where the first prompt information is used to prompt the user to perform the second operation after the preset time period;
    响应于显示所述第二交互界面的时长达到所述预设时长,停止输出所述第一提示信息。In response to the duration of displaying the second interactive interface reaching the preset duration, the output of the first prompt information is stopped.
  7. 根据权利要求1所述的游戏控制方法,其中,所述第二交互界面包括按键轨,所述按键轨上设置有多个按键控件,所述按键控件与第一音轨上的第一旋律片段一一对应设置,所述第一音轨为所述第二游戏的游戏音乐对应的音轨;并且The game control method according to claim 1, wherein the second interactive interface comprises a button track, a plurality of button controls are arranged on the button track, and the button controls are connected to the first melody segment on the first audio track. One-to-one correspondence setting, the first audio track is the audio track corresponding to the game music of the second game; and
    所述游戏控制方法,还包括:The game control method further includes:
    接收对目标按键控件的第三操作;receiving a third operation on the target key control;
    播放所述目标按键控件对应的第一旋律片段。Play the first melody segment corresponding to the target key control.
  8. 一种游戏控制装置,包括:A game control device, comprising:
    第一接收模块,被配置为接收对第一游戏的第一交互界面的第一操作;a first receiving module, configured to receive a first operation on the first interactive interface of the first game;
    时间确定模块,被配置为响应于所述第一操作,基于所述第一操作的第一操作时间,从预先配置的第一节拍器文件中确定与所述第一操作时间相匹配的第一节拍时间段;所述第一节拍器文件包括按照所述第一游戏的背景音乐节拍设置的一系列节拍时间段;a time determination module configured to determine, in response to the first operation, a first operation time matching the first operation time from a preconfigured first metronome file based on the first operation time of the first operation a beat time period; the first metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
    节拍确定模块,被配置为确定与所述第一节拍时间段相对应的第一背景音乐节拍;a beat determination module configured to determine a first background music beat corresponding to the first beat time period;
    显示模块,被配置为显示第二游戏的第二交互界面;a display module configured to display the second interactive interface of the second game;
    第一播放模块,被配置为从所述第一背景音乐节拍开始播放所述第一游戏的背景音乐。The first playing module is configured to play the background music of the first game from the beat of the first background music.
  9. 根据权利要求8所述的游戏控制装置,还包括:The game control device of claim 8, further comprising:
    第二接收模块,被配置为接收对所述第二交互界面的第二操作;a second receiving module, configured to receive a second operation on the second interactive interface;
    执行模块,被配置为执行在所述第二操作的第二操作时间符合所述第一节拍器文件的节拍时间段的情况下,控制所述第二游戏中的目标游戏角色执行与所述第二操作相匹配的目标响应操作;其中,所述第二游戏设置有多个第二按键点,所述第二按键点与所述第一节拍器文件中的节拍时间段一一对应设置。The execution module is configured to execute, under the condition that the second operation time of the second operation conforms to the beat time period of the first metronome file, to control the target game character in the second game to execute the same operation as the first metronome file. The target corresponding to the two operations responds to the operation; wherein, the second game is provided with a plurality of second button points, and the second button points are set in a one-to-one correspondence with the beat time periods in the first metronome file.
  10. 根据权利要求9所述的游戏控制装置,其中,所述执行模块还被配置为:The game control device of claim 9, wherein the execution module is further configured to:
    在显示所述第二交互界面的时长未达到预设时长的情况下,不对所述第二操作做出响应。In the case that the duration of displaying the second interactive interface does not reach the preset duration, no response is made to the second operation.
  11. 根据权利要求10所述的游戏控制装置,还包括:The game control device of claim 10, further comprising:
    提示模块,被配置为:The prompt module, configured as:
    输出第一提示信息,所述第一提示信息被配置为提示用户在所述预设时长后执行所述第二操作;并且outputting first prompt information, the first prompt information is configured to prompt the user to perform the second operation after the preset time period; and
    响应于显示所述第二交互界面的时长达到所述预设时长,停止输出所述第一提示信息。In response to the duration of displaying the second interactive interface reaching the preset duration, the output of the first prompt information is stopped.
  12. 根据权利要求8所述的游戏控制装置,其中,所述第二交互界面包括按键轨,所述按键轨上设置有多个按键控件,所述按键控件与第一音轨上的第一旋律片段一一对应设置,所述第一音轨为所述第二游戏的游戏音乐对应的音轨;并且The game control device according to claim 8, wherein the second interactive interface comprises a button track on which a plurality of button controls are arranged, the button controls and the first melody segment on the first audio track One-to-one correspondence setting, the first audio track is the audio track corresponding to the game music of the second game; and
    所述装置还包括:The device also includes:
    第三接收模块,被配置为接收对目标按键控件的第三操作;The third receiving module is configured to receive the third operation on the target key control;
    第二播放模块,被配置为播放所述目标按键控件对应的第一旋律片段。The second playing module is configured to play the first melody segment corresponding to the target key control.
  13. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;a memory for storing the processor-executable instructions;
    其中,所述处理器被配置为执行所述指令,以实现以下步骤:wherein the processor is configured to execute the instructions to implement the following steps:
    接收对第一游戏的第一交互界面的第一操作;receiving a first operation on the first interactive interface of the first game;
    响应于所述第一操作,基于所述第一操作的第一操作时间,从预先配置的第一节拍器文件中确定与所述第一操作时间相匹配的第一节拍时间段;所述第一节拍器文件包括按照所述第一游戏的背景音乐节拍设置的一系列节拍时间段;In response to the first operation, based on the first operation time of the first operation, a first beat time period that matches the first operation time is determined from a preconfigured first metronome file; the first beat time period is determined; The metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
    确定与所述第一节拍时间段相对应的第一背景音乐节拍;determining the first background music beat corresponding to the first beat time period;
    显示第二游戏的第二交互界面,并从所述第一背景音乐节拍开始播放所述第一游戏的背景音乐。The second interactive interface of the second game is displayed, and the background music of the first game is played from the beat of the first background music.
  14. 根据权利要求13所述的电子设备,其中,所述第二游戏包括第二按键索引文件,所述第二按键索引文件包括多个第二按键点,所述第二按键点与所述第一节拍器文件中的节拍时间段一一对应设置。The electronic device according to claim 13, wherein the second game includes a second key index file, the second key index file includes a plurality of second key points, the second key points and the first key point The beat time periods in the metronome file are set in one-to-one correspondence.
  15. 根据权利要求14所述的电子设备,其中,所述处理器还被配置为执行所述指令, 以实现以下步骤:15. The electronic device of claim 14, wherein the processor is further configured to execute the instructions to:
    接收对所述第二交互界面的第二操作;receiving a second operation on the second interactive interface;
    在所述第二操作的第二操作时间符合所述第一节拍器文件的节拍时间段的情况下,控制所述第二游戏中的目标游戏角色执行与所述第二操作相匹配的目标响应操作。In the case that the second operation time of the second operation matches the beat time period of the first metronome file, controlling the target game character in the second game to perform a target response matching the second operation operate.
  16. 根据权利要求14或15所述的电子设备,其中,所述第一游戏包括第一按键索引文件,所述第一按键索引文件包括多个第一按键点,所述第一按键点与所述第一节拍器文件中的节拍时间段一一对应设置。The electronic device according to claim 14 or 15, wherein the first game includes a first key index file, the first key index file includes a plurality of first key points, the first key points and the The beat time periods in the first metronome file are set in one-to-one correspondence.
  17. 根据权利要求15所述的电子设备,其中,所述处理器还被配置为执行所述指令,以实现以下步骤:16. The electronic device of claim 15, wherein the processor is further configured to execute the instructions to:
    在显示所述第二交互界面的时长未达到预设时长的情况下,不对所述第二操作做出响应。In the case that the duration of displaying the second interactive interface does not reach the preset duration, no response is made to the second operation.
  18. 根据权利要求17所述的电子设备,其中,所述处理器还被配置为执行所述指令,以实现以下步骤:18. The electronic device of claim 17, wherein the processor is further configured to execute the instructions to:
    输出第一提示信息,所述第一提示信息用于提示用户在所述预设时长后执行所述第二操作;outputting first prompt information, where the first prompt information is used to prompt the user to perform the second operation after the preset time period;
    响应于显示所述第二交互界面的时长达到所述预设时长,停止输出所述第一提示信息。In response to the duration of displaying the second interactive interface reaching the preset duration, the output of the first prompt information is stopped.
  19. 根据权利要求13所述的电子设备,其中,所述第二交互界面包括按键轨,所述按键轨上设置有多个按键控件,所述按键控件与第一音轨上的第一旋律片段一一对应设置,所述第一音轨为所述第二游戏的游戏音乐对应的音轨;并且The electronic device according to claim 13, wherein the second interactive interface comprises a button track, and a plurality of button controls are arranged on the button track, and the button controls are identical to the first melody segment on the first audio track. A corresponding setting, the first audio track is the audio track corresponding to the game music of the second game; and
    所述处理器还被配置为执行所述指令,以实现以下步骤:The processor is further configured to execute the instructions to implement the following steps:
    接收对目标按键控件的第三操作;receiving a third operation on the target key control;
    播放所述目标按键控件对应的第一旋律片段。Play the first melody segment corresponding to the target key control.
  20. 一种存储介质,其中,所述存储介质中的指令响应于由电子设备的处理器的执行,使得电子设备能够执行以下步骤:A storage medium, wherein instructions in the storage medium enable the electronic device to perform the following steps in response to execution by a processor of the electronic device:
    接收对第一游戏的第一交互界面的第一操作;receiving a first operation on the first interactive interface of the first game;
    响应于所述第一操作,基于所述第一操作的第一操作时间,从预先配置的第一节拍器文件中确定与所述第一操作时间相匹配的第一节拍时间段;所述第一节拍器文件包括按照所述第一游戏的背景音乐节拍设置的一系列节拍时间段;In response to the first operation, based on the first operation time of the first operation, a first beat time period that matches the first operation time is determined from a preconfigured first metronome file; the first beat time period is determined; The metronome file includes a series of beat time periods set according to the beat of the background music of the first game;
    确定与所述第一节拍时间段相对应的第一背景音乐节拍;determining the first background music beat corresponding to the first beat time period;
    显示第二游戏的第二交互界面,并从所述第一背景音乐节拍开始播放所述第一游戏的背景音乐。The second interactive interface of the second game is displayed, and the background music of the first game is played from the beat of the first background music.
PCT/CN2021/107103 2020-11-26 2021-07-19 Game control method and apparatus WO2022110839A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011349577.5A CN112494944B (en) 2020-11-26 2020-11-26 Game control method, game control device, electronic equipment, medium and product
CN202011349577.5 2020-11-26

Publications (1)

Publication Number Publication Date
WO2022110839A1 true WO2022110839A1 (en) 2022-06-02

Family

ID=74966359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107103 WO2022110839A1 (en) 2020-11-26 2021-07-19 Game control method and apparatus

Country Status (2)

Country Link
CN (1) CN112494944B (en)
WO (1) WO2022110839A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112494944B (en) * 2020-11-26 2023-12-05 北京达佳互联信息技术有限公司 Game control method, game control device, electronic equipment, medium and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070068367A1 (en) * 2005-09-20 2007-03-29 Microsoft Corporation Music replacement in a gaming system
CN105354406A (en) * 2014-08-19 2016-02-24 腾讯科技(深圳)有限公司 Background music processing method and apparatus
CN109088997A (en) * 2018-10-26 2018-12-25 努比亚技术有限公司 A kind of gaming audio control method, terminal and computer readable storage medium
CN111773716A (en) * 2020-06-15 2020-10-16 北京达佳互联信息技术有限公司 Detection method, device, server and storage medium
CN112494944A (en) * 2020-11-26 2021-03-16 北京达佳互联信息技术有限公司 Game control method, device, electronic equipment and medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9192857B2 (en) * 2013-07-23 2015-11-24 Igt Beat synchronization in a game
CN104346147A (en) * 2013-07-29 2015-02-11 人人游戏网络科技发展(上海)有限公司 Method and device for editing rhythm points of music games
CN106851394A (en) * 2017-01-18 2017-06-13 广东小天才科技有限公司 A kind of background music switching method and apparatus
CN108322816B (en) * 2018-01-22 2020-07-31 北京英夫美迪科技股份有限公司 Method and system for playing background music in broadcast program
CN108525302A (en) * 2018-04-09 2018-09-14 网易(杭州)网络有限公司 Control method, device, processor and the terminal of game background music
CN110624243A (en) * 2019-08-29 2019-12-31 北京金山安全软件有限公司 Method and device for playing music and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070068367A1 (en) * 2005-09-20 2007-03-29 Microsoft Corporation Music replacement in a gaming system
CN105354406A (en) * 2014-08-19 2016-02-24 腾讯科技(深圳)有限公司 Background music processing method and apparatus
CN109088997A (en) * 2018-10-26 2018-12-25 努比亚技术有限公司 A kind of gaming audio control method, terminal and computer readable storage medium
CN111773716A (en) * 2020-06-15 2020-10-16 北京达佳互联信息技术有限公司 Detection method, device, server and storage medium
CN112494944A (en) * 2020-11-26 2021-03-16 北京达佳互联信息技术有限公司 Game control method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN112494944B (en) 2023-12-05
CN112494944A (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US11712630B2 (en) Dynamic interfaces for launching direct gameplay
JP7274703B2 (en) Game program, rhythm game processing method, rhythm game system, and rhythm game device
JPH08155140A (en) Video game device and image synthesis therefor
JP4110186B2 (en) GAME PROGRAM, GAME DEVICE, AND GAME CONTROL METHOD
WO2022110839A1 (en) Game control method and apparatus
JP6557847B2 (en) GAME DEVICE, GAME SYSTEM, GAME CONTROL METHOD, AND PROGRAM
CN113289338A (en) Game skill sound effect processing method and device and electronic device
US20230191249A1 (en) Information processing method, program, information processing system
CN113289339B (en) Game skill sound effect processing method and device and electronic device
JP6346654B1 (en) Game system
JP2022185001A (en) Observation system, computer program for observation system, and control method of observation system
JP3753350B2 (en) Information storage medium and image generation apparatus
JP7165168B2 (en) SYSTEM, METHOD AND PROGRAM FOR PROVIDING A GAME
JP2002320767A (en) Video game device and its image compositing method
JP2003010538A (en) Computer readable recording medium recording program of video game, program of video game, and method and device for processing video game
JP2020103787A (en) Information processing device, game processing method and program
JP5285789B2 (en) GAME DEVICE AND COMPUTER PROGRAM USED FOR THE SAME
CN111813990A (en) Audio fight processing method and related device
JP2018143791A (en) Game system
JP7201865B1 (en) Information processing method, program, information processing system
JP6826217B1 (en) Programs, terminals, game execution devices and methods
JP6655228B2 (en) Game program, game method, game system
JP7381898B2 (en) Game system and game control method
CN114288653A (en) Game control method and related device
WO2021131587A1 (en) Game system, terminal device, game method, game program, and game server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21896346

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 13/09/2023

122 Ep: pct application non-entry in european phase

Ref document number: 21896346

Country of ref document: EP

Kind code of ref document: A1