Method and apparatus for controlling virtual object, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorZhihong Liu
Life of this patent
Estimating the term…
Abstract
A method and an apparatus for controlling a virtual object, a storage medium, and an electronic device. The method includes: obtaining an interactive operation in a virtual scene, the interactive operation being used for controlling a first virtual object to release a virtual prop at a target position; releasing the virtual prop at the target position, and displaying a target region triggered by the virtual prop in the virtual scene, the target region including the target position; and enhancing a target attribute of a virtual object in a first object group in the virtual scene in a case that the first virtual object is located in the target region, the first object group being an object group to which the first virtual object belongs.
Claims20
A method performed by an electronic device, the method comprising:
- executing an augmented reality game application such that the virtual scene is outputted as a three-dimensional (3D) projection;
- obtaining an interactive operation in the virtual scene, the interactive operation being used for controlling a first virtual object to release a virtual prop at a target position that is at a distance from the virtual prop in the virtual scene;
- aiming the virtual prop toward the target position such that a line is extended from the virtual prop to the target position;
- releasing, via a trigger release, the virtual prop that is aimed towards the target position, and upon releasing the virtual prop, displaying in the virtual scene a target region triggered by the virtual prop in the virtual scene, the target region comprising the target position at the distance from the virtual prop and an area surrounding the target position;
- and
- enhancing a target attribute of a second virtual object in a first object group in the virtual scene in a case that the first virtual object is located in the target region, the first object group being an object group to which the first virtual object belongs.
An apparatus comprising:
- at least one memory configured to store program code;
- and
- at least one processor configured to read the program code and operate as instructed by the program code, the program code comprising:
- executing code configured to cause the at least one processor to execute an augmented reality game application such that the virtual scene is outputted as a three-dimensional (3D) projection;
- aiming code configured to cause the at least one processor to aim the virtual prop toward the target position such that a line is extended from the virtual prop to the target position;
- first obtaining code configured to cause the at least one processor to obtain an interactive operation in the virtual scene, the interactive operation being used for controlling a first virtual object to release a virtual prop at a target position that is at a distance from the virtual prop in the virtual scene, the virtual scene displayed during execution of the augmented reality game application, the virtual scene displayed on a display screen of the electronic device that is a wearable head mount device or outputted as a three-dimensional (3D) projection by the electronic device;
- response code configured to cause the at least one processor to release, via a trigger release, the virtual prop that is aimed towards the target position, and upon releasing the virtual prop, display in the virtual scene a target region triggered by the virtual prop in the virtual scene, the target region comprising the target position at the distance from the virtual prop and an area surrounding the target position;
- and
- first enhancement code configured to cause the at least one processor to enhance a target attribute of a virtual object in a first object group in the virtual scene in a case that the first virtual object is located in the target region, the first object group being an object group to which the first virtual object belongs.
A non-transitory computer-readable storage medium, storing computer program that when executed by at least one processor causes the at least one processor to:
- executing an augmented reality game application such that the virtual scene is outputted as a three-dimensional (3D) projection;
- obtain an interactive operation in the virtual scene, the interactive operation being used for controlling a first virtual object to release a virtual prop at a target position that is at a distance from the virtual prop in the virtual scene;
- aim the virtual prop toward the target position such that a line is extended from the virtual prop to the target position;
- release, via a trigger release, the virtual prop that is aimed towards the target position, and upon releasing the virtual prop, displaying in the virtual scene a target region triggered by the virtual prop in the virtual scene, the target region comprising the target position at the distance from the virtual prop and an area surrounding the target position;
- and
- enhance a target attribute of a second virtual object in a first object group in the virtual scene in a case that the first virtual object is located in the target region, the first object group being an object group to which the first virtual object belongs.
Dependencies are inferred from the claim text.