CN116617662A - Method and device for marking virtual characters in game and electronic equipment - Google Patents

Method and device for marking virtual characters in game and electronic equipment Download PDF

Info

Publication number
CN116617662A
CN116617662A CN202210128129.5A CN202210128129A CN116617662A CN 116617662 A CN116617662 A CN 116617662A CN 202210128129 A CN202210128129 A CN 202210128129A CN 116617662 A CN116617662 A CN 116617662A
Authority
CN
China
Prior art keywords
virtual character
game
target
user interface
graphical user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210128129.5A
Other languages
Chinese (zh)
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 CN202210128129.5A priority Critical patent/CN116617662A/en
Publication of CN116617662A publication Critical patent/CN116617662A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5372Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Optics & Photonics (AREA)
  • Human Computer Interaction (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for marking virtual characters in a game and electronic equipment. Wherein the method comprises the following steps: providing a mark control on the graphical user interface in response to a preset game event, wherein the mark control is used for prompting at least one second virtual character corresponding to the game event; responding to touch operation acted on the mark control, determining a second virtual role corresponding to the touch operation as a target virtual role, and generating a first mark corresponding to the target virtual role; the target virtual character and the first identification are displayed on the graphical user interface in response to the target virtual character appearing in the field of view of the first virtual character. In this way, when a preset game event occurs in the game process, no matter whether the target virtual character is in the visual field of the first virtual character or not, the terminal device can mark and display the specific target virtual character through the mark control, so that the experience of the game can be improved.

Description

Method and device for marking virtual characters in game and electronic equipment
Technical Field
The present invention relates to the field of electronic games, and in particular, to a method and an apparatus for marking a virtual character in a game, and an electronic device.
Background
In the existing tactical athletic game, a player can perform marking operation, namely, marks other virtual characters in some buildings, directions or visual fields, however, the marking operation can only mark other virtual characters in the visual fields, and can not mark specific virtual characters outside the visual fields, so that the marking mode is single, and the experience of playing the game by the player is poor.
Disclosure of Invention
Accordingly, the present invention is directed to a method, an apparatus, and an electronic device for marking a virtual character in a game, so as to mark a specific virtual character and improve the experience of the game.
In a first aspect, an embodiment of the present invention provides a method for marking a virtual character in a game, where a graphical user interface is provided by a terminal device, and content displayed by the graphical user interface includes a game scene and a first virtual character located in the game scene, where the method includes: providing a mark control on the graphical user interface in response to a preset game event, wherein the mark control is used for prompting at least one second virtual character corresponding to the game event; responding to touch operation acted on the mark control, determining a second virtual role corresponding to the touch operation as a target virtual role, and generating a first mark corresponding to the target virtual role; the target virtual character and the first identification are displayed on the graphical user interface in response to the target virtual character appearing in the field of view of the first virtual character.
In an optional embodiment of the present invention, the preset game event at least includes: a hit event acting on the first virtual character, or a hit event in a game.
In an optional embodiment of the invention, when the preset game event is a hit event acting on the first virtual character, the step of providing a mark control on the graphical user interface in response to the preset game event includes: and providing a mark control on the graphical user interface in response to the occurrence times of the hit events reaching a first threshold, wherein the mark control is used for prompting a second virtual character attacking the first virtual character.
In an optional embodiment of the invention, when the preset game event is a click event in the game, the step of providing a mark control on the graphical user interface in response to the preset game event includes: and in response to the number of the clicks corresponding to the clicking event reaching a second threshold, providing a mark control on the graphical user interface, wherein the mark control is used for prompting a second virtual character participating in the clicking.
In an optional embodiment of the present invention, the touch operation includes a first sub-operation and a second sub-operation; responding to the touch operation acted on the mark control, and determining that a second virtual character corresponding to the touch operation is a target virtual character comprises the following steps: in response to a first sub-operation acting on the markup control, displaying a character identifier for referring to a second virtual character corresponding to the game event in the graphical user interface; and responding to a second sub-operation which is continuous with the first sub-operation, determining at least one target role identifier from the displayed role identifiers according to the second sub-operation, and determining a second virtual role corresponding to the target role identifier as a target virtual role.
In an alternative embodiment of the present invention, the step of displaying, in the graphical user interface, a character identifier for referring to a second virtual character corresponding to the game event in response to the first sub-operation acting on the markup control includes: responding to the first sub-operation, and acquiring game data of a second virtual character corresponding to the game event; at least one target second virtual character is determined from the second virtual characters based on the game data, and character identifications for referring to the target second virtual characters are arranged and displayed in the graphical user interface.
In an alternative embodiment of the present invention, the game data includes a number of attacks by the second virtual character on the first virtual character, and/or a number of shots taken by the second virtual character in the game.
In an optional embodiment of the present invention, the step of generating the first identifier corresponding to the target virtual character includes: generating a first identifier corresponding to the target virtual character based on game data of the target virtual character; the game data of the target virtual character comprises the attack times of the target virtual character on the first virtual character and/or the hit number of the target virtual character in the game.
In an optional embodiment of the present invention, after the step of generating the first identifier corresponding to the target virtual role, the method further includes: if the game data of the target virtual character is adjusted, deleting or modifying the first identification based on the adjusted game data of the target virtual character; wherein the game data generation adjustment of the target virtual character includes: the target virtual character is clicked or the game rank of the target virtual character is exceeded by other virtual characters.
In an alternative embodiment of the present invention, the step of displaying the target virtual character and the first identifier on the graphical user interface includes: displaying a model of the target virtual character on the graphical user interface; the first identifier is displayed at a designated location of the model of the target avatar.
In an alternative embodiment of the present invention, after the step of displaying the target virtual character and the first identifier on the graphical user interface, the method further includes: and locking the view angle of the first virtual character into the target virtual character.
In an alternative embodiment of the present invention, after the step of displaying the target virtual character and the first identifier on the graphical user interface, the method further includes: a hint information is displayed on the graphical user interface that characterizes a view of the target virtual character in the first virtual character.
In a second aspect, an embodiment of the present invention further provides a marking device for a virtual character in a game, where a graphical user interface is provided by a terminal device, and a content displayed by the graphical user interface includes a game scene and a first virtual character located in the game scene, where the device includes: the second virtual character prompting module is used for responding to a preset game event, providing a mark control on the graphical user interface, and the mark control is used for prompting at least one second virtual character corresponding to the game event; the target virtual role determining module is used for responding to the touch operation acted on the mark control, determining a second virtual role corresponding to the touch operation as a target virtual role and generating a first mark corresponding to the target virtual role; and a target virtual character display module for displaying the target virtual character and the first identification on the graphical user interface in response to the target virtual character appearing in the field of view of the first virtual character.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, and the processor executes the computer executable instructions to implement the steps of the method for marking a virtual character in a game described above.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the steps of the method for marking a virtual character in a game described above.
The embodiment of the invention has the following beneficial effects:
according to the method, the device and the electronic equipment for marking the virtual roles in the game, in the process of game progress, the terminal equipment can respond to the preset game event, the corresponding marking control is provided on the graphical user interface, the marking control can be used for marking the target game roles corresponding to the game event, and the target virtual roles and the first identifications corresponding to the target virtual roles can be displayed on the graphical user interface. In this way, when a preset game event occurs in the game process, no matter whether the target virtual character is in the visual field of the first virtual character or not, the terminal device can mark and display the specific target virtual character through the mark control, so that the experience of the game can be improved.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the techniques of the disclosure.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of a graphical user interface according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for marking a virtual character in a game according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for marking virtual characters in a game according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another graphical user interface provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of a device for marking a virtual character in a game according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a marking device for virtual characters in another game according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In current tactical athletic games, the virtual character of the game is generally prepared in a combat readiness scene. The individual game characters in the combat readiness scene can strike each other but do not cause injury. For example, the combat readiness scene may be a square where virtual characters of the same game may appear, where players may control the virtual characters to strike each other, chat in voice, change fashion, etc. However, the player can simply mark some buildings, directions, etc. only during the course of the game after entering the battle scene, and cannot mark a specific virtual character in the battle preparation scene, and the game experience is low.
First, the present application is described with respect to nouns:
(1) Game scene
The gaming system may provide virtual game scenes that the application displays (or provides) when running on the terminal device or server. Optionally, the game scene is a simulated environment for the real world, or a semi-simulated semi-fictional virtual environment, or a purely fictional virtual environment. The game scene is any one of a two-dimensional virtual scene and a three-dimensional virtual scene, and the virtual environment can be sky, land, ocean and the like, wherein the land comprises environmental elements such as deserts, cities and the like. The game scene is a scene of complete game logic of virtual characters such as user control.
A virtual character refers to a dynamic object that can be controlled in a virtual scene. Alternatively, the dynamic object may be a virtual character, a virtual animal, or the like. Wherein the virtual character includes a cartoon character, a game character, and the like. The virtual Character is a Character that a Player controls through an input device, or is an artificial intelligence (Artificial Intelligence, AI) set in a virtual environment fight by training, or is a Non-Player Character (NPC) set in a virtual environment fight. Optionally, the avatar is a avatar playing an athletic activity in the virtual scene. Optionally, the number of virtual characters in the virtual scene fight is preset, or dynamically determined according to the number of clients joining the fight, which is not limited by the embodiment of the present application. In one possible implementation, a user can control a virtual character to move in the virtual scene, e.g., control the virtual character to run, jump, crawl, etc., as well as control the virtual character to fight other virtual characters using skills, virtual props, etc., provided by the application.
(2) Player character
A player character refers to a virtual character that may be manipulated by a player to be active in a gaming environment, which may also be referred to as a god character, hero character in some electronic games. The player character may be at least one of a virtual character, a virtual animal, a cartoon character, a virtual vehicle, or the like.
(3) Game interface
The game Interface is an Interface corresponding to an application program provided or displayed through a graphical User Interface, and the Interface includes a UI (User Interface) and a game screen for a player to interact. In alternative embodiments, game controls (e.g., skill controls, movement controls, functionality controls, etc.), indication identifiers (e.g., direction indication identifiers, character indication identifiers, etc.), information presentation areas (e.g., number of clicks, time of play, etc.), or game setting controls (e.g., system settings, stores, gold coins, etc.) may be included in the UI interface. In an alternative embodiment, the game screen is a display screen corresponding to the virtual scene displayed by the terminal device, and the game screen may include virtual characters such as a game Character, an NPC Character (Non-Player Character), an AI (Artificial Intelligence ) Character, etc. that execute game logic in the virtual scene.
Based on the above, the method, the device and the electronic equipment for marking the virtual roles in the game provided by the embodiment of the invention can be applied to equipment capable of realizing man-machine interaction such as mobile phones, tablet computers, computers and servers, and can be particularly suitable for scenes of mobile phone games and network games.
For the convenience of understanding the present embodiment, a method for marking a virtual character in a game disclosed in the present embodiment will be described in detail.
The method for marking the virtual character in the game in one embodiment of the present disclosure may be executed on a terminal device or a server. When the method for marking the virtual roles in the game runs on the server, the method can be realized and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an alternative embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud game. Taking cloud game as an example, 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 presentation main body are separated, the storage and running of the marking method of the virtual character in the game are completed on the cloud game server, and the function of the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device 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; but the terminal device for information processing is cloud game server of cloud. When playing the game, the 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, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In an alternative embodiment, taking a game as an example, the local terminal device stores a game program and is used to present a game screen. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. 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 by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
In a possible implementation manner, the embodiment of the invention provides a method for marking a virtual character in a game, and a graphical user interface is provided through terminal equipment, wherein the terminal equipment can be the aforementioned local terminal equipment or the aforementioned client equipment in the cloud interaction system. Providing a graphical user interface through the terminal device, the graphical user interface including at least a portion of the game scene and player characters and other virtual characters in the same pair; as in the previous embodiments, the player may control the player character to attack other virtual characters.
See a schematic diagram of one implementation environment shown in fig. 1. The implementation environment may include: the system comprises a first terminal device, a host and a second terminal device. The first terminal device and the second terminal device are respectively communicated with the server to realize data communication. In this embodiment, the first terminal device and the second terminal device are respectively installed with a client for executing the method for marking the virtual character in the game provided by the present application, and the host is a server for executing the method for marking the virtual character in the game provided by the present application. The first terminal device and the second terminal device can respectively communicate with the host through the client.
Taking a first terminal device as an example, the first terminal device establishes communication with a host through an operation client. In an alternative embodiment, the server establishes game play according to the game request from the client. The parameters of the game play may be determined according to the parameters in the received game request, for example, the parameters of the game play may include the number of people participating in the game play, the role level of the participating game play, and the like. And when the first terminal equipment receives the response of the server, displaying a virtual scene corresponding to the game play through a graphical user interface of the first terminal equipment. In an alternative embodiment, the server determines a target game for the client from the plurality of established game games according to the game request of the client, and when the first terminal device receives the response of the server, the virtual scene corresponding to the game is displayed through the graphical user interface of the first terminal device. The first terminal equipment is equipment controlled by a first user, the virtual character displayed in the graphical user interface of the first terminal equipment is a player character controlled by the first user, and the first user inputs an operation instruction through the graphical user interface so as to control the player character to execute corresponding operation in the virtual scene.
Taking a second terminal device as an example, the second terminal device establishes communication with the host through the operation client. In an alternative embodiment, the server establishes game play according to the game request from the client. The parameters of the game play may be determined according to the parameters in the received game request, for example, the parameters of the game play may include the number of people participating in the game play, the role level of the participating game play, and the like. And when the second terminal equipment receives the response of the server, displaying a virtual scene corresponding to the game play through a graphical user interface of the second terminal equipment. In an alternative embodiment, the server determines a target game for the client from the plurality of established game games according to the game request of the client, and when the second terminal device receives the response of the server, the virtual scene corresponding to the game is displayed through the graphical user interface of the second terminal device. The second terminal equipment is equipment controlled by a second user, the virtual character displayed in the graphical user interface of the second terminal equipment is a player character controlled by the second user, and the second user inputs an operation instruction through the graphical user interface so as to control the player character to execute corresponding operation in the virtual scene.
The server calculates data according to game data reported by the first terminal equipment and the second terminal equipment, and synchronizes the calculated game data to the first terminal equipment and the second terminal equipment, so that the first terminal equipment and the second terminal equipment control rendering of corresponding virtual scenes and/or virtual roles in the graphical user interface according to the synchronous data issued by the server.
In this embodiment, the virtual character controlled by the first terminal device and the virtual character controlled by the second terminal device are virtual characters in the same game pair. The virtual character controlled by the first terminal device and the virtual character controlled by the second terminal device may have the same character attribute, or may have different character attributes.
It should be noted that, the virtual characters in the current game play may include two or more virtual characters, and different virtual characters may correspond to different terminal devices, that is, in the current game play, there are two or more terminal devices that perform transmission and synchronization of game data with the host respectively.
The embodiment provides a method for marking virtual characters in a game, the game of the embodiment can be a multi-player fight game such as a tactical competition game, and the terminal equipment of the embodiment can be equipment with communication function and man-machine interaction function such as a mobile phone, a computer, a tablet personal computer, a game host computer and the like.
The terminal device in this embodiment provides a graphical user interface for a game, referring to a schematic diagram of one of the graphical user interfaces shown in fig. 2, and the graphical user interface is provided by the terminal device, where the content displayed by the graphical user interface includes a game scene and a first virtual character located in the game scene. The first character may be a virtual character controlled by the player through the terminal device.
In addition, the graphical user interface in this embodiment may also include other virtual roles in addition to the first virtual role. That is, assuming a game of 100 virtual characters in total, the graphical user interface may display other virtual characters within the field of view of the first virtual character controlled by the player. If the game is a first person game, the graphical user interface may not display a first virtual character controlled by the player himself; if the game is a third person game, the graphical user interface displays a first virtual character controlled by the player himself.
Based on the above description, referring to a flowchart of a method of marking a virtual character in a game shown in fig. 3, the method of marking a virtual character in a game includes the steps of:
in step S302, in response to a preset game event, a mark control is provided on the gui, where the mark control is used to prompt at least one second virtual character corresponding to the game event.
In this embodiment, a plurality of game events may be preset, and if a preset game event occurs during the game playing process, the terminal device may respond to the game event and provide a mark control corresponding to the game event on the graphical user interface. The preset event may be that the first virtual character controlled by the player is attacked, or that the virtual character is killed in the game.
The mark control is used for prompting at least one second virtual character corresponding to the game event, and the second virtual character can be a virtual character different from the first virtual character or the first virtual character. Taking here as an example that the second virtual character is a virtual character different from the first virtual character, for example: if the preset event is that the first virtual role controlled by the player is attacked, the second virtual role can be a virtual role attacking the first virtual role; if the preset event is an event in which a virtual character click occurs, the second virtual character may be a virtual character that clicks on other virtual characters.
Step S304, responding to the touch operation acted on the mark control, determining that the second virtual character corresponding to the touch operation is the target virtual character, and generating a first mark corresponding to the target virtual character.
The mark control is used for prompting at least one second virtual character corresponding to the game event, the player can select one or more second virtual characters through touch operation on the mark control, the selected second virtual character is used as a target virtual character, a first mark corresponding to the target virtual character is generated,
for example: the virtual character A and the virtual character B respectively kill other virtual characters, trigger a game event, and the terminal equipment can respond to the game event to provide mark controls on the graphical user interface, wherein the mark controls correspond to the virtual character A and the virtual character B. The player can select virtual character B as the target virtual character by a touch operation acting on the mark control.
In step S306, the target virtual character and the first identifier are displayed on the graphical user interface in response to the target virtual character appearing in the field of view of the first virtual character.
After determining the target virtual character, if the target virtual character appears in the visual field range of the first virtual character in the game process, the target virtual character and the first identifier can be displayed on the graphical user interface of the terminal equipment, so that the marking and displaying of the specific target virtual character are realized, and the experience of the user in the game process is improved. The first virtual character may be displayed in the field of view of the first virtual character, or may be displayed in a map or a small map of the game, which is not limited in this embodiment.
In the method for marking the virtual roles in the game, the terminal equipment can respond to the preset game event in the game process, the corresponding marking control is provided on the graphical user interface, the marking control can be used for marking the target game role corresponding to the game event, and the target virtual roles and the first identification corresponding to the target virtual roles can be displayed on the graphical user interface. In this way, when a preset game event occurs in the game process, no matter whether the target virtual character is in the visual field of the first virtual character or not, the terminal device can mark and display the specific target virtual character through the mark control, so that the experience of the game can be improved.
As shown in fig. 4, in an alternative embodiment, a flowchart of another method for marking a virtual character in a game, in this embodiment, specifically, in response to a touch operation applied to a marking control, a specific implementation step of determining that a second virtual character corresponding to the touch operation is a target virtual character is described, and the method for marking a virtual character in a game in an alternative embodiment includes the following steps:
in step S402, in response to a preset game event, a mark control is provided on the gui, where the mark control is used to prompt at least one second virtual character corresponding to the game event.
The game event in this embodiment may be set by a game developer or by a player. Specifically, the preset game event in this embodiment at least includes: a hit event acting on the first virtual character, or a hit event in a game. For example, if a first virtual character controlled by a player is attacked by another virtual character, then a hit event acting on the first virtual character is considered to occur; when another virtual character is hit by another virtual character, then a hit event in the game is considered to have occurred.
Wherein the hit event for the first virtual character is independent of whether the first virtual character is injured, for example: the part of the games are set in the game squares, and the virtual characters can interact in the game squares before the game starts, and also can attack each other, so that the interaction in the game squares can not cause injury. Therefore, if the first virtual character is attacked by other virtual characters in the game square, the first virtual character is not injured, but the first virtual character is considered to be hit at this time.
When the preset game event is a hit event acting on the first virtual character, a mark control can be provided on the graphical user interface through the following steps: and providing a mark control on the graphical user interface in response to the occurrence times of the hit events reaching a first threshold, wherein the mark control is used for prompting a second virtual character attacking the first virtual character.
The first threshold may be set by a game developer or by a player. The number of times of the hit event may be the number of times the designated virtual character attacks the first virtual character, or may be the sum of the number of times the plurality of virtual characters attack the first virtual character, which is not limited in this embodiment.
When the preset game event is a click event in the game, a mark control can be provided on the graphical user interface through the following steps: and in response to the number of the clicks corresponding to the clicking event reaching a second threshold, providing a mark control on the graphical user interface, wherein the mark control is used for prompting a second virtual character participating in the clicking.
The second threshold may be set by a game developer or by a player. The number of the occurrence of the killing event may be the total number of the killing in one game or the number of the killing of one virtual character, which is not limited in this embodiment.
Step S404, in response to the first sub-operation acting on the markup control, a character identifier for referring to a second virtual character corresponding to the game event is displayed in the graphical user interface.
The touch operation in the embodiment of the present invention may include a first sub-operation and a second sub-operation, and the player may display, in the graphical user interface, a character identifier for referring to a second virtual character corresponding to the game event through the first sub-operation, for example: the operation that the player clicks the mark control may be regarded as a first sub-operation, and after the player clicks the mark control, the terminal device may display, in the graphical user interface, a character mark of at least one second virtual character corresponding to the game event.
Step S406, responding to a second sub-operation continuous with the first sub-operation, determining at least one target character identifier from the displayed character identifiers according to the second sub-operation, and determining a second virtual character corresponding to the target character identifier as a target virtual character.
The second sub-operation is an operation continuous with the first sub-operation, and is used for selecting at least one from character identifications displayed in the graphical user interface, and the terminal device may take a second virtual character corresponding to the selected character identification as a target virtual character and generate a first identification corresponding to the target virtual character.
For example, the second virtual character A, B, C having clicked on another virtual character triggers a game event (a click-on event in the game), the terminal device may provide a mark control on the graphical user interface in response to which the player may perform a first sub-operation of clicking on the mark control, and the terminal device displays the character identification of the second virtual character A, B, C in the graphical user interface. The character identifier may be an avatar or a name, which is not limited in this embodiment.
After the terminal device displays the character identification of the second virtual character A, B, C, if the player wants to display the first identification of the second virtual character A, B, the player can perform a second sub-operation of clicking on the character identification of the second virtual character A, B, and the terminal device can determine the second virtual character A, B as the target virtual character and generate the first identification of the second virtual character A, B.
Specifically, in response to a first sub-operation acting on the mark control, the terminal device may display, in the graphical user interface, a character identifier for referring to a second virtual character corresponding to the game event: responding to the first sub-operation, and acquiring game data of a second virtual character corresponding to the game event; at least one target second virtual character is determined from the second virtual characters based on the game data, and character identifications for referring to the target second virtual characters are arranged and displayed in the graphical user interface.
The terminal device may determine and arrange and display the character identification of the target second virtual character in the graphical user interface according to the game data of the second virtual character. The game data may be obtained from a server or may be obtained from a terminal device of another virtual character, which is not limited in this embodiment.
The game data in this embodiment includes the number of attacks by the second virtual character on the first virtual character and/or the number of hits taken by the second virtual character in the game. If the preset game event is a hit event acting on the first virtual character, the game data can be the attack times of the second virtual character on the first virtual character; if the predetermined game event is a kill event in the game, the game data may be a number of kills taken by the second virtual character in the game.
Step S408, a first identifier corresponding to the target virtual character is generated.
The first identifier in this embodiment may be of various types, for example, the risk level of the target virtual character is different (the risk level may be determined by the number of the target virtual character clicks on other virtual characters), and the first identifier is different; or the target virtual character attacks the first virtual character for different times, and the first identifications are different.
For example, a first identification corresponding to a target avatar may be generated by: generating a first identifier corresponding to the target virtual character based on game data of the target virtual character; the game data of the target virtual character comprises the attack times of the target virtual character on the first virtual character and/or the hit number of the target virtual character in the game.
The number of attacks of the target virtual character on the first virtual character or the number of hits taken by the target virtual character in the game may be recorded in the game data, and therefore the first identifier corresponding to the target virtual character may be generated from the game data of the target virtual character.
Further, if the identified target avatar appears to be knocked out, or other player ranked beyond the marked target avatar, the first identification of the target avatar may be modified, for example: if the game data of the target virtual character is adjusted, deleting or modifying the first identification based on the adjusted game data of the target virtual character; wherein the game data generation adjustment of the target virtual character includes: the target virtual character is clicked or the game rank of the target virtual character is exceeded by other virtual characters.
If the identified target avatar is knocked out, or other player ranks beyond the marked target avatar, the game data for the target avatar may be adjusted. Thus, the terminal device may delete or modify the first identity according to the adjusted game data of the target virtual character, for example: the target virtual character is killed, and the first identifier can be deleted; the target avatar is overridden by the other player ranking, the first identification may be modified.
Specifically, in this embodiment, the designated target virtual roles may be marked, or the designated ranked target virtual roles may be marked, for example: the target virtual character named XXX may be marked or the virtual character whose number of clicks is first ranked may be marked as the target virtual character.
Wherein if the designated target avatar is marked, the target avatar is killed and the first identifier may be deleted or the re-marking prompted. If the target virtual character with the specified rank is marked, when the virtual character 1 which is originally in the rank is overridden by the other virtual characters 2, the other virtual characters 2 can serve as the target virtual characters at the moment, and the other virtual characters 2 are marked.
In step S410, the target virtual character and the first identity are displayed on the graphical user interface in response to the target virtual character appearing in the field of view of the first virtual character.
For the display mode of the first logo, the first logo may be displayed directly on the character model, for example: displaying a model of the target virtual character on the graphical user interface; the first identifier is displayed at a designated location of the model of the target avatar.
Referring to the schematic diagram of another graphical user interface shown in fig. 5, first identifications of target virtual characters X and Y may be displayed at designated positions (above heads) of the target virtual characters X and Y, respectively.
When a first virtual character controlled by a player encounters an identified target virtual character, the terminal device may automatically lock or prompt the player, for example: and locking the view angle of the first virtual character into the target virtual character. Alternatively, a hint information is displayed on the graphical user interface that characterizes the target avatar in terms of view of the first avatar.
The player can timely find the position of the target virtual character through the locked visual angle or the prompt information, so that the player can conveniently perform the next game operation, and the experience of the player is improved.
Corresponding to the above-mentioned method embodiment, the embodiment of the present invention provides a marking device for an in-game virtual character, a graphical user interface is provided by a terminal device, and contents displayed by the graphical user interface include a game scene and a first virtual character located in the game scene, as shown in fig. 6, a schematic structural diagram of the marking device for an in-game virtual character, where the marking device for an in-game virtual character includes:
the second virtual character prompting module 61 is configured to provide a marking control on the graphical user interface in response to a preset game event, where the marking control is configured to prompt at least one second virtual character corresponding to the game event;
the target virtual character determining module 62 is configured to determine, in response to a touch operation acting on the mark control, a second virtual character corresponding to the touch operation as a target virtual character, and generate a first identifier corresponding to the target virtual character;
the target virtual character display module 63 is configured to display the target virtual character and the first identifier on the graphical user interface in response to the target virtual character appearing in the field of view of the first virtual character.
In the marking device for the virtual roles in the game provided by the embodiment of the invention, in the process of game progress, the terminal equipment can respond to the preset game event, the corresponding marking control is provided on the graphical user interface, the marking control can be used for marking the target game role corresponding to the game event, and the target virtual role and the first identification corresponding to the target virtual role can be displayed on the graphical user interface. In this way, when a preset game event occurs in the game process, no matter whether the target virtual character is in the visual field of the first virtual character or not, the terminal device can mark and display the specific target virtual character through the mark control, so that the experience of the game can be improved.
The preset game event at least comprises: a hit event acting on the first virtual character, or a hit event in a game.
When the preset game event is a hit event acting on the first virtual character, the second virtual character prompting module is configured to provide a mark control on the graphical user interface in response to the occurrence number of the hit event reaching a first threshold, where the mark control is configured to prompt the second virtual character attacking the first virtual character.
When the preset game event is a killing event in the game, the second virtual character prompting module is used for responding to the fact that the number of the killing events corresponding to the killing events reaches a second threshold value, and providing a mark control on the graphical user interface, wherein the mark control is used for prompting a second virtual character participating in the killing.
The touch operation comprises a first sub-operation and a second sub-operation; the target virtual character determining module is used for responding to a first sub-operation acting on the mark control, and displaying a character identifier for referring to a second virtual character corresponding to the game event in the graphical user interface; and responding to a second sub-operation which is continuous with the first sub-operation, determining at least one target role identifier from the displayed role identifiers according to the second sub-operation, and determining a second virtual role corresponding to the target role identifier as a target virtual role.
The target virtual character determining module is used for responding to the first sub-operation and acquiring game data of a second virtual character corresponding to the game event; at least one target second virtual character is determined from the second virtual characters based on the game data, and character identifications for referring to the target second virtual characters are arranged and displayed in the graphical user interface.
The game data includes the number of attacks by the second virtual character on the first virtual character and/or the number of hits taken by the second virtual character in the game.
The target virtual character determining module is used for generating a first identifier corresponding to the target virtual character based on game data of the target virtual character; the game data of the target virtual character comprises the attack times of the target virtual character on the first virtual character and/or the hit number of the target virtual character in the game.
The target virtual character determining module is further configured to delete or modify the first identifier based on the game data of the adjusted target virtual character if the game data of the target virtual character is adjusted; wherein the game data generation adjustment of the target virtual character includes: the target virtual character is clicked or the game rank of the target virtual character is exceeded by other virtual characters.
The target virtual character display module is used for displaying a model of the target virtual character on the graphical user interface; the first identifier is displayed at a designated location of the model of the target avatar.
Referring to fig. 7, there is shown a schematic structural view of another in-game virtual character marking apparatus, which further includes: the view angle locking module 64 is connected to the target virtual character display module 63, and the view angle locking module 64 is configured to lock the view angle of the first virtual character to the target virtual character.
As shown in fig. 7, the marking device for a virtual character in the game further includes: the prompt information display module 65 is connected to the target virtual character display module 63, and the prompt information display module 65 is configured to display, on the graphical user interface, prompt information representing a visual field range of the target virtual character in the first virtual character.
The marking device for the virtual character in the game provided by the embodiment of the invention has the same technical characteristics as the marking method for the virtual character in the game provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The embodiment of the invention also provides electronic equipment, which is used for running the marking method of the virtual character in the game; referring to fig. 8, an electronic device includes a memory 100 and a processor 101, where the memory 100 is configured to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the method for marking a virtual character in a game as described above.
Further, the electronic device shown in fig. 8 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
The memory 100 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 103 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 102 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 8, but not only one bus or type of bus.
The processor 101 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 101 or instructions in the form of software. The processor 101 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 100 and the processor 101 reads information in the memory 100 and in combination with its hardware performs the steps of the method of the previous embodiments.
The embodiment of the invention also provides a computer readable storage medium, which stores computer executable instructions that, when being called and executed by a processor, cause the processor to implement the method for marking the virtual character in the game, and the specific implementation can be seen in the method embodiment and will not be repeated herein.
The method, the device and the computer program product of the electronic device for marking the virtual character in the game provided by the embodiment of the invention comprise a computer readable storage medium storing program codes, and instructions included in the program codes can be used for executing the method in the previous method embodiment, and specific implementation can be referred to the method embodiment and will not be repeated here.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and/or apparatus may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. A method for marking a virtual character in a game, wherein a graphical user interface is provided by a terminal device, and the content displayed by the graphical user interface includes a game scene and a first virtual character located in the game scene, the method comprising:
Providing a mark control on the graphical user interface in response to a preset game event, wherein the mark control is used for prompting at least one second virtual character corresponding to the game event;
responding to touch operation acted on the mark control, determining a second virtual role corresponding to the touch operation as a target virtual role, and generating a first mark corresponding to the target virtual role;
the target virtual character and the first identification are displayed on the graphical user interface in response to the target virtual character appearing in the field of view of the first virtual character.
2. The method of claim 1, wherein the predetermined game event comprises at least:
a hit event acting on the first virtual character, or a hit event in the game.
3. The method of claim 2, wherein when the predetermined game event is a hit event acting on the first virtual character, the step of providing a mark control on the graphical user interface in response to the predetermined game event comprises:
and responding to the occurrence times of the hit events reaching a first threshold, and providing a mark control on the graphical user interface, wherein the mark control is used for prompting a second virtual character attacking the first virtual character.
4. The method of claim 2, wherein when the predetermined game event is a click event in the game, the step of providing a mark control on the graphical user interface in response to the predetermined game event comprises:
and responding to the killing quantity corresponding to the killing event reaching a second threshold value, and providing a mark control on the graphical user interface, wherein the mark control is used for prompting a second virtual character participating in killing.
5. The method of any of claims 1-4, wherein the touch operation comprises a first sub-operation and a second sub-operation;
the step of determining that the second virtual character corresponding to the touch operation is the target virtual character according to the touch operation acted on the mark control comprises the following steps:
responsive to a first sub-operation acting on the markup control, displaying a character identity in the graphical user interface for referring to a second virtual character corresponding to the game event;
and responding to a second sub-operation which is continuous with the first sub-operation, determining at least one target role identifier from the displayed role identifiers according to the second sub-operation, and determining a second virtual role corresponding to the target role identifier as the target virtual role.
6. The method of claim 5, wherein the step of displaying in the graphical user interface a character identifier for referring to a second virtual character corresponding to the game event in response to a first sub-operation acting on the markup control comprises:
acquiring game data of a second virtual character corresponding to the game event in response to the first sub-operation;
and determining at least one target second virtual role from the second virtual roles based on the game data, and displaying the role identifications for referring to the target second virtual roles in an array manner in the graphical user interface.
7. The method of claim 6, wherein the game data includes a number of attacks by the second virtual character on the first virtual character and/or a number of shots taken by the second virtual character in a game.
8. The method of claim 1, wherein the step of generating a first identification corresponding to the target avatar comprises:
generating a first identifier corresponding to the target virtual character based on game data of the target virtual character; the game data of the target virtual character comprises the attack times of the target virtual character on the first virtual character and/or the hit number of the target virtual character in a game.
9. The method of claim 8, wherein after the step of generating the first identifier corresponding to the target avatar, the method further comprises:
deleting or modifying the first identifier based on the adjusted game data of the target virtual character if the game data of the target virtual character is adjusted; wherein the game data generation adjustment of the target virtual character includes: the target virtual character is clicked or the game rank of the target virtual character is exceeded by other virtual characters.
10. The method of claim 1, wherein the step of displaying the target avatar and the first identifier on the graphical user interface comprises:
displaying a model of the target virtual character on the graphical user interface;
the first identifier is displayed at a designated location of the model of the target avatar.
11. The method of claim 1, wherein after the step of displaying the target avatar and the first identifier on the graphical user interface, the method further comprises:
and locking the view angle of the first virtual role into the target virtual role.
12. The method of claim 1, wherein after the step of displaying the target avatar and the first identifier on the graphical user interface, the method further comprises:
and displaying prompt information representing the visual field range of the target virtual character in the first virtual character on the graphical user interface.
13. A marking apparatus for a virtual character in a game, wherein a graphical user interface is provided by a terminal device, the graphical user interface displaying contents including a game scene and a first virtual character located in the game scene, the apparatus comprising:
the second virtual character prompting module is used for responding to a preset game event, providing a mark control on the graphical user interface, and prompting at least one second virtual character corresponding to the game event by the mark control;
the target virtual role determining module is used for responding to touch operation acted on the mark control, determining a second virtual role corresponding to the touch operation as a target virtual role and generating a first identifier corresponding to the target virtual role;
and a target virtual character display module for displaying the target virtual character and the first identification on the graphical user interface in response to the target virtual character appearing in the field of view of the first virtual character.
14. An electronic device comprising a processor and a memory, the memory storing computer executable instructions executable by the processor to perform the steps of the method of marking a virtual character in a game as claimed in any one of claims 1 to 12.
15. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to perform the steps of the method of marking a virtual character in a game as claimed in any one of claims 1 to 12.
CN202210128129.5A 2022-02-11 2022-02-11 Method and device for marking virtual characters in game and electronic equipment Pending CN116617662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210128129.5A CN116617662A (en) 2022-02-11 2022-02-11 Method and device for marking virtual characters in game and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210128129.5A CN116617662A (en) 2022-02-11 2022-02-11 Method and device for marking virtual characters in game and electronic equipment

Publications (1)

Publication Number Publication Date
CN116617662A true CN116617662A (en) 2023-08-22

Family

ID=87608607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210128129.5A Pending CN116617662A (en) 2022-02-11 2022-02-11 Method and device for marking virtual characters in game and electronic equipment

Country Status (1)

Country Link
CN (1) CN116617662A (en)

Similar Documents

Publication Publication Date Title
WO2022151946A1 (en) Virtual character control method and apparatus, and electronic device, computer-readable storage medium and computer program product
CN108211358B (en) Information display method and device, storage medium and electronic device
US8808090B2 (en) Game device, game control method, program, recording medium and game management device
JP7390400B2 (en) Virtual object control method, device, terminal and computer program thereof
CN113244603A (en) Information processing method and device and terminal equipment
TWI821779B (en) Virtual object controlling method, device, computer apparatus, and storage medium
US20240198212A1 (en) Method for attacking target in game and electronic device
CN113244608A (en) Control method and device of virtual object and electronic equipment
JP2023126292A (en) Information display method, device, instrument, and program
CN111298430A (en) Virtual item control method and device, storage medium and electronic device
CN111905369A (en) Display control method and device in game and electronic equipment
JP2022552752A (en) Screen display method and device for virtual environment, and computer device and program
JP2023164687A (en) Virtual object control method and apparatus, and computer device and storage medium
CN116251349A (en) Method and device for prompting target position in game and electronic equipment
CN116617662A (en) Method and device for marking virtual characters in game and electronic equipment
CN116920374A (en) Virtual object display method and device, storage medium and electronic equipment
KR101400536B1 (en) Method and server of displaying impact responses between characters in on-line game service, and on-line game system with impact response display function
CN111841003A (en) Information processing method and device in game and electronic equipment
CN115554699A (en) In-game information processing method and device and electronic equipment
CN116474362A (en) Method and device for controlling virtual character in game and electronic equipment
CN117797468A (en) Method and device for prompting materials in game and electronic equipment
KR101400631B1 (en) Method and server of realizing combo skills in on-line game service, and on-line game system with combo skill realization function
CN115779412A (en) Game special effect setting method and device and electronic equipment
CN118477315A (en) Method and device for controlling virtual characters in game, electronic equipment and storage medium
CN117797475A (en) Point location marking method and device in game and electronic equipment

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