CN110384933B - Deployment control method and device for virtual objects in game - Google Patents

Deployment control method and device for virtual objects in game Download PDF

Info

Publication number
CN110384933B
CN110384933B CN201910792174.9A CN201910792174A CN110384933B CN 110384933 B CN110384933 B CN 110384933B CN 201910792174 A CN201910792174 A CN 201910792174A CN 110384933 B CN110384933 B CN 110384933B
Authority
CN
China
Prior art keywords
virtual object
deployment
game
game client
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910792174.9A
Other languages
Chinese (zh)
Other versions
CN110384933A (en
Inventor
饶峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910792174.9A priority Critical patent/CN110384933B/en
Publication of CN110384933A publication Critical patent/CN110384933A/en
Application granted granted Critical
Publication of CN110384933B publication Critical patent/CN110384933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/795Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for finding other players; for building a team; for providing a buddy list
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/847Cooperative playing, e.g. requiring coordinated actions from several players to achieve a common goal
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • A63F13/87Communicating with other players during game play, e.g. by e-mail or chat

Landscapes

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

Abstract

The application provides a deployment control method and device of virtual objects in a game, which are applied to a first game client, wherein the method comprises the following steps: responding to virtual object selection operation, and determining a virtual object to be deployed; responding to the pre-deployment operation aiming at the virtual object, determining pre-deployment information of the virtual object, and synchronizing the pre-deployment information of the virtual object to the second game client so that the second game client displays a pre-deployment picture of the virtual object according to the pre-deployment information; wherein the second game client is in the same group as the first game client; responding to deployment determining operation of pre-deployment information of the virtual object, determining deployment information of the virtual object, and synchronizing the deployment information to the second game client and the third game client; wherein the third game client is in a different group than the first game client. The application can improve the communication efficiency between the same groups.

Description

Deployment control method and device for virtual objects in game
Technical Field
The application relates to the technical field of data processing, in particular to a deployment control method and device for virtual objects in games.
Background
In some games, such as the Real-time strategy game (Real-Time Strategy Game, RTS), in which multiple persons cooperate, users form teams by matching teammates and fight against other teams.
In the fight process of the RTS game, teammates in the same battle team generally need to exchange fight layout information, and the fight team of the opponent can be won to obtain win through the mutual coordination of strategic layout. At present, teammates in the same team usually communicate with each other through voice or text so as to know the fight layout information of the teammates.
However, the voice communication and the text communication are not easy to clearly describe the fight layout information of the user, so that the communication efficiency is low.
Disclosure of Invention
Accordingly, the present application is directed to a method and apparatus for controlling deployment of virtual objects in a game, which can improve communication efficiency between the same groups by synchronizing pre-deployment information to users in the same group.
In a first aspect, an embodiment of the present application provides a deployment control method of a virtual object in a game, applied to a first game client, where the deployment control method includes:
responding to virtual object selection operation, and determining a virtual object to be deployed;
Responding to the pre-deployment operation aiming at the virtual object, determining pre-deployment information of the virtual object, and synchronizing the pre-deployment information of the virtual object to a second game client so that the second game client displays a pre-deployment picture of the virtual object according to the pre-deployment information; wherein the second game client is in the same group as the first game client;
responding to deployment determining operation of pre-deployment information of the virtual object, determining the deployment information of the virtual object, and synchronizing the deployment information to a second game client and a third game client; wherein the third game client is in a different group than the first game client.
In an alternative embodiment, after synchronizing the pre-deployment information of the virtual object to a second game client, the method further comprises:
responding to the change of the pre-deployment operation, and determining updated pre-deployment information after the change;
and synchronizing the update pre-deployment information to the second game client so that the second game client displays an update pre-deployment picture of the virtual object according to the update pre-deployment information.
In an alternative embodiment, after determining the pre-deployment information of the virtual object, the method further comprises:
in the first game client, generating a pre-deployment picture of the virtual object according to the pre-deployment information of the virtual object;
and displaying a pre-deployment picture of the virtual object.
In an alternative embodiment, the method further comprises:
and canceling the display of the pre-deployment picture of the virtual object in response to the end of the pre-deployment operation, and controlling the second game client to cancel the display of the pre-deployment picture of the virtual object synchronously.
In an alternative embodiment, the determining the virtual object to be deployed in response to the virtual object selection operation includes:
responding to a selection operation aiming at a virtual object selection control, and determining a virtual object corresponding to the virtual object selection control as a virtual object to be deployed;
and/or the number of the groups of groups,
and responding to the selection operation of the virtual objects in the game scene, and determining the selected virtual objects in the game scene as the virtual objects to be deployed.
In an alternative embodiment, the selecting operation includes at least one of:
Touch click operation; and (5) touch sliding operation.
In an alternative embodiment, the method further comprises:
and responding to deployment determining operation of pre-deployment information of the virtual object, and hiding the displayed virtual object selection control.
In an alternative embodiment, after hiding the displayed virtual object selection control, the method further comprises:
responding to touch click operation of a prompt button displayed for a first preset area, and displaying the virtual object selection control;
canceling the display of the deployment information of the virtual object, and controlling the second game client to cancel the display of the deployment information of the virtual object synchronously.
In an alternative embodiment, after hiding the displayed virtual object selection control, the method further comprises:
responding to the first operation in the second preset area, and displaying prompt information; the prompt information is used for prompting a second operation of redisplaying the virtual object selection control;
responding to the second operation, and displaying the virtual object selection control;
canceling the display of the deployment information of the virtual object, and controlling the second game client to cancel the display of the deployment information of the virtual object synchronously.
In an alternative embodiment, the displaying the virtual object selection control includes:
and displaying the virtual object selection control in the determined virtual object selection area.
In an alternative implementation manner, after the first game client is started, rendering a game scene corresponding to the first game client on a display screen corresponding to the first game client; the responding to the pre-deployment operation of the virtual object, determining pre-deployment information of the virtual object, including:
responding to a suspension operation in a suspension sensing area above a display screen corresponding to the first game client, and determining a first position of a suspension position mapping of the suspension operation in the game scene;
and generating pre-deployment information of the virtual object according to the first position and the virtual object.
In an alternative embodiment, the determining that the hover position of the hover operation maps to a first position in the game scene includes:
responding to touch sliding operation in a preset visual field area, and moving a game picture shielded by the virtual object selection control to a target area which is not shielded by the virtual object selection control;
Determining that a hover position of the hover operation maps to a first position of a game screen located within the target area.
In an alternative embodiment, the determining updated pre-deployment information after the change in response to the change in the pre-deployment operation includes:
responding to the movement of the levitation operation in the levitation sensing area, and acquiring a first updated position of the updated levitation position mapping of the levitation operation in the moving process in the game scene;
and generating updated pre-deployment information of the virtual object according to the first updating position and the virtual object.
In an alternative embodiment, the ending of the pre-deployment operation comprises: the hover operation exits the hover-sensing region.
In an alternative embodiment, the hover-sensing region above the display screen is detected by:
and responding to the suspension operation above the display screen, and if the distance between the suspension position of the suspension operation and the display screen is within a preset distance range, determining that the suspension operation is located in a suspension sensing area above the display screen.
In an alternative embodiment, the determining the deployment information of the virtual object in response to the deployment determining operation of the pre-deployment information of the virtual object includes:
And responding to touch operation at a second position mapped on the display screen at the first position, and generating deployment information of the virtual object according to the first position and the virtual object.
In an alternative embodiment, after determining the deployment information of the virtual object, the method further comprises:
at the first location, the virtual object is rendered.
In a second aspect, an embodiment of the present application further provides a deployment control apparatus for a virtual object in a game, where the deployment control apparatus includes:
the first determining module is used for responding to the virtual object selection operation and determining the virtual object to be deployed;
the second determining module is used for responding to the pre-deployment operation aiming at the virtual object and determining pre-deployment information of the virtual object;
the first sending module is used for synchronizing the pre-deployment information of the virtual object to a second game client so that the second game client displays a pre-deployment picture of the virtual object according to the pre-deployment information; wherein the second game client is in the same group as the first game client;
a third determining module, configured to determine deployment information of the virtual object in response to a deployment determining operation for pre-deployment information of the virtual object;
The second sending module is used for synchronizing the deployment information to the second game client and the third game client; wherein the third game client is in a different group than the first game client.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
a fourth determining module, configured to determine updated pre-deployment information after the pre-deployment information of the virtual object is synchronized to a second game client, in response to a change in the pre-deployment operation;
and synchronizing the update pre-deployment information to the second game client so that the second game client displays an update pre-deployment picture of the virtual object according to the update pre-deployment information.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
the first generation module is used for generating a pre-deployment picture of the virtual object according to the pre-deployment information of the virtual object after the pre-deployment information of the virtual object is determined;
and the first display module is used for displaying the pre-deployment picture of the virtual object.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
The first cancellation module is used for canceling the display of the pre-deployment picture of the virtual object in response to the end of the pre-deployment operation;
and the first control module is used for controlling the second game client to synchronously cancel the display of the pre-deployment picture of the virtual object.
In an alternative embodiment, the first determining module, when determining the virtual object to be deployed in response to the virtual object selection operation, includes:
responding to a selection operation aiming at a virtual object selection control, and determining a virtual object corresponding to the virtual object selection control as a virtual object to be deployed;
and/or the number of the groups of groups,
and responding to the selection operation of the virtual objects in the game scene, and determining the selected virtual objects in the game scene as the virtual objects to be deployed.
In an alternative embodiment, the selecting operation includes at least one of:
touch click operation; and (5) touch sliding operation.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
and the hiding module is used for responding to deployment determining operation of pre-deployment information of the virtual object and hiding the displayed virtual object selection control.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
the second display module is used for responding to touch click operation of a prompt button displayed for the first preset area after the virtual object selection control is displayed in a hidden mode, and displaying the virtual object selection control;
the second canceling module is used for canceling the deployment information of the virtual object;
and the second control module is used for controlling the second game client to synchronously cancel the display of the deployment information of the virtual object.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
the third display module is used for responding to the first operation positioned in the second preset area after the virtual object displayed in a hiding manner selects the control, and displaying prompt information; the prompt information is used for prompting a second operation of redisplaying the virtual object selection control;
the second display module is further used for responding to the second operation and displaying the virtual object selection control;
the third canceling module is used for canceling the deployment information of the virtual object;
and the third control module is used for controlling the second game client to synchronously cancel the display of the deployment information of the virtual object.
In an alternative embodiment, the second display module, when displaying the virtual object selection control, includes:
and displaying the virtual object selection control in the determined virtual object selection area.
In an alternative embodiment, after the deployment control device is started, rendering a game scene corresponding to the deployment control device through a display screen of the deployment control device; the second determining module, when determining the pre-deployment information of the virtual object in response to the pre-deployment operation for the virtual object, includes:
responding to a suspension operation in a suspension sensing area above a display screen corresponding to the deployment control device, and determining a first position of a suspension position mapping of the suspension operation in the game scene;
and generating pre-deployment information of the virtual object according to the first position and the virtual object.
In an alternative embodiment, the second determining module, when determining that the hover position of the hover operation maps to the first position in the game scene, includes:
responding to touch sliding operation in a preset visual field area, and moving a game picture shielded by the virtual object selection control to a target area which is not shielded by the virtual object selection control;
Determining that a hover position of the hover operation maps to a first position of a game screen located within the target area.
In an alternative embodiment, the fourth determining module, when determining updated pre-deployment information after the change in response to the change in the pre-deployment operation, includes:
responding to the movement of the levitation operation in the levitation sensing area, and acquiring a first updated position of the updated levitation position mapping of the levitation operation in the moving process in the game scene;
and generating updated pre-deployment information of the virtual object according to the first updating position and the virtual object.
In an alternative embodiment, the ending of the pre-deployment operation comprises: the hover operation exits the hover-sensing region.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
and the fifth determining module is used for responding to the floating operation above the display screen, and determining that the floating operation is located in a floating sensing area above the display screen if the distance between the floating position of the floating operation and the display screen is within a preset distance range.
In an alternative embodiment, the third determining module, when determining the deployment information of the virtual object in response to the deployment determining operation of the pre-deployment information of the virtual object, includes:
and responding to touch operation at a second position mapped on the display screen at the first position, and generating deployment information of the virtual object according to the first position and the virtual object.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
and the rendering module is used for rendering the virtual object at the first position after determining the deployment information of the virtual object.
In a third aspect, an embodiment of the present application further provides an electronic device, including: the system comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the electronic device runs, the processor and the storage medium are communicated through the bus, and the processor executes the machine-readable instructions to execute the steps of the deployment control method of the virtual object in the game.
In a fourth aspect, an embodiment of the present application further provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the steps of the deployment control method of virtual objects in a game described above.
The deployment control method, the device, the electronic equipment and the storage medium for the virtual object in the game provided by the embodiment of the application determine the virtual object to be deployed by responding to virtual object selection operation, determine the pre-deployment information of the virtual object by responding to pre-deployment operation for the virtual object, and synchronize the pre-deployment information of the virtual object to a second game client side of the same group so that the second game client side displays the pre-deployment picture of the virtual object according to the pre-deployment information. Through synchronizing the pre-deployment information of the virtual object to the second game client side of the same group, the second game client side can display a pre-deployment picture corresponding to the pre-deployment information, so that teammates of the same group acquire the fight layout information of the first game client side, and the communication efficiency of users among the same group is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a shows a flowchart of a method for controlling deployment of virtual objects in a game according to an embodiment of the present application;
FIG. 1b is a schematic diagram showing a levitation position of levitation operation within a levitation sensing region according to an embodiment of the present application;
FIG. 1c is a schematic diagram showing a hover position of a hover operation within a hover-sensing area, the hover position being mapped to a first position indicated by first position information in a game scene according to an embodiment of the present application;
fig. 1d shows a schematic diagram of a second terminal device and a first terminal device according to an embodiment of the present application to display a pre-deployment picture synchronously;
FIG. 2a is a flowchart illustrating another method for controlling deployment of virtual objects in a game according to an embodiment of the present application;
FIG. 2b is a schematic diagram showing a hover position of a mobile hover operation within a hover-aware area, mapped to a first updated position indicated by first updated position information in a game scene, provided by an embodiment of the present application;
FIG. 3 is a flowchart of another method for controlling deployment of virtual objects in a game according to an embodiment of the present application;
FIG. 4 is a flowchart of another method for controlling deployment of virtual objects in a game according to an embodiment of the present application;
FIG. 5 is a flowchart of another method for controlling deployment of virtual objects in a game according to an embodiment of the present application;
FIG. 6 is a flowchart of another method for controlling deployment of virtual objects in a game according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another in-game virtual object deployment control device according to an embodiment of the present application;
fig. 8 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for the purpose of illustration and description only and are not intended to limit the scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. A flowchart, as used in this disclosure, illustrates operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be implemented out of order and that steps without logical context may be performed in reverse order or concurrently. Moreover, one or more other operations may be added to or removed from the flow diagrams by those skilled in the art under the direction of the present disclosure.
In addition, the described embodiments are only some, but not all, embodiments of the application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that the term "comprising" will be used in embodiments of the application to indicate the presence of the features stated hereafter, but not to exclude the addition of other features.
In some games, such as the instant strategic game (Real-Time Strategy Game, RTS), users need to know the arms, time and location of teammates coming out of the soldier in the same group on-the-fly. For example, due to the instantaneity of the RTS game, the timing, position and weapon kind of the user going out are greatly affected, and the front and back positions of the going out may affect the war office, for example, the front and back stations of the meat shield and the output are different, and the moving timing is different, so that completely different results are produced. Therefore, users in the same group need to communicate with each other to know the fight layout information of teammates in the group.
Before the proposal of the application is put forward, users usually describe the fight layout information in a mode of voice communication and text communication, and the two modes can lead to low communication efficiency.
Based on the above, the embodiment of the application provides a deployment control method, a device, electronic equipment and a storage medium for virtual objects in a game, which can enable users in the same group to acquire the fight layout information of a first game client, and improve the communication efficiency of users in the same group. The embodiment of the application is applied to equipment capable of realizing man-machine interaction, such as mobile phones, tablet computers, game machines, personal computers (personal computer, PC ends) and the like.
In order to facilitate understanding of the present embodiment, a detailed description is provided below of a deployment control method of virtual objects in a game according to an embodiment of the present application.
As shown in fig. 1a, an embodiment of the present application provides a deployment control method for virtual objects in a game, which is applied to a first game client, where the first game client is installed on a first terminal device, and after the first terminal device starts the first game client, a game scene corresponding to the first game client is rendered on an included display screen (i.e., a display screen corresponding to the first game client); the deployment control method comprises the following steps:
S101, responding to virtual object selection operation, and determining a virtual object to be deployed.
In the embodiment of the application, the virtual objects can be various roles, materials, buildings and the like in the game. For example, one or more arms may be selected by a virtual object selection operation, each of which may include one or more soldiers. Alternatively, the type and/or number of virtual objects to be deployed may be determined by a virtual object selection operation.
As an alternative implementation manner, the first user (such as the user a) may select a new virtual object by operating the virtual object selection control, and the first game client responds to the selection operation for the virtual object selection control, and uses the new virtual object selected by the virtual object selection control as the virtual object to be deployed; here, the new virtual object refers to a virtual object that is not deployed in the current game scene.
As another alternative implementation manner, the first user (such as the user a) may select a target virtual object from the virtual objects in the current game scene, and the first game client responds to the selection operation for the virtual objects in the game scene, and uses the target virtual object selected by the first user from the game scene as the virtual object to be deployed.
In the embodiment of the application, the virtual object to be deployed can be a virtual object selected by a game player to be moved, placed or subjected to other operations. For example, a game player may move an existing virtual object in a game scene, or may place a new virtual object into the game scene.
S102, responding to the pre-deployment operation aiming at the virtual object, determining pre-deployment information of the virtual object, and synchronizing the pre-deployment information of the virtual object to a second game client so that the second game client displays a pre-deployment picture of the virtual object according to the pre-deployment information; wherein the second game client is in the same group as the first game client.
In an alternative embodiment, the virtual object may be brought into the pre-deployment state by a specified triggering operation, for example, the pre-deployment state may be triggered by a specified control in the graphical user interface, or the virtual object may be brought into the pre-deployment state by a specified operation (for example, a hover operation) acting on the virtual object.
Here, the pre-deployment operation may be a move operation, a place operation for the virtual object. Specifically, the method can be realized by means of mouse dragging, touch sliding, suspension operation and the like.
As an optional implementation manner, the pre-deployment operation is a suspension operation in a suspension sensing area above a display screen corresponding to a first game client, the first client determines a first position of a suspension position mapping of the suspension operation in a game scene in response to the suspension operation in the suspension sensing area above the display screen corresponding to the first game client, and pre-deployment information of the virtual object is generated according to the first position and the virtual object. The pre-deployment information comprises virtual object information of the virtual object and first position information corresponding to the first position.
As shown in fig. 1b, the suspension sensing area is located above the display screen of the first terminal device, and corresponds to a preset distance range between the suspension sensing area and the display screen of the first terminal device. For example, a region 1cm-20cm away from the display screen of the first terminal device above the display screen of the first terminal device is a suspension sensing region.
As shown in fig. 1c, the hover position of the hover operation within the hover-sensing area is A0, and the first position of the A0 map in the game scene is B0.
In the embodiment of the application, the suspension operation is triggered by a first user through an operation medium; wherein, the operation medium can be the finger of the first user; or may be a tool used by the first user, such as a stylus. The embodiment of the application does not describe the above operation medium. In fig. 1c, the operating medium is a finger of the first user.
In the embodiment of the application, the second game client is installed on the second terminal device, and after the second terminal device starts the second game client, a game scene corresponding to the second game client is rendered on the display screen of the second terminal device.
After determining the pre-deployment information comprising the first position information and the virtual object information, the first game client sends the pre-deployment information to other game clients in the same group as the first game client
And a second game client. As shown in fig. 1d, for each second game client, after receiving the pre-deployment information (including the first location information and the virtual object information), the second game client generates a pre-action image of the virtual object according to the virtual object information, and displays the generated pre-action image of the virtual object at the first location indicated by the first location information in the current game scene, so as to be viewed by a second user (such as user B) who forms teammates with the first user.
Here, the second game client being in the same group as the first game client means that the first game client is in the same team as the second game client.
S103, responding to deployment determining operation of pre-deployment information of the virtual object, determining the deployment information of the virtual object, and synchronizing the deployment information to a second game client and a third game client; wherein the third game client is in a different group than the first game client.
Alternatively, the deployment determining operation is configured to generate a pre-deployment determining instruction according to an input of the game player, and may be an ending action of the pre-deployment operation, or may be a specified determination triggering operation, for example, may be a re-pressing operation, an operation of clicking a specified determination control, or the like.
In one embodiment, when the deployment determining operation is a touch click operation in which the operation medium is mapped at a deployment location (such as a second location) on the display screen corresponding to the first game client at a pre-deployment location (such as a first location) indicated by the pre-deployment information, the pre-deployment information is determined to be the deployment information of the virtual object.
After receiving a touch click operation at a second position, the first game client responds to the touch operation at the second position mapped on the display screen at the first position, and generates deployment information of the virtual object according to the first position and the virtual object, wherein the deployment information comprises virtual object information and first position information.
The first game client renders the virtual object according to the virtual object information at a first position indicated by the first position information of the displayed game scene after determining the deployment information including the first position information and the virtual object information. Meanwhile, the deployment information comprising the virtual object information and the first position information is transmitted to other second game clients which are in the same group with the first game client and other third game clients which are in different groups with the first game client.
For each second game client, after receiving the deployment information including the virtual object information and the first position information, the second game client renders the virtual object (i.e., executes the content of the pre-action image) according to the pre-action image of the virtual object at the first position indicated by the first position information of the current game scene.
In the embodiment of the application, the third game client is pre-installed on the third terminal equipment, and after the third terminal equipment starts the third game client, a game scene corresponding to the third game client is rendered on a display screen of the third terminal equipment; the game scene corresponding to the third game client, the game scene corresponding to the first game client and the game scene corresponding to the second game client are the same.
For each third game client, after receiving the deployment information including the first location information and the virtual object information, the third game client renders the virtual object according to the virtual object information at the first location indicated by the first location information of the displayed game scene for viewing by a third user (such as user C). Here, the third game client being in a different group from the first game client means: the third game client is in a different team than the first game client. As one embodiment, the tertiary game client is in a opponent team with the first game client.
According to the deployment control method for the virtual object in the game, the pre-deployment information of the virtual object is synchronized to the second game client side of the same group, and the second game client side can display the pre-deployment picture corresponding to the pre-deployment information, so that teammates of the same group acquire the fight layout information of the first game client side, and the communication efficiency of users among the same group is improved.
In actual game play, the pre-deployment operation of the first user changes, and correspondingly, the pre-deployment information of the virtual object also changes, based on this, as shown in fig. 2a, after synchronizing the pre-deployment information of the virtual object to the second game client, the method further includes:
s201, responding to the change of the pre-deployment operation, and determining updated pre-deployment information after the change.
In the embodiment of the present application, the above-mentioned change of the pre-deployment operation refers to the movement of the levitation operation in the levitation-aware region. Here, the movement of the levitation operation within the levitation sensing region is the movement of the operation medium within the levitation sensing region.
The method comprises the steps that a first game client responds to movement of a levitation operation in a levitation sensing area, and a first updated position of an updated levitation position mapping in a game scene of the levitation operation in the moving process is obtained; and generating updated pre-deployment information of the virtual object according to the first updating position and the virtual object. The update pre-deployment information comprises virtual object information and first update position information corresponding to a first update position.
For example, as shown in FIG. 2B, the hover operation moves from position A0 to position A1, and updates from first position B0 to first updated position B1 in the game scene. The first game client generates updated pre-deployment information according to the first update position B1 and the virtual object information.
S202, synchronizing the update pre-deployment information to the second game client side so that the second game client side displays an update pre-deployment picture of the virtual object according to the update pre-deployment information.
In the embodiment of the application, after the first client determines the update pre-deployment information comprising the virtual object information and the first update position information, the first client synchronizes the update pre-deployment information comprising the virtual object information and the first update position information to the second game client. For each second game client, after receiving the updated pre-deployment information including the virtual object information and the first updated position information, the second game client generates a pre-action image of the virtual object according to the virtual object information, and displays the generated pre-action image of the virtual object at the first updated position indicated by the first updated position information of the current game scene (such as at B1 in fig. 2B).
By the method, other users (namely teammates of the first user, such as the second user) which are located in the same battle team with the first user can see the pre-action image corresponding to the first user, and communication efficiency of users in the same group is improved.
In this embodiment of the present application, as shown in fig. 3, after determining the pre-deployment information of the virtual object, the first game client further includes:
s301, in the first game client, generating a pre-deployment picture of the virtual object according to the pre-deployment information of the virtual object.
S302, displaying a pre-deployment picture of the virtual object.
Combining step 301 and step 302, the pre-deployment information includes virtual object information and first location information; or, the pre-deployment screen is a pre-action image of the virtual object, and the pre-deployment screen comprises virtual object information and first update position information. The first game client generates a pre-action image of the virtual object according to the virtual object information, and displays the generated pre-action image of the virtual object at a first location indicated by the first location information in the current game scene (e.g., at B0 in fig. 2B) or at a first location update location indicated by the first update location information (e.g., at B1 in fig. 2B).
By the method, the first user and other users in the same battle team with the first user synchronously see the pre-action image corresponding to the first user, and communication efficiency of the users in the same group is improved.
In the embodiment of the present application, after the pre-deployment operation of the first user is finished, the first game client and the second game client synchronously cancel the pre-deployment image of the display virtual object, and correspondingly, in the deployment control method of the virtual object provided in the embodiment of the present application, the method further includes:
and canceling the display of the pre-deployment picture of the virtual object in response to the end of the pre-deployment operation, and controlling the second game client to cancel the display of the pre-deployment picture of the virtual object synchronously.
As one possible implementation, the ending of the pre-deployment operation includes: the levitation operation leaves the levitation sensing region, i.e. the operation medium leaves the levitation sensing region.
In the embodiment of the application, after the first game client detects that the operation medium leaves the suspension sensing area, the pre-deployment picture of the virtual object is canceled to be displayed, and at the moment, the pre-deployment picture of the virtual object which is currently displayed is closed on the display screen corresponding to the first game client; and simultaneously, the first game client sends a notification message to the second game client, and the second game client is notified to synchronously cancel the display of the pre-deployment picture matched with the first game client through the notification message, and at the moment, the pre-deployment picture matched with the first game client which is currently displayed is closed on the display screen corresponding to the second game client. Here, the pre-deployment picture matching the first game client means: the second game client generates a pre-deployment picture of the virtual object according to the pre-deployment information synchronized by the first game client.
In the embodiment of the present application, the virtual object to be deployed may be a new virtual object, or may be a virtual object deployed in a current game scene. Accordingly, in the embodiment of the present application, in response to a virtual object selection operation, determining a virtual object to be deployed includes at least one of the following two manners:
first, responding to a selection operation for a virtual object selection control, and determining a virtual object corresponding to the virtual object selection control as a virtual object to be deployed.
As one implementation mode, a virtual object selection control is displayed on a display screen corresponding to the first game client, and the first user selects a new virtual object by operating the virtual object selection control; here, the new virtual object refers to a virtual object that is not deployed in the current game scene; the first game client responds to the selection operation of the first user on the virtual object selection control, and determines that a new virtual object corresponding to the virtual object selection control is a virtual object to be deployed.
For example, the first user selects 10 new weapons a by operating the virtual object selection control, and the first game client determines that the 10 new weapons a selected by the user are virtual objects to be deployed.
Second, responding to the selection operation of the virtual objects in the game scene, and determining the selected virtual objects in the game scene as the virtual objects to be deployed.
In one embodiment, a game scene displayed on a display screen corresponding to a first game client includes deployed virtual objects, a first user selects a virtual object in a current game scene, and the first game client responds to a selection operation of the first user to determine that the virtual object selected by the first user in the game scene is a virtual object to be deployed.
For example, the first user selects 10 arms B in the current game scene, and the first game client determines that the 10 arms B in the current game scene are virtual objects to be deployed.
In an embodiment of the present application, the selecting operation includes at least one of the following operations: touch click operation; and (5) touch sliding operation.
As an embodiment, the selecting operation may include a touch click operation, a touch slide operation, and a touch click operation and a touch slide operation.
For example, the virtual object selection control includes a virtual object to be selected and the number corresponding to the virtual object; the initial number of each virtual object is 0, and the first user can click on the virtual object selection control in a touch manner to select the number of the corresponding virtual objects.
For another example, the first user selects the control by touching and sliding the virtual objects to view each virtual object, and selects the corresponding number of virtual objects by touching and clicking.
For another example, the first user slides the virtual object selection control through touch to select the corresponding number of virtual objects.
When the first user selects the virtual object to be deployed through the virtual object selection control, the virtual object selection control may block the game picture in the game scene, and for this case, the blocked game picture may be redisplayed through the moving field of view. As shown in fig. 4, determining a first position of the hover position map of the hover operation in the game scene includes:
s401, responding to touch sliding operation in a preset visual field area, and moving the game picture which is blocked by the virtual object selection control to a target area which is not blocked by the virtual object selection control.
S402, determining that the floating position of the floating operation is mapped to a first position of a game picture in the target area.
In combination with step 401 and step 402, when the game screen is blocked by the virtual object selection control, the game screen blocked by the virtual object selection control may be moved to a target area not blocked by the virtual object selection control by a sliding operation with respect to the field of view area, so as to select a first position in the game screen within the target area.
In the embodiment of the application, the virtual object selection control is displayed on the display screen so that a user can select the virtual object to be deployed through the virtual object selection control, and the virtual object selection control can be hidden. Correspondingly, the deployment control method of the virtual object in the game provided by the embodiment of the application further comprises the following steps:
and responding to deployment determining operation of pre-deployment information of the virtual object, and hiding the displayed virtual object selection control.
After detecting the deployment determining operation of the pre-deployment information of the virtual object, the first game client determines that the pre-deployment operation of the first user is finished, and at this time, the displayed virtual object selection control is hidden. In the embodiment of the application, the game experience of the user can be improved by hiding the virtual object selection control.
In the embodiment of the present application, after the virtual object selection control is displayed in a hidden manner, the virtual object selection control may be triggered and displayed again, and two ways of displaying the virtual object selection control again are described below respectively:
first, as shown in fig. 5, after hiding the displayed virtual object selection control, the method further includes:
And S501, responding to touch click operation of a prompt button displayed for a first preset area, and displaying the virtual object selection control.
In the embodiment of the application, the first display screen comprises a first preset area, and a prompt button is displayed in the first preset area in advance and has the function of prompting to trigger the prompt button to display the virtual object selection control again.
After the first game client detects the touch click operation of the prompt button displayed in the first preset area, the first game client responds to the touch operation of the first user, and the virtual object selection control is displayed again.
S502, canceling the display of the deployment information of the virtual object, and controlling the second game client to cancel the display of the deployment information of the virtual object synchronously.
In the embodiment of the application, after the first game client responds to the touch operation of the first user and redisplays the virtual object selection control, the deployment information of the virtual object currently displayed by the display screen is closed; meanwhile, the first game client sends a notification message to the second game client to notify the second game client to synchronously close the displayed deployment information of the virtual object matched with the first game client.
Second, as shown in fig. 6, after hiding the displayed virtual object selection control, the method further includes:
s601, responding to a first operation in a second preset area, and displaying prompt information; the prompt information is used for prompting a second operation of redisplaying the virtual object selection control.
In the embodiment of the application, the display screen corresponding to the first game client also comprises a second preset area, and when the first game client detects a first operation in the second preset area, the first operation is responded, and prompt information is displayed.
As an alternative embodiment, the prompt information may include a prompt button, a second operation for the prompt button, and text information that the second operation is capable of redisplaying the virtual object selection control.
Here, the first operation may be a touch click operation or a touch slide operation. The second operation may be a touch click operation or a touch slide operation. It should be noted that, in the embodiment of the present application, the first operation and the second operation are not limited.
And S602, responding to the second operation, and displaying the virtual object selection control.
In the embodiment of the application, after the first game client detects the second operation, the virtual object selection control is redisplayed in response to the second operation.
S603, canceling the display of the deployment information of the virtual object, and controlling the second game client to cancel the display of the deployment information of the virtual object synchronously.
In the embodiment of the application, a first game client terminal redisplays a virtual object selection control and closes the deployment information of the currently displayed virtual object; meanwhile, the first game client sends a notification message to the second game client to notify the second game client to synchronously close the displayed deployment information of the virtual object matched with the first game client.
In an optional implementation manner, in the deployment control method of the virtual object in the game provided by the embodiment of the present application, the displaying the virtual object selection control includes:
and displaying the virtual object selection control in the determined virtual object selection area.
In the embodiment of the application, a virtual object selection area is preset in a display screen corresponding to a first game client, and the first game client pre-determines the virtual object selection area before displaying the virtual object selection control and displays the virtual object selection control in the determined virtual object selection area.
As described above, the pre-deployment operation is a hover operation in a hover-aware area above a display screen corresponding to a first game client, and in an embodiment of the present application, the hover operation is detected to be located in a hover-aware area above the display screen by:
and responding to the suspension operation above the display screen, and if the distance between the suspension position of the suspension operation and the display screen is within a preset distance range, determining that the suspension operation is located in a suspension sensing area above the display screen.
In the embodiment of the application, a distance sensor is embedded in a display screen corresponding to a first game client, the distance sensor detects whether an operation medium exists above the display screen in real time, and if so, the distance sensor detects that a suspension operation above the display screen exists; at this time, the first game client calculates the distance between the operation medium and the display screen based on the returned result of the distance sensor, and if the distance is within the preset distance range, determines that the levitation operation is located in the levitation sensing area above the display screen.
According to the deployment control method for the virtual object in the game, the pre-deployment information of the virtual object is synchronized to the second game client side of the same group, and the second game client side can display the pre-deployment picture corresponding to the pre-deployment information, so that teammates of the same group acquire the fight layout information of the first game client side, and the communication efficiency of users among the same group is improved.
The deployment control method of virtual objects in a game provided by the embodiment of the application is described below with reference to specific game examples:
the user A plays with the user B in real time and forms teammates belonging to the first group to fight against the user C and the user D belonging to the second group; in the embodiment of the application, the number of the users in the group is not limited.
And the user A selects corresponding arms and quantity by clicking a soldier seed GUI button, and no response exists in game scenes of the user B, the user C and the user D.
The finger of the user A floats in a suspension sensing area above the display screen corresponding to the first game client and does not contact the display screen. At this time, the game scene mapped by the position of the display screen corresponding to the finger suspension of the user a displays a pre-action ghost generated by the weapon and the number selected by the user a, which represents the action operation to be performed by the user a (i.e. weapon, position and number to be produced by the user a). At this time, the pre-action ghosts (i.e., the types, positions, and numbers of arms to be produced by the user a) are displayed synchronously in the first game client of the user a and the second game client of the user B, but cannot be displayed in the third game clients of the user C and the user D.
If the position of the user a finger hover changes, the mapped pre-action ghost position will also change and synchronize into the first game client of user a and the second game client of user B, not into the third game clients of user C and user D.
If the finger hover position of the user A leaves the hover sensing area, the pre-action ghosting disappears, and the ghosting disappearance is synchronized into the first game client of the user A and the second game client of the user B.
If the user A clicks any position of the first game client after hovering, the content of the pre-action is executed in the game scene mapped by the clicking position and is synchronized to the second game client of the user B and the third game clients of the user C and the user D, so that the corresponding number of the weapons are generated in the mapped game scene positions, and all users of two groups in the game can see the weapons.
In the embodiment of the application, the first user can select the army seed to be produced on the display screen corresponding to the first game client, after the army seed selection is completed, the finger is suspended in the suspension sensing area above the display screen, the army seed to be produced by the first user can be displayed in the first position of the game scene by mapping the suspension position of the finger, the army seed to be produced by the first user is synchronized to the second game client of teammates in the same group with the first user, and the army seed to be produced by the first user is rendered at the same position as the first position so as to match the army seeds in the group and match the teammates.
Based on the same inventive concept, the embodiment of the application also provides a deployment control device of the virtual object in the game, which corresponds to the deployment control method of the virtual object in the game, and because the principle of solving the problem by the device in the embodiment of the application is similar to that of the deployment control method of the virtual object in the game in the embodiment of the application, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 7, a schematic diagram of a deployment control apparatus for virtual objects in a game according to an embodiment of the present application is shown, where the deployment control apparatus includes:
a first determining module 701, configured to determine a virtual object to be deployed in response to a virtual object selection operation;
a second determining module 702, configured to determine pre-deployment information of the virtual object in response to a pre-deployment operation for the virtual object;
a first sending module 703, configured to synchronize the pre-deployment information of the virtual object to a second game client, so that the second game client displays a pre-deployment screen of the virtual object according to the pre-deployment information; wherein the second game client is in the same group as the first game client;
A third determining module 704, configured to determine deployment information of the virtual object in response to a deployment determining operation of pre-deployment information for the virtual object;
a second sending module 705, configured to synchronize the deployment information to a second game client and a third game client; wherein the third game client is in a different group than the first game client.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
a fourth determining module, configured to determine updated pre-deployment information after the pre-deployment information of the virtual object is synchronized to a second game client, in response to a change in the pre-deployment operation;
and synchronizing the update pre-deployment information to the second game client so that the second game client displays an update pre-deployment picture of the virtual object according to the update pre-deployment information.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
the first generation module is used for generating a pre-deployment picture of the virtual object according to the pre-deployment information of the virtual object after the pre-deployment information of the virtual object is determined;
And the first display module is used for displaying the pre-deployment picture of the virtual object.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
the first cancellation module is used for canceling the display of the pre-deployment picture of the virtual object in response to the end of the pre-deployment operation;
and the first control module is used for controlling the second game client to synchronously cancel the display of the pre-deployment picture of the virtual object.
In an alternative embodiment, the first determining module 701, when determining a virtual object to be deployed in response to a virtual object selection operation, includes:
responding to a selection operation aiming at a virtual object selection control, and determining a virtual object corresponding to the virtual object selection control as a virtual object to be deployed;
and/or the number of the groups of groups,
and responding to the selection operation of the virtual objects in the game scene, and determining the selected virtual objects in the game scene as the virtual objects to be deployed.
In an alternative embodiment, the selecting operation includes at least one of:
touch click operation; and (5) touch sliding operation.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
And the hiding module is used for responding to deployment determining operation of pre-deployment information of the virtual object and hiding the displayed virtual object selection control.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
the second display module is used for responding to touch click operation of a prompt button displayed for the first preset area after the virtual object selection control is displayed in a hidden mode, and displaying the virtual object selection control;
the second canceling module is used for canceling the deployment information of the virtual object;
and the second control module is used for controlling the second game client to synchronously cancel the display of the deployment information of the virtual object.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
the third display module is used for responding to the first operation positioned in the second preset area after the virtual object displayed in a hiding manner selects the control, and displaying prompt information; the prompt information is used for prompting a second operation of redisplaying the virtual object selection control;
the second display module is further used for responding to the second operation and displaying the virtual object selection control;
The third canceling module is used for canceling the deployment information of the virtual object;
and the third control module is used for controlling the second game client to synchronously cancel the display of the deployment information of the virtual object.
In an alternative embodiment, the second display module, when displaying the virtual object selection control, includes:
and displaying the virtual object selection control in the determined virtual object selection area.
In an alternative embodiment, after the deployment control device is started, rendering a game scene corresponding to the deployment control device through a display screen of the deployment control device; the second determining module 702, in response to a pre-deployment operation for the virtual object, determines pre-deployment information of the virtual object, includes:
responding to a suspension operation in a suspension sensing area above a display screen corresponding to the deployment control device, and determining a first position of a suspension position mapping of the suspension operation in the game scene;
and generating pre-deployment information of the virtual object according to the first position and the virtual object.
In an alternative embodiment, the second determining module 702, when determining that the hover position of the hover operation maps to the first position in the game scene, includes:
Responding to touch sliding operation in a preset visual field area, and moving a game picture shielded by the virtual object selection control to a target area which is not shielded by the virtual object selection control;
determining that a hover position of the hover operation maps to a first position of a game screen located within the target area.
In an alternative embodiment, the fourth determining module, when determining updated pre-deployment information after the change in response to the change in the pre-deployment operation, includes:
responding to the movement of the levitation operation in the levitation sensing area, and acquiring a first updated position of the updated levitation position mapping of the levitation operation in the moving process in the game scene;
and generating updated pre-deployment information of the virtual object according to the first updating position and the virtual object.
In an alternative embodiment, the ending of the pre-deployment operation comprises: the hover operation exits the hover-sensing region.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
and the fifth determining module is used for responding to the floating operation above the display screen, and determining that the floating operation is located in a floating sensing area above the display screen if the distance between the floating position of the floating operation and the display screen is within a preset distance range.
In an alternative embodiment, the third determining module, when determining the deployment information of the virtual object in response to the deployment determining operation of the pre-deployment information of the virtual object, includes:
and responding to touch operation at a second position mapped on the display screen at the first position, and generating deployment information of the virtual object according to the first position and the virtual object.
In an optional embodiment, the deployment control device of the virtual object in the game further includes:
and the rendering module is used for rendering the virtual object at the first position after determining the deployment information of the virtual object.
According to the deployment control device for the virtual object in the game, provided by the embodiment of the application, the pre-deployment information of the virtual object is synchronized to the second game client side of the same group, and the second game client side can display the pre-deployment picture corresponding to the pre-deployment information, so that teammates of the same group acquire the fight layout information of the first game client side, and the communication efficiency of users among the same group is improved.
As shown in fig. 8, an electronic device 800 provided in an embodiment of the present application includes: a processor 801, a memory 802, and a bus, the memory 802 storing machine-readable instructions executable by the processor 801, the processor 801 and the memory 802 communicating over the bus when the electronic device is running, the processor 801 executing the machine-readable instructions to perform the steps of the deployment control method of virtual objects in a game as described above.
Specifically, the above-described memory 802 and processor 801 can be general-purpose memories and processors, and are not particularly limited herein, and when the processor 801 runs a computer program stored in the memory 802, the above-described deployment control method of virtual objects in a game can be executed.
Corresponding to the deployment control method of the virtual object in the game, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium is stored with a computer program, and the computer program executes the steps of the deployment control method of the virtual object in the game when being executed by a processor.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system and apparatus may refer to corresponding procedures in the method embodiments, and are not repeated in the present disclosure. In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, and the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, and for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, indirect coupling or communication connection of devices or modules, electrical, mechanical, or other form.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily appreciate variations or alternatives within the scope of the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (20)

1. A deployment control method of virtual objects in a game, applied to a first game client, the deployment control method comprising:
responding to virtual object selection operation, and determining a virtual object to be deployed; wherein the virtual objects to be deployed comprise virtual objects deployed in the current game scene and virtual objects not deployed in the current game scene;
responding to the pre-deployment operation aiming at the virtual object, determining pre-deployment information of the virtual object, and synchronizing the pre-deployment information of the virtual object to a second game client so that the second game client displays a pre-deployment picture of the virtual object according to the pre-deployment information; wherein the second game client is in the same group as the first game client; the pre-deployment information is the fight layout information of the virtual object in the game;
Responding to deployment determining operation of pre-deployment information of the virtual object, determining the deployment information of the virtual object, and synchronizing the deployment information to a second game client and a third game client; wherein the third game client is in a different group than the first game client.
2. The in-game virtual object deployment control method according to claim 1, wherein after synchronizing the pre-deployment information of the virtual object to a second game client, the method further comprises:
responding to the change of the pre-deployment operation, and determining updated pre-deployment information after the change;
and synchronizing the update pre-deployment information to the second game client so that the second game client displays an update pre-deployment picture of the virtual object according to the update pre-deployment information.
3. The in-game virtual object deployment control method according to claim 1, wherein after determining the pre-deployment information of the virtual object, the method further comprises:
in the first game client, generating a pre-deployment picture of the virtual object according to the pre-deployment information of the virtual object;
And displaying a pre-deployment picture of the virtual object.
4. A method of deployment control of virtual objects in a game according to claim 3, the method further comprising:
and canceling the display of the pre-deployment picture of the virtual object in response to the end of the pre-deployment operation, and controlling the second game client to cancel the display of the pre-deployment picture of the virtual object synchronously.
5. The method for controlling deployment of virtual objects in a game according to claim 4, wherein said determining a virtual object to be deployed in response to a virtual object selection operation comprises:
responding to a selection operation aiming at a virtual object selection control, and determining a virtual object corresponding to the virtual object selection control as a virtual object to be deployed;
and/or the number of the groups of groups,
and responding to the selection operation of the virtual objects in the game scene, and determining the selected virtual objects in the game scene as the virtual objects to be deployed.
6. The deployment control method of an in-game virtual object according to claim 1 or 5, wherein the selecting operation includes at least one of:
touch click operation; and (5) touch sliding operation.
7. The in-game virtual object deployment control method according to claim 5, further comprising:
And responding to deployment determining operation of pre-deployment information of the virtual object, and hiding the displayed virtual object selection control.
8. The in-game virtual object deployment control method of claim 7, wherein after hiding the displayed virtual object selection control, the method further comprises:
responding to touch click operation of a prompt button displayed for a first preset area, and displaying the virtual object selection control;
canceling the display of the deployment information of the virtual object, and controlling the second game client to cancel the display of the deployment information of the virtual object synchronously.
9. The in-game virtual object deployment control method of claim 7, wherein after hiding the displayed virtual object selection control, the method further comprises:
responding to the first operation in the second preset area, and displaying prompt information; the prompt information is used for prompting a second operation of redisplaying the virtual object selection control;
responding to the second operation, and displaying the virtual object selection control;
canceling the display of the deployment information of the virtual object, and controlling the second game client to cancel the display of the deployment information of the virtual object synchronously.
10. The deployment control method of in-game virtual objects according to claim 8 or 9, wherein the displaying the virtual object selection control comprises:
and displaying the virtual object selection control in the determined virtual object selection area.
11. The method for deployment control of virtual objects in a game according to claim 5, wherein after the first game client is enabled, rendering a game scene corresponding to the first game client on a display screen corresponding to the first game client; the responding to the pre-deployment operation of the virtual object, determining pre-deployment information of the virtual object, including:
responding to a suspension operation in a suspension sensing area above a display screen corresponding to the first game client, and determining a first position of a suspension position mapping of the suspension operation in the game scene;
and generating pre-deployment information of the virtual object according to the first position and the virtual object.
12. The in-game virtual object deployment control method according to claim 11, wherein the determining that the hover position of the hover operation maps to the first position in the game scene comprises:
Responding to touch sliding operation in a preset visual field area, and moving a game picture shielded by the virtual object selection control to a target area which is not shielded by the virtual object selection control;
determining that a hover position of the hover operation maps to a first position of a game screen located within the target area.
13. The method of claim 11, wherein determining updated pre-deployment information after the change in response to the change in the pre-deployment operation comprises:
responding to the movement of the levitation operation in the levitation sensing area, and acquiring a first updated position of the updated levitation position mapping of the levitation operation in the moving process in the game scene;
and generating updated pre-deployment information of the virtual object according to the first updating position and the virtual object.
14. The deployment control method of the in-game virtual object according to claim 11, wherein the ending of the pre-deployment operation includes: the hover operation exits the hover-sensing region.
15. The deployment control method of in-game virtual objects according to claim 11, wherein the hover-operation is detected to be located within a hover-sensing region above the display screen by:
And responding to the suspension operation above the display screen, and if the distance between the suspension position of the suspension operation and the display screen is within a preset distance range, determining that the suspension operation is located in a suspension sensing area above the display screen.
16. The deployment control method of an in-game virtual object according to claim 11, wherein the determining deployment information of the virtual object in response to a deployment determination operation for pre-deployment information of the virtual object comprises:
and responding to touch operation at a second position mapped on the display screen at the first position, and generating deployment information of the virtual object according to the first position and the virtual object.
17. The in-game virtual object deployment control method according to claim 16, wherein after determining the virtual object deployment information, the method further comprises:
at the first location, the virtual object is rendered.
18. A deployment control apparatus for a virtual object in a game, the deployment control apparatus comprising:
the first determining module is used for responding to the virtual object selection operation and determining the virtual object to be deployed; wherein the virtual objects to be deployed comprise virtual objects deployed in the current game scene and virtual objects not deployed in the current game scene;
The second determining module is used for responding to the pre-deployment operation aiming at the virtual object and determining pre-deployment information of the virtual object; the pre-deployment information is combat layout information of the virtual object in a game;
the first sending module is used for synchronizing the pre-deployment information of the virtual object to a second game client so that the second game client displays a pre-deployment picture of the virtual object according to the pre-deployment information; wherein the second game client is in the same group as the first game client;
a third determining module, configured to determine deployment information of the virtual object in response to a deployment determining operation for pre-deployment information of the virtual object;
the second sending module is used for synchronizing the deployment information to the second game client and the third game client; wherein the third game client is in a different group than the first game client.
19. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the in-game virtual object deployment control method of any one of claims 1 to 17.
20. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the deployment control method of virtual objects in a game as claimed in any one of claims 1 to 17.
CN201910792174.9A 2019-08-26 2019-08-26 Deployment control method and device for virtual objects in game Active CN110384933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910792174.9A CN110384933B (en) 2019-08-26 2019-08-26 Deployment control method and device for virtual objects in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910792174.9A CN110384933B (en) 2019-08-26 2019-08-26 Deployment control method and device for virtual objects in game

Publications (2)

Publication Number Publication Date
CN110384933A CN110384933A (en) 2019-10-29
CN110384933B true CN110384933B (en) 2023-08-11

Family

ID=68289300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910792174.9A Active CN110384933B (en) 2019-08-26 2019-08-26 Deployment control method and device for virtual objects in game

Country Status (1)

Country Link
CN (1) CN110384933B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112221162B (en) * 2020-10-15 2021-05-14 武汉卧友网络科技有限公司 Network game interaction method based on artificial intelligence recognition and intelligent game platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804013A (en) * 2018-06-15 2018-11-13 网易(杭州)网络有限公司 Method, apparatus, electronic equipment and the storage medium of information alert
CN109428859A (en) * 2017-08-25 2019-03-05 腾讯科技(深圳)有限公司 A kind of synchronized communication method, terminal and server
CN110064193A (en) * 2019-04-29 2019-07-30 网易(杭州)网络有限公司 Manipulation control method, device and the mobile terminal of virtual objects in game
CN110075517A (en) * 2019-05-07 2019-08-02 网易(杭州)网络有限公司 Approaches to IM, device, storage medium and electronic equipment in game

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428859A (en) * 2017-08-25 2019-03-05 腾讯科技(深圳)有限公司 A kind of synchronized communication method, terminal and server
CN108804013A (en) * 2018-06-15 2018-11-13 网易(杭州)网络有限公司 Method, apparatus, electronic equipment and the storage medium of information alert
CN110064193A (en) * 2019-04-29 2019-07-30 网易(杭州)网络有限公司 Manipulation control method, device and the mobile terminal of virtual objects in game
CN110075517A (en) * 2019-05-07 2019-08-02 网易(杭州)网络有限公司 Approaches to IM, device, storage medium and electronic equipment in game

Also Published As

Publication number Publication date
CN110384933A (en) 2019-10-29

Similar Documents

Publication Publication Date Title
CN109224439B (en) Game aiming method and device, storage medium and electronic device
AU2021250929B2 (en) Virtual object control method and apparatus, device, and storage medium
JP6190939B2 (en) Graphical user interface for game systems
KR102637047B1 (en) Virtual object control method, device and media for marking virtual items
CN109529319B (en) Display method and device of interface control and storage medium
CN112206512B (en) Information processing method, device, electronic equipment and storage medium
JP6875346B2 (en) Information processing methods and devices, storage media, electronic devices
CN113440846B (en) Game display control method and device, storage medium and electronic equipment
WO2022017094A1 (en) Interface display method and apparatus, and terminal and storage medium
EP2426600A2 (en) Systems and methods for controlling at least a portion of a flow of program activity of a computer program
US20220379214A1 (en) Method and apparatus for a control interface in a virtual environment
WO2023045375A1 (en) Method and apparatus for spectating game after character is killed, and electronic device and storage medium
JP2023520765A (en) Systems and methods for virtual and augmented reality
WO2023020125A1 (en) Virtual environment picture display method and device, terminal, medium, and program product
US20230330537A1 (en) Virtual object control method and apparatus, terminal and storage medium
CN113975807A (en) Method and device for generating information in game, electronic equipment and readable storage medium
CN110384933B (en) Deployment control method and device for virtual objects in game
CN113893540B (en) Information prompting method and device, storage medium and electronic equipment
CN115624753A (en) Virtual gun interaction method and device, storage medium and electronic equipment
US20150148125A1 (en) Computer Device, Storage Medium, and Method of Controlling Computer Device
CN113941152A (en) Virtual object control method and device, electronic equipment and storage medium
CN111905380A (en) Virtual object control method, device, terminal and storage medium
CN113663326B (en) Aiming method and device for game skills
CN113827971A (en) Game map marking method and device, electronic equipment and storage medium
CN116943156A (en) Method, device, equipment and storage medium for processing signals in game

Legal Events

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