CN112221125A - Game interaction method and device, electronic equipment and storage medium - Google Patents

Game interaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112221125A
CN112221125A CN202011158125.9A CN202011158125A CN112221125A CN 112221125 A CN112221125 A CN 112221125A CN 202011158125 A CN202011158125 A CN 202011158125A CN 112221125 A CN112221125 A CN 112221125A
Authority
CN
China
Prior art keywords
target
game
emergency
attribute data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011158125.9A
Other languages
Chinese (zh)
Other versions
CN112221125B (en
Inventor
陈建宇
张甜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011158125.9A priority Critical patent/CN112221125B/en
Publication of CN112221125A publication Critical patent/CN112221125A/en
Application granted granted Critical
Publication of CN112221125B publication Critical patent/CN112221125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/798Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for assessing skills or for ranking players, e.g. for generating a hall of fame
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a game interaction method, a game interaction device, electronic equipment and a computer readable storage medium, and relates to the technical field of computers. The game interaction method comprises the following steps: generating a draggable control corresponding to a target emergency in response to an instruction for triggering the emergency; playing sudden change music different from the current background music to replace the current background music, and displaying the draggable control on the graphical user interface; responding to the dragging control moved to the target game role, and acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to the target game role; and matching the first attribute data and the second attribute data, and updating the score data of the target game role according to the matching result. The technical scheme of the game playing method and the game playing device can improve the participation degree of the user in the game and improve the game experience of the user.

Description

Game interaction method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a game interaction method, a game interaction apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of internet technology, electronic games are becoming more popular with players, and in particular, character-oriented games are becoming more popular with players.
At present, in the interaction scheme of the related character development type games, a player can continuously advance the game progress by continuously and repeatedly clicking an interaction button in a screen, all game special effects and scenarios are automatically advanced, and the player can obtain rewards without any interaction operation; or the player accumulates the game credits by clicking the buttons appearing around the artist's character during the game, and the player receives the award after the music game is finished. However, in both of the two game interaction schemes, the player participates in the game in a more traditional way of simply clicking buttons around the screen, so that the interaction between the player and the game is less, the participation degree and the substitution feeling of the player are lower, the interest of the game is reduced, and the game experience of the player is poorer.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a game interaction method, a game interaction apparatus, an electronic device, and a computer-readable storage medium, which overcome the problems of the related art at least to some extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of embodiments of the present disclosure, there is provided a game interaction method, including:
responding to an instruction for triggering an emergency, acquiring a target emergency, and generating a draggable control corresponding to the target emergency; playing abrupt change music different from the current background music to replace the current background music, and displaying the draggable control on the graphical user interface; responding to the movement operation of moving the draggable control to a target game role, and acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to the target game role; and matching the first attribute data and the second attribute data to obtain a matching result, and updating the score data of the target game role according to the matching result.
In some example embodiments of the present disclosure, based on the foregoing scheme, the obtaining a target emergency in response to an instruction for triggering an emergency includes: responding to an instruction for triggering an emergency, and acquiring a preset emergency set; and calculating a random number, and selecting a target emergency from the emergency set according to the random number.
In some example embodiments of the present disclosure, based on the foregoing, the graphical user interface includes a music fountain display area, after the playing of the sudden change music different from the current background music to replace the current background music, including: and displaying the music fountain animation corresponding to the sudden change music based on the music fountain display area so as to replace the music fountain animation corresponding to the current background music.
In some example embodiments of the present disclosure, based on the foregoing solution, the displaying the draggable control on the graphical user interface includes: fading the draggable control from an edge of the graphical user interface.
In some example embodiments of the present disclosure, based on the foregoing solution, in response to a movement operation of moving the draggable control to a target game character, acquiring first attribute data corresponding to the target emergency and acquiring second attribute data corresponding to the target game character includes: acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to all game roles respectively; displaying the first attribute data and all of the second attribute data on the graphical user interface; detecting a movement operation of moving the draggable control to a target game character; and responding to the moving operation, and acquiring second attribute data corresponding to the target game role.
In some example embodiments of the present disclosure, based on the foregoing, the first attribute data includes first color identification data and first health value data, and the second attribute data includes second color identification data and second health value data; the matching the first attribute data and the second attribute data to obtain a matching result includes: determining a first matching score according to the first color identification data and the second color identification data; determining a second matching score from the first health value data and the second health value data; determining a matching result corresponding to the first attribute data and the second attribute data based on the first matching score and the second matching score.
In some example embodiments of the present disclosure, based on the foregoing, after responding to the movement operation of moving the draggable control to the target game character, the method further comprises: obtaining a confrontation special effect animation corresponding to the moving operation, and displaying the confrontation special effect animation on the graphical user interface; after the confrontation special effect animation is displayed, updating score data of the target game role according to the matching result, wherein the updating comprises the following steps: and displaying a matching result corresponding to the target game role on the graphical user interface, and updating the score data of the target game role according to the matching result.
According to a second aspect of embodiments of the present disclosure, there is provided a game interaction apparatus, comprising:
the emergency triggering module is used for responding to an instruction for triggering an emergency, acquiring a target emergency and generating a draggable control corresponding to the target emergency;
the sudden change music playing module is used for playing sudden change music different from the current background music to replace the current background music and displaying the draggable control on the graphical user interface;
the attribute data acquisition module is used for responding to the movement operation of moving the draggable control to the target game role, acquiring first attribute data corresponding to the target emergency and acquiring second attribute data corresponding to the target game role;
and the score data updating module is used for matching the first attribute data and the second attribute data to obtain a matching result, and updating the score data of the target game role according to the matching result.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the emergency triggering module further includes an emergency triggering unit, and the emergency triggering unit is configured to: responding to an instruction for triggering an emergency, and acquiring a preset emergency set; and calculating a random number, and selecting a target emergency from the emergency set according to the random number.
In an exemplary embodiment of the present disclosure, based on the foregoing, the game interaction apparatus further includes a sudden change music display unit configured to: and displaying the music fountain animation corresponding to the sudden change music based on the music fountain display area so as to replace the music fountain animation corresponding to the current background music.
In an exemplary embodiment of the disclosure, based on the foregoing scheme, the abrupt music playing module is further configured to: fading the draggable control from an edge of the graphical user interface.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the attribute data acquisition module is further configured to: acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to all game roles respectively; displaying the first attribute data and all of the second attribute data on the graphical user interface; detecting a movement operation of moving the draggable control to a target game character; and responding to the moving operation, and acquiring second attribute data corresponding to the target game role.
In an exemplary embodiment of the present disclosure, based on the foregoing solution, the score data updating module further includes an attribute data matching unit, and the control attribute data matching unit is configured to: determining a first matching score according to the first color identification data and the second color identification data; determining a second matching score from the first health value data and the second health value data; determining a matching result corresponding to the first attribute data and the second attribute data based on the first matching score and the second matching score.
In an exemplary embodiment of the present disclosure, based on the foregoing, the score data updating module further includes a confrontation animation display unit configured to: obtaining a confrontation special effect animation corresponding to the moving operation, and displaying the confrontation special effect animation on the graphical user interface; after displaying the confrontational special effect animation, the score data update module is further configured to: and displaying a matching result corresponding to the target game role on the graphical user interface, and updating the score data of the target game role according to the matching result.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the game interaction method in the example embodiment of the disclosure, a target emergency is obtained by responding to an instruction for triggering the emergency, and a draggable control corresponding to the target emergency is generated; playing abrupt change music different from the current background music to replace the current background music, and displaying a draggable control on the graphical user interface; responding to the movement operation of moving the draggable control to the target game role, and acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to the target game role; and matching the first attribute data and the second attribute data to obtain a matching result, and updating the score data of the target game role according to the matching result. On one hand, when an emergency is triggered, not only the sudden change music different from the current background music can be played to replace the current background music, but also various music fountain animations can be displayed on the graphical user interface, so that the game process can be combined with the change of music rhythm and the change of art pictures, and the interest of the game and the attraction of the game to players are increased; on the other hand, the target emergency is selectively dragged to the moving operation of the target game event according to the attribute data by the user, and then the matching result is obtained after data matching processing, so that the different matching results corresponding to the moving operation of the player are obtained, the interactive operation of the game is not simple and repeated clicking of a screen button, the interactivity of the game is enhanced, and the participation degree of the player in the game is improved; on the other hand, after the draggable control is moved to the target game role according to the movement operation of the player, the graphic user interface can display the target emergency and the confrontation special effect animation corresponding to the target game role, so that the substitution feeling of the player is increased, and the game experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
FIG. 1 shows a schematic diagram of related game interactions;
FIG. 2 schematically shows a flow diagram of a game interaction method according to an embodiment of the present disclosure;
fig. 3 schematically shows a flow diagram for switching break music according to an embodiment of the present disclosure;
FIG. 4 illustrates a schematic diagram of an early stage of a game play to which embodiments of the present disclosure may be applied;
FIG. 5 schematically shows a flowchart for obtaining attribute data of a target emergency and a target game character according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a draggable control corresponding to a target emergency is moved to an area where a target game character is located according to an embodiment of the disclosure;
FIG. 7 is a schematic flow chart illustrating a process for obtaining a matching result between a target game character and a target emergency according to an embodiment of the disclosure;
FIG. 8 illustrates a flow diagram in which an embodiment of the present disclosure may be applied to obtain updated score data for a target game character;
FIG. 9 illustrates a special effect animation diagram of a target incident versus a target game character to which embodiments of the present disclosure may be applied;
FIG. 10 schematically shows a flow diagram of game interaction according to an embodiment of the present disclosure;
FIG. 11 schematically shows a structural schematic of a game interaction device according to an embodiment of the present disclosure;
FIG. 12 schematically illustrates a structural diagram of a computer system of an electronic device according to an embodiment of the disclosure;
fig. 13 schematically illustrates a schematic diagram of a computer-readable storage medium according to an embodiment of the present disclosure.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the disclosure.
Furthermore, the drawings are merely schematic illustrations and are not necessarily drawn to scale. The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The game interaction method in one embodiment of the disclosure can be operated on a terminal device or a server. The terminal device may be a local terminal device. When the game interaction method is operated on the server, the game interaction method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, the running main body of the game program and the game picture presenting main body are separated, the storage and the running of the game interaction method are finished on a cloud game server, and the client equipment is used for receiving and sending data and presenting the game picture, for example, the client equipment can be display equipment with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device performing the information processing is a cloud game server in the cloud. When a game is played, a player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
FIG. 1 shows a schematic diagram of related game interactions; as shown in fig. 1(a), in a game of a character development class, game characters may include game character 101, game character 102, game character 103, game character 104, and game character 105, game character 101 may compete with game characters 102, 103, 104, and 105 by clicking a start operation button on a lower left corner of a graphical user interface, and may also exhibit a game effect by clicking a STAR button on a lower middle corner of the graphical user interface, and may upgrade to a special STAR by clicking a special STAR signed on a lower right corner, and when a scenario of the game approaches a tail sound, a player may obtain a bonus, such as a game, and a player may obtain a game bonus by repeatedly clicking a button on a lower corner of the graphical user interface. However, in the game of the character growing category, all special effects and scenarios are automatically promoted, and the click operation of the player does not affect the promotion and play package of the ongoing scenarios of the game at all, so that the player lacks the game substituting feeling and immersion feeling.
In another type of character-developing game, a player can obtain a game award based on clicking a heart-shaped identifier near the game character, as shown in fig. 1(b), the player clicks heart-shaped identifiers around the game character 111 and the game character 112 to obtain the game award, and during game interaction, the operation experience of the player only stays on repeated clicks, so that the player has low participation during the game.
In another character-developing game, a play is packaged as a performance in which an avatar artist is participating, a player accumulates game credits by clicking buttons appearing around the game character during a musical performance, and ends the music game after a certain time, and the player receives a bonus, such as a game shown in fig. 1(c), the player may select a game character 121, and make the game character 121 perform a corresponding action by clicking the buttons around the game character 121, when the player clicks a button 122, the game character 121 bends down and twists the hip, when the player clicks a button 123, the game character 121 may have a cross-foot low-head shape, and when the player clicks a button 124, the game character 121 may lift up to swing in accordance with a music rhythm. However, the player can simply participate in the game process by clicking the button, the game design still does not link the 'idol artist performance' with the game interaction, and the game is monotonous, so that the game experience of the player is poor.
Based on one or more of the above problems, in the present exemplary embodiment, first, a game interaction method is provided, where the game interaction method may be applied to a server having a game interaction function, and may also be applied to a terminal device having a game interaction function. FIG. 2 schematically illustrates a schematic diagram of a game interaction method flow, according to some embodiments of the present disclosure. Referring to fig. 2, the game interaction method may include the steps of:
step S210, responding to an instruction for triggering an emergency, acquiring a target emergency, and generating a draggable control corresponding to the target emergency;
step S220, playing mutation music different from the current background music to replace the current background music, and displaying the draggable control on the graphical user interface;
step S230, in response to a movement operation of moving the draggable control to a target game character, obtaining first attribute data corresponding to the target emergency and obtaining second attribute data corresponding to the target game character;
step S240, performing matching processing on the first attribute data and the second attribute data to obtain a matching result, so as to update the score data of the target game character according to the matching result.
According to the game interaction method in the embodiment, on one hand, through setting an emergency and generating a draggable generation control corresponding to a target emergency, after a player obtains attribute data of the target emergency, and through analyzing the attribute data of each game role, the target game role is determined, and the interest of a game and the initiative and the substitution feeling of operation of the player in the game interaction process are improved; on the other hand, the sudden change music different from the current background music is played to replace the current background music, and the target emergency is moved to the area where the target game role is located, so that the novel experience of combining auditory sense and visual sense in the game interaction process is realized, and the satisfaction degree of a player is improved; on the other hand, according to the matching result of the movable control corresponding to the target emergency and the target game role, the score data of the target game role is updated, the visualization of the game interaction process is improved, and meanwhile, the attractiveness of the adult even image-based game is improved.
Next, the game interaction method in the present exemplary embodiment will be further described.
In step S210, in response to an instruction for triggering an emergency, a target emergency is obtained, and a draggable widget corresponding to the target emergency is generated.
In an example embodiment of the present disclosure, the target emergency may be an event that suddenly occurs during a game process, and may be an emergency that matches a target game character, for example, the emergency may simulate a target game character singing, while the game character may simulate other game characters singing, or may be contradictory to an emergency that can be solved by the target game character, for example, the emergency may be a song that is listened to or sad, and the game character may be a joke, and of course, the emergency may also be unrelated to an event that a certain game character can, for example, the emergency may be a piano playing, and the target game character may be a painting, which is not particularly limited in this example embodiment.
The draggable widget may be a movable widget generated based on a target emergency, and may refer to a movable widget corresponding to an emergency matched with a target game role, for example, the target game role may solve a violent incident, and the target emergency may be a violent incident, the draggable widget may represent a control of the violent incident, or the draggable widget may be a movable widget related to a certain game role other than the target game role, for example, the target game role may solve the violent incident, the game role may be a violin, the target emergency may be a rhythm, the draggable widget may be a rhythm-playing widget, and of course, the draggable widget may be other movable widgets unrelated to both the target emergency and the game role, which is not particularly limited in this example.
The method comprises the steps of generating a random positive integer by using a random number generation formula through receiving an emergency instruction, selecting the emergency with the random number as a target emergency, and generating a draggable control corresponding to the target emergency through a draggable control generation unit.
In an example embodiment of the present disclosure, in response to an instruction for triggering an emergency, in the process of acquiring a target emergency, the target emergency may be acquired by:
responding to an instruction for triggering an emergency, and acquiring a preset emergency set;
and calculating a random number, and selecting a target emergency from the emergency set according to the random number.
Where a set of emergency events may refer to a set representing all emergency events, e.g., a set of emergency events that is a subset of the emergency events, assuming the set of emergency events is S, wherein S can include { send flowers, throw things away, grab microphone, ask for group photo, fight } or can refer to a number set composed of numbers corresponding to the emergency, for example, the emergency set S may include { send flowers, throw things, grab a microphone, ask for a group photo, ask for a war }, if the number set corresponding to the emergency set S is S ', S' may include {001, 002, 003, 004, 005}, 001 may refer to a flower sending event, 002 may refer to a throwing things event, 003 may refer to a microphone grabbing event, 004 may refer to an ask for a group photo event, 005 may refer to an ask for a war event, of course, other sets of all emergencies may be indicated, and this example embodiment is not limited in this respect.
Preferably, the random number may be generated by the random number generation formula (1), and the emergency with the same emergency number as the random number is selected from the emergency set as the target emergency.
A=round(rand(1,1)*b+a) (1)
Wherein, a and b are positive integers, rand (1,1) represents a random number generating 1 row and 1 column, rand (1,1) × b + a represents a random number generating [ a, a + b ], and round (rand (1,1) × b + a) represents a random integer generating [ a, a + b ].
For example, if a is 1, b is 9, and the random number obtained by the random number generation formula (1) is 003, the emergency with number 003 is selected as the target emergency and the emergency set S, and if the number set S' corresponding to the emergency set S may include {001, 002, 003, 004, 005}, 001 may refer to a flower sending event, 002 may refer to a throw-away event, 003 may refer to a microphone grabbing event, 004 may refer to a group event, and 005 may refer to a fighting event, the target emergency is a microphone grabbing event with number 003, and the values of a and b in the random number generation formula may be set by the player specifically according to the needs of the player, which is not particularly limited in this exemplary embodiment.
Optionally, the emergency may be set as the target emergency according to the storage address of the emergency in the memory in the emergency set. For example, the set of emergency events S is { send flower, throw thing, grab microphone, ask for group photo, ask for war }, the storage address of the send flower event is 0001, the storage address corresponding to the throw thing event is 0002, the storage address corresponding to the grab microphone event is 0003, the storage address corresponding to the ask for group photo event is 0004, the storage address corresponding to the ask for group photo event is 0005, when an emergency event is triggered for the first time, the emergency event with the smallest storage address is obtained from the storage unit as the target emergency event, that is, the first emergency event may be the send flower event with the storage address of 0001, and similarly, when an emergency event is triggered for the second time, the target emergency event may be the throw thing event with the storage address of 0001, and the size of the set of emergency events and the specific content of the emergency event are not particularly limited in this example.
In step S220, a sudden change music different from the current background music is played to replace the current background music, and the draggable control is displayed on the graphical user interface.
In an example embodiment of the present disclosure, the sudden change music may refer to music played to replace current background music when an emergency is triggered, may refer to sudden change music in response to the emergency, and may refer to music that is not related to the emergency, such as the emergency may be a throw, and the sudden change music may be a lesson ring tone music, and may refer to other music that is not related to both the current background music and the emergency, such as a music box music, if the emergency is a war event.
The current background music may be replaced by playing break music, such as when the target game character is singing a sweet song, the target emergency may be a flower delivery, the break music may be happy music, creating a sweet atmosphere for the player, and displaying a movable control holding fresh flowers for one person corresponding to the target emergency at the edge of the graphical user interface.
In one example embodiment of the present disclosure, after the abrupt change music different from the current background music is played to replace the current background music, a double change in the abrupt change music both acoustically and visually may be achieved by the steps in fig. 3:
referring to fig. 3, in step S310, a sudden change music distinguished from the current background music is played
And step S320, displaying the music fountain animation corresponding to the sudden change music based on the music fountain display area so as to replace the music fountain animation corresponding to the current background music.
The music fountain animation may refer to a special effect animation that changes based on a rhythm of current sudden change music, may refer to a columnar animation that increases and decreases with a sudden change in music rhythm, may refer to a broken line animation that increases and decreases with a sudden change in music rhythm, and may refer to an animation that moves from near to far with a music rhythm or a strong or weak water ripple, which is not particularly limited in this example embodiment.
The novel experience of the player can be improved by playing sudden change music different from the current background music in response to the instruction of the emergency, displaying music fountain animation corresponding to the sudden change music in the music fountain display area, and combining audio and video.
In an exemplary embodiment, FIG. 4 shows a schematic diagram of an early stage of a game process to which embodiments of the present disclosure may be applied. Before the emergency is triggered, the game characters 411, 412, 413, 414 and 415 are displayed on the graphical user interface in the terminal device 400 as shown in fig. 4(a), and the music fountain display area 420 displays a music fountain animation 431, a music fountain animation 432, a music fountain animation 433, a music fountain animation 434 and a music fountain animation 435 corresponding to the current background music according to the rhythm of the current background music.
When an emergency is triggered, the current music in the game is replaced with the break music, and at the same time, the music fountain animation 441, 442, 443, 444, 445 corresponding to the break music replacing the current background music are displayed in the music fountain display area 420 as shown in fig. 4(b), and the draggable control 421 corresponding to the emergency is generated.
In an example embodiment of the present disclosure, the draggable control may be displayed at a fade-in from an edge of the graphical user interface when the draggable control is displayed.
Specifically, different speed control selection modes can be selected through the speed spectrum setting interface, and control parameters are input according to the response prompt, so that the draggable control is displayed at the edge of the graphical user interface in a gradual-in mode.
With continued reference to fig. 2, in step S230, in response to the movement operation of moving the draggable control to the target game character, first attribute data corresponding to the target emergency is acquired, and second attribute data corresponding to the target game character is acquired.
In an example embodiment of the present disclosure, the first attribute data may refer to attribute data corresponding to a target emergency, may refer to color identification data, for example, the target emergency may be a flower sending, a color corresponding to the flower sending is pink, and color identification data 2 corresponding to the flower sending, and may also refer to health value data corresponding to the target emergency, for example, the target emergency is a war, the first attribute data may be a health value consumed by playing against a target game character of 100, of course, the first attribute data may also refer to other data related to the target emergency, for example, the target emergency is a war, the first attribute data may also be time of attack, and the like, which is not particularly limited in this example embodiment.
The second attribute data may refer to attribute data corresponding to a game character, may refer to color identification data corresponding to an event that the game character can cope with, for example, the game character can solve a violent event, the color corresponding to the violent event is black, the identification data corresponding to black is 10, may refer to health value data consumed by the game character to solve a target sudden event, for example, the target sudden event may be a fighting frame, and the physical strength value consumed by the game character to solve the violent event is 100, and of course, may refer to other attribute data related to the game character, which is not particularly limited in this exemplary embodiment.
The first attribute data parameter of the movable control corresponding to the target emergency can be acquired by responding to the movement operation of moving the draggable control to the target game role, and the first attribute data of the movable control corresponding to the target emergency is determined according to the first attribute data parameter. Furthermore, a second attribute data parameter corresponding to the target game role can be obtained by detecting the moving track of the draggable control, and second attribute data corresponding to the target game role is determined according to the second attribute data parameter.
In an example embodiment of the present disclosure, the first attribute data corresponding to the target emergency and the second attribute data corresponding to the target game character may be acquired through the steps in fig. 5:
step S510, acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to all game roles respectively;
step S520, displaying the first attribute data and all the second attribute data on the graphical user interface;
step S530, detecting the movement operation of moving the draggable control to the target game role;
step S540, in response to the moving operation, acquiring second attribute data corresponding to the target game character.
For example, the second attribute data corresponding to all game characters may refer to color identification data corresponding to an emergency event that each game character can handle, for example, five game characters in a game are respectively a game character 1, a game character 2, a game character 3, a game character 4 and a game character 5, the game character 1 can solve a violent event, the color corresponding to the violent event is black, the identification data corresponding to the black is 10, the game character 2 can solve a frigid event, the color corresponding to the frigid event is yellow, the identification data corresponding to the yellow is 8, the game character 3 can solve a skill spelling event, the color corresponding to the skill spelling event is green, the identification data corresponding to the green is 6, the game character 4 can solve a first aid event, the color corresponding to the emergency event is purple, the identification data corresponding to the purple is 4, the game role 5 can solve the music equipment maintenance event, the color corresponding to the music equipment maintenance event is blue, and the identification data corresponding to the blue is 2; the second attribute data corresponding to all the game characters may also refer to health value data corresponding to each game character, for example, the health value score of the game character 1 is 100, the health value score of the game character 2 is 70, the health value score of the game character 3 is 80, the health value score of the game character 4 is 90, and the health value score of the game character 5 is 60; the second attribute data corresponding to all the game characters may also refer to data related to the first attribute data of each game character and the target emergency, for example, the first attribute data of the target emergency is a challenge, and the second attribute data corresponding to all the game characters may be a challenge time corresponding to each game character, of course, the second attribute data may also refer to other attribute data of each game character that is not related to the target emergency, which is not particularly limited in this example embodiment.
The method comprises the steps that when a target emergency is triggered, a draggable control corresponding to the target emergency and first attribute data corresponding to the target emergency are displayed on a graphical user interface, meanwhile, second attribute data corresponding to all game roles in a game are displayed on the graphical user interface, so that a user can select a proper game role to solve the target emergency according to the displayed first attribute data and the displayed second attribute data, then the user executes a moving operation corresponding to the selection, and further second attribute data corresponding to the target game role and needing to be matched with the first attribute data can be obtained according to the moving operation.
The first attribute data corresponding to the target emergency and the second attribute data corresponding to all game roles are simultaneously displayed on the graphical user interface, so that a user can independently judge according to the displayed first attribute data and the second attribute data, and select a proper target game role to solve the target emergency, thereby improving the game participation of the user and the game interest.
FIG. 6 is a schematic diagram illustrating a draggable control corresponding to a target emergency is moved to an area where a target game character is located according to an embodiment of the disclosure; as shown in fig. 6, there are five game characters in the game, namely, a game character 611, a game character 612, a game character 613, a game character 614 and a game character 615, wherein the game character 611 can solve a violent incident, the color corresponding to the violent incident is black, the identification data corresponding to black is 10, the health score of the game character 611 is 100, the game character 612 can solve a frigid incident, the color corresponding to the frigid incident is yellow, the identification data corresponding to yellow is 8, the health score of the game character 612 is 70, the game character 613 solves a talent-puzzle incident, the color corresponding to the talent-puzzle incident is green, the identification data corresponding to green is 6, the health score consumed by the game character 613 is 80, the game character 614 can solve a rescue incident, the color corresponding to the rescue incident is purple, the identification data corresponding to purple is 4, the health score of the game character 614 is 90, the game character 615 is able to resolve a musical device maintenance event that corresponds to a color of blue, a color of blue corresponds to identification data of 2, and a health score of 60 for the game character 615.
If the first color identification data of the movable control corresponding to the target emergency is yellow and the first health value score is 50, and the identification data corresponding to yellow is 8, only the third color identification data of the game character 612 in all the game characters is yellow and the third health value score of the game character 612 is 70, the player determines that the game character 612 is the target game character in all the game characters by analyzing the first attribute data of the target emergency and the second attribute data of all the game characters, and moves the draggable control 621 corresponding to the target emergency to the area where the target game character 612 is located, and the terminal device obtains the second attribute data corresponding to the target game character 612 by detecting the movement track of the target emergency. Of course, the number of the game characters is more than 5, and the first attribute data corresponding to the target emergency and the second attribute data corresponding to each game character are not limited to the identification data and the data in this example, and may be specifically set by a user according to an actual situation, which is not particularly limited in this example embodiment.
In step S240, the first attribute data and the second attribute data are matched to obtain a matching result, so as to update the score data of the target game character according to the matching result.
In an example embodiment of the present disclosure, the matching process may refer to a process of performing a matching operation on the first attribute data and the second attribute data, for example, may refer to performing a simple addition or subtraction operation on the first attribute data and the second attribute data, may refer to performing an addition or subtraction operation with a weight value on the first attribute data and the second attribute data, may refer to performing an average value or a variance on the first attribute data and the second attribute data, and of course, may refer to performing another operation on the first attribute data and the second attribute data, for example, performing an exclusive or operation or an exclusive or operation on the color identification data of the first attribute and the color identification data of the second attribute, which is not particularly limited in this example embodiment.
The matching result may be a result obtained by performing effective operation on the first attribute data and the second attribute data, and may be a result obtained by performing weighted average processing on the matching data of the color identification data and the matching data of the health value data, or a result obtained by performing summation operation on the matching data of the color identification data and the matching data of the health value data and then performing simple average processing, or may be a matching result obtained by performing simple averaging or variance calculation, which is not particularly limited in this example embodiment.
The score data may be data obtained based on the matching result, may refer to a score obtained by a player running a pass, may refer to an affinity score obtained by a target game character after solving an emergency, and may also refer to other score data related to the game, which is not particularly limited in this embodiment.
The player can move the draggable control corresponding to the target emergency to the area where the target game role is located according to the first attribute data of the target emergency and the second attribute data corresponding to all game roles on the graphical user interface, the terminal device obtains the second attribute data of the target game role through detecting the motion track of the movable control, then responds to the matching instruction of the target emergency and the target game role, obtains the matching result of the target game role, and updates the score data of the target game role based on the matching result.
In an example embodiment of the present disclosure, after the first attribute data and the second attribute data are subjected to matching processing, a target game character matching result may be obtained through the steps in fig. 7:
step S710, determining a first matching score according to the first color identification data and the second color identification data;
step S720, determining a second matching score according to the first health value data and the second health value data;
step S730, determining a matching result corresponding to the first attribute data and the second attribute data based on the first matching score and the second matching score.
Wherein the first matching score may be score data obtained by performing matching processing on certain data in the first attribute data and data which can be matched with certain data in the first attribute data in the second attribute data, for example, the first matching score may refer to score data obtained by performing matching processing on the first color identification data and the second color identification data, the second matching score may be score data obtained by performing matching processing on another data in the first attribute data and data which can be matched with another data in the first attribute data in the second attribute data, for example, the first matching score may refer to score data obtained by performing matching processing on the first health value data and the second health value data, of course, the matching score obtained by matching other first attribute data and second attribute data may also be referred to, which is not limited in this embodiment.
For example, if the first color identification data of the target emergency is a, the first health score is n, the weight corresponding to the second color identification data of the target game character matched with the first color identification data of the target emergency is p, the second health score of the target game character is m, and the weight corresponding to the second health score of the target game character matched with the first health score of the target emergency is q, the matching result corresponding to the target game character after the target game character and the target emergency are confronted can be calculated according to the target game character score numerical calculation formula (2):
Figure BDA0002743418020000171
wherein, score may represent a matching result corresponding to the target game character.
Specifically, there are five game characters in the game, the first color identification data of the target emergency is 5 and the first health value score is 50, the first color identification data of the target game character is 5 and the first health value score is 70, if the weight of the color matching is 1 and the weight of the health value matching is 8, the final matching result calculated according to the target game character score numerical calculation formula (2) is 80.6, that is, the score data obtained by the target game character is 80.6.
In an example embodiment of the present disclosure, the confrontation of the target emergency and the target game character and the update of the score data of the target game character may be achieved through the steps in fig. 8 after the movement operation in response to the draggable control being moved to the target game character:
step S810, responding to the movement operation of moving the draggable control to the target game role
Step S820, obtaining a confrontation special effect animation corresponding to the target emergency and the target game role, and displaying the confrontation special effect animation on the graphical user interface;
step S830, displaying the matching result corresponding to the target game role on the graphical user interface, and updating the score data of the target game role according to the matching result.
The confrontation special effect animation may refer to a dynamic effect diagram presented by the target game role and the target emergency confrontation, for example, the target emergency is a go game, the confrontation special effect animation may be a go game dynamic effect diagram, or may refer to a special effect animation only related to the target emergency, for example, the target emergency is a go game which is automatically abandoned, the confrontation special effect animation may be a special effect animation in which the target emergency lifts hands down, or may refer to a special effect animation only related to the target game role, for example, the target emergency is a go game, or may be an animation in which the target game role shakes, or may refer to other animations unrelated to the target game role and the target emergency, for example, an animation in which a web page is appearing in a loading effort, which is not particularly limited in the present example.
Further, matching attribute parameters of the target game role and the target emergency can be acquired, a command of playing a special effect animation of the target game role for solving the target emergency is responded to trigger, the confrontation special effect animation is displayed on a graphical user interface, matching result data is acquired in the attribute data matching unit, score data corresponding to the target game role is acquired according to the matching result, whether a score data updating command is received or not is determined, if the score data updating command is received, score data corresponding to the target game role is called, historical score data corresponding to the target game role is updated according to the score data corresponding to the target game role, updated score data are acquired, and the updated score data are displayed on the graphical user interface of the player.
FIG. 9 illustrates a special effect animation diagram of a target incident versus a target game character to which embodiments of the present disclosure may be applied; as shown in fig. 9, the first color identification data of the movable control corresponding to the target emergency is yellow and the first health value score is 50, the player analyzes the first attribute data of the target emergency and the second attribute data of all game characters, determining that the game character 911 is a target game character in all the game characters, and moving the draggable control 921 corresponding to the target emergency to the area where the target game character 911 is located, the terminal device responding to the movement operation of moving the draggable control to the target game character, second attribute data corresponding to the target game role 911 is obtained by detecting the movement track of the target emergency, and matching the target emergency and the target game role according to the attribute data, and displaying the special effect animation 900 of the target emergency 921 and the target game role 911 in opposition on the graphical user interface.
In the process of moving the draggable widget to obtain the area where the target game role is located, when the terminal device is a computer, the player can move the draggable widget to the area corresponding to the target game role through a direction key on the graphical user interface, can also move the draggable widget to the area corresponding to the target game role by clicking and dragging a mouse, and can also move the draggable widget to the area corresponding to the target game role by pressing the direction key on the keyboard. When the terminal device is a mobile phone, the player may move the draggable widget to the area corresponding to the target game character through a direction key on the graphical user interface, or the player may move the draggable widget to the area corresponding to the target game character through a finger on the mobile phone, or of course, the draggable widget may be moved to the area corresponding to the target game character through other manners, which is not particularly limited in the embodiment of the present invention.
In an example embodiment of the present disclosure, first, a draggable control corresponding to a target emergency may be generated according to an instruction for triggering the emergency; secondly, sudden change music different from the current background music can be played to replace the current background music, a draggable control is displayed on the graphical user interface, and meanwhile, music fountain animation corresponding to the sudden change music can be displayed based on the music fountain display area to replace the music fountain animation corresponding to the current background music, so that dual experience of a user in vision and hearing is improved; then, first attribute data corresponding to the emergency and second attribute data corresponding to all game characters can be displayed on the graphical user interface, wherein the first attribute data comprise first color identification data and first health value score data, and the second attribute data corresponding to all game characters comprise third color identification data and third health value score data; based on the first attribute data and the second attribute data corresponding to all game roles, the player can autonomously select a proper target game role so as to accurately solve the target emergency, and the draggable control corresponding to the target emergency is moved to the area where the target game role is located; the terminal equipment responds to the movement operation of moving the draggable control to the target game role, and second attribute data corresponding to the target game role are obtained, wherein the second attribute data comprise second color identification data and second health value numerical data; then, matching the target emergency and the target game role, and displaying special effect animation of the target emergency and the target game role in opposition on a graphical user interface; and finally, updating the score data of the target game role according to the matching result.
For example, five game characters in the game are respectively a game character 1, a game character 2, a game character 3, a game character 4 and a game character 5, the game character 1 can solve a violent incident, the color corresponding to the violent incident is black, the identification data corresponding to the black is 10, the health value score of the game character 1 is 100, the game character 2 can solve a frigid cold field incident, the color corresponding to the cold field incident is yellow, the identification data corresponding to the yellow is 8, the health value score of the game character 2 is 70, the game character 3 solves an artistic match-up incident, the color corresponding to the artistic match-up incident is green, the identification data corresponding to the green is 6, the consumed health value score of the game character 3 is 80, the game character 4 can solve a first aid incident, the color corresponding to the first aid incident is purple, the identification data corresponding to the purple is 4, the health value score of the game character 4 is 90, the game character 5 is able to solve the musical instrument maintenance event corresponding to the color blue, the identification data corresponding to the color blue is 2, the health value score of the game character 5 is 60, the target emergency is a violent event identified with black, and the health value score of the target emergency is 50.
Specifically, the player can move the draggable control corresponding to the target emergency to the area where the game character 1 (i.e., the target game character) is located by observing and analyzing the first attribute data of the target emergency and the second attribute data of all game characters on the graphical user interface; the terminal equipment can respond to the movement operation that the player moves the draggable control to the target game role, and second attribute data corresponding to the target game role is obtained; then, based on the first color identification data of the target emergency and the second color identification data of the target game role, obtaining a color identification matching score; then, based on the first health value score of the target emergency and the second health value data corresponding to the target game role, a health value matching score is obtained; meanwhile, special effect animations of the target game role and the target emergency countermeasure are displayed on the graphical user interface. And then, declaring the result of the breakthrough of the target game character according to the time spent by the target game character in solving the emergency and the preset breakthrough time, and if the time spent by the target game character in solving the target emergency is less than the preset breakthrough time, updating and displaying the score data acquired by the target game character on a graphical user interface.
FIG. 10 schematically shows a flow diagram of game interaction according to an embodiment of the disclosure.
Referring to fig. 10, in step S1001, a target emergency is obtained, and a draggable control corresponding to the target emergency is generated;
step S1002, playing mutation music different from the current background music to replace the current background music, and displaying the draggable control on the graphical user interface;
step S1003, displaying the music fountain animation corresponding to the sudden change music to replace the music fountain animation corresponding to the current background music;
step S1004 of displaying first attribute data (the first attribute data including first color identification data and first health value score data) corresponding to the target emergency and second attribute data (the second attribute data including third color identification data and third health value score data) corresponding to all game characters;
step S1005, the player moves the draggable control to the area where the target game role is located;
step S1006, acquiring second attribute data corresponding to the target game role (the second attribute data includes second color identification data and second health value score data);
step S1007, determining whether the first color identification data of the target emergency is the same as the second color identification data of the target game character, executing step S1008 if the first color identification data of the target emergency is the same as the second color identification data of the target game character, otherwise executing step S1016;
step S1008, determining whether the first health value data of the target emergency is greater than the second health value data corresponding to the target game character, and executing step S1009 if it is determined that the first health value data of the target emergency is not greater than the second health value data corresponding to the target game character, otherwise executing step S1013;
step S1009, displaying the target game role and the confrontation special effect animation corresponding to the target emergency on the graphical user interface;
step S1010, determining whether the time spent by the target game character in resolving the target emergency is less than the preset time for passing through the gateway, if the time spent by the target game character in resolving the target emergency is less than the preset time for passing through the gateway, performing step S1011, otherwise performing step S1015;
step S1011, acquiring first data with higher weight and second data with higher weight corresponding to the target game role;
step S1012, updating and displaying score data corresponding to the target game character;
step S1013, acquiring first data with higher weight and second data with lower weight corresponding to the target game role;
step S1014, declaring the failure of the object game role in passing through the gateway;
step S1015, acquiring first data with lower weight and second data with higher weight corresponding to the target game character;
step S1016, determining whether the first health value score of the target emergency is smaller than the second health value data corresponding to the target game character, executing step S1017 when determining that the first health value score of the target emergency is not smaller than the second health value data corresponding to the target game character, otherwise executing step S1009;
and step S1017, announcing that the target game role fails to pass through the clearance.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In addition, in the present exemplary embodiment, a game interaction apparatus is also provided. Referring to fig. 11, the game interaction apparatus 1100 includes: an emergency trigger receiving module 1110, a sudden change music playing module 1120, an attribute data acquiring module 1130, and a score data updating module 1140. Wherein:
the emergency triggering module 1110 is configured to, in response to an instruction for triggering an emergency, obtain a target emergency and generate a draggable control corresponding to the target emergency;
the abrupt change music playing module 1120 is configured to play abrupt change music different from the current background music to replace the current background music, and display the draggable control on the graphical user interface;
the attribute data acquiring module 1130 is configured to, in response to a movement operation of moving the draggable control to a target game role, acquire first attribute data corresponding to the target emergency and acquire second attribute data corresponding to the target game role;
the score data updating module 1140 is configured to perform matching processing on the first attribute data and the second attribute data to obtain a matching result, and update the score data of the target game character according to the matching result.
In an exemplary embodiment of the present disclosure, based on the foregoing scheme, the emergency triggering module 1110 further includes an emergency triggering unit, and the emergency triggering unit is configured to:
responding to an instruction for triggering an emergency, and acquiring a preset emergency set;
and calculating a random number, and selecting a target emergency from the emergency set according to the random number.
In an exemplary embodiment of the present disclosure, based on the foregoing, the game interaction apparatus 1100 further includes a sudden change music display unit configured to:
and displaying the music fountain animation corresponding to the sudden change music based on the music fountain display area so as to replace the music fountain animation corresponding to the current background music.
In an exemplary embodiment of the disclosure, based on the foregoing scheme, the abrupt music playing module 1120 is further configured to: fading the draggable control from an edge of the graphical user interface.
In an exemplary embodiment of the disclosure, based on the foregoing solution, the attribute data obtaining module 1130 is further configured to:
acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to all game roles respectively;
displaying the first attribute data and all of the second attribute data on the graphical user interface;
detecting a movement operation of moving the draggable control to a target game character;
and responding to the moving operation, and acquiring second attribute data corresponding to the target game role.
In an exemplary embodiment of the present disclosure, based on the foregoing solution, the score data updating module 1140 further includes a property data matching unit, and the control property data matching unit is configured to:
determining a first matching score according to the first color identification data and the second color identification data;
determining a second matching score from the first health value data and the second health value data;
determining a matching result corresponding to the first attribute data and the second attribute data based on the first matching score and the second matching score.
In an exemplary embodiment of the present disclosure, based on the foregoing, the score data updating module 1140 further comprises a confrontation animation display unit configured to:
obtaining a confrontation special effect animation corresponding to the moving operation, and displaying the confrontation special effect animation on the graphical user interface;
after displaying the confrontation special effect animation, the score data update module 1140 is further configured to:
and displaying a matching result corresponding to the target game role on the graphical user interface, and updating the score data of the target game role according to the matching result.
The specific details of each module of the game interaction device have been described in detail in the corresponding game interaction method, and therefore, the details are not described herein again.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the game interaction method is also provided.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 1200 according to such an embodiment of the present disclosure is described below with reference to fig. 12. The electronic device 1200 shown in fig. 12 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 12, the electronic device 1200 is embodied in the form of a general purpose computing device. The components of the electronic device 1100 may include, but are not limited to: the at least one processing unit 1210, the at least one memory unit 1220, the bus 1230 connecting the various system components (including the memory unit 1220 and the processing unit 1210), and the display unit 1240.
Wherein the memory unit stores program code that is executable by the processing unit 1210 to cause the processing unit 1210 to perform steps according to various exemplary embodiments of the present disclosure as described in the above section "exemplary methods" of this specification. For example, the processing unit 1210 may perform the following as shown in fig. 2: step S210, responding to an instruction for triggering an emergency, acquiring a target emergency, and generating a draggable control corresponding to the target emergency; step S220, playing mutation music different from the current background music to replace the current background music, and displaying the draggable control on the graphical user interface; step S230, in response to a movement operation of moving the draggable control to a target game character, obtaining first attribute data corresponding to the target emergency and obtaining second attribute data corresponding to the target game character; step S240, performing matching processing on the first attribute data and the second attribute data to obtain a matching result, so as to update the score data of the target game character according to the matching result.
The storage unit 1220 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)1221 and/or a cache memory unit 1222, and may further include a read only memory unit (ROM) 1223.
Storage unit 1220 may also include a program/utility 1224 having a set (at least one) of program modules 1225, such program modules 1225 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1230 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1200 may also communicate with one or more external devices 1270 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable players to interact with the electronic device 1200, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 1250. Also, the electronic device 1200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 1260. As shown, the network adapter 1260 communicates with the other modules of the electronic device 1200 via the bus 1230. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the present disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
Referring to fig. 13, a program product 1300 for implementing the above game interaction method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the player-computing device, partly on the player device, as a stand-alone software package, partly on the player-computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the player computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
It should be noted that although several modules or units of the game interaction device are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A game interaction method is applied to a terminal device with a graphical user interface, and comprises the following steps:
responding to an instruction for triggering an emergency, acquiring a target emergency, and generating a draggable control corresponding to the target emergency;
playing abrupt change music different from the current background music to replace the current background music, and displaying the draggable control on the graphical user interface;
responding to the movement operation of moving the draggable control to a target game role, and acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to the target game role;
and matching the first attribute data and the second attribute data to obtain a matching result, and updating the score data of the target game role according to the matching result.
2. The game interaction method of claim 1, wherein the obtaining a target incident in response to the instruction triggering the incident comprises:
responding to an instruction for triggering an emergency, and acquiring a preset emergency set;
and calculating a random number, and selecting a target emergency from the emergency set according to the random number.
3. A game interaction method as recited in claim 1, wherein the graphical user interface includes a music fountain display area that, after the playing of the break away music from the current background music to replace the current background music, comprises:
and displaying the music fountain animation corresponding to the sudden change music based on the music fountain display area so as to replace the music fountain animation corresponding to the current background music.
4. A game interaction method as recited in claim 1, wherein said displaying the draggable control on the graphical user interface comprises:
fading the draggable control from an edge of the graphical user interface.
5. The game interaction method of claim 1, wherein, in response to a movement operation of moving the draggable control to a target game character, acquiring first attribute data corresponding to the target emergency and acquiring second attribute data corresponding to the target game character comprises:
acquiring first attribute data corresponding to the target emergency and second attribute data corresponding to all game roles respectively;
displaying the first attribute data and all of the second attribute data on the graphical user interface;
detecting a movement operation of moving the draggable control to a target game character;
and responding to the moving operation, and acquiring second attribute data corresponding to the target game role.
6. A game interaction method according to claim 1, wherein the first attribute data includes first color identification data and first health value data, and the second attribute data includes second color identification data and second health value data;
the matching the first attribute data and the second attribute data to obtain a matching result includes:
determining a first matching score according to the first color identification data and the second color identification data;
determining a second matching score from the first health value data and the second health value data;
determining a matching result corresponding to the first attribute data and the second attribute data based on the first matching score and the second matching score.
7. A game interaction method as recited in claim 1, wherein, after a move operation in response to moving the draggable control to a target game character, the method further comprises:
obtaining a confrontation special effect animation corresponding to the moving operation, and displaying the confrontation special effect animation on the graphical user interface;
after the confrontation special effect animation is displayed, updating score data of the target game role according to the matching result, wherein the updating comprises the following steps:
and displaying a matching result corresponding to the target game role on the graphical user interface, and updating the score data of the target game role according to the matching result.
8. A game interaction apparatus, comprising:
the emergency triggering module is used for responding to an instruction for triggering an emergency, acquiring a target emergency and generating a draggable control corresponding to the target emergency;
the sudden change music playing module is used for playing sudden change music different from the current background music to replace the current background music and displaying the draggable control on the graphical user interface;
the attribute data acquisition module is used for responding to the movement operation of moving the draggable control to the target game role, acquiring first attribute data corresponding to the target emergency and acquiring second attribute data corresponding to the target game role;
and the score data updating module is used for matching the first attribute data and the second attribute data to obtain a matching result, and updating the score data of the target game role according to the matching result.
9. An electronic device, comprising:
a processor; and
a memory having stored thereon computer readable instructions which, when executed by the processor, implement the game interaction method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements a game interaction method as claimed in any one of claims 1 to 7.
CN202011158125.9A 2020-10-26 2020-10-26 Game interaction method and device, electronic equipment and storage medium Active CN112221125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011158125.9A CN112221125B (en) 2020-10-26 2020-10-26 Game interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011158125.9A CN112221125B (en) 2020-10-26 2020-10-26 Game interaction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112221125A true CN112221125A (en) 2021-01-15
CN112221125B CN112221125B (en) 2024-07-16

Family

ID=74109429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011158125.9A Active CN112221125B (en) 2020-10-26 2020-10-26 Game interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112221125B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535031A (en) * 2021-08-03 2021-10-22 北京字跳网络技术有限公司 Page display method, device, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090209335A1 (en) * 2007-01-29 2009-08-20 Sony Online Entertainment Llc System and method of automatic entry creation for blogs, web pages or file-sharing sites based on game events
CN104582807A (en) * 2012-06-29 2015-04-29 玩族工作室 Improved configuration for nonlinear gameplay
US10147263B1 (en) * 2015-04-14 2018-12-04 Gamiker Inc. Skill-based wagering gaming systems and methods
CN109908574A (en) * 2019-02-22 2019-06-21 网易(杭州)网络有限公司 Game role control method, device, equipment and storage medium
CN110110233A (en) * 2019-05-09 2019-08-09 网易传媒科技(北京)有限公司 Information processing method, device, medium and calculating equipment
JP2019205823A (en) * 2019-04-08 2019-12-05 株式会社コロプラ Game program, game method, and information processor
CN111135579A (en) * 2019-12-25 2020-05-12 米哈游科技(上海)有限公司 Game software interaction method and device, terminal equipment and storage medium
WO2020134059A1 (en) * 2018-12-26 2020-07-02 网易(杭州)网络有限公司 Information processing method and apparatus, storage medium, and electronic device
CN111790148A (en) * 2019-08-01 2020-10-20 厦门雅基软件有限公司 Information interaction method and device in game scene and computer readable medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090209335A1 (en) * 2007-01-29 2009-08-20 Sony Online Entertainment Llc System and method of automatic entry creation for blogs, web pages or file-sharing sites based on game events
CN104582807A (en) * 2012-06-29 2015-04-29 玩族工作室 Improved configuration for nonlinear gameplay
US10147263B1 (en) * 2015-04-14 2018-12-04 Gamiker Inc. Skill-based wagering gaming systems and methods
WO2020134059A1 (en) * 2018-12-26 2020-07-02 网易(杭州)网络有限公司 Information processing method and apparatus, storage medium, and electronic device
CN109908574A (en) * 2019-02-22 2019-06-21 网易(杭州)网络有限公司 Game role control method, device, equipment and storage medium
JP2019205823A (en) * 2019-04-08 2019-12-05 株式会社コロプラ Game program, game method, and information processor
CN110110233A (en) * 2019-05-09 2019-08-09 网易传媒科技(北京)有限公司 Information processing method, device, medium and calculating equipment
CN111790148A (en) * 2019-08-01 2020-10-20 厦门雅基软件有限公司 Information interaction method and device in game scene and computer readable medium
CN111135579A (en) * 2019-12-25 2020-05-12 米哈游科技(上海)有限公司 Game software interaction method and device, terminal equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱英哲;: "手机游戏中移动操控交互方式设计简析", 数码设计, no. 09 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535031A (en) * 2021-08-03 2021-10-22 北京字跳网络技术有限公司 Page display method, device, equipment and medium

Also Published As

Publication number Publication date
CN112221125B (en) 2024-07-16

Similar Documents

Publication Publication Date Title
CN110772789B (en) Method, device, storage medium and terminal equipment for skill control in game
CN112933591A (en) Method and device for controlling game virtual character, storage medium and electronic equipment
US10389607B1 (en) Interactive agents for user engagement in an interactive environment
CN111862280A (en) Virtual role control method, system, medium, and electronic device
CN111773735A (en) Game team forming method and device, computer readable storage medium and electronic equipment
CN113350779A (en) Game virtual character action control method and device, storage medium and electronic equipment
JP2024059704A (en) Data model for uniform data platform
Safikhani et al. Work-in-Progress—Conceptual Framework for User Interface in Virtual Reality
CN112221125A (en) Game interaction method and device, electronic equipment and storage medium
CN114146426A (en) Control method and device for game in secret room, computer equipment and storage medium
WO2024026205A1 (en) Impaired player accessability with overlay logic providing haptic responses for in-game effects
WO2024026206A1 (en) User sentiment detection to identify user impairment during game play providing for automatic generation or modification of in-game effects
CN110152292B (en) Display control method and device for jumping characters in game, storage medium and electronic equipment
CN116570929A (en) Game agent determination, game running method, device, medium and electronic equipment
CN113769373A (en) Game operation sensitivity adjustment method and device, storage medium and electronic device
Figueiredo et al. An open-source framework for air guitar games
CN114028814A (en) Virtual building upgrading method and device, computer storage medium and electronic equipment
WO2021198628A1 (en) Interactions between characters in video games
KR20190127308A (en) Apparatus and method for predicting game user control
US20240037884A1 (en) Performance recording method and apparatus in virtual scenario, device, storage medium, and program product
JP7530496B1 (en) program
US20240335737A1 (en) Gesture translation with modification based on game context
US20240261678A1 (en) Text extraction to separate encoding of text and images for streaming during periods of low connectivity
CN116133728B (en) Content playback program and content playback apparatus
JP7525207B1 (en) Information processing system, information processing method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant