Virtual character control method, device, equipment and program

The virtual character control method and device provide a customizable standing position controller for virtual scenes, addressing the limitations of fixed cloth stations by enabling flexible and uniform adjustment of multiple characters' positions, enhancing user autonomy and game strategy.

JP2024541185AActive Publication Date: 2024-11-08TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024520846
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-11-18
Filing Date
2022-10-17
Publication Date
2024-11-08
Estimated Expiration
2042-10-17

AI Technical Summary

Technical Problem

Existing methods for adjusting the standing position of virtual characters in virtual scenes, such as autochess games, are limited by fixed cloth station types, restricting flexibility in position adjustment.

Method used

A virtual character control method and device that allows users to customize the standing position of virtual characters through a standing position controller, which includes sub-controllers for selection, mirroring, and strategic placement, enabling flexible and uniform adjustment of multiple characters.

Benefits of technology

Enhances flexibility and efficiency in adjusting the standing positions of virtual characters by allowing users to customize and uniformly adjust the positions of multiple characters using a standing position control controller, improving user autonomy and game strategy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024541185000001_ABST
    Figure 2024541185000001_ABST
Patent Text Reader

Abstract

A method, device, equipment, storage medium, and program product for controlling a virtual character, which relate to the field of virtual scene technology. The method includes a step of displaying (510) a scene screen of a virtual scene, the virtual scene including at least one virtual character, a step of displaying (520) a standing position control controller superimposed on the upper layer of the scene screen, and a step of adjusting (530) a standing position of a target virtual character based on a target adjustment method in response to receiving a trigger operation on the standing position control controller, the target virtual character belonging to at least one virtual character being determined based on a user's customization operation. The above method allows the standing positions of multiple virtual characters to be collectively adjusted by the standing position control controller when adjusting the standing positions of the virtual characters in the virtual scene, and at the same time ensures flexibility in adjusting the standing positions of the virtual characters in the virtual scene.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to a Chinese patent application filed on November 18, 2021, bearing application number 202111372101.8 and titled "Virtual character control method, device, equipment, storage medium, and product," the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD The embodiments of the present application relate to the field of virtual scene technology, and in particular to a virtual character control method, device, apparatus, storage medium and program product. [Background technology]

[0003] In applications with an Auto Chess-like virtual scene, the positions of the virtual characters in the virtual scene are usually adjustable to improve the flexibility of the virtual game.

[0004] In related technologies, in order to realize rapid change of the positions of multiple virtual characters, a location switching button is usually set, and a user can realize a "one-click shift" of the virtual characters in the virtual scene by using the location switching button. Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the method of realizing the "one-click shift" by setting the above-mentioned station switching button, the switchable station types are fixed, and therefore the flexibility in adjusting the standing position of the virtual character in the virtual scene is poor. [Means for solving the problem]

[0006] The embodiments of the present application provide a method, device, apparatus, storage medium and program product for controlling a virtual character, which can improve the flexibility of adjusting the position of a virtual character in a virtual scene.

[0007] In one aspect, a method for controlling a virtual character is provided, the method comprising: displaying a scene view of a virtual scene, the virtual scene including at least one virtual character; displaying a standing position controller on the upper layer of the scene screen; In response to receiving a trigger operation on the standing position control controller, a step of adjusting a standing position of a target virtual character based on a target adjustment method, at least one of the target adjustment method and the target virtual character being determined based on a user's customization operation, and the target virtual character belonging to the at least one virtual character.

[0008] In another aspect, a virtual character control device is provided, the device comprising: a screen display module for displaying a scene screen of a virtual scene, the virtual scene including at least one virtual character; a controller display module for displaying a position controller on the upper layer of the scene screen; and a standing position adjustment module for adjusting the standing position of a target virtual character based on a target adjustment scheme in response to receiving a trigger operation on the standing position control controller, wherein at least one of the target adjustment scheme and the target virtual character is determined based on a user's customization operation, and the target virtual character belongs to the at least one virtual character.

[0009] In a possible embodiment, the position control controller includes at least two sub-controllers, In response to receiving a trigger operation on a target sub-controller, the standing position adjustment module adjusts the standing position of the target virtual character based on an adjustment method corresponding to the target sub-controller, and the target sub-controller is any one of the at least two sub-controllers.

[0010] In a possible embodiment, the position adjustment module comprises: a state adjustment submodule for adjusting a selection state of the at least one virtual character to a selectable state in response to receiving a trigger operation on a first sub-controller of the at least two sub-controllers; a character acquisition submodule for acquiring, in response to receiving a character selection operation, a virtual character selected by the character selection operation as the target virtual prop character; and a standing position switching submodule for switching the standing position of the target virtual character from a first standing position to a second standing position in response to the completion of the character selection operation, such that the standing positions of the target virtual character before and after the standing position switching are symmetrical along a target axis.

[0011] In a possible embodiment, the character selection operation includes at least one of a continuous slide operation on the scene screen, a range selection operation on the scene screen, or a point selection operation on a virtual character.

[0012] In a possible embodiment, in response to the character selection operation being a continuous sliding operation on the scene screen, a virtual character selected by the continuous sliding operation among the at least one virtual character is set as the target virtual character; in response to the character selection operation being a range selection operation on the scene screen, a virtual character among the at least one virtual character that is within a range determined by the range selection operation is set as the target virtual character; In response to the character selection operation being a point selection operation for a virtual character, the virtual character selected by the point selection operation among the at least one virtual character is set as the target virtual character.

[0013] In a possible embodiment, in response to the character selection operation being a continuous sliding operation on the scene screen, the position switching sub-module switches the position of the target virtual character from a first position to a second position in response to the continuous sliding operation on the scene screen being interrupted.

[0014] In a possible embodiment, the device further comprises: a decision controller display module for displaying a decision controller in response to receiving a trigger operation on the first sub-controller; Including, The standing position switching sub-module switches the standing position of the target virtual character from a first standing position to a second standing position in response to receiving a trigger operation by the decision controller.

[0015] In possible embodiments, the target axis includes either a central axis of the scene screen, or a central axis relative to the target virtual character, or any arbitrary axis determined based on a user's drawing operations.

[0016] In a possible embodiment, the position adjustment module comprises: an area display submodule for displaying a location display area in which at least one location location station is displayed in response to receiving a trigger operation on a second subcontroller of the at least two subcontrollers, the location location station being the location location station determined based on the location station setting of a user; a position adjustment submodule for adjusting a position of the target virtual character based on a target position location in response to receiving a selection operation for the target position location, the target position location being one of at least one of the position location locations; Includes.

[0017] In a possible embodiment, the standing position adjustment sub-module: an attack range acquisition unit for acquiring an attack range of the target virtual character; The position adjustment unit adjusts the position of the target virtual character based on the attack range of the target virtual character and the location of the target position.

[0018] In a possible embodiment, the position adjustment submodule adjusts the position of the target virtual character to a position at the target position location in accordance with an order of the target positions in response to the number of positions corresponding to the target position location being greater than the number of the target virtual characters.

[0019] In a possible embodiment, the device further comprises: a planning interface display module for displaying a distribution planning interface; a location generation module for generating the location location based on the location determined in the location planning interface; a location adding module for adding the location location to the location location display area; Includes.

[0020] In a possible embodiment, the distribution station display area includes an add distribution station controller, and the planning interface display module displays the distribution station planning interface in response to receiving a trigger operation on the add distribution station controller.

[0021] In a possible embodiment, the controller display module, in response to receiving an activation operation, displays the standing position controller on top of the scene screen, superimposed thereon; The activation operation includes at least one of a target operation performed on the target area in the scene screen and a trigger operation on an active controller.

[0022] In a possible embodiment, the target operation includes a long press operation on the target area.

[0023] In a possible embodiment, in response to receiving a trigger operation on a third sub-controller of the at least two sub-controllers, the standing position adjustment module switches the standing position of the at least one virtual character from a first standing position to a second standing position such that the standing positions of the at least one virtual character before and after the switching of the standing position are symmetrical along a target axis line.

[0024] In another aspect, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to realize the above-described virtual character control method.

[0025] In another aspect, a computer-readable storage medium is provided, the computer-readable storage medium having stored therein at least one computer program, the computer program being loaded and executed by the processor to realize the above-described virtual character control method.

[0026] In another aspect, a computer program product or computer program is provided, the computer program product including at least one computer program, the computer program being loaded and executed by the processor to realize the virtual character control method provided by the various alternative embodiments above.

[0027] The technical solution provided by this application can have the following beneficial effects: By providing the standing position control controller, the computer device can uniformly adjust the standing positions of custom-selected virtual characters when it receives a trigger operation by the standing position control controller, or can uniformly adjust the standing positions of target objects by a customized adjustment method, or can uniformly adjust the standing positions of custom-selected virtual characters by a customized adjustment method, thereby enabling the standing positions of multiple virtual characters to be collectively adjusted by the standing position control controller when adjusting the standing positions of virtual characters in a virtual scene, and at the same time ensuring flexibility in adjusting the standing positions of virtual characters in a virtual scene. [Brief description of the drawings]

[0028] [Figure 1] FIG. 2 is a schematic diagram of a board battle screen according to an exemplary embodiment of the present application; [Diagram 2] FIG. 1 is a block diagram of a computer system according to an exemplary embodiment of the present application. [Diagram 3] FIG. 2 is a schematic diagram of a state synchronization technique shown in an exemplary embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of a frame synchronization technique shown in an exemplary embodiment of the present application. [Diagram 5] 1 is a flowchart of a method for controlling a virtual character according to an exemplary embodiment of the present application. [Figure 6] FIG. 2 is a schematic diagram of a scene screen shown in an exemplary embodiment of the present application; [Figure 7] 1 is a flowchart of a method for controlling a virtual character according to an exemplary embodiment of the present application. [Figure 8] FIG. 2 is a schematic diagram of a scene screen shown in an exemplary embodiment of the present application; [Figure 9] 1A-1C are schematic diagrams of scene screens before and after mirroring of a virtual character shown in an exemplary embodiment of the present application. [Figure 10]FIG. 13 is a schematic diagram of determining a target virtual character by successive sliding operations as illustrated in an exemplary embodiment of the present application; [Figure 11] FIG. 2 is a schematic diagram of determining a target virtual character by a range selection operation as illustrated in an exemplary embodiment of the present application; [Figure 12] FIG. 2 is a schematic diagram of a scene screen shown in an exemplary embodiment of the present application; [Figure 13] 1A-1C are schematic diagrams of scene screens before and after virtual character mirroring shown in an exemplary embodiment of the present application. [Figure 14] FIG. 2 is a schematic diagram of an additional positioning station shown in an exemplary embodiment of the present application; [Figure 15] FIG. 2 is a schematic diagram of a distribution station display area shown in an exemplary embodiment of the present application. [Figure 16] 1 is a flowchart of a method for controlling a virtual character according to an exemplary embodiment of the present application. [Figure 17] FIG. 2 is a block diagram of a virtual character controller as shown in an exemplary embodiment of the present application. [Figure 18] FIG. 2 is a block diagram of a computer device according to an exemplary embodiment of the present application. [Figure 19] FIG. 2 is a block diagram of a computer device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0029] The present application provides a method for controlling a virtual character, which can improve the efficiency of adjusting the position of a virtual character. For ease of understanding, some terms related to the present application are defined below.

[0030] 1) Virtual scene: A virtual scene displayed (or provided) when an application is executed on a terminal. The virtual scene may be a simulated environment scene for the real world, a semi-simulated semi-fictional three-dimensional environment scene, or a purely fictional three-dimensional environment scene. The virtual scene may be any one of a two-dimensional virtual scene, a two-and-a-half-dimensional virtual scene, and a three-dimensional virtual scene. In the following embodiment, the virtual scene is described as a three-dimensional virtual scene, but is not limited thereto.

[0031] 2) Auto Chess: A board game in which the "pieces" are laid out beforehand before a match, and the "pieces" automatically play according to the laid out positions during the match. The "pieces" are usually displayed as virtual characters, and during the match, the virtual characters automatically activate various skills for the match. The match is usually turn-based, and when all of the "pieces" of one side participating in the match are killed in battle (i.e., the life value of the virtual characters drops to zero), that side loses the match. In some embodiments, in addition to the "piece-shaped virtual characters" that play the match, each side is provided with a virtual character representing a user participating in the match, and the virtual character cannot move to the match area or the war preparation area as a "piece", and the virtual character is also provided with a life value (or blood amount). The life value of the virtual character decreases (match failure) or remains unchanged (match win) according to the match result for each round, and when the life value of the virtual character drops to zero, the user corresponding to the virtual character ends the match, and the remaining users continue the match.

[0032] Board: An area in the Auto Chess game battle interface for preparing and conducting a battle. The board may be any of a 2D virtual board, a 2.5D virtual board, and a 3D virtual board, and this application is not limited thereto.

[0033] The board is divided into a battle area and a war preparation area. The battle area includes several battle grids of the same size, which are used to place battle pieces that will be battled during a battle, and the war preparation area includes several war preparation grids, which are used to place war preparation pieces, which can be dragged and placed in the battle area in the preparation stage without participating in a battle during a battle. In the embodiment of the present application, an example is described in which the battle piece characters include piece characters located in the battle area and piece characters located in the war preparation area.

[0034] Regarding the manner of setting the grid in the battle area, in some embodiments, the battle area includes n (rows) x m (columns) battle grids, where n is an integer multiple of 2, and adjacent two rows of grids are aligned or adjacent two rows of grids are intersected. In addition, the battle area is divided equally into two parts by row, which are an ally battle area and an enemy battle area, and the users participating in the battle are located on the upper and lower sides of the battle interface, respectively, and in the preparation stage, the users can only place pieces in the ally battle area. In some other embodiments, the battle area is divided equally into two parts by column, which are an ally battle area and an enemy battle area, and the users participating in the battle are located on the left and right sides of the battle interface, respectively. The shape of the grid may be any of a square, a rectangle, a circle, and a hexagon, and the embodiments of the present application do not limit the shape of the grid.

[0035] In some embodiments, the match grid is always displayed on the board, and in other embodiments, the match grid is displayed when a user is placing a match piece, and the display of the match grid is removed after the match piece has been placed on the grid.

[0036] 1 is a schematic diagram of a board battle screen according to an exemplary embodiment of the present application. As shown in FIG. 1, the board 11 in the battle interface includes a battle area 111 and a war preparation area 112, the battle area 111 includes 3×7 battle grids, the grid shape is hexagonal, and two adjacent rows of grids intersect, and the war preparation area 112 includes 9 war preparation grids.

[0037] 3) Virtual characters in the auto chess game: These are pieces placed on the board in the auto chess game, including battle piece characters and candidate piece characters in the candidate piece character list (i.e., candidate piece characters in the virtual store), and the battle piece characters include piece characters located in the battle area and piece characters located in the war preparation area. The virtual characters may be virtual pieces, virtual people, virtual animals, animated characters, etc., and the virtual characters may be displayed using three-dimensional models. The candidate piece characters may trigger a gain battle effect after being combined with the user's existing battle piece characters, and may also participate in the board battle as a piece character on their own.

[0038] Optionally, the positions of the battle piece characters on the board can be changed. During the preparation phase, the user can adjust the positions of the battle piece characters in the battle area, adjust the positions of the battle piece characters in the war preparation area, move the battle piece characters to the war preparation area (if there is an empty war preparation grid in the war preparation area), and move the battle piece characters in the war preparation area to the battle area. Note that during the battle phase, the positions of the battle piece characters in the war preparation area can also be adjusted.

[0039] Optionally, in the battle phase, the position of the piece character in the battle area is different from that in the preparation phase. For example, in the battle phase, the piece character can automatically move from the friendly battle area to the enemy battle area to attack the enemy piece character, or the piece character can automatically move from position A in the friendly battle area to position B in the friendly battle area.

[0040] Also, during the preparation stage, character pieces can only be placed in the friendly battle area, and character pieces placed by the enemy cannot be seen on the board.

[0041] Regarding the method of acquiring opponent piece characters, in some embodiments, during a game, a user can purchase piece characters using virtual currency in the preparation stage.

[0042] In some embodiments, a virtual character is used to represent a user participating in a battle, and the virtual character may be a virtual person, a virtual animal, an animated character, etc., and in the following embodiments, the virtual character is referred to as a player virtual character or a user virtual character.

[0043] 1, a first battle piece character 111a, a second battle piece character 111b, and a third battle piece character 111c are displayed in the battle area 111, and a first war preparation piece character 112a, a second war preparation piece character 112b, and a third war preparation piece character 112c are provided in the war preparation area 112. A player virtual character 113 is displayed next to the battle area and the war preparation area.

[0044] Attributes: Each piece character in the Auto Chess game has its own attributes, which include at least two of the following attributes: the camp to which the piece character belongs (e.g., A League, B League, medium rank, etc.), the piece character's occupation (e.g., warrior, archer, mage, assassin, guard, swordsman, gunman, fighter, etc.), the piece character's attack type (e.g., magical, physical, etc.), and the piece character's status (e.g., noble, devil, elf, etc.); and the embodiments of this application do not limit the specific types of attributes.

[0045] Optionally, each piece character has attributes in at least two dimensions, and equipment carried by the piece character can improve the piece character's attributes.

[0046] Optionally, in the battle area, different piece characters have related attributes (including different pieces having the same attribute or different pieces having complementary types of attributes), and when the number reaches a number threshold (also called a bond), the piece characters with the attribute or all the piece characters in the battle area have a gate effect corresponding to the attribute. For example, if the battle area includes two piece characters with the attribute warrior at the same time, all the battle piece characters will gain a 10% defensive power addition, if the battle area includes four battle piece characters with the attribute warrior at the same time, all the battle piece characters will gain a 20% defensive power addition, and if the battle area includes three piece characters with the attribute elf at the same time, all the battle piece characters will gain a 20% exchange probability addition.

[0047] The virtual character control method described in this application is applicable to scenes in which it is necessary to control the position of a virtual character, such as the above-mentioned auto chess game scene and card game scene, and this application will explain the virtual character control method provided by this application using the auto chess game scene as an example.

[0048] 2 is a block diagram of a computer system according to an exemplary embodiment of the present application, the computer system including a first terminal 120, a server 140 and a second terminal 160.

[0049] An auto chess game application is installed and executed on the first terminal 120. The first terminal 120 is a terminal used by a first user, and the first user uses the first terminal 120 to place character pieces in the battle area of ​​the board in the preparation stage of the game, and the first terminal 120 automatically controls the character pieces in accordance with the attributes, skills, and placement of the character pieces on the battle area in the battle stage to play the game.

[0050] The first terminal 120 is connected to the server 140 via a wireless or wired network.

[0051] The server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Schematically, the server 140 includes a processor 144 and a memory 142, and the memory 142 includes a receiving module 1421, a control module 1422, and a sending module 1423. The server 140 provides background services to an auto chess-based game application, for example, a screen rendering service to an auto chess game. Schematically, the receiving module 1421 receives location information of a character piece transmitted from a client, the control module 1422 controls the character piece to automatically battle based on the location information of the character piece, and the sending module 1423 transmits the battle result to the client. Optionally, the server 140 is responsible for the main computational tasks, and the first terminal 120 and the second terminal 160 are responsible for the secondary computational tasks, or the server 140 is responsible for the secondary computational tasks, and the first terminal 120 and the second terminal 160 are responsible for the main computational tasks, or the server 140, the first terminal 120 and the second terminal 160 perform collaborative computation using a distributed computing architecture.

[0052] The server 140 uses a synchronization technique to match screen presentations among multiple clients. Illustratively, the synchronization technique used by the server 140 includes a state synchronization technique or a frame synchronization technique.

[0053] State Synchronization Technology: In an alternative embodiment based on Fig. 2, the server 140 uses a state synchronization technology to synchronize with multiple clients. Fig. 3 is a schematic diagram of the state synchronization technology shown in an exemplary embodiment of the present application, in which the battle logic is executed in the server 140 as shown in Fig. 3. When a state change occurs to any piece character on the battle board, the server 140 sends a state synchronization result to all clients, for example, clients 1 to 10.

[0054] In an exemplary embodiment, when client 1 sends a request to server 140 including the piece characters participating in the board battle and the placement of the piece characters, server 140 generates the state of the piece characters during the battle according to the piece characters and the placement of the piece characters, and server 140 sends the state of the piece characters during the battle to client 1. Then, server 140 sends data for sending virtual props to client 1 to all clients, and all clients update their local data and interface expressions based on the data.

[0055] Frame Synchronization Technique: In an alternative embodiment based on FIG. 2, the server 140 uses a frame synchronization technique to synchronize with multiple clients. FIG. 4 is a schematic diagram of the frame synchronization technique shown in an exemplary embodiment of the present application, in which the combat logic is executed on each client as shown in FIG. 4. Each client sends a frame synchronization request to the server, and the frame synchronization request includes data changes of the client locale. After the server 140 receives a frame synchronization request, it forwards the frame synchronization request to all clients. After each client receives the frame synchronization request, it processes the frame synchronization request according to the combat logic of the locale and updates the locale data and interface representation.

[0056] The second terminal 160 is connected to the server 140 via a wireless or wired network.

[0057] An auto chess game application is installed and executed on the second terminal 160. The second terminal 160 is a terminal used by a second user, and the second user uses the second terminal 160 to place character pieces in a battle area of ​​the board in the preparation stage of the game, and in the battle stage, the second terminal 160 automatically controls the character pieces according to the attributes, skills, and placement of the character pieces on the battle area to conduct the battle.

[0058] Optionally, the piece characters placed by the first user via the first terminal 120 and the piece characters placed by the second user via the second terminal 160 are located in different areas on the same board, i.e., the first user and the second user are in the same game.

[0059] Optionally, the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of applications on different control system platforms. The first terminal 120 can refer to one of a plurality of terminals, and the second terminal 160 can refer to one of a plurality of terminals, and this embodiment takes only the first terminal 120 and the second terminal 160 as an example. The device types of the first terminal 120 and the second terminal 160 can be the same or different, and the device types include at least one of a smartphone, a tablet computer, an e-book reader, a digital player, a laptop computer, and a desktop computer.

[0060] As can be understood by those skilled in the art, the number of the above terminals may be more or less. For example, the above terminal may be only one (i.e., the user plays against the artificial intelligence), or the number of the above terminals may be eight (1v1v1v1v1v1v1v1, cyclical play and selection among eight users, and finally determine the winner), or more. The embodiment of the present application does not limit the number and device type of the terminals.

[0061] FIG. 5 is a flowchart of a virtual character control method shown in an exemplary embodiment of the present application, which can be executed by a computer device, and which can be realized as a terminal or a server. As shown in FIG. 5, the virtual character control method can include the following steps:

[0062] Step 510 displays a scene view of a virtual scene, the virtual scene including at least one virtual character.

[0063] Optionally, the target area of ​​the virtual scene includes at least one virtual character.

[0064] In a possible embodiment, the virtual scene includes a battle area and a war preparation area, the target area may be a battle area in the virtual scene, and the at least one virtual character is a virtual character in the battle area, and the at least one virtual character is a virtual character controlled by a current user.

[0065] In step 520, a position control controller is displayed on the upper layer of the scene screen.

[0066] In an embodiment of the present application, at least one virtual character in the target area may be in a game staircase and a preparation staircase in the virtual scene, and in the preparation stage, the user may adjust the position of at least one virtual character in the virtual scene to perform battle arrangement. Thus, in a possible embodiment, by superimposing a position control controller on the upper layer of the scene screen, the user may quickly realize a custom arrangement of the position of the virtual character in the virtual scene through the position control controller. FIG. 6 is a schematic diagram of a scene screen shown in an exemplary embodiment of the present application. As shown in FIG. 6, a position control controller 610 is superimposed on the upper layer of the scene screen, and the position control controller may be a single controller, or multiple controllers. It may also be a collection of sub-controllers having a standing position control function, and the standing position control controller shown in FIG. 6 includes at least one sub-controller, each of which is used to trigger a different custom standing position control, and optionally, when the standing position control controller is a single controller, the custom standing position control corresponding to the standing position control controller can be changed based on the user's operation method, and generally, different custom standing position controls can be determined based on the number of times the user repeatedly taps the standing position control controller, for example, the user clicks the standing position control controller once to determine the custom standing position adjustment method as the first adjustment method, and the user double-clicks the standing position control controller to determine the custom standing position adjustment method as the second adjustment method. Alternatively, a different custom standing position control is determined based on the length of time that the user presses and holds the standing position control controller. For example, if the length of time that the user presses and holds the standing position control controller is less than a first time length threshold, the custom standing position adjustment method is determined as the first adjustment method, and if the length of time that the user presses and holds the controller is greater than the first time length threshold but less than a second time length threshold, the custom standing position adjustment method is determined as the second adjustment method.

[0067] Step 530: In response to receiving a trigger operation on the standing position control controller, adjust the standing position of the target virtual character based on a target adjustment method, where at least one of the target adjustment method and the target virtual character is determined based on a user's customization operation, and the target virtual character belongs to at least one virtual character.

[0068] The target virtual characters may be all or a part of the virtual characters in the target area in the virtual scene determined based on the user's custom operation, or the target virtual characters may be a default number of virtual characters corresponding to a target adjustment method determined based on the user's custom operation, for example, the target adjustment method adjusts the standing positions of all virtual characters in the target area by default, that is, at this point, the system defaults that the target virtual characters are all virtual characters of at least one virtual character.

[0069] In an embodiment of the present application, a user can customize a target virtual character, including the position and number of the target virtual character, and the target adjustment manner is a default adjustment manner, or a user can customize the target adjustment manner of the target virtual character, and the target virtual character is some or all of the default virtual characters, or a user can customize the target adjustment manner of the target virtual character after customizing the target virtual character. That is, the customization operation may include at least one of a character selection operation and a station installation operation.

[0070] As described above, the virtual character control method provided by the embodiments of the present application provides a standing position control controller, so that the computer device can uniformly adjust the standing positions of custom-selected virtual characters when it receives a trigger operation by the standing position control controller, or can uniformly adjust the standing positions of target objects by a customized adjustment method, or can uniformly adjust the standing positions of custom-selected virtual characters by a customized adjustment method. As a result, when adjusting the standing positions of virtual characters in a virtual scene, the standing position control controller can realize simultaneous adjustment of the standing positions of multiple virtual characters, and at the same time, flexibility in adjusting the standing positions of virtual characters in a virtual scene can be ensured.

[0071] FIG. 7 is a flowchart of a virtual character control method shown in an exemplary embodiment of the present application, which can be executed by a computer device, and which can be realized as a terminal or a server. As shown in FIG. 7, the virtual character control method can include the following steps:

[0072] Step 710 displays a scene view of a virtual scene, the virtual scene including at least one virtual character.

[0073] The virtual scene may be a scene in which virtual characters controlled by two operating users play against each other, the operating users may correspond to respective battle areas and war preparation areas, and when a first user controls a virtual character in the virtual scene, the first user may control a virtual character corresponding to the first user, or at least one virtual character included in a target area in the virtual scene may be a virtual character belonging to the same camp. The target area may be a battle area in the current camp.

[0074] In step 720, the standing position controller is displayed on the upper layer of the scene screen.

[0075] In a possible embodiment, the standing position control controller can be displayed superimposed on the scene screen when the scene screen is displayed, or in another possible embodiment, the standing position control controller is not displayed superimposed on the upper layer of the scene screen when the scene screen is displayed, but is displayed superimposed after accepting a specified operation, and generally speaking, in response to accepting an activation operation, the standing position control controller is displayed superimposed on the upper layer of the scene screen, The activation operation includes at least one of a target operation performed on a target area in a scene screen and a trigger operation on an active controller.

[0076] The target operation may include a long press operation on the target area, and optionally, the target operation may include a double click operation on the target area, or a triple hit operation on the target area, or a slide operation on the target area, etc. The active controller may be a controller set at any standing position on the upper layer of the scene screen, and is used to call the standing position control controller in response to receiving a trigger operation.

[0077] As an example, in an embodiment of the present application, the standing position control controller is a collection of multiple sub-controllers each having a standing position control function, and the standing position control controller includes at least two sub-controllers. FIG. 8 is a schematic diagram of a scene screen shown in an exemplary embodiment of the present application. As an example, in an embodiment of the present application, the target operation is a long press operation on a target area, and as shown in FIG. 8, after a long press operation performed by a user on a target area 810 is accepted, a standing position control controller 820 is displayed superimposed on the upper layer of the scene screen.

[0078] Step 730: In response to receiving a trigger operation for a target sub-controller, adjust the standing position of the target virtual character based on an adjustment method corresponding to the target sub-controller, the target sub-controller being one of the at least two sub-controllers.

[0079] Optionally, the custom functions triggered by different sub-controllers are different, and generally, a first sub-controller of the at least two sub-controllers can trigger a character selection operation, perform custom setting on a virtual character to be adjusted in position, obtain a target virtual character, and then perform position adjustment on the target virtual character in a default position adjustment manner.

[0080] In an exemplary technical solution, the default position adjustment manner is to perform a mirroring switch on the position of the target virtual character, in which the target axis line is taken as a mirror line, and the position of the target virtual character is symmetrically adjusted according to the mirror line.

[0081] A second sub-controller of the at least two sub-controllers can trigger a location setting operation to custom set a position adjustment manner for a virtual character that needs to be adjusted, and the virtual character that needs to be adjusted may be a default setting virtual character, for example, all virtual characters in a target area.

[0082] The fourth sub-controller of the at least two sub-controllers can trigger a location placement operation after triggering a character selection operation, so as to change the standing position of the custom virtual character to a custom placement manner, thereby improving the user's autonomy in overall adjustment of the standing position of the virtual character and improving the flexibility of changing the standing position of the virtual character.

[0083] In a possible embodiment, the procedure for adjusting the standing position of the virtual character by the first sub-controller can be realized as the following procedure. adjusting a selection state of at least one virtual character to a selectable state in response to receiving a trigger operation on a first sub-controller of the at least two sub-controllers; In response to receiving the character selection operation, acquire the virtual character selected by the character selection operation as a target virtual character; In response to the end of the character selection operation, the target virtual character's standing position is switched from a first standing position to a second standing position so that the standing positions of the target virtual character before and after the position switching are symmetrical along the target axis line.

[0084] An operation of switching the position of a target virtual character from a first position to a second position such that the positions of the target virtual character before and after the position switching are symmetrical along the target axis line can be referred to as a mirroring switch, in other words, the first sub-controller controls at least one virtual character in the target area to perform mirroring switching based on the positions of the virtual characters determined by a character selection operation, where the first position indicates the position of the virtual character before the mirroring switch and the second position indicates the position after the mirroring switch, and the target virtual character may be all or a part of the at least one virtual character.

[0085] In general, the target axis may be a central axis of a scene screen, or the target axis may be a central axis for a target virtual character, or the target axis may be any one of arbitrary axes determined based on a user's drawing operation.

[0086] Optionally, the target axis may be set by a developer, or may be pre-set or drawn by a user; or in a possible embodiment, in response to the character selection operation being completed, a mirror line setting interface is displayed, the mirror line setting interface includes at least two mirror line selection controllers, each corresponding to a different mirror line setting manner, and a target axis corresponding to one mirror line selection controller is determined as a mirror line based on the user's selection operation, and the target axis corresponding to the at least two mirror line selection controllers includes at least two of the central axis of the scene screen, or the central axis for the target virtual character, or any axis determined based on the user's drawing operation. In general, when the user selects the mirror line as the any axis determined based on the user's drawing operation, a mirror line drawing interface is entered, and the axis drawn by the user in the mirror line drawing interface is determined as a mirror line, and the mirror line drawing interface may be a scene screen in a drawing-enabled state. FIG. 9 is a schematic diagram of a scene screen before and after virtual character mirroring shown in an exemplary embodiment of the present application. Take the mirror line as an example, which is a target axis line determined based on a user's drawing operation, as shown in FIG. 9, the mirror line 910 is an axis line drawn by a user according to actual needs, and mirroring switching is performed for the target virtual character's standing position in the target area using the target axis line as the mirror line. Take the target virtual characters determined by a character selection operation as an example, which is all virtual characters in the target area, the virtual character 921 is mirrored and switched from its current standing position to a standing position 931, the virtual character 922 is mirrored and switched from its current standing position to a standing position 932, and the virtual character 923 is mirrored and switched from its current standing position to a standing position 933.

[0087] In a possible embodiment, if the position of a virtual character mirrored based on the mirror line exceeds the target area, the position of the virtual character is not adjusted, and the positions of virtual characters that do not exceed the target area after being mirrored are adjusted.

[0088] In a possible embodiment, in response to the second virtual character already being present at a second position after mirroring the first virtual character in the target virtual character, the adjustment of the position of the first virtual character can be achieved in one of the following ways: Do not adjust the position of the first virtual character; Swapping the position of the first virtual character with the position of the second virtual character; moving the second virtual character to an empty standing position adjacent to the second standing position and moving the first virtual character to the second standing position; The second virtual character's position is left as it is, and the first virtual character is moved to an empty position adjacent to the second virtual character's position.

[0089] In a possible embodiment, the character selection operation includes at least one of a continuous sliding operation on the scene screen, a range selection operation on the scene screen, or a point selection operation on the virtual character.

[0090] In response to the character selection operation being a continuous sliding operation on the scene screen, among the at least one virtual character, a virtual character selected by the continuous sliding operation is set as the target virtual character. In general, the sliding operation is a moving operation performed only once on the terminal screen without the user's finger sticking out, or a moving operation performed only once on the control device without the user releasing the target entity button (e.g., the left mouse key). FIG. 10 is a schematic diagram of determining a target virtual character by the continuous sliding operation shown in an exemplary embodiment of the present application. As shown in FIG. 10, after receiving the trigger operation of the first sub-controller 1010 by the user, the selection state of at least one virtual character in the target area is adjusted to a selectable state, and the user can set any virtual character in the target area as the starting point of the operation. On the premise that the operation is not interrupted (for example, the finger is not stuck out or the target entity button is not released), the continuous sliding operation is completed, and the virtual character that has passed the continuous sliding operation is obtained as the target virtual character 1020.

[0091] In response to the character selection operation being a range selection operation by a scene screen, among at least one virtual character, a virtual character within the range determined by the range selection operation is set as the target virtual character. In general, the range selection operation by the scene screen may be a frame selection operation by a scene screen, and the frame selection range corresponding to the range selection operation may be larger than the standing position range of the target virtual character in the target area. In general, FIG. 11 is a schematic diagram of determining a target virtual character by a range selection operation shown in an exemplary embodiment of the present application. As shown in FIG. 11, a user determines one large frame selection range 1110 by a range selection operation on the scene screen, and a computer device can obtain a virtual character within the frame selection range 1110 as a target virtual character 1120. The shape of the frame selection range may be any shape such as a square, a rectangle, an ellipse, a circle, etc., and the present application is not limited thereto.

[0092] In response to the character selection operation being a point selection operation for a virtual character, the virtual character selected by the point selection operation among the at least one virtual character is set as the target virtual character. In this case, the user can realize distributed selection for the virtual characters without considering the selection order.

[0093] In general, the above three target virtual character determination methods can be used separately, or two methods can be used in combination, or three methods can be used in combination, and the present application is not limited thereto.

[0094] The operation end nodes corresponding to different character selection operations may be the same or different. In general, the character selection operation is a continuous sliding operation on a scene screen, and in response to the continuous sliding operation on the scene screen being interrupted, the standing position of the target virtual character is switched from a first standing position to a second standing position.

[0095] In other words, when the continuous sliding operation is interrupted, it is determined that the continuous sliding operation has ended, and in this case, the computer device switches the position of the target virtual character from the first position to the second position; for example, when the continuous sliding operation is interrupted, the computer device automatically performs mirroring switching on the position of the target virtual character with the target axis line as the mirror line, and determines that the character selection operation has ended when, for example, the user lifts his / her finger while performing the continuous sliding operation with his / her finger, or when the user releases the target entity button while performing the continuous sliding operation on the entity device.

[0096] In another possible implementation, in response to receiving a trigger operation on the first sub-controller, a decision controller is displayed, in which in response to receiving the trigger operation by the decision controller, a position of the target virtual character is switched from a first position to a second position.

[0097] That is, when it is determined that the first sub-controller has selected a target virtual character through a character selection operation, a decision controller can be displayed superimposed on the upper layer of the scene screen. FIG. 12 is a schematic diagram of a scene screen shown in an exemplary embodiment of the present application, taking as an example a case where a target virtual character is determined based on a frame selection operation on the scene screen. As shown in FIG. 12, after a trigger operation on the first sub-controller by a user is accepted, a decision controller 1210 is displayed superimposed on the upper layer of the scene screen. After the user has determined a target virtual character through at least one of the above three methods for determining a target virtual character, when a selection operation on the decision controller 1210 is accepted, it is determined that the character selection operation has ended, and a mirroring switch is performed on the standing position of the determined target virtual character based on a target axis line. The decision controller is used to trigger a mirroring operation based on the target axis line, and the target axis line is a mirror line that is set in advance or by default, or the decision controller is used to trigger access to a mirror line setting interface, and a mirroring operation is performed on the target virtual character based on the mirror line set in the mirror line setting interface. As shown in FIG. 12, taking as an example a case where the standing position of the target virtual character is mirrored and switched on the central axis line of the scene screen, the standing position 1220 of the target virtual character is switched to a standing position 1230.

[0098] In a possible embodiment, the at least one sub-controller further includes a third sub-controller for performing mirroring switching on the standing positions of all virtual characters in the target area, and generally, the procedure for adjusting the standing positions of the virtual characters by the third sub-controller can be realized as follows: In response to receiving a trigger operation on a third sub-controller of the at least two sub-controllers, the standing position of at least one virtual character is switched from a first standing position to a second standing position such that the standing positions of the at least one virtual character before and after the switching of the standing positions are symmetrical along a target axis line.

[0099] That is, when a trigger operation on the third sub-controller is accepted, all virtual characters in the target area are obtained as target virtual characters by default. Fig. 13 is a schematic diagram of a scene screen before and after virtual character mirroring shown in an exemplary embodiment of the present application, and as shown in Fig. 13, when a user selects the third sub-controller 1310 of the standing position operation controller, all virtual characters in the target area are determined as target virtual characters 1320 by default, and when a mirror line 1330 is the central axis line of the scene screen, a mirroring switch is performed on the standing position of the target virtual character based on the mirror line 1330 to obtain a target virtual character 1340 after the standing position is changed.

[0100] Optionally, after determining a target virtual character by a trigger operation on the third sub-controller, it is determined that the character selection operation is completed, and a mirror line setting interface is entered, a mirror line is set up based on the user's selection operation, and a mirroring switch is performed on the standing position of the target virtual character based on the mirror line.

[0101] In a possible embodiment, the procedure for adjusting the standing position of the virtual character based on the second sub-controller may be realized as the following procedure. displaying a location display area in which at least one location location is displayed in response to receiving a trigger operation on a second sub-controller of the at least two sub-controllers, the location location being a location location determined based on a location setting by a user; In response to receiving a selection operation for the target standing position location, the standing position of the target virtual character is adjusted based on the target standing position location, the target standing position location being one of the at least one standing position location.

[0102] At least one of the position locations included in the location display area is pre-installed before the user controls the virtual character to enter the virtual scene, or the at least one position location is added after the user controls the virtual character to enter the virtual scene, or the at least one position location includes one that is pre-installed before the user controls the virtual character to enter the virtual scene and one that is added after the user controls the virtual character.

[0103] Generally speaking, after a user controls a virtual character to enter a virtual scene, the procedure of adding a position location can be realized as follows. Display the distribution planning interface, Generate a location plan based on the location determined in the location plan interface; Add the location map to the map display area.

[0104] Optionally, the location planning interface can be displayed directly after receiving a trigger operation on the second sub-controller, and FIG. 14 is a schematic diagram of an added location location shown in an exemplary embodiment of the present application. As shown in FIG. 14, after a user triggers the second sub-controller 1410 in the location control controller, a location planning interface 1420 is displayed, and the location planning interface 1420 includes all the location points in the target area, for example, a 3×7 battle grid, and the user configures a new location location by selecting a location point in the location planning interface, and in response to receiving a selection operation on the location generation controller 1430 displayed in the location planning interface, a new location location 1440 is generated and added to the location display area 1450.

[0105] Optionally, a location station addition controller may be displayed in the location station display area, so that after a user completes one location station addition, the user can re-enter the location station planning interface to add a location station again.

[0106] The maximum number of positions that can be planned in the location planning interface is equal to the maximum number of virtual characters that can be added in the target area of ​​the virtual scene, or the maximum number of virtual characters that can be currently added in the target area of ​​the virtual scene. For example, the number of virtual characters that can be added in the target area of ​​the virtual scene increases with the increase in the user's level, and when the user's level is the highest, the maximum number of virtual characters that can be added in the target area of ​​the virtual scene is 9, and the maximum number of virtual characters that can be added based on the user's current level is 5, so the maximum number of positions that can be planned in the location planning interface can be set to 9 to plan one final version of the location planning, or the maximum number of positions that can be planned in the location planning interface can be set to 5 to plan a location planning suitable for the current game.

[0107] Or, in another possible implementation manner, the location planning interface is displayed after receiving a touch operation by a user on a location adding controller displayed in the location display area, that is, in response to receiving a trigger operation on the second sub-controller, a location display area is displayed, and the location adding controller is displayed in the location display area; In response to receiving a trigger operation on the distribution station addition controller, a distribution station planning interface is displayed.

[0108] In this case, the location station display area may not include a location station, or may include a location station. Figure 15 shows a schematic diagram of a location station display area shown in an exemplary embodiment of the present application. As shown in Figure 15, after a user clicks the second sub-controller 1510 of the location control controller, a location station display area 1520 is displayed, and the location station display area 1520 includes a location station addition controller 1530. After a user performs a trigger operation on the location station addition controller, the location station planning interface 1420 shown in Figure 14 can be called up, and a new location station can be generated based on the location station planning interface and added to the location station display area 1520.

[0109] The above two methods of opening the distribution planning interface can be realized by different sub-controllers in at least one sub-controller, for example, the fifth sub-controller directly opens the distribution planning interface when receiving a trigger operation, and the sixth sub-controller first opens the distribution display area including the distribution station addition controller.

[0110] In a possible embodiment, the position location displayed in the location display area may include a historical position location saved based on a user's save operation, and the historical position location may be a position location in the target area corresponding to the user, or may include a position location in the target area corresponding to another user the user is watching in a spectator mode. In general, the scene screen is provided with a position location save controller for recording a position location consisting of the target virtual character's position included in the current target area when a selection operation is received, and saving it in the location display area so that the user can select and use it in the next game.

[0111] In a possible embodiment, when changing the position of the virtual characters according to the location of the target position, the attack range of each virtual character can be changed as a basis for changing the position of the target virtual character according to the location of the target position. That is, the procedure of changing the position of the target virtual character according to the location of the target position includes: obtaining an attack range of a target virtual character; and modifying the position of the target virtual character based on the attack range of the target virtual character and the location of the target virtual character.

[0112] In general, a virtual character with a small attack range is positioned adjacent to the enemy's battle area in the target position layout, and a virtual character with a large attack range is positioned away from the enemy's battle area in the target position layout.

[0113] Alternatively, in another possible embodiment, the position of the target virtual character can be changed according to the character attributes of the virtual character, the character attributes including an occupation attribute, a life value attribute, a virtual character level, etc., for example, a virtual character whose occupation attribute is warrior is placed in a position adjacent to the enemy's battle area in the target position location, and a virtual character whose occupation attribute is archer is placed in a position away from the enemy's battle area in the target position location, or a virtual character whose upper limit of life value is placed in a position adjacent to the enemy's battle area in the target position location, and a virtual character whose upper limit of life value is placed in a position away from the enemy's battle area in the target position location, or a virtual character whose virtual character level is placed in a position adjacent to the enemy's battle area in the target position location, and a virtual character whose virtual character level is placed in a position away from the enemy's battle area in the target position location. The basis for setting the position of the virtual character provided in the embodiments of the present application is merely a rough outline, and the relevant person may randomly set the position of the target virtual character, or the basis for setting the position may be customized by the user, and the present application does not limit the basis for setting the position of the virtual character.

[0114] When the number of positions in the target position location station installed or stored by the user is greater than the number of virtual characters currently in the target area, in a possible embodiment, the procedure for changing the position location of the target virtual character based on the target position location station includes adjusting the position of the target virtual character to a position in the target position location station according to the order of the target positions in response to the number of positions corresponding to the target position location station being greater than the number of the target virtual characters.

[0115] In general, the order of the target positions may be based on the order of the positions from left to right in the target position distribution station, or the order from the middle to both sides, or the order from front to back, etc., and the present application may not limit the setting method of the order of the target positions.

[0116] The procedure of performing mirroring switching for the target virtual character determined by the character selection operation by the station setting operation after performing the character selection operation triggered by the fourth sub-controller may be a combination of the character selection procedure corresponding to the first sub-controller and the station setting procedure corresponding to the second sub-controller. In summary, in response to receiving the trigger operation for the fourth sub-controller, adjust the selection state of at least one virtual character to a selectable state, in response to receiving the character selection operation, obtain the virtual character selected by the character selection operation as the target virtual character, and display a station display area in which at least one standing position station is displayed, the standing position station is a standing position station determined based on the station setting of the user, and in response to receiving the selection operation for the target standing position station, adjust the standing position of the target virtual character based on the target standing position station. The implementation manner of the above procedure may refer to the relevant contents in the character selection procedure corresponding to the first sub-controller and the station setting procedure corresponding to the second sub-controller, and will not be described again here.

[0117] As described above, the virtual character control method provided by the embodiments of the present application provides a standing position control controller, so that the computer device can uniformly adjust the standing positions of custom-selected virtual characters when it receives a trigger operation by the standing position control controller, or can uniformly adjust the standing positions of target objects by a customized adjustment method, or can uniformly adjust the standing positions of custom-selected virtual characters by a customized adjustment method. As a result, when adjusting the standing positions of virtual characters in a virtual scene, the standing position control controller can realize simultaneous adjustment of the standing positions of multiple virtual characters, and at the same time, flexibility in adjusting the standing positions of virtual characters in a virtual scene can be ensured.

[0118] Taking an auto chess scene as an example, FIG. 16 shows a flowchart of a virtual character control method shown in an exemplary embodiment of the present application, the method being executed by a computer device, which can be realized as a terminal or a server. As shown in FIG. 16, the virtual character control method includes the following steps: In step S1601, a touch operation on the board area is accepted. The board area is a game area corresponding to a virtual character controlled by a player in an auto chess scene. In step S1602, it is determined whether the touch operation is a long press operation, and if so, execute step S1603; otherwise, end. In step S1603, the position controller is activated. The position controller includes a first sub-controller, a second sub-controller, and a third sub-controller. In step S1604, a trigger operation on the first sub-controller is accepted, and the pieces in the board area are set to a selectable state. The first sub-controller is one of the position control controllers. In step S1605, a surrounding selection operation for a piece is accepted. In step S1606, a trigger operation to the determination controller is accepted, and the position of the piece obtained by the surrounding selection is mirrored based on the target axis. In step S1607, a trigger operation for the second subcontroller is accepted. The second sub-controller is used to call a preset station location. Step S1608: pop up a distribution station display area, the distribution station display area including at least one location distribution station; In step S1609, a selection operation for the target position setting station is accepted. The target location station is one of the at least one location station. In step S1610, the position of the piece in the target area is adjusted based on the target position layout. In step S1611, a trigger operation for the third sub-controller is accepted. The third sub-controller is one of the position control controllers. In step S1612, the positions of all pieces on the board area are mirrored based on the target axis.

[0119] As described above, the virtual character control method provided by the embodiments of the present application provides a standing position control controller, so that the computer device can uniformly adjust the standing positions of custom-selected virtual characters when it receives a trigger operation by the standing position control controller, or can uniformly adjust the standing positions of target objects by a customized adjustment method, or can uniformly adjust the standing positions of custom-selected virtual characters by a customized adjustment method. As a result, when adjusting the standing positions of virtual characters in a virtual scene, the standing position control controller can realize simultaneous adjustment of the standing positions of multiple virtual characters, and at the same time, flexibility in adjusting the standing positions of virtual characters in a virtual scene can be ensured.

[0120] FIG. 17 is a block diagram of a virtual character control device according to an exemplary embodiment of the present application. As shown in FIG. 17, the virtual character control device includes: A screen display module 1710 for displaying a scene screen of a virtual scene, the virtual scene including at least one virtual character; a controller display module 1720 for displaying a position controller on the upper layer of the scene screen; and a standing position adjustment module 1730 for adjusting a standing position of a target virtual character based on a target adjustment scheme in response to receiving a trigger operation on the standing position control controller, wherein at least one of the target adjustment scheme and the target virtual character is determined based on a user custom operation, and the target virtual character belongs to the at least one virtual character.

[0121] In a possible embodiment, the position control controller includes at least two sub-controllers, In response to receiving a trigger operation on a target sub-controller, the standing position adjustment module adjusts the standing position of the target virtual character based on an adjustment method corresponding to the target sub-controller, and the target sub-controller is any one of the at least two sub-controllers.

[0122] In a possible embodiment, the position adjustment module 1730 is a state adjustment submodule that adjusts a selection state of the at least one virtual character to a selectable state in response to receiving a trigger operation on a first sub-controller of the at least two sub-controllers; a character acquisition submodule that adjusts a selection state of the at least one virtual character to a selectable state in response to receiving a trigger operation on a first sub-controller of the at least two sub-controllers; and a mirroring switching submodule that switches the standing position of the target virtual character from a first standing position to a second standing position in response to the completion of the character selection operation, so that the standing positions of the target virtual character before and after the standing position switching are symmetrical along a target axis line.

[0123] In a possible embodiment, the character selection operation includes at least one of a continuous slide operation on the scene screen, a range selection operation on the scene screen, or a point selection operation on a virtual character.

[0124] In a possible embodiment, in response to the character selection operation being a continuous sliding operation on the scene screen, a virtual character selected by the continuous sliding operation among the at least one virtual character is set as the target virtual character; in response to the character selection operation being a range selection operation on the scene screen, a virtual character among the at least one virtual character that is within a range determined by the range selection operation is set as the target virtual character; In response to the character selection operation being a point selection operation for a virtual character, the virtual character selected by the point selection operation among the at least one virtual character is set as the target virtual character.

[0125] In a possible embodiment, in response to the character selection operation being a continuous sliding operation on the scene screen, the position switching submodule switches the position of the target virtual character from a first position to a second position in response to the continuous sliding operation on the scene screen being interrupted.

[0126] In a possible embodiment, the device further comprises: a decision controller display module for displaying a decision controller in response to receiving a trigger operation on the first sub-controller; The standing position switching sub-module switches the standing position of the target virtual character from a first standing position to a second standing position in response to receiving a trigger operation by the decision controller.

[0127] In possible embodiments, the target axis includes any of the following: a central axis of the scene screen, or a central axis for the target virtual character, or any arbitrary axis determined based on a user's drawing operations.

[0128] In a possible embodiment, the position adjustment module 1730 is an area display submodule for displaying a location display area in which at least one location location station is displayed in response to receiving a trigger operation on a second subcontroller of the at least two subcontrollers, the location location station being the location location station determined based on the location station setting of a user; a position adjustment submodule for adjusting a position of the target virtual character based on a target position location in response to receiving a selection operation for a target position location, the target position location being one of at least one of the position location locations; Includes.

[0129] In a possible embodiment, the standing position adjustment sub-module: an attack range acquisition unit for acquiring an attack range of the target virtual character; The position adjustment unit adjusts the position of the target virtual character based on the attack range of the target virtual character and the location of the target position.

[0130] In a possible embodiment, the position adjustment submodule adjusts the position of the target virtual character to a position at the target position location in accordance with an order of the target positions in response to the number of positions corresponding to the target position location being greater than the number of the target virtual characters.

[0131] In a possible embodiment, the device further comprises: a planning interface display module for displaying a location planning interface; and a location generation module for generating the location location based on the location determined in the location planning interface; a location adding module for adding the location location to the location location display area; Includes.

[0132] In a possible embodiment, the distribution station display area includes an add distribution station controller, and the planning interface display module displays the distribution station planning interface in response to receiving a trigger operation on the add distribution station controller.

[0133] In a possible embodiment, the controller display module 1720, in response to receiving an activation operation, displays the standing position controller on top of the scene screen, The activation operation includes at least one of a target operation performed on the target area in the scene screen and a trigger operation on an active controller.

[0134] In a possible embodiment, the target operation includes a long press operation on the target area.

[0135] In a possible embodiment, in response to receiving a trigger operation on a third sub-controller of the at least two sub-controllers, the standing position adjustment module 1730 switches the standing position of the at least one virtual character from a first standing position to a second standing position such that the standing positions of the at least one virtual character before and after the position switching are symmetrical along a target axis line.

[0136] As described above, the virtual character control device provided by the embodiments of the present application provides a standing position control controller, so that the computer device can uniformly adjust the standing positions of custom-selected virtual characters when it receives a trigger operation by the standing position control controller, or can uniformly adjust the standing positions of target objects by a customized adjustment method, or can uniformly adjust the standing positions of custom-selected virtual characters by a customized adjustment method. As a result, when adjusting the standing positions of virtual characters in a virtual scene, the standing position control controller can realize simultaneous adjustment of the standing positions of multiple virtual characters, and at the same time, flexibility in adjusting the standing positions of virtual characters in a virtual scene can be ensured.

[0137] FIG. 18 shows a block diagram of a computer device 1800 according to an exemplary embodiment of the present application. The computer device is realized as a server in the above-mentioned technical solution of the present application. The computer device 1800 includes a central processing unit (CPU) 1801, a system memory 1804 including a random access memory (RAM) 1802 and a read-only memory (ROM) 1803, and a system bus 1805 connecting the system memory 1804 and the central processing unit 1801. The computer device 1800 further includes a mass storage device 1806 for storing an operating system 1809, an application program 1810, and other program modules 1811.

[0138] The mass storage device 1806 is connected to the central processing unit 1801 via a mass storage controller (not shown) that is connected to the system bus 1805. The mass storage device 1806 and its associated computer-readable media provide non-volatile storage for the computing device 1800. That is, the mass storage device 1806 may include a computer-readable medium (not shown), such as a hard disk or a CompactDisc Read-Only Memory (CD-ROM) drive.

[0139] Without loss of generality, the computer-readable medium may include computer-readable storage media and communication media. Computer-readable storage media includes volatile, non-volatile, removable and non-removable media implemented by any method or technology for storing information, such as computer-readable instructions, data structures, program modules or other data. Computer-readable storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), flash memory or other solid-state storage technology, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, magnetic tape cassette, magnetic tape, magnetic disk storage, or other magnetic storage devices. Of course, as one skilled in the art knows, the computer-readable storage media is not limited to the several types mentioned above. The system memory 1804 and mass storage device 1807 may be collectively referred to as memory.

[0140] According to embodiments of the present application, the computer device 1800 may further operate in connection with a remote computer in a network, such as the Internet, via a network, i.e., the computer device 1800 may be connected to a network 1808 via a network interface unit 1807 connected to the system bus 1805, or may use the network interface unit 1807 to connect to other types of networks or remote computer systems (not shown).

[0141] The above memory further includes at least one computer program, which is stored in the memory, and the central processor 1801 executes the at least one computer program to realize all or some of the steps in the virtual character control method shown in each of the above embodiments.

[0142] 19 shows a block diagram of a computer device 1900 provided by an exemplary embodiment of the present application. The computer device 1900 can be realized as the above-mentioned terminals, such as a smartphone, a tablet computer, a notebook computer, a desktop computer, etc. The computer device 1900 may also be called a user device, a mobile terminal, a laptop terminal, a desktop terminal, etc.

[0143] Generally, the computing device 1900 includes a processor 1901 and a memory 1902 .

[0144] The processor 1901 may include one or more processing cores, such as a 4-core processor, a 19-core processor, etc. The processor 1901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1901 may further include a main processor and a coprocessor, where the main processor is a processor for processing data in an active state and is also called a CPU (Central Processing Unit), and the coprocessor is a low-power consumption processor for processing data in a standby state. In some embodiments, the processor 1901 may be integrated with a GPU (Graphics Processing Unit), where the GPU is used to render and draw content that needs to be displayed on a display screen. In some embodiments, the processor 1901 may further include an AI (Artificial Intelligence) processor, where the AI ​​processor is used to process computing operations related to machine learning.

[0145] The memory 1902 may include one or more computer readable storage media, which may be non-transitory. The memory 1902 may further include high speed random access memory and non-volatile memory, such as, for example, one or more magnetic disk storage devices, flash memory devices, etc. In some embodiments, the non-transitory computer readable storage media in the memory 1902 is used to store at least one computer program that is executed by the processor 1901 to implement all or some steps of a virtual character control method provided by a method embodiment in the present application.

[0146] In some embodiments, the computer device 1900 may further include a peripheral interface 1903 and at least one peripheral device. The processor 1901, the memory 1902, and the peripheral interface 1903 are connected via a bus or signal lines. Each peripheral device is connected to the peripheral interface 1903 via a bus, signal line, or circuit board. Specifically, the peripheral devices include at least one of a radio frequency circuit 1904, a display 1905, a camera component 1906, an audio circuit 1907, and a power supply 1909.

[0147] In some embodiments, the computing device 1900 further includes one or more sensors 1910, including, but not limited to, an acceleration sensor 1911, a gyro sensor 1912, a pressure sensor 1913, a light sensor 1915, and a proximity sensor 1916.

[0148] As will be appreciated by those skilled in the art, the configuration illustrated in FIG. 19 does not constitute a limitation of computing device 1900, which may include more or fewer components than illustrated, or some components may be combined or different component arrangements may be used.

[0149] In one exemplary embodiment, a computer-readable storage medium is further provided for storing at least one computer program, which is loaded and executed by a processor to realize all or part of the steps in the above virtual character control method. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a flexible disk, an optical data storage device, etc.

[0150] In one exemplary embodiment, a computer program product or computer program is further provided, the computer program product or computer program includes at least one computer program, the at least one computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the at least one computer program so that the computer device executes all or part of the steps of the method shown in any of the above embodiments of Figure 5, Figure 7 or Figure 16.

Claims

1. A method for controlling a virtual character executed by a computer device, comprising: displaying a scene view of a virtual scene, the virtual scene including at least one virtual character; displaying a standing position controller on the scene screen; adjusting a standing position of a target virtual character based on a target adjustment method in response to receiving a trigger operation on the standing position control controller, wherein at least one of the target adjustment method and the target virtual character is determined based on a customization operation by a user, and the target virtual character belongs to the at least one virtual character; The method includes:

2. The position controller includes at least two sub-controllers. adjusting a standing position of a target virtual character based on a target adjustment method in response to receiving a trigger operation on the standing position control controller, adjusting a standing position of the target virtual character based on an adjustment method corresponding to the target sub-controller in response to receiving a trigger operation on the target sub-controller, the target sub-controller being one of the at least two sub-controllers; 2. The method of claim 1, comprising:

3. the step of adjusting the standing position of the target virtual character based on an adjustment method corresponding to the target sub-controller in response to receiving a trigger operation on the target sub-controller, adjusting a selection state of the at least one virtual character to a selectable state in response to receiving a trigger operation on a first sub-controller of the at least two sub-controllers; In response to receiving a character selection operation, acquiring a virtual character selected by the character selection operation as the target virtual character; in response to the character selection operation being completed, switching the standing position of the target virtual character from a first standing position to a second standing position such that the standing positions of the target virtual character before and after the switching of the standing position are symmetrical along a target axis line; 3. The method of claim 2 comprising:

4. The method according to claim 3 , wherein the character selection operation includes at least one of a continuous sliding operation on the scene screen, a range selection operation on the scene screen, or a point selection operation on a virtual character.

5. in response to the character selection operation being a continuous sliding operation on the scene screen, a virtual character selected by the continuous sliding operation among the at least one virtual character is set as the target virtual character; in response to the character selection operation being a range selection operation on the scene screen, a virtual character within a range determined by the range selection operation among the at least one virtual character is set as the target virtual character; in response to the character selection operation being a point selection operation for a virtual character, setting one of the at least one virtual characters selected by the point selection operation as the target virtual character; The method according to claim 4.

6. a step of switching a standing position of the target virtual character from a first standing position to a second standing position in response to the character selection operation being a continuous slide operation on the scene screen and in response to the character selection operation being ended, switching a standing position of the target virtual character from a first standing position to a second standing position in response to interruption of the continuous sliding operation on the scene screen; 6. The method of claim 5, comprising:

7. displaying a decision controller in response to receiving a trigger operation on the first sub-controller; a step of switching a standing position of the target virtual character from a first standing position to a second standing position such that the target virtual character is symmetrical along a target axis before and after the switching of the standing position in response to the completion of the character selection operation, switching a standing position of the target virtual character from a first standing position to a second standing position in response to receiving a trigger operation by the decision controller; 6. The method of claim 5, comprising:

8. The method of claim 3 , wherein the target axis line comprises either a central axis line of the scene screen, or a central axis line relative to the target virtual character, or an arbitrary axis line determined based on a user's drawing operation.

9. the step of adjusting the standing position of the target virtual character based on an adjustment method corresponding to the target sub-controller in response to receiving a trigger operation on the target sub-controller, a step of displaying a location display area in which at least one location location is displayed in response to receiving a trigger operation on a second sub-controller of the at least two sub-controllers, the location location being determined based on a location setting by a user; In response to receiving a selection operation for a target position location, adjusting a position of the target virtual character based on the target position location, the target position location being one of at least one of the position location locations; 3. The method of claim 2 comprising:

10. In response to receiving a selection operation for a target position location, the step of adjusting the position of the target virtual character based on the target position location includes: obtaining an attack range of the target virtual character; adjusting a position of the target virtual character based on the attack range of the target virtual character and the target position location; 10. The method of claim 9, comprising:

11. In response to receiving a selection operation for a target position location, the step of adjusting the position of the target virtual character based on the target position location includes:

10. The method of claim 9, further comprising: in response to a number of positions corresponding to the target position location being greater than a number of the target virtual characters, adjusting the position of the target virtual character to a position at the target position location according to an order of the target positions.

12. displaying a distribution planning interface; generating the location plan based on the location determined in the location planning interface; adding the location location to the location location display area; The method of claim 9 further comprising:

13. The station display area includes a station addition controller; The step of displaying the distribution planning interface includes: displaying the station distribution plan interface in response to receiving a trigger operation on the station distribution addition controller; 13. The method of claim 12, comprising:

14. The step of displaying a standing position controller on the scene screen includes: In response to receiving an activation operation, displaying the standing position controller on the scene screen, The method according to claim 1 , wherein the activation operation includes at least one of a target operation performed on a target area in the scene screen and a trigger operation on an active controller.

15. The method of claim 14 , wherein the target action comprises a long press action on the target area.

16. the step of adjusting the standing position of the target virtual character based on an adjustment method corresponding to the target sub-controller in response to receiving a trigger operation on the target sub-controller, 3. The method according to claim 2, further comprising: in response to receiving a trigger operation on a third sub-controller of the at least two sub-controllers, switching a standing position of the at least one virtual character from a first standing position to a second standing position such that the standing positions of the at least one virtual character before and after the switching of standing positions are symmetrical along a target axis line.

17. A virtual character control device, a screen display module for displaying a scene screen of a virtual scene, the virtual scene including at least one virtual character; a controller display module for displaying a position controller on the scene screen; a standing position adjustment module for adjusting a standing position of a target virtual character based on a target adjustment method in response to receiving a trigger operation on the standing position control controller, wherein at least one of the target adjustment method and the target virtual character is determined based on a customization operation by a user, and the target virtual character belongs to the at least one virtual character; A virtual character control device including:

18. A computing device including a processor and a memory, A computer device, wherein the memory stores at least one computer program, the at least one computer program being loaded and executed by a processor to realize a virtual character control method according to any one of claims 1 to 13.

19. A computer program comprising: The computer program includes at least one computer program, the computer program being loaded and executed by a processor to realize a virtual character control method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Virtual image display method and device of virtual object, equipment and storage medium

    CN111462307A

  • Interaction method and device based on virtual scene, computer equipment and storage medium

    CN112891944A

  • Game display control method and device

    CN113101660A

  • Gaming interface and systems and methods for providing same

    US20210213361A1