IP Library › Granted Patent US 12,090,405
Granted Patent B2
US 12,090,405 · App. 17/743,291 · Granted Sep 17, 2024

Virtual object interaction method and related apparatus

Inventor: Qiyao Feng (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
A63F13/56A63F13/52A63F13/53A63F13/822
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,090,405
App. No.
17/743,291
Granted
Sep 17, 2024
Kind
B2
Abstract

This application discloses a virtual object interaction method performed by a computer device. A target virtual scene is obtained and displayed, where the target virtual scene includes a virtual object and a target interaction region, and the target interaction region has a valid time and randomly generated at a location in the target virtual scene; an interaction value is determined in response to a target operation of the virtual object occupying the target interaction region; and the target interaction region is then updated in the target virtual scene when an existence time of the target interaction region reaches the valid time and the interaction value is lower than a preset value. Because virtual object interaction is only guided by switching the target interaction region in a virtual scene and a large quantity of virtual elements are not introduced, occupancy of resources in the virtual element interaction process is reduced.

Claims (70)

1. A virtual object interaction method performed by a computer device, the method comprising:

displaying a target virtual scene for an adversarial game between at least two virtual objects, the target virtual scene comprising a target interaction region, including:

determining a candidate virtual scene in response to a user selection instruction;

randomly generating a target hotspot based on the candidate virtual scene;

generating the target interaction region according to the target hotspot; and

deploying the target interaction region in the candidate virtual scene based on the target hotspot, to determine the target virtual scene;

increasing an interaction value associated with a first virtual object of the at least two virtual objects in response to the first virtual object occupying the target interaction region; and

determining a game outcome based on the interaction value associated with the first virtual object.

2. The method according to claim 1 , wherein the method further comprising:

updating the target interaction region in the target virtual scene when an existence time of the target interaction region reaches a valid time and the interaction value associated with the first virtual object is lower than a preset value.

3. The method according to claim 2 , wherein the updating the target interaction region in the target virtual scene comprises:

determining real-time position coordinates of the first virtual object in the target virtual scene; and

updating region position coordinates of the target interaction region based on the real-time position coordinates, to update the target interaction region in the region position coordinates, such that the first virtual object is outside the updated target interaction region.

4. The method according to claim 3 , wherein the updating region position coordinates of the target interaction region based on the real-time position coordinates comprises:

determining obstacle information surrounding the first virtual object according to the real-time position coordinates;

generating route information based on distance weight information corresponding to the obstacle information, the route information being used for indicating a distance of the first virtual object from the updated target interaction region; and

updating the region position coordinates of the target interaction region based on the route information.

5. The method according to claim 1 , wherein the method further comprising:

removing the first virtual object from the target interaction region in the target virtual scene when a health point value associated with the first virtual object is below a threshold.

6. The method according to claim 1 , wherein the increasing an interaction value associated with a first virtual object of the at least two virtual objects in response to the first virtual object occupying the target interaction region comprises:

determining occupancy information in response to a target operation of the first virtual object occupying the target interaction region, the occupancy information being set based on an occupancy time of the first virtual object in the target interaction region; and

increasing the interaction value associated with the first virtual object based on the occupancy information.

7. The method according to claim 6 , further comprising:

determining interaction data of the first virtual object occupying the target interaction region; and

updating the occupancy information based on the interaction data.

8. The method according to claim 6 , wherein the determining occupancy information in response to the target operation of the first virtual object occupying the target interaction region comprises:

determining a boundary collision box corresponding to the target interaction region;

starting a timer for the target interaction region when the target operation of the first virtual object triggers the boundary collision box; and

determining the occupancy information according to the occupancy time indicated by the timer.

9. The method according to claim 8 , further comprising:

detecting occupancy objects in the target interaction region, the occupancy objects being used for identifying a camp count based on the first virtual object; and

stopping the timer when a quantity of the camp count identified by the occupancy objects meets a stop threshold.

10. The method according to claim 8 , further comprising:

invoking a first virtual element in response to starting of the timer, the first virtual element being used for indicating a change of the interaction value; and

updating the target interaction region based on the first virtual element.

11. The method according to claim 1 , further comprising:

generating prompt information based on the target hotspot, the prompt information being used for indicating a direction or a distance; and

updating a second virtual element in the target virtual scene according to the prompt information, the second virtual element being used for guiding the first virtual object to approach the target interaction region.

12. The method according to claim 11 , wherein the generating prompt information based on the target hotspot comprises:

determining an indication direction and position coordinates of the first virtual object, the indication direction being used for indicating a first direction line toward which the first virtual object faces;

generating a second direction line based on the position coordinates and the target hotspot; and

generating the prompt information based on the first direction line and the second direction line.

13. The method according to claim 11 , wherein the generating prompt information based on the target hotspot comprises:

determining position information of the target hotspot in a third virtual element, the third virtual element being used for guiding the first virtual object to approach the target interaction region;

determining position coordinates of the first virtual object in the third virtual element; and

determining the prompt information based on the position information and the position coordinates of the first virtual object in the third virtual element.

14. A computer device, comprising a processor and a memory,

the memory being configured to store program code, and the processor being configured to execute the program code to perform a virtual object interaction method including:

displaying a target virtual scene for an adversarial game between at least two virtual objects, the target virtual scene comprising a target interaction region, including:

determining a candidate virtual scene in response to a user selection instruction;

randomly generating a target hotspot based on the candidate virtual scene;

generating the target interaction region according to the target hotspot; and

deploying the target interaction region in the candidate virtual scene based on the target hotspot, to determine the target virtual scene;

increasing an interaction value associated with a first virtual object of the at least two virtual objects in response to the first virtual object occupying the target interaction region; and

determining a game outcome based on the interaction value associated with the first virtual object.

15. The computer device according to claim 14 , wherein the method further comprising:

updating the target interaction region in the target virtual scene when an existence time of the target interaction region reaches a valid time and the interaction value associated with the first virtual object is lower than a preset value.

16. The computer device according to claim 14 , wherein the method further comprising:

removing the first virtual object from the target interaction region in the target virtual scene when a health point value associated with the first virtual object is below a threshold.

17. The computer device according to claim 14 , wherein the increasing an interaction value associated with a first virtual object of the at least two virtual objects in response to the first virtual object occupying the target interaction region comprises:

determining occupancy information in response to a target operation of the first virtual object occupying the target interaction region, the occupancy information being set based on an occupancy time of the first virtual object in the target interaction region; and

increasing the interaction value associated with the first virtual object based on the occupancy information.

18. A non-transitory computer-readable storage medium, storing program code, the program code, when executed by a processor of a computer device, causing the computer device to perform a virtual object interaction method including:

displaying a target virtual scene for an adversarial game between at least two virtual objects, the target virtual scene comprising a target interaction region, including:

determining a candidate virtual scene in response to a user selection instruction;

randomly generating a target hotspot based on the candidate virtual scene;

generating the target interaction region according to the target hotspot; and

deploying the target interaction region in the candidate virtual scene based on the target hotspot, to determine the target virtual scene;

increasing an interaction value associated with a first virtual object of the at least two virtual objects in response to the first virtual object occupying the target interaction region; and

determining a game outcome based on the interaction value associated with the first virtual object.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 23, 2022
From: FENG, QIYAO
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 059984/0181 →
Continuity (2)
Continuation PCTCN2021094270 · May 18, 2021
Related Publication 20220266143A1 · Aug 25, 2022