Disclosure of Invention
The embodiment of the application provides an information processing method, an information processing device, a computer device and a storage medium, wherein after a target team and team editing operation are determined, virtual characters to be edited are selectively determined, and finally, the virtual characters are edited for the target team based on the virtual characters to be edited and the team editing operation and the target team, so that the operation steps of team editing can be simplified, the operation efficiency of players in game versus war is improved, the game playing method is enriched, and the interest of the game is improved.
The embodiment of the application provides an information processing method, which comprises the following steps:
displaying a game interface, wherein the game interface is used for displaying a virtual scene, a virtual character positioned in the virtual scene and at least one team editing control;
displaying a plurality of team editing function controls on the game interface in response to team editing operations directed at a target team editing control, each team editing function control corresponding to a team editing operation;
when determining operation of a target team editing function control in the plurality of team editing function controls is detected, determining the target team editing function control;
responding to virtual character selection operation aiming at the game interface, and determining a virtual character to be edited of the game interface;
and performing virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control.
Optionally, the target team editing function control is a role newly-added control;
the performing virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control comprises:
and adding the virtual character to be edited to a target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the character newly-added control.
Optionally, the adding the virtual character to be edited to the target team corresponding to the target team editing control includes:
acquiring a target number identification of the target team;
and adding the target number identification for the virtual role to be edited.
Optionally, the target team editing function control is a role deletion control;
the performing virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control comprises:
and deleting the virtual character to be edited from the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the character deleting control.
Optionally, the deleting the virtual character to be edited from the target team corresponding to the target team editing control includes:
acquiring a serial number identifier of the virtual role to be edited, wherein the serial number identifier is used for indicating a team where the virtual role to be edited is located;
and deleting the serial number identification corresponding to the virtual role to be edited.
Optionally, the target team editing function control is a team reprogramming control;
the performing virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control comprises:
determining whether an initial virtual role exists in a target team corresponding to the target team editing function control;
and if so, deleting all initial virtual characters in the target team from the target team based on the virtual character to be edited and the team editing operation corresponding to the team reprogramming control, and adding the virtual character to be edited to the target team.
Optionally, the determining, in response to the virtual character selection operation for the game interface, a virtual character to be edited of the game interface includes:
responding to touch operation of the game interface, and generating a character selection area on the game interface;
and determining the virtual character to be edited based on the character selection area.
Optionally, the generating a character selection area on the game interface in response to the touch operation on the game interface includes:
determining a first position on the game interface in response to a first click operation on the game interface;
determining a second position on the game interface in response to a second click operation on the game interface;
and generating a role selection area by taking the first position and the second position as rectangular opposite angles.
Optionally, the generating a character selection area on the game interface in response to the touch operation on the game interface includes:
determining a third position on the game interface in response to a pressing operation for the game interface;
determining a sliding track on the game interface in response to a sliding operation for the game interface;
generating a character selection area based on the sliding trajectory in response to a release operation for a third position of the game interface.
Optionally, a size adjustment control is arranged in the role selection area; after the character selection area is generated on the game interface, the method further comprises the following steps:
generating a processing instruction in response to a triggering operation for the resizing control, wherein the processing instruction comprises: a size adjustment parameter;
and adjusting the area size data corresponding to the role selection area according to the size adjustment parameter so as to adjust the size of the role selection area.
Optionally, after determining the virtual character to be edited based on the character selection area, the method further includes:
acquiring the number of all the roles of the virtual roles to be edited in the role selection area;
and generating a quantity identifier based on the number of the roles, and displaying the quantity identifier in the role selection area.
Optionally, after determining the virtual character to be edited based on the character selection area, the method further includes:
acquiring the role categories of all virtual roles to be edited in the role selection area and the number of roles corresponding to each role category;
and generating role category identification and quantity identification based on the role categories and the role quantities corresponding to the role categories, and displaying the role category identification and the quantity identification in the role selection area.
Optionally, the team editing operation is a sliding operation with the target team editing control as a sliding starting point, and the displaying a plurality of team editing function controls on the game interface includes:
displaying a plurality of team editing function controls on the game interface according to the sliding end point of the team editing operation;
the team editing operation and the determining operation are respectively completed by different touch media, and the virtual character selecting operation is a sliding operation continuous to the determining operation;
the determining the virtual character to be edited of the game interface in response to the virtual character selection operation for the game interface comprises:
and generating a role selection area on the game interface based on the position of the target team editing function control and the sliding end point of the virtual role selection operation, and determining the virtual role to be edited based on the role selection area.
Correspondingly, an embodiment of the present application further provides an information processing apparatus, including:
the game system comprises a display unit, a processing unit and a control unit, wherein the display unit is used for displaying a game interface, the game interface is used for displaying a virtual scene, a virtual character positioned in the virtual scene and at least one team editing control;
the first response unit is used for responding to team editing operation aiming at the target team editing control, displaying a plurality of team editing function controls on the game interface, wherein each team editing function control corresponds to one team editing operation;
a determination unit configured to determine a target team editing function control among the plurality of team editing function controls when a determination operation on the target team editing function control is detected;
the second response unit is used for responding to virtual character selection operation aiming at the game interface and determining a virtual character to be edited of the game interface;
and the editing unit is used for editing the virtual character of the target team corresponding to the target team editing control on the basis of the virtual character to be edited and the team editing operation corresponding to the target team editing function control.
In some embodiments, the apparatus further comprises:
and a first adding unit, configured to add the virtual character to be edited to a target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the character newly-added control.
In some embodiments, the apparatus further comprises:
a first acquisition unit, configured to acquire a target number identifier of the target team;
and the second adding unit is used for adding the target number identification to the virtual role to be edited.
In some embodiments, the apparatus further comprises:
and the first processing unit is used for deleting the virtual character to be edited from the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the character deletion control.
In some embodiments, the apparatus further comprises:
a second obtaining unit, configured to obtain a number identifier of the virtual character to be edited, where the number identifier is used to indicate a team where the virtual character to be edited is located;
and the second processing unit is used for deleting the serial number identification corresponding to the virtual role to be edited.
In some embodiments, the apparatus further comprises:
in some embodiments, the determining unit is further configured to:
determining whether an initial virtual role exists in a target team corresponding to the target team editing function control;
and if so, deleting all initial virtual characters in the target team from the target team based on the virtual character to be edited and the team editing operation corresponding to the team reprogramming control, and adding the virtual character to be edited to the target team.
In some embodiments, the apparatus further comprises:
a third response unit, configured to generate a character selection area on the game interface in response to a touch operation on the game interface;
a first sub-determination unit, configured to determine the virtual character to be edited based on the character selection area.
In some embodiments, the apparatus further comprises:
a fourth response unit for determining a first position on the game interface in response to a first click operation for the game interface;
a fifth response unit, configured to determine a second position on the game interface in response to a second click operation on the game interface;
and the first generating unit is used for generating a role selection area by taking the first position and the second position as rectangular opposite angles.
In some embodiments, the apparatus further comprises:
a sixth response unit configured to determine a third position on the game interface in response to a pressing operation for the game interface;
a seventh response unit configured to determine a slide trajectory on the game interface in response to a slide operation for the game interface;
an eighth responding unit configured to generate a character selection area based on the sliding trajectory in response to a release operation for a third position of the game interface.
In some embodiments, the apparatus further comprises:
a ninth response unit, configured to generate a processing instruction in response to a trigger operation for the resizing control, where the processing instruction includes: a size adjustment parameter;
and the adjusting unit is used for adjusting the area size data corresponding to the role selection area according to the size adjusting parameter so as to adjust the size of the role selection area.
In some embodiments, the apparatus further comprises:
the second obtaining unit is used for obtaining the number of all the roles of the virtual roles to be edited in the role selection area;
and the third display unit is used for generating a quantity identifier based on the role quantity and displaying the quantity identifier in the role selection area.
In some embodiments, the apparatus further comprises:
a third obtaining unit, configured to obtain the role categories of all virtual roles to be edited in the role selection area and the number of roles corresponding to each role category;
and the fourth display unit is used for generating role category identification and quantity identification based on the role categories and the role quantities corresponding to the role categories, and displaying the role category identification and the quantity identification in the role selection area.
In some embodiments, the apparatus further comprises:
and the fourth response unit is used for generating a role selection area on the game interface based on the position of the target team editing function control and the sliding end point of the virtual role selection operation, and determining the virtual role to be edited based on the role selection area.
Accordingly, an embodiment of the present application further provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements the steps of any one of the information processing methods.
Correspondingly, an embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any one of the information processing methods.
The embodiment of the application provides an information processing method, an information processing device, a computer device and a storage medium, wherein after a target team and team editing operation are determined, virtual characters to be edited are selectively determined, and finally, the virtual characters are edited for the target team based on the virtual characters to be edited and the team editing operation and the target team, so that the operation steps of team editing can be simplified, the operation efficiency of players in game versus war is improved, the game playing method is enriched, and the interest of the game is improved.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an information processing method, an information processing device, computer equipment and a storage medium. Specifically, the information processing method of the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server or other devices. The terminal may be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like, and may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform.
For example, when the information processing method is operated on a terminal, the terminal device stores a game application and is used for presenting a virtual scene in a game screen. The terminal device is used for interacting with a user through a graphical user interface, for example, downloading and installing a game application program through the terminal device and running the game application program. The manner in which the terminal device provides the graphical user interface to the user may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device or presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a graphical user interface including a game screen and receiving operation instructions generated by a user acting on the graphical user interface, and a processor for executing the game, generating the graphical user interface, responding to the operation instructions, and controlling display of the graphical user interface on the touch display screen.
For example, when the information processing method is executed on a server, a cloud game may be used. Cloud gaming refers to a gaming regime based on cloud computing. In the running mode of the cloud game, the running main body of the game application program and the game picture presenting main body are separated, and the storage and the running of the sound processing method are finished on the cloud game server. The game screen presentation is performed at a cloud game client, which is mainly used for receiving and sending game data and presenting the game screen, for example, the cloud game client may be a display device with a data transmission function near a user side, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, and the like, but a terminal device for performing game data processing is a cloud game server at the cloud end. When a game is played, a user operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the cloud game client through a network, and finally the data are decoded through the cloud game client and the game pictures are output.
Referring to fig. 1, fig. 1 is a schematic view of a scenario of an information processing system according to an embodiment of the present disclosure. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to servers of different games through a network. A terminal is any device having computing hardware capable of supporting and executing a software product corresponding to a game. In addition, the terminal has one or more multi-touch sensitive screens for sensing and obtaining input of a user through a touch or slide operation performed at a plurality of points of one or more touch display screens. In addition, when the system includes a plurality of terminals, a plurality of servers, and a plurality of networks, different terminals may be connected to each other through different networks and through different servers. The network may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals may be connected to other terminals or to a server using their own bluetooth network or hotspot network. For example, multiple users may be online through different terminals to connect and synchronize with each other over a suitable network to support multiplayer gaming. Additionally, the system may include a plurality of databases coupled to different servers and in which information relating to the gaming environment may be stored continuously as different users play the multiplayer game online.
The embodiment of the application provides an information processing method, which can be executed by a terminal or a server. The embodiment of the present application is described as an example of terminal implementation. The terminal comprises a touch display screen and a processor, wherein the touch display screen is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. When a user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal through responding to the received operation instruction, and can also control the content of the opposite-end server through responding to the received operation instruction. For example, the operation instruction generated by the user acting on the graphical user interface comprises an instruction for starting a game application, and the processor is configured to start the game application after receiving the instruction provided by the user for starting the game application. Further, the processor is configured to render and draw a graphical user interface associated with the game on the touch display screen. A touch display screen is a multi-touch sensitive screen capable of sensing a touch or slide operation performed at a plurality of points on the screen at the same time. The user uses a finger to perform touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, different virtual objects in the graphical user interface of the game are controlled to perform actions corresponding to the touch operation. For example, the game may be any one of a leisure game, an action game, a role-playing game, a strategy game, a sports game, a game of chance, and the like. Wherein the game may include a virtual scene of the game drawn on a graphical user interface. Further, one or more virtual objects, such as virtual characters, controlled by the user (or player) may be included in the virtual scene of the game. Additionally, one or more obstacles, such as railings, ravines, walls, etc., may also be included in the virtual scene of the game to limit movement of the virtual objects, e.g., to limit movement of one or more objects to a particular area within the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, points, character health, energy, etc., to provide assistance to the player, provide virtual services, increase points related to player performance, etc. In addition, the graphical user interface may also present one or more indicators to provide instructional information to the player. For example, a game may include a player-controlled virtual object and one or more other virtual objects (such as an enemy character). In one embodiment, one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects may be computer controlled, such as a robot using Artificial Intelligence (AI) algorithms, to implement a human-machine fight mode. For example, the virtual objects possess various skills or capabilities that the game player uses to achieve the goal. For example, the virtual object possesses one or more weapons, props, tools, etc. that may be used to eliminate other objects from the game. Such skills or capabilities may be activated by a player of the game using one of a plurality of preset touch operations with a touch display screen of the terminal. The processor may be configured to present a corresponding game screen in response to an operation instruction generated by a touch operation of a user.
It should be noted that the scene schematic diagram of the information processing system shown in fig. 1 is only an example, and the information processing method and the scene described in the embodiment of the present application are for more clearly explaining the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and it is known by a person skilled in the art that the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
In view of the above problems, embodiments of the present application provide an information processing method, an information processing apparatus, a computer device, and a storage medium, which are described in detail below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment of the present application provides an information processing method, which may be executed by a terminal or a server, and is described as an example in which the information processing method is executed by the terminal.
Referring to fig. 2, fig. 2 is a schematic flow chart of an information processing method according to an embodiment of the present application, and the specific flow may include the followingsteps 101 to 105:
and 101, displaying a game interface, wherein the game interface is used for displaying a virtual scene, a virtual character positioned in the virtual scene and at least one team editing control.
The computer device can render and generate a game interface on a touch display screen of the computer device with the touch display screen by executing a game application program, so that a virtual scene, a virtual character and a plurality of function controls are displayed on the game interface.
In the embodiment of the application, a virtual scene is displayed on the game interface, and the virtual scene is a virtual environment displayed (or provided) when an application program runs on the terminal. The virtual environment may be a simulation environment of a real world, a semi-simulation semi-fictional three-dimensional environment, or a pure fictional three-dimensional environment. The virtual environment is used for virtual environment engagement between at least two virtual characters, and virtual resources available for the at least two virtual characters are arranged in the virtual environment. A virtual scene is displayed in the game interface, one or more virtual characters are displayed in the virtual scene, and the virtual character may be a virtual character of a first camp that can be controlled by a player or a virtual character of a second camp that can be controlled by other players, where the first camp and the second camp are enemy camps, which is exemplified here and not limited.
A virtual character refers to an active object in a virtual environment. A virtual character refers to a virtual object in a game controlled by a user or a player through a terminal. In the application, the virtual role can be a single soldier, hero or other single individual, and can also be a set of single individuals such as army, army and the like.
For example, please refer to fig. 3, fig. 3 is a schematic view of a scene of an information processing method provided in the present application. As shown in fig. 3, a virtual scene is displayed in the game interface, and one or more virtual characters and a plurality of team editing controls are displayed in the virtual scene.
And 102, responding to team editing operation aiming at the target team editing control, and displaying a plurality of team editing function controls on the game interface, wherein each team editing function control corresponds to one team editing operation.
For example, referring to fig. 4, in response to a team editing operation directed to a target team editing control, a list of controls may be presented on the game interface, in which a plurality of team editing function controls are arranged in sequence. Alternatively, referring to fig. 5, the touch operation of the player on the target team editing control on the game interface may be determined, the touch position may be determined, and the plurality of team editing function controls may be displayed on the game interface around the touch position with the touch position as the center.
In one embodiment, the team editing operation is a sliding operation with the target team editing control as a sliding starting point, and the displaying a plurality of team editing function controls on the game interface includes: and displaying a plurality of team editing function controls on the game interface according to the sliding end point of the team editing operation.
When the team editing operation is a slide operation with the target team editing control as a slide start point, the team editing function control may be displayed in the vicinity of the slide end point of the team editing operation so that the user performs the selection operation of the virtual character in the next step.
103, when the determination operation of the target team editing function control in the plurality of team editing function controls is detected, determining the target team editing function control.
In one embodiment, the player may select a target team editing function control by touching the target team editing function control on the game interface.
It should be noted that the triggering operation in the embodiment of the present application may be an operation performed on the game interface by the user through the touch display screen, for example, a touch operation generated by the user clicking or touching the game interface with a finger. The trigger operation generated by clicking on the game interface by controlling a mouse button by the user may also be, for example, the trigger operation generated by clicking on the game interface by pressing a middle mouse button by the user.
And 104, responding to the virtual character selection operation aiming at the game interface, and determining the virtual character to be edited of the game interface.
In one embodiment, the step "determining a virtual character to be edited of the game interface in response to a virtual character selection operation for the game interface" may include:
responding to touch operation of the game interface, and generating a character selection area on the game interface;
and determining the virtual character to be edited based on the character selection area.
Optionally, the step "generating a character selection area on the game interface in response to a touch operation on the game interface" may include:
determining a first position on the game interface in response to a first click operation on the game interface;
determining a second position on the game interface in response to a second click operation on the game interface;
and generating a role selection area by taking the first position and the second position as rectangular opposite angles.
In order to enable a player to generate a character selection area in a personalized manner, the method may include:
determining a third position on the game interface in response to a pressing operation for the game interface;
determining a sliding track on the game interface in response to a sliding operation for the game interface;
generating a character selection area based on the sliding trajectory in response to a release operation for a third position of the game interface.
In one embodiment, the team editing operation is a sliding operation with the target team editing control as a sliding starting point, and the displaying a plurality of team editing function controls on the game interface includes: displaying a plurality of team editing function controls on the game interface according to the sliding end point of the team editing operation; the team editing operation and the determining operation are respectively completed by different touch media, and the virtual character selecting operation is a sliding operation continuous to the determining operation; the determining the virtual character to be edited of the game interface in response to the virtual character selection operation for the game interface comprises: and generating a role selection area on the game interface based on the position of the target team editing function control and the sliding end point of the virtual role selection operation, and determining the virtual role to be edited based on the role selection area.
In this embodiment, the team editing operation and the determining operation are respectively completed by different touch media, the team editing operation is a sliding operation with the target team editing control as a sliding starting point, and a plurality of team editing function controls are displayed on the game interface according to an end point of the sliding operation. Through the team editing operation, the user can select the display position of the team editing function control on the game interface so as to perform the determining operation and the virtual character selecting operation in the next step. The determining operation and the team editing operation are respectively performed by different touch media, for example, by the left hand and the right hand of the user, or by different fingers of one hand of the user. The virtual character selection operation is a sliding operation that is continuous with the determination operation, and for example, after the user invokes the team editing function control by performing the team editing operation with the right thumb, the determination operation is performed by pressing the target team editing function control with the left thumb, and the virtual character selection operation is performed by sliding the left thumb without leaving the screen. And finally, performing frame selection on the game interface to form a role selection area according to the position of the target team editing function control and the sliding end point of the virtual role selection operation, so as to determine the virtual role in the role selection area as the virtual role to be edited.
In order to enable the player to autonomously select the size of the character selection area, a size adjustment control is provided in the character selection area. Specifically, after the step "generating a character selection area on the game interface", the method may include:
generating a processing instruction in response to a triggering operation for the resizing control, wherein the processing instruction comprises: a size adjustment parameter;
and adjusting the area size data corresponding to the role selection area according to the size adjustment parameter so as to adjust the size of the role selection area.
In order to enable the player to intuitively know the number of virtual characters to be edited when editing the team, so as to better perform tactical adjustment, after the step of "determining the virtual character to be edited based on the character selection area", the method further comprises:
acquiring the number of all the roles of the virtual roles to be edited in the role selection area;
and generating a quantity identifier based on the number of the roles, and displaying the quantity identifier in the role selection area.
Further, after the step of "determining the virtual character to be edited based on the character selection area", the method may include:
acquiring the role categories of all virtual roles to be edited in the role selection area and the number of roles corresponding to each role category;
and generating role category identification and quantity identification based on the role categories and the role quantities corresponding to the role categories, and displaying the role category identification and the quantity identification in the role selection area.
Optionally, a plurality of character selection controls are further displayed on the game interface, wherein each character selection control corresponds to a character selection operation. The step of determining a virtual character to be edited of the game interface in response to the virtual character selection operation for the game interface may include:
and responding to the selection operation of a target role selection control in the plurality of role selection controls, and determining a virtual role to be edited in the game interface based on the role selection operation corresponding to the target role selection space.
And 105, performing virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control.
In one embodiment, the target team editing function control can be a new control for the role. The method comprises the following steps of performing virtual character editing on a target team corresponding to the target team editing control on the basis of the virtual character to be edited and team editing operation corresponding to the target team editing function control, wherein the method comprises the following steps:
and adding the virtual character to be edited to a target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the character newly-added control.
Specifically, the step of "adding the virtual character to be edited to the target team corresponding to the target team editing control", may include:
acquiring a target number identification of the target team;
and adding the target number identification for the virtual role to be edited.
To enable player-subtractive operations on a gaming team, a target team editing function control may be a character subtractive control. The method comprises the following steps of performing virtual character editing on a target team corresponding to the target team editing control on the basis of the virtual character to be edited and team editing operation corresponding to the target team editing function control, wherein the method comprises the following steps:
and deleting the virtual character to be edited from the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the character deleting control.
Specifically, the step of "deleting the virtual character to be edited from the target team corresponding to the target team editing control" may include:
acquiring a serial number identifier of the virtual role to be edited, wherein the serial number identifier is used for indicating a team where the virtual role to be edited is located;
and deleting the serial number identification corresponding to the virtual role to be edited.
In another embodiment, the target team editing function control may be team reprogramming controls. The method comprises the following steps of performing virtual character editing on a target team corresponding to the target team editing control on the basis of the virtual character to be edited and team editing operation corresponding to the target team editing function control, wherein the method comprises the following steps:
determining whether an initial virtual role exists in a target team corresponding to the target team editing function control;
and if so, deleting all initial virtual characters in the target team from the target team based on the virtual character to be edited and the team editing operation corresponding to the team reprogramming control, and adding the virtual character to be edited to the target team.
Optionally, the target team editing function control may be a team reprogramming control. When the triggering operation aiming at the team reprogramming control is detected, whether an initial virtual role exists in a target team corresponding to the target team editing control is determined, if so, all the initial virtual roles in the target team are deleted from the target team based on the virtual roles to be edited and the team editing operation corresponding to the team reprogramming control.
In summary, the embodiments of the present application provide an information processing method, which can simplify the team editing operation steps, improve the operation efficiency of players during the battle of a game, enrich the game playing method, and improve the interest of the game by determining a target team and the team editing operation, then selectively determining a virtual character to be edited, and finally performing virtual character editing on the target team based on the virtual character to be edited and the team editing operation.
Based on the above description, the information processing method of the present application will be further described below by way of example. For example, as shown in fig. 6, taking a specific implementation scenario of a touch operation generated on a terminal by a user using a finger as an example, a specific implementation scenario of the scenario is as follows:
(1) after a user logs in a game at a terminal (a mobile phone end), the terminal displays a virtual scene on a game interface, wherein the virtual scene, two virtual characters in the virtual scene and a team editing control are displayed in the game scene. When the terminal detects that a user clicks a team editing control on a game interface through fingers to generate touch operation on the team editing control, the terminal responds to the touch operation on the team editing control to display a plurality of team editing function controls on the game interface, each team editing function control corresponds to one team editing operation, and the team editing controls comprise an 'increasing' control, a 'decreasing' control and a're-programming' control.
(2) The user can perform touch operation on team editing function controls on a game interface displayed by the terminal through fingers, and when determining operation of an additional control in the team editing function controls is detected, the additional control is determined to be a target team editing function control.
(3) And the terminal responds to the touch operation of the game interface and generates a role selection area on the game interface. Specifically, the user may perform a first click operation at a first position on the game interface, and the emphasis may determine the first position on the game interface in response to the first click operation on the game interface; the user may perform a second click operation at a second location on the game interface, and the terminal may determine the second location on the game interface in response to the second click operation with respect to the game interface. Then, the terminal may generate a character selection area by using the first position and the second position as rectangular opposite angles, and at this time, the two virtual characters located in the character selection area are to-be-edited virtual characters.
(4) The terminal can edit the virtual character of the target team corresponding to the editing control of the target team based on the virtual character to be edited and the team editing operation corresponding to the editing function control of the target team. At this time, the target team editing control is an "additional member" control, the virtual character to be edited and the team editing operation corresponding to the character newly-added control add the virtual character to be edited to the target team corresponding to the target team editing control, and the number of virtual characters in the current team is displayed in the team editing control, and at this time, the number of virtual characters in the team a is 2.
Based on the above description, the information processing method of the present application will be further described below by way of example. For example, as shown in fig. 7, taking a specific implementation scenario of a touch operation generated on a terminal by a user using a finger as an example, a specific implementation scenario of the scenario is as follows:
(1) after a user logs in a game at a terminal (a mobile phone end), the terminal displays a virtual scene on a game interface, wherein the virtual scene, two virtual characters in the virtual scene and a team editing control are displayed in the game scene. When the terminal detects that a user clicks a team editing control on a game interface through fingers to generate touch operation on the team editing control, the terminal responds to the touch operation on the team editing control to display a plurality of team editing function controls on the game interface, each team editing function control corresponds to one team editing operation, and the team editing controls comprise an 'increasing' control, a 'decreasing' control and a're-programming' control.
(2) The user can perform touch operation on team editing function controls on a game interface displayed by the terminal through fingers, and when the determining operation of a 'member reduction' control in the team editing function controls is detected, the 'member reduction' control is determined to be a target team editing function control.
(3) And the terminal responds to the touch operation of the game interface and generates a role selection area on the game interface. Specifically, the user may perform a first click operation at a first position on the game interface, and the emphasis may determine the first position on the game interface in response to the first click operation on the game interface; the user may perform a second click operation at a second location on the game interface, and the terminal may determine the second location on the game interface in response to the second click operation with respect to the game interface. Then, the terminal may generate a character selection area by using the first position and the second position as rectangular opposite angles, and at this time, the two virtual characters located in the character selection area are to-be-edited virtual characters.
(4) The terminal can edit the virtual character of the target team corresponding to the editing control of the target team based on the virtual character to be edited and the team editing operation corresponding to the editing function control of the target team. At this time, the target team editing control is a "staff-reduction" control, the virtual character to be edited is deleted from the target team corresponding to the target team editing control based on the team editing operation corresponding to the virtual character to be edited and the character newly-added control, and the number of virtual characters in the current team is displayed in the team editing control, and at this time, the number of virtual characters in the team a is 0.
In order to better implement the information processing method provided by the embodiment of the present application, the embodiment of the present application further provides an information processing apparatus based on the foregoing information processing method. The terms are the same as those in the above-described information processing method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 8, fig. 8 is a block diagram of an information processing apparatus according to an embodiment of the present disclosure, the apparatus including:
thefirst display unit 201 is configured to display a game interface, where the game interface is configured to display a virtual scene, and a virtual character and at least one team editing control located in the virtual scene;
afirst response unit 202, configured to display, on the game interface, a plurality of team editing function controls in response to a team editing operation for a target team editing control, where each team editing function control corresponds to a team editing operation;
a determiningunit 203 configured to determine a target team editing function control among the plurality of team editing function controls when a determination operation on the target team editing function control is detected;
asecond response unit 204, configured to determine, in response to a virtual character selection operation for the game interface, a virtual character to be edited of the game interface;
anediting unit 205, configured to perform virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control.
In some embodiments, the apparatus further comprises:
and a first adding unit, configured to add the virtual character to be edited to a target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the character newly-added control.
In some embodiments, the apparatus further comprises:
a first acquisition unit, configured to acquire a target number identifier of the target team;
and the second adding unit is used for adding the target number identification to the virtual role to be edited.
In some embodiments, the apparatus further comprises:
and the first processing unit is used for deleting the virtual character to be edited from the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the character deletion control.
In some embodiments, the apparatus further comprises:
a second obtaining unit, configured to obtain a number identifier of the virtual character to be edited, where the number identifier is used to indicate a team where the virtual character to be edited is located;
and the second processing unit is used for deleting the serial number identification corresponding to the virtual role to be edited.
In some embodiments, the apparatus further comprises:
in some embodiments, the determining unit is further configured to:
determining whether an initial virtual role exists in a target team corresponding to the target team editing function control;
and if so, deleting all initial virtual characters in the target team from the target team based on the virtual character to be edited and the team editing operation corresponding to the team reprogramming control, and adding the virtual character to be edited to the target team.
In some embodiments, the apparatus further comprises:
a third response unit, configured to generate a character selection area on the game interface in response to a touch operation on the game interface;
a first sub-determination unit, configured to determine the virtual character to be edited based on the character selection area.
In some embodiments, the apparatus further comprises:
a fourth response unit for determining a first position on the game interface in response to a first click operation for the game interface;
a fifth response unit, configured to determine a second position on the game interface in response to a second click operation on the game interface;
and the first generating unit is used for generating a role selection area by taking the first position and the second position as rectangular opposite angles.
In some embodiments, the apparatus further comprises:
a sixth response unit configured to determine a third position on the game interface in response to a pressing operation for the game interface;
a seventh response unit configured to determine a slide trajectory on the game interface in response to a slide operation for the game interface;
an eighth responding unit configured to generate a character selection area based on the sliding trajectory in response to a release operation for a third position of the game interface.
In some embodiments, the apparatus further comprises:
a ninth response unit, configured to generate a processing instruction in response to a trigger operation for the resizing control, where the processing instruction includes: a size adjustment parameter;
and the adjusting unit is used for adjusting the area size data corresponding to the role selection area according to the size adjusting parameter so as to adjust the size of the role selection area.
In some embodiments, the apparatus further comprises:
the second obtaining unit is used for obtaining the number of all the roles of the virtual roles to be edited in the role selection area;
and the third display unit is used for generating a quantity identifier based on the role quantity and displaying the quantity identifier in the role selection area.
In some embodiments, the apparatus further comprises:
a third obtaining unit, configured to obtain the role categories of all virtual roles to be edited in the role selection area and the number of roles corresponding to each role category;
and the fourth display unit is used for generating role category identification and quantity identification based on the role categories and the role quantities corresponding to the role categories, and displaying the role category identification and the quantity identification in the role selection area.
In some embodiments, the apparatus further comprises:
and the fourth response unit is used for generating a role selection area on the game interface based on the position of the target team editing function control and the sliding end point of the virtual role selection operation, and determining the virtual role to be edited based on the role selection area.
The embodiment of the application provides an information processing apparatus, wherein afirst display unit 201 displays a game interface, wherein the game interface is used for displaying a virtual scene, a virtual character positioned in the virtual scene and at least one team editing control; thefirst response unit 202 displays a plurality of team editing function controls on the game interface in response to team editing operations for the target team editing control, each team editing function control corresponding to a team editing operation; thedetermination unit 203 determines a target team editing function control among the plurality of team editing function controls when a determination operation on the target team editing function control is detected; thesecond response unit 204 is used for responding to the virtual character selection operation aiming at the game interface and determining the virtual character to be edited of the game interface; theediting unit 205 performs avatar editing on the target team corresponding to the target team editing control based on the to-be-edited avatar and the team editing operation corresponding to the target team editing function control. According to the method and the device for editing the virtual character, after the target team and the team editing operation are determined, the virtual character to be edited is selectively determined, and finally the virtual character to be edited and the team editing operation are performed on the basis of the virtual character to be edited and the team editing operation and the target team, so that the operation steps of the team editing can be simplified, the operation efficiency of players in the game fight can be improved, the game playing method is enriched, and the interest of the game is improved.
Correspondingly, the embodiment of the present application further provides a Computer device, where the Computer device may be a terminal or a server, and the terminal may be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like. As shown in fig. 9, fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present application. Thecomputer apparatus 300 includes aprocessor 301 having one or more processing cores, amemory 302 having one or more storage media, and a computer program stored on thememory 302 and executable on the processor. Theprocessor 301 is electrically connected to thememory 302. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
Theprocessor 301 is a control center of thecomputer apparatus 300, connects various parts of theentire computer apparatus 300 by various interfaces and lines, performs various functions of thecomputer apparatus 300 and processes data by running or loading software programs and/or modules stored in thememory 302, and calling data stored in thememory 302, thereby monitoring thecomputer apparatus 300 as a whole.
In the embodiment of the present application, theprocessor 301 in thecomputer device 300 loads instructions corresponding to processes of one or more application programs into thememory 302, and theprocessor 301 executes the application programs stored in thememory 302 according to the following steps, so as to implement various functions:
displaying a game interface, wherein the game interface is used for displaying a virtual scene, a virtual character positioned in the virtual scene and at least one team editing control;
displaying a plurality of team editing function controls on the game interface in response to team editing operations directed at a target team editing control, each team editing function control corresponding to a team editing operation;
when determining operation of a target team editing function control in the plurality of team editing function controls is detected, determining the target team editing function control;
responding to virtual character selection operation aiming at the game interface, and determining a virtual character to be edited of the game interface;
and performing virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 9, thecomputer device 300 further includes: atouch display 303, aradio frequency circuit 304, anaudio circuit 305, aninput unit 306, and apower source 307. Theprocessor 301 is electrically connected to thetouch display 303, theradio frequency circuit 304, theaudio circuit 305, theinput unit 306, and thepower source 307. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 9 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
Thetouch display screen 303 may be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. Thetouch display screen 303 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 301, and can receive and execute commands sent by theprocessor 301. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to theprocessor 301 to determine the type of the touch event, and then theprocessor 301 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into thetouch display screen 303 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, thetouch display screen 303 may also be used as a part of theinput unit 306 to implement an input function.
In the present embodiment, a graphical user interface is generated on the touch-sensitive display screen 303 by theprocessor 301 executing a game application. Thetouch display screen 303 is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface.
Therf circuit 304 may be used for transceiving rf signals to establish wireless communication with a network device or other computer device via wireless communication, and for transceiving signals with the network device or other computer device.
Theaudio circuit 305 may be used to provide an audio interface between the user and the computer device through speakers, microphones. Theaudio circuit 305 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by theaudio circuit 305 and converted into audio data, which is then processed by the audiodata output processor 301, and then transmitted to, for example, another computer device via theradio frequency circuit 304, or output to thememory 302 for further processing. Theaudio circuit 305 may also include an earbud jack to provide communication of a peripheral headset with the computer device.
Theinput unit 306 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
Thepower supply 307 is used to power the various components of thecomputer device 300. Optionally, thepower supply 307 may be logically connected to theprocessor 301 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system.Power supply 307 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 9, thecomputer device 300 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the computer device provided in this embodiment displays a game interface, where the game interface is used to display a virtual scene, a virtual character located in the virtual scene, and at least one team editing control; displaying a plurality of team editing function controls on the game interface in response to team editing operations directed at a target team editing control, each team editing function control corresponding to a team editing operation; when determining operation of a target team editing function control in the plurality of team editing function controls is detected, determining the target team editing function control; responding to virtual character selection operation aiming at the game interface, and determining a virtual character to be edited of the game interface; and performing virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control. According to the method and the device for editing the virtual character, after the target team and the team editing operation are determined, the virtual character to be edited is selectively determined, and finally the virtual character to be edited and the team editing operation are performed on the basis of the virtual character to be edited and the team editing operation and the target team, so that the operation steps of the team editing can be simplified, the operation efficiency of players in the game fight can be improved, the game playing method is enriched, and the interest of the game is improved.
It will be understood by those of ordinary skill in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, and the instructions may be stored in a storage medium (e.g., a computer readable storage medium) and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute the steps in any one of the information processing methods provided by the embodiments of the present application. For example, the computer program may perform the steps of:
displaying a game interface, wherein the game interface is used for displaying a virtual scene, a virtual character positioned in the virtual scene and at least one team editing control;
displaying a plurality of team editing function controls on the game interface in response to team editing operations directed at a target team editing control, each team editing function control corresponding to a team editing operation;
when determining operation of a target team editing function control in the plurality of team editing function controls is detected, determining the target team editing function control;
responding to virtual character selection operation aiming at the game interface, and determining a virtual character to be edited of the game interface;
and performing virtual character editing on the target team corresponding to the target team editing control based on the virtual character to be edited and the team editing operation corresponding to the target team editing function control.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any information processing method provided in the embodiments of the present application, the beneficial effects that can be achieved by any information processing method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The foregoing describes in detail an information processing method, an information processing apparatus, a computer device, and a storage medium provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principles and implementations of the present application, and the description of the foregoing embodiments is only used to help understand the technical solutions and core ideas of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.