WO2023231544A1 - 虚拟对象的控制方法、装置、设备以及存储介质 - Google Patents
虚拟对象的控制方法、装置、设备以及存储介质 Download PDFInfo
- Publication number
- WO2023231544A1 WO2023231544A1 PCT/CN2023/084729 CN2023084729W WO2023231544A1 WO 2023231544 A1 WO2023231544 A1 WO 2023231544A1 CN 2023084729 W CN2023084729 W CN 2023084729W WO 2023231544 A1 WO2023231544 A1 WO 2023231544A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual object
- virtual
- mirror
- computer device
- control
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 96
- 230000003993 interaction Effects 0.000 claims abstract description 64
- 230000004044 response Effects 0.000 claims abstract description 59
- 230000008569 process Effects 0.000 claims abstract description 22
- 230000002452 interceptive effect Effects 0.000 claims description 88
- 238000004590 computer program Methods 0.000 claims description 25
- 230000033001 locomotion Effects 0.000 claims description 22
- 230000015654 memory Effects 0.000 claims description 22
- 230000036541 health Effects 0.000 claims description 21
- 230000007423 decrease Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 13
- 238000001514 detection method Methods 0.000 description 12
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 5
- 238000013473 artificial intelligence Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000002860 competitive effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000000903 blocking effect Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 241001465754 Metazoa Species 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007123 defense Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/533—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
- A63F13/56—Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/55—Controlling game characters or game objects based on the game progress
- A63F13/58—Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/833—Hand-to-hand fighting, e.g. martial arts competition
Definitions
- the present application relates to the field of computer technology, and in particular to a method, device, equipment and storage medium for controlling virtual objects.
- Fighting games are a relatively popular game. Fighting games provide users with a virtual scene in which two users control two virtual objects to fight.
- Embodiments of the present application provide a virtual object control method, device, equipment and storage medium, which can improve the efficiency of human-computer interaction.
- the technical solution is as follows:
- a method for controlling a virtual object includes:
- the virtual scene displays a first virtual object and a second virtual object.
- the first virtual object is a virtual object controlled by the terminal.
- the second virtual object and the first virtual object belong to different camps. ;
- the first virtual object is controlled to interact with the second virtual object.
- a virtual object control device includes:
- a virtual scene display module is used to display a virtual scene.
- the virtual scene displays a first virtual object and a second virtual object.
- the first virtual object is a virtual object controlled by a terminal.
- the second virtual object is connected to the third virtual object.
- a virtual object belongs to different camps;
- a first virtual object control module configured to control the first virtual object to move in a first direction in response to a triggering operation on the mirror interactive control, and display the mirror image of the first virtual object at a first position of the virtual scene.
- the first virtual object control module is also configured to control the first virtual object in response to another triggering operation on the mirror interactive control while the first virtual object is moving in the first direction. Move to the first position;
- a second virtual object control module configured to: when the first virtual object is in contact with the second virtual object, Control the first virtual object and the second virtual object to move together toward the first position;
- the first virtual object control module is also configured to control the first virtual object to interact with the second virtual object when the first virtual object overlaps with the mirror virtual object.
- a computer device in one aspect, includes one or more processors and one or more memories. At least one computer program is stored in the one or more memories. The computer program is composed of the One or more processors are loaded and executed to implement control methods of the virtual object.
- a computer-readable storage medium is provided, and at least one computer program is stored in the computer-readable storage medium.
- the computer program is loaded and executed by a processor to implement the control method of the virtual object.
- a computer program product or computer program which implements the above-mentioned control method of a virtual object when executed by a processor.
- the virtual scene includes a first virtual object and a second virtual object.
- Triggering the mirror interaction control can control the first virtual object to move in the first direction, and display the first virtual object in the virtual scene.
- the first virtual object is controlled to move toward the location of the mirror virtual object.
- the first virtual object and the second virtual object are controlled to move together toward the position where the mirror virtual object is located.
- the first virtual object and the mirror virtual object overlap the first virtual object is controlled to interact with the second virtual object.
- the interaction between the first virtual object and the second virtual object is enriched. The user can use the mirror virtual object to effectively interact with the second virtual object, thereby improving the efficiency of human-computer interaction.
- Figure 1 is a schematic diagram of an implementation environment of a virtual object control method provided by an embodiment of the present application
- Figure 2 is a flow chart of a virtual object control method provided by an embodiment of the present application.
- Figure 3 is a flow chart of another virtual object control method provided by an embodiment of the present application.
- Figure 4 is a schematic diagram of a virtual scene provided by an embodiment of the present application.
- Figure 5 is a schematic diagram of another virtual scene provided by an embodiment of the present application.
- Figure 6 is a schematic diagram of another virtual scene provided by an embodiment of the present application.
- Figure 7 is a schematic diagram of yet another virtual scene provided by an embodiment of the present application.
- Figure 8 is a schematic diagram of yet another virtual scene provided by an embodiment of the present application.
- Figure 9 is a flow chart of yet another virtual object control method provided by an embodiment of the present application.
- Figure 10 is a schematic structural diagram of a virtual object control device provided by an embodiment of the present application.
- Figure 11 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
- Figure 12 is a schematic structural diagram of a server provided by an embodiment of the present application.
- Virtual scene It is a virtual scene displayed (or provided) when the application is running on the terminal.
- the virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment.
- the virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene.
- the embodiments of this application do not limit the dimensions of the virtual scene.
- the virtual scene can include the sky, land, ocean, etc., and the land can With environmental elements including deserts, cities, etc., users can control virtual objects to move in the virtual scene.
- virtual scenes are also called virtual fighting scenes.
- Virtual object refers to the movable object in the virtual scene.
- the movable object may be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil barrels, walls, stones, etc. displayed in the virtual scene.
- the virtual object may be a virtual avatar representing the user in the virtual scene.
- the virtual scene may include multiple virtual objects. Each virtual object has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.
- the virtual object is a user character controlled through operations on the client, or an artificial intelligence (Artificial Intelligence, AI) set in the virtual scene battle through training, or a non-user set in the virtual scene.
- AI Artificial Intelligence
- Character Non-Player Character, NPC
- the virtual object is a virtual character competing in a virtual scene.
- the number of virtual objects participating in the interaction in the virtual scene is preset, or is dynamically determined based on the number of clients participating in the interaction.
- the information including but not limited to user equipment information, user personal information, etc.
- data including but not limited to data used for analysis, stored data, displayed data, etc.
- signals involved in this application All are authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
- FIG. 1 is a schematic diagram of an implementation environment of a virtual object control method provided by an embodiment of the present application.
- the implementation environment may include a terminal 110 and a server 140 .
- the terminal 110 is connected to the server 140 through a wireless network or a wired network.
- the terminal 110 is a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart watch, etc., but is not limited thereto.
- the terminal 110 has an application program that supports displaying virtual scenes installed and running.
- the server 140 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or it provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, and middleware services. , domain name services, security services, distribution network (Content Delivery Network, CDN), and cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.
- the server 140 provides background services for applications running on the terminal 110 .
- the number of terminals 110 and servers 140 may be multiple.
- the terminal is also the terminal 110 in the above-mentioned implementation environment
- the server is also the above-mentioned server 140.
- the terminal displays a virtual scene
- the terminal controls the first virtual object in the virtual scene
- the first virtual object and the second virtual object are in the virtual scene. Fight in a virtual scene.
- the terminal can control the first virtual object to directly attack the second virtual object using fists, feet or virtual props in the virtual scene, and can also control the first virtual object to attack the second virtual object by releasing virtual skills in the virtual scene.
- Both the first virtual object and the second virtual object have health values in the virtual scene. When the health value of any virtual object is 0, the virtual object is defeated by the enemy. When a virtual object is hit by an attack, the health value of the virtual object will decrease.
- Attacks here include direct attacks by fists, feet or virtual props, as well as attacks by virtual skills.
- the terminal displays the mirror virtual object of the first virtual object in the virtual scene.
- the mirror interactive control is also called a skill control.
- the mirror interactive control can control the third virtual object.
- a virtual object releases virtual skills in the virtual scene.
- the terminal can control the mirror virtual object to interact with the second virtual object, that is, control the mirror virtual object to launch an attack on the second virtual object.
- the rendering of the virtual scene can be completed by the terminal or by the server, which is not limited in the embodiments of the present application.
- the terminal is used as the execution subject as an example.
- the terminal and the server can also jointly execute the technical solution provided in this application.
- the embodiments of this application do not limit the type of execution subject. Referring to Figure 2, taking the execution subject as a terminal as an example, the method includes the following steps.
- the terminal displays a virtual scene.
- the virtual scene displays a first virtual object and a second virtual object.
- the first virtual object is a virtual object controlled by the terminal.
- the second virtual object and the first virtual object belong to different camps.
- the virtual scene is also called a virtual fighting scene.
- the virtual scene has four boundaries: upper, lower, left and right, and virtual objects in the virtual scene move freely within the range of the four boundaries.
- the first virtual object is a virtual object controlled by the terminal
- the second virtual object is a virtual object controlled by another terminal, or a virtual object controlled by AI.
- the second virtual object and the first virtual object belonging to different camps means that the second virtual object and the first virtual object have a hostile relationship in the virtual scene, and the first virtual object and the second virtual object can be in a hostile relationship in the virtual scene. To interact, that is, to attack each other in this virtual scene.
- the terminal controls the first virtual object to move in the first direction, and displays the mirror virtual object of the first virtual object at the first position of the virtual scene.
- the terminal displays a mirror interactive control.
- the mirror interactive control is a skill control of the first virtual object. Triggering the mirror interactive control can control the first virtual object to release virtual skills in the virtual scene.
- the display position of the mirror interactive control is set by technicians or users according to actual conditions, and this is not limited in the embodiments of the present application.
- the first direction is set by technicians according to the actual situation.
- the first direction is set to the facing direction of the first virtual object, or the first direction is set to be above the first virtual object, or the first direction is set to The embodiment of the present application does not limit this to the back-facing direction of the first virtual object.
- the first position is set by technicians according to actual conditions.
- the first position is a position opposite the first virtual object, and the distance between the first position and the first virtual object is a preset distance.
- the first position is related to a contact position, and the contact position refers to a position where the first virtual object contacts the second virtual object.
- the distance between the first position and the contact position is a preset distance.
- the first position is the position where the first virtual object is located.
- the first position is a preset position in the virtual scene, which is not limited in the embodiments of the present application.
- the mirror virtual object of the first virtual object is also a clone of the first virtual object, and the mirror virtual object has the same appearance as the first virtual object.
- the terminal controls the first virtual object to move to the first position in response to another triggering operation on the mirror interactive control.
- the mirror interactive control has two layers of functions.
- the first layer is to control the first virtual object to move in the first direction; the second layer is to control the first virtual object to move to the location of the mirror virtual object.
- the second-layer function can only be triggered based on the implementation of the first-layer function.
- the terminal controls the first virtual object and the second virtual object to move toward the first position together.
- the first virtual object is in contact with the second virtual object, that is, the model of the first virtual object is in contact with the model of the second virtual object.
- the first virtual object and the second virtual object move toward the first position together, that is, the second virtual object is "brought" by the first virtual object to the position where the mirror virtual object is located.
- the terminal controls the first virtual object to interact with the second virtual object.
- controlling the first virtual object to interact with the second virtual object means controlling the first virtual object to actively interact with the second virtual object, for example, controlling the first virtual object to attack the second virtual object, etc. .
- the terminal controls the first virtual object when the first virtual object coincides with the mirror virtual object and the distance between the second virtual object and the mirror virtual object meets the first distance condition. Interact with the second virtual object.
- the distance between the second virtual object and the mirror virtual object meets the first distance condition means that the distance between the second virtual object and the mirror virtual object is less than or equal to the first distance threshold, and the first distance Thresholds determined by technicians It is set according to the actual situation, for example, the first distance threshold is set to two body positions or three body positions, etc. This is not limited in the embodiment of the present application.
- the virtual scene includes a first virtual object and a second virtual object.
- Triggering the mirror interactive control can control the first virtual object to move in the first direction, and display the first virtual object in the virtual scene.
- the first virtual object is controlled to move toward the location of the mirror virtual object.
- the first virtual object and the second virtual object are controlled to move together toward the position where the mirror virtual object is located.
- the first virtual object and the mirror virtual object overlap the first virtual object is controlled to interact with the second virtual object.
- the interaction between the first virtual object and the second virtual object is enriched. The user can use the mirror virtual object to effectively interact with the second virtual object, thereby improving the efficiency of human-computer interaction.
- the above steps 201-205 are a brief introduction to the virtual object control method provided by the embodiment of the present application.
- the following will combine some examples to give a clearer explanation of the virtual object control method provided by the embodiment of the present application. See Figure 3 to execute Taking the subject as a terminal as an example, the method includes the following steps.
- the terminal displays a virtual scene.
- the virtual scene displays a first virtual object and a second virtual object.
- the first virtual object is a virtual object controlled by the terminal.
- the second virtual object and the first virtual object belong to different camps.
- the virtual scene is also called a virtual fighting scene, and the virtual fighting scene is also the background of fighting games.
- Virtual objects can fight in this virtual scene. Fighting is an interactive behavior between two virtual objects. Two virtual objects can fight by using fists and feet, using virtual props, and releasing virtual skills.
- the second virtual object and the first virtual object belonging to different camps means that the second virtual object and the first virtual object have a hostile relationship in the virtual scene, and the first virtual object and the second virtual object can be in a hostile relationship in the virtual scene.
- the first virtual object and the second virtual object each have a certain number of initial health values.
- the first virtual object and the second virtual object have a certain initial health value.
- the health value of the second virtual object will continue to decrease.
- the initial health value of the first virtual object may be the same as the second virtual object, or may be different from the second virtual object. This is not limited in the embodiments of the present application. .
- the health value of any virtual object is reduced to a target value, such as 0, the virtual object is defeated by another virtual object.
- the health value is also called health value or blood volume, etc.
- the first virtual object is selected by the user before loading the virtual scene.
- the first virtual object always faces the second virtual object
- the second virtual object always faces the first virtual object. That is to say, in the first virtual scene, the second virtual object always faces the first virtual object.
- the first virtual object and the second virtual object always face each other.
- the orientation of the first virtual object and the second virtual object will not change during interaction, and the orientation will be automatically adjusted when the interaction ends.
- the terminal in response to the user starting a competitive match, displays a virtual scene of the competitive match.
- the virtual scene displays the first virtual object and the second virtual object.
- the first virtual object and the second virtual object is displayed on both sides of the virtual scene.
- a competitive battle is also a fighting game, and the virtual scene displayed on the terminal can be either a complete virtual scene or a part of the virtual scene.
- the virtual scene displayed by the terminal moves with the movement of the first virtual object.
- the first virtual object is always displayed on the left side of the virtual scene.
- the terminal also displays multiple controls, which are used to control the actions of the first virtual object in the virtual scene.
- the user can click or drag the multiple controls to Implement control of the first virtual object.
- the multiple controls can be divided into mobile controls and interactive controls.
- the mobile controls are used to control the movement of the first virtual object in the virtual scene.
- the mobile controls are used to control the movement of the first virtual object.
- a virtual object moves left, right, squats, jumps, etc. in the virtual scene.
- the interactive control is used to control the first virtual object to use virtual skills, attack enemies, capture enemies, etc. in the virtual scene.
- the terminal displays a virtual scene 400, which displays a first virtual object 401 and a second Virtual object 402, the terminal also displays mobile controls 403, mobile controls 404 and interactive controls 405.
- the user drags the movement control 403 to control the first virtual object 401 to move in the virtual scene 400, and clicks the movement control 404 to control the first virtual object 401 to move in the virtual scene 400. Jump in the virtual scene 400.
- the terminal controls the first virtual object to move in the first direction, and displays the mirror virtual object of the first virtual object at the first position of the virtual scene.
- the terminal displays a mirror interactive control.
- the mirror interactive control is a skill control of the first virtual object.
- the mirror interactive control belongs to the above-mentioned interactive control. Triggering the mirror interactive control can control the first virtual object in the virtual scene. Release virtual skills.
- the display position of the mirror interactive control is set by technicians or users according to actual conditions, and this is not limited in the embodiments of the present application.
- the first direction is set by technicians according to the actual situation. For example, the first direction is set to the facing direction of the first virtual object, the top of the first virtual object, or the back-facing direction of the first virtual object. In the embodiment of the present application There is no restriction on this.
- the first position is the position where the first virtual object is located when the mirror interactive control is triggered, or another position in the virtual scene, which is not limited in the embodiments of the present application.
- the following will first describe a method for the terminal to control the first virtual object to move in the first direction in response to a triggering operation on the mirror interactive control.
- the terminal controls the first virtual object to move in the first direction in response to a click operation on the mirror interactive control.
- the mirror interactive control is the skill control of the first virtual object
- clicking the mirror interactive control is to control the first virtual object to release the corresponding virtual skill in the virtual scene, which is one of the effects of the virtual skill. That is, the first virtual object moves toward the first direction.
- the terminal controls the first virtual object 401 to move in the first direction in response to a click operation on the mirror interactive control 4051.
- the clicking operation described in the above embodiments includes the operation of clicking on the touch screen, and also includes the clicking operation through an external device such as a mouse, which is not limited in the embodiments of the present application.
- the terminal controls the first virtual object to move in the facing direction in response to a click operation on the mirror interactive control.
- the movement forms include running, flying, kicking, etc., which are not limited in the embodiments of the present application.
- the distance the first virtual object moves in the first direction is the target distance, that is, the distance the first virtual object automatically moves after clicking the mirror interactive control is the target distance.
- the target distance is set by technicians according to actual conditions, and is not limited in the embodiments of the present application.
- the following describes a method for the terminal to display the mirror virtual object of the first virtual object at the first position of the virtual scene in response to the triggering operation of the mirror interactive control.
- the mirror virtual object of the first virtual object is also a clone of the first virtual object, and the mirror virtual object has the same appearance as the first virtual object.
- the first virtual object holds a virtual prop
- the mirror virtual prop also holds the same virtual prop.
- the transparency of the mirror virtual object and the first virtual object are different. The user can quickly distinguish the mirror virtual object and the first virtual object through the transparency, and the efficiency of human-computer interaction is high.
- the terminal displays the mirror virtual object of the first virtual object at the first position, the position of the mirror virtual object is fixed at the first position, that is, the position of the mirror virtual object does not change.
- the mirror virtual object is also called a clone of the first virtual object.
- the first virtual object can also be called a body.
- the terminal loads the model of the mirror virtual object in response to the triggering operation of the mirror interactive control, renders the model of the mirror virtual object at the first position, and displays it at the first position.
- the mirror virtual object For example, referring to Figure 5, the first virtual object 501 moves in the facing direction, and a mirror virtual object 502 is generated in place.
- the terminal when the terminal displays the mirrored virtual object at the first position, it may use either a direct display method or a gradient display method, which is not limited in the embodiments of the present application.
- the terminal can directly display the first virtual image after triggering the mirror interactive control.
- the virtual object that is a mirror image of the first virtual object can also be displayed after the first virtual object comes into contact with the second virtual object. This is not limited in the embodiments of the present application.
- the terminal may perform the following steps 303-304 or the following steps 305-307, which is not limited in the embodiment of the present application.
- the terminal controls the first virtual object to move to the first position in response to another triggering operation on the mirror interactive control.
- the terminal controls the first virtual object to move to the first position in response to another click operation on the mirror interactive control.
- the first virtual object moves to the first position, that is, the first virtual object moves to a mirror virtual object of the first virtual object.
- the terminal controls the first virtual object 601 to move to the first position in response to another click operation on the mirror interactive control, and also That is, the first virtual object 601 is controlled to move to the position where the mirror virtual object 602 is located.
- the terminal controls the first virtual object after the first virtual object contacts the second virtual object for the first time during the movement of the first virtual object in the first direction. Continue moving in this first direction. The terminal controls the second virtual object to remain at the current position. The terminal controls the first virtual object to move to the first position in response to another click operation on the mirror interactive control.
- the contact between the first virtual object and the second virtual object means that the model of the first virtual object is in contact with the model of the second virtual object.
- an invisible collision detection box is bound to the model of the first virtual object and the model of the second virtual object, and the terminal can determine the location of the first virtual object through the collision detection box. Whether the model is in contact with the model of the second virtual object.
- the first virtual object contacts the second virtual object, which means that the virtual skill triggered by the mirror interaction control takes effect.
- the contact between the first virtual object and the second virtual object is a form of interaction between the first virtual object and the second virtual object, or in other words, the first virtual object is in contact with the second virtual object. A form of the object attacking the second virtual object in the virtual scene. In the case where the first virtual object comes into contact with the second virtual object, the health value of the second virtual object will be reduced.
- the mirror interactive control is used to control the first virtual object to move to the first position.
- the terminal controls the second virtual object to remain at the current position for a first time period, which is set by a technician according to the actual situation, and is not limited in this embodiment of the present application.
- the terminal cancels display of the mirror virtual object if the terminal does not detect a triggering operation on the mirror interactive control within a target duration.
- the terminal controls the first virtual object and the second virtual object to move toward the first position together.
- controlling the second virtual object and the first virtual object to move toward the first position together means controlling the second virtual object and the first virtual object to move toward the first position at the same speed and direction, That is, in the process of the second virtual object and the first virtual object moving toward the first position together, the second virtual object and the first virtual object are in an overlapping state.
- the first virtual object While the first virtual object is moving toward the first position, it may be in contact with the second virtual object or may not be in contact with the second virtual object. This is because the first virtual object is moving toward the first position.
- the timing depends on the triggering timing of the mirror interactive control again.
- the second triggering timing of the mirror interactive control is the correct timing
- the first virtual object can interact with the second virtual object again when it moves to the first position. touch.
- the second triggering timing of the mirror interactive control is the wrong timing
- the first virtual object will not be able to contact the second virtual object again when it moves to the first position.
- the correct timing and the wrong timing are determined by technicians based on the actual situation. The situation is set, and the embodiment of the present application does not limit this. For example, referring to FIG.
- the first virtual object 701 and the second virtual object 702 are controlled to move toward the first position together, that is, The first virtual object 701 and the second virtual object 702 are controlled to move together to the position where the mirror virtual object 703 is located.
- the terminal when the first virtual object is in contact with the second virtual object, the terminal displays a movement control, where the movement control is used to control the first virtual object to move to the first position. In response to the triggering operation of the movement control, the terminal controls the first virtual object and the second virtual object to jointly move to the first position.
- the terminal determines the location of the second virtual object. state.
- the terminal controls the first virtual object and the second virtual object to move toward the first position together.
- This second state is also called a defensive state or a blocking state.
- the terminal after determining that the first virtual object is in contact with the second virtual object, the terminal can further determine the state of the second virtual object. Only when the state of the second virtual object is not the second state can the first virtual object and the second virtual object be controlled to move toward the first position together. That is, after the virtual skill corresponding to the mirror interactive control successfully hits the second virtual object, the terminal will display the movement control, and then the first virtual object and the second virtual object can be controlled to move toward the first position.
- step 304 is explained by taking the first virtual object and the second virtual object being in contact as an example. In other possible implementations, the first virtual object and the second virtual object are not in contact. The following assumes that there is no contact. explain the situation.
- the terminal controls the first virtual object to move to the first position. If the virtual objects overlap, cancel the display of the mirror virtual object.
- the terminal controls the first virtual object to remain at the current position when the first virtual object and the second virtual object are not in contact.
- the above embodiment provides a punishment method.
- the terminal keeps the first virtual object at the current position, and the holding time is determined by the technician according to the actual situation. Settings are not limited in the embodiments of this application. While the holding time lasts, the first virtual object cannot move in the virtual scene.
- the terminal controls the first virtual object to move to the second part of the virtual scene when the first virtual object is in contact with the second virtual object. position, the second virtual object is located between the first position and the second position.
- the second position is associated with the position of the second virtual object in the virtual scene, and the distance between the second position and the position of the second virtual object in the virtual scene is less than Or equal to the second distance threshold, it can also be said that the second position is next to the second virtual object.
- the second distance threshold is set by technicians according to the actual situation, and the embodiment of the present application does not limit this.
- the second virtual object is located between the first position and the second position. If the first position is on the left side of the virtual scene, the second position is on the right side of the virtual scene. When the second virtual object faces the left side of the virtual scene, the second position is the back of the second virtual object. For example, referring to FIG. 4 , the first virtual object 401 is located on the second virtual object 402 back.
- the terminal determines the position of the second virtual object when the first virtual object is in contact with the second virtual object. state.
- the terminal controls the first virtual object to move to the second position of the virtual scene.
- the second state is also called a defense state or a blocking state.
- the first virtual object cannot successfully interact with the second virtual object, that is, the attack of the first virtual object cannot take effect on the second virtual object.
- the second virtual object is in an immovable state.
- the terminal controls the first virtual object to move behind the second virtual object.
- the terminal does not control the first virtual object to move to the second position, but interrupts the process of moving the first virtual object in the first direction, and finally moves the first virtual object to the second position.
- the position is determined as the position in contact with the second virtual object.
- the terminal can further determine the state of the second virtual object. Only when the state of the second virtual object is not the second state, the first virtual object is controlled to move to the second position. From the user's perspective, when the first virtual object moves to the second position, it means that the virtual skill corresponding to the mirror interactive control is successfully triggered, and the efficiency of human-computer interaction is high.
- the second state provides a means for the second virtual object to counteract the first virtual object, preventing the virtual skill from being too powerful and causing a loss of game balance.
- Method 1 The terminal controls the first virtual object to cross the second virtual object from a position in contact with the second virtual object to reach the second position.
- the terminal controls the first virtual object to reach the second position on a specific trajectory, and the movement process of the first virtual object is relatively smooth.
- the terminal uses the position where the first virtual object is in contact with the second virtual object as The starting point is to generate a first trajectory, which is a trajectory that crosses the second virtual object from the starting point and reaches the second position.
- the terminal controls the first virtual object to reach the second position along the first trajectory.
- Method 2 The terminal controls the first virtual object to directly pass through the second virtual object and reach the second position.
- the terminal controls the first virtual object to move in the shortest distance, the first virtual object can reach the second position at a faster speed, and the efficiency of human-computer interaction is higher.
- Method 3 The terminal controls the position of the first virtual object to directly move from the position in contact with the second virtual object to the second position.
- the terminal controls the first virtual object to appear directly at the second position after the contact position disappears, and the position transformation of the first virtual object is most efficient.
- the terminal can use any of the above methods to control the first virtual object to move to the second position, which is not limited in the embodiments of the present application.
- the terminal controls the first virtual object using equipment.
- the virtual prop interacts with the second virtual object, that is, the virtual prop is used to attack the second virtual object.
- the terminal moves the first virtual object to the second position; when the first virtual object uses the virtual props but does not interact with the third virtual object.
- the terminal does not move the first virtual object to the second position. Whether the first virtual object can successfully interact with the second virtual object using the virtual props depends on the second virtual object.
- the first virtual object cannot use the virtual props to successfully interact with the second virtual object; when the second virtual object does not In the second state, the first virtual object can successfully interact with the second virtual object using the virtual props.
- the terminal controls the first virtual object to interact with the second virtual object at the second position.
- the first virtual object interacting with the second virtual object at the second position means that the first virtual object attacks the second virtual object at the second position.
- the purpose of the first virtual object interacting with the second virtual object at the second position is to change the position of the second virtual object.
- the purpose of interaction also includes reducing the health value of the second virtual object.
- the terminal controls the first virtual object to use the virtual prop to interact with the second virtual object at the second position, that is, Control the first virtual object to use the virtual prop to attack the second virtual object at the second position, for example, the terminal controls the first virtual object to use the virtual prop to swing towards the second virtual object at the second position, or, The terminal controls the first virtual object to operate on the second The position attacks the second virtual object in the form of a "flying kick".
- this embodiment of the present application only takes as an example that the terminal can control the first virtual object to interact with the second virtual object at the second position. In another embodiment, the terminal may not perform step 306.
- the terminal controls the first virtual object and the second virtual object to move toward the first position together.
- the first position is the position where the terminal displays the mirror virtual object of the first virtual object
- the second virtual object is controlled to move to the first position, that is, the second virtual object is controlled to move to the position of the mirror virtual object. move.
- the terminal generates a second trajectory based on the current location of the second virtual object and the first location.
- the starting point of the second trajectory is the current location of the second virtual object and the end point is the third location.
- One position. The terminal controls the second virtual object to move along the second trajectory toward the first position.
- the function for generating a trajectory based on two positions is set by technicians according to actual conditions, and this is not limited in the embodiments of the present application.
- the terminal controls the first virtual object to move the second virtual object to the second virtual object. interact with virtual objects.
- the first virtual object coincides with the mirror virtual object means that the model of the first virtual object coincides with the model of the mirror virtual object.
- the terminal controls The first virtual object interacts with the second virtual object, that is, controls the first virtual object to attack the second virtual object, for example, controls the first virtual object to use virtual props to attack the second virtual object.
- the terminal controls the The first virtual object 801 interacts with the second virtual object 802.
- the terminal controls The mirror virtual object and the first virtual object simultaneously interact with the second virtual object.
- the terminal can control the mirror virtual object and the first virtual object to interact with the second virtual object at the same time, that is, control the mirror virtual object and the first virtual object to attack the second virtual object at the same time.
- Object which provides users with richer attack methods and improves the efficiency of human-computer interaction.
- the terminal controls
- the first virtual object can also independently control the mirror virtual object to directly interact with the second virtual object.
- the embodiment of the present application does not limit this.
- the interaction between the first virtual object and the second virtual object is used as an example for explanation.
- the main body is the first virtual object
- the clone is the mirror virtual object of the first virtual object
- the enemy is the second virtual object.
- the terminal releases the virtual skill in the virtual scene, moves in the first direction, and displays the mirror virtual object of the first virtual object in the first position of the virtual scene.
- the user activates the mirror interactive control again, and the terminal controls the first virtual object to move to the location of the mirror virtual object in response to another click operation on the mirror interactive control.
- the first virtual object and the second virtual object are controlled to move together toward the position where the mirror virtual object is located.
- the first virtual object When the first virtual object coincides with the mirror virtual object, and the distance between the second virtual object and the mirror virtual object is less than or equal to the first distance threshold, the first virtual object is controlled to perform an operation on the second virtual object. interactive. When the first virtual object is not in contact with the second virtual object, the first virtual object is controlled to move to the position where the mirror virtual object is located, and the display of the mirror virtual object is cancelled. Without clicking the mirror interactive control a second time, the terminal cancels display of the mirror virtual object.
- the terminal can also perform the following steps 309-310, or perform the following steps 311-312, or perform the following steps 313-314, or perform the following steps 315- 317, embodiment of this application There is no restriction on this.
- the terminal adjusts the position of the first virtual object to the third position and controls the second virtual object to move to the third position.
- the position is the position when the first virtual object contacts the second virtual object.
- the successful interaction of the first virtual object with the second virtual object means that the attack of the first virtual object successfully hits the second virtual object.
- the successful attack of the first virtual object on the second virtual object means that the first virtual object's fists, feet or equipped virtual props come into contact with the second virtual object.
- an invisible collision detection box is bound to the fists and feet of the first virtual object or to the virtual props of the equipment, and an invisible collision detection box is also bound to the second virtual object.
- the terminal passes the The collision detection box can determine whether the attack of the first virtual object successfully hits the second virtual object.
- the collision detection box corresponding to the first virtual object contacts the collision detection box corresponding to the second virtual object, it is determined that the attack of the first virtual object successfully hits the second virtual object, that is, the first virtual object The object successfully interacted with the second virtual object.
- the collision detection box corresponding to the first virtual object does not contact the collision detection box corresponding to the second virtual object, it is determined that the attack of the first virtual object did not successfully hit the second virtual object, that is, the third virtual object One virtual object did not successfully interact with the second virtual object.
- the terminal can move the first virtual object to the third position of the virtual scene, so that the user can interact with the first virtual object again based on the first virtual object. interact with the second virtual object.
- the terminal displays a continuous interaction control, which is used to control the first virtual object to interact with the second virtual object.
- the continuous interaction control is displayed when the first virtual object successfully interacts with the second virtual object, and can be regarded as a "reward" for controlling the successful interaction between the first virtual object and the second virtual object,
- the continuous interaction control is used to control the first virtual object to interact with the second virtual object, that is, to control the first virtual object to attack the second virtual object in the virtual scene.
- the terminal can also perform the following solution.
- the first solution in response to the triggering operation of the continuous interactive control, the terminal controls the first virtual object to move to the location of the second virtual object.
- the terminal controls the first virtual object to interact with the second virtual object.
- the first virtual object can be controlled to automatically move to the location of the second virtual object, and the distance between the first virtual object and the second virtual object meets Under the second distance condition, the second virtual object is automatically interacted with.
- This interaction process only requires the user to trigger the continuous interaction control once, and the efficiency of human-computer interaction is high.
- the terminal controls the first virtual object to move to the location of the second virtual object, because the second virtual object is "directed" by the mirror virtual object. If the location of the first virtual object is located, then the second virtual object is also in the process of moving, and the location of the second virtual object will continue to change. Then control the first virtual object to move to the location of the second virtual object. Moving is the process of continuously reducing the distance between the first virtual object and the second virtual object.
- the terminal controls the first virtual object to interact with the second virtual object, that is, controls the first virtual object to interact with the second virtual object.
- the object attacks the second virtual object in the virtual scene, where the second distance threshold is the maximum attack distance of the first virtual object.
- the second distance threshold is set by technicians according to the actual situation. The embodiment of the present application is This is not limited.
- the second solution in response to the triggering operation of the continuous interactive control, the terminal displays an enlarged target virtual prop around the first virtual object, and the target virtual prop is a virtual prop equipped with the first virtual object.
- the terminal controls the second virtual object to move above the first virtual object to reduce the health value of the second virtual object.
- the terminal displays the enlarged
- the target virtual prop is a virtual prop equipped with the first virtual object.
- the terminal enlarges and displays the target virtual prop, that is, a virtual obstacle is displayed in the virtual scene.
- the terminal controls the second virtual object to change its movement direction, that is, from moving to the third position to moving above the third virtual object, presenting a The perception of "being knocked away by the target virtual prop" enriches the way the first virtual object interacts with the second virtual object in this way, and improves the efficiency of human-computer interaction.
- the terminal in response to a click operation on the continuous interactive control, displays an enlarged target virtual prop around the first virtual object, and the surroundings of the first virtual object include the left and right sides of the first virtual object. Or the location of the first virtual object.
- the terminal controls the second virtual object to move above the first virtual object and decreases the health value of the second virtual object.
- the terminal determines a second direction based on the target part of the second virtual object.
- the second direction indicates that the second virtual object moves in the virtual scene.
- the target part is the part that successfully interacts with the mirror virtual object.
- the target part of the second virtual object is the part where the mirror virtual object successfully interacts, or in other words, the part where the mirror virtual object hits the second virtual object when it attacks the second virtual object.
- invisible collision detection boxes are bound to multiple parts of the second virtual object respectively.
- the terminal determines the bottom of the mirrored virtual object as the second direction.
- the user when the second virtual object needs to be moved below the mirror virtual object, the user only needs to control the mirror virtual object to interact with the head of the second virtual object.
- the efficiency of human-computer interaction is relatively high. high.
- the terminal determines the direction in which the second virtual object moves toward the first virtual object as the second direction.
- the user when the second virtual object needs to be moved to the direction of the first virtual object, the user can control the mirror virtual object to interact with the torso of the second virtual object.
- Human-computer interaction is Higher efficiency.
- the terminal determines the top of the mirror virtual object as the second direction.
- the user when the second virtual object needs to be moved above the mirror virtual object, the user only needs to control the mirror virtual object to interact with the feet of the second virtual object.
- the efficiency of human-computer interaction is relatively high. high.
- the user can control the second virtual object to move in different directions by controlling the interaction between the mirror virtual object and different parts of the second virtual object.
- the user can choose different moving directions according to the actual situation. , thereby completing different interactive combinations, providing users with richer choices and improving the user's gaming experience.
- the terminal controls the second virtual object to move in the virtual scene in the second direction.
- the terminal controls the first virtual object to enter the first state.
- the first state may also be called a counterattack state or a counterattack state.
- the first virtual object When the first virtual object is in the first state, it can automatically respond to the second virtual object when the second virtual object interacts with the first virtual object. Interaction is performed, that is, when the second virtual object attacks the first virtual object, the first virtual object in the first state can automatically fight back.
- This first state has a certain duration, which is set by technicians according to the actual situation.
- the terminal controls the first virtual object to automatically interact with the second virtual object.
- the terminal responds to the second virtual object
- the attack hits the first virtual object the first virtual object is controlled to automatically counterattack the second virtual object.
- the terminal adjusts the position of the first virtual object to a third position and displays a position exchange control.
- the third position is the first virtual object. The position when in contact with the second virtual object.
- the function of the position exchange control is to exchange the positions of the first virtual object and the mirror virtual object.
- the display position of the position exchange control is set by technicians according to the actual situation. This is not limited in the embodiments of the present application.
- the terminal In response to the triggering operation of the position exchange control, the terminal exchanges the positions of the first virtual object and the mirror virtual object in the virtual scene.
- the terminal exchanges the positions of the first virtual object and the mirror virtual object in the virtual scene in response to a click operation on the position exchange control.
- the terminal controls the first virtual object to interact with the second virtual object.
- the terminal in response to another click operation on the mirror interaction control, controls the first virtual object to interact with the second virtual object, that is, controls the first virtual object to attack the second virtual object.
- the virtual object for example, controls the first virtual object to use virtual props to attack the second virtual object.
- the first virtual object will directly perform the action of interacting with the second virtual object. However, performing this action does not mean that the interaction with the second virtual object will be successful. , there may also be situations where interaction fails.
- the interaction of the first virtual object with the second virtual object means that the first virtual object attacks the second virtual object in the virtual scene. Then, after clicking the mirror interaction control, the first virtual object will execute the attack. Actions, such as waving virtual props of equipment.
- the attack action performed by the first virtual object may hit the second virtual object or may not hit the second virtual object. This situation is caused by two reasons.
- the distance at which the first virtual object interacts is limited; second, the second virtual object is moved to the first position, and the second virtual object The object is in motion.
- the prerequisite for successful interaction between the first virtual object and the second virtual object is that the triggering timing of the mirror interaction control is within a target time range.
- the target time range is determined by the terminal based on the moving speed of the second virtual object, Parameters such as the size information of the second virtual object and the interaction distance of the first virtual object are determined. From a user's perspective, the prerequisite for successfully controlling the first virtual object to interact with the second virtual object is that the timing of clicking the mirror interaction control again is correct, and the user can achieve this through multiple trainings.
- the terminal can also perform the following steps.
- the first solution in response to another triggering operation on the mirror interactive control, the terminal controls the mirror virtual object to move to the location of the first virtual object.
- the terminal decreases the health value of the second virtual object.
- the trigger operation is a click operation.
- the terminal provides another way for the first virtual object to interact with the second virtual object by controlling the mirror virtual object to move to the location of the first virtual object, that is, contact Mirroring the virtual object will reduce the health value of the second virtual object, thereby enriching the user's choices and improving the efficiency of human-computer interaction.
- the second solution when the mirror virtual object of the terminal coincides with the first virtual object, the terminal cancels the display of the mirror virtual object.
- the terminal can also perform the following steps.
- the first solution when the first virtual object successfully interacts with the second virtual object, the terminal controls the second virtual object to move to the current location of the mirror virtual object. In response to triggering the position exchange control again, the terminal exchanges the positions of the first virtual object and the mirror virtual object in the virtual scene again. In response to another triggering operation on the mirror interaction control, the terminal controls the first virtual object to interact with the second virtual object again.
- the trigger operation is a click operation.
- the position exchange control also provides a secondary trigger function. By triggering the position exchange twice, The control can exchange the positions of the first virtual object and the mirror virtual object again, so that the second virtual object can be interacted with again based on the first virtual object.
- the virtual scene includes a first virtual object and a second virtual object.
- Triggering the mirror interactive control can control the first virtual object to move in the first direction, and display the first virtual object in the virtual scene.
- the first virtual object is controlled to move toward the location of the mirror virtual object.
- the first virtual object and the second virtual object are controlled to move together toward the position where the mirror virtual object is located.
- the first virtual object and the mirror virtual object overlap the first virtual object is controlled to interact with the second virtual object.
- the interaction between the first virtual object and the second virtual object is enriched. The user can use the mirror virtual object to effectively interact with the second virtual object, thereby improving the efficiency of human-computer interaction.
- FIG. 10 is a schematic structural diagram of a virtual object control device provided by an embodiment of the present application.
- the device is provided in a computer device, for example, the computer device is a terminal.
- the device includes: a virtual scene display module 1001, a first virtual object control module 1002 and a second virtual object control module 1003.
- the virtual scene display module 1001 is used to display a virtual scene.
- the virtual scene displays a first virtual object and a second virtual object.
- the first virtual object is a virtual object controlled by the terminal.
- the second virtual object and the first virtual object Belong to different camps.
- the first virtual object control module 1002 is configured to control the first virtual object to move in the first direction in response to the triggering operation of the mirror interactive control, and display the mirror virtual object of the first virtual object at the first position of the virtual scene. .
- the first virtual object control module 1002 is also configured to control the first virtual object to move toward the first direction in response to triggering the mirror interactive control again. Position moves.
- the second virtual object control module 1003 is used to control the first virtual object and the second virtual object to jointly move to the first position when the first virtual object is in contact with the second virtual object.
- the first virtual object control module 1002 is also used to control the first virtual object to interact with the second virtual object when the first virtual object overlaps with the mirror virtual object.
- the first virtual object control module 1002 is used to control the first virtual object to move to the first position when the first virtual object and the second virtual object are not in contact. .
- the mirror virtual object is canceled.
- the first virtual object control module 1002 is configured to operate when the first virtual object and the mirror virtual object coincide with each other, and the distance between the second virtual object and the mirror virtual object meets the first distance condition. In this case, the first virtual object is controlled to interact with the second virtual object.
- the first virtual object control module 1002 is configured to operate when the first virtual object and the mirror virtual object overlap, and the distance between the second virtual object and the mirror virtual object is less than or When equal to the first distance threshold, the mirror virtual object and the first virtual object are controlled to interact with the second virtual object at the same time.
- the second virtual object control module 1003 is also configured to determine, based on the target part of the second virtual object, when the first virtual object successfully interacts with the second virtual object.
- the second direction represents the direction in which the second virtual object moves in the virtual scene, and the target part of the second virtual object is the part that successfully interacts with the first virtual object. Control the second virtual object to move in the virtual scene in a second direction.
- the second virtual object control module 1003 is also used to perform any of the following:
- the lower part of the mirrored virtual object is determined as the second side.
- the direction in which the second virtual object moves toward the first virtual object is determined as the second direction.
- the upper side of the mirrored virtual object is determined as the second direction.
- the first virtual object control module 1002 is also configured to control the first virtual object to enter the first state when the first virtual object successfully interacts with the second virtual object. During the duration of the first state, if the second virtual object successfully interacts with the first virtual object, the first virtual object is controlled to automatically interact with the second virtual object.
- the second virtual object control module 1003 is used to control the first virtual object to move to the third part of the virtual scene when the first virtual object is in contact with the second virtual object. Two positions, the second virtual object is located between the first position and the second position. The first virtual object and the second virtual object are controlled to move toward the first position together.
- the second virtual object control module 1003 is used to control the first virtual object to interact with the second virtual object at the second position.
- the first virtual object control module 1002 is also configured to adjust the position of the first virtual object to the first virtual object when the first virtual object successfully interacts with the second virtual object. Three positions, control the second virtual object to move to the third position of the virtual scene, and the third position is the position where the first virtual object is in contact with the second virtual object.
- the device also includes:
- a continuous interactive control display module is used to display a continuous interactive control.
- the continuous interactive control is used to control the first virtual object to interact with the second virtual object.
- the first virtual object control module 1002 is also used to perform any of the following:
- the first virtual object In response to the triggering operation of the continuous interactive control, the first virtual object is controlled to move toward the location of the second virtual object. When the distance between the first virtual object and the second virtual object meets the second distance condition, the first virtual object is controlled to interact with the second virtual object.
- an enlarged target virtual prop is displayed around the first virtual object, and the target virtual prop is a virtual prop equipped by the first virtual object.
- the second virtual object is controlled to move above the first virtual object to reduce the health value of the second virtual object.
- the first virtual object control module 1002 is also configured to adjust the position of the first virtual object to the first virtual object when the first virtual object successfully interacts with the second virtual object.
- the third position displays the position exchange control, and the third position is the position where the first virtual object is in contact with the second virtual object.
- the positions of the first virtual object and the mirror virtual object in the virtual scene are exchanged.
- the first virtual object is controlled to interact with the second virtual object.
- the mirror virtual object control module is also used to control the mirror virtual object to move to the location of the first virtual object. In the case where the mirror virtual object is in contact with the second virtual object, the health value of the second virtual object is reduced.
- the first virtual object control module 1002 is also configured to control the second virtual object to move to the mirror virtual object when the first virtual object successfully interacts with the second virtual object. Move the current location.
- the positions of the first virtual object and the mirror virtual object in the virtual scene are exchanged again.
- the first virtual object is again controlled to interact with the second virtual object.
- the first virtual object control module 1002 is also configured to keep the first virtual object at the current position when the first virtual object does not successfully interact with the second virtual object. .
- the mirror virtual object control module is also used to connect the first virtual object and the third virtual object. When two virtual objects are in contact and the second virtual object is in the second state, the mirror virtual object is cancelled.
- the mirror virtual object control module is also configured to cancel the display of the mirror virtual object in response to the fact that no triggering operation is detected on the mirror interactive control within a target duration.
- the virtual object control device provided in the above embodiments controls the virtual object
- the division of the above functional modules is only used as an example.
- the above functions can be allocated to different functional modules as needed. Completion means dividing the internal structure of the computer equipment into different functional modules to complete all or part of the functions described above.
- the virtual object control device provided by the above embodiments and the virtual object control method embodiments belong to the same concept. Please refer to the method embodiments for the specific implementation process, which will not be described again here.
- the virtual scene includes a first virtual object and a second virtual object.
- Triggering the mirror interactive control can control the first virtual object to move in the first direction, and display the first virtual object in the virtual scene.
- the first virtual object is controlled to move toward the location of the mirror virtual object.
- the first virtual object and the second virtual object are controlled to move together toward the position where the mirror virtual object is located.
- the first virtual object and the mirror virtual object overlap the first virtual object is controlled to interact with the second virtual object.
- the interaction between the first virtual object and the second virtual object is enriched. The user can use the mirror virtual object to effectively interact with the second virtual object, thereby improving the efficiency of human-computer interaction.
- An embodiment of the present application provides a computer device.
- the computer device includes one or more processors and one or more memories. At least one computer program is stored in the one or more memories.
- the computer program is composed of the one or more processors.
- a processor is loaded and executed to implement the control method of the above virtual object.
- the computer device can be implemented as a terminal or a server.
- the structure of the terminal is first introduced below:
- FIG 11 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
- the terminal 1100 can be: a smart phone, a tablet computer, a notebook computer or a desktop computer.
- the terminal 1100 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal, and other names.
- the terminal 1100 includes: one or more processors 1101 and one or more memories 1102.
- the processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
- the processor 1101 can adopt at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array).
- DSP Digital Signal Processing, digital signal processing
- FPGA Field-Programmable Gate Array, field programmable gate array
- PLA Programmable Logic Array, programmable logic array
- the processor 1101 can also include a main processor and a co-processor.
- the main processor is a processor used to process data in the wake-up state, also called CPU (Central Processing Unit, central processing unit); the co-processor is A low-power processor used to process data in standby mode.
- the processor 1101 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is responsible for rendering and drawing the content that needs to be displayed on the display screen.
- the processor 1101 may also include an AI (Artificial Intelligence, artificial intelligence) processor, which is used to process computing operations related to machine learning.
- AI Artificial Intelligence, artificial intelligence
- Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 may also include high-speed random access memory, and non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In a possible implementation, the non-transitory computer-readable storage medium in the memory 1102 is used to store at least one computer program, and the at least one computer program is used to be executed by the processor 1101 to implement the method in this application. The control method of the virtual object provided by the example.
- the terminal 1100 optionally further includes: a peripheral device interface 1103 and at least one peripheral device.
- the processor 1101, the memory 1102 and the peripheral device interface 1103 may be connected through a bus or a signal line.
- Each peripheral device can be connected to the peripheral device interface 1103 through a bus, a signal line, or a circuit board.
- the peripheral device includes: at least one of a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107 and a power supply 1108.
- the peripheral device interface 1103 may be used to connect at least one peripheral device related to I/O (Input/Output, input/output).
- the device is connected to the processor 1101 and the memory 1102.
- the processor 1101, the memory 1102 and the peripheral device interface 1103 are integrated on the same chip or circuit board; in some other embodiments, the processor 1101, the memory 1102 and the peripheral device interface 1103 Any one or two of them can be implemented on a separate chip or circuit board, and this embodiment is not limited to this.
- the radio frequency circuit 1104 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals.
- Radio frequency circuitry 1104 communicates with communication networks and other communication devices through electromagnetic signals.
- the radio frequency circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
- the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like.
- the display screen 1105 is used to display UI (User Interface, user interface).
- the UI can include graphics, text, icons, videos, and any combination thereof.
- display screen 1105 also has the ability to collect touch signals on or above the surface of display screen 1105 .
- the touch signal can be input to the processor 1101 as a control signal for processing.
- the display screen 1105 can also be used to provide virtual buttons and/or virtual keyboards, also called soft buttons and/or soft keyboards.
- the camera component 1106 is used to capture images or videos.
- the camera assembly 1106 includes a front camera and a rear camera.
- the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
- Audio circuitry 1107 may include a microphone and speakers.
- the microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input to the processor 1101 for processing, or input to the radio frequency circuit 1104 to implement voice communication.
- the power supply 1108 is used to power various components in the terminal 1100.
- Power source 1108 may be AC, DC, disposable batteries, or rechargeable batteries.
- the terminal 1100 further includes one or more sensors 1109.
- the one or more sensors 1109 include, but are not limited to: acceleration sensor 1110, gyro sensor 1111, pressure sensor 1112, optical sensor 1113 and proximity sensor 1114.
- the acceleration sensor 1110 can detect the acceleration on three coordinate axes of the coordinate system established by the terminal 1100 .
- the gyro sensor 1111 can detect the body direction and rotation angle of the terminal 1100.
- the gyro sensor 1111 can cooperate with the acceleration sensor 1110 to collect the user's 3D movements on the terminal 1100.
- the pressure sensor 1112 may be provided on the side frame of the terminal 1100 and/or on the lower layer of the display screen 1105 .
- the pressure sensor 1112 When the pressure sensor 1112 is installed on the side frame of the terminal 1100, it can detect the user's grip signal on the terminal 1100, and the processor 1101 performs left and right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1112.
- the processor 1101 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1105.
- the optical sensor 1113 is used to collect ambient light intensity.
- the processor 1101 can control the display brightness of the display screen 1105 according to the ambient light intensity collected by the optical sensor 1113.
- the proximity sensor 1114 is used to collect the distance between the user and the front of the terminal 1100 .
- FIG. 11 does not limit the terminal 1100, and it may include more or fewer components than shown, or combine certain components, or adopt different component arrangements.
- the above computer equipment can also be implemented as a server.
- the structure of the server is introduced below:
- FIG 12 is a schematic structural diagram of a server provided by an embodiment of the present application.
- the server 1200 may vary greatly due to different configurations or performance, and may include one or more processors (Central Processing Units, CPUs) 1201 and a or multiple memories 1202, wherein at least one computer program is stored in the one or more memories 1202, and the at least one computer program is loaded and executed by the one or more processors 1201 to implement each of the above methods.
- the method provided in the example may also have components such as wired or wireless network interfaces, keyboards, and input and output interfaces for input and output.
- the server 1200 may also include other components for implementing device functions, which will not be described again here.
- a computer-readable storage medium such as a memory including a computer program.
- the computer program can be executed by a processor to complete the virtual object control method in the above embodiment.
- the computer-readable storage medium can be read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), read-only compact disc (Compact Disc Read-Only Memory, CD-ROM), Tapes, floppy disks and optical data storage devices, etc.
- a computer program product or computer program is also provided.
- the computer program product or computer program includes program code.
- the program code is stored in a computer-readable storage medium.
- the processor of the computer device can read the program from the computer.
- the program code is read from the storage medium, and the processor executes the program code, causing the computer device to execute the above control method of the virtual object.
- the computer program involved in the embodiments of the present application may be deployed and executed on one computer device, or executed on multiple computer devices located in one location, or distributed in multiple locations and communicated through Executed on multiple computer devices interconnected by a network, multiple computer devices distributed in multiple locations and interconnected through a communication network can form a blockchain system.
- the program can be stored in a computer-readable storage medium.
- the storage medium can be read-only memory, magnetic disk or optical disk, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种虚拟对象的控制方法、装置、设备以及存储介质,属于计算机技术领域。该方法包括:显示虚拟场景,虚拟场景显示有第一虚拟对象和第二虚拟对象(201);响应于对镜像互动控件的触发操作,控制第一虚拟对象向第一方向移动,在虚拟场景的第一位置显示第一虚拟对象的镜像虚拟对象(202);在第一虚拟对象向第一方向移动的过程中,响应于再次对镜像互动控件的触发操作,控制第一虚拟对象向第一位置移动(203);在第一虚拟对象与第二虚拟对象接触的情况下,控制第一虚拟对象与第二虚拟对象共同向第一位置移动(204);在第一虚拟对象与镜像虚拟对象重合的情况下,控制第一虚拟对象对第二虚拟对象进行互动(205)。
Description
本申请要求于2022年05月31日提交、申请号为202210611053.1、发明名称为“虚拟对象的控制方法、装置、设备以及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及计算机技术领域,特别涉及一种虚拟对象的控制方法、装置、设备以及存储介质。
随着多媒体技术的发展以及终端功能的多样化,在终端上能够进行的游戏种类越来越多。格斗类游戏是一种比较盛行的游戏,格斗类游戏为用户提供虚拟场景,两个用户在该虚拟场景中分别控制两个虚拟对象进行格斗。
相关技术中,用户往往是通过控制虚拟对象使用拳和脚的方式来进行格斗,也即是在格斗过程中,用户只能控制虚拟对象单独使用拳或脚,或者控制虚拟对象使用拳和脚的组合来攻击另一个虚拟对象。
但是,相关技术中用户控制虚拟对象进行格斗的形式较为单一,用户无法控制虚拟对象完成对另一个虚拟对象的有效互动,导致人机交互的效率较低,用户的游戏体验不佳。
发明内容
本申请实施例提供了一种虚拟对象的控制方法、装置、设备以及存储介质,可以提升人机交互的效率,所述技术方案如下:
一方面,提供了一种虚拟对象的控制方法,所述方法包括:
显示虚拟场景,所述虚拟场景显示有第一虚拟对象和第二虚拟对象,所述第一虚拟对象为终端控制的虚拟对象,所述第二虚拟对象与所述第一虚拟对象属于不同的阵营;
响应于对镜像互动控件的触发操作,控制所述第一虚拟对象向第一方向移动,在所述虚拟场景的第一位置显示所述第一虚拟对象的镜像虚拟对象;
在所述第一虚拟对象向所述第一方向移动的过程中,响应于再次对所述镜像互动控件的触发操作,控制所述第一虚拟对象向所述第一位置移动;
在所述第一虚拟对象与所述第二虚拟对象接触的情况下,控制所述第一虚拟对象与所述第二虚拟对象共同向所述第一位置移动;
在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动。
一方面,提供了一种虚拟对象的控制装置,所述装置包括:
虚拟场景显示模块,用于显示虚拟场景,所述虚拟场景显示有第一虚拟对象和第二虚拟对象,所述第一虚拟对象为终端控制的虚拟对象,所述第二虚拟对象与所述第一虚拟对象属于不同的阵营;
第一虚拟对象控制模块,用于响应于对镜像互动控件的触发操作,控制所述第一虚拟对象向第一方向移动,在所述虚拟场景的第一位置显示所述第一虚拟对象的镜像虚拟对象;
所述第一虚拟对象控制模块,还用于在所述第一虚拟对象向所述第一方向移动的过程中,响应于再次对所述镜像互动控件的触发操作,控制所述第一虚拟对象向所述第一位置移动;
第二虚拟对象控制模块,用于在所述第一虚拟对象与所述第二虚拟对象接触的情况下,
控制所述第一虚拟对象与所述第二虚拟对象共同向所述第一位置移动;
所述第一虚拟对象控制模块,还用于在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动。
一方面,提供了一种计算机设备,所述计算机设备包括一个或多个处理器和一个或多个存储器,所述一个或多个存储器中存储有至少一条计算机程序,所述计算机程序由所述一个或多个处理器加载并执行以实现所述虚拟对象的控制方法。
一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述计算机程序由处理器加载并执行以实现所述虚拟对象的控制方法。
一方面,提供了一种计算机程序产品或计算机程序,该计算机程序被处理器执行时实现上述虚拟对象的控制方法。
通过本申请实施例提供的技术方案,虚拟场景中包括第一虚拟对象和第二虚拟对象,触发镜像互动控件能够控制第一虚拟对象向第一方向移动,并且在虚拟场景中显示该第一虚拟对象的镜像虚拟对象。在第一虚拟对象移动的过程中,响应于对该镜像互动控件的再一次触发操作,控制第一虚拟对象向该镜像虚拟对象所在的位置移动。在该第一虚拟对象与该第二虚拟对象接触的情况下,控制第一虚拟对象和第二虚拟对象共同向镜像虚拟对象所在的位置移动。在第一虚拟对象与镜像虚拟对象重合的情况下,控制第一虚拟对象对第二虚拟对象进行互动。通过设置镜像虚拟对象的方式丰富了第一虚拟对象与第二虚拟对象之间进行互动的方式,用户能够利用镜像虚拟对象对第二虚拟对象进行有效互动,从而提高人机交互的效率。
图1是本申请实施例提供的一种虚拟对象的控制方法的实施环境的示意图;
图2是本申请实施例提供的一种虚拟对象的控制方法的流程图;
图3是本申请实施例提供的另一种虚拟对象的控制方法的流程图;
图4是本申请实施例提供的一种虚拟场景的示意图;
图5是本申请实施例提供的另一种虚拟场景的示意图;
图6是本申请实施例提供的又一种虚拟场景的示意图;
图7是本申请实施例提供的再一种虚拟场景的示意图;
图8是本申请实施例提供的再一种虚拟场景的示意图;
图9是本申请实施例提供的又一种虚拟对象的控制方法的流程图;
图10是本申请实施例提供的一种虚拟对象的控制装置结构示意图;
图11是本申请实施例提供的一种终端的结构示意图;
图12是本申请实施例提供的一种服务器的结构示意图。
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式做进一步的详细描述。
本申请中术语“第一”“第二”等字样用于对作用和功能基本相同的相同项或相似项进行区分,应理解,“第一”、“第二”、“第n”之间不具有逻辑或时序上的依赖关系,也不对数量和执行顺序进行限定。
虚拟场景:是应用程序在终端上运行时显示(或提供)的虚拟场景。该虚拟场景可以是对真实世界的仿真环境,也可以是半仿真半虚构的虚拟环境,还可以是纯虚构的虚拟环境。虚拟场景可以是二维虚拟场景、2.5维虚拟场景或者三维虚拟场景中的任意一种,本申请实施例对虚拟场景的维度不加以限定。例如,虚拟场景可以包括天空、陆地、海洋等,该陆地可
以包括沙漠、城市等环境元素,用户可以控制虚拟对象在该虚拟场景中进行移动。在格斗类游戏中,虚拟场景也被称为虚拟格斗场景。
虚拟对象:是指在虚拟场景中的可活动对象。该可活动对象可以是虚拟人物、虚拟动物、动漫人物等,比如:在虚拟场景中显示的人物、动物、植物、油桶、墙壁、石块等。该虚拟对象可以是该虚拟场景中的一个虚拟的用于代表用户的虚拟形象。虚拟场景中可以包括多个虚拟对象,每个虚拟对象在虚拟场景中具有自身的形状和体积,占据虚拟场景中的一部分空间。
可选地,该虚拟对象是通过客户端上的操作进行控制的用户角色,或者是通过训练设置在虚拟场景对战中的人工智能(Artificial Intelligence,AI),或者是设置在虚拟场景中的非用户角色(Non-Player Character,NPC)。可选地,该虚拟对象是在虚拟场景中进行竞技的虚拟人物。可选地,该虚拟场景中参与互动的虚拟对象的数量是预先设置的,或者是根据加入互动的客户端的数量动态确定的。
需要说明的是,本申请所涉及的信息(包括但不限于用户设备信息、用户个人信息等)、数据(包括但不限于用于分析的数据、存储的数据、展示的数据等)以及信号,均为经用户授权或者经过各方充分授权的,且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准。
下面对本申请实施例提供的技术方案的实施环境进行介绍。
图1是本申请实施例提供的一种虚拟对象的控制方法的实施环境示意图,参见图1,该实施环境中可以包括终端110和服务器140。
终端110通过无线网络或有线网络与服务器140相连。可选地,终端110是智能手机、平板电脑、笔记本电脑、台式计算机、智能手表等,但并不局限于此。终端110安装和运行有支持显示虚拟场景的应用程序。
服务器140是独立的物理服务器,或者是多个物理服务器构成的服务器集群或者分布式系统,或者是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。服务器140为终端110上运行的应用程序提供后台服务。
可选地,终端110以及服务器140的数量可以为多个。
在介绍完本申请实施例的实施环境之后,下面对本申请实施例的应用场景进行介绍。在下述说明过程中,终端也即是上述实施环境中的终端110,服务器也即是上述服务器140。
本申请实施例提供的技术方案能够应用在格斗类游戏中,在格斗类游戏中,终端显示虚拟场景,终端在该虚拟场景中控制第一虚拟对象,第一虚拟对象和第二虚拟对象在该虚拟场景中进行格斗。终端能够控制第一虚拟对象在该虚拟场景中使用拳脚或者虚拟道具直接攻击第二虚拟对象,也能够控制该第一虚拟对象在虚拟场景中通过释放虚拟技能的方式攻击该第二虚拟对象。第一虚拟对象和第二虚拟对象在该虚拟场景中均具有健康值,在任一虚拟对象的健康值为0的情况下,该虚拟对象也就被敌方击败。在虚拟对象被攻击命中的情况下,虚拟对象的健康值会下降,这里的被攻击包括被拳脚或者虚拟道具直接攻击,也包括被虚拟技能攻击。在终端上显示的镜像互动控件被触发的情况下,终端在该虚拟场景中显示该第一虚拟对象的镜像虚拟对象,该镜像互动控件也被称为技能控件,该镜像互动控件能够控制该第一虚拟对象在该虚拟场景中释放虚拟技能。终端可以控制该镜像虚拟对象对该第二虚拟对象进行互动,也即是控制该镜像虚拟对象向该第二虚拟对象发起攻击。
其中,虚拟场景的渲染可以由终端完成,也可以由服务器完成,本申请实施例对此不做限定。
在介绍完本申请实施例的实施环境和应用场景之后,下面将对本申请实施例提供的虚拟
对象的控制方法进行说明。需要注意的是,在下述对本申请提供的技术方案进行说明的过程中,是以终端作为执行主体为例进行的。在其他可能的实施方式中,也可以由终端和服务器共同执行本申请提供的技术方案,本申请实施例对于执行主体的类型不做限定。参见图2,以执行主体为终端为例,方法包括下述步骤。
201、终端显示虚拟场景,该虚拟场景显示有第一虚拟对象和第二虚拟对象,该第一虚拟对象为终端控制的虚拟对象,该第二虚拟对象与该第一虚拟对象属于不同的阵营。
其中,虚拟场景也被称为虚拟格斗场景。在一种可能的实施方式中,该虚拟场景存在上下左右四个边界,在虚拟场景中的虚拟对象在该四个边界的范围内自由移动。第一虚拟对象为该终端控制的虚拟对象,第二虚拟对象为另一终端控制的虚拟对象,或者为AI控制的虚拟对象,本申请实施例对此不做限定。第二虚拟对象与该第一虚拟对象属于不同阵营是指第二虚拟对象和该第一虚拟对象在该虚拟场景中敌对关系,该第一虚拟对象和该第二虚拟对象在该虚拟场景中能够进行互动,也即是在该虚拟场景中相互攻击。
202、终端响应于对镜像互动控件的触发操作,控制该第一虚拟对象向第一方向移动,在该虚拟场景的第一位置显示该第一虚拟对象的镜像虚拟对象。
其中,终端显示有镜像互动控件,该镜像互动控件是该第一虚拟对象的一个技能控件,触发该镜像互动控件能够控制该第一虚拟对象在该虚拟场景中释放虚拟技能。该镜像互动控件的显示位置由技术人员或者用户根据实际情况进行设置,本申请实施例对此不做限定。
第一方向由技术人员根据实际情况进行设置,比如第一方向被设置为该第一虚拟对象的面朝方向,或者第一方向被设置为该第一虚拟对象的上方,或者第一方向被设置为该第一虚拟对象的背朝方向等,本申请实施例对此不做限定。
第一位置由技术人员根据实际情况进行设置。例如,第一位置为第一虚拟对象对面的位置,该第一位置与第一虚拟对象之间的距离为预设距离。再例如,该第一位置与接触位置相关,该接触位置是指该第一虚拟对象与该第二虚拟对象接触的位置,比如该第一位置与该接触位置之间的距离为预设距离。再例如,第一位置为第一虚拟对象所在的位置。再例如,该第一位置为该虚拟场景中预设的位置,本申请实施例对此不做限定。
第一虚拟对象的镜像虚拟对象也即是第一虚拟对象的分身,该镜像虚拟对象具有与该第一虚拟对象相同的外形。
203、终端在该第一虚拟对象向该第一方向移动的过程中,响应于再次对该镜像互动控件的触发操作,控制该第一虚拟对象向该第一位置移动。
其中,该镜像互动控件具有两层功能,第一层是控制该第一虚拟对象向该第一方向移动;第二层是控制该第一虚拟对象向该镜像虚拟对象所在的位置移动,该第二层功能是在第一层功能实现的基础上才能够触发的。
204、终端在该第一虚拟对象与该第二虚拟对象接触的情况下,控制该第一虚拟对象与该第二虚拟对象共同向该第一位置移动。
其中,该第一虚拟对象与该第二虚拟对象接触,也即是该第一虚拟对象的模型与该第二虚拟对象的模型接触。该第一虚拟对象与第二虚拟对象共同向该第一位置移动,也即是该第二虚拟对象被该第一虚拟对象“带向”该镜像虚拟对象所在的位置。
205、终端在该第一虚拟对象与该镜像虚拟对象重合的情况下,控制该第一虚拟对象对该第二虚拟对象进行互动。
其中,控制该第一虚拟对象对该第二虚拟对象进行互动是指控制该第一虚拟对象主动与该第二虚拟对象进行互动,例如控制该第一虚拟对象对该第二虚拟对象进行攻击等。
在一种可能的实施方式中,终端在第一虚拟对象与镜像虚拟对象重合,且第二虚拟对象与该镜像虚拟对象之间的距离符合第一距离条件的情况下,控制该第一虚拟对象对该第二虚拟对象进行互动。
其中,该第二虚拟对象与该镜像虚拟对象之间的距离符合第一距离条件是指,该第二虚拟对象与该镜像虚拟对象之间的距离小于或等于第一距离阈值,该第一距离阈值由技术人员
根据实际情况进行设置,比如该第一距离阈值被设置为两个身位或者三个身位等,本申请实施例对此不做限定。
通过本申请实施例提供的技术方案,虚拟场景中包括第一虚拟对象和第二虚拟对象,触发该镜像互动控件能够控制第一虚拟对象向第一方向移动,并且在虚拟场景中显示该第一虚拟对象的镜像虚拟对象。在第一虚拟对象移动的过程中,响应于对该镜像互动控件的再一次触发操作,控制第一虚拟对象向该镜像虚拟对象所在的位置移动。在该第一虚拟对象与该第二虚拟对象接触的情况下,控制第一虚拟对象和第二虚拟对象共同向镜像虚拟对象所在的位置移动。在第一虚拟对象与镜像虚拟对象重合的情况下,控制第一虚拟对象对第二虚拟对象进行互动。通过设置镜像虚拟对象的方式丰富了第一虚拟对象与第二虚拟对象之间进行互动的方式,用户能够利用镜像虚拟对象对第二虚拟对象进行有效互动,从而提高人机交互的效率。
上述步骤201-205是对本申请实施例提供的虚拟对象的控制方法的简单介绍,下面将结合一些例子,对本申请实施例提供的虚拟对象的控制方法进行更加清楚的说明,参见图3,以执行主体为终端为例,方法包括下述步骤。
301、终端显示虚拟场景,该虚拟场景显示有第一虚拟对象和第二虚拟对象,该第一虚拟对象为终端控制的虚拟对象,该第二虚拟对象与该第一虚拟对象属于不同的阵营。
其中,虚拟场景也被称为虚拟格斗场景,虚拟格斗场景也即是格斗类游戏的背景。虚拟对象能够在该虚拟场景中进行格斗,格斗是两个虚拟对象之间的一种互动行为,两个虚拟对象能够通过使用拳脚、使用虚拟道具以及释放虚拟技能等方式进行格斗。
第二虚拟对象与该第一虚拟对象属于不同阵营是指第二虚拟对象和该第一虚拟对象在该虚拟场景中敌对关系,该第一虚拟对象和该第二虚拟对象在该虚拟场景中能够进行互动,也即是在该虚拟场景中进行格斗。在该虚拟场景中,该第一虚拟对象和该第二虚拟对象分别具有一定数量的初始健康值,在该第一虚拟对象和该第二虚拟对象进行互动的过程中,该第一虚拟对象和该第二虚拟对象的健康值会不断减少,该第一虚拟对象的初始健康值既可以与该第二虚拟对象相同,也可以与该第二虚拟对象不同,本申请实施例对此不做限定。在任一虚拟对象的健康值降低到目标数值,比如0的情况下,该虚拟对象被另一虚拟对象击败,健康值也被称为生命值或者血量等。该第一虚拟对象由用户在加载该虚拟场景之前自行选择。
在一种可能的实施方式中,在该虚拟场景中,该第一虚拟对象始终朝向该第二虚拟对象,该第二虚拟对象的朝向始终朝向该第一虚拟对象,也就是说,在该第一虚拟对象和该第二虚拟对象的相对位置发生变化时,该第一虚拟对象和该第二虚拟对象始终朝向对方。当然,该第一虚拟对象和该第二虚拟对象的朝向在进行互动时不会发生变化,在互动结束时自动调整朝向。
在一种可能的实施方式中,终端响应于用户开启一局竞技对战,显示该局竞技对战的虚拟场景,该虚拟场景显示有该第一虚拟对象和该第二虚拟对象,该第一虚拟对象和该第二虚拟对象显示在该虚拟场景的两侧。其中,一局竞技对战也即是一局格斗类游戏,终端显示的虚拟场景既可以是完整的虚拟场景,也可以是虚拟场景的一个部分。在终端显示的虚拟场景为虚拟场景的一个部分的情况下,终端显示的虚拟场景随着该第一虚拟对象的移动而移动,比如,该第一虚拟对象始终显示在该虚拟场景的左侧。
在一种可能的实施方式中,终端还显示有多个控件,该多个控件用于控制该第一虚拟对象在该虚拟场景中的动作,用户通过点击或拖动该多个控件,就能够实现对该第一虚拟对象的控制。举例来说,该多个控件可以分为移动类控件以及互动类控件,其中,移动类控件用于控制该第一虚拟对象在该虚拟场景中的移动,比如,移动类控件用于控制该第一虚拟对象在该虚拟场景中左移、右移、下蹲以及起跳等。互动类控件用于控制该第一虚拟对象在该虚拟场景中使用虚拟技能、攻击敌人以及擒拿敌人等。
比如,参见图4,终端显示虚拟场景400,该虚拟场景显示有第一虚拟对象401以及第二
虚拟对象402,终端还显示有移动类控件403、移动类控件404以及互动类控件405。在一种可能的实施方式中,用户拖动该移动类控件403能够控制该第一虚拟对象401在该虚拟场景400中进行移动,点击该移动类控件404能够控制该第一虚拟对象401在该虚拟场景400中进行跳跃。
302、终端响应于对镜像互动控件的触发操作,控制该第一虚拟对象向第一方向移动,在该虚拟场景的第一位置显示该第一虚拟对象的镜像虚拟对象。
其中,终端显示有镜像互动控件,该镜像互动控件是该第一虚拟对象的一个技能控件,该镜像互动控件属于上述互动类控件,触发该镜像互动控件能够控制该第一虚拟对象在该虚拟场景中释放虚拟技能。该镜像互动控件的显示位置由技术人员或者用户根据实际情况进行设置,本申请实施例对此不做限定。第一方向由技术人员根据实际情况进行设置,比如第一方向被设置为该第一虚拟对象的面朝方向、第一虚拟对象的上方或者第一虚拟对象的背朝方向等,本申请实施例对此不做限定。第一位置为触发该镜像互动控件时该第一虚拟对象所在的位置,或者为该虚拟场景中的其他位置,本申请实施例对此不做限定。
下面先对终端响应于对镜像互动控件的触发操作,控制该第一虚拟对象向第一方向移动的方法进行说明。
在一种可能的实施方式中,终端响应于对镜像互动控件的点击操作,控制该第一虚拟对象向该第一方向移动。在该镜像互动控件为该第一虚拟对象的技能控件的情况下,点击该镜像互动控件也即是控制该第一虚拟对象在该虚拟场景中释放对应的虚拟技能,该虚拟技能的效果之一就是该第一虚拟对象朝着第一方向移动。比如,参见图4,终端响应于对镜像互动控件4051的点击操作,控制该第一虚拟对象401向第一方向移动。
需要说明的是,上述实施方式中描述的点击操作包括点击触控屏幕的操作,还包括通过外接设备比如鼠标的点击操作,本申请实施例对此不做限定。
以该第一方向为该第一虚拟对象面朝的方向为例,终端响应于对该镜像互动控件的点击操作,控制该第一虚拟对象向面朝方向进行移动。该第一虚拟对象向面朝方向进行移动时,移动形式包括奔跑、飞扑以及飞踹等,本申请实施例对此不做限定。
在一种可能的实施方式中,该第一虚拟对象向该第一方向移动的距离为目标距离,也即是点击该镜像互动控件之后该第一虚拟对象自动移动的距离为该目标距离,在该第一虚拟对象自动移动的距离达到该目标距离的情况下,该第一虚拟对象停止移动。该目标距离由技术人员根据实际情况进行设置,本申请实施例对此不做限定。
下面对终端响应于对镜像互动控件的触发操作,在该虚拟场景的第一位置显示该第一虚拟对象的镜像虚拟对象的方法进行说明。
其中,第一虚拟对象的镜像虚拟对象也即是第一虚拟对象的分身,该镜像虚拟对象具有与该第一虚拟对象相同的外形。比如,该第一虚拟对象持有虚拟道具,那么该镜像虚拟道具也持有相同的虚拟道具。在一种可能的实施方式中,该镜像虚拟对象与该第一虚拟对象的透明度不同,用户通过透明度就能够快速分辨镜像虚拟对象和第一虚拟对象,人机交互的效率较高。终端在该第一位置显示该第一虚拟对象的镜像虚拟对象之后,该镜像虚拟对象的位置固定在该第一位置上,也即是该镜像虚拟对象的位置不会发生变化。在一种可能的实施方式中,该镜像虚拟对象也被称为该第一虚拟对象的分身,在这种情况下,该第一虚拟对象也可以被称为本体。
在一种可能的实施方式中,终端响应于对镜像互动控件的触发操作,加载该镜像虚拟对象的模型,在该第一位置对该镜像虚拟对象的模型进行渲染,从而在该第一位置显示该镜像虚拟对象。比如,参见图5,第一虚拟对象501向面朝方向移动,并且在原地生成一个镜像虚拟对象502。
在一种可能的实施方式中,终端在该第一位置显示该镜像虚拟对象时,既可以采用直接显示的方式,也可以采用渐变显示的方式,本申请实施例对此不做限定。
在一种可能的实施方式中,终端除了能够在触发该镜像互动控件之后直接显示该第一虚
拟对象的镜像虚拟对象之外,还能够在该第一虚拟对象与该第二虚拟对象接触之后再显示该第一虚拟对象的镜像虚拟对象,本申请实施例对此不做限定。
需要说明的是,在上述步骤302之后,终端既可以执行下述步骤303-304,也可以执行下述步骤305-307,本申请实施例对此不做限定。
303、终端在该第一虚拟对象向该第一方向移动的过程中,响应于再次对该镜像互动控件的触发操作,控制该第一虚拟对象向该第一位置移动。
在一种可能的实施方式中,终端在该第一虚拟对象向该第一方向移动的过程中,响应于再次对该镜像互动控件的点击操作,控制该第一虚拟对象向该第一位置移动。其中,该第一虚拟对象向该第一位置移动,也即是该第一虚拟对象向该第一虚拟对象的镜像虚拟对象移动。
比如,参见图6,终端在该第一虚拟对象向该第一方向移动的过程中,响应于再次对该镜像互动控件的点击操作,控制该第一虚拟对象601向该第一位置移动,也即是控制该第一虚拟对象601向该镜像虚拟对象602所在的位置移动。
在一种可能的实施方式中,终端在该第一虚拟对象向该第一方向移动的过程中,在该第一虚拟对象与该第二虚拟对象第一次接触之后,控制该第一虚拟对象继续向该第一方向移动。终端控制该第二虚拟对象保持在当前位置。终端响应于再次对该镜像互动控件的点击操作,控制该第一虚拟对象向该第一位置移动。
其中,该第一虚拟对象与该第二虚拟对象接触是指,该第一虚拟对象的模型与该第二虚拟对象的模型接触。在一种可能的实施方式中,该第一虚拟对象的模型和该第二虚拟对象的模型上绑定有不可见的碰撞检测盒,终端能够通过该碰撞检测盒来确定该第一虚拟对象的模型和该第二虚拟对象的模型是否接触。在一种可能的实施方式中,该第一虚拟对象与该第二虚拟对象接触,也就表示通过该镜像互动控件触发的虚拟技能生效。在一种可能的实施方式中,该第一虚拟对象与该第二虚拟对象接触也即是该第一虚拟对象与该第二虚拟对象之间的一种互动形式,或者说是该第一虚拟对象在该虚拟场景中攻击该第二虚拟对象的一种形式,在该第一虚拟对象与该第二虚拟对象接触的情况下,该第二虚拟对象的健康值会降低。该镜像互动控件用于控制该第一虚拟对象向该第一位置移动。
从用户的角度来看,在该第一虚拟对象与该第二虚拟对象接触之后,该第一虚拟对象会“穿过”该第二虚拟对象继续移动,而该第二虚拟对象被“禁锢”在原地。在一种可能的实施方式中,终端控制该第二虚拟对象保持在当前位置的时长为第一时长,该第一时长由技术人员根据实际情况进行设置,本申请实施例对此不做限定。
在一种可能的实施方式中,终端在在目标时长内未检测到对该镜像互动控件执行触发操作的情况下,取消显示该镜像虚拟对象。
304、终端在该第一虚拟对象与该第二虚拟对象接触的情况下,控制该第一虚拟对象与该第二虚拟对象共同向该第一位置移动。
其中,控制该第二虚拟对象与该第一虚拟对象共同向该第一位置移动是指,控制该第二虚拟对象和该第一虚拟对象以相同的速度和方向朝着该第一位置移动,也即是,在该第二虚拟对象与该第一虚拟对象共同向该第一位置移动的过程中,该第二虚拟对象与该第一虚拟对象为重合状态。
该第一虚拟对象向该第一位置移动的过程中,既可能与该第二虚拟对象接触,也可能无法与该第二虚拟对象接触,这是由于该第一虚拟对象向该第一位置移动的时机取决于再次对该镜像互动控件的触发时机,在该镜像互动控件的二次触发时机为正确时机时,该第一虚拟对象向该第一位置移动时就能够与该第二虚拟对象再次接触。在该镜像互动控件的二次触发时机为错误时机时,该第一虚拟对象向该第一位置移动时就无法与该第二虚拟对象再次接触,该正确时机与该错误时机由技术人员根据实际情况进行设置,本申请实施例对此不做限定。比如,参见图7,在该第一虚拟对象701与该第二虚拟对象702接触的情况下,控制该第一虚拟对象701与该第二虚拟对象702共同向该第一位置移动,也即是控制该第一虚拟对象701与该第二虚拟对象702共同向镜像虚拟对象703所在的位置移动。
在一种可能的实施方式中,终端在该第一虚拟对象与该第二虚拟对象接触的情况下,显示移动控件,该移动控件用于控制该第一虚拟对象向该第一位置移动。终端响应于对该移动控件的触发操作,控制该第一虚拟对象与该第二虚拟对象共同向该第一位置移动。
在一种可能的实施方式中,终端在该第一虚拟对象向该第一位置移动的过程中,在该第一虚拟对象与该第二虚拟对象接触的情况下,确定该第二虚拟对象的状态。终端在该第二虚拟对象未处于第二状态的情况下,控制该第一虚拟对象与该第二虚拟对象共同向该第一位置移动。该第二状态也被称为防御状态或者格挡状态。其中,该第一虚拟对象与该第二虚拟对象接触,且第二虚拟对象未处于第二状态的情况下,该镜像互动控件的虚拟技能也就成功命中该第二虚拟对象,使得第二虚拟对象被该第一虚拟对象“带向”该镜像虚拟对象所在的位置。
在上述两种实施方式相结合的情况下,终端在确定该第一虚拟对象与该第二虚拟对象接触之后,还能够进一步判断该第二虚拟对象的状态。在该第二虚拟对象的状态不是该第二状态的情况下,才能控制该第一虚拟对象与该第二虚拟对象共同向该第一位置移动。也就是在该镜像互动控件对应的虚拟技能成功命中该第二虚拟对象之后,终端才会显示移动控件,然后才能控制第一虚拟对象与该第二虚拟对象共同向该第一位置移动。
上述步骤304是以该第一虚拟对象与该第二虚拟对象接触为例进行说明的,在其他可能的实施方式中,该第一虚拟对象与该第二虚拟对象没有接触,下面对没有接触的情况进行说明。
在一种可能的实施方式中,终端在该第一虚拟对象与该第二虚拟对象未接触的情况下,控制该第一虚拟对象向该第一位置移动,在该第一虚拟对象与该镜像虚拟对象重合的情况下,取消显示该镜像虚拟对象。
在一种可能的实施方式中,终端在该第一虚拟对象与该第二虚拟对象未接触的情况下,控制该第一虚拟对象保持在当前位置。
上述实施方式提供了一种惩罚手段,在该第一虚拟对象未与该第二虚拟对象成功接触的情况下,终端将该第一虚拟对象保持在当前位置,保持时间由技术人员根据实际情况进行设置,本申请实施例对此不做限定。在保持时间持续时,该第一虚拟对象无法在该虚拟场景中移动。
305、终端在该第一虚拟对象向该第一方向移动的过程中,在该第一虚拟对象与该第二虚拟对象接触的情况下,控制该第一虚拟对象移动至该虚拟场景的第二位置,该第二虚拟对象位于该第一位置和该第二位置之间。
在一种可能的实施方式中,该第二位置与该第二虚拟对象在该虚拟场景中的位置相关联,该第二位置与该第二虚拟对象在该虚拟场景中的位置之前的距离小于或等于第二距离阈值,也可以说,该第二位置是该第二虚拟对象的旁边,该第二距离阈值由技术人员根据实际情况进行设置,本申请实施例对此不做限定。该第二虚拟对象位于该第一位置和该第二位置之间,在该第一位置为该虚拟场景的左侧的情况下,该第二位置为该虚拟场景的右侧。在该第二虚拟对象朝向该虚拟场景的左侧的情况下,该第二位置为该第二虚拟对象的背部,比如,参见图4,该第一虚拟对象401位于该第二虚拟对象402的背部。
在一种可能的实施方式中,在该第一虚拟对象向该第一方向移动的过程中,终端在该第一虚拟对象与该第二虚拟对象接触的情况下,确定该第二虚拟对象的状态。终端在该第二虚拟对象未处于第二状态的情况下,控制该第一虚拟对象移动至该虚拟场景的该第二位置,该第二状态也被称为防御状态或者格挡状态。在该第二虚拟对象处于该第二状态的情况下,该第一虚拟对象无法成功与该第二虚拟对象进行互动,也就是该第一虚拟对象的攻击无法对该第二虚拟对象生效。在该第一虚拟对象移动至该第二位置的过程中,该第二虚拟对象处于无法移动的状态。在该第一虚拟对象的朝向为该第二虚拟对象,该第二虚拟对象的朝向为该第一虚拟对象的情况下,在该第一虚拟对象与该第二虚拟对象接触,且该第二虚拟对象未处于第二状态的情况下,终端控制该第一虚拟对象移动至该第二虚拟对象的后方。在该第二虚拟
对象处于该第二状态的情况下,终端不控制该第一虚拟对象移动至该第二位置,而是打断该第一虚拟对象向该第一方向移动的过程,将该第一虚拟对象最终的位置确定为与该第二虚拟对象接触的位置。
在这种实施方式下,终端在确定该第一虚拟对象与该第二虚拟对象接触之后,还能够进一步判断该第二虚拟对象的状态。在该第二虚拟对象的状态不是该第二状态的情况下,才会控制第一虚拟对象移动至该第二位置。从用户的角度来看,该第一虚拟对象移动至该第二位置,也就表示该镜像互动控件对应的虚拟技能被成功触发,人机交互的效率较高。另外,第二状态为该第二虚拟对象提供了一种反制该第一虚拟对象的手段,避免该虚拟技能过于强大导致游戏平衡性丧失。
为了对上述实施方式进行更加清楚的说明,下面对终端控制该第一虚拟对象移动至该虚拟场景的该第二位置的方式进行说明。
方式1、终端控制该第一虚拟对象从与该第二虚拟对象接触的位置越过该第二虚拟对象,达到该第二位置。
在这种方式下,终端控制该第一虚拟对象以特定轨迹达到该第二位置,该第一虚拟对象的移动过程较为顺畅。举例来说,在该第一虚拟对象与该第二虚拟对象接触,且该第二虚拟对象未处于第二状态的情况下,终端以该第一虚拟对象与该第二虚拟对象接触的位置为起点,生成第一轨迹,该第一轨迹为从起点越过该第二虚拟对象,达到该第二位置的轨迹。终端控制该第一虚拟对象沿着该第一轨迹到达该第二位置。
方式2、终端控制该第一虚拟对象直接穿过该第二虚拟对象,到达该第二位置。
在这种方式下,终端控制该第一虚拟对象以最短的距离进行移动,该第一虚拟对象能够以较快的速度达到该第二位置,人机交互的效率较高。
方式3、终端控制该第一虚拟对象的位置从与该第二虚拟对象接触的位置,直接移动到该第二位置。
在这种方式下,终端控制该第一虚拟对象在接触位置消失后直接出现在该第二位置,该第一虚拟对象位置变换的效率最高。
需要说明的是,终端能够采用上述任一种方式来控制该第一虚拟对象移动至该第二位置,本申请实施例对此不做限定。
在一种可能的实施方式中,终端在该第一虚拟对象装备有虚拟道具的情况下,在该第一虚拟对象与该第二虚拟对象接触的情况下,控制该第一虚拟对象使用装备的虚拟道具对该第二虚拟对象进行互动,也即是使用该虚拟道具攻击该第二虚拟对象。在该第一虚拟对象使用该虚拟道具对该第二虚拟对象成功互动的情况下,终端将该第一虚拟对象移动至该第二位置;在该第一虚拟对象使用该虚拟道具未对该第二虚拟对象成功互动的情况下,终端不将该第一虚拟对象移动至该第二位置,其中,该第一虚拟对象能否使用该虚拟道具对该第二虚拟对象互动成功取决于该第二虚拟对象是否处于该第二状态,在该第二虚拟对象处于该第二状态的情况下,该第一虚拟对象无法使用该虚拟道具对该第二虚拟对象成功互动;在该第二虚拟对象不处于该第二状态的情况下,该第一虚拟对象能够使用该虚拟道具对该第二虚拟对象成功互动。
306、终端控制该第一虚拟对象在该第二位置对该第二虚拟对象进行互动。
其中,该第一虚拟对象在该第二位置对该第二虚拟对象进行互动是指,该第一虚拟对象在该第二位置攻击该第二虚拟对象。该第一虚拟对象在该第二位置对该第二虚拟对象进行互动的目的是改变该第二虚拟对象的位置。在一种可能的实施方式中,互动的目的还包括降低该第二虚拟对象的健康值。
在一种可能的实施方式中,终端在该第一虚拟对象装备虚拟道具的情况下,控制该第一虚拟对象在该第二位置使用该虚拟道具对该第二虚拟对象进行互动,也即是控制该第一虚拟对象在该第二位置使用该虚拟道具攻击该第二虚拟对象,比如,终端控制该第一虚拟对象在该第二位置使用该虚拟道具挥向该第二虚拟对象,或者,终端控制该第一虚拟对象在该第二
位置以“飞踢”的形式攻击该第二虚拟对象。
需要说明的是,本申请实施例仅以终端可以控制第一虚拟对象在第二位置对第二虚拟对象进行互动为例来说明,在另一实施例中,终端还可以不执行该步骤306。
307、终端控制该第一虚拟对象和该第二虚拟对象共同向该第一位置移动。
其中,该第一位置为终端显示该第一虚拟对象的镜像虚拟对象的位置,控制该第二虚拟对象向该第一位置移动,也就是控制该第二虚拟对象向该镜像虚拟对象所在的位置移动。
在一种可能的实施方式中,终端基于该第二虚拟对象当前的位置以及该第一位置,生成第二轨迹,该第二轨迹的起点为该第二虚拟对象当前的位置,终点为该第一位置。终端控制该第二虚拟对象沿着该第二轨迹向该第一位置移动。其中,基于两个位置生成轨迹的函数由技术人员根据实际情况进行设置,本申请实施例对此不做限定。第二虚拟对象沿着该第二轨迹向该第一位置进行移动时,该第二虚拟对象的模型的几何中心始终位于该第二轨迹上。
308、终端在该第一虚拟对象与该镜像虚拟对象重合,且该第二虚拟对象与该镜像虚拟对象之间的距离符合第一距离条件的情况下,控制该第一虚拟对象对该第二虚拟对象进行互动。
其中,该第一虚拟对象与该镜像虚拟对象重合是指,该第一虚拟对象的模型与该镜像虚拟对象的模型重合。
在一种可能的实施方式中,在该第一虚拟对象与该镜像虚拟对象重合,且该第二虚拟对象与该镜像虚拟对象之间的距离小于或等于第一距离阈值的情况下,终端控制该第一虚拟对象对该第二虚拟对象进行互动,也即是控制该第一虚拟对象攻击该第二虚拟对象,比如控制该第一虚拟对象使用虚拟道具攻击该第二虚拟对象。
举例来说,参见图8,在该第一虚拟对象801与该镜像虚拟对象重合,且该第二虚拟对象802与该镜像虚拟对象之间的距离符合第一距离条件的情况下,终端控制该第一虚拟对象801与该第二虚拟对象802进行互动。
在一种可能的实施方式中,终端在该第一虚拟对象与该镜像虚拟对象重合,且该第二虚拟对象与该镜像虚拟对象之间的距离小于或等于第一距离阈值的情况下,控制该镜像虚拟对象和该第一虚拟对象同时对该第二虚拟对象进行互动。
在这种实施方式下,终端能够控制该镜像虚拟对象与该第一虚拟对象同时对该第二虚拟对象进行互动,也即是控制该镜像虚拟对象与该第一虚拟对象同时攻击该第二虚拟对象,这样为用户提供了更加丰富的攻击方式,提高了人机交互的效率。
在一种可能的实施方式中,终端在该第一虚拟对象与该镜像虚拟对象重合,且该第二虚拟对象与该镜像虚拟对象之间的距离符合第一距离条件的情况下,终端除了控制该第一虚拟对象对该第二虚拟对象进行互动之外,还能够单独控制镜像虚拟对象直接对该第二虚拟对象进行互动,本申请实施例对此不做限定,在本申请实施例中,以第一虚拟对象与该第二虚拟对象互动为例进行说明。
下面将结合图9对上述实施方式进行说明,参见图9,本体为第一虚拟对象,分身为该第一虚拟对象的镜像虚拟对象,敌人为第二虚拟对象。终端响应于对镜像互动控件的点击操作,本体在该虚拟场景中释放虚拟技能,朝第一方向移动,在虚拟场景的第一位置显示该第一虚拟对象的镜像虚拟对象。用户再次激活该镜像互动控件,终端响应于再次对该镜像互动控件的点击操作,控制第一虚拟对象向镜像虚拟对象所在的位置移动。在该第一虚拟对象与该第二虚拟对象接触的情况下,控制该第一虚拟对象和该第二虚拟对象共同向该镜像虚拟对象所在的位置移动。在第一虚拟对象与该镜像虚拟对象重合,且该第二虚拟对象与该镜像虚拟对象之间的距离小于或等于第一距离阈值的情况下,控制该第一虚拟对象对第二虚拟对象进行互动。在该第一虚拟对象未与该第二虚拟对象接触的情况下,控制该第一虚拟对象向该镜像虚拟对象所在的位置移动,取消显示该镜像虚拟对象。在未二次点击该镜像互动控件的情况下,终端取消显示该镜像虚拟对象。
在一种可能的实施方式中,在步骤308之后,终端还能够执行下述步骤309-310,或者执行下述步骤311-312,或者执行下述步骤313-314,或者执行下述步骤315-317,本申请实施例
对此不做限定。
309、终端在该第一虚拟对象对该第二虚拟对象成功互动的情况下,将该第一虚拟对象的位置调整为第三位置,控制该第二虚拟对象向第三位置移动,该第三位置为该第一虚拟对象与该第二虚拟对象接触时的位置。
其中,该第一虚拟对象对该第二虚拟对象成功互动是指,该第一虚拟对象的攻击成功命中该第二虚拟对象。该第一虚拟对象的攻击成功命中该第二虚拟对象是指,该第一虚拟对象的拳脚或者装备的虚拟道具与该第二虚拟对象接触。在一种可能的实施方式中,该第一虚拟对象的拳脚或者装备的虚拟道具上绑定有不可见的碰撞检测盒,第二虚拟对象上也绑定有不可见的碰撞检测,终端通过该碰撞检测盒能够确定该第一虚拟对象的攻击是否成功命中该第二虚拟对象。在该第一虚拟对象对应的碰撞检测盒与该第二虚拟对象对应的碰撞检测盒接触的情况下,确定该第一虚拟对象的攻击成功命中该第二虚拟对象,也即是该第一虚拟对象对该第二虚拟对象成功互动。在该第一虚拟对象对应的碰撞检测盒未与该第二虚拟对象对应的碰撞检测盒接触的情况下,确定该第一虚拟对象的攻击未成功命中该第二虚拟对象,也即是该第一虚拟对象未对该第二虚拟对象成功互动。
通过步骤309,在该第一虚拟对象与该第二虚拟对象成功互动的情况下,终端能够将该第一虚拟对象移动至该虚拟场景的第三位置,便于用户基于该第一虚拟对象再次对该第二虚拟对象进行互动。
310、终端显示连续互动控件,该连续互动控件用于控制该第一虚拟对象对该第二虚拟对象进行互动。
其中,该连续互动控件是在该第一虚拟对象对该第二虚拟对象成功互动的情况下显示的,可以视作是控制该第一虚拟对象与该第二虚拟对象成功互动的“奖励”,该连续互动控件用于控制该第一虚拟对象对该第二虚拟对象进行互动,也即是控制该第一虚拟对象在该虚拟场景中攻击该第二虚拟对象。
在一种可能的实施方式中,在步骤310之后,终端还能够执行下述方案。
第一种方案:终端响应于对该连续互动控件的触发操作,终端控制该第一虚拟对象向该第二虚拟对象所在的位置移动。在该第一虚拟对象与该第二虚拟对象之间的距离符合第二距离条件的情况下,终端控制该第一虚拟对象对该第二虚拟对象进行互动。
其中,该第一虚拟对象对该第二虚拟对象进行成功互动会减少该第二虚拟对象的健康值。
在这种实施方式下,通过触发该连续互动控件能够控制该第一虚拟对象自动向该第二虚拟对象所在的位置移动,并且在该第一虚拟对象与该第二虚拟对象之间的距离符合第二距离条件的情况下,自动对该第二虚拟对象进行互动,这个互动过程只需用户单次触发该连续互动控件即可,人机交互的效率较高。
举例来说,终端响应于对该连续互动控件的点击操作,控制该第一虚拟对象向该第二虚拟对象所在的位置移动,由于该第二虚拟对象是由该镜像虚拟对象“打向”该第一虚拟对象所在的位置的,那么该第二虚拟对象也是在移动过程中的,该第二虚拟对象所在的位置会不断发生变化,那么控制该第一虚拟对象向该第二虚拟对象所在位置移动,也就是不断缩小该第一虚拟对象和该第二虚拟对象之间距离的过程。终端在该第一虚拟对象与该第二虚拟对象之前的距离小于或等于第二距离阈值的情况下,控制该第一虚拟对象对该第二虚拟对象进行互动,也即是控制该第一虚拟对象在该虚拟场景中攻击该第二虚拟对象,其中,该第二距离阈值为该第一虚拟对象的最大攻击距离,该第二距离阈值由技术人员根据实际情况进行设置,本申请实施例对此不做限定。
第二种方案:终端响应于对该连续互动控件的触发操作,终端在该第一虚拟对象周围显示放大后的目标虚拟道具,该目标虚拟道具为该第一虚拟对象装备的虚拟道具。终端在该第二虚拟对象与该目标虚拟道具接触的情况下,控制该第二虚拟对象向该第一虚拟对象的上方移动,减少该第二虚拟对象的健康值。
在这种实施方式下,通过触发该连续互动控件,终端在该第一虚拟对象周围显示放大后
的目标虚拟道具,这个目标虚拟道具是该第一虚拟对象装备的虚拟道具,终端将该目标虚拟道具放大后显示,也即是在该虚拟场景中显示了一个虚拟障碍物。在该第二虚拟对象与该目标虚拟道具接触的情况下,终端控制该第二虚拟对象改变移动方向,也即是由向第三位置移动改为向该第虚拟对象的上方移动,呈现一种“被目标虚拟道具击飞”的观感,通过这样的方式丰富了第一虚拟对象与该第二虚拟对象进行互动的方式,提高了人机交互的效率。
举例来说,终端响应于对该连续互动控件的点击操作,在该第一虚拟对象周围显示放大后的目标虚拟道具,该第一虚拟对象的周围包括该第一虚拟对象的左侧、右侧或者该第一虚拟对象所在的位置。在该第二虚拟对象的模型与该目标虚拟道具的模型接触的情况下,终端控制该第二虚拟对象向该第一虚拟对象的上方移动,并减少该第二虚拟对象的健康值。
311、终端在该第一虚拟对象对该第二虚拟对象成功互动的情况下,基于该第二虚拟对象的目标部位,确定第二方向,第二方向表示该第二虚拟对象在该虚拟场景中移动的方向,该目标部位为与该镜像虚拟对象成功互动的部位。
其中,该第二虚拟对象的目标部位与该镜像虚拟对象成功互动的部位,或者说是该镜像虚拟对象攻击该第二虚拟对象时,命中的部位。在一种可能的实施方式中,该第二虚拟对象的多个部位分别绑定有不可见的碰撞检测盒,在该第一虚拟对象与该第二虚拟对象成功互动的情况下,终端确定与该镜像虚拟对象在互动时接触的该第二虚拟对象上的目标碰撞检测盒,该目标碰撞检测盒绑定的部位为该第二虚拟对象的目标部位。
在一种可能的实施方式中,终端在该目标部位为该第二虚拟对象的头部的情况下,将该镜像虚拟对象的下方确定为第二方向。
在这种实施方式下,在需要将该第二虚拟对象移动至镜像虚拟对象的下方时,用户控制该镜像虚拟对象与该第二虚拟对象的头部进行互动即可,人机交互的效率较高。
在一种可能的实施方式中,终端在该目标部位为该第二虚拟对象的躯干的情况下,将该第二虚拟对象向该第一虚拟对象移动的方向确定为第二方向。
在这种实施方式下,在需要将该第二虚拟对象移动至该第一虚拟对象所在的方向时,用户控制该镜像虚拟对象与该第二虚拟对象的躯干进行互动即可,人机交互的效率较高。
在一种可能的实施方式中,终端在该目标部位为该第二虚拟对象的脚部的情况下,将该镜像虚拟对象的上方确定为第二方向。
在这种实施方式下,在需要将该第二虚拟对象移动至镜像虚拟对象的上方时,用户控制该镜像虚拟对象与该第二虚拟对象的脚部进行互动即可,人机交互的效率较高。
需要说明的是,上述三种实施方式中给出的部分仅仅是一种示例,在其他可能的实施方式中,技术人员还可以将该第二虚拟对象细分为更多部位,并为每个部位设置一个移动方向,本申请实施例对此不做限定。
通过上述步骤311,用户能够通过控制该镜像虚拟对象与该第二虚拟对象的不同部位进行互动,来达到控制该第二虚拟对象向不同方向移动的目的,用户可以根据实际情况选择不同的移动方向,从而完成不同的互动组合,为用户提供了更加丰富的选择,提高了用户的游戏体验。
312、终端控制该第二虚拟对象按照第二方向在该虚拟场景中进行移动。
313、终端在该第一虚拟对象对该第二虚拟对象成功互动的情况下,控制该第一虚拟对象进入第一状态。
其中,第一状态也可以被称为反制状态或者反击状态,第一虚拟对象处于第一状态时,能够在第二虚拟对象对该第一虚拟对象进行互动时,自动对该第二虚拟对象进行互动,也即是在该第二虚拟对象攻击该第一虚拟对象时,处于该第一状态的第一虚拟对象能够自动反击。该第一状态有一定的持续时间,持续时间由技术人员根据实际情况进行设置。
314、终端在该第一状态的持续时间内,在该第二虚拟对象对该第一虚拟对象成功互动的情况下,终端控制该第一虚拟对象自动对该第二虚拟对象进行互动。
在一种可能的实施方式中,在该第一状态的持续时间内,终端响应于该第二虚拟对象的
攻击命中该第一虚拟对象,控制该第一虚拟对象自动反击该第二虚拟对象。
315、终端在该第一虚拟对象对该第二虚拟对象成功互动的情况下,将该第一虚拟对象的位置调整为第三位置,显示位置交换控件,该第三位置为该第一虚拟对象与该第二虚拟对象接触时所在的位置。
其中,该位置交换控件的功能为交换第一虚拟对象和镜像虚拟对象的位置,该位置交换控件的显示位置由技术人员根据实际情况进行设置,本申请实施例对此不做限定。
316、终端响应于对位置交换控件的触发操作,交换该第一虚拟对象和该镜像虚拟对象在该虚拟场景中的位置。
在一种可能的实施方式中,终端响应于对该位置交换控件的点击操作,交换该第一虚拟对象和该镜像虚拟对象在该虚拟场景中的位置。
317、终端响应于再次对该镜像互动控件的触发操作,控制该第一虚拟对象对该第二虚拟对象进行互动。
在一种可能的实施方式中,终端响应于再次对该镜像互动控件的点击操作,控制该第一虚拟对象对该第二虚拟对象进行互动,也即是控制该第一虚拟对象攻击该第二虚拟对象,比如控制该第一虚拟对象使用虚拟道具攻击该第二虚拟对象。
需要说明的是,再次点击该镜像互动控件之后,该第一虚拟对象就会直接执行对该第二虚拟对象进行互动的动作,但是,执行该动作不代表一定能与该第二虚拟对象成功互动,也可能存在互动失败的情况。比如,该第一虚拟对象对该第二虚拟对象进行互动是指该第一虚拟对象在该虚拟场景中攻击该第二虚拟对象,那么点击该镜像互动控件之后,该第一虚拟对象会执行攻击动作,比如挥动装备的虚拟道具。但是该第一虚拟对象执行的攻击动作可能命中该第二虚拟对象,也可能没有命中该第二虚拟对象。这种情况是有两个原因导致的,第一、该第一虚拟对象进行互动的距离有一定的限制;第二、该第二虚拟对象是被移动到该第一位置的,该第二虚拟对象处于移动状态中。想要该第一虚拟对象与该第二虚拟对象成功进行互动的前提是,该镜像互动控件的触发时机是在目标时间范围内,该目标时间范围由终端基于该第二虚拟对象的移动速度、该第二虚拟对象的尺寸信息以及该第一虚拟对象的互动距离等参数确定。从用户的角度来说,想要控制该第一虚拟对象成功与该第二虚拟对象互动的前提是,再次点击该镜像互动控件的时机正确,用户可以通过多次训练来实现。
在一种可能的实施方式中,除了上述步骤317中描述的内容之外,再次触发该镜像互动控件之后,终端还能够执行下述步骤。
第一种方案:终端响应于再次对该镜像互动控件的触发操作,控制该镜像虚拟对象向该第一虚拟对象所在的位置移动。在该镜像虚拟对象与该第二虚拟对象接触的情况下,终端减少该第二虚拟对象的健康值。当然,在终端控制该镜像虚拟对象向该第一虚拟对象所在的位置移动的过程中,可以同时控制第一虚拟对象对该第二虚拟对象进行互动。其中,触发操作为点击操作。
在这种实施方式下,终端通过控制该镜像虚拟对象向该第一虚拟对象所在位置移动的方式,提供了另一种第一虚拟对象对第二虚拟对象进行互动的方式,也即是,接触镜像虚拟对象会减少第二虚拟对象的健康值,从而丰富了用户的选择,提高了人机交互的效率。
第二种方案:终端该镜像虚拟对象与该第一虚拟对象重合的情况下,取消显示该镜像虚拟对象。
在一种可能的实施方式中,在步骤317之后,终端还能够执行下述步骤。
第一种方案:终端在该第一虚拟对象对该第二虚拟对象成功互动的情况下,控制该第二虚拟对象向该镜像虚拟对象当前所在的位置移动。终端响应于再次对该位置交换控件的触发操作,再次交换该第一虚拟对象和该镜像虚拟对象在该虚拟场景中的位置。终端响应于再次对该镜像互动控件的触发操作,再次控制该第一虚拟对象对该第二虚拟对象进行互动。其中,触发操作为点击操作。
在这种实施方式下,位置交换控件也提供有二次触发的功能,通过二次触发该位置交换
控件能够再次交换该第一虚拟对象和该镜像虚拟对象的位置,从而可以基于第一虚拟对象再次对该第二虚拟对象进行互动。
需要说明的是,上述步骤301-317是以终端为执行主体为例进行说明,在其他可能的实施方式中,也可以由服务器来执行上述步骤301-317中的数据处理步骤,由终端来对数据处理结果进行显示,本申请实施例对此不做限定。
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。
通过本申请实施例提供的技术方案,虚拟场景中包括第一虚拟对象和第二虚拟对象,触发该镜像互动控件能够控制第一虚拟对象向第一方向移动,并且在虚拟场景中显示该第一虚拟对象的镜像虚拟对象。在第一虚拟对象移动的过程中,响应于对该镜像互动控件的再一次触发操作,控制第一虚拟对象向该镜像虚拟对象所在的位置移动。在该第一虚拟对象与该第二虚拟对象接触的情况下,控制第一虚拟对象和第二虚拟对象共同向镜像虚拟对象所在的位置移动。在第一虚拟对象与镜像虚拟对象重合的情况下,控制第一虚拟对象对第二虚拟对象进行互动。通过设置镜像虚拟对象的方式丰富了第一虚拟对象与第二虚拟对象之间进行互动的方式,用户能够利用镜像虚拟对象对第二虚拟对象进行有效互动,从而提高人机交互的效率。
图10是本申请实施例提供的一种虚拟对象的控制装置的结构示意图,该装置设置于计算机设备中,例如该计算机设备为终端。参见图10,装置包括:虚拟场景显示模块1001、第一虚拟对象控制模块1002以及第二虚拟对象控制模块1003。
虚拟场景显示模块1001,用于显示虚拟场景,该虚拟场景显示有第一虚拟对象和第二虚拟对象,该第一虚拟对象为终端控制的虚拟对象,该第二虚拟对象与该第一虚拟对象属于不同的阵营。
第一虚拟对象控制模块1002,用于响应于对镜像互动控件的触发操作,控制该第一虚拟对象向第一方向移动,在该虚拟场景的第一位置显示该第一虚拟对象的镜像虚拟对象。
该第一虚拟对象控制模块1002,还用于在该第一虚拟对象向该第一方向移动的过程中,响应于再次对该镜像互动控件的触发操作,控制该第一虚拟对象向该第一位置移动。
第二虚拟对象控制模块1003,用于在该第一虚拟对象与该第二虚拟对象接触的情况下,控制该第一虚拟对象与该第二虚拟对象共同向该第一位置移动。
该第一虚拟对象控制模块1002,还用于在该第一虚拟对象与该镜像虚拟对象重合的情况下,控制该第一虚拟对象对该第二虚拟对象进行互动。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,用于在该第一虚拟对象与该第二虚拟对象未接触的情况下,控制该第一虚拟对象向该第一位置移动。在该第一虚拟对象与该镜像虚拟对象重合的情况下,取消显示该镜像虚拟对象。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,用于在第一虚拟对象与镜像虚拟对象重合,且第二虚拟对象与镜像虚拟对象之间的距离符合第一距离条件的情况下,控制第一虚拟对象对第二虚拟对象进行互动。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,用于在该第一虚拟对象与该镜像虚拟对象重合,且该第二虚拟对象与该镜像虚拟对象之间的距离小于或等于第一距离阈值的情况下,控制该镜像虚拟对象和该第一虚拟对象同时对该第二虚拟对象进行互动。
在一种可能的实施方式中,该第二虚拟对象控制模块1003,还用于在该第一虚拟对象对该第二虚拟对象成功互动的情况下,基于该第二虚拟对象的目标部位,确定第二方向,该第二方向表示该第二虚拟对象在该虚拟场景中移动的方向,该第二虚拟对象的目标部位为与该第一虚拟对象成功互动的部位。控制该第二虚拟对象按照第二方向在该虚拟场景中进行移动。
在一种可能的实施方式中,该第二虚拟对象控制模块1003,还用于执行下述任一项:
在该目标部位为该第二虚拟对象的头部的情况下,将镜像虚拟对象的下方确定为第二方
向。
在该目标部位为该第二虚拟对象的躯干的情况下,将第二虚拟对象向第一虚拟对象移动的方向确定为第二方向。
在该目标部位为该第二虚拟对象的脚部的情况下,将镜像虚拟对象的上方确定为第二方向。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,还用于在该第一虚拟对象对该第二虚拟对象成功互动的情况下,控制该第一虚拟对象进入第一状态。在该第一状态的持续时间内,在该第二虚拟对象对该第一虚拟对象成功互动的情况下,控制该第一虚拟对象自动对该第二虚拟对象进行互动。
在一种可能的实施方式中,该第二虚拟对象控制模块1003,用于在该第一虚拟对象与该第二虚拟对象接触的情况下,控制该第一虚拟对象移动至该虚拟场景的第二位置,该第二虚拟对象位于该第一位置和该第二位置之间。控制该第一虚拟对象和该第二虚拟对象共同向该第一位置移动。
在一种可能的实施方式中,该第二虚拟对象控制模块1003,用于控制该第一虚拟对象在该第二位置对该第二虚拟对象进行互动。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,还用于在该第一虚拟对象对该第二虚拟对象成功互动的情况下,将该第一虚拟对象的位置调整为第三位置,控制该第二虚拟对象向该虚拟场景的该第三位置移动,该第三位置为该第一虚拟对象与该第二虚拟对象接触时所在的位置。
该装置还包括:
连续互动控件显示模块,用于显示连续互动控件,该连续互动控件用于控制该第一虚拟对象对该第二虚拟对象进行互动。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,还用于执行下述任一项:
响应于对该连续互动控件的触发操作,控制该第一虚拟对象向该第二虚拟对象所在的位置移动。在该第一虚拟对象与该第二虚拟对象之间的距离符合第二距离条件的情况下,控制该第一虚拟对象对该第二虚拟对象进行互动。
响应于对该连续互动控件的触发操作,在该第一虚拟对象周围显示放大后的目标虚拟道具,该目标虚拟道具为该第一虚拟对象装备的虚拟道具。在该第二虚拟对象与该目标虚拟道具接触的情况下,控制该第二虚拟对象向该第一虚拟对象的上方移动,减少该第二虚拟对象的健康值。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,还用于在该第一虚拟对象对该第二虚拟对象成功互动的情况下,将该第一虚拟对象的位置调整为第三位置,显示位置交换控件,该第三位置为该第一虚拟对象与该第二虚拟对象接触时所在的位置。响应于对该位置交换控件的触发操作,交换该第一虚拟对象和该镜像虚拟对象在该虚拟场景中的位置。响应于再次对该镜像互动控件的触发操作,控制该第一虚拟对象对该第二虚拟对象进行互动。
在一种可能的实施方式中,该镜像虚拟对象控制模块,还用于控制该镜像虚拟对象向该第一虚拟对象所在的位置移动。在该镜像虚拟对象与该第二虚拟对象接触的情况下,减少该第二虚拟对象的健康值。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,还用于在该第一虚拟对象对该第二虚拟对象成功互动的情况下,控制该第二虚拟对象向该镜像虚拟对象当前所在的位置移动。响应于再次对该位置交换控件的触发操作,再次交换该第一虚拟对象和该镜像虚拟对象在该虚拟场景中的位置。响应于再次对该镜像互动控件的触发操作,再次控制该第一虚拟对象对该第二虚拟对象进行互动。
在一种可能的实施方式中,该第一虚拟对象控制模块1002,还用于在该第一虚拟对象未对该第二虚拟对象成功互动的情况下,将该第一虚拟对象保持在当前位置。
在一种可能的实施方式中,该镜像虚拟对象控制模块,还用于在该第一虚拟对象与该第
二虚拟对象接触且该第二虚拟对象处于第二状态的情况下,取消显示该镜像虚拟对象。
在一种可能的实施方式中,该镜像虚拟对象控制模块,还用于响应于在目标时长内未检测到对该镜像互动控件执行触发操作的情况下,取消显示该镜像虚拟对象。
需要说明的是:上述实施例提供的虚拟对象的控制装置在控制虚拟对象时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将计算机设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的虚拟对象的控制装置与虚拟对象的控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
通过本申请实施例提供的技术方案,虚拟场景中包括第一虚拟对象和第二虚拟对象,触发该镜像互动控件能够控制第一虚拟对象向第一方向移动,并且在虚拟场景中显示该第一虚拟对象的镜像虚拟对象。在第一虚拟对象移动的过程中,响应于对该镜像互动控件的再一次触发操作,控制第一虚拟对象向该镜像虚拟对象所在的位置移动。在该第一虚拟对象与该第二虚拟对象接触的情况下,控制第一虚拟对象和第二虚拟对象共同向镜像虚拟对象所在的位置移动。在第一虚拟对象与镜像虚拟对象重合的情况下,控制第一虚拟对象对第二虚拟对象进行互动。通过设置镜像虚拟对象的方式丰富了第一虚拟对象与第二虚拟对象之间进行互动的方式,用户能够利用镜像虚拟对象对第二虚拟对象进行有效互动,从而提高人机交互的效率。
本申请实施例提供了一种计算机设备,该计算机设备包括一个或多个处理器和一个或多个存储器,该一个或多个存储器中存储有至少一条计算机程序,该计算机程序由该一个或多个处理器加载并执行以实现所上述虚拟对象的控制方法。
该计算机设备可以实现为终端或者服务器,下面先对终端的结构进行介绍:
图11是本申请实施例提供的一种终端的结构示意图。该终端1100可以是:智能手机、平板电脑、笔记本电脑或台式电脑。终端1100还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。
通常,终端1100包括有:一个或多个处理器1101和一个或多个存储器1102。
处理器1101可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1101可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1101也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一种可能的实施方式中,处理器1101可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1101还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1102可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1102还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一种可能的实施方式中,存储器1102中的非暂态的计算机可读存储介质用于存储至少一个计算机程序,该至少一个计算机程序用于被处理器1101所执行以实现本申请中方法实施例提供的虚拟对象的控制方法。
在一种可能的实施方式中,终端1100还可选包括有:外围设备接口1103和至少一个外围设备。处理器1101、存储器1102和外围设备接口1103之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口1103相连。具体地,外围设备包括:射频电路1104、显示屏1105、摄像头组件1106、音频电路1107和电源1108中的至少一种。
外围设备接口1103可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设
备连接到处理器1101和存储器1102。在一种可能的实施方式中,处理器1101、存储器1102和外围设备接口1103被集成在同一芯片或电路板上;在一些其他实施例中,处理器1101、存储器1102和外围设备接口1103中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。
射频电路1104用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1104通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1104将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1104包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。
显示屏1105用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏1105是触摸显示屏时,显示屏1105还具有采集在显示屏1105的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1101进行处理。此时,显示屏1105还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。
摄像头组件1106用于采集图像或视频。可选地,摄像头组件1106包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。
音频电路1107可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1101进行处理,或者输入至射频电路1104以实现语音通信。
电源1108用于为终端1100中的各个组件进行供电。电源1108可以是交流电、直流电、一次性电池或可充电电池。
在一种可能的实施方式中,终端1100还包括有一个或多个传感器1109。该一个或多个传感器1109包括但不限于:加速度传感器1110、陀螺仪传感器1111、压力传感器1112、光学传感器1113以及接近传感器1114。
加速度传感器1110可以检测以终端1100建立的坐标系的三个坐标轴上的加速度大小。
陀螺仪传感器1111可以终端1100的机体方向及转动角度,陀螺仪传感器1111可以与加速度传感器1110协同采集用户对终端1100的3D动作。
压力传感器1112可以设置在终端1100的侧边框和/或显示屏1105的下层。当压力传感器1112设置在终端1100的侧边框时,可以检测用户对终端1100的握持信号,由处理器1101根据压力传感器1112采集的握持信号进行左右手识别或快捷操作。当压力传感器1112设置在显示屏1105的下层时,由处理器1101根据用户对显示屏1105的压力操作,实现对UI界面上的可操作性控件进行控制。
光学传感器1113用于采集环境光强度。在一个实施例中,处理器1101可以根据光学传感器1113采集的环境光强度,控制显示屏1105的显示亮度。
接近传感器1114用于采集用户与终端1100的正面之间的距离。
本领域技术人员可以理解,图11中示出的结构并不构成对终端1100的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
上述计算机设备还可以实现为服务器,下面对服务器的结构进行介绍:
图12是本申请实施例提供的一种服务器的结构示意图,该服务器1200可因配置或性能不同而产生比较大的差异,可以包括一个或多个处理器(Central Processing Units,CPU)1201和一个或多个的存储器1202,其中,所述一个或多个存储器1202中存储有至少一条计算机程序,所述至少一条计算机程序由所述一个或多个处理器1201加载并执行以实现上述各个方法实施例提供的方法。当然,该服务器1200还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器1200还可以包括其他用于实现设备功能的部件,在此不做赘述。
在示例性实施例中,还提供了一种计算机可读存储介质,例如包括计算机程序的存储器,上述计算机程序可由处理器执行以完成上述实施例中的虚拟对象的控制方法。例如,该计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。
在示例性实施例中,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括程序代码,该程序代码存储在计算机可读存储介质中,计算机设备的处理器从计算机可读存储介质读取该程序代码,处理器执行该程序代码,使得该计算机设备执行上述虚拟对象的控制方法。
在一些实施例中,本申请实施例所涉及的计算机程序可被部署在一个计算机设备上执行,或者在位于一个地点的多个计算机设备上执行,又或者,在分布在多个地点且通过通信网络互连的多个计算机设备上执行,分布在多个地点且通过通信网络互连的多个计算机设备可以组成区块链系统。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
上述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
Claims (21)
- 一种虚拟对象的控制方法,所述方法包括:计算机设备显示虚拟场景,所述虚拟场景显示有第一虚拟对象和第二虚拟对象,所述第一虚拟对象为终端控制的虚拟对象,所述第二虚拟对象与所述第一虚拟对象属于不同的阵营;所述计算机设备响应于对镜像互动控件的触发操作,控制所述第一虚拟对象向第一方向移动,在所述虚拟场景的第一位置显示所述第一虚拟对象的镜像虚拟对象;所述计算机设备在所述第一虚拟对象向所述第一方向移动的过程中,响应于再次对所述镜像互动控件的触发操作,控制所述第一虚拟对象向所述第一位置移动;所述计算机设备在所述第一虚拟对象与所述第二虚拟对象接触的情况下,控制所述第一虚拟对象与所述第二虚拟对象共同向所述第一位置移动;所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动。
- 根据权利要求1所述的方法,其中,所述响应于再次对所述镜像互动控件的触发操作,控制所述第一虚拟对象向所述第一位置移动之后,所述方法还包括:在所述第一虚拟对象与所述第二虚拟对象未接触的情况下,控制所述第一虚拟对象向所述第一位置移动;在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,取消显示所述镜像虚拟对象。
- 根据权利要求1所述的方法,其中,所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动,包括:所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合,且所述第二虚拟对象与所述镜像虚拟对象之间的距离符合第一距离条件的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动。
- 根据权利要求3所述的方法,其中,所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合,且所述第二虚拟对象与所述镜像虚拟对象之间的距离符合第一距离条件的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动,包括:所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合,且所述第二虚拟对象与所述镜像虚拟对象之间的距离小于或等于第一距离阈值的情况下,控制所述镜像虚拟对象和所述第一虚拟对象同时对所述第二虚拟对象进行互动。
- 根据权利要求1所述的方法,其中,所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动之后,所述方法还包括:所述计算机设备在所述第一虚拟对象对所述第二虚拟对象成功互动的情况下,基于所述第二虚拟对象的目标部位,确定第二方向,所述第二方向表示所述第二虚拟对象在所述虚拟场景中移动的方向,所述目标部位为与所述第一虚拟对象成功互动的部位;所述计算机设备控制所述第二虚拟对象按照所述第二方向在所述虚拟场景中进行移动。
- 根据权利要求5所述的方法,其中,所述基于所述第二虚拟对象的目标部位,确定第二方向,包括下述任一项:在所述目标部位为所述第二虚拟对象的头部的情况下,将所述镜像虚拟对象的下方确定为所述第二方向;在所述目标部位为所述第二虚拟对象的躯干的情况下,将所述第二虚拟对象向所述第一虚拟对象移动的方向确定为所述第二方向;在所述目标部位为所述第二虚拟对象的脚部的情况下,将所述镜像虚拟对象的上方确定为所述第二方向。
- 根据权利要求1所述的方法,其中,所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动之后,所述方法还包括:所述计算机设备在所述第一虚拟对象对所述第二虚拟对象成功互动的情况下,控制所述第一虚拟对象进入第一状态;所述计算机设备在所述第一状态的持续时间内,在所述第二虚拟对象对所述第一虚拟对象成功互动的情况下,控制所述第一虚拟对象自动对所述第二虚拟对象进行互动。
- 根据权利要求1所述的方法,其中,所述计算机设备在所述第一虚拟对象与所述第二虚拟对象接触的情况下,控制所述第一虚拟对象与所述第二虚拟对象共同向所述第一位置移动包括:所述计算机设备在所述第一虚拟对象与所述第二虚拟对象接触的情况下,控制所述第一虚拟对象移动至所述虚拟场景的第二位置,控制所述第一虚拟对象和所述第二虚拟对象共同向所述第一位置移动,所述第二虚拟对象位于所述第一位置和所述第二位置之间。
- 根据权利要求8所述的方法,其中,所述计算机设备控制所述第一虚拟对象和所述第二虚拟对象共同向所述第一位置移动之前,所述方法还包括:所述计算机设备控制所述第一虚拟对象在所述第二位置对所述第二虚拟对象进行互动。
- 根据权利要求1所述的方法,其中,所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动之后,所述方法还包括:所述计算机设备在所述第一虚拟对象对所述第二虚拟对象成功互动的情况下,将所述第一虚拟对象的位置调整为第三位置,控制所述第二虚拟对象向所述第三位置移动,所述第三位置为所述第一虚拟对象与所述第二虚拟对象接触时所在的位置;所述计算机设备显示连续互动控件,所述连续互动控件用于控制所述第一虚拟对象对所述第二虚拟对象进行互动。
- 根据权利要求10所述的方法,其中,所述计算机设备显示连续互动控件之后,所述方法还包括下述任一项:所述计算机设备响应于对所述连续互动控件的触发操作,控制所述第一虚拟对象向所述第二虚拟对象所在的位置移动;在所述第一虚拟对象与所述第二虚拟对象之间的距离符合第二距离条件的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动;所述计算机设备响应于对所述连续互动控件的触发操作,在所述第一虚拟对象周围显示放大后的目标虚拟道具,所述目标虚拟道具为所述第一虚拟对象装备的虚拟道具;在所述第二虚拟对象与所述目标虚拟道具接触的情况下,控制所述第二虚拟对象向所述第一虚拟对象的上方移动,减少所述第二虚拟对象的健康值。
- 根据权利要求1所述的方法,其中,所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动之后,所述方法还包括:所述计算机设备在所述第一虚拟对象对所述第二虚拟对象成功互动的情况下,将所述第一虚拟对象的位置调整为第三位置,显示位置交换控件,所述第三位置为所述第一虚拟对象与所述第二虚拟对象接触时所在的位置;所述计算机设备响应于对所述位置交换控件的触发操作,交换所述第一虚拟对象和所述镜像虚拟对象的位置;所述计算机设备响应于再次对所述镜像互动控件的触发操作,控制所述第一虚拟对象对所述第二虚拟对象进行互动。
- 根据权利要求12所述的方法,其中,所述计算机设备响应于再次对所述镜像互动控件的触发操作之后,所述方法还包括:所述计算机设备控制所述镜像虚拟对象向所述第一虚拟对象所在的位置移动;所述计算机设备在所述镜像虚拟对象与所述第二虚拟对象接触的情况下,减少所述第二虚拟对象的健康值。
- 根据权利要求12所述的方法,其中,所述计算机设备响应于再次对所述镜像互动控件的触发操作,控制所述第一虚拟对象对所述第二虚拟对象进行互动之后,所述方法还包括:所述计算机设备在所述第一虚拟对象对所述第二虚拟对象成功互动的情况下,控制所述第二虚拟对象向所述镜像虚拟对象当前所在的位置移动;所述计算机设备响应于再次对所述位置交换控件的触发操作,再次交换所述第一虚拟对象和所述镜像虚拟对象在所述虚拟场景中的位置;所述计算机设备响应于再次对所述镜像互动控件的触发操作,再次控制所述第一虚拟对象对所述第二虚拟对象进行互动。
- 根据权利要求1所述的方法,其中,所述计算机设备在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动之后,所述方法还包括:所述计算机设备在所述第一虚拟对象未对所述第二虚拟对象成功互动的情况下,将所述第一虚拟对象保持在当前位置。
- 根据权利要求1所述的方法,其中,所述计算机设备响应于对镜像互动控件的触发操作,控制所述第一虚拟对象向第一方向移动之后,所述方法还包括:所述计算机设备在所述第一虚拟对象与所述第二虚拟对象接触,且所述第二虚拟对象处于第二状态的情况下,取消显示所述镜像虚拟对象。
- 根据权利要求1所述的方法,其中,所述计算机设备响应于对镜像互动控件的触发操作,控制所述第一虚拟对象向第一方向移动,在所述虚拟场景的第一位置显示所述第一虚拟对象的镜像虚拟对象之后,所述方法还包括:所述计算机设备在目标时长内未检测到对所述镜像互动控件执行触发操作的情况下,取消显示所述镜像虚拟对象。
- 一种虚拟对象的控制装置,设置于计算机设备中,所述装置包括:虚拟场景显示模块,用于显示虚拟场景,所述虚拟场景显示有第一虚拟对象和第二虚拟对象,所述第一虚拟对象为终端控制的虚拟对象,所述第二虚拟对象与所述第一虚拟对象属于不同的阵营;第一虚拟对象控制模块,用于响应于对镜像互动控件的触发操作,控制所述第一虚拟对象向第一方向移动,在所述虚拟场景的第一位置显示所述第一虚拟对象的镜像虚拟对象;所述第一虚拟对象控制模块,还用于在所述第一虚拟对象向所述第一方向移动的过程中,响应于再次对所述镜像互动控件的触发操作,控制所述第一虚拟对象向所述第一位置移动;第二虚拟对象控制模块,用于在所述第一虚拟对象与所述第二虚拟对象接触的情况下,控制所述第一虚拟对象与所述第二虚拟对象共同向所述第一位置移动;所述第一虚拟对象控制模块,还用于在所述第一虚拟对象与所述镜像虚拟对象重合的情况下,控制所述第一虚拟对象对所述第二虚拟对象进行互动。
- 一种计算机设备,所述计算机设备包括一个或多个处理器和一个或多个存储器,所述一个或多个存储器中存储有至少一条计算机程序,所述计算机程序由所述一个或多个处理器加载并执行以实现如权利要求1至权利要求17任一项所述的虚拟对象的控制方法。
- 一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述计算机程序由处理器加载并执行以实现如权利要求1至权利要求17任一项所述的虚拟对象的控制方法。
- 一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现权利要求1至权利要求17任一项所述的虚拟对象的控制方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2024532485A JP2025501061A (ja) | 2022-05-31 | 2023-03-29 | 仮想オブジェクトの制御方法、装置、機器及びコンピュータプログラム |
US18/751,120 US20240342605A1 (en) | 2022-05-31 | 2024-06-21 | Virtual object control method and apparatus, device, and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210611053.1A CN116983649A (zh) | 2022-05-31 | 2022-05-31 | 虚拟对象的控制方法、装置、设备以及存储介质 |
CN202210611053.1 | 2022-05-31 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/751,120 Continuation US20240342605A1 (en) | 2022-05-31 | 2024-06-21 | Virtual object control method and apparatus, device, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2023231544A1 true WO2023231544A1 (zh) | 2023-12-07 |
WO2023231544A9 WO2023231544A9 (zh) | 2024-02-08 |
Family
ID=88528961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/084729 WO2023231544A1 (zh) | 2022-05-31 | 2023-03-29 | 虚拟对象的控制方法、装置、设备以及存储介质 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20240342605A1 (zh) |
JP (1) | JP2025501061A (zh) |
CN (1) | CN116983649A (zh) |
WO (1) | WO2023231544A1 (zh) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110230267A1 (en) * | 2010-03-16 | 2011-09-22 | Andrew Van Luchene | Process and apparatus for executing a video game |
US20120115605A1 (en) * | 2010-11-08 | 2012-05-10 | XMG Studio Inc. | Systems and methods for inverse franchising of virtual characters |
CN108536368A (zh) * | 2018-03-30 | 2018-09-14 | 努比亚技术有限公司 | 按键使用方法、终端及计算机可读存储介质 |
CN110141859A (zh) * | 2019-05-28 | 2019-08-20 | 腾讯科技(深圳)有限公司 | 虚拟对象控制方法、装置、终端及存储介质 |
CN111298449A (zh) * | 2020-03-23 | 2020-06-19 | 网易(杭州)网络有限公司 | 一种游戏中的控制方法、装置、计算机设备及存储介质 |
CN113769383A (zh) * | 2021-09-14 | 2021-12-10 | 网易(杭州)网络有限公司 | 对战游戏中虚拟对象的控制方法、装置和电子设备 |
CN114307150A (zh) * | 2022-01-07 | 2022-04-12 | 腾讯科技(深圳)有限公司 | 虚拟对象之间的互动方法、装置、设备、介质及程序产品 |
-
2022
- 2022-05-31 CN CN202210611053.1A patent/CN116983649A/zh active Pending
-
2023
- 2023-03-29 JP JP2024532485A patent/JP2025501061A/ja active Pending
- 2023-03-29 WO PCT/CN2023/084729 patent/WO2023231544A1/zh active Application Filing
-
2024
- 2024-06-21 US US18/751,120 patent/US20240342605A1/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110230267A1 (en) * | 2010-03-16 | 2011-09-22 | Andrew Van Luchene | Process and apparatus for executing a video game |
US20120115605A1 (en) * | 2010-11-08 | 2012-05-10 | XMG Studio Inc. | Systems and methods for inverse franchising of virtual characters |
CN108536368A (zh) * | 2018-03-30 | 2018-09-14 | 努比亚技术有限公司 | 按键使用方法、终端及计算机可读存储介质 |
CN110141859A (zh) * | 2019-05-28 | 2019-08-20 | 腾讯科技(深圳)有限公司 | 虚拟对象控制方法、装置、终端及存储介质 |
CN111298449A (zh) * | 2020-03-23 | 2020-06-19 | 网易(杭州)网络有限公司 | 一种游戏中的控制方法、装置、计算机设备及存储介质 |
CN113769383A (zh) * | 2021-09-14 | 2021-12-10 | 网易(杭州)网络有限公司 | 对战游戏中虚拟对象的控制方法、装置和电子设备 |
CN114307150A (zh) * | 2022-01-07 | 2022-04-12 | 腾讯科技(深圳)有限公司 | 虚拟对象之间的互动方法、装置、设备、介质及程序产品 |
Also Published As
Publication number | Publication date |
---|---|
WO2023231544A9 (zh) | 2024-02-08 |
US20240342605A1 (en) | 2024-10-17 |
JP2025501061A (ja) | 2025-01-17 |
CN116983649A (zh) | 2023-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112691377B (zh) | 虚拟角色的控制方法、装置、电子设备及存储介质 | |
WO2021238870A1 (zh) | 信息显示方法、装置、设备及存储介质 | |
CN111672127B (zh) | 虚拟对象的控制方法、装置、设备以及存储介质 | |
US20220032191A1 (en) | Virtual object control method and apparatus, device, and medium | |
JP7331124B2 (ja) | 仮想オブジェクトの制御方法、装置、端末及び記憶媒体 | |
JP7390400B2 (ja) | 仮想オブジェクトの制御方法並びにその、装置、端末及びコンピュータプログラム | |
CN111714886B (zh) | 虚拟对象的控制方法、装置、设备以及存储介质 | |
JP7250403B2 (ja) | 仮想シーンの表示方法、装置、端末及びコンピュータプログラム | |
JP2023524368A (ja) | 仮想シーンのアダプティブ表示方法及び装置、電子機器、並びにコンピュータプログラム | |
CN112221135B (zh) | 画面显示方法、装置、设备以及存储介质 | |
JP7137719B2 (ja) | 仮想オブジェクトの選択方法、装置、端末及びプログラム | |
CN114225372A (zh) | 虚拟对象的控制方法、装置、终端、存储介质及程序产品 | |
US20230271087A1 (en) | Method and apparatus for controlling virtual character, device, and storage medium | |
WO2023240925A1 (zh) | 虚拟道具的拾取方法、装置、计算机设备和存储介质 | |
JP2009070076A (ja) | プログラム、情報記憶媒体及び画像生成装置 | |
US20230390650A1 (en) | Expression display method and apparatus in virtual scene, device and medium | |
WO2024098628A1 (zh) | 游戏交互方法、装置、终端设备及计算机可读存储介质 | |
US20230033902A1 (en) | Virtual object control method and apparatus, device, storage medium, and program product | |
JP5479503B2 (ja) | プログラム、情報記憶媒体及び画像生成装置 | |
WO2023231544A1 (zh) | 虚拟对象的控制方法、装置、设备以及存储介质 | |
WO2023071808A1 (zh) | 基于虚拟场景的图形显示方法、装置、设备以及介质 | |
CN114522429A (zh) | 虚拟对象的控制方法、装置、存储介质及计算机设备 | |
US20240424393A1 (en) | Virtual world-based character interaction method and apparatus, device, and medium | |
WO2025031010A1 (zh) | 基于虚拟环境的交互方法、装置、设备和介质 | |
WO2024244647A1 (zh) | 虚拟世界的显示方法、装置、设备及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23814740 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2024532485 Country of ref document: JP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |