Information processing method and device in game, electronic equipment and readable storage medium
By displaying associated target objects during game scene transitions and controlling movement within target areas generated by music melody to earn points and obtain virtual items, the game addresses the issue of low relevance in virtual item acquisition, thus improving game smoothness and immersion.
Patent Information
- Application Number
- CN202511357532.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-12-05
AI Technical Summary
In existing technologies, the acquisition of virtual items is not highly correlated when switching between different game interfaces, which affects the smoothness and immersion of the player experience.
When the target event is triggered, the first game scene is switched to the second game scene, and the target object associated with the first game scene is displayed in the second game scene. The player controls the target object to move in the target area generated by the music melody, and obtains movement control points. Finally, the player obtains virtual items in the first game scene.
It improves the smoothness of switching between different game scenes, enriches the interaction between players and game scenes, and enhances the smoothness of player operation and game immersion.
Smart Images

Figure CN121060079A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of human-computer technology, and in particular to a method and apparatus for processing information in a game, an electronic device, and a readable storage medium. BACKGROUND
[0002] In a related game, a player can control a target virtual character to move in a game scene and perform a virtual game task in the game scene. In the process of controlling the target virtual character to perform the virtual game task, the player can need to control the target virtual character to obtain a virtual prop that assists in performing the virtual game task.
[0003] In the related art, the virtual prop can be obtained by purchasing it by consuming virtual resources of the player or by the target virtual character performing a specific task to obtain the virtual prop. However, the current acquisition of the virtual prop is switching between different interfaces, but the relevance between the switching interface and the game scene is not high, and the relevance between the task performed by the player in the switched interface and the game scene before switching is also not high, which affects the smoothness and immersion of the player experience. SUMMARY
[0004] Therefore, the purpose of the present disclosure is to provide a method and apparatus for processing information in a game, an electronic device, and a readable storage medium. When a target event is triggered, the current first game scene is switched to a second game scene, and a target object associated with the first game scene is displayed in the second game scene. The player controls the target object to move in a target area generated according to a corresponding music melody in the second game scene, obtains a movement control score, and obtains a virtual prop in the first game scene according to the obtained movement control score. This improves the smoothness of switching between different game scenes, enriches the interaction between the player and the target object in the game scene, and improves the smoothness of the player's operation and the game immersion.
[0005] In a first aspect, the embodiments of the present disclosure provide a method for processing information in a game. A graphical user interface is provided by a terminal device, and the graphical user interface includes a first game scene. The method includes: In response to a trigger of a target event, the first game scene in the graphical user interface is switched to a second game scene. The second game scene includes a target object in a first form in the first game scene. In response to a trigger operation for the target object, a target area is displayed in the graphical user interface, and the target object is switched to a second form. The target area is determined according to a music melody corresponding to the second game scene. in response to a movement control instruction, controlling the target object in the second form to move in the target area, and determining a movement control score according to a position relationship between a plurality of movement positions of the target object and the target area; in response to triggering of a target end event, switching from the second game scene to the first game scene, and configuring a virtual prop for a corresponding target virtual role in the first game scene based on the movement control score.
[0006] In a second aspect, the embodiments of the present disclosure further provide an information processing apparatus in a game, which provides a graphical user interface including a first game scene through a terminal device. The information processing apparatus includes: a scene switching module configured to switch the first game scene in the graphical user interface to a second game scene in response to triggering of a target event, the second game scene including a target object in a first form in the first game scene; a region display module configured to display a target area in the graphical user interface and switch the target object to a second form in response to a triggering operation on the target object, the target area being determined according to a corresponding music melody of the second game scene; a score determination module configured to control the target object in the second form to move in the target area in response to a movement control instruction, and determine a movement control score according to a position relationship between a plurality of movement positions of the target object and the target area; a prop configuration module configured to switch from the second game scene to the first game scene in response to triggering of a target end event, and configure a virtual prop for a corresponding target virtual role in the first game scene based on the movement control score.
[0007] In a third aspect, the embodiments of the present disclosure further provide an electronic device, which includes a processor, a storage medium, and a bus. The storage medium stores machine readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium through the bus. The processor executes the machine readable instructions to perform the information processing method in a game as described in the first aspect.
[0008] In a fourth aspect, the embodiments of the present disclosure further provide a computer readable storage medium, which stores a computer program. When the computer program is run by a processor, the information processing method in a game as described in the first aspect is performed.
[0009] The method, device, electronic device and readable storage medium provided by the embodiments of the present disclosure switch a first game scene in a graphical user interface to a second game scene in response to triggering of a target event; display a target area in the graphical user interface and switch a target object to a second form in response to a triggering operation on the target object; control the target object in the second form to move in the target area in response to a movement control instruction, and determine a movement control score according to a positional relationship between a plurality of movement positions of the target object and the target area; and switch from the second game scene to the first game scene in response to triggering of a target end event, and configure a virtual prop for a corresponding target virtual role in the first game scene based on the movement control score. In this way, when the target event is triggered, the current first game scene is switched to the second game scene, and the target object associated with the first game scene is displayed in the second game scene. The player controls the target object to move in the target area generated according to a corresponding music melody in the second game scene, obtains the movement control score, and obtains the virtual prop in the first game scene according to the obtained movement control score. The smoothness of the different game scenes is improved, the interaction between the player and the target object in the game scene is enriched, and the smoothness of the player's operation and the game immersion are improved.
[0010] In order to make the above objectives, characteristics and advantages of the present disclosure more obvious and easy to understand, the following preferred embodiments are specifically described below, and the accompanying drawings are described in detail as follows. BRIEF DESCRIPTION OF DRAWINGS
[0011] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the present disclosure, and therefore should not be considered as a limitation to the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.
[0012] Figure 1 A flowchart of a game information processing method provided by the embodiments of the present disclosure; Figure 2 One of the schematic diagrams of a graphical user interface provided by the embodiments of the present disclosure; Figure 3 The second schematic diagram of a graphical user interface provided by the embodiments of the present disclosure; Figure 4 The third schematic diagram of a graphical user interface provided by the embodiments of the present disclosure; Figure 5 The fourth schematic diagram of a graphical user interface provided by the embodiments of the present disclosure; Figure 6 The fifth schematic diagram of a graphical user interface provided by the embodiments of the present disclosure; Figure 7 Sixth schematic view of a graphical user interface provided by an embodiment of the present disclosure; Figure 8 Seventh schematic view of a graphical user interface provided by an embodiment of the present disclosure; Figure 9 Eighth schematic view of a graphical user interface provided by an embodiment of the present disclosure; Figure 10 Ninth schematic view of a graphical user interface provided by an embodiment of the present disclosure; Figure 11 Structure schematic view of an information processing device in a game provided by an embodiment of the present disclosure; Figure 12 Structure schematic view of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0013] To make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the following will be combined with the accompanying drawings for the embodiments of the present disclosure to make a clear and complete description of the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. The components of the embodiments of the present disclosure described and shown in the accompanying drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the claimed present disclosure, but only represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, every other embodiment obtained by a person skilled in the art without creative work falls within the scope of protection of the present disclosure.
[0014] Firstly, the terms involved in the present disclosure are introduced: (1) Terminal device The terminal device involved in the embodiments of the present disclosure mainly refers to a terminal for providing a graphical user interface and capable of performing control operations on a virtual character. The terminal device can be a local terminal device mentioned below, or a client device in a cloud interaction system. The terminal device can include, but is not limited to, any one of the following devices: a smart phone, a tablet computer, a game console, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a personal digital assistant (PDA), an electronic book reader, etc. The terminal device has installed and run therein an application program supporting a game, such as an application program supporting a three-dimensional game or a two-dimensional game. In the embodiments of the present disclosure, the application program is introduced as a game application. Alternatively, the application program can be a stand-alone application program, such as a stand-alone 3D game program, or a network online application program.
[0015] (2) Graphical user interface The graphical user interface is a kind of interface display format for human-computer communication, which allows the user to manipulate the icon, mark or menu option on the screen by using the input device such as mouse or keyboard, and also allows the user to manipulate the icon or menu option on the screen by performing touch operation on the touch screen of the touch terminal, so as to select the command, start the program or perform other tasks.
[0016] (3) Game scene The game scene is the game scene displayed (or provided) by the application when running on the terminal or server, that is, the scene used in the normal game process. That is, the game scene refers to the virtual game control that carries the virtual role in the game process, and the virtual role can move, release skills and other actions under the control of the operation instruction issued by the user (i.e. the player) to the terminal device in the game scene. Alternatively, the game scene can be a simulation environment of the real world, or a virtual environment of semi-simulation and semi-fiction, or a purely fictional virtual environment. The game scene can be any one of two-dimensional game scene, 2.5-dimensional game scene and three-dimensional game scene, and the virtual environment can be sky, land, ocean, etc., wherein the land includes desert, city and other environmental elements. Among them, the game scene is the scene of the complete game logic of the user controlling the virtual role. Alternatively, the game scene can also be used for game scene battle between at least two virtual roles, and the game scene has virtual resources available for at least two virtual roles. For example, the game scene can include any one or more of the following elements: game background elements, game object elements, game prop elements and game resource elements, etc.
[0017] (4) Target virtual role: The dynamic object refers to a controllable dynamic object in a game scene. Optionally, the dynamic object can be a virtual character, a virtual animal, an animation character, etc. The virtual object is a role controlled by a player through an input device (for example, a terminal device), or is an artificial intelligence (AI) set in a virtual scene battle, or is a non-player character (NPC) set in a game scene battle. Optionally, the virtual object can include a virtual character competing in a game scene. Optionally, the number of virtual objects in the game scene battle is preset or dynamically determined according to the number of clients joining the battle, and the embodiments of the present disclosure are not limited thereto. In a possible implementation manner, the user can control the virtual object to move in the virtual scene, for example, control the virtual object to run, jump, crawl, etc., and can also control the virtual object to use the skills, virtual props, etc. provided by the application to fight with other virtual objects.
[0018] Secondly, the technical background of the present disclosure is introduced: In related games, a player can control a target virtual character to move in a game scene and perform a virtual game task in the game scene. During the process of controlling the target virtual character to perform the virtual game task, the player can need to control the target virtual character to obtain a virtual prop that assists in performing the virtual game task.
[0019] In related technologies, the virtual prop can be obtained by consuming virtual resources of the player to purchase or by the target virtual character performing a specific task to obtain the virtual task. However, the current acquisition of the virtual prop is switching between different interfaces, but the relevance between the switching interface and the game scene is not high, and the relevance between the task performed by the player in the switched interface and the game scene before switching is also not high, which affects the smoothness and immersion of the player experience.
[0020] Therefore, the embodiments of the present disclosure provide a game information processing method to improve the smoothness of switching between different game scenes, enrich the interaction between the player and the target object in the game scene, and improve the smoothness of the player operation and the game immersion.
[0021] In an optional embodiment, various cloud applications can run under the cloud interaction system, such as cloud gaming. Taking cloud gaming as an example, cloud gaming refers to a game mode based on cloud computing. In the running mode of cloud gaming, the running subject of the game program and the presentation subject of the game picture are separated, and the storage and running of the information processing method in the game are completed on the cloud gaming server. The client device is used for receiving and sending data and presenting the game picture. For example, the client device can be a display device close to the user side with data transmission function, such as a mobile terminal, a television, a computer, a palm computer, etc. However, the cloud gaming server in the cloud end performs information processing. When playing the game, the player operates the client device to send operation instructions to the cloud gaming server, the cloud gaming server runs the game according to the operation instructions, encodes and compresses the game picture and other data, returns the data to the client device through the network, and finally decodes and outputs the game picture through the client device.
[0022] In an optional embodiment, taking a game as an example, the local mobile terminal stores a game program and is used for presenting a game picture. The local mobile terminal is used for interacting with the player through a graphical user interface, that is, a conventional game program is downloaded and installed on an electronic device and is run. The way in which the local mobile terminal provides the graphical user interface to the player can include various ways, for example, the graphical user interface can be rendered and displayed on the display screen of the terminal, or the graphical user interface can be provided to the player through holographic projection. For example, the local mobile terminal can include a display screen used for presenting a graphical user interface including a game picture, and a processor used for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
[0023] In an optional embodiment, the embodiment of the present application provides a game information processing method, which provides a graphical user interface through a mobile terminal. The mobile terminal can be a local mobile terminal (such as a local touch terminal) mentioned above, or a client device in the cloud interaction system mentioned above. The following describes the game information processing method running in the local mobile terminal (hereinafter referred to as the mobile terminal) as an example.
[0024] Please refer to Figure 1 , Figure 1 The flowchart of the game information processing method provided by the embodiment of the present application. As shown in Figure 1 , the game information processing method provided by the embodiment of the present application includes: S101, in response to the triggering of a target event, switching a first game scene in the graphical user interface to a second game scene; the second game scene includes a target object in a first form in the first game scene.
[0025] S102, in response to a trigger operation for the target object, displaying a target area in the graphical user interface, and switching the target object to a second form; the target area is determined according to the music melody corresponding to the second game scene.
[0026] S103, in response to a movement control instruction, controlling the target object in the second form to move in the target area, and determining a movement control score according to the position relationship between the plurality of movement positions of the target object and the target area.
[0027] S104, in response to the triggering of a target end event, switching from the second game scene to the first game scene, and configuring a virtual prop for the corresponding target virtual character in the first game scene based on the movement control score.
[0028] The game information processing method provided by the embodiments of the present disclosure switches from the current first game scene to the second game scene when a target event is triggered, and displays a target object associated with the first game scene in the second game scene. The player controls the target object to move in a target area generated according to a corresponding music melody in the second game scene, obtains a movement control score, and obtains a virtual prop in the first game scene according to the obtained movement control score. The method improves the smoothness of switching between different game scenes, enriches the interaction between the player and the target object in the game scene, and improves the smoothness of the player's operation and the game immersion.
[0029] The following describes exemplary steps of the embodiments of the present disclosure: S101, in response to the triggering of a target event, switching the first game scene in the graphical user interface to the second game scene; the second game scene includes a target object in a first form in the first game scene.
[0030] In the embodiments of the present disclosure, the player can control the target virtual character to move in the game scene and perform virtual tasks in the game scene to obtain corresponding attribute gains or virtual props. In order to improve the interest of the game, the player can be required to control the target virtual character to mainly complete tasks in the game scene, and different types of games can be set at different scene positions or scene time nodes, so that the player can obtain corresponding game gains while improving the game experience.
[0031] In an optional implementation, the first game scene contains a target virtual character, the target virtual character can participate in a scene plot in the first game scene or participate in a virtual game task in the first game scene, after it is determined that the target event is triggered, the game scene in the graphical user interface is switched from the first game scene to a second game scene, the second game scene is different from the scene picture of the first game scene, and the target virtual character does not exist in the second game scene.
[0032] In an optional implementation, the target event includes at least one of the following: The time of entering the first game scene is greater than a first preset time threshold, and a switching operation for the second game scene is received.
[0033] Here, the switching between the first game scene and the second game scene can be triggered by the player actively or passively, and how and when to trigger are determined by the game setting of the system.
[0034] In an optional implementation, when the first game scene is set, a plurality of time switching nodes can be determined according to the game duration of the first game scene as a whole, and the second game scene is switched to when it is determined that the time of entering the first game scene is greater than a first preset time threshold. Here, the switching mode between the first game scene and the second game scene is set by the system, the target virtual character enters the second game scene to perform virtual interaction at the set time node, and the control freedom of the player is low; however, the player can enter the second game scene to participate in a virtual game task different from the first game scene, which can improve the game experience of the player.
[0035] For example, if the game duration of the first game scene is 10 minutes, a time node of 5 minutes can be set, and when it is determined that the time of the player controlling the target virtual character to enter the first game scene reaches 5 minutes, the picture in the graphical user interface is switched from the first game scene to the second game scene.
[0036] In another optional implementation, an interaction control can also be set in the first game scene, and the player issues a switching operation for the second game scene through a triggering operation for the interaction control. The switching between the first game scene and the second game scene is performed only after it is determined that the triggering operation of the player for the interaction control is received, which can improve the freedom of the player in participating in the game, but the switching between the first game scene and the second game scene can have a sense of fragmentation, and the game experience of the player can decrease.
[0037] Further, if it is determined that the current graphical user interface is switched from the first game scene to the second game scene, the target object in the first form is displayed in the second game scene.
[0038] Here, the target object can be a virtual object associated with the first game scene, to ensure the smoothness of the connection between the first game scene and the second game scene, and further ensure the game experience of the player.
[0039] Illustratively, if the main game scene in the first game scene is that the target virtual character participates in a banquet, the target object in the first form can be a "wine glass" in the banquet, and after switching from the first game scene to the second game scene, the "wine glass" is displayed in the second game scene to smoothly connect the first game scene, further improving the game experience of the player.
[0040] Further, after determining that the game scene in the graphical user interface is switched from the first game scene to the second game scene, the target area can be displayed in the second game scene through a trigger operation for the target object.
[0041] S102, in response to the trigger operation for the target object, displaying a target area in the graphical user interface and switching the target object to a second form; the target area is determined according to the music melody corresponding to the second game scene.
[0042] In an optional implementation, after displaying the target object in the second game scene, the target area can be displayed in the graphical user interface through a trigger operation for the target object, and then the player can control the target object to move in the target area to complete a virtual game task in the second game scene, and then get a movement control score.
[0043] Wherein, the trigger operation for the target object can be a sliding operation for the target object towards a preset direction, illustratively, a sliding operation for the target object upwards, that is, after determining that the sliding operation for the target object upwards is received, the target area is displayed in the graphical user interface.
[0044] In an optional implementation, after entering the second game scene, a music melody corresponding to the second game scene is played, and the target area is determined according to the music melody corresponding to the second game scene.
[0045] In an optional implementation, as described above, the time node for entering the second game scene can be determined according to the game duration of the first game scene, and the corresponding music melody of the second game scene at different time nodes can be different, and thus the target area displayed in the graphical user interface can also be different when entering the second game scene at different time nodes.
[0046] Here, the key points of the target area can be determined according to the pitch and rhythm of the music melody, and the specific target area can be determined according to the screened target key points.
[0047] Specifically, the target area is determined by the following steps: a1: determining a plurality of melody nodes corresponding to the music melody based on the music rhythm and the music pitch of the music melody.
[0048] a2: screening a plurality of target nodes from the plurality of melody nodes based on a preset screening rule.
[0049] a3: determining a corresponding node curve based on the node coordinates of each target node, and generating the target area based on the node curve.
[0050] In an optional implementation, when setting the music melody corresponding to the second game scene, the target area corresponding to the music melody can be determined, and the target area can be rendered according to the composition of the target area, so as to obtain the target area displayed in the graphical user interface.
[0051] Specifically, a plurality of melody key nodes are determined according to the music rhythm and the music pitch and the music rhythm change of the music melody. For example, the melody key node can be a high-pitched node in the music pitch, and a node with sudden rhythm change.
[0052] Further, a plurality of target nodes are screened from the plurality of melody nodes according to a preset screening rule.
[0053] Specifically, the plurality of melody nodes can be appropriately reduced according to the game difficulty set at different time nodes to obtain the plurality of target nodes.
[0054] For example, if the currently set game difficulty is relatively low, the melody nodes that are relatively concentrated in the plurality of melody nodes can be reduced, or the melody nodes with large position changes can be deleted.
[0055] Further, after the plurality of target nodes are determined, the plurality of target nodes are connected according to the node coordinates of the respective target nodes to obtain a node curve, the obtained node curve is copied to obtain two identical node curves, the two node curves are set according to the preset width, and a region between the two node curves is determined as the target region.
[0056] Further, after the target region is displayed in the graphical user interface, the target object is switched to the second form and moves in the target region according to the movement control instruction.
[0057] In an optional implementation, to make the player ready to start the control of the target object at any time, after the target object in the first form is presented, a countdown prompt information can be displayed in the graphical user interface, and after the countdown prompt information ends, the target object is switched to the second form, and at the same time, the target region appears in the graphical user interface, and the player can control the target object to move in the target region through the movement control instruction.
[0058] In an optional implementation, to make the display of the target region consistent with the second game scene, the target region can be presented in the form of a river, and for the above example, if the target object in the first target form is a "wine cup", the target object switched to the second form can be a "fish", which moves in the target region according to the movement instruction, and is presented as "fish moving in the river" in the graphical user interface.
[0059] Further, the player can control the target object to move in the target region through the movement control instruction, and thus obtain the movement control score.
[0060] S103, in response to the movement control instruction, controlling the target object in the second form to move in the target region, and determining a movement control score according to a position relationship between a plurality of movement positions of the target object and the target region.
[0061] In an optional implementation, how the target object moves in the target region is controlled by the movement control instruction of the player, and when the movement control instruction of the player is a trigger operation on the graphical user interface, a plurality of movement positions of the target object can be determined according to an operation position of the trigger operation, and the target object is controlled to move in the target region.
[0062] Specifically, the movement position of the target object is determined through the following steps: b1: determining the movement position of the target object according to a position of the trigger operation on the graphical user interface and a mapping relationship between the position of the target object and the position of the trigger operation.
[0063] In the embodiments of the present disclosure, the operation position of the triggering operation of the player with respect to the graphical user interface can be located at the position of the target object or any position of the graphical user interface. Since the operation position of the triggering operation is located at the position of the target object, the player needs to adjust the operation position multiple times following the movement of the target object. Meanwhile, if the operation position of the player is located at the position of the target object in the second game scene, it may also cause certain occlusion to the second game scene, which may affect the operation experience and operation convenience of the player. Therefore, the operation position of the triggering operation of the player with respect to the graphical user interface is preferably located at any position of the graphical user interface, so that the target object is controlled, and the operation experience and operation convenience of the player are improved.
[0064] In an optional implementation, according to the triggering operation of the player, the operation coordinates of the operation position of the triggering operation of the player are determined, and then the vertical coordinates of the target object are determined according to the vertical coordinates in the operation coordinates, and then the target object is controlled to move, and the moving position of the target object is obtained.
[0065] For example, the operation position of the triggering operation of the player is determined to be located at the vertical coordinate 3 of the graphical user interface with the center point of the graphical user interface as the origin. At this time, the vertical coordinate of the next moving position of the target object is also 3, and then the multiple moving positions of the target object are obtained, and then the target object is controlled to move in the target area.
[0066] In an optional implementation, after the target area is determined and presented in the graphical user interface, the target object moves in the target area following the movement control instruction. In order to prevent the target object from moving while the target area does not move, resulting in poor player experience, the target area also needs to be controlled to automatically move in the graphical user interface while the player controls the target object to move in the target area, so as to improve the experience and picture immersion of the player.
[0067] Specifically, the information processing method further includes: c1: determining a region moving speed of the target area based on the playing speed of the music melody.
[0068] c2: controlling the target area to move in the graphical user interface according to the preset moving direction with the region moving speed.
[0069] In the embodiments of the present disclosure, in order to ensure that the target object moves to the end position of the target area just after the music melody corresponding to the second game scene ends, the moving speed of the target area needs to be determined according to the playing speed of the music melody, and the speeds of the two are consistent, so that the target object moves to the end position of the target area just after the music melody ends, which helps to improve the immersion and experience of the player.
[0070] In an optional implementation, after the area moving speed of the target area is determined, the target area needs to be controlled to move in the graphical user interface according to the preset moving direction.
[0071] The preset moving direction is related to the presentation mode of the second game scene in the graphical user interface. Specifically, if the second game scene is distributed up and down in the graphical user interface, the preset moving direction of the target area is from top to bottom; if the second game scene is distributed left and right in the graphical user interface, the preset moving direction of the target area is from right to left.
[0072] In an optional implementation, the player needs to control the target object to move in the target area through a moving control instruction. In order to further improve the game experience of the player, different interactive effects can also be generated according to the control of the target object by the player, and the interactive effects are displayed in the graphical user interface, further improving the human-computer interaction efficiency and the experience of the player.
[0073] Specifically, after the step of "controlling the target object in the second form to move in the target area in response to the moving control instruction", the information processing method further includes: d1: displaying a special effect animation in the graphical user interface in response to the time when the moving position of the target object is located in the target area being greater than a second preset time threshold.
[0074] In an optional implementation, if the moving position of the target object is always located in the target area, and the time of being located in the target area is greater than the second preset time threshold, it is determined that the control of the target object by the player is successful, and a special effect animation is displayed in the graphical user interface at the same time to accumulate the moving control score, so as to prompt the player that the current control operation result of the target object is correct, further improving the game experience of the player.
[0075] The special effect animation can be a special effect matched with the scene elements in the second game scene. For example, in the second game scene, the target area is a "river", the target object is a "fish", and the scene elements in the second game scene belong to the ancient style. At this time, the special effect animation can be displayed as "petals" of the ancient style elements.
[0076] In an optional implementation, the second preset time threshold can be determined according to the scene time length of the second game scene. For example, if the scene time length of the second game scene is 10 minutes, the special effect animation can be displayed when it is determined that the time length during which the player controls the target object to be in the target area is greater than 2 minutes.
[0077] Further, the display time of the special effect animation can be determined according to the control result of the player on the target object, that is, as long as the target object controlled by the player is always located in the target area after the special effect animation is displayed in the graphical user interface, the special effect animation is displayed until the target object moves out of the target area, and the display of the special effect animation is cancelled. The display time threshold of the special effect animation can also be set. When it is determined that the display time of the special effect animation reaches the preset time threshold, the display of the special effect animation is cancelled. If the moving position of the target object is located in the target area for a time greater than the second preset time threshold again, the special effect animation is displayed in the graphical user interface again.
[0078] Further, if the player controls the moving position of the target object to move out of the target area through a moving instruction, a prompt can also be given in the graphical user interface to enable the player to timely adjust the moving control on the target object.
[0079] Specifically, the information processing method further includes: e1: in response to the moving position of the target object not being located in the target area, cancelling the display of the special effect animation and controlling the target object to switch back from the second form to the first form.
[0080] In an optional implementation, the moving position can coincide with the edge of the target area. The target object can be determined to be at the current moving position when there is a coincident part between the object area of the target object and the boundary line of the target area. At this time, it is determined that the target object moves to the boundary line of the target area. At this time, the display of the special effect animation is cancelled, and the target object is switched back from the second form to the first form after the target object collides with the edge of the target area.
[0081] Here, after the target object is switched back from the second form to the first form, the second game scene is not presented again, and the player can control the target object to continue moving in the target area through a moving control instruction again. If it is determined that the target object moves in the target area again, the target object is controlled to switch back from the first form to the second form again.
[0082] For the above example, the player controls the target object to move in the form of a "fish" in the target area (displayed as a target river in the graphical user interface), if the "fish" collides with the bank of the target river, at this time, the target object will be switched from "fish" to "wine glass", and the corresponding collision special effect will be displayed, when it is determined that the player controls the target object to move in the target area again through the movement control instruction, the target object will be switched back to the form of "fish" again.
[0083] In an optional implementation, in order to further improve the game immersion of the player, the music melody of the second game scene can be played by the terminal device when the player controls the target object to move in the target area.
[0084] Specifically, the information processing method further includes: f1: playing the music melody by the terminal device.
[0085] In an optional implementation, when playing the music melody by the terminal device, the music melody can be played according to the playing speed of the music melody, and specifically, the playing speed can be determined according to the length of the music melody and the game length of the second game scene.
[0086] Specifically, if the music melody is 3 minutes and the game length of the second game scene is also 3 minutes, the music melody can be played at normal speed, and if the music melody is 3 minutes and the game length of the second game scene is 4 minutes, the music melody can be played at 0.75 times speed.
[0087] In another optional implementation, in order to improve the immersion of the player, when the player's control of the target object is not located in the target area, not only the scene in the graphical user interface is prompted, but also the music melody played by the terminal device is prompted, so that the player can timely and accurately determine that the current control of the target object is wrong.
[0088] Specifically, the information processing method further includes: g1: in response to the moving position of the target object not being located in the target area and the moving position of the target object being located above the upper area boundary of the target area, playing the music melody with a raised pitch by the terminal device.
[0089] g2: in response to the moving position of the target object not being located in the target area and the moving position of the target object being located below the lower area boundary of the target area, playing the music melody with a lowered pitch by the terminal device.
[0090] In an alternative implementation, if it is determined that the moving position of the target object is not located in the target region and the moving position of the target object is located above the upper region boundary of the target region, i.e., the moving position of the target object is higher than the location of the target region, the terminal device can play the music melody with the raised pitch.
[0091] In another alternative implementation, if it is determined that the moving position of the target object is not located in the target region and the moving position of the target object is located below the upper region boundary of the target region, i.e., the moving position of the target object is lower than the location of the target region, the terminal device can play the music melody with the lowered pitch.
[0092] Specifically, whether the terminal device plays the music melody with the raised or lowered pitch, the specific degree of the raised or lowered pitch of the specific music melody can be determined according to the distance between the target object and the region boundary of the target region, and the greater the distance between the target object and the region boundary of the target region, the greater the raised or lowered pitch of the music melody.
[0093] For example, different distance intervals can be pre-divided, and each distance interval corresponds to a different degree of pitch change of the music melody, for example, when the distance between the target object and the region boundary of the target region is within (0, 5) meters (game distance), the pitch is raised or lowered by three degrees; when the distance between the target object and the region boundary of the target region is within (5, 10) meters (game distance), the pitch is raised or lowered by eight degrees; if it is determined that the moving position of the current target object is located above the upper region boundary of the target region, and the distance between the moving position of the target object and the upper region boundary of the target region is 2 meters (game distance), the pitch of the music melody played by the terminal device will be raised by three degrees.
[0094] In an alternative implementation, a melody prompt object is also displayed in the graphical user interface, and after the pitch of the music melody is raised or lowered due to the moving operation of the player, the melody prompt object will perform a target virtual action to again prompt the player that the current control of the target object is incorrect.
[0095] For example, the melody prompt object can be a dynamic figurine, and after the pitch of the music melody is raised or lowered due to the moving operation of the player, the dynamic figurine will perform an action of covering the ears to prompt the player that the current control of the target object is incorrect.
[0096] Further, when the player controls the target object to move in the target region, the moving control score can be determined through multiple moving positions of the target object, and the player is provided with a virtual prop for controlling the target virtual object according to the moving control score of the player.
[0097] Specifically, the step of “determining a movement control score according to the position relationship between the movement position of the target object and the target area”, comprises: h1: determining at least one decision node based on the beat of the music melody.
[0098] h2: for each decision node, determining a node control score corresponding to the decision node based on the position relationship between the movement position of the target object and the target area in the decision node.
[0099] h3: determining the movement control score based on the node control scores corresponding to the decision nodes.
[0100] In the embodiments of the present disclosure, the multiple decision nodes in the process of playing the music melody can be determined based on the beat of the music melody corresponding to the second game scene. For example, the judgment can be performed every bar of the music melody, and the number of times of judgment is equal to the number of bars in the music melody.
[0101] Further, for each decision node, the node control score corresponding to the decision node is determined according to the position relationship between the movement position of the target object and the target area in the decision node. Specifically, if the movement position of the target object is located in the target area at the decision node, the preset control score is increased, that is, the node control score is positive; if the movement position of the target object is not located in the target area at the decision node, the preset control score is reduced, that is, the node control score is negative.
[0102] Further, the movement control score of the player for controlling the target object is determined according to the node control scores corresponding to all the decision nodes in the whole music melody.
[0103] Exemplarily, the preset score can be 10 points, if the number of determination nodes in the entire music melody is 5 (only an example, and the number of determination nodes in actual application is much more than the example), the initial score of the player is 0, at the first determination node, the moving position of the target object is located in the target area, at this time, the node control score at the first determination node is +10, at the second determination node, the moving position of the target object is located in the target area, at this time, the node control score at the second determination node is +10; at the third determination node, the moving position of the target object is located in the target area, at this time, the node control score at the third determination node is +10; at the fourth determination node, the moving position of the target object is located in the target area, at this time, the node control score at the fourth determination node is +10; at the fifth determination node, the moving position of the target object is not located in the target area, at this time, the node control score at the fifth determination node is -10, then, at the end of the music melody playing, the moving control score is 30 points.
[0104] In an optional embodiment, a score display area appears at a preset position of the graphical user interface, which can display the current moving control score of the player in real time. For the above example, when the player starts to control the target object to move in the target area, the score displayed in the score display area is 0, after the determination of the first determination node, the score displayed in the score display area is 10; after the determination of the second determination node, the score displayed in the score display area is 20; after the determination of the third determination node, the score displayed in the score display area is 30; after the determination of the fourth determination node, the score displayed in the score display area is 40; after the determination of the fifth determination node, the score displayed in the score display area is 30.
[0105] Further, after the target end event is triggered, the second game scene is exited, the display content in the graphical user interface is switched from the second game scene back to the first game scene, and a virtual prop is configured for the target virtual character in the first game scene based on the moving control score obtained by the player in the second game scene, to assist the target virtual character in continuing to perform the virtual game task in the first game scene.
[0106] S104, in response to triggering of the target end event, switching from the second game scene to the first game scene, and configuring a virtual prop for a corresponding target virtual character in the first game scene based on the moving control score.
[0107] The target end event includes at least one of: The music melody playing ends, or the time when the moving position of the target object is not located in the target area is greater than a third preset time threshold.
[0108] In one alternative implementation, if the music ends, the target end event is triggered, and the game can switch from the second game scene to the first game scene; or if the target object's movement position is not within the target area for more than a third preset time threshold, it is assumed that the player may no longer want to control the target virtual object (if the player still has the intention to control it, adjustments will be made when the target object is not within the target area, and the target object's movement position will not remain outside the target area for a long time), the target end event is also triggered.
[0109] The third preset time threshold can be set according to the game requirements and is not limited here.
[0110] In one alternative implementation, after determining that the target end event has been triggered, a results interface can be displayed in the graphical user interface. The results interface displays the movement control points obtained after the player controls the target object, and different content is displayed on the results interface according to the different movement control points.
[0111] For example, if a player has a high movement control score, positive praise will be displayed on the results screen, such as the text "Lingering Melody" along with the movement control score; if a player has a low movement control score, negative text will be displayed on the results screen, such as the text "Hauntingly Deafening Sound" along with the movement control score.
[0112] Furthermore, after the display time of the settlement interface exceeds the fourth preset time threshold, the display content of the graphical user interface is switched from the second game scene to the third game scene. At the same time, based on the player's movement control score, the target virtual character controlled by the player is configured with corresponding virtual props.
[0113] In one alternative implementation, multiple score intervals can be pre-divided, and based on the virtual items corresponding to each score interval and the player's movement control score in the second game scene, the current movement control score area can be determined, and the corresponding virtual items can be equipped on the target virtual character controlled by the player.
[0114] Specifically, the step "configuring virtual items for the target virtual character in the first game scene based on the movement control points" includes: i1: Based on multiple pre-divided integration intervals, determine the target integration interval where the movement control integration is located, and determine the virtual props corresponding to the target integration interval as virtual props to be configured for the target virtual character.
[0115] In this embodiment of the disclosure, the higher the movement control points accumulated by the player in the second game scene, the higher the level and value of the virtual items that can be obtained.
[0116] Exemplarily, the highest score can be set as 100 points, and each 20 points can be divided into a score interval, which can be divided into (0, 20], (20, 40], (40, 60], (60, 80], (80, 100], wherein the (0, 20] score interval corresponds to the virtual prop A, the (20, 40] score interval corresponds to the virtual prop B, the (40, 60] score interval corresponds to the virtual prop C, the (60, 80] score interval corresponds to the virtual prop D, and the (80, 100] score interval corresponds to the virtual prop E. If it is determined that the player currently obtains the movement control score of 70 points in the second game scene, which is located in the (60, 80] score interval, the virtual prop D can be configured to the player.
[0117] In an optional embodiment, there are multiple time nodes in the first game scene that can enter the second virtual scene to perform the movement control on the target object, and then different virtual props are configured to the target virtual character controlled by the player, so as to improve the probability of the player obtaining the virtual prop to win the game, further improve the human-computer efficiency and the game experience of the player.
[0118] The information processing process in the game in the embodiments of the present disclosure will be described below through specific examples: Exemplarily, please refer to Figure 2 , Figure 2 One of the schematic diagrams of the graphical user interface provided by the embodiments of the present disclosure is shown in FIG. 2, wherein the first game scene is displayed in the current graphical user interface 200, the target virtual character 210 controlled by the player interacts with other virtual characters in the first game scene, and performs the virtual game task. Figure 2
[0119] Further, please refer to Figure 3 , Figure 3 The second of the schematic diagrams of the graphical user interface provided by the embodiments of the present disclosure is shown in FIG. 3, wherein after it is determined that the target event is triggered, the second game scene is displayed in the graphical user interface 200, the target object 220 in the first form is displayed in the second game scene, and the game interaction is triggered through the trigger operation on the target object 220. Figure 3
[0120] Further, please refer to Figure 4 , Figure 4 The third of the schematic diagrams of the graphical user interface provided by the embodiments of the present disclosure is shown in FIG. 4, wherein after the trigger operation on the target object 220 is received, the target area 230 is displayed in the graphical user interface 200, at the same time, the countdown prompt information prompt 240 and the touch position prompt identifier 250 of the player operation are displayed. Figure 4
[0121] Further, please refer to Figure 5 , Figure 5 Figure 4 is a schematic diagram of a graphical user interface provided by an embodiment of the present disclosure, as shown in the figure, after the countdown prompt information is prompted to end, the control target object 220 is switched from the first form to the second form; the player can control the target object 220 to move in the target area 230 through the touch operation for the target object 220, and at the same time, the score display area 260 is displayed in the graphical user interface 200 to show the movement control points obtained by the player in real time. Figure 5
[0122] Further, please refer to Figure 6 , Figure 6 Figure 5 is a schematic diagram of a graphical user interface provided by an embodiment of the present disclosure, as shown in the figure, if the moving position of the target object 220 is located in the target area 230 for more than the second preset time threshold, the special effect animation 270 is displayed in the graphical user interface 200, and the movement control points obtained by the player are displayed in the score display area 260 in real time to prompt the player that the current control of the target object is accurate. Figure 6
[0123] Further, please refer to Figure 7 , Figure 7 Figure 6 is a schematic diagram of a graphical user interface provided by an embodiment of the present disclosure, as shown in the figure, if the moving position of the target object 220 is not located in the target area 230 and collides with the edge of the target area 230, the special effect animation display is cancelled, and the target object 220 is switched from the second form back to the first form; at the same time, the dynamic small person 280 of “covering ears” is displayed in the graphical user interface 200, and the movement control points obtained by the player are displayed in the score display area 260 in real time to prompt the player that the current control of the target object is wrong. Figure 7
[0124] Further, please refer to Figure 8 , Figure 8 Figure 7 is a schematic diagram of a graphical user interface provided by an embodiment of the present disclosure, as shown in the figure, in response to the triggering of the target end event, a settlement interface is displayed in the graphical user interface, and if the player's control of the target object results in higher movement control points, positive praise content is displayed in the settlement interface. Figure 8
[0125] Further, please refer to Figure 9 , Figure 9 Figure 8 is a schematic diagram of a graphical user interface provided by an embodiment of the present disclosure, as shown in the figure, in response to the triggering of the target end event, a settlement interface is displayed in the graphical user interface, and if the player's control of the target object results in higher movement control points, positive praise content is displayed in the settlement interface. Figure 9 As shown, in response to triggering of the target end event, a settlement interface is displayed in the graphical user interface, and if the player's control of the target object results in a lower number of movement control points, negative text content is displayed in the settlement interface.
[0126] Further, please refer to Figure 10 , Figure 10 FIG. 9 is a schematic diagram of a graphical user interface provided by an embodiment of the present disclosure, as Figure 10 As shown, in response to triggering of the target end event, and after the end of the settlement interface display, the graphical user interface 200 is switched from the second game scene to the first game scene, and a virtual prop 290 is configured for the target virtual character 210 based on the movement control points, while the player's performance in the second game scene is evaluated through dialogues of other virtual characters.
[0127] The information processing method in a game provided by an embodiment of the present disclosure, in response to triggering of a target event, switches a first game scene in a graphical user interface to a second game scene; in response to a triggering operation on the target object, displays a target area in the graphical user interface, and switches the target object to a second form; in response to a movement control instruction, controls the target object in the second form to move in the target area, and determines movement control points according to a positional relationship between a plurality of movement positions of the target object and the target area; in response to triggering of a target end event, switches from the second game scene to the first game scene, and configures a virtual prop for a corresponding target virtual character in the first game scene based on the movement control points. In this way, when the target event is triggered, the current first game scene is switched to the second game scene, and the target object associated with the first game scene is displayed in the second game scene. The player controls the target object to move in the target area generated according to the corresponding music melody in the second game scene, obtains movement control points, and obtains a virtual prop in the first game scene according to the obtained movement control points. This improves the smoothness of switching between different game scenes, enriches the interaction between the player and the target object in the game scene, and improves the smoothness of the player's operation and the game immersion.
[0128] Based on the same inventive concept, the present disclosure also provides an information processing device in a game corresponding to the information processing method in a game. Since the principle of the device in the present disclosure solves the problem similar to the information processing method in a game of the present disclosure, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described here.
[0129] Please refer to Figure 11 , Figure 11 FIG. 1 is a structural schematic diagram of an information processing device in a game provided by an embodiment of the present disclosure. As shown in Figure 11 the information processing device 1100 comprises: The scenario switching module 1110 is configured to switch a first game scenario to a second game scenario in the graphical user interface in response to triggering of a target event; the second game scenario includes a target object in a first form in the first game scenario; The region display module 1120 is configured to display a target region in the graphical user interface and switch the target object to a second form in response to triggering of an operation on the target object; the target region is determined according to a music melody corresponding to the second game scenario; The score determination module 1130 is configured to control the target object in the second form to move in the target region in response to a movement control instruction, and determine a movement control score according to a position relationship between a plurality of movement positions of the target object and the target region; The prop configuration module 1140 is configured to switch from the second game scenario to the first game scenario in response to triggering of a target end event, and configure a virtual prop for a target virtual character in the first game scenario based on the movement control score.
[0130] In an optional implementation, the target event includes at least one of the following: The time of entering the first game scenario is greater than a first preset time threshold, and a switching operation on the second game scenario is received.
[0131] In an optional implementation, the information processing apparatus 1100 further includes an animation display module (not shown in the figure), which is configured to: display a special effect animation in the graphical user interface in response to a time that the movement position of the target object is located in the target region being greater than a second preset time threshold.
[0132] In an optional implementation, the information processing apparatus 1100 further includes a form switching module (not shown in the figure), which is configured to: cancel the display of the special effect animation and control the target object to switch from the second form back to the first form in response to the movement position of the target object not being located in the target region.
[0133] In an optional implementation, the information processing apparatus 1100 further includes a region movement control module (not shown in the figure), which is configured to: determine a region movement speed of the target region based on a playing speed of the music melody; control the target region to move in the graphical user interface at the region movement speed in a preset movement direction.
[0134] In an optional implementation, the movement control instruction is a trigger operation on the graphical user interface; the information processing apparatus 1100 further comprises a position determining module (not shown in the figure), configured to determine the movement position of the target object by the following steps: determine the movement position of the target object according to the position of the trigger operation on the graphical user interface and the mapping relationship between the target object position and the trigger operation position.
[0135] In an optional implementation, the information processing apparatus 1100 further comprises a melody playing module (not shown in the figure), configured to: play the music melody through the terminal device.
[0136] In an optional implementation, the information processing apparatus 1100 further comprises a melody adjusting module (not shown in the figure), configured to: in response to the movement position of the target object not being located in the target region and the movement position of the target object being located above the upper regional boundary of the target region, play the music melody with a higher pitch through the terminal device; in response to the movement position of the target object not being located in the target region and the movement position of the target object being located below the lower regional boundary of the target region, play the music melody with a lower pitch through the terminal device.
[0137] In an optional implementation, when the integral determining module 1130 is configured to determine the movement control integral according to the position relationship between the movement positions of the target object and the target region, the integral determining module 1130 is configured to: determine at least one judgment node based on the beat of the music melody; for each judgment node, determine a node control score corresponding to the judgment node based on the position relationship between the movement position of the target object in the judgment node and the target region; determine the movement control integral based on the node control scores corresponding to the judgment nodes.
[0138] In an optional implementation, the target end event comprises at least one of: the music melody playing is ended, and the time when the movement position of the target object is not located in the target region is greater than a third preset time threshold.
[0139] In an optional implementation, when the prop configuration module 1140 is configured to configure a virtual prop for a corresponding target virtual role in the first game scene based on the mobile control integral, the prop configuration module 1140 is configured to: determine a target integral interval in which the mobile control integral is located according to the plurality of pre-divided integral intervals, and determine a virtual prop corresponding to the target integral interval as the virtual prop configured for the target virtual role.
[0140] In an optional implementation, the information processing apparatus 1100 further includes a region determination module (not shown in the figure), configured to: determine a plurality of melody nodes corresponding to the music melody based on a music rhythm and a music tone of the music melody; filter a plurality of target nodes from the plurality of melody nodes based on a preset filtering rule; determine a corresponding node curve based on a node coordinate of each target node, and generate the target region based on the node curve.
[0141] The information processing apparatus in the game provided by the embodiments of the present disclosure responds to triggering of a target event to switch a first game scene in a graphical user interface to a second game scene, responds to a triggering operation for the target object to display a target region in the graphical user interface and switch the target object to a second form, responds to a mobile control instruction to control the target object in the second form to move in the target region, and determine a mobile control integral according to a position relationship between a plurality of mobile positions of the target object and the target region, and responds to triggering of a target end event to switch from the second game scene to the first game scene, and configure a virtual prop for a corresponding target virtual role in the first game scene based on the mobile control integral. In this way, when the target event is triggered, the current first game scene is switched to the second game scene, and the target object associated with the first game scene is displayed in the second game scene. The player controls the target object to move in the target region generated according to the corresponding music melody in the second game scene, obtains the mobile control integral, and obtains the virtual prop in the first game scene according to the obtained mobile control integral. In this way, the smoothness of switching between different game scenes is improved, the interaction richness between the player and the target object in the game scene is enriched, and the smoothness of the player's operation and the game immersion are improved. Please refer to Figure 12 , Figure 12 The structure of an electronic device provided by the embodiments of the present disclosure is shown in FIG. 12. Figure 12 As shown in FIG. 12, the electronic device 1200 includes a processor 1210, a memory 1220, and a bus 1230.
[0142] The memory 1220 stores machine readable instructions executable by the processor 1210. When the electronic device 1200 is running, the processor 1210 communicates with the memory 1220 through the bus 1230, so that the processor 1210 executes the following instructions when running: In response to triggering of a target event, switching a first game scene in the graphical user interface to a second game scene; the second game scene includes a target object in a first form in the first game scene; In response to a triggering operation for the target object, displaying a target area in the graphical user interface and switching the target object to a second form; the target area is determined according to a music melody corresponding to the second game scene; In response to a movement control instruction, controlling the target object in the second form to move in the target area, and determining a movement control score according to a position relationship between a plurality of movement positions of the target object and the target area; In response to triggering of a target end event, switching from the second game scene to the first game scene, and configuring a virtual prop for a corresponding target virtual role in the first game scene based on the movement control score.
[0143] In an optional implementation, the target event includes at least one of: The time of entering the first game scene is greater than a first preset time threshold, and a switching operation for the second game scene is received.
[0144] In an optional implementation, the instructions executed by the processor 1210 further include: In response to the time that the movement position of the target object is located in the target area being greater than a second preset time threshold, displaying a special effect animation in the graphical user interface.
[0145] In an optional implementation, the instructions executed by the processor 1210 further include: In response to the movement position of the target object not being located in the target area, canceling the display of the special effect animation and controlling the target object to switch back to the first form from the second form.
[0146] In an optional implementation, the instructions executed by the processor 1210 further include: Determining a region movement speed of the target area based on a playing speed of the music melody; Controlling the target area to move in the graphical user interface according to a preset movement direction at the region movement speed.
[0147] In an alternative implementation, the movement control instruction is a trigger operation on the graphical user interface, and the movement position of the target object is determined according to the position of the trigger operation on the graphical user interface and a mapping relationship between the target object position and the trigger operation position. The movement position of the target object is determined according to the position of the trigger operation on the graphical user interface and a mapping relationship between the target object position and the trigger operation position.
[0148] In an alternative implementation, the instructions executed by the processor 1210 further include: playing the music melody through the terminal device.
[0149] In an alternative implementation, the instructions executed by the processor 1210 further include: in response to the movement position of the target object not being located in the target region and the movement position of the target object being located above the upper regional boundary of the target region, playing the music melody with a raised pitch through the terminal device; in response to the movement position of the target object not being located in the target region and the movement position of the target object being located below the lower regional boundary of the target region, playing the music melody with a lowered pitch through the terminal device.
[0150] In an alternative implementation, the instructions executed by the processor 1210 further include: determining at least one decision node based on the beat of the music melody; for each decision node, determining a node control score corresponding to the decision node based on the position relationship between the movement position of the target object in the decision node and the target region; determining the movement control score based on the node control scores corresponding to the decision nodes.
[0151] In an alternative implementation, the target end event includes at least one of: the music melody playing ends, or the time for which the movement position of the target object is not located in the target region is greater than a third preset time threshold.
[0152] In an alternative implementation, the instructions executed by the processor 1210 further include: determining a target score interval in which the movement control score is located according to a plurality of pre-divided score intervals, and determining a virtual prop corresponding to the target score interval as the virtual prop configured for the target virtual character.
[0153] In an alternative implementation, the processor 1210 executes instructions to determine the target area by: determining a plurality of melody nodes corresponding to the music melody based on a music rhythm and a music tone of the music melody; selecting a plurality of target nodes from the plurality of melody nodes based on a preset filtering rule; determining a corresponding node curve based on a node coordinate of each target node, and generating the target area based on the node curve.
[0154] In this way, when a target event is triggered, the first game scene is switched to the second game scene, and the target object associated with the first game scene is displayed in the second game scene. The player controls the target object to move in the target area generated according to the corresponding music melody in the second game scene, obtains a movement control score, and obtains a virtual prop in the first game scene according to the obtained movement control score. In this way, the smoothness of switching between different game scenes is improved, the interaction between the player and the target object in the game scene is enriched, and the smoothness of the player's operation and the game immersion are improved. Further, while the player controls the target object to move in the target area, the target area also needs to be automatically moved in the graphical user interface to improve the player's experience and the picture immersion. In addition, different interaction effects can be generated according to the player's control of the target object, and displayed in the graphical user interface to further improve the human-computer interaction efficiency and the player's experience. In addition, to improve the player's immersion, when the player's control of the target object is not located in the target area, not only is the scene in the graphical user interface prompted, but also the music melody played by the terminal device is prompted, so that the player can accurately determine that the control of the target object is incorrect. In addition, there are a plurality of time nodes in the first game scene that can enter the second virtual scene to perform movement control of the target object, and different virtual props are configured for the target virtual character controlled by the player to improve the probability of the player obtaining the virtual prop and winning the game, further improving the human-computer efficiency and the player's game experience.
[0155] The embodiments of the present disclosure further provide a computer readable storage medium having a computer program stored thereon, so that when the computer program is executed by a processor, the following instructions are executed: In response to triggering of a target event, switching a first game scene in the graphical user interface to a second game scene; the second game scene includes a target object in a first form in the first game scene; In response to a trigger operation for the target object, a target area is displayed in the graphical user interface, and the target object is switched to a second form; the target area is determined according to a music melody corresponding to the second game scene; In response to a movement control instruction, the target object in the second form is controlled to move in the target area, and a movement control score is determined according to a positional relationship between a plurality of movement positions of the target object and the target area; In response to a trigger of a target end event, the second game scene is switched to the first game scene, and a virtual prop is configured for a corresponding target virtual character in the first game scene based on the movement control score.
[0156] In an optional implementation, the target event includes at least one of the following: The time of entering the first game scene is greater than a first preset time threshold, and a switching operation for the second game scene is received.
[0157] In an optional implementation, the instructions executed by the computer readable storage medium further include: In response to a time that the movement position of the target object is located in the target area being greater than a second preset time threshold, a special effect animation is displayed in the graphical user interface.
[0158] In an optional implementation, the instructions executed by the computer readable storage medium further include: In response to the movement position of the target object not being located in the target area, the special effect animation is cancelled, and the target object is switched from the second form back to the first form.
[0159] In an optional implementation, the instructions executed by the computer readable storage medium further include: A region movement speed of the target area is determined based on a playing speed of the music melody; The target area is controlled to move in the graphical user interface according to a preset movement direction and the region movement speed.
[0160] In an optional implementation, the instructions executed by the computer readable storage medium, the movement control instruction is a trigger operation on the graphical user interface; the movement position of the target object is determined by the following steps: The movement position of the target object is determined according to a position of the trigger operation on the graphical user interface and a mapping relationship between a target object position and the position of the trigger operation.
[0161] In an optional implementation, the instructions executed by the computer readable storage medium further include: playing the music melody by the terminal device.
[0162] In an optional implementation, the instructions executed by the computer readable storage medium further include: in response to the moving position of the target object being above the upper area boundary of the target area, playing the music melody with a rising pitch by the terminal device; in response to the moving position of the target object being below the lower area boundary of the target area, playing the music melody with a falling pitch by the terminal device.
[0163] In an optional implementation, the instructions executed by the computer readable storage medium, the determining the moving control score according to the positional relationship between the moving positions of the target object and the target area, includes: determining at least one decision node based on the beat of the music melody; for each decision node, determining a node control score corresponding to the decision node based on the positional relationship between the moving position of the target object in the decision node and the target area; determining the moving control score based on the node control scores corresponding to the decision nodes.
[0164] In an optional implementation, the target end event includes at least one of: the music melody playing ends, and the time when the moving position of the target object is not in the target area is greater than a third preset time threshold.
[0165] In an optional implementation, the instructions executed by the computer readable storage medium, the configuring a virtual prop for the target virtual character in the first game scene based on the moving control score, includes: determining a target score interval in which the moving control score is located according to a plurality of pre-divided score intervals, and determining a virtual prop corresponding to the target score interval as the virtual prop configured for the target virtual character.
[0166] In an optional implementation, the instructions executed by the computer readable storage medium, the target area is determined by: determining a plurality of melody nodes corresponding to the music melody based on the music rhythm and the music pitch of the music melody; screening a plurality of target nodes from the plurality of melody nodes based on a preset screening rule; Based on the node coordinates of each target node, a corresponding node curve is determined, and the target region is generated based on the node curve.
[0167] In this way, when the target event is triggered, the current first game scene is switched to the second game scene, and the target object associated with the first game scene is displayed in the second game scene. The player controls the target object to move in the target region generated according to the corresponding music melody in the second game scene, obtains the movement control points, and obtains the virtual props in the first game scene according to the obtained movement control points. In this way, the fluency of switching between different game scenes is improved, the interaction between the player and the target object in the game scene is enriched, and the fluency of the player's operation and the game immersion are improved. Further, while the player controls the target object to move in the target region, the target region also needs to be automatically moved in the graphical user interface to improve the experience of the player and the picture immersion. At the same time, in order to further improve the game experience of the player, different interaction effects can be generated according to the control of the player on the target object, and displayed in the graphical user interface, further improving the human-computer interaction efficiency and the experience of the player. At the same time, in order to improve the immersion of the player, when the control of the player on the target object is not located in the target region, not only the scene in the graphical user interface is prompted, but also the music melody played by the terminal device is prompted, so that the player can timely and accurately determine that the control of the target object is wrong. At the same time, there are multiple time nodes in the first game scene that can enter the second virtual scene to perform movement control on the target object, and different virtual props are configured for the target virtual character controlled by the player, so as to improve the probability of the player obtaining the virtual props and winning the game, further improving the human-computer efficiency and the game experience of the player.
[0168] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0169] In several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some communication interfaces, devices or units, and can be electrical, mechanical or other forms.
[0170] The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e. may be located in one place, or may be distributed on multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment scheme.
[0171] In addition, each functional unit in various embodiments of the present disclosure can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.
[0172] If the functions are realized in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solutions of the present disclosure essentially or the part of the prior art or the part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present disclosure. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and various program code storage media.
[0173] Finally, it should be noted that: the above-described embodiments are only specific embodiments of the present disclosure, used to illustrate the technical solutions of the present disclosure, and not to limit it, the protection scope of the present disclosure is not limited to this, although the present disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand: any person skilled in the art in the technical range disclosed by the present disclosure, it can still modify or easily think of changes to the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and all should be covered in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. An information processing method in a game, characterized in that, The information processing method includes providing a graphical user interface via a terminal device: In response to the triggering of the target event, a second game scene is displayed in the graphical user interface, multiple melody nodes corresponding to the music melody configured in the second game scene are determined, node curves are generated based on the node coordinates of the multiple melody nodes, and a target region is generated based on the node curves. The target area and the target object located within the target area are displayed in the graphical user interface. In response to a movement control command, the target object is controlled to move within the target area; In response to the target object's movement position not being located in the target area, the pitch of the music melody played through the terminal device is controlled to be raised or lowered.
2. The information processing method according to claim 1, characterized in that, The step of controlling the pitch of the music melody played through the terminal device to rise or fall in response to the target object's movement position not being within the target area includes: In response to the fact that the moving position of the target object is not located in the target area, the distance between the moving position of the target object and the boundary of the target area is determined; The pitch of the music melody played through the terminal device is raised or lowered according to the distance, wherein the degree to which the pitch is raised or lowered is positively correlated with the distance.
3. The information processing method according to claim 1, characterized in that, The method further includes: Before the target event is triggered, a first game scene and a target object in a first form located in the first game scene are displayed in the graphical user interface. The step of displaying a second game scene in the graphical user interface in response to the triggering of a target event includes: In response to the triggering of the target event, the first game scene is switched to the second game scene, and the target object in the first form located in the second game scene is displayed.
4. The information processing method according to claim 3, characterized in that, The step of displaying the target area and the target object located in the target area in the graphical user interface includes: responding to a trigger operation on the target object in the second game scene, displaying the target area in the graphical user interface, and displaying the target object switched to the second form in the target area; The step of controlling the target object to move in the target area in response to a movement control command includes: controlling the target object in the second form to move in the target area in response to a movement control command.
5. The information processing method according to claim 4, characterized in that, After controlling the target object of the second form to move in the target area in response to a movement control command, the method further includes: When the time the target object's movement position is within the target area is greater than a second preset time threshold, a special effects animation is displayed on the graphical user interface.
6. The information processing method according to claim 5, characterized in that, The method further includes: In response to the target object's movement position not being within the target area, the special effects animation is canceled, and the target object is controlled to switch from the second form back to the first form.
7. The information processing method according to claim 1, characterized in that, The method further includes: Based on the playback speed of the music melody, determine the area movement speed of the target area; The target area is controlled to move in the graphical user interface in a preset direction and at the area movement speed.
8. The information processing method according to claim 1, characterized in that, The movement control command is a trigger operation on the graphical user interface; The movement position of the target object is determined by the following steps: The movement position of the target object is determined based on the position of the trigger operation on the graphical user interface and the mapping relationship between the target object position and the trigger operation position.
9. The information processing method according to claim 1, characterized in that, The target area includes an upper boundary and a lower boundary. The step of controlling the pitch of the music melody played through the terminal device to rise or fall in response to the target object's movement position not being within the target area includes: In response to the target object's movement position being above the upper region boundary, the pitch of the music melody played through the terminal device is controlled to be increased; In response to the target object's movement position being below the lower region boundary, the pitch of the music melody played through the terminal device is controlled to be reduced.
10. The information processing method according to claim 2, characterized in that, The target area includes an upper boundary and a lower boundary. The step of controlling the pitch of the music melody played through the terminal device to rise or fall according to the distance includes: In response to the target object's movement position being above the upper region boundary, the pitch of the music melody played through the terminal device is controlled to be increased, wherein the degree of pitch increase is positively correlated with the distance; In response to the target object's movement position being below the lower region boundary, the pitch of the music melody played through the terminal device is controlled to be reduced, wherein the degree of pitch reduction is positively correlated with the distance.
11. The information processing method according to any one of claims 1-10, characterized in that, The target event includes at least one of the following: The time taken to enter the first game scene exceeds a first preset time threshold, and a switching operation for the second game scene is received.
12. The information processing method according to claim 11, characterized in that, After the step of controlling the target object to move in the target area, the method further includes: The movement control integral is determined based on the positional relationship between the multiple moving positions of the target object and the target area; In response to the triggering of the target end event, the game scene is switched from the second game scene to the first game scene, and virtual props are configured for the target virtual character in the first game scene based on the movement control points.
13. The information processing method according to claim 12, characterized in that, The step of determining the motion control integral based on the positional relationship between the multiple moving positions of the target object and the target area includes: Based on the rhythm of the musical melody, at least one decision node is determined; For each decision node, the node control score corresponding to that decision node is determined based on the positional relationship between the moving position of the target object in that decision node and the target area. The motion control integral is determined based on the node control score corresponding to each decision node.
14. The information processing method according to claim 13, characterized in that, The target termination event includes at least one of the following: The time between the end of the music playback and the point at which the target object's position is no longer within the target area is greater than a third preset time threshold.
15. An information processing device for games, characterized in that, The information processing device provides a graphical user interface via a terminal device, comprising: The scene switching module is used to respond to the triggering of a target event, display a second game scene in the graphical user interface, determine multiple melody nodes corresponding to the music melody configured in the second game scene, generate node curves based on the node coordinates of the multiple melody nodes, and generate a target area based on the node curves. A region display module is used to display the target region and the target object located in the target region in the graphical user interface; An integral determination module is used to control the target object to move in the target area in response to a movement control command; The melody adjustment module is used to control the pitch of the music melody played through the terminal device to be raised or lowered in response to the target object's movement position not being located in the target area.
16. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and the processor executes the machine-readable instructions to perform the steps of the information processing method in a game as described in any one of claims 1 to 14.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the information processing method in the game according to any one of claims 1 to 14.