CN113975810A - Method, device, equipment and medium for controlling virtual character in game - Google Patents

Method, device, equipment and medium for controlling virtual character in game Download PDF

Info

Publication number
CN113975810A
CN113975810A CN202111256016.5A CN202111256016A CN113975810A CN 113975810 A CN113975810 A CN 113975810A CN 202111256016 A CN202111256016 A CN 202111256016A CN 113975810 A CN113975810 A CN 113975810A
Authority
CN
China
Prior art keywords
target
organization
pattern
game
target tissue
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
CN202111256016.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 CN202111256016.5A priority Critical patent/CN113975810A/en
Publication of CN113975810A publication Critical patent/CN113975810A/en
Pending legal-status Critical Current

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/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • 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

Abstract

The application provides a method, a device, equipment and a medium for controlling virtual characters in a game, wherein the method comprises the following steps: providing a drawing area on the graphical user interface by responding to joining operations for a target game organization; then, acquiring a target organization identifier corresponding to the target game organization; then, responding to the drawing operation which acts on the drawing area and aims at the target tissue identification, and determining a drawing pattern corresponding to the drawing operation; and if the similarity between the drawn pattern and the target organization identifier meets an organization joining condition, requesting the target virtual character to join the target game organization. The method and the system add the organization in a gesture interaction mode, enrich the interaction process and improve the game experience of the player.

Description

Method, device, equipment and medium for controlling virtual character in game
Technical Field
The present application relates to the field of game technologies, and in particular, to a method, an apparatus, a device, and a medium for controlling a virtual character in a game.
Background
At present, many Massive Multiplayer Online Role-Playing games (MMORPGs) are provided with organizational (formation, group, team) Playing methods. In order to increase body-gathering, players can enjoy more game play by joining the organizations in the game.
The traditional method for a player-controlled game character to join a game organization is to click and confirm to apply for joining through a popup interface. The man-machine interaction process is only one click, although the mode is simple to operate, the adding mode is single, the man-machine interaction content is too little, the participation sense of the player in the adding process is not strong, the flexibility is low, and more ceremonies cannot be brought to the player.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, a device, and a medium for controlling a virtual character in a game, which join an organization in a gesture interaction manner, enrich an interaction process, and improve game experience of a player.
In a first aspect, an embodiment of the present application provides a method for controlling a virtual character in a game, where the game includes a target virtual character and a target game organization; providing a graphical user interface through the terminal device; the method comprises the following steps:
responding to joining operation aiming at a target game organization, and providing a drawing area on the graphical user interface;
acquiring a target organization identifier corresponding to the target game organization;
responding to the drawing operation which acts on the drawing area and aims at the target tissue identification, and determining a drawing pattern corresponding to the drawing operation;
and if the similarity between the drawn pattern and the target organization identifier meets an organization joining condition, requesting the target virtual character to join the target game organization.
In a preferred embodiment of the present invention, the determining a drawing pattern corresponding to the drawing operation in response to the drawing operation on the drawing region and directed to the target tissue identifier includes:
responding to the drawing sub-operation which acts on the drawing area and aims at the target tissue identification, and displaying a drawing sub-pattern corresponding to the drawing sub-operation on the graphical user interface;
determining the drawing pattern according to the drawing sub-pattern.
In a preferred embodiment of the present invention, the determining the drawing pattern according to the drawing sub-pattern includes:
if the drawing completion condition is met, determining the drawing pattern according to the drawing sub-pattern; wherein the drawing completion condition includes at least one of:
detecting a touch operation aiming at a confirmation control;
the drawing time corresponding to the preset drawing operation is exhausted;
and detecting that the drawing operation is finished before the drawing time corresponding to the preset drawing operation is exhausted.
In a preferred embodiment of the present application, the method further includes:
and displaying the target tissue identification in the drawing area.
In a preferred technical solution of the present application, it is determined that the similarity between the drawing pattern and the target tissue identifier satisfies a tissue joining condition in the following manner:
and if the coverage rate of the drawing pattern and the target tissue identifier is greater than or equal to a preset coverage rate threshold value, the similarity of the drawing pattern and the target tissue identifier meets an tissue joining condition.
In a preferred technical solution of the present application, the displaying the target tissue identifier in the drawing area includes:
displaying the identification of the target tissue for feathering in the rendering area;
responding to the drawing operation which acts on the drawing area and aims at the target tissue identification, and determining a drawing pattern corresponding to the drawing operation, wherein the drawing operation comprises the following steps:
and responding to the drawing operation which is acted on the drawing area and aims at the target tissue identification, determining a drawing pattern corresponding to the drawing operation, and displaying a high-definition drawing pattern on the graphical user interface.
In a preferred embodiment of the present application, when a drawing area is provided on the graphical user interface, the method further includes:
and providing a drawing reference area on the graphical user interface, and displaying the target tissue identification in the drawing reference area.
In a preferred technical solution of the present application, it is determined that the similarity between the drawing pattern and the target tissue identifier satisfies a tissue joining condition in the following manner:
according to the size of the target tissue mark, scaling the drawn pattern in an equal proportion to obtain a scaled pattern;
determining the overall similarity of the zooming pattern and the target tissue mark according to the shape similarity and the area similarity of the zooming pattern and the target tissue mark;
and if the overall similarity is larger than or equal to a preset similarity threshold, determining that the similarity between the drawn pattern and the target tissue identifier meets a tissue joining condition.
In a preferred technical solution of the present application, when the graphical user interface provides a drawing area, the method further includes:
providing a prompt box in the drawing area;
the step of determining a drawing pattern corresponding to the drawing operation in response to the drawing operation on the drawing region and aiming at the target tissue identifier comprises the following steps:
and responding to the drawing operation which acts on the drawing area and aims at the target tissue identifier, and determining the drawing pattern which corresponds to the drawing operation and is positioned in the prompt box.
In a preferred embodiment of the present application, the drawing operation includes a drawing operation and an erasing operation, the drawing operation is a sliding operation from a first direction to a second direction, and the erasing operation is a sliding operation from the second direction to the first direction.
In a preferred embodiment of the present application, the method further includes:
in response to a cancellation draw operation for the target tissue identification, the graphical user interface cancels display of the drawing pattern.
In a preferred embodiment of the present application, after the target virtual character joins the target game organization, the method further includes:
responding to the use operation aiming at the target tissue identification, and displaying the target tissue identification in a preset area of the graphical user interface;
and responding to the quit operation aiming at the joined target organization, and displaying a quit result of the target virtual character quitting the target game organization on the graphical user interface.
In a second aspect, an embodiment of the present application provides a device for controlling a virtual character in a game, where the game includes a target virtual character and a target game organization; providing a graphical user interface through terminal equipment, and providing a drawing area on the graphical user interface; the device comprises:
the first display module is used for responding to joining operation aiming at a target game organization and providing a drawing area on the graphical user interface;
the acquisition module is used for acquiring a target organization identifier corresponding to the target game organization;
a determination module, configured to determine, in response to a drawing operation on the drawing region and for the target tissue identifier, a drawing pattern corresponding to the drawing operation;
and the request module is used for requesting the target virtual character to join the target game organization if the similarity between the drawn pattern and the target organization identifier meets an organization joining condition.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method for controlling a virtual character in a game when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to execute the steps of the method for controlling a virtual character in a game.
The technical scheme provided by the embodiment of the application can have the following beneficial effects: a control method of virtual characters in a game provides a drawing area on a graphical user interface by responding to joining operation aiming at a target game organization; then, acquiring a target organization identifier corresponding to the target game organization; then, responding to the drawing operation which acts on the drawing area and aims at the target tissue identification, and determining a drawing pattern corresponding to the drawing operation; and if the similarity between the drawn pattern and the target organization identifier meets an organization joining condition, requesting the target virtual character to join the target game organization. The method and the system add the organization in a gesture interaction mode, enrich the interaction process and improve the game experience of the player.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a flow chart illustrating a method for controlling a virtual character in a game according to an embodiment of the present application;
FIG. 2 illustrates an application scenario intent provided by an embodiment of the present application;
fig. 3 shows a schematic structural diagram of a mobile phone provided in an embodiment of the present application;
fig. 4 is a schematic view illustrating a usage scenario of a terminal device according to an embodiment of the present application;
FIG. 5a is a schematic diagram illustrating a mapping region displaying a target tissue identifier provided by an embodiment of the present application;
FIG. 5b is a schematic diagram illustrating a mapping reference region displaying a target tissue identifier according to an embodiment of the present application;
FIG. 5c is a schematic diagram of another embodiment of the present application showing a target tissue identifier in a rendered reference region;
FIG. 6a is a schematic diagram illustrating a drawing operation when a drawing region displays a target tissue identifier according to an embodiment of the present application;
FIG. 6b is a schematic diagram illustrating an erasing operation when the drawing area displays the target tissue identifier according to an embodiment of the present application;
fig. 6c is a schematic diagram illustrating that a prompt box is arranged in a drawing area when the drawing reference area displays a target tissue identifier according to the embodiment of the present application;
FIG. 6d is a schematic diagram illustrating the determination of a drawing pattern within a prompt box provided by an embodiment of the present application;
FIG. 7a is a schematic diagram illustrating a drawing operation when a drawing region displays a target tissue identifier according to an embodiment of the present application;
FIG. 7b is a schematic diagram illustrating an erasing operation when the drawing region displays the target tissue identifier according to an embodiment of the present application;
FIG. 7c is a schematic diagram illustrating another drawing operation when a drawing region displays a target tissue identifier according to an embodiment of the present application;
FIG. 7d is a schematic diagram illustrating an erasing operation when the drawing region displays the target tissue identifier according to an embodiment of the present application;
FIG. 8 is a schematic diagram illustrating a control device for a virtual character in a game according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Organizations (groups) are arranged in a plurality of existing role playing games, and players can join the organizations to experience playing methods related to the organizations. However, most of the existing methods for adding the organization in the game are to add the organization by clicking the adding control, so that the interaction process is short for a player, the ceremony is not generated, and the cognition on the organization identification is low.
The embodiment of the application provides a method, a device, equipment and a medium for controlling virtual characters in a game, and the following description is given through an embodiment.
Fig. 1 is a flowchart illustrating a method for controlling a virtual character in a game according to an embodiment of the present application, where the game includes a target virtual character and a target game organization; providing a graphical user interface through a terminal device, wherein the method comprises steps S101-S104; specifically, the method comprises the following steps:
s101, responding to joining operation aiming at a target game organization, and providing a drawing area on a graphical user interface;
s102, acquiring a target organization identifier corresponding to a target game organization;
s103, responding to the drawing operation which acts on the drawing area and aims at the target tissue identification, and determining a drawing pattern corresponding to the drawing operation;
and S104, requesting the target virtual character to join the target game organization if the similarity between the drawn pattern and the target organization identifier meets the organization joining condition.
The method and the system add the organization in a gesture interaction mode, enrich the interaction process and improve the game experience of the player.
The method for controlling the virtual character in the game in the embodiment of the application can be applied to terminal equipment (touch terminal). The touch terminal comprises a touch screen and a processor, wherein the touch screen is used for presenting a graphical user interface and receiving operation aiming at the graphical user interface.
In some embodiments, when the graphical user interface is edited by the touch terminal, the graphical user interface may be used to edit the content local to the touch terminal, and may also be used to edit the content of the peer server.
Fig. 2 is a schematic view of an application scenario provided in the embodiment of the present application. The application scenario may include a touch terminal (a possible embodiment, a mobile phone 102) and a server 101, and the touch terminal may communicate with the server 101 through a wired network or a wireless network. The touch terminal is used for operating a virtual desktop, and can interact with the server 101 through the virtual desktop to edit the content in the server 101.
The touch terminal of the present embodiment is described by taking the mobile phone 102 as an example. The handset 102 includes Radio Frequency (RF) circuitry 110, memory 120, a touch screen 130, a processor 140, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or may combine certain components, or split certain components, or arranged in different components. Those skilled in the art will appreciate that the touch screen 130 is part of a User Interface (UI) and that the handset 102 may include fewer than or the same User Interface as illustrated.
The RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 120 may be used to store software programs and modules, and the processor 140 executes various functional applications and data processing of the handset 102 by executing the software programs and modules stored in the memory 120. The memory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the stored data area may store data created from use of the handset 102, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The touch screen 130 may be used to display a graphical user interface and receive user operations with respect to the graphical user interface. A particular touch screen 130 may include a display panel and a touch panel. The Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may collect contact or non-contact operations of a user on or near the touch panel (a possible embodiment, as shown in fig. 4, operations of the user on or near the touch panel using any suitable object or accessory such as a finger 103, a stylus, etc.) and generate preset operation instructions. In addition, the touch panel may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction and gesture of a user, detects signals brought by touch operation and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into information that can be processed by the processor, sends the information to the processor 140, and receives and executes a command sent by the processor 140. In addition, the touch panel may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave, and the like, and may also be implemented by any technology developed in the future. Further, the touch panel may cover the display panel, a user may operate on or near the touch panel covered on the display panel according to a graphical user interface displayed by the display panel, the touch panel detects an operation thereon or nearby and transmits the operation to the processor 140 to determine a user input, and the processor 140 provides a corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be realized as two independent components or can be integrated.
The processor 140 is the control center of the handset 102, connects various parts of the entire handset using various interfaces and lines, and performs various functions and processes of the handset 102 by running or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the handset.
The handset 102 also includes a power supply (e.g., a battery) for powering the various components, which may be logically coupled to the processor 140 via a power management system to manage charging, discharging, and power consumption via the power management system.
Some embodiments of the present application are described in detail below. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
S101, responding to joining operation aiming at the target game organization, and providing a drawing area on the graphical user interface.
The game organization in this application is created by a first virtual character in the game, the first virtual character creating the organization is called the creator. When the creator establishes the organization, the creator needs to set the attribute information of the game organization. The attribute information comprises the name of the game organization, an organization identifier, a display special effect of the organization identifier, an adding requirement, an upper limit of the number of people and the like. When the creator sets the organization identifier, the organization identifier may be selected from an identifier library preset in the game, or may be created by itself. And the terminal equipment responds to the end of player creation and stores the game organization and the attribute information of the organization in one-to-one correspondence.
The gaming organization, after being created, may be joined by a second virtual character (joiner) in the game other than the creator.
The game organizations in the embodiment of the application are all organizations with target virtual characters meeting joining requirements. The player selects the organization which the player wants to join from all the game organizations which the target virtual character can join, namely the target game organization.
After the player selects the target game organization, the player performs an operation of joining the target game organization through the terminal device. The terminal device responds to the joining operation of the player aiming at the target game organization, and displays a drawing area on the graphical user interface, wherein the drawing area is used for the drawing operation of the player.
S102, acquiring a target organization identifier corresponding to the target game organization.
The terminal device acquires the target organization identifier of the target game organization while executing step S101.
The one-to-one correspondence of the name of the gaming organization to the organization identifier is determined at the time of creation by the gaming organization. After the player determines the target gaming organization, the terminal device determines the name of the target gaming organization. And the terminal equipment acquires the target organization identifier corresponding to the target game organization from the memory according to the name of the target game organization and the corresponding relation between the name of the game organization and the organization identifier.
In the embodiment of the application, after the terminal device acquires the target organization identifier corresponding to the target organization, the target organization identifier is displayed on the graphical user interface, so that a player can perform drawing operation in a drawing area according to the target organization identifier displayed on the graphical user interface.
When the terminal equipment displays the target organization identifier, two display modes are available: the first display mode is as follows: displaying the target tissue identification in a drawing area provided by a graphical user interface; the second display mode is as follows: the terminal equipment also provides a drawing reference area on the graphical user interface, and displays the target tissue identification in the drawing reference area.
Different display modes correspond to different display effects: when the terminal device displays the target tissue identifier in the first display mode, the player needs to observe the target tissue identifier from the drawing area and perform drawing operation in the drawing area. In order to facilitate the player to distinguish the drawing pattern corresponding to the drawing operation from the original target tissue identifier, in the embodiment of the present application, the target tissue identifier of the feathering process is displayed in the drawing area. And when the terminal equipment displays the target organization identifier in a second display mode, the target organization identifier is displayed in the drawing reference area, and the player draws the target organization identifier in the drawing area. Because the display position of the target organization mark and the drawing position of the target organization mark are separated in the display mode, the observation and the drawing of the player in the display mode cannot influence each other, and the terminal device displays the high-definition target organization mark when the drawing reference area displays the target organization mark.
In one possible embodiment, the target tissue is marked to be 'T' shaped, and the drawing area is a square frame; as shown in fig. 5a, the high definition target organization identifier is displayed in a left blank area (drawing reference area) of the graphical user interface, and the drawing area is displayed in a right position of the graphical user interface. As shown in fig. 5b, the drawing area overlaps with the target tissue identifier, and the feathered target tissue identifier and the drawing area are displayed at the middle position of the graphical user interface.
In one possible embodiment of the application, in order to improve the drawing efficiency of the player, the terminal device provides a drawing area generated according to the target organization identifier on the graphical user interface, and displays the target organization identifier in the drawing area. As shown in FIG. 5c, the position and shape of the drawing area are overlapped with the target game organization, and the feather processed target organization identification and the drawing area are displayed at the middle position of the graphical user interface.
S103, responding to the drawing operation which is acted on the drawing area and aims at the target tissue mark, and determining a drawing pattern corresponding to the drawing operation.
After the graphical user interface displays the target organization identifier, the player needs to draw the displayed target organization identifier in the drawing area.
The drawing operation in the embodiment of the present application includes a drawing operation that is a sliding operation in a first direction to a second direction, and an erasing operation that is a sliding operation in a second direction to the first direction.
When the player performs the drawing operation in the drawing area, the drawing sub-operation is performed at least once. The drawing sub-operation here is one sliding operation, and the drawing operation is all sliding operations performed by the player in the drawing area from the start to the end with respect to the target organization id.
Each time the player draws the sub-operation in the drawing area, the terminal equipment displays a drawing sub-pattern corresponding to the drawing sub-operation on a graphical user interface; and when the player performs the drawing sub-operation, if the drawing completion condition is met, determining the drawing pattern according to the drawing sub-pattern.
The drawing completion condition includes at least one of:
detecting a touch operation aiming at a confirmation control;
the drawing time corresponding to the preset drawing operation is exhausted;
and detecting that the drawing operation is finished before the drawing time corresponding to the preset drawing operation is exhausted.
When the player performs the drawing sub-operation, if the player performs the touch operation aiming at the confirmation control, the drawn pattern is confirmed by the representation player; or, a long-time drawing operation is performed, and the drawing time corresponding to the preset drawing operation is exhausted; and drawing operation of the player is carried out very quickly, and before the drawing time corresponding to the preset drawing operation is exhausted, the drawing operation of the player is finished; these cases all satisfy the rendering completion condition. And the terminal equipment responds to the drawing completion condition, arranges the drawing sub-patterns corresponding to all the drawing sub-operations performed by the player and determines the drawing sub-patterns as the drawing patterns corresponding to the drawing operations of the player.
In the embodiment of the application, the end of the drawing operation of the player includes that the player clicks the confirmation control, or the player draws the target organization identifier completely.
In the embodiment of the present application, determining a drawing pattern according to the drawing sub-pattern includes: and removing the overlapped part of each drawing sub-pattern according to the position and the shape of each drawing sub-pattern to obtain the drawing pattern.
In specific implementation, when drawing sub-patterns corresponding to multiple drawing sub-operations are overlapped, only the differences corresponding to different drawing sub-operations are displayed, namely when repeated regions exist in the multiple drawing operations, only the effect of drawing in the regions for the first time is displayed, and when repeated regions exist in the multiple erasing operations, only the effect of erasing in the regions for the first time is displayed.
In the embodiment of the application, in order to facilitate the distinction between the drawn region and the non-drawn region by the player, when the drawing region displays the feather-processed target organization identifier, and the player performs the drawing sub-operation in the drawing region, the terminal device displays the high-definition drawing sub-pattern corresponding to the drawing sub-operation on the graphical user interface.
In a possible embodiment, when the terminal device displays the target tissue identifier in the drawing reference area, as shown in fig. 6a, when the player draws the target tissue identifier in the drawing area, the graphical user interface displays a high-definition drawing sub-pattern corresponding to each drawing operation of the player; as shown in fig. 6b, if the player performs the erasing operation, the graphical user interface displays the drawing sub-pattern corresponding to the erasing operation of the player, i.e. the effect of restoring the area corresponding to the erasing operation of the player to the state without performing the drawing operation.
When the terminal device displays the target organization identifier in the drawing reference area, in order to improve the drawing efficiency of the player, the terminal device provides a prompt box (a dotted frame) generated according to the target organization identifier in the drawing area; as shown in fig. 6 c.
When determining the drawing pattern from the drawing sub-pattern, it is necessary to determine the drawing pattern located in the prompt box and corresponding to the drawing operation when determining the drawing pattern, for the case where the prompt box is displayed in the drawing region. As shown in fig. 6d, although the drawing pattern corresponding to the player drawing operation is "cross", a part of the drawing pattern is located outside the prompt box, and the drawing pattern corresponding to the determined player drawing operation is "line".
When the target organization identifier is displayed in the drawing area provided by the graphical user interface, as shown in fig. 7a, when the player draws the target organization in the drawing area, the graphical user interface displays a high-definition drawing sub-pattern corresponding to each drawing operation of the player; as shown in fig. 7b, if the player performs the erasing operation, the graphical user interface displays a drawing sub-pattern corresponding to the player erasing operation in a blurred manner, i.e., the effect of restoring the area corresponding to the player erasing operation to the area where the drawing operation is not performed is displayed.
Alternatively, as shown in fig. 7c, when the player draws the target organization in the drawing area, the graphical user interface displays a high-definition drawing sub-pattern corresponding to each drawing operation of the player; as shown in fig. 7d, if the player performs the erasing operation, the graphical user interface displays a drawing sub-pattern corresponding to the player erasing operation in a blurred manner, i.e., the effect of restoring the area corresponding to the player erasing operation to the area where the drawing operation is not performed is displayed.
When the player does not want to join the target game organization during or after the drawing operation is finished, the joining cancellation operation may be performed, and the graphical user interface cancels the display of the drawing pattern.
And S104, requesting the target virtual character to join the target game organization if the similarity between the drawn pattern and the target organization identifier meets the organization joining condition.
After determining a drawing pattern corresponding to the drawing operation by the player, calculating the similarity between the drawing pattern and the target organization identifier. And when the similarity of the drawing pattern and the target tissue mark is calculated, calculating the similarity degree of the drawing pattern and the target tissue mark and/or the area ratio of the drawing pattern and the target tissue mark.
And if the similarity between the drawing pattern and the target organization identifier is more than or equal to a preset similarity threshold value, the target virtual character meets the organization joining condition, namely the drawing operation of the player meets the joining condition.
The target virtual character sends a join request to the target game organization, and after the target game organization (the organization creator or a designated virtual character of the creator) passes the join request of the target virtual character, the graphical user interface displays a prompt message that the target virtual character successfully joins the target game organization. If the target game organization (the organization creator or the designated virtual character of the creator) fails to pass the joining request of the target virtual character, the graphical user interface displays that the target virtual character fails to join the target organization identifier, and the player can join by applying for joining again or reselecting other game organizations.
If the target tissue identification is displayed in a drawing area provided by the graphical user interface, calculating the similarity between the drawing pattern and the target tissue identification, namely calculating the coverage rate of the drawing pattern and the target tissue identification, and when the coverage rate of the drawing pattern and the target tissue identification is greater than or equal to a preset coverage rate threshold value, determining that the similarity between the drawing pattern and the target tissue identification meets the tissue joining condition.
If the target tissue identifier is displayed in the drawing reference area, and the similarity between the drawing pattern and the target tissue identifier is calculated, the size relationship between the drawing pattern and the target tissue identifier cannot be determined, and the similarity cannot be directly calculated. Therefore, the drawn pattern needs to be scaled in equal proportion according to the size of the target tissue identifier to obtain a scaled pattern; determining the overall similarity of the zooming pattern and the target tissue mark according to the shape similarity and the area similarity of the zooming pattern and the target tissue mark; and if the overall similarity is greater than or equal to a preset similarity threshold, determining that the similarity between the drawn pattern and the target tissue identifier meets the tissue adding condition.
After the target virtual character joins the target game organization, the player can display the target organization identifier in a preset area of the graphical user interface through using operation aiming at the target organization identifier. In one possible embodiment, the target game organization identifier is displayed on one side of the avatar of the target virtual character, the target game organization identifier is displayed at the front end of the name of the target virtual character, and the target game organization identifier and the display special effect corresponding to the target game organization identifier can also be displayed at the top of the target virtual character.
After the target virtual character joins the target game organization, if the player does not want to leave the target game organization for some reason, the player can perform quitting operation aiming at the joined target organization, at this time, the graphic user interface displays the prompt message of the target virtual character quitting the target game organization, and the target virtual character can not use the target organization identification after quitting the target game organization.
Fig. 8 is a schematic structural diagram illustrating a control apparatus for a virtual character in a game according to an embodiment of the present application, where the game includes a target virtual character and a target game organization; providing a graphical user interface through terminal equipment, and providing a drawing area on the graphical user interface; the device comprises:
the first display module is used for responding to joining operation aiming at a target game organization and providing a drawing area on the graphical user interface;
the acquisition module is used for acquiring a target organization identifier corresponding to the target game organization;
a determination module, configured to determine, in response to a drawing operation on the drawing region and for the target tissue identifier, a drawing pattern corresponding to the drawing operation;
and the request module is used for requesting the target virtual character to join the target game organization if the similarity between the drawn pattern and the target organization identifier meets an organization joining condition.
In a possible embodiment, the drawing operation includes at least one drawing sub-operation, and the determining, in response to the drawing operation on the drawing region for the target tissue identifier, a drawing pattern corresponding to the drawing operation includes:
responding to the drawing sub-operation which acts on the drawing area and aims at the target tissue identification, and displaying a drawing sub-pattern corresponding to the drawing sub-operation on the graphical user interface;
determining the drawing pattern according to the drawing sub-pattern.
In one possible embodiment, the determining the drawing pattern from the drawing sub-patterns comprises:
if the drawing completion condition is met, determining the drawing pattern according to the drawing sub-pattern; wherein the drawing completion condition includes at least one of:
detecting a touch operation aiming at a confirmation control;
the drawing time corresponding to the preset drawing operation is exhausted;
and detecting that the drawing operation is finished before the drawing time corresponding to the preset drawing operation is exhausted.
In a possible embodiment, the apparatus further comprises:
and the second display module is used for displaying the target tissue identification in the drawing area.
In one possible embodiment, it is determined that the similarity of the drawing pattern and the target tissue identifier satisfies the tissue join condition by:
and if the coverage rate of the drawing pattern and the target tissue identifier is greater than or equal to a preset coverage rate threshold value, the similarity of the drawing pattern and the target tissue identifier meets an tissue joining condition.
In a possible embodiment, the displaying the target tissue identifier in the drawing area includes:
displaying the identification of the target tissue for feathering in the rendering area;
responding to the drawing operation which acts on the drawing area and aims at the target tissue identification, and determining a drawing pattern corresponding to the drawing operation, wherein the drawing operation comprises the following steps:
and responding to the drawing operation which is acted on the drawing area and aims at the target tissue identification, determining a drawing pattern corresponding to the drawing operation, and displaying a high-definition drawing pattern on the graphical user interface.
In one possible embodiment, when a drawing area is provided in the graphical user interface, the apparatus further comprises:
and the third display module is used for providing a drawing reference area on the graphical user interface and displaying the target tissue identification in the drawing reference area.
In one possible embodiment, it is determined that the similarity of the drawing pattern and the target tissue identifier satisfies the tissue join condition by:
according to the size of the target tissue mark, scaling the drawn pattern in an equal proportion to obtain a scaled pattern;
determining the overall similarity of the zooming pattern and the target tissue mark according to the shape similarity and the area similarity of the zooming pattern and the target tissue mark;
and if the overall similarity is larger than or equal to a preset similarity threshold, determining that the similarity between the drawn pattern and the target tissue identifier meets a tissue joining condition.
In one possible embodiment, the third display module, when used to provide a drawing area in the graphical user interface, comprises:
providing a prompt box in the drawing area;
a determining module, configured to, when determining a drawing pattern corresponding to a drawing operation for the target tissue identifier in response to the drawing operation acting on the drawing region, include:
and responding to the drawing operation which acts on the drawing area and aims at the target tissue identifier, and determining the drawing pattern which corresponds to the drawing operation and is positioned in the prompt box.
In one possible embodiment, the drawing operation includes a drawing operation and an erasing operation, the drawing operation is at least one sliding operation along a first direction to a second direction, and the erasing operation is at least one sliding operation along the second direction to the first direction.
In a possible embodiment, the apparatus further comprises:
and the fourth display module is used for responding to the use operation aiming at the target tissue identifier and displaying the target tissue identifier in the preset area of the graphical user interface.
In a possible embodiment, the apparatus further comprises:
and the fifth display module is used for responding to the quitting operation aiming at the joined target organization and displaying the quitting result of the target virtual character quitting the target game organization on the graphical user interface.
As shown in fig. 9, an embodiment of the present application provides an electronic device for executing a method for controlling a virtual character in a game in the present application, where the device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for controlling a virtual character in a game when executing the computer program.
Specifically, the memory and the processor may be general-purpose memory and processor, which are not limited specifically, and when the processor runs the computer program stored in the memory, the control method of the virtual character in the game can be executed.
Corresponding to the method for controlling a virtual character in a game in the present application, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the method for controlling a virtual character in a game.
Specifically, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, and when a computer program on the storage medium is executed, the method for controlling the virtual character in the game can be executed.
In the embodiments provided in the present application, it should be understood that the disclosed system and method may be implemented in other ways. The system embodiments described above are merely illustrative, one possible embodiment, the division of the units, which is only a logical division, may be implemented in other ways, and another possible embodiment, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of systems or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
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 such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. A method for controlling virtual characters in a game is characterized in that the game comprises target virtual characters and target game organizations; providing a graphical user interface through the terminal device; the method comprises the following steps:
responding to joining operation aiming at a target game organization, and providing a drawing area on the graphical user interface;
acquiring a target organization identifier corresponding to the target game organization;
responding to the drawing operation which acts on the drawing area and aims at the target tissue identification, and determining a drawing pattern corresponding to the drawing operation;
and if the similarity between the drawn pattern and the target organization identifier meets an organization joining condition, requesting the target virtual character to join the target game organization.
2. The control method according to claim 1, wherein the drawing operation includes at least one drawing sub-operation, and the determining a drawing pattern corresponding to the drawing operation in response to the drawing operation on the drawing region for the target tissue identifier includes:
responding to the drawing sub-operation which acts on the drawing area and aims at the target tissue identification, and displaying a drawing sub-pattern corresponding to the drawing sub-operation on the graphical user interface;
determining the drawing pattern according to the drawing sub-pattern.
3. The control method according to claim 2, wherein the determining the drawing pattern from the drawing sub-patterns includes:
if the drawing completion condition is met, determining the drawing pattern according to the drawing sub-pattern; wherein the drawing completion condition includes at least one of:
detecting a touch operation aiming at a confirmation control;
the drawing time corresponding to the preset drawing operation is exhausted;
and detecting that the drawing operation is finished before the drawing time corresponding to the preset drawing operation is exhausted.
4. The control method according to claim 1, characterized in that the method further comprises:
and displaying the target tissue identification in the drawing area.
5. The control method according to claim 4, wherein it is determined that the similarity of the drawing pattern and the target tissue marker satisfies a tissue joining condition by:
and if the coverage rate of the drawing pattern and the target tissue identifier is greater than or equal to a preset coverage rate threshold value, the similarity of the drawing pattern and the target tissue identifier meets an tissue joining condition.
6. The method of claim 4, wherein displaying the target tissue identifier in the rendering region comprises:
displaying the identification of the target tissue for feathering in the rendering area;
responding to the drawing operation which acts on the drawing area and aims at the target tissue identification, and determining a drawing pattern corresponding to the drawing operation, wherein the drawing operation comprises the following steps:
and responding to the drawing operation which is acted on the drawing area and aims at the target tissue identification, determining a drawing pattern corresponding to the drawing operation, and displaying a high-definition drawing pattern on the graphical user interface.
7. The method of claim 1, wherein when providing a drawing area in the graphical user interface, the method further comprises:
and providing a drawing reference area on the graphical user interface, and displaying the target tissue identification in the drawing reference area.
8. The control method according to claim 7, wherein it is determined that the similarity of the drawing pattern and the target tissue marker satisfies a tissue joining condition by:
according to the size of the target tissue mark, scaling the drawn pattern in an equal proportion to obtain a scaled pattern;
determining the overall similarity of the zooming pattern and the target tissue mark according to the shape similarity and the area similarity of the zooming pattern and the target tissue mark;
and if the overall similarity is larger than or equal to a preset similarity threshold, determining that the similarity between the drawn pattern and the target tissue identifier meets a tissue joining condition.
9. The method of claim 7, wherein when the graphical user interface provides a drawing area, the method further comprises:
providing a prompt box in the drawing area;
the step of determining a drawing pattern corresponding to the drawing operation in response to the drawing operation on the drawing region and aiming at the target tissue identifier comprises the following steps:
and responding to the drawing operation which acts on the drawing area and aims at the target tissue identifier, and determining the drawing pattern which corresponds to the drawing operation and is positioned in the prompt box.
10. The control method according to claim 1, wherein the drawing operation includes a drawing operation and an erasing operation, the drawing operation is a sliding operation in a first direction to a second direction, and the erasing operation is a sliding operation in a second direction to a first direction.
11. The control method according to claim 1, characterized in that the method further comprises:
in response to a cancellation draw operation for the target tissue identification, the graphical user interface cancels display of the drawing pattern.
12. The method of claim 1, wherein after the target avatar joins a target gaming organization, the method further comprises:
responding to the use operation aiming at the target tissue identification, and displaying the target tissue identification in a preset area of the graphical user interface;
and responding to the quit operation aiming at the joined target organization, and displaying a quit result of the target virtual character quitting the target game organization on the graphical user interface.
13. A control device for virtual characters in a game is characterized in that the game comprises target virtual characters and target game organizations; providing a graphical user interface through terminal equipment, and providing a drawing area on the graphical user interface; the device comprises:
the first display module is used for responding to joining operation aiming at a target game organization and providing a drawing area on the graphical user interface;
the acquisition module is used for acquiring a target organization identifier corresponding to the target game organization;
a determination module, configured to determine, in response to a drawing operation on the drawing region and for the target tissue identifier, a drawing pattern corresponding to the drawing operation;
and the request module is used for requesting the target virtual character to join the target game organization if the similarity between the drawn pattern and the target organization identifier meets an organization joining condition.
14. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the steps of the method for controlling a virtual character in a game as claimed in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, performs the steps of the method for controlling a virtual character in a game according to any one of claims 1 to 12.
CN202111256016.5A 2021-10-27 2021-10-27 Method, device, equipment and medium for controlling virtual character in game Pending CN113975810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111256016.5A CN113975810A (en) 2021-10-27 2021-10-27 Method, device, equipment and medium for controlling virtual character in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111256016.5A CN113975810A (en) 2021-10-27 2021-10-27 Method, device, equipment and medium for controlling virtual character in game

Publications (1)

Publication Number Publication Date
CN113975810A true CN113975810A (en) 2022-01-28

Family

ID=79742561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111256016.5A Pending CN113975810A (en) 2021-10-27 2021-10-27 Method, device, equipment and medium for controlling virtual character in game

Country Status (1)

Country Link
CN (1) CN113975810A (en)

Similar Documents

Publication Publication Date Title
CN109275040B (en) Interaction method, device and system based on live game
CN111905370B (en) Method and device for controlling virtual character in game, electronic equipment and storage medium
CA3133915A1 (en) Virtual object control method and apparatus, device, and storage medium
CN103785170A (en) Game providing device
WO2022183707A1 (en) Interaction method and apparatus thereof
US11263651B2 (en) Reward giving method, computer-readable recording medium, server device, and game system
US11270087B2 (en) Object scanning method based on mobile terminal and mobile terminal
US7934168B2 (en) Storage medium storing program and information processing apparatus
CN111773670A (en) Marking method, device, equipment and storage medium in game
CN111803960B (en) Method and device for starting preset flow
CN113101671B (en) Group editing method and device for game and electronic terminal
CN113952709A (en) Game interaction method and device, storage medium and electronic equipment
CN111643903A (en) Control method and device of cloud game, electronic equipment and storage medium
CN113476825A (en) Role control method, role control device, equipment and medium in game
US20230338847A1 (en) Display method for virtual chessboard , terminal, storage medium and program product
CN113975810A (en) Method, device, equipment and medium for controlling virtual character in game
WO2023142616A1 (en) Item synthesis method and apparatus, storage medium and electronic device
CN114189731B (en) Feedback method, device, equipment and storage medium after giving virtual gift
US20180264354A1 (en) Program, control method, and information processing device
CN107831971A (en) Sectional drawing starts method and device, computer installation and computer-readable recording medium
CN113413595A (en) Information prompting method and device, electronic equipment and storage medium
CN113426115A (en) Game role display method and device and terminal
CN112274928A (en) Message sending method, device, computer equipment and medium
CN113350793B (en) Interface element setting method and device, electronic equipment and storage medium
CN114124875B (en) Voice message processing method, device, electronic equipment and medium

Legal Events

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