Method and apparatus for prompting that virtual object is attacked, terminal, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorZhi Hong Liu
Life of this patent
Estimating the term…
Abstract
A method and an apparatus includes prompting that a virtual object is attacked. The method includes: displaying a user interface (UI) including a target virtual object located in a virtual environment. A being-attacked direction of the target virtual object is obtained. A display position of the being-attacked direction prompt information is obtained according to the being-attacked direction. The being-attacked direction prompt information is used for indicating the being-attacked direction. The being-attacked direction prompt information is displayed in the UI according to the display position. The being-attacked direction is prompted, and content of the being-attacked prompt is diversified.
Claims20
A method for prompting that a virtual object is attacked, the method comprising:
- displaying a user interface (UI) comprising a target virtual object within a virtual environment;
- obtaining a being-attacked direction of the target virtual object that is a direction from which the target virtual object is attacked;
- and
- causing a virtual weapon of the target virtual object to jitter in a direction based on the being-attacked direction.
A method for prompting that a virtual object is attacked, applicable to a mobile terminal, the method comprising:
- displaying a user interface (UI), the UI comprising a target virtual object located in a virtual environment;
- obtaining a being-attacked direction and a being-attacked times of the target virtual object, wherein the being-attacked direction is a direction in which the target virtual object is attacked and the being-attacked times is a number of times the target virtual object is attacked;
- displaying being-attacked direction prompt information in a display position of the UI that visually indicates the being-attacked direction and the being-attacked times.
An apparatus for prompting that a virtual object is attacked, comprising:
- an interface display module, configured to display a user interface (UI), the UI comprising a target virtual object located in a virtual environment;
- a direction obtaining module, configured to obtain a being-attacked direction of the target virtual object, the being-attacked direction is a direction in which the target virtual object is attacked;
- a position determination module, configured to determine a display position of being-attacked direction prompt information according to the being-attacked direction, the being-attacked direction prompt information is used for indicating the being-attacked direction;
- and
- an information display module, configured to display the being-attacked direction prompt information in the UI according to the display position and based on a being-attacked distance, a being-attacked time, being-attacked times, or a being-attacked damage.
Dependencies are inferred from the claim text.