CN-119420655-B - Virtual resource acquisition method and device, electronic equipment and storage medium
Abstract
The disclosure relates to a method and a device for acquiring virtual resources, electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the steps of displaying virtual pendants on a playing interface of the multimedia resource, displaying transformation animation of the virtual pendants in response to the virtual pendants meeting interaction conditions, wherein the transformation animation is used for presenting dynamic effects of the change of the virtual pendants, displaying the virtual pendants in a triggerable state after the transformation animation of the virtual pendants is displayed, and displaying an acquisition result of the virtual resource associated with the multimedia resource in response to the triggering operation of the virtual pendants in the triggerable state. The interactive mode for picking up the virtual resources after watching the animation provided by the disclosure enriches the display effect when playing the multimedia resources and improves the interestingness for picking up the virtual resources.
Inventors
- CHEN MENGQI
- CHENG ZIYU
- LI DEZHI
- LIU MANQI
- ZHANG JIAMING
- CHEN HANDE
- JIANG YUFENG
- YANG YUANJIAO
Assignees
- 北京达佳互联信息技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241031
Claims (12)
- 1. A method for obtaining a virtual resource, the method comprising: Responding to the interactive operation of the multimedia resource on the playing interface of the multimedia resource, displaying a plurality of virtual pendants in a non-triggerable state on the playing interface of the multimedia resource, wherein the playing interface of the multimedia resource also comprises a text area, the plurality of virtual pendants refer to visual elements with decoration effect, the text area comprises at least one item of descriptive text or object information of the multimedia resource, the object information refers to information of an object for publishing the multimedia resource, and the interactive operation comprises at least one item of praise operation, comment operation, collection operation or sharing operation; In response to the fact that the plurality of virtual pendants meet the interaction condition, canceling to display the text region, displaying transformation animations of the plurality of virtual pendants on the playing interface in a full-screen mode, wherein the transformation animations are used for presenting dynamic effects of transforming the plurality of virtual pendants into target patterns, the target patterns are composed of the plurality of virtual pendants, and information except the transformation animations of the plurality of virtual pendants is not displayed in the full-screen mode; In the process of converting the plurality of virtual pendants into the target pattern, displaying the plurality of virtual pendants, wherein the number of the virtual pendants is converted from a first number to a second number, and the first number is different from the second number; After the transformation animation of the virtual pendants is displayed, displaying the virtual pendants in a triggerable state, responding to the triggering operation of any displayed virtual pendant, displaying the turning animation of the virtual pendant on the playing interface, and displaying the acquisition result of a target virtual resource on the turned virtual pendant, wherein the turning animation of the virtual pendant is used for turning the virtual pendant, and the target virtual resource is a virtual resource associated with the multimedia resource and the triggered virtual pendant.
- 2. The method of claim 1, wherein displaying the transformation animation of the plurality of virtual pendants comprises: and rotating and translating the plurality of virtual pendants which are distributed in an arrangement way, so that the plurality of virtual pendants are distributed in a radial way in the target pattern formed by rotating and translating.
- 3. The method for acquiring virtual resources according to claim 1, characterized in that the method further comprises at least one of the following: Displaying that a plurality of virtual pendants move from a non-central area to a central area of a screen in the process of converting the plurality of virtual pendants into the target pattern; In the process of transforming the plurality of virtual pendants into the target pattern, displaying the plurality of virtual pendants is transformed from a first size to a second size, and the first size is different from the second size.
- 4. The method of claim 1, wherein transforming the plurality of virtual pendants into the target pattern composed of the plurality of virtual pendants, comprises: And displaying information associated with the multimedia resource on at least one virtual pendant in the process of converting a plurality of virtual pendants into the target pattern.
- 5. The method for acquiring virtual resources according to claim 1, characterized in that the method further comprises any one of the following: when the playing time length of the multimedia resource reaches a first time length, displaying a plurality of virtual pendants in a non-triggerable state on a playing interface of the multimedia resource; And when the content currently played by the multimedia resource is preset content, displaying a plurality of virtual pendants in a non-triggerable state on a playing interface of the multimedia resource.
- 6. The method for obtaining a virtual resource according to claim 1, wherein the interaction condition includes at least one of: the display time length of the virtual pendant reaches a second time length; The virtual pendant is triggered; and triggering an interaction control on the playing interface, wherein the interaction control is used for interacting with the multimedia resource.
- 7. The method for obtaining a virtual resource according to any one of claims 1 to 6, further comprising: displaying a virtual resource acquisition control after the transformation animation of the plurality of virtual pendants is displayed, wherein the virtual resource acquisition control is used for prompting to acquire virtual resources; and responding to the triggering operation of the virtual resource acquisition control, and displaying the acquisition result of the virtual resource.
- 8. The method according to any one of claims 1 to 6, wherein the result of obtaining the target virtual resource includes a resource amount of the target virtual resource, the target virtual resource including at least one sub-virtual resource, the resource amount including at least one of a resource amount or a total resource amount of each of the at least one sub-virtual resource.
- 9. An apparatus for obtaining a virtual resource, the apparatus comprising: A first display unit configured to perform an interactive operation on a multimedia resource in response to the multimedia resource being displayed on a play interface of the multimedia resource, wherein the play interface of the multimedia resource further comprises a text area, the plurality of virtual pendants refer to visual elements with decoration effect, the text area comprises at least one of descriptive text or object information of the multimedia resource, the object information refers to information of an object issuing the multimedia resource, and the interactive operation comprises at least one of a praise operation, a comment operation, a collection operation or a sharing operation; A second display unit configured to execute a transition animation for displaying a plurality of virtual pendants in a full-screen mode on the playback interface in response to the plurality of virtual pendants satisfying an interaction condition, the transition animation being used to present a dynamic effect of transition of the plurality of virtual pendants to a target pattern, the target pattern being constituted by the plurality of virtual pendants, the information other than the transition animation of the plurality of virtual pendants not being displayed in the full-screen mode; The second display unit is further configured to perform a process of displaying the plurality of virtual pendants in a process of converting the plurality of virtual pendants into the target pattern, the number of the plurality of virtual pendants being converted from a first number to a second number, the first number being different from the second number; And the third display unit is configured to execute the display of the transformation animations of the virtual pendants, display the virtual pendants in a triggerable state, respond to the triggering operation of any displayed virtual pendant, display the turning animation of the virtual pendant on the playing interface, and display the acquisition result of the target virtual resource on the turned virtual pendant, wherein the turning animation of the virtual pendant is used for turning the virtual pendant, and the target virtual resource is the virtual resource associated with the multimedia resource and the triggered virtual pendant.
- 10. An electronic device, the electronic device comprising: A processor; a memory for storing the processor-executable instructions; Wherein the processor is configured to execute the instructions to implement the virtual resource acquisition method of any one of claims 1 to 8.
- 11. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of obtaining virtual resources according to any one of claims 1 to 8.
- 12. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of virtual resource acquisition of any one of claims 1 to 8.
Description
Virtual resource acquisition method and device, electronic equipment and storage medium Technical Field The disclosure relates to the field of computer technologies, and in particular, to a method and device for acquiring virtual resources, electronic equipment and a storage medium. Background With the rapid development of internet technology, browsing a wide variety of multimedia resources through internet applications has become a common entertainment mode. Taking multimedia resources as video as an example, the terminal can display a video to introduce articles, services and the like, and can jump to a detail interface of introduced contents after triggering. However, in the above method, the display form of the multimedia resource is relatively single, which is difficult to attract the attention of the user, so as to reduce the participation of the user. Disclosure of Invention The disclosure provides a method, a device, electronic equipment and a storage medium for obtaining virtual resources, which can improve the accuracy of obtaining the virtual resources. According to an aspect of the embodiments of the present disclosure, there is provided a method for obtaining a virtual resource, the method including: Displaying a virtual pendant on a playing interface of the multimedia resource; Responding to the virtual pendant meeting the interaction condition, displaying a transformation animation of the virtual pendant, wherein the transformation animation is used for presenting the dynamic effect of the change of the virtual pendant; and after the transformation animation of the virtual pendant is displayed, displaying the virtual pendant in a triggerable state, and responding to the triggering operation of the virtual pendant in the triggerable state, and displaying the acquisition result of the virtual resource associated with the multimedia resource. Optionally, the displaying the transformation animation of the virtual pendant includes: And transforming the plurality of virtual pendants into a target pattern formed by the plurality of virtual pendants. Optionally, the transforming the plurality of virtual pendants into the target pattern composed of the plurality of virtual pendants includes: and rotating and translating the plurality of virtual pendants which are distributed in an arrangement way, so that the plurality of virtual pendants are distributed in a radial way in the target pattern formed by rotating and translating. Optionally, the transforming the plurality of virtual pendants into the target pattern composed of the plurality of virtual pendants includes: A plurality of the virtual pendants are transformed into the target pattern, and the target pattern is displayed being rotated. Optionally, the transforming the plurality of virtual pendants into the target pattern formed by the plurality of virtual pendants includes at least one of the following: Displaying that a plurality of virtual pendants move from a non-central area to a central area of a screen in the process of converting the plurality of virtual pendants into the target pattern; In the process of converting the plurality of virtual pendants into the target pattern, displaying the plurality of virtual pendants to be converted from a first size to a second size, wherein the first size is different from the second size; In the process of transforming the plurality of virtual pendants into the target pattern, the number of the plurality of virtual pendants is displayed and transformed from a first number to a second number, and the first number is different from the second number. Optionally, the transforming the plurality of virtual pendants into the target pattern composed of the plurality of virtual pendants includes: And displaying information associated with the multimedia resource on at least one virtual pendant in the process of converting a plurality of virtual pendants into the target pattern. Optionally, displaying the virtual pendant on the playing interface of the multimedia resource includes any one of the following: When the playing time length of the multimedia resource reaches a first time length, displaying the virtual pendant on a playing interface of the multimedia resource; Responding to the interactive operation of the multimedia resource, and displaying the virtual pendant on a playing interface of the multimedia resource, wherein the interactive operation comprises at least one of a praise operation, a comment operation, a collection operation or a sharing operation; And when the content currently played by the multimedia resource is preset content, displaying the virtual pendant on a playing interface of the multimedia resource. Optionally, the interaction condition includes at least one of: the display time length of the virtual pendant reaches a second time length; The virtual pendant is triggered; and triggering an interaction control on the playing interface, wherein the interaction control is used for in