Method, system and equipment for previewing virtual item and storage medium
By obtaining the preconfigured information and animation resources of virtual props, combining user information, preset aggregated display templates are used for preview rendering and display, the problem of insufficient preview effect of virtual props is solved and the user's willingness and experience of virtual props is improved.
Patent Information
- Application Number
- CN202411497675.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-02-14
AI Technical Summary
Virtual props cannot display the real effect after configuration during preview, making it difficult for users to understand their actual display effect, affecting users' purchasing intention and user experience.
By obtaining the preconfigured information and animation resources of virtual props, combining user information, preset aggregated display templates are used for preview, rendering and displaying, realizing personalized virtual prop preview effects.
It improves the preview and display effect of virtual props, so that it fits the real display effect after the user is configured, and improves the user's willingness and experience of virtual props.
Smart Images

Figure CN119450092A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a preview method, system, device and storage medium for virtual props. Background Art
[0002] At present, various types of virtual props are provided in various social and live broadcast applications to realize corresponding business functions and improve user experience. For example, in a live broadcast scene, when a user gives a virtual gift to the anchor, the corresponding virtual gift image and animation effects will be displayed in the live broadcast screen. The application platform will provide basic information of virtual props, such as prop name, price, and static or dynamic images for users to preview. Users can adaptively select the virtual props they need based on the previewed virtual props information to achieve the corresponding display effect.
[0003] However, when previewing virtual props, various basic information is previewed separately, and it is difficult for users to know the actual display effect after the virtual props are configured. The preview display lacks effective information, resulting in low user willingness to use virtual props and relatively poor user experience of virtual props. Summary of the invention
[0004] The embodiments of the present application provide a preview method, system, device and storage medium for virtual props, which can perform personalized preview display of virtual props based on user information, so that the preview display effect of the virtual props matches the real display effect after the virtual props are configured, thereby solving the technical problem of insufficient preview display information of virtual props.
[0005] In a first aspect, an embodiment of the present application provides a method for previewing a virtual prop, comprising:
[0006] In response to the current user's selection operation on the target virtual prop, determining the prop identifier of the target virtual prop and the user identifier of the current user;
[0007] Based on the prop identifier, the prop information and motion effect resources pre-configured for the target virtual prop are obtained, and based on the user identifier, the user information of the current user is obtained. The motion effect resources include static view resources and dynamic view resources. The target virtual prop is pre-classified according to the prop function, and the prop material is imported according to the different prop types classified, and the motion effect resource is selected from the prop material according to the different prop information.
[0008] Based on the prop identifier, the preset aggregate display template is called, and the prop information, animation resources and user information are previewed, rendered and displayed according to the aggregate display template.
[0009] In a second aspect, an embodiment of the present application provides a virtual prop preview system, including:
[0010] an identification determination module, configured to determine the item identification of the target virtual item and the user identification of the current user in response to the current user's selection operation on the target virtual item;
[0011] An acquisition module is configured to acquire prop information and motion effect resources pre-configured for a target virtual prop based on a prop identifier, and acquire user information of a current user based on a user identifier, wherein the motion effect resources include static view resources and dynamic view resources, and the target virtual prop is pre-classified according to prop functions, and prop materials are imported according to different prop types classified, and motion effect resources are selected from the prop materials according to different prop information;
[0012] The preview module is configured to call a preset aggregate display template based on the prop identifier, and perform preview rendering and display of the prop information, motion effect resources and user information according to the aggregate display template.
[0013] In a third aspect, an embodiment of the present application provides a virtual prop preview device, including:
[0014] memory and one or more processors;
[0015] The memory is configured to store one or more programs;
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the virtual prop preview method as described in the first aspect.
[0017] In a fourth aspect, an embodiment of the present application provides a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a computer processor, the method for previewing virtual props as described in the first aspect is configured to execute.
[0018] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed on a computer or a processor, the computer or the processor executes the virtual prop preview method as described in the first aspect.
[0019] The embodiment of the present application determines the prop identification of the target virtual prop and the user identification of the current user in response to the current user's selection operation on the target virtual prop; based on the prop identification, the prop information and dynamic effect resources pre-configured for the target virtual prop are obtained, and based on the user identification, the user information of the current user is obtained, the dynamic effect resources include static view resources and dynamic view resources, the target virtual prop is pre-classified according to the prop function, and the prop material is imported according to the different prop types of the classification, and the dynamic effect resource is selected from the prop material according to the different prop information; based on the prop identification, the pre-set aggregation display template is called, and the prop information, dynamic effect resources and user information are previewed and rendered according to the aggregation display template. By adopting the above technical means, by obtaining the prop information, dynamic effect resources and user information, the obtained information is previewed and rendered using the aggregation display template, so that the personalized preview display of the virtual props can be performed based on the user information, and the personalized virtual prop preview effect can be achieved, so that the preview display effect of the virtual props is consistent with the real display effect after the user configures the virtual props, and the user's virtual prop preview experience is improved, thereby improving the user's willingness to use virtual props. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flowchart of a method for previewing a virtual prop provided in an embodiment of the present application;
[0021] Figure 2 is a preview configuration flow chart of virtual props in an embodiment of the present application;
[0022] Figure 3 is a schematic diagram of the configuration and interaction of virtual props in an embodiment of the present application;
[0023] Figure 4 It is a preview display diagram of the avatar frame virtual props in the embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of preview display of virtual props for special effects of entering a scene in an embodiment of the present application;
[0025] Figure 6 It is a structural diagram of a virtual prop preview system provided in an embodiment of the present application;
[0026] Figure 7 It is a structural diagram of a preview device for virtual props provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0028] The virtual props preview method provided in this application aims to obtain props information, motion effect resources and user information, use an aggregate display template to preview and render the obtained information, and perform personalized preview and display of virtual props based on comprehensive user information to achieve a personalized virtual props preview effect.
[0029] In the operation scenarios of various social and anchor applications, corresponding virtual props are provided to meet corresponding business needs and enhance user experience. For example, add an avatar frame to the user's avatar, and display the entry effects on the live page when the user enters the live broadcast room. The construction of virtual props involves multiple links, including prop design, implementation, purchase and distribution, storage, and effect display. Generally speaking, when a platform launches a new virtual prop, it will provide basic prop information, such as prop name, price, and static or dynamic pictures for users to browse. Users select the required virtual props for use based on the corresponding prop information obtained.
[0030] Since users can only obtain basic information about virtual props when they have not selected or purchased the virtual props, and cannot determine the specific effects of the virtual props after configuration, the effective information that users can obtain about virtual props is limited. This results in users' sensitivity to the use of props decreasing, and their willingness to purchase and consume is also decreasing, resulting in a relatively poor experience in using virtual props.
[0031] Based on this, a virtual prop preview method of an embodiment of the present application is provided, which can preview the virtual prop function. Even if the user has not obtained the corresponding prop, he can preview the display effect that can be obtained after owning the prop by clicking the prop on the platform page, thereby improving the user's perception of the prop and solving the technical problem of insufficient preview display information of the virtual prop.
[0032] Example:
[0033] Figure 1 A flowchart of a virtual prop preview method provided in an embodiment of the present application is provided. The virtual prop preview method provided in this embodiment can be executed by a virtual prop preview device, which can be implemented by software and / or hardware. The virtual prop preview device can be composed of two or more physical entities, or one physical entity. Generally speaking, the virtual prop preview device can be a terminal device such as a computer, a mobile phone, or a tablet.
[0034] The following description is made by taking the preview device of the virtual prop as an example of the subject of the method for executing the preview of the virtual prop. Figure 1 , the preview method of the virtual props specifically includes:
[0035] S110 . In response to the current user's selection operation on the target virtual prop, determine the prop identifier of the target virtual prop and the user identifier of the current user.
[0036] When a user needs to select or purchase a virtual item, the present application provides a virtual item interface. When the user selects a virtual item, the virtual item is defined as a target virtual item. The system responds to the operation and determines the item identifier (such as ID) of the virtual item and the user identifier (such as user ID) of the current user.
[0037] Specifically, by capturing the user's selection operation in the virtual prop interface, in live broadcast or social applications, the selection of virtual props can be completed by clicking or touching the prop icon on the screen. After capturing the selection operation, identify which specific virtual prop the user clicked or touched. Then extract the prop identifier from the relevant attribute information of the target virtual prop. The prop identifier is a unique identifier for the virtual prop, which is used to find all information related to the prop in the database, including its name, description, price, animation resources, etc. At the same time, the preview device obtains the user identifier of the user who is currently performing the selection operation. The user identifier is a unique identifier for the user, which is used to distinguish different users. The user identifier is generated and stored when the user logs in, and the device obtains the user identifier of the current user by accessing the corresponding storage location.
[0038] S120. Acquire prop information and motion effect resources pre-configured for the target virtual prop based on the prop identifier, and acquire user information of the current user based on the user identifier. The motion effect resources include static view resources and dynamic view resources. The target virtual prop is pre-classified according to prop functions, and prop materials are imported according to different prop types classified, and motion effect resources are selected from the prop materials according to different prop information.
[0039] Furthermore, based on the prop identification, the pre-configured prop information (such as name, description, price, etc.) and motion effect resources (such as static pictures, dynamic animations, etc.) of the target virtual props are retrieved from the database. Depending on the actual configuration requirements, the motion effect resources can be static view resources (such as static pictures) or dynamic view resources (dynamic animations, dynamic videos, etc.). After the motion effect resources are classified according to the prop functions, they are selected from the corresponding prop material library. On the other hand, it is necessary to obtain the user information of the current user based on the user identification, such as user level, preference settings, historical behavior data, etc.
[0040] Reference Figure 2 Specifically, before obtaining the pre-configured prop information and motion effect resources of the target virtual prop based on the prop identifier, it also includes:
[0041] S1201, in response to a preview type creation operation, displaying a preview type creation page;
[0042] S1202, obtaining prop information and prop type inputted on the preview type creation page, and performing preview configuration of virtual props based on the prop information and prop type, wherein the prop information includes prop name, prop identifier, prop display time, and prop level information.
[0043] In response to the user's desire to create or edit a virtual prop preview type operation. By displaying a special preview type creation page, the user can enter or select relevant configuration information on this page. When the user performs an operation to create a preview type on the application interface (such as clicking a button or link), the system will immediately respond and load the preview type creation page. The page contains various form elements or options so that the user can enter or select the required prop information and prop type. By operating the creation page, the prop information and prop type entered by the user on the preview type creation page are collected, and the information is used to configure the preview effect of the virtual prop. Among them, the system will first collect all relevant information entered by the user on the preview type creation page, including prop name, prop type prop identifier, prop display time, prop level information, etc. Based on the processed prop information and prop type, the system performs preview configuration of the virtual prop.
[0044] Referring to Figure 3, operators divide prop previews into different types according to the visual effects and application scenarios of props. For example, special effect props when users enter the live broadcast room are classified as entry special effect props; props that show sound wave effects when users speak at the microphone in the room are classified as microphone sound wave props. Classifying props according to different prop functions can help to more clearly display the application effects of props in different scenarios, allowing users to more intuitively understand the functions and effects of props.
[0045] Then, props dynamic effect resources are configured through a preview type metadata management platform. And in response to the needs of end users to view different types of prop information, an H5 page preview component is designed and developed. This component will be associated with the prop preview type to distinguish different types of props, so that users can view prop information with a simple click. Among them, the preview component can be distinguished according to the type of props. Different prop types will display corresponding preview information, which can accurately and clearly understand the characteristics and functions of different types of props, including but not limited to prop names, icons, descriptions, special effects, etc. At the same time, the display effect contains information elements such as user personal avatars and nicknames, and users will have a more direct and real experience of prop functions and special effects. On the other hand, various types of props are maintained through the prop information platform, and a virtual prop preview type logic concept is added to provide a preview function. Based on this new concept, various types of props can be classified. Props of different categories need to maintain metadata information specific to the prop type (i.e., dynamic effect resources, etc.) on the preview type metadata management platform, so that users can see the visual effects of props in various scenes on the platform when previewing.
[0046] When operators configure virtual props, they will configure prop information and dynamic effect resources through the prop information platform and preview type metadata management platform respectively, and then aggregate the prop information and dynamic effect resources and return them to the H5 page component for storage. Later, when the end user clicks on the virtual prop preview, the preview effect can be displayed through the H5 page component. Then, according to actual needs, select the corresponding virtual props for use. For the configuration of dynamic effect resources, it is first necessary to classify the prop materials according to the functions and business needs of the props. Different prop types select corresponding prop materials as dynamic effect resources. For example, for avatar frame props, select materials from the corresponding avatar frame material library to configure dynamic effect resources. For entry special effect props, select materials from the corresponding entry animation material library to configure dynamic effect resources. Based on the above pre-configured information, the prop information and dynamic effect resources pre-configured for the target virtual prop can be obtained based on the prop identifier. The internal logic of the H5 page component determines the information that needs to be rendered according to the prop type, that is, according to the prop type item_type field in the interface information, the corresponding information is read from the configured dynamic effect resources. After obtaining the required information from the interface, the page can be rendered.
[0047] Select dynamic effect resources from prop materials according to different prop information, including:
[0048] According to the prop level of the prop information, a prop material that is mapped to the prop level is selected from the prop materials as the motion effect resource, and a mapping relationship is established in advance between each prop material and the corresponding prop level.
[0049] By classifying all virtual props, the prop level can be defined according to factors such as the price, rarity, function strength, and difficulty of obtaining the props, resulting in an ordered set, such as {beginner, intermediate, advanced}, etc. Then, when preparing the materials for virtual props, specify one or several groups of prop materials that match each prop level. When it is necessary to configure an animation for a prop, the system first obtains the level information of the prop, then finds the prop material that matches the level based on the mapping relationship, and finally applies these materials to the prop as animation resources. In this way, it can be ensured that the virtual props in the game select appropriate animation resources from the prop materials based on their level information, thereby improving the overall quality of the game and user experience.
[0050] S130: Call a preset aggregate display template based on the prop identifier, and perform preview rendering and display of prop information, motion effect resources, and user information according to the aggregate display template.
[0051] Furthermore, based on the above-determined prop information, motion effect resources and user information, a preset aggregate display template is called. The aggregate display template can dynamically adjust the display mode according to different types of virtual props and user information. In the template, the prop information, motion effect resources and user information are integrated, previewed and rendered, to generate a preview effect that is both personalized and in line with the actual usage scenario.
[0052] Users can directly preview the application effects of corresponding props on their personal accounts on various activity pages. Figure 4 As shown in the figure, when the user clicks on the "Avatar Frame" type of prop, he can see the effect of combining the personal avatar and nickname with the avatar frame animation resources. Figure 5 As shown, when the user clicks on a certain "entry special effect" type prop, he can watch the animation effect of the personal avatar and nickname driving a super sports car into the voice room.
[0053] Through the preview display of virtual props, users can more intuitively perceive the actual effect of props, which will further stimulate their desire to obtain props, thereby enhancing users' enthusiasm for participating in various activities. Secondly, the addition of preview functions helps to improve the platform's revenue data, and users are more interested in purchasing props, thereby increasing prop sales and platform revenue. This intuitive preview effect has a positive impact on both users and platforms, enhancing user experience and platform profitability.
[0054] Optionally, the aggregate display template pre-sets the page rendering position of prop information, motion effect resources and user information according to the corresponding prop type, and the user information includes at least one of a user nickname, a user avatar and user-defined information.
[0055] When designing an aggregate display template, especially when rendering personalized props, we need to consider the flexibility, scalability, and user experience of the template. The following is a design based on prop types, motion resources, and user information display, including the specific planning of the page rendering location.
[0056] The aggregate display template is set according to different types to define different areas of the rendered page, for example,
[0057] Designate the header area to display user information, including user nickname, user avatar, and custom information (such as user level, tags, etc.); dynamically load different content displays in the main content area according to the prop type; and play the corresponding animation or special effects in the motion effect area according to the motion effect resources bound to the prop. According to the page rendering position designated above, you only need to adaptively load the corresponding content to the location for rendering and display, so as to achieve the preview rendering display of the virtual props. By building a flexible aggregate display template to display corresponding information, motion effect resources, and user information according to different prop types, you can improve the user experience and facilitate the expansion and maintenance of subsequent functions.
[0058] Optionally, the animation resource includes multiple sub-resources;
[0059] Preview and render the prop information, animation resources, and user information based on the aggregate display template, including:
[0060] The prop information and user information are previewed and rendered at the first designated location according to the aggregate display template, and the sub-resources of the motion effect resource are switched in turn for preview and rendering at the second designated location according to the set switching sequence and switching time interval.
[0061] This application further refines the motion effect resource into multiple sub-resources to implement more complex motion effect preview logic in the aggregate display template. The motion effect resource contains identifiers of multiple sub-resources and additional information (such as playback duration, playback priority, etc.).
[0062] Then, according to the set layout of the aggregate display template, the prop information and user information are rendered at the first specified position; at the second specified position, the container of the motion effect resource is displayed, which may contain a sub-element for playing the motion effect. When the motion effect resources are rendered in turn, all the sub-resources of the motion effect resource are loaded and cached locally. Then a timer is set to execute the switching logic according to the set switching time interval. When the timer is triggered, the index of the current sub-resource is updated according to the switching order. The sub-resource corresponding to the current index is obtained from the cache, and updated to the HTML element at the second specified position to realize the rendering and display of the sub-resource.
[0063] After switching, previewing, rendering and displaying the sub-resources of the motion effect resource in turn according to the set switching sequence and switching time interval at the second designated position, the method further includes:
[0064] In response to the switching operation on the current preview rendering display interface, the preview rendering display is switched at the second designated position based on each sub-resource or a preset candidate prop material.
[0065] When the user performs a switching operation, the current automatic switching timer needs to be stopped, and then the current content of the second designated position is updated to a new sub-resource or an alternative prop material according to the user's operation. This allows users to quickly preview the preview display effects of different sub-resources. In addition, the set alternative prop material can also be extracted for rendering and display, so that users can more intuitively compare the preview display effects of virtual props corresponding to other materials, and then choose to use or purchase the corresponding virtual props as needed, so that the use of virtual props meets their own needs.
[0066] In the above, by responding to the current user's selection operation on the target virtual prop, the prop identifier of the target virtual prop and the user identifier of the current user are determined; based on the prop identifier, the prop information and dynamic effect resources pre-configured for the target virtual prop are obtained, and based on the user identifier, the user information of the current user is obtained, the dynamic effect resources include static view resources and dynamic view resources, the target virtual prop is pre-classified according to the prop function, and the prop material is imported according to the different prop types of the classification, and the dynamic effect resource is selected from the prop material according to the different prop information; based on the prop identifier, the pre-set aggregation display template is called, and the prop information, dynamic effect resources and user information are previewed and rendered according to the aggregation display template. By adopting the above technical means, by obtaining the prop information, dynamic effect resources and user information, the obtained information is previewed and rendered using the aggregation display template, so that the personalized preview display of the virtual props can be performed based on the user information, and the personalized virtual prop preview effect can be achieved, so that the preview display effect of the virtual props is consistent with the real display effect after the user configures the virtual props, and the user's virtual prop preview experience is improved, thereby improving the user's willingness to use virtual props.
[0067] Based on the above embodiments, Figure 6 This is a schematic diagram of the structure of a virtual prop preview system provided by this application. Figure 6 The virtual item preview system provided in this embodiment specifically includes: an identification determination module 21, an acquisition module 22 and a preview module 23.
[0068] The identification determination module 21 is configured to determine the item identification of the target virtual item and the user identification of the current user in response to the current user's selection operation on the target virtual item;
[0069] The acquisition module 22 is configured to acquire the prop information and motion effect resources pre-configured for the target virtual prop based on the prop identifier, and acquire the user information of the current user based on the user identifier. The motion effect resources include static view resources and dynamic view resources. The target virtual prop is pre-classified according to the prop function, and the prop material is imported according to the different prop types classified, and the motion effect resource is selected from the prop material according to the different prop information.
[0070] The preview module 23 is configured to call a preset aggregate display template based on the prop identifier, and perform preview rendering and display of the prop information, motion effect resources and user information according to the aggregate display template.
[0071] Specifically, before obtaining the pre-configured prop information and motion effect resources of the target virtual prop based on the prop identifier, it also includes:
[0072] In response to the preview type creation operation, displaying the preview type creation page;
[0073] Get the prop information and prop type entered in the preview type creation page, and perform preview configuration of virtual props based on the prop information and prop type. The prop information includes prop name, prop ID, prop display time and prop level information.
[0074] Specifically, select dynamic effect resources from prop materials according to different prop information, including:
[0075] According to the prop level of the prop information, a prop material that is mapped to the prop level is selected from the prop materials as the motion effect resource, and a mapping relationship is established in advance between each prop material and the corresponding prop level.
[0076] Specifically, the aggregate display template pre-sets the page rendering position of the prop information, motion effect resources and user information according to the corresponding prop type, and the user information includes at least one of the user nickname, user avatar and user-defined information.
[0077] Specifically, the animation resource includes multiple sub-resources;
[0078] Preview and render the prop information, animation resources, and user information based on the aggregate display template, including:
[0079] The prop information and user information are previewed and rendered at the first designated location according to the aggregate display template, and the sub-resources of the motion effect resource are switched in turn for preview and rendering at the second designated location according to the set switching sequence and switching time interval.
[0080] After switching, previewing, rendering and displaying the sub-resources of the motion effect resource in turn according to the set switching sequence and switching time interval at the second designated position, the method further includes:
[0081] In response to the switching operation on the current preview rendering display interface, the preview rendering display is switched at the second designated position based on each sub-resource or a preset candidate prop material.
[0082] In the above, by responding to the current user's selection operation on the target virtual prop, the prop identifier of the target virtual prop and the user identifier of the current user are determined; based on the prop identifier, the prop information and dynamic effect resources pre-configured for the target virtual prop are obtained, and based on the user identifier, the user information of the current user is obtained, the dynamic effect resources include static view resources and dynamic view resources, the target virtual prop is pre-classified according to the prop function, and the prop material is imported according to the different prop types of the classification, and the dynamic effect resource is selected from the prop material according to the different prop information; based on the prop identifier, the pre-set aggregation display template is called, and the prop information, dynamic effect resources and user information are previewed and rendered according to the aggregation display template. By adopting the above technical means, by obtaining the prop information, dynamic effect resources and user information, the obtained information is previewed and rendered using the aggregation display template, so that the personalized preview display of the virtual props can be performed based on the user information, and the personalized virtual prop preview effect can be achieved, so that the preview display effect of the virtual props is consistent with the real display effect after the user configures the virtual props, and the user's virtual prop preview experience is improved, thereby improving the user's willingness to use virtual props.
[0083] The virtual prop preview system provided in the embodiment of the present application can be configured to execute the virtual prop preview method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0084] Based on the above practical example, the present application embodiment also provides a preview device for virtual props, referring to Figure 7 , the preview device of the virtual props includes: a processor 31, a memory 32, a communication module 33, an input device 34 and an output device 35. The memory, as a computer-readable storage medium, can be configured to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the preview method of virtual props described in any embodiment of the present application (for example, the determination module, the acquisition module and the preview module in the preview system of the virtual props). The communication module is configured to perform data transmission. The processor executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory, that is, the preview method of the virtual props described above is realized. The input device can be configured to receive input digital or character information, and generate key signal input related to the user settings and function control of the device. The output device may include a display device such as a display screen. The preview device of the virtual props provided above can be configured to execute the preview method of the virtual props provided in the above embodiment, and has corresponding functions and beneficial effects.
[0085] On the basis of the above embodiments, the embodiments of the present application further provide a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores computer-executable instructions, wherein the computer-executable instructions are configured to execute a method for previewing a virtual item when executed by a computer processor, and the storage medium may be any of various types of memory devices or storage devices. Of course, the non-volatile computer-readable storage medium provided in the embodiments of the present application, whose computer-executable instructions are not limited to the method for previewing a virtual item as described above, may also execute related operations in the method for previewing a virtual item provided in any embodiment of the present application.
[0086] On the basis of the above embodiments, the embodiments of the present application also provide a computer program product. The technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer program product is stored in a storage medium, and includes a number of instructions for enabling a computer device, a mobile terminal or a processor therein to execute all or part of the steps of the virtual prop preview method described in each embodiment of the present application.
Claims
1. A method for previewing a virtual prop, characterized in that: include: In response to a selection operation of a target virtual item by a current user, determining an item identifier of the target virtual item and a user identifier of the current user; Based on the prop identifier, the prop information and motion effect resources pre-configured for the target virtual prop are obtained, and based on the user identifier, the user information of the current user is obtained, the motion effect resources include static view resources and dynamic view resources, the target virtual prop is pre-classified according to the prop function, and prop materials are imported according to different prop types classified, and the motion effect resources are selected from the prop materials according to different prop information; A preset aggregate display template is called based on the prop identifier, and a preview rendering and display of the prop information, the motion effect resource, and the user information is performed according to the aggregate display template.
2. The method for previewing virtual props according to claim 1, characterized in that: Before acquiring the pre-configured prop information and motion effect resources of the target virtual prop based on the prop identifier, the method further includes: In response to the preview type creation operation, displaying the preview type creation page; Acquire prop information and prop type inputted based on the preview type creation page, and perform preview configuration of virtual props based on the prop information and the prop type, wherein the prop information includes prop name, prop identifier, prop display time and prop level information.
3. The method for previewing virtual props according to claim 2, characterized in that: The selecting the motion effect resource from the prop material according to the different prop information includes: According to the prop level of the prop information, the prop material mapped to the prop level is selected from the prop materials as the motion effect resource, and a mapping relationship is pre-established between each of the prop materials and the corresponding prop level.
4. The method for previewing virtual props according to claim 1, characterized in that: The animation resource includes multiple sub-resources; The previewing, rendering and displaying of the prop information, the motion effect resources and the user information according to the aggregated display template includes: The prop information and the user information are previewed and rendered at a first designated location according to the aggregate display template, and the sub-resources of the motion effect resource are switched in turn for preview and rendering at a second designated location according to a set switching sequence and switching time interval.
5. The method for previewing virtual props according to claim 4, characterized in that: After the sub-resources of the motion effect resource are switched in turn for preview, rendering and display according to the set switching sequence and switching time interval at the second designated position, the method further includes: In response to a switching operation on the current preview rendering display interface, switching preview rendering display is performed at the second designated position based on each of the sub-resources or preset candidate prop materials.
6. The method for previewing a virtual item according to claim 1, characterized in that: The aggregate display template pre-sets the page rendering position of the prop information, the motion effect resource and the user information according to the corresponding prop type, and the user information includes at least one of a user nickname, a user avatar and user-defined information.
7. A virtual prop preview system, characterized in that: include: an identification determination module, configured to determine the item identification of the target virtual item and the user identification of the current user in response to the current user's selection operation on the target virtual item; an acquisition module, configured to acquire prop information and motion effect resources pre-configured for the target virtual prop based on the prop identifier, and acquire user information of the current user based on the user identifier, wherein the motion effect resources include static view resources and dynamic view resources, the target virtual prop is pre-classified according to prop functions, and prop materials are imported according to different prop types classified, and the motion effect resources are selected from the prop materials according to different prop information; The preview module is configured to call a preset aggregate display template based on the prop identifier, and perform preview rendering and display of the prop information, the motion effect resource and the user information according to the aggregate display template.
8. A virtual prop preview device, characterized in that: include: memory and one or more processors; The memory is configured to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the virtual prop preview method according to any one of claims 1 to 6.
9. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a computer processor, the computer-executable instructions are configured to execute the virtual item preview method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The computer program product includes instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes the virtual item preview method according to any one of claims 1 to 6.
Citation Information
Cited By
Virtual prop preview method, system, and device, and storage medium
WO2026086800A1
