IP Library › Granted Patent US 11,675,488
Granted Patent B2
US 11,675,488 · App. 17/230,720 · Granted Jun 13, 2023

Method and apparatus for constructing building in virtual environment, device, and storage medium

Inventors: Meng Qiu (Shenzhen, CN); Jiaqi Pan (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06F3/04845A63F13/2145A63F13/42G06F3/0482G06F3/04815G06F3/04842
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 11,675,488
App. No.
17/230,720
Granted
Jun 13, 2023
Kind
B2
Abstract

This application includes a method and an apparatus for constructing a target object in a virtual environment of an application, a device, and a storage medium. A first picture of the virtual environment is displayed according to a first perspective corresponding to a first observation direction of a virtual movable object in the virtual environment. An object construction controller corresponding to the target object is displayed. A touch operation on the object construction controller is received. A target construction position of the target object is determined based on the touch operation, a target distance, and the first observation direction of the virtual movable object. A touch release operation corresponding to the touch operation is received. Further, the target object is constructed at the determined target construction position according to the touch release operation.

Claims (79)

1. A method for constructing a pre-determined target object in a virtual environment of an application, the method comprising:

displaying a first picture of the virtual environment according to a first perspective corresponding to a first observation direction of a virtual movable object in the virtual environment;

displaying an object construction controller corresponding to the pre-determined target object, the object construction controller including a control region and a button configured to move within the control region according to a continuous touch operation, the button including a graphical representation of the pre-determined target object to be constructed in the virtual environment;

receiving the continuous touch operation on the object construction controller;

determining, by processing circuitry, a target construction position of the pre-determined target object according to a position of the button within the control region;

determining when the continuous touch operation ends; and

constructing the pre-determined target object at the determined target construction position in response to the end of the continuous touch operation.

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

displaying a virtual model of the pre-determined target object in a first display manner at an initial target construction position according to an initial position of the button within the control region when the continuous touch operation begins; and

displaying the virtual model of the pre-determined target object in a second display manner at the determined target construction position according to the position of the button within the control region when the continuous touch operation ends and after the pre-determined target object is constructed.

3. The method according to claim 2 , wherein the displaying the virtual model of the pre-determined target object in the first display manner comprises:

displaying the virtual model of the pre-determined target object in the first display manner at the determined target construction position based on a determination that no object affecting the construction exists at the determined target construction position.

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

rotating, by using the virtual movable object as a rotation center, the first observation direction to a second observation direction according to a drag distance of the continuous touch operation; and

displaying a second picture of the application according to a second perspective corresponding to the second observation direction of the virtual movable object in the virtual environment,

wherein the determining the target construction position includes determining the target construction position at a target distance in the second observation direction.

5. The method according to claim 4 , further comprising:

displaying an operation cancel control element on the second picture;

receiving a user selection of the operation cancel control element; and

redisplaying the first picture according to the user selection of the operation cancel control element.

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

displaying a continuous construction control element on the first picture while the continuous touch operation is received on the object construction controller;

receiving a user selection of the continuous construction control element; and

automatically constructing, starting from a current time and according to the user selection of the continuous construction control element, the pre-determined target object every n seconds.

7. The method according to claim 6 , wherein the automatically constructing comprises:

re-determining, within an interval of the n seconds, the determined target construction position according to a drag operation of the continuous touch operation performed on the object construction controller; and

automatically constructing the pre-determined target object at the re-determined target construction position.

8. The method according to claim 7 , wherein

the determining when the continuous touch operation ends includes determining when the continuous touch operation ends while the pre-determined target object is automatically constructed every n seconds; and

ending the automatic construction of the pre-determined target object according to the end of the continuous touch operation.

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

displaying an object selection menu display element on the first picture;

receiving a user selection of the object selection menu display element;

displaying an object selection menu according to the user selection of the object selection menu display element, the object selection menu comprising at least one candidate object; and

receiving a selection operation for selecting the pre-determined target object from the at least one candidate object.

10. The method according to claim 1 , wherein the button of the object construction controller is a joystick control element.

11. An apparatus for constructing a pre-determined target object in a virtual environment of an application, the apparatus comprising:

processing circuitry configured to:

display a first picture of the virtual environment according to a first perspective corresponding to a first observation direction of a virtual movable object in the virtual environment,

display an object construction controller corresponding to the pre-determined target object, the object construction controller including a control region and a button configured to move within the control region according to a continuous touch operation, the button including a graphical representation of the pre-determined target object to be constructed in the virtual environment,

receive the continuous touch operation on the object construction controller,

determine a target construction position of the pre-determined target object according to a position of the button within the control region,

determine when the continuous touch operation ends, and

construct the pre-determined target object at the determined target construction position in response to the end of the continuous touch operation.

12. The apparatus according to claim 11 , wherein the processing circuitry is configured to:

display a virtual model of the pre-determined target object in a first display manner at the determined target construction position; and

display the virtual model of the pre-determined target object in a second display manner at the determined target construction position after the pre-determined target object is constructed.

13. The apparatus according to claim 12 , wherein the processing circuitry is configured to:

display the virtual model of the pre-determined target object in the first display manner at the determined target construction position based on a determination that no object affecting the construction exists at the determined target construction position.

14. The apparatus according to claim 11 , wherein the processing circuitry is configured to:

rotate, by using the virtual movable object as a rotation center, the first observation direction to a second observation direction according to a drag distance of the continuous touch operation,

display a second picture of the application according to a second perspective corresponding to the second observation direction of the virtual movable object in the virtual environment, and

determine the target construction position at a target distance in the second observation direction.

15. The apparatus according to claim 14 , wherein the processing circuitry is configured to:

display an operation cancel control element on the second picture;

receive a user selection of the operation cancel control element; and

redisplay the first picture according to the user selection of the operation cancel control element.

16. The apparatus according to claim 11 , wherein the processing circuitry is configured to:

display a continuous construction control element on the first picture while the continuous touch operation is received on the object construction controller,

receive a user selection of the continuous construction control element, and

automatically construct, starting from a current time and according to the user selection of the continuous construction control element, the pre-determined target object every n seconds.

17. The apparatus according to claim 16 , wherein the processing circuitry is configured to:

re-determine, within an interval of the n seconds, the determined target construction position according to a drag operation of the continuous touch operation performed on the object construction controller; and

automatically construct the pre-determined target object at the re-determined target construction position.

18. The apparatus according to claim 17 , wherein the processing circuitry is configured to:

determine that the continuous touch operation ends while the pre-determined target object is automatically constructed every n seconds; and

end the automatic construction of the pre-determined target object according to the end of the continuous touch operation.

19. The apparatus according to claim 11 , wherein the processing circuitry is configured to:

display an object selection menu display element on the first picture;

receive a user selection of the object selection menu display element;

display an object selection menu according to the user selection of the object selection menu display element, the object selection menu comprising at least one candidate object; and

receiving a selection operation for selecting the pre-determined target object from the at least one candidate object.

20. A non-transitory computer-readable storage medium, storing instructions which when executed by a processor cause the processor to perform a method for constructing a pre-determined target object in a virtual environment of an application, the method comprising:

displaying a first picture of the virtual environment according to a first perspective corresponding to a first observation direction of a virtual movable object in the virtual environment;

displaying an object construction controller corresponding to the pre-determined target object, the object construction controller including a control region and a button configured to move within the control region according to a continuous touch operation, the button including a graphical representation of the pre-determined target object to be constructed in the virtual environment;

receiving the continuous touch operation on the object construction controller;

determining a target construction position of the pre-determined target object according to a position of the button within the control region;

determining when the continuous touch operation ends; and

constructing the pre-determined target object at the determined target construction position in response to the end of the continuous touch operation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 14, 2021
From: QIU, MENG; PAN, JIAQI
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 055921/0027 →
Priority Claims (1)
CN 201910093429.2 · Jan 30, 2019 · national
Continuity (2)
Continuation PCTCN2020072821 · Jan 17, 2020
Related Publication 20210232299A1 · Jul 29, 2021
Cited By (3)
US 12,440,766 US 12,521,631 US 12,667,784