Virtual object control method and apparatus, computer device, and storage medium

US12274942B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12274942-B2
Application numberUS-202217828941-A
CountryUS
Kind codeB2
Filing dateMay 31, 2022
Priority dateMay 13, 2021
Publication dateApr 15, 2025
Grant dateApr 15, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A virtual object control method includes: controlling a first virtual object to move toward a target position in response to detecting a triggering operation on a first skill; while the first skill is in effect, detecting a triggering operation on a second skill; in response to detecting the triggering operation on the second skill: searching, based on the target position, for a target virtual object; and in accordance with a determination that the first virtual object reaches the target position: controlling the first virtual object to cast the second skill on the target virtual object. Searching is performed based on the target position associated with the first skill, so that a target actually attacked matches a target the user intends to attack, thereby improving the efficiency of human-machine interaction.

First claim

Opening claim text (preview).

What is claimed is: 1. A virtual object control method, performed on an electronic device, the method comprising: controlling a first virtual object to move toward a target position in a virtual environment in response to detecting a triggering operation on a first skill used for changing a position of the first virtual object; while the first skill is in effect, detecting a triggering operation on a second skill; in response to detecting the triggering operation on the second skill during a period where the first skill takes effect: determining a skill search range corresponding to the second skill in the virtual environment using the target position as a search center; and searching within the skill search range to obtain the target virtual object; and in accordance with a determination that the first virtual object reaches the target position: controlling the first virtual object to cast the second skill on the target virtual object in the virtual environment and displaying a skill indication mark of the second skill in the virtual environment, wherein the skill indication mark points from the target position to a position of the target virtual object. 2. The method according to claim 1 , further comprising: marking the target virtual object obtained from the searching. 3. The method according to claim 1 , wherein controlling the first virtual object to move toward the target position in response to a triggering operation on a first skill comprises: in response to the triggering operation on the first skill: determining the target position along a movement path corresponding to the first skill; and controlling the first virtual object to move toward the target position. 4. The method according to claim 3 , wherein determining the target position on the movement path corresponding to the first skill comprises: in response to detecting the triggering operation on the first skill, and in accordance with a determination that there is an obstacle in the movement path: correcting an end position of the movement path to obtain the target position. 5. The method according to claim 3 , further comprising: in response to detecting the triggering operation on the first skill: displaying the movement path. 6. The method according to claim 1 , wherein controlling the first virtual object to move toward the target position in response to detecting the triggering operation on a first skill includes: in accordance with a determination that an end position corresponding to the first skill is a position unreachable for virtual objects, and in response to detecting the triggering operation on the first skill: setting, as the target position, a position that is reachable by virtual objects; and controlling the first virtual object to move toward the target position. 7. The method according to claim 6 , further comprising: in accordance with the determination that the end position is a position unreachable for virtual objects: correcting the end position to obtain the target position. 8. The method according to claim 6 , further comprising: displaying the end position in response to detecting the triggering operation on the first skill. 9. The method according to claim 1 , further comprising: displaying the skill search range in the virtual environment. 10. The method according to claim 1 , wherein displaying a skill indication mark of the second skill in the virtual environment comprises: generating a substitute object corresponding to the first virtual object at the target position, wherein the substitute object is an invisible object; determining an orientation of the substitute object based on the position of the target virtual object; and displaying the skill indication mark of the second skill in the virtual environment based on the orientation of the substitute object. 11. The method according to claim 1 , further comprising: in accordance with a determination that a movement process of the first virtual object is interrupted at a current position of the first virtual object: updating the target position to the current position of the first virtual object. 12. The method according to claim 1 , further comprising: in accordance with a determination that the first skill moves the first virtual object to a position of the second virtual object: updating the target position in real time according to the position of the second virtual object. 13. An electronic device, comprising: one or more processors; and memory storing one or more programs, the one or more programs comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including: controlling a first virtual object to move toward a target position in a virtual environment in response to detecting a triggering operation on a first skill used for changing a position of the first virtual object; while the first skill is in effect, detecting a triggering operation on a second skill; in response to detecting the triggering operation on the second skill during a period where the first skill takes effect: determining a skill search range corresponding to the second skill in the virtual environment using the target position as a search center; and searching within the skill search range to obtain the target virtual object; and in accordance with a determination that the first virtual object reaches the target position: controlling the first virtual object to cast the second skill on the target virtual object in the virtual environment and displaying a skill indication mark of the second skill in the virtual environment, wherein the skill indication mark points from the target position to a position of the target virtual object. 14. The electronic device according to claim 13 , wherein controlling the first virtual object to move toward the target position in response to detecting the triggering operation on a first skill includes: in accordance with a determination that an end position corresponding to the first skill is a position unreachable for virtual objects, and in response to detecting the triggering operation on the first skill: setting, as the target position, a position that is reachable by virtual objects; and controlling the first virtual object to move toward the target position. 15. The electronic device according to claim 14 , wherein the operations further comprise: in accordance with the determination that the end position is a position unreachable for virtual objects: correcting the end position to obtain the target position. 16. A non-transitory computer-readable storage medium, storing a computer program, the computer program, when executed by one or more processors of an electronic device, cause the one or more processors to perform operations comprising: controlling a first virtual object to move toward a target position in a virtual environment in response to detecting a triggering operation on a first skill used for changing a position of the first virtual object; while the first skill is in effect, detecting a triggering operation on a second skill; in response to detecting the triggering operation on the second skill during a period where the first skill takes effect: determining a skill search range corresponding to the second skill in the virtual environment using the target position as a search center; and searching within the skill search range to obtain the target virtual object; and in accordance with a determination that the first virtual object reaches the target posit

Assignees

Inventors

Classifications

  • using indicators, e.g. showing the condition of a game character on screen · CPC title

  • Strategy games; Role-playing games (A63F13/825, A63F13/828 take precedence) · CPC title

  • involving aspects of the displayed game scene · CPC title

  • for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player · CPC title

  • A63F13/426Primary

    involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12274942B2 cover?
A virtual object control method includes: controlling a first virtual object to move toward a target position in response to detecting a triggering operation on a first skill; while the first skill is in effect, detecting a triggering operation on a second skill; in response to detecting the triggering operation on the second skill: searching, based on the target position, for a target virtual …
Who is the assignee on this patent?
Tencent Tech Shenzhen Co Ltd
What technology area does this patent fall under?
Primary CPC classification A63F13/426. Mapped technology areas include Human Necessities.
When was this patent published?
Publication date Tue Apr 15 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).