Method, device, equipment and storage medium for acquiring virtual resources
By displaying multiple sub-prop slots in the configuration interface in the virtual environment, users can choose different sub-props to obtain virtual resources, which solves the problem of a single way to obtain virtual resources and increases the fun and interactivity of obtaining them.
Patent Information
- Application Number
- CN202510075372.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2045-01-17
AI Technical Summary
In the prior art, the acquisition method of virtual resources in a virtual environment is single and highly random, resulting in a relatively single acquisition method.
A method for obtaining virtual resources is provided. A configuration interface is used to display multiple sub-prop configuration slots, including first-category sub-props and second-category sub-props. The first-category sub-props are used to obtain virtual resources, and the second-category sub-props are used to increase the risk level and resource level of failed acquisition. Users can choose different sub-props when using them to increase uncertainty and fun.
By increasing the uncertainty and high risk of obtaining virtual resources, the fun and game-like nature of obtaining virtual resources are enhanced, and the interaction of virtual props is promoted.
Smart Images

Figure CN119587975B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of human-computer interaction technology, and in particular to a method, apparatus, device, and storage medium for acquiring virtual resources. Background Art
[0002] A virtual environment is provided in a game application. In the virtual environment, it is usually necessary to control virtual objects to move in the virtual environment, such as controlling virtual objects to obtain virtual resources in the virtual environment to achieve virtual competition.
[0003] In related technologies, virtual resources are placed at certain locations in a virtual environment, and virtual objects search for virtual resources in the virtual environment by walking in the virtual environment. Obviously, the method of obtaining virtual resources by searching is highly random, making the method of obtaining virtual resources relatively simple. Summary of the Invention
[0004] The embodiments of the present application provide a method, apparatus, device, and storage medium for acquiring virtual resources, which facilitates interaction based on the virtual props. The technical solutions provided by the embodiments of the present application are as follows.
[0005] According to one aspect of an embodiment of the present application, a method for acquiring a virtual resource is provided, the method comprising:
[0006] Displaying a configuration interface for a first virtual item, the configuration interface including a plurality of sub-item configuration slots, the sub-item configuration slots being used to configure a first-category sub-item or a second-category sub-item, the first-category sub-item being a sub-item used to obtain virtual resources, the second-category sub-item being a risk sub-item, the risk sub-item being used to increase at least one of a risk level of failure in obtaining virtual resources and a resource level of virtual resources obtained by the first-category sub-item;
[0007] In response to the use operation of the first virtual prop, the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface are displayed, or the failure prompt information corresponding to the second category of sub-props is displayed, and the failure prompt information is used to prompt the failure of obtaining the virtual resources.
[0008] According to another aspect of an embodiment of the present application, a device for acquiring virtual resources is provided, the device comprising:
[0009] a first display module, configured to display a configuration interface for a first virtual item, the configuration interface comprising a plurality of sub-item configuration slots, the sub-item configuration slots being used to configure a first-category sub-item or a second-category sub-item, the first-category sub-item being a sub-item used to obtain virtual resources, the second-category sub-item being a risk sub-item, the risk sub-item being used to at least one of increase the risk level of failure in obtaining virtual resources and increase the resource level of the virtual resources obtained by the first-category sub-item;
[0010] The second display module is used to display the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface in response to the use operation of the first virtual prop, or to display the failure prompt information corresponding to the second category of sub-props, wherein the failure prompt information is used to prompt the failure of obtaining the virtual resources.
[0011] In some embodiments, the apparatus further comprises a replacement module for:
[0012] In response to a replacement operation on a first sub-item in the plurality of sub-item configuration slots, it is displayed that the first sub-item is replaced with a second-category sub-item, wherein the first sub-item is any one of the first-category sub-items.
[0013] In some embodiments, the first virtual prop includes a virtual roulette wheel, and the first display module is configured to:
[0014] Displaying the virtual roulette on the configuration interface, displaying the plurality of sub-item configuration slots on the virtual roulette, displaying the resource type of the corresponding virtual resource on the configuration slot of each sub-item of the first category, and displaying the risk sub-item identifier on the configuration slot of each sub-item of the second category;
[0015] The replacement module is used to:
[0016] The resource type on the configuration slot of the first sub-item is replaced with the risk sub-item identifier.
[0017] In some embodiments, the replacement module is used to:
[0018] When the number of the first type of sub-props in the multiple sub-prop configuration slots is greater than a preset number, in response to a replacement operation on the first sub-prop in the multiple sub-prop configuration slots, it is displayed that the first sub-prop is replaced with a second type of sub-prop.
[0019] In some embodiments, the replacement module is further configured to:
[0020] In response to a replacement operation on a second sub-item in the plurality of sub-item configuration slots, the second sub-item is displayed as being restored to a first-category sub-item, and the second sub-item is any one of the second-category sub-items.
[0021] In some embodiments, the replacement module is used to:
[0022] In response to the replacement operation on the second sub-prop, displaying a replacement progress indicator, wherein the replacement progress indicator is used to indicate the change process of the second sub-prop;
[0023] In response to the replacement progress indicator indicating that the replacement is complete, the second sub-prop is displayed as being restored to the first type of sub-prop.
[0024] In some embodiments, when displaying the failure prompt message corresponding to the second type of sub-prop, the second display module is further configured to perform at least one of the following:
[0025] Display the explosion effects corresponding to the second type of sub-props;
[0026] Displays the target attribute value of the virtual object reduced.
[0027] In some embodiments, the apparatus further includes a first information display module configured to perform at least one of the following:
[0028] Displaying first-level prompt information based on the number of first-category sub-items in the plurality of sub-item configuration slots, the first-level prompt information being used to indicate at least one of the resource level and the risk level, wherein both the resource level and the risk level are negatively correlated with the number of the first-category sub-items;
[0029] Displaying second-level prompt information based on the number of second-category sub-items in the plurality of sub-item configuration slots, the second-level prompt information being used to indicate at least one of the resource level and the risk level, wherein both the resource level and the risk level are positively correlated with the number of the second-category sub-items;
[0030] Based on the number of first-category sub-props and the number of second-category sub-props in the multiple sub-prop configuration slots, third-level prompt information is displayed, and the third-level prompt information is used to prompt at least one of the resource level and the risk level, and the resource level and the risk level are both negatively correlated with the number of the first-category sub-props and positively correlated with the number of the second-category sub-props.
[0031] In some embodiments, the first information display module is further configured to perform at least one of the following:
[0032] If the number of the first-category sub-props is less than the first number, displaying a first prompt message, wherein the first prompt message is used to prompt that at least one of the resource level and the risk level has reached the highest level;
[0033] If the number of the second-category sub-props is greater than the second number, display the first prompt information;
[0034] If the number of the first-category sub-props is greater than the third number, a second prompt message is displayed, wherein the second prompt message is used to prompt that at least one of the resource level and the risk level has reached the minimum level;
[0035] If the quantity of the second-category sub-props is less than the fourth quantity, the second prompt information is displayed.
[0036] In some embodiments, the first display module is used to:
[0037] In response to a first configuration operation on the first virtual item, a configuration interface for the first virtual item is displayed.
[0038] In some embodiments, after displaying the virtual resource or the failure prompt information, the second display module is further configured to:
[0039] Displaying the first virtual item as unusable for a first duration;
[0040] After the first time period, in response to a first configuration operation on the first virtual item, the configuration interface of the first virtual item is displayed again.
[0041] In some embodiments, the second display module is used to:
[0042] A resource interface of the virtual object is displayed, wherein the first virtual item is displayed as unusable on the resource interface during the first duration and the first duration is displayed on the resource interface, wherein the resource interface is used to display the virtual resources owned by the virtual object.
[0043] In some embodiments, the apparatus further comprises:
[0044] a third display module, configured to display a plurality of sub-prop options on the configuration interface in response to a second configuration operation on the first virtual prop, the plurality of sub-prop options including a first category of sub-props and a second category of sub-props;
[0045] A configuration module is configured to, in response to a selection operation on a sub-prop from the plurality of sub-prop options, configure the selected sub-prop as a sub-prop in the plurality of sub-prop configuration slots.
[0046] In some embodiments, the first display module is further configured to:
[0047] Displaying a close control of the first virtual item on the configuration interface;
[0048] In response to the triggering operation of the close control, the configuration interface of the first virtual prop is canceled.
[0049] In some embodiments, the apparatus further comprises an acquisition module configured to:
[0050] In response to an acquisition operation on the virtual resources corresponding to the part or all of the sub-props, the virtual resources corresponding to the part or all of the sub-props are acquired.
[0051] In some embodiments, the acquisition module is used to:
[0052] In response to the virtual object's picking up operation on the virtual resources corresponding to some or all of the sub-props, the virtual resources corresponding to some or all of the sub-props are displayed on the resource interface of the virtual object, and the resource interface is used to display the virtual resources owned by the virtual object.
[0053] In some embodiments, the first display module is further configured to:
[0054] In response to the virtual object generating an interactive behavior, the configuration interface of the first virtual prop is replaced with the configuration interface of a second virtual prop, where the second virtual prop is the virtual prop used by the virtual object before using the first virtual prop.
[0055] In some embodiments, the first display module is further configured to:
[0056] Number prompt information is displayed on the configuration interface, where the number prompt information is used to prompt that the number of times the first virtual item is used to obtain virtual resources is once.
[0057] In some embodiments, when displaying virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface, the second display module is further configured to:
[0058] A success prompt message is displayed, where the success prompt message is used to prompt that the virtual resource has been acquired.
[0059] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the method for acquiring virtual resources in an embodiment of the present application.
[0060] On the other hand, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the method for acquiring virtual resources in an embodiment of the present application.
[0061] On the other hand, a computer program product is provided, which includes a computer program, the computer program is stored in a computer-readable storage medium, a processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method for obtaining virtual resources described in any of the above implementations.
[0062] An embodiment of the present application provides a method for obtaining virtual resources, which provides a virtual prop configured with multiple sub-props, where the sub-props are first-category sub-props or second-category sub-props. The first-category sub-props correspond to virtual resources, and the second-category sub-props are used to increase at least one of the risk level of failure in obtaining virtual resources and the resource level of the virtual resources obtained by the first-category sub-props. When using the virtual props, either the first-category sub-props or the second-category sub-props may be selected. If the first-category sub-props are selected, the virtual resources can be obtained, but if the second-category sub-props are selected, the virtual resources cannot be obtained. It is precisely because of this uncertainty that the randomness of obtaining virtual resources is guaranteed; and while bearing the high risk of failure, there is a chance to obtain virtual resources of high resource levels, which enhances the fun and game-playing nature, and thus helps promote interaction based on the virtual props. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 This is a schematic diagram of an implementation environment for a solution provided by an embodiment of the present application;
[0064] Figure 2 This is a schematic diagram of an implementation environment for a solution provided by an embodiment of the present application;
[0065] Figure 3 This is a flowchart of a method for acquiring virtual resources provided by an embodiment of the present application;
[0066] Figure 4 This is a flow chart for configuring a first virtual item provided by one embodiment of the present application;
[0067] Figure 5 This is a schematic diagram of a resource interface provided by an embodiment of the present application;
[0068] Figure 6 This is a schematic diagram of the correspondence between quantity, resource level, and risk level provided by an embodiment of the present application;
[0069] Figure 7This is a schematic diagram of level prompt information provided by an embodiment of the present application;
[0070] Figure 8 This is a schematic diagram of first prompt information provided by an embodiment of the present application;
[0071] Figure 9 is a schematic diagram of a virtual roulette provided by one embodiment of the present application;
[0072] Figure 10 is a schematic diagram of multiple display positions provided by an embodiment of the present application;
[0073] Figure 11 This is a logic flow chart of sub-prop replacement provided by one embodiment of the present application;
[0074] Figure 12 This is a schematic diagram of a replacement progress indicator provided by an embodiment of the present application;
[0075] Figure 13 This is a logic flow chart of the configuration operation provided by one embodiment of the present application;
[0076] Figure 14 This is a flowchart of obtaining virtual resources provided by an embodiment of the present application;
[0077] Figure 15 This is a schematic diagram of obtaining prompt information provided by an embodiment of the present application;
[0078] Figure 16 This is a schematic diagram of a resource interface provided by an embodiment of the present application;
[0079] Figure 17 This is a schematic diagram of a success prompt message provided by an embodiment of the present application;
[0080] Figure 18 This is a schematic diagram of a failure prompt message provided by an embodiment of the present application;
[0081] Figure 19 It is a logic flow chart of the result display provided by one embodiment of the present application;
[0082] Figure 20 This is a block diagram of a device for acquiring virtual resources provided by one embodiment of the present application;
[0083] Figure 21 This is a structural block diagram of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0084] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0085] Figure 1 FIG. 1 is a block diagram of a computer system according to an exemplary embodiment of the present application. The computer system 100 includes a terminal 110 and a server 120 .
[0086] Terminal 110 has a client 111 installed and running that supports a virtual environment. This client 111 can be a multiplayer online battle program. When the terminal runs client 111, the user interface of client 111 is displayed on the screen of terminal 110. Client 111 can be any of a large-scale battle royale shooting game, a virtual reality (VR) application, an augmented reality (AR) program, a three-dimensional map program, a virtual reality game, an augmented reality game, a casual game, a party game, a first-person shooter (FPS), a third-person shooter (TPS), a multiplayer online tactical competitive game (MOBA), or a simulation game (SLG). In this embodiment, an FPS game is used as an example. Terminal 110 is used by user 112, who uses terminal 110 to control virtual objects in the virtual environment to perform activities. The activities of the virtual object include, but are not limited to, at least one of: moving, jumping, teleporting, performing skills, using props, adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, and throwing. Illustratively, the virtual object is a virtual character, such as a simulated human character or an anime character.
[0087] The virtual environment displayed by terminal 110 may provide a variety of virtual props. Configuration files for the various virtual props are already configured on terminal 110 when client 111 is installed or updated to terminal 110. When displaying virtual props in the virtual environment, data is directly read from the configuration files on terminal 110, and terminal 110 can then display the virtual props.
[0088] Terminal 110 may generally refer to one of multiple terminals. This embodiment uses only one terminal 110 as an example. Terminal device types include at least one of a smartphone, tablet computer, e-book reader, MP3 player, MP4 player, laptop computer, and desktop computer. Terminal 110 and other terminals are connected to server 120 via a wireless network or a wired network.
[0089] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 provides backend services for clients supporting a 3D virtual environment. Optionally, server 120 performs primary computing tasks, while the client performs secondary computing tasks; alternatively, server 120 performs secondary computing tasks, while the client performs primary computing tasks; alternatively, server 120 and the client utilize a distributed computing architecture for collaborative computing.
[0090] In an illustrative example, the server 120 includes a processor 122, a user account database 123, a battle service module 124, and a user-oriented input / output interface (I / O interface) 125. The processor 122 is used to load instructions stored in the server 120 and process data in the user account database 123 and the battle service module 124. The user account database 123 is used to store user account data used by the terminal 110 and other terminals, such as the user account's avatar, nickname, combat power index, and the service area where the user account is located. The battle service module 124 is used to provide multiple battle rooms for users to play against each other, such as 1v1 battles, 3v3 battles, 5v5 battles, etc. The user-oriented I / O interface 125 is used to establish communication and exchange data with the terminal 110 and / or other terminals via a wireless network or a wired network.
[0091] The method provided in this application can be applied to, but is not limited to, at least one of the following scenarios: virtual reality applications, three-dimensional map programs, casual games, party games, first-person shooter games (FPS), third-person shooter games (TPS), multiplayer online battle arena games (MOBA), multiplayer survival games, etc. The following embodiments are illustrated by using applications in games as examples.
[0092] Figure 2 A schematic diagram of a method for acquiring virtual resources provided by an exemplary embodiment of the present application is shown.
[0093] The resource interface 210 displays multiple virtual props. In response to a configuration operation on a first virtual prop 220, a configuration interface 230 for the first virtual prop 220 is displayed. The configuration interface 230 displays multiple sub-prop configuration slots for the first virtual prop 220. The sub-prop configuration slots are used to configure a first type of sub-prop corresponding to a virtual resource or a second type of sub-prop used to increase the risk level of failure in obtaining the virtual resource and the resource level of the virtual resource obtained by the first type of sub-prop. Optionally, a virtual object is also displayed on the configuration interface 230, and the virtual object can also be displayed on the configuration interface 230 to configure the first virtual prop 220.
[0094] A first virtual item 220 displayed on a configuration interface 230 is ready for use. In response to the use of the first virtual item 220, virtual resources 240 corresponding to some or all of the sub-items in the first category are displayed, or failure prompts 250 corresponding to the second sub-items are displayed. Specifically, the virtual resources are displayed when the first category sub-item is selected, and a failure prompt is displayed when the second category sub-item is selected. Optionally, the displayed virtual resources 240 are acquired by a virtual object.
[0095] Please refer to Figure 3 , Figure 3 This is a flowchart of a method for obtaining virtual resources provided by an embodiment of the present application. The execution subject of each step of the method can be a computer device, such as the execution subject of each step of the method can be Figure 1 The method may include at least one of the following steps 301 to 303.
[0096] 301. Display a configuration interface for the first virtual item. The configuration interface includes a plurality of sub-item configuration slots. The sub-item configuration slots are used to configure first-category sub-items or second-category sub-items. The first-category sub-items are sub-items used to obtain virtual resources. The second-category sub-props are risk sub-props. The risk sub-props are used to increase at least one of the risk level of failure in obtaining virtual resources and the resource level of virtual resources obtained by the first-category sub-props.
[0097] In an embodiment of the present application, multiple sub-prop configuration slots are configured with sub-props of the first virtual prop. The sub-prop configuration slots are used to configure first-category sub-props or second-category sub-props, that is, the sub-props configured in each sub-prop configuration slot can be first-category sub-props or second-category sub-props. The sub-props configured in multiple sub-prop configuration slots can all be first-category sub-props, the sub-props configured in multiple sub-prop configuration slots can all be second-category sub-props, and the multiple sub-prop configuration slots can also partially configure first-category sub-props and partially configure second-category sub-props. In this embodiment, the example of multiple sub-props configured in multiple sub-prop configuration slots including at least one first-category sub-prop is used for explanation.
[0098] In the embodiment of the present application, the first virtual item is used to provide virtual resources. The virtual resources provided by the first virtual item can be set as needed, such as virtual items, virtual items, etc.
[0099] In an embodiment of the present application, the first category of sub-props corresponds to virtual resources, and the virtual resources corresponding to different sub-props in the first category of sub-props may be the same or different. In this embodiment, the example of different virtual resources corresponding to different sub-props in the first category of sub-props is used for illustration. Each sub-prop corresponds to a virtual resource, and the resource types of virtual resources corresponding to different sub-props may be the same or different; in this embodiment, the example of different sub-props corresponding to virtual resources of different resource types is used for illustration. Optionally, virtual resources of different resource types have different uses. For example, virtual resources of different resource types are medical items, protective items, throwing items, virtual shooting props, fillers for virtual shooting props, virtual melee props, etc.
[0100] In this embodiment of the present application, the second type of sub-item does not correspond to a virtual resource. When using the first virtual item, if a second type of sub-item is selected from the multiple sub-items configured in the multiple sub-item configuration slots, obtaining the virtual resource fails. Therefore, the second type of sub-item increases the risk level of failure in obtaining the virtual resource. Accordingly, the greater the number of second type sub-items in the multiple sub-item configuration slots, the higher the risk level of failure in obtaining the virtual resource.
[0101] The second type of sub-items can also be used to increase the resource level of virtual resources obtained with the first type of sub-items. Since the risk of failure in obtaining virtual resources increases with the number of second type sub-items, in order to balance the risk of failure and the resource level of the obtained virtual resources, the second type of sub-items also increase the resource level while increasing the risk of failure.
[0102] In some embodiments, the method provided in the present application is applied in a virtual environment. The terminal displays the virtual environment in which the virtual object is located, and displays the first virtual prop in the virtual environment. A virtual object refers to the main control object of the user in a three-dimensional virtual environment. Exemplarily, the virtual object can be at least one of a virtual character, a virtual animal, an animated character, a virtual vehicle, and a virtual animal. The virtual environment is a virtual space in which virtual objects perform virtual activities; for example, a virtual object performs a virtual competition in a virtual game by launching a virtual attack in a virtual game. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment. Other content can also be displayed in the virtual environment, which is not limited in the embodiments of the present application.
[0103] Among them, the virtual environment includes a variety of virtual props. Virtual props refer to virtual objects that can be used by virtual objects in the virtual environment, including shooting props, daggers, knives, swords, axes and other virtual props that can cause damage to other virtual objects, supply props such as bullets, and protective props such as shields, armor, and armored vehicles.
[0104] Wherein, the above-mentioned virtual props provided in the virtual environment are regarded as basic virtual props, then the first virtual props may be special virtual props provided in addition to the above-mentioned basic virtual props, and the virtual resources provided by the first virtual props may include these basic virtual props. The first virtual props may be picked up by the virtual object in the virtual environment. The first virtual props may also be brought into the virtual environment by the virtual object, for example, the first virtual props are virtual props in the virtual backpack of the virtual object, and the virtual backpack is used to store the virtual props owned by the virtual object. The first virtual props may also be donated by other virtual objects in the same camp.
[0105] The form of the first virtual prop can be set as needed. For example, if the first virtual prop is a virtual shooting prop, the sub-prop is the filler of the virtual shooting prop. If the first virtual prop is a virtual fruit, the sub-prop can be the fruit inside the virtual fruit.
[0106] In this embodiment of the present application, the multiple sub-props configured in the multiple sub-prop configuration slots are also the multiple sub-props included in the first virtual prop. Optionally, each sub-prop configuration slot is a filling position, each filling position is used to fill a sub-prop, and the sub-props filled in the filling positions corresponding to the first type of sub-props can be virtual resources, that is, the virtual resources are filled in the first virtual prop in the form of sub-props.
[0107] Optionally, the first virtual prop is displayed simultaneously with the configuration interface for the first virtual prop. Furthermore, since the first virtual prop is already owned by the virtual object, displaying the first virtual prop refers to displaying the virtual object configuring the first virtual prop. Configuring the first virtual prop for the virtual object may refer to the virtual object holding the first virtual prop. Only when the virtual object configures the first virtual prop can the virtual object directly use the first virtual prop.
[0108] In the embodiments of the present application, the resource level of a virtual resource may refer to the rarity, strength, or quality level of the virtual resource in the virtual environment, used to distinguish the strength or inferiority of the virtual resource attributes. The resource level of a virtual resource may also refer to the quantity level of the virtual resource, used to distinguish the quantity of the virtual resource.
[0109] In some embodiments, there may be one or more virtual resources of the same resource type and resource level. For example, if there are multiple virtual resources of the same resource type and resource level, each of these multiple virtual resources can be assigned a weight, with the weight representing the probability of the virtual resource being selected. Accordingly, when using a virtual item, when any sub-item in the first category of sub-items is selected, based on the resource type and resource level corresponding to the sub-item, multiple virtual resources of that resource type and resource level are determined, and one virtual resource is selected from these multiple virtual resources based on their respective weights.
[0110] 302. In response to the use operation of the first virtual prop, the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface are displayed, or failure prompt information corresponding to the second category of sub-props is displayed, where the failure prompt information is used to indicate a failure in obtaining the virtual resources.
[0111] In an embodiment of the present application, the use operation of the first virtual prop is used to select one or more sub-props from a plurality of sub-props in a plurality of sub-prop configuration slots. The display of the virtual resource is based on the selection of at least one sub-prop in the first category of sub-props by the use operation, regardless of whether the second category of sub-props is selected. Alternatively, the display of the virtual resource is based on the selection of at least one sub-prop in the first category of sub-props by the use operation, and the unselection of the second category of sub-props. The display of the failure prompt message is based on the selection of at least one sub-prop in the second category of sub-props by the use operation, regardless of whether the first category of sub-props is selected. Alternatively, the display of the failure prompt message is based on the selection of at least one sub-prop in the second category of sub-props by the use operation, and the unselection of the first category of sub-props.
[0112] If different sub-props within the first category of sub-props correspond to the same virtual resource, the same virtual resource will be displayed regardless of which sub-prop or sub-props within the first category of sub-props are selected. If each sub-prop within the first category of sub-props corresponds to a virtual resource, the displayed virtual resources will include the virtual resources corresponding to some or all of the sub-props. Since each sub-prop corresponds to a virtual resource, the virtual resources corresponding to each displayed sub-prop can be one or more virtual resources of the same resource type.
[0113] In some embodiments, some virtual resources are associated with virtual items. For example, a virtual shooting prop may be associated with a preset number of fillers, or a virtual armor prop may be associated with a virtual headgear prop. Accordingly, if a displayed virtual resource is associated with a virtual item, the virtual item associated with the virtual resource may also be displayed.
[0114] Among them, displaying the virtual resources corresponding to some or all of the sub-props in the first category of sub-props includes displaying at least one of the icon and name of the virtual resource. Furthermore, the resource type, resource introduction, etc. of the virtual resource can also be displayed.
[0115] An embodiment of the present application provides a method for obtaining virtual resources, which provides a virtual prop configured with multiple sub-props, where the sub-props are first-category sub-props or second-category sub-props. The first-category sub-props correspond to virtual resources, and the second-category sub-props are used to increase the risk of failure in obtaining virtual resources and the resource level of the virtual resources obtained by the first-category sub-props. When using the virtual props, either the first-category sub-props or the second-category sub-props may be selected. If the first-category sub-props are selected, the virtual resources can be obtained, but if the second-category sub-props are selected, the virtual resources cannot be obtained. It is precisely because of this uncertainty that the randomness of obtaining virtual resources is guaranteed; and while bearing the high risk of failure, there is a chance to obtain virtual resources of high resource levels, which enhances the fun and game-playing nature, and thus helps promote interaction based on the virtual props.
[0116] See also Figure 4 , Figure 4 This is a flow chart of the configuration of the first virtual prop provided by an embodiment of the present application. The execution subject of each step of the method can be a computer device, such as the execution subject of each step of the method can be Figure 1 The method may include at least one of the following steps 401 to 403.
[0117] 401. Display the virtual environment in which the virtual object is located, and display the resource interface of the virtual object in the virtual environment. The resource interface is used to display the virtual resources owned by the virtual object.
[0118] In some embodiments, a resource interface entry control is displayed in the virtual environment, and in response to a triggering operation on the entry control, a resource interface of a virtual object is displayed in the virtual environment. Alternatively, in response to a second gesture operation on the interface of the virtual environment, the resource interface of the virtual object is displayed in the virtual environment.
[0119] The resource interface displays a virtual resource list, wherein the virtual resource list displays multiple virtual resources owned by the virtual object, wherein the multiple virtual resources owned by the virtual object include a first virtual item. Optionally, the first virtual item is displayed at the top of the virtual resource list to facilitate user use of the first virtual item.
[0120] Optionally, the resource interface displays a first configuration control for a first virtual item, the first configuration control being used to configure the first virtual item. Furthermore, the resource interface also displays a discard control for the first virtual item, the discard control being used to discard the first virtual item. Furthermore, the resource interface also displays first configuration controls and discard controls for other virtual resources.
[0121] For example, see Figure 5 , Figure 5 Schematic diagram of a resource interface provided by an embodiment of the present application, wherein a virtual resource list is displayed on the resource interface, a first virtual item 501 is displayed at the top of the virtual resource list, and a first configuration control 502 of the first virtual item is also displayed on the resource interface.
[0122] 402. In response to a first configuration operation on the first virtual prop, a configuration interface of the first virtual prop is displayed, the configuration interface including a plurality of sub-prop configuration slots, the sub-prop configuration slots being used to configure first-category sub-props or second-category sub-props, the first-category sub-props being sub-props used to obtain virtual resources, the second-category sub-props being risk sub-props, the risk sub-props being used to increase at least one of the risk level of failure in obtaining virtual resources and the resource level of virtual resources obtained by the first-category sub-props.
[0123] The configuration operation for the first virtual item triggers the first configuration control for the first virtual item on the resource interface. Optionally, the resource interface is removed while the first virtual item is displayed. Alternatively, a second configuration control for the first virtual item is displayed on the virtual environment interface, but the second configuration control is not displayed on the resource interface. This allows the first virtual item to be configured without accessing the resource interface, shortening the interaction process and improving efficiency.
[0124] Wherein, the sub-prop configuration slots are used to configure sub-props of the first category or sub-props of the second category, then optionally, the sub-props configured by default in the multiple sub-prop configuration slots are all sub-props of the first category, and second-category sub-props can be configured in the multiple sub-prop configuration slots through the following step 403. Alternatively, the sub-props configured by default in the multiple sub-prop configuration slots include not only sub-props of the first category but also sub-props of the second category.
[0125] In some embodiments, in response to a first configuration operation on a first virtual item, level prompt information is also displayed on the configuration interface based on the number of first-category sub-props and the number of second-category sub-props in multiple sub-prop configuration slots, including at least one of the following implementation methods.
[0126] (1) Based on the number of first-category sub-props in the plurality of sub-prop configuration slots, a first-level prompt information is displayed, wherein the first-level prompt information is used to prompt at least one of a resource level and a risk level, and both the resource level and the risk level are negatively correlated with the number of first-category sub-props.
[0127] Among them, the greater the number of first-category sub-props, the lower the resource level. Optionally, a first correspondence is established between the number of first-category sub-props and the resource level. The first correspondence can be a linear or nonlinear relationship, or a discrete correspondence between the number and the resource level. For example, the total number of multiple sub-props is 6, and the multiple resource levels are divided into three levels: high, medium, and low. If the number of first-category sub-props is 1 or 2, the resource level is high; if the number of first-category sub-props is 3 or 4, the resource level is medium; if the number of first-category sub-props is 5 or 6, the resource level is low.
[0128] Similarly, the more sub-props of the first category there are, the lower the risk level. Optionally, a second correspondence is established between the number of sub-props of the first category and the risk level. The second correspondence can be a linear or nonlinear relationship, or a discrete correspondence between the number and the risk level. For example, the total number of multiple sub-props is 6, and the multiple risk levels are divided into three levels: high, medium, and low. If the number of sub-props of the first category is 1 or 2, the risk level is high; if the number of sub-props of the first category is 3 or 4, the risk level is medium; if the number of sub-props of the first category is 5 or 6, the risk level is low. For example, see Figure 6 , Figure 6 This is a schematic diagram of the correspondence between quantity, resource level and risk level provided by an embodiment of the present application.
[0129] (2) Based on the number of second-category sub-props in the plurality of sub-prop configuration slots, a second-level prompt information is displayed, where the second-level prompt information is used to prompt at least one of a resource level and a risk level, and both the resource level and the risk level are positively correlated with the number of second-category sub-props.
[0130] The greater the number of second-category sub-items, the higher the resource level. Optionally, a third correspondence is established between the number of second-category sub-items and the resource level. This third correspondence can be a linear or nonlinear relationship, or a discrete correspondence between the number and the resource level. Similarly, the greater the number of second-category sub-items, the higher the risk level. Optionally, a fourth correspondence is established between the number of second-category sub-items and the risk level. This fourth correspondence can be a linear or nonlinear relationship, or a discrete correspondence between the number and the risk level.
[0131] (3) Based on the number of first-category sub-props and the number of second-category sub-props in the plurality of sub-prop configuration slots, a third-level prompt information is displayed, wherein the third-level prompt information is used to prompt at least one of a resource level and a risk level, and both the resource level and the risk level are negatively correlated with the number of first-category sub-props and positively correlated with the number of second-category sub-props.
[0132] The greater the number of first-category sub-items and the smaller the number of second-category sub-items, the lower the resource level. Optionally, a fifth correspondence is established between the number of first-category sub-items and the number of second-category sub-items and the resource level. This fifth correspondence can be a linear or nonlinear relationship, or even a discrete relationship. Similarly, the greater the number of first-category sub-items and the smaller the number of second-category sub-items, the lower the risk level. Optionally, a sixth correspondence is established between the number of first-category sub-items and the number of second-category sub-items and the risk level. This sixth correspondence can be a linear or nonlinear relationship, or even a discrete relationship.
[0133] For example, see Figure 7 , Figure 7 701 is a schematic diagram of level prompt information provided by an embodiment of the present application, wherein the terminal displays level prompt information 701 in a virtual environment.
[0134] In the embodiment of the present application, since at least one of the number of the first category of sub-props and the number of the second category of sub-props determines the resource level and the risk level, the resource level and risk level determined based on the quantity are displayed, which provides the user with sufficient information output, so that the user can configure the sub-props with reference to the prompted resource level and risk level, that is, it provides more reference information for user interaction, improves the transparency of information, and is conducive to promoting interaction.
[0135] In some embodiments, additional prompts are provided when the resource level and risk level reach certain levels, including at least one of the following implementations:
[0136] (1) If the number of the first category of sub-props is less than the first number, a first prompt message is displayed, where the first prompt message is used to prompt that at least one of the resource level and the risk level has reached the highest level.
[0137] (2) If the number of the second type of sub-props is greater than the second number, the first prompt message is displayed.
[0138] (3) If the number of the first category of sub-props is greater than the third number, a second prompt message is displayed, where the second prompt message is used to prompt that at least one of the resource level and the risk level has reached the lowest level.
[0139] (4) If the number of the second type of sub-props is less than the fourth number, the second prompt message is displayed.
[0140] The first quantity, the second quantity, the third quantity and the fourth quantity can be set as needed. Optionally, the first quantity is smaller than the second quantity, the third quantity is larger than the fourth quantity, the third quantity is larger than the first quantity, and the second quantity is larger than the fourth quantity.
[0141] In this embodiment, when the number of first-category sub-props or second-category sub-props in a plurality of sub-props reaches a certain number, the resource level and risk level also reach the highest or lowest level. At the highest level, although the resource level is the highest, the risk level is also the highest, meaning there is a greater probability that the user will fail to acquire virtual resources. Therefore, an additional prompt is provided to the user at this time, prompting the user to carefully configure sub-props in this situation, thereby improving the effectiveness of the prompt. At the lowest level, although the risk level is the lowest, the resource level is also the lowest, meaning there is a greater probability that the user will acquire virtual resources of a low resource level. Therefore, an additional prompt is provided to the user at this time, prompting the user to carefully configure sub-props in this situation, thereby improving the effectiveness of the prompt.
[0142] For example, see Figure 8 , Figure 8 FIG. 8 is a schematic diagram of the first prompt information provided by an embodiment of the present application, wherein the terminal displays the first prompt information 802 while displaying the level prompt information 801 .
[0143] In this embodiment of the present application, multiple sub-item configuration slots are used to configure the multiple sub-items included in the first virtual item. Optionally, the configuration slot for each sub-item of the first category also displays the resource type of a corresponding virtual resource, indicating that the sub-item configured in that configuration slot is used to provide a virtual resource of that resource type. Each sub-item configuration slot of the second category also displays a risky sub-item indicator.
[0144] In an embodiment of the present application, multiple sub-prop configuration slots can be presented in different ways. Optionally, if the first virtual prop includes a virtual roulette, the configuration interface for displaying the first virtual prop includes the following implementations: displaying the virtual roulette on the configuration interface, displaying multiple sub-prop configuration slots on the virtual roulette, displaying the resource type of the corresponding virtual resource in each configuration slot of the first sub-prop, and displaying the risk sub-prop identifier in each configuration slot of the second sub-prop.
[0145] The virtual roulette wheel can be circular or polygonal, etc., and has multiple display positions, each of which is used to display a sub-prop configuration slot. Optionally, the first virtual prop is a virtual reel shooting prop, which includes a reel, and the reel includes multiple filling positions, which are also multiple sub-prop configuration slots for filling multiple sub-props. Optionally, the virtual roulette wheel displays a cross-section of the reel, and the cross-section of the multiple sub-prop configuration slots is displayed on the virtual roulette wheel, thereby displaying the multiple sub-props filled in the reel through the virtual roulette wheel.
[0146] The display of resource type includes displaying at least one of a type icon and a type text. The display of risk sub-prop identifier includes the icon information and text information of the risk sub-prop. For example, see Figure 9 , Figure 9 Schematic diagram of a virtual roulette wheel provided by one embodiment of the present application. A plurality of sub-item configuration slots are displayed on the virtual roulette wheel 901. The configuration slot 9011 for each sub-item of the first category displays the resource type of the corresponding virtual resource, while the configuration slot 9012 for each sub-item of the second category displays a risk sub-item identifier.
[0147] In some embodiments, the multiple sub-props included in the first virtual item are configured by default on the platform. In other embodiments, the user can independently configure the multiple sub-props included in the first virtual item. Optionally, in response to a second configuration operation on the first virtual item, multiple sub-prop options are displayed on the configuration interface, the multiple sub-prop options including a first category of sub-props and a second category of sub-props; and in response to a selection operation on a sub-prop from the multiple sub-prop options, the selected sub-prop is configured as a sub-prop in the multiple sub-prop configuration slots.
[0148] Among them, for the sub-prop options of the first category of sub-props, the resource type of the corresponding virtual resource is displayed thereon, and for the sub-prop options of the second category of sub-props, the risk sub-prop identifier is displayed thereon, so that the user can make a selection based on the displayed resource type and risk sub-prop identifier.
[0149] In some embodiments, in response to a selection operation on a sub-prop from a plurality of sub-prop options, configuring the selected sub-prop as a sub-prop in a plurality of sub-prop configuration slots may include the following implementation: in response to a triggering operation on any sub-prop option from the plurality of sub-prop options, displaying the triggered sub-prop option as selected; and in response to a confirmation operation on the selected plurality of sub-prop options, displaying the selected plurality of sub-props on a virtual roulette wheel. If the virtual roulette wheel displays a plurality of sub-props in a default configuration, displaying the selected plurality of sub-props on the virtual roulette wheel means replacing the plurality of sub-props on the virtual roulette wheel with the selected plurality of sub-props.
[0150] In this embodiment, the example of simultaneously placing multiple sub-props on the virtual roulette wheel is used for explanation. In other embodiments, each sub-prop can be placed individually. In response to a triggering operation on any sub-prop option, the corresponding sub-prop is displayed on the virtual roulette wheel without the need for a confirmation operation.
[0151] In this embodiment of the present application, different sub-prop options are provided to the user, allowing the user to independently configure the sub-props included in the first virtual prop, thereby improving user selectivity and enhancing user interaction. Furthermore, by displaying multiple sub-prop options and providing multiple sub-props, the user can select any sub-prop and configure it to the first virtual prop. This significantly improves the convenience of configuration and, in turn, enhances the efficiency of human-computer interaction.
[0152] In the embodiment of the present application, multiple sub-prop configuration slots are displayed on a virtual roulette wheel. Since multiple sub-prop configuration slots are used to configure sub-props, multiple sub-props can be displayed centrally on a single component, facilitating management and interaction. Furthermore, the virtual roulette wheel, which allows users to select a sub-prop from multiple sub-props by rotating it, further embodies the selection logic of selecting a sub-prop from multiple sub-props in the present application, facilitating user understanding, improving information transparency, and enhancing the interface display effect.
[0153] In some embodiments, a close control for the first virtual item is also displayed on the configuration interface; in response to a triggering operation on the close control, the configuration interface for the first virtual item is canceled. In this embodiment, providing the close control allows the user to conveniently cancel the display of the configuration interface for the first virtual item, thereby improving the efficiency of human-computer interaction.
[0154] Optionally, a close control is displayed in an adjacent area of the virtual roulette wheel, such as in the upper right corner of the displayed virtual roulette wheel.
[0155] In response to the triggering operation of the close control, the virtual roulette, the use control of the first virtual prop and the close control can be further canceled, that is, the close control is used to cancel the display of all relevant information of the first virtual prop.
[0156] Optionally, if the virtual object uses the second virtual prop before using the first virtual prop, then in response to the triggering operation of the close control, not only the configuration interface of the first virtual prop is canceled, but also the configuration interface of the second virtual prop is displayed, that is, the first virtual prop configured by the virtual object is replaced with the second virtual prop. In this way, the virtual object can directly configure the second virtual prop when the first virtual prop is canceled, and then can directly use the second virtual prop without having to perform interactive operations to configure other virtual props, thereby improving the efficiency of human-computer interaction.
[0157] In some embodiments, a number prompt information is also displayed on the configuration interface, and the number prompt information is used to prompt that the number of times the first virtual item is used to obtain the virtual resource is once.
[0158] In this embodiment of the present application, a count prompt can be displayed on the virtual roulette wheel to establish a visual association between the multiple sub-items and the count prompt, facilitating user understanding and improving information transmission efficiency. Displaying the count prompt to indicate that only one acquisition is possible conveys more information, raising users' awareness of the resource acquisition function and encouraging them to be more cautious when interacting.
[0159] For example, see Figure 9 , a number prompt information 902 is also displayed on the virtual roulette 901 in the virtual environment, and a close control 903 is also displayed in the upper right corner of the virtual roulette 901.
[0160] In some embodiments, any sub-prop of the first category in the plurality of sub-prop configuration slots may also be replaced with a sub-prop of the second category, as described in step 403 below.
[0161] 403. In response to a replacement operation on a first sub-item in a plurality of sub-item configuration slots, it is displayed that the first sub-item is replaced with a sub-item of the second category, and the first sub-item is any sub-item in the first category.
[0162] The replacement operation for the first sub-prop may be a trigger operation for the first sub-prop. Alternatively, the configuration interface further displays a replacement control for each sub-prop, and the replacement operation for each sub-prop refers to a trigger operation for the replacement control for the sub-prop.
[0163] Among them, the resource type is displayed on the configuration slot of the first sub-item, and the risk sub-item logo is displayed on the configuration slot of the second type of sub-item. Then the first sub-item is replaced by the second type of sub-item, that is, the resource type on the configuration slot of the first sub-item is replaced by the risk sub-item logo.
[0164] In this embodiment, by displaying different information on the configuration slots of different sub-items, information transparency is improved, allowing users to understand the distribution of multiple sub-items. Furthermore, when replacing a first sub-item with a second sub-item, the information displayed on the configuration slot can be simply replaced. This provides user feedback, allowing them to monitor their progress while performing operations, and improves the convenience and efficiency of replacements.
[0165] It should be noted that the first-category sub-prop can not only be replaced with the second-category sub-prop, but the second-category sub-prop can also be restored to the first-category sub-prop. Accordingly, in response to the replacement operation of the second sub-prop in the multiple sub-prop configuration slots, the second sub-prop is displayed as restored to the first-category sub-prop, and the second sub-prop is any sub-prop in the second-category sub-prop. In this embodiment, the first-category sub-prop can not only be replaced with the second-category sub-prop, but the second-category sub-prop can also be restored to the first-category sub-prop. This operation is convenient, reduces the difficulty of sub-prop configuration, and increases flexibility. In this way, users can flexibly configure sub-props so that the configured sub-props can better adapt to the current situation.
[0166] Here, the second sub-prop is restored to the first-category sub-prop, i.e., the second sub-prop is replaced with the first sub-prop originally displayed at its display position. Optionally, each display position on the virtual roulette wheel is fixed, and each display position is used to display a sub-prop. In response to a replacement operation on any second sub-prop, the first sub-prop originally displayed at the display position of the second sub-prop is determined, and the second sub-prop is restored to the first sub-prop, i.e., the risk sub-prop identifier on the second sub-prop is replaced with the resource type corresponding to the first sub-prop.
[0167] For example, the first virtual prop includes 6 sub-props, and the virtual wheel includes 6 fixed display positions for displaying the 6 sub-props, respectively. The 6 display positions are position 1 to position 6. Figure 10 , Figure 10 This is a schematic diagram of multiple display positions provided in one embodiment of the present application.
[0168] Accordingly, in the process of replacing the second sub-prop, in response to the replacement operation of the second sub-prop, it is determined whether the display position of the second sub-prop is position 1. If so, the risk sub-prop identifier on the second sub-prop is replaced with the resource type corresponding to the first sub-prop originally displayed at position 1. If not, it is determined whether the display position of the second sub-prop is position 2. If so, the risk sub-prop identifier on the second sub-prop is replaced with the resource type corresponding to the first sub-prop originally displayed at position 2. If not, continue to determine the display position 3, repeat the above steps until the display position of the second sub-prop is determined, and replace the risk sub-identifier on the second sub-prop with the resource type corresponding to the first sub-prop originally displayed at the display position. For example, see Figure 11 , Figure 11 This is a logical flow chart of sub-prop replacement provided by an embodiment of the present application.
[0169] In some embodiments, in order to improve the interface display effect, in response to the replacement operation of the second sub-prop in multiple sub-prop configuration slots, the process of displaying the second sub-prop restoring to the first type of sub-prop is also included in the following implementation methods: in response to the replacement operation of the second sub-prop, a replacement progress identifier is displayed, and the replacement progress identifier is used to indicate the change process of the second sub-prop; in response to the replacement progress identifier indicating that the replacement is completed, the second sub-prop is displayed as the first type of sub-prop.
[0170] The display form of the replacement progress indicator can be determined based on the display location of each sub-prop. For example, if each sub-prop is located within a circular area, the replacement progress indicator can be a circle surrounding the sub-prop. Optionally, the progress bar fills the circle in a clockwise direction, and the replacement is complete when the circle is full. For another example, if each sub-prop is located within a cylindrical area, the replacement progress indicator can be a cylinder surrounding the cylindrical area. Optionally, the progress bar fills the cylinder from the bottom of the cylinder, and the replacement is complete when the cylinder is full.
[0171] For example, see Figure 12 , Figure 12 This is a schematic diagram of a replacement progress indicator provided by one embodiment of the present application. The replacement progress indicator is displayed after the second sub-item is triggered. The replacement progress indicator is a circle surrounding the second sub-item. The progress bar fills the circle clockwise. Once the circle is filled, the replacement is complete, and the risk sub-item indicator on the second sub-item is replaced with the resource type.
[0172] In this embodiment, by displaying the replacement progress indicator, the user can clearly understand that the current replacement operation is in progress, providing the user with a visual interaction and enhancing the user's sense of participation; and displaying the replacement progress indicator also enhances the interest of the interface display, thereby improving the user experience.
[0173] In this embodiment, the replacement progress indicator is displayed during the process of restoring the second sub-item to the first sub-item as an example. In other embodiments, the replacement progress indicator is also displayed during the process of replacing the first sub-item with the second sub-item.
[0174] In some embodiments, the number of the first sub-prop in multiple sub-props is limited, and the above-mentioned process of displaying that the first sub-prop is replaced with the second type of sub-prop in response to the replacement operation of the first sub-prop in the multiple sub-prop configuration slots includes the following implementation method: when the number of the first type of sub-prop in the multiple sub-prop configuration slots is greater than the preset number, in response to the replacement operation of the first sub-prop in the multiple sub-prop configuration slots, displaying that the first sub-prop is replaced with the second type of sub-prop.
[0175] The preset quantity is the minimum number of first-category sub-items that can be configured in the multiple sub-item configuration slots. For example, if the preset quantity is 1, it means that the configuration slots in the multiple sub-items can be configured with at least one first-category sub-item.
[0176] In this embodiment, by limiting the number of first-category sub-items in multiple sub-item configuration slots, we prevent users from having difficulty obtaining virtual resources due to a shortage or absence of first-category sub-items, which could negatively impact the user experience. Furthermore, by limiting the number of first-category sub-items in multiple sub-item configuration slots, we balance the number of sub-items, ensuring that the effects and impacts of each sub-item remain within a reasonable range and avoiding imbalances.
[0177] It should be noted that after the first sub-item is replaced with the second sub-item, if the range of the quantity of the first sub-item in multiple sub-item configuration slots changes, the resource level and risk level prompted by the update level prompt information will be updated. Optionally, the range of the quantity of the first sub-item is different, and the corresponding resource level and risk level are different. For example, the multiple ranges can be 1-2, 3-4 and 5-6 respectively. If the range of the quantity of the first sub-item does not change, there is no need to update the resource level and risk level. If the range of the quantity of the first sub-item changes, the resource level and risk level prompted will be updated based on the changed quantity. For example, continue to see Figure 11 , which also shows the update logic of resource level and risk level.
[0178] Similarly, after displaying that the first sub-item is replaced by the second sub-item, the resource level and risk level prompted by the level prompt information can also be updated based on the changes in the range of the number of second sub-items in multiple sub-item configuration slots, or the resource level and risk level prompted by the level prompt information can be updated based on the comprehensive changes in the range of the number of first sub-items and the number of second sub-items in multiple sub-item configuration slots. I will not go into details here.
[0179] In some embodiments, after displaying the configuration interface of the first virtual prop, the following implementation method is also included: in response to the virtual object generating interactive behavior, the configuration interface of the first virtual prop is replaced with the configuration interface of the second virtual prop, and the second virtual prop is the virtual prop used before the virtual object uses the first virtual prop.
[0180] In this embodiment, the interactive behavior generated by the virtual object can be a virtual object hitting another virtual object or another virtual object hitting the virtual object. When the virtual object generates an interactive behavior, the configured first virtual prop is automatically replaced with a second virtual prop, allowing the virtual object to use the second virtual prop to interact in a timely manner. This does not require user interaction to replace the virtual prop, thus reducing the number of operation steps and improving interaction efficiency.
[0181] It should be noted that if the first virtual item is in an unusable state, it cannot be configured or used, and thus steps 402-403 cannot be performed. Steps 402-403 can only be performed if the first virtual item is not in an unusable state. The reason for the first virtual item being in an unusable state includes at least one of the following: the time between the last use of the first virtual item and the current time is within a preset time period; or the first virtual item has been used a preset number of times.
[0182] In an embodiment of the present application, the first configuration operation is described by taking the click operation on the first configuration control of the first virtual prop on the resource interface as an example. In response to the click operation on the first configuration control, if the first virtual prop is in an unusable state, no information is displayed or a prompt is given that the first virtual prop is an unusable prop, and the process ends. If the first virtual prop is not in an unusable state, the resource interface is closed, and the virtual roulette, usage control, and close control are displayed. Since the virtual roulette, usage control, and close control are displayed at the same time, any of the three items can be clicked to interact. Furthermore, clicking the close control can cancel the display of these three items at the same time. For example, see Figure 13 , Figure 13 It is a logical flow chart of the configuration operation provided by an embodiment of the present application.
[0183] In an embodiment of the present application, a plurality of sub-prop configuration slots are displayed on the configuration interface, and any first sub-prop in the plurality of sub-prop configuration slots can be replaced with a second-category sub-prop. That is, before using the first virtual prop, the user can independently edit the plurality of sub-props included in the first virtual prop, remove the first-category sub-props corresponding to unwanted virtual resources, and convert them into second-category sub-props to improve the resource level of the virtual resources corresponding to the remaining first-category sub-props, thereby improving the user's autonomous selectivity, enhancing the fun and game-playing nature, improving the user experience, and promoting user interaction.
[0184] See also Figure 14 , Figure 14 This is a flowchart of obtaining virtual resources provided by an embodiment of the present application. The first virtual prop used in the method can be obtained by Figure 4 The execution subject of each step of the method may be a computer device, such as the execution subject of each step of the method may be Figure 1 The method may include at least one of the following steps 1401 to 1404.
[0185] 1401. In response to a first configuration operation on a first virtual prop, a configuration interface of the first virtual prop is displayed, the configuration interface including a plurality of sub-prop configuration slots, the sub-prop configuration slots being used to configure first-category sub-props or second-category sub-props, the first-category sub-props being sub-props used to obtain virtual resources, the second-category sub-props being risk sub-props, the risk sub-props being used to increase at least one of the risk level of failure in obtaining virtual resources and the resource level of virtual resources obtained by the first-category sub-props.
[0186] In the embodiment of the present application, step 1401 is similar to step 402 and will not be described again here.
[0187] 1402. In response to a use operation on the first virtual item, display virtual resources corresponding to some or all of the sub-items in the first category of sub-items in the configuration interface.
[0188] In some embodiments, the configuration interface also displays a control for using the first virtual item, and the operation of using the first virtual item is also a triggering operation of the control. Alternatively, the configuration interface displays the first virtual item, and the operation of using the first virtual item is also a triggering operation of the control. For example, continue to refer to Figure 7 , the configuration interface also displays a usage control 702 for the first virtual item.
[0189] In some embodiments, in response to a use operation on a first virtual item, the process of displaying virtual resources corresponding to some or all sub-items in the first category of sub-items in the configuration interface includes the following implementations.
[0190] (1) In response to an operation of using a first virtual item, an acquisition prompt message is displayed, where the acquisition prompt message is used to prompt that the virtual resource is being acquired; in response to the display duration of the acquisition prompt message reaching a second duration, the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface are displayed.
[0191] The second duration can be set as needed, such as 3 seconds. The prompt information includes at least one of text prompt information and icon prompt information. Further, the icon prompt information is a dynamic icon, such as a dynamic icon that is a reduced virtual wheel that displays the rotation effect of the virtual wheel. For example, see Figure 15 , Figure 15 FIG. 1 is a schematic diagram of obtaining prompt information provided by an embodiment of the present application, wherein the prompt information 1501 is displayed in a virtual environment.
[0192] In this embodiment, acquisition prompts are displayed during the acquisition of virtual resources, allowing users to clearly understand the current operation, providing visual interaction, enhancing user participation, and increasing interest. Furthermore, by displaying this acquisition prompt, users can be more excited and anticipate the acquisition results, allowing them to better immerse themselves in the interaction.
[0193] (2) In response to a use operation of the first virtual prop, some or all of the sub-props of the first category are displayed to be launched from the first virtual prop, and after the some or all of the sub-props land, the corresponding virtual resources are displayed.
[0194] The first virtual prop is also the virtual launching prop, and the sub-prop is also the filler in the virtual launching prop. In this embodiment, displaying the process of the sub-prop being launched increases the fun and improves the interface display effect, thereby facilitating the user to use the first virtual prop.
[0195] Optionally, the above process of displaying the virtual resources corresponding to some or all of the sub-props after the part or all of the sub-props lands on the ground also includes the following implementation method: displaying an explosion special effect after the part or all of the sub-props lands on the ground, and after the explosion special effect ends, displaying the virtual resources corresponding to the part or all of the sub-props.
[0196] In this embodiment, an explosion effect is displayed after the sub-prop lands, followed by the virtual resource. The explosion effect has a strong visual impact and quickly captures the user's attention. Displaying the virtual resource after the explosion further enhances the visual effect, filling the user with anticipation and excitement for the upcoming virtual resource. This creates a richer and more engaging visual experience, thereby enhancing the user experience.
[0197] (3) The first virtual prop includes a virtual roulette, which includes multiple sub-props. In response to the use operation of the first virtual prop, the virtual roulette is displayed to rotate. In response to the virtual roulette stopping to rotate, the virtual resource corresponding to the third sub-prop is displayed. The third sub-prop is the first type of sub-prop pointed to when the virtual roulette stops rotating.
[0198] In this implementation, the example of selecting a sub-prop from the first category of sub-props is used for illustration. Optionally, a pointer is displayed on the virtual wheel, and the pointer points to a fixed position on the virtual wheel. When the virtual wheel stops rotating, the sub-prop that the pointer points to is also the sub-prop at the position pointed to by the pointer.
[0199] In this embodiment, the virtual wheel is displayed spinning. Such dynamic effects can stimulate the user's interest and curiosity better than static effects, enhance the tension and anticipation in the process of obtaining virtual resources, and create a tense and exciting atmosphere. In addition, this dynamic effect enhances the realism of selecting a sub-prop from multiple sub-props, improves the fun and attractiveness of the interface display, and helps promote users to use the first virtual prop to obtain virtual resources.
[0200] (4) In response to the use operation of the first virtual prop, a marquee effect is displayed on multiple sub-prop configuration slots. In response to the end of the marquee effect, the virtual resource corresponding to the fourth sub-prop is displayed. The fourth sub-prop is the sub-prop pointed to when the marquee effect ends.
[0201] In this implementation, an example of selecting a sub-prop of the first category is used for illustration. Optionally, a ticker effect refers to displaying lights on multiple sub-props in turn, and the sub-prop that the ticker effect points to when it ends is also the sub-prop that displays lights when the ticker effect ends.
[0202] In this embodiment, a marquee effect is displayed on multiple sub-props. Since the marquee effect simulates the tension and anticipation in the process of acquiring virtual resources, as the lights are displayed in turn on multiple sub-props, the user will feel a tense and exciting atmosphere, which enhances the fun and attractiveness of the process. When the effect stops and the acquisition results are displayed, it will bring a strong sense of surprise, thereby improving the user experience.
[0203] In some embodiments, if some or all of the sub-props in the first category are selected based on a usage operation, the corresponding virtual resources are read from a preset table based on the resource type and resource level of each selected sub-prop and displayed. It should be noted that the virtual resources of each resource level under the same resource type can be freely configured by the developer. For example, see Table 1 below, which is a schematic diagram of a preset table that includes virtual resources of multiple resource types, and a type of virtual resource includes virtual resources of different resource levels.
[0204] Table 1
[0205]
[0206] The above embodiments illustrate a single virtual resource of the same resource type and resource level. In other embodiments, multiple virtual resources of the same resource type and resource level may exist, each of which is assigned a weight representing the probability of selection. Accordingly, for a selected sub-item, multiple virtual resources of that resource type and resource level are determined based on the sub-item's corresponding resource type and resource level. Based on the weights of each of these multiple virtual resources, one virtual resource is selected from these multiple virtual resources and displayed.
[0207] In an embodiment of the present application, the display of virtual resources in a virtual environment is described as an example. Optionally, the process of displaying virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface includes the following implementation: displaying the virtual resources corresponding to the some or all of the sub-props at a first location in the virtual environment, wherein the distance between the first location and the virtual object is less than a preset distance, and the virtual object is configured to obtain the virtual resources at the first location without moving. In this embodiment, displaying the virtual resources at a location close to the virtual object in the virtual environment facilitates obtaining the virtual resources without the virtual object moving, thereby reducing the number of operation steps and improving the efficiency of the virtual object in obtaining the virtual resources, thereby improving the efficiency of human-computer interaction.
[0208] In some embodiments, after the virtual resource is displayed, the first virtual item is displayed as unusable for a first duration. After the first duration, in response to a first configuration operation on the first virtual item, the first virtual item is displayed again.
[0209] In this embodiment, each time the first virtual prop is used, the first virtual prop enters an unusable state and can be used again after a certain period of time. In this way, the first virtual prop can be reused and the user is prevented from frequently using the first virtual prop, which causes the interaction to lose challenge and fun, thereby maintaining the balance of interaction.
[0210] Optionally, displaying the first virtual item as unusable within a first duration includes the following implementation methods: displaying a resource interface of the virtual object, displaying the first virtual item as unusable on the resource interface within the first duration and displaying the first duration on the resource interface, the resource interface being used to display the virtual resources owned by the virtual object.
[0211] In this embodiment, since the resource interface is used to configure the first virtual prop, the first virtual prop is originally displayed on the resource interface. In this way, the first virtual prop is displayed as unusable and the first duration is displayed on the resource interface. This not only provides a prompt when the user configures the first virtual prop, but also eliminates the need to display the first virtual prop additionally on other interfaces, saving display resources and allowing other interfaces to display more other information, thereby improving the interface display effect.
[0212] Displaying the first virtual prop as an unusable state includes at least one of the following implementation methods: displaying unusable text information on the first virtual prop; displaying a mask on the first virtual prop to indicate that the first virtual prop is in an unusable state; displaying a first configuration control of the first virtual prop as a non-interactive state.
[0213] For example, see Figure 16 , Figure 16 FIG. 1 is a schematic diagram of a resource interface provided by an embodiment of the present application. In the resource interface, a text message indicating that the item cannot be used and a first duration are displayed on a first virtual item 1601, a mask is displayed on the first virtual item 1601, and a first configuration control 1602 of the first virtual item 1601 is displayed as a non-interactive state.
[0214] In some embodiments, after displaying the virtual resource, at least one of the following implementation methods is also included: if the virtual object uses a second virtual prop before using the first virtual prop, the configuration interface of the first virtual prop is replaced with the configuration interface of the second virtual prop; if the virtual resource corresponding to the first sub-prop is a virtual prop, the configuration interface of the first virtual prop is replaced with the configuration interface of the virtual prop.
[0215] In this embodiment, since the first virtual item becomes unusable after being used once, the first virtual item is automatically replaced with the second virtual item. This allows the virtual object to use other virtual items even when the first virtual item is unusable without the need for manual replacement, thereby improving interaction efficiency. Automatically replacing the first virtual item with the newly acquired virtual item also allows the virtual object to use the newly acquired virtual item even when the first virtual item is unusable without the need for manual replacement, thereby improving interaction efficiency.
[0216] In some embodiments, when displaying virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface, the following implementation method is also included: displaying a success prompt message, which is used to prompt that the virtual resources have been obtained.
[0217] Optionally, the success prompt message not only indicates that the virtual resource has been acquired, but also indicates that the first virtual item can be reused after the first duration. Figure 17 , Figure 17 17 is a schematic diagram of a success prompt message provided by an embodiment of the present application, wherein the success prompt message 1701 is displayed in a virtual environment.
[0218] In this embodiment, by displaying the success prompt information, the user's sense of achievement is improved, and the success prompt information provides the user with clear operation feedback, achieving the integrity of the interaction, and thus improving the user experience.
[0219] 1403. In response to the acquisition operation of the virtual resources corresponding to the part or all of the sub-props, the virtual resources corresponding to the part or all of the sub-props are acquired.
[0220] In embodiments of the present application, virtual resources can be directly acquired by the user. Optionally, in response to an acquisition operation for the virtual resources corresponding to some or all of the sub-props, the virtual resources corresponding to some or all of the sub-props are stored in the user's resource library. Alternatively, virtual resources can be acquired by virtual objects in the virtual environment. Optionally, in response to an acquisition operation for the virtual resources corresponding to some or all of the sub-props, the virtual objects are controlled to acquire the virtual resources corresponding to some or all of the sub-props.
[0221] Among them, taking the acquisition of virtual resources by virtual objects as an example, the above-mentioned process of acquiring the virtual resources corresponding to some or all sub-props in response to the acquisition operation of the virtual resources corresponding to some or all sub-props includes the following steps: in response to the virtual object's picking operation of the virtual resources corresponding to some or all sub-props, the virtual resources corresponding to some or all sub-props are displayed on the resource interface of the virtual object, and the resource interface is used to display the virtual resources owned by the virtual object.
[0222] Optionally, while displaying the virtual resources corresponding to some or all of the sub-props, a pickup control for the virtual resources is also displayed, and a pickup operation on the virtual resources is also a triggering operation on the pickup control. Alternatively, while displaying the virtual resources corresponding to some or all of the sub-props, a pickup control corresponding to each virtual resource is also displayed, and a pickup operation on any virtual resource is also a triggering operation on its pickup control; alternatively, a pickup operation on any virtual resource is a triggering operation on that virtual resource.
[0223] In this embodiment, after a virtual resource is displayed based on a first virtual item, the virtual object can acquire the virtual resource through a pick-up operation, rather than directly acquiring the virtual resource as the virtual object's virtual resource. This allows the virtual object to choose not to pick up the displayed virtual resource if it is not interested in it, and the virtual object does not need to discard the virtual resource later. This significantly increases the selectivity of interaction and, in turn, improves the efficiency of human-computer interaction. Furthermore, acquiring virtual resources through a virtual object's pick-up operation adds a sense of fun and gaming to the previously unmodified pickup experience.
[0224] In some embodiments, some virtual resources are associated with virtual items. For example, a virtual shooting prop may be associated with a preset number of fillers, or a virtual armor prop may be associated with a virtual headgear prop. Accordingly, when acquiring a virtual resource associated with a virtual item, the virtual item associated with the virtual resource may also be acquired.
[0225] In some embodiments, the first virtual prop may also be configured with a second type of sub-prop, and the second sub-prop may be selected based on the use operation, so the following step 1404 is also included.
[0226] 1404. In response to the use operation of the first virtual item, display failure prompt information corresponding to the second type of sub-item, where the failure prompt information is used to prompt that the acquisition of the virtual resource has failed.
[0227] In this embodiment of the present application, based on the use operation of the first virtual item, either the first or second category of sub-items may be selected. Therefore, step 1402 and step 1404 are each one possible implementation method. Within the same use operation, the two methods are mutually exclusive. The sequence numbers of steps 1402-1403 and 1404 are for ease of explanation only. For example, after executing step 1401, steps 1402-1403 may be executed, or step 1404 may be executed directly.
[0228] Optionally, the failure prompt message not only prompts that the virtual resource has been obtained, but also prompts that the first virtual item can be reused after the first time period. Figure 18 , Figure 18 FIG. 1 is a schematic diagram of a failure prompt message provided by an embodiment of the present application, wherein the failure prompt message 1801 is displayed in a virtual environment.
[0229] In this embodiment, when the acquisition of virtual resources fails, a failure prompt message is displayed, which provides the user with clear operation feedback, achieves the integrity of the interaction, and thus improves the user experience.
[0230] In some embodiments, when displaying the failure prompt message corresponding to the second type of sub-props, at least one of the following implementations is also included:
[0231] (1) Display the explosion effects corresponding to the second type of sub-props.
[0232] In this implementation, when the second type of sub-props are selected, an explosion effect is displayed, which improves the efficiency and effectiveness of conveying information to the user. In addition, since the explosion effect has a strong visual impact, it can quickly attract the user's attention. Even in the case of failure, the user can still feel the tension and excitement of the acquisition process, thus improving the user experience. For example, continue to see Figure 18 , while displaying the failure prompt message 1801, an explosion special effect 1802 is also displayed.
[0233] (2) Display the target attribute value of the virtual object to be reduced.
[0234] The target attribute value can be set as needed, such as the target attribute value is health value.
[0235] In this implementation, when the second type of sub-props is selected, the target attribute value of the virtual object is also lowered. In this way, not only can virtual resources be obtained for the virtual object based on the first virtual prop, but the target attribute value of the virtual object can also be adjusted based on the first virtual prop, thereby increasing the impact of the first virtual prop on the virtual object. This will make the user more cautious in configuring sub-props for the first virtual prop, prompting the user to pay more attention to strategy and planning, which is conducive to enhancing user interaction.
[0236] In this embodiment, the process of displaying a failure prompt message in response to the use operation of the first virtual item may further include the following four implementation methods.
[0237] (1) In response to the use operation of the first virtual prop, an acquisition prompt message is displayed, wherein the acquisition prompt message is used to prompt that the virtual resource is being acquired; in response to the display time of the acquisition prompt message reaching a second time length, a failure prompt message is displayed. (2) In response to the use operation of the first virtual prop, some or all of the sub-props of the second category are displayed to be launched from the first virtual prop, and a failure prompt message is displayed after the some or all of the sub-props land. (3) The first virtual prop includes a virtual roulette, which includes multiple sub-props. In response to the use operation of the first virtual prop, the virtual roulette is displayed to rotate, and in response to the virtual roulette stopping to rotate, a failure prompt message is displayed. The second category of sub-props is the sub-prop that the virtual roulette points to when it stops rotating. (4) In response to the use operation of the first virtual prop, a marquee animation effect is displayed on multiple sub-prop configuration slots. In response to the end of the marquee animation effect, a failure prompt message is displayed. The second category of sub-props is the sub-prop that the marquee animation effect points to when it ends.
[0238] Among them, the specific processes of the above four implementation methods are similar to the specific processes of the four implementation methods of the process of displaying the virtual resources corresponding to some or all sub-props in the first category of sub-props in response to the use operation of the first virtual prop in step 1402, and will not be repeated here.
[0239] In the embodiment of the present application, in response to the use operation of the first virtual prop, based on the different selection results of the sub-props, the display results are different, that is, the interface display content is different. For example, see Figure 19 , Figure 19 It is a logic flow chart showing the results provided by an embodiment of the present application.
[0240] In some embodiments, after displaying the failure prompt message, the first virtual prop is also displayed as unusable within the first time period. This process is similar to the process of displaying the first virtual prop as unusable within the first time period after displaying the virtual resource, and will not be repeated here.
[0241] In the embodiment of the present application, each time the first virtual item is used, it enters an unusable state. However, after a certain period of time, the first virtual item can be reused. In this way, even if the virtual resource is not obtained this time, the first virtual item can be reused after waiting for a certain period of time. This provides a convenient way to obtain virtual resources, is simple to operate, and makes the methods of obtaining virtual resources more diverse, thereby improving the efficiency of obtaining virtual resources.
[0242] In the embodiment of the present application, virtual resources can be quickly obtained through the first virtual prop, and users are supported to independently configure the desired virtual resources and resource levels, which provides users with the opportunity to quickly obtain high-level virtual resources. The operation is simple, enriches the methods of obtaining virtual resources, reduces the difficulty of obtaining virtual resources, improves the efficiency of human-computer interaction, and has extremely strong fun and game-like nature. In this way, virtual objects can obtain high-level virtual resources in the early stage, enriching the experience of obtaining virtual resources and thus improving the user experience.
[0243] An embodiment of the present application provides a method for obtaining virtual resources, which provides a virtual prop configured with multiple sub-props, where the sub-props are first-category sub-props or second-category sub-props, the first-category sub-props correspond to virtual resources, and the second-category sub-props are used to increase at least one of the risk of failure in obtaining virtual resources and the resource level of the virtual resources corresponding to the first sub-props. When using the virtual props, either the first-category sub-props or the second-category sub-props may be selected. If the first-category sub-props are selected, the virtual resources can be obtained, but if the second-category sub-props are selected, the virtual resources cannot be obtained. It is precisely because of this uncertainty that the randomness of obtaining virtual resources is guaranteed; and while bearing the high risk of failure, there is a chance to obtain virtual resources of high resource levels, which enhances the fun and game-playing nature, and thus helps promote interaction based on the virtual props.
[0244] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0245] Please refer to Figure 20 , Figure 20 This is a block diagram of a virtual resource acquisition device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned virtual resource acquisition method, and the function can be implemented by hardware or by hardware executing corresponding software. The device can be the computer device described above, or it can be set in a computer device. Figure 20 As shown, the device may include:
[0246] A first display module 2001 is used to display a configuration interface of a first virtual item, the configuration interface including a plurality of sub-item configuration slots, the sub-item configuration slots being used to configure a first type of sub-item or a second type of sub-item, the first type of sub-item being a sub-item used to obtain virtual resources, the second type of sub-item being a risk sub-item, the risk sub-item being used to increase at least one of the risk level of failure in obtaining virtual resources and the resource level of virtual resources obtained by the first type of sub-item;
[0247] The second display module 2002 is used to display the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface in response to the use operation of the first virtual prop, or to display the failure prompt information corresponding to the second category of sub-props, where the failure prompt information is used to prompt the failure of obtaining the virtual resources.
[0248] In some embodiments, the apparatus further comprises:
[0249] The replacement module is used to respond to the replacement operation of the first sub-prop in the multiple sub-prop configuration slots, and display that the first sub-prop is replaced with the second-category sub-prop, and the first sub-prop is any sub-prop in the first category of sub-props.
[0250] In some embodiments, the first virtual prop includes a virtual roulette wheel, and the first display module 2001 is configured to:
[0251] A virtual roulette is displayed on the configuration interface, and a plurality of sub-item configuration slots are displayed on the virtual roulette. The resource type of the corresponding virtual resource is displayed on the configuration slot of each sub-item of the first category, and a risk sub-item identifier is displayed on the configuration slot of each sub-item of the second category;
[0252] Replacement modules for:
[0253] The resource type on the configuration slot that displays the first sub-item is replaced with the risk sub-item identifier.
[0254] In some embodiments, a replacement module is provided for:
[0255] When the number of first-category sub-props in the plurality of sub-prop configuration slots exceeds a preset number, in response to a replacement operation on the first sub-prop in the plurality of sub-prop configuration slots, it is displayed that the first sub-prop is replaced with a second-category sub-prop.
[0256] In some embodiments, the replacement module is further configured to:
[0257] In response to a replacement operation on a second sub-item in a plurality of sub-item configuration slots, the second sub-item is displayed as being restored to being a sub-item of the first category, and the second sub-item is any one of the sub-items of the second category.
[0258] In some embodiments, a replacement module is provided for:
[0259] In response to the replacement operation on the second sub-prop, a replacement progress indicator is displayed, where the replacement progress indicator is used to indicate the change process of the second sub-prop;
[0260] In response to the replacement progress indicator indicating that the replacement is complete, the second sub-prop is displayed and restored to the first type of sub-prop.
[0261] In some embodiments, when displaying the failure prompt message corresponding to the second type of sub-prop, the second display module is further configured to perform at least one of the following:
[0262] Display the explosion effects corresponding to the second type of sub-props;
[0263] Displays the target attribute value of the virtual object reduced.
[0264] In some embodiments, the device further includes a first information display module configured to perform at least one of the following:
[0265] Based on the number of first-category sub-items in the multiple sub-item configuration slots, a first-level prompt information is displayed, where the first-level prompt information is used to indicate at least one of a resource level and a risk level, and both the resource level and the risk level are negatively correlated with the number of first-category sub-items;
[0266] Based on the number of second-category sub-items in the multiple sub-item configuration slots, a second-level prompt information is displayed. The second-level prompt information is used to indicate at least one of the resource level and the risk level. Both the resource level and the risk level are positively correlated with the number of second-category sub-items.
[0267] Based on the number of first-category sub-props and the number of second-category sub-props in multiple sub-prop configuration slots, a third-level prompt information is displayed. The third-level prompt information is used to prompt at least one of the resource level and the risk level. The resource level and the risk level are both negatively correlated with the number of first-category sub-props and positively correlated with the number of second-category sub-props.
[0268] In some embodiments, the first information display module is further configured to perform at least one of the following:
[0269] If the number of the first category of sub-props is less than the first number, display a first prompt message, where the first prompt message is used to prompt that at least one of the resource level and the risk level has reached the highest level;
[0270] If the number of the second type of sub-props is greater than the second number, the first prompt message is displayed;
[0271] If the number of the first type of sub-props is greater than the third number, a second prompt message is displayed, where the second prompt message is used to prompt that at least one of the resource level and the risk level has reached the minimum level;
[0272] If the quantity of the second type of sub-props is less than the fourth quantity, a second prompt message is displayed.
[0273] In some embodiments, the first display module 2001 is configured to:
[0274] In response to a first configuration operation on the first virtual item, a configuration interface for the first virtual item is displayed.
[0275] In some embodiments, after displaying the virtual resource or failure prompt information, the second display module 2002 is further configured to:
[0276] Displaying the first virtual item as unusable within a first duration;
[0277] After the first time period, in response to the first configuration operation on the first virtual item, the configuration interface of the first virtual item is displayed again.
[0278] In some embodiments, the second display module 2002 is configured to:
[0279] A resource interface of the virtual object is displayed, wherein the first virtual item is displayed as unusable on the resource interface within a first duration and the first duration is displayed on the resource interface, and the resource interface is used to display the virtual resources owned by the virtual object.
[0280] In some embodiments, the apparatus further comprises:
[0281] a third display module, configured to display a plurality of sub-prop options on the configuration interface in response to a second configuration operation on the first virtual prop, the plurality of sub-prop options including a first category of sub-props and a second category of sub-props;
[0282] The configuration module is used to configure the selected sub-prop as a sub-prop in a plurality of sub-prop configuration slots in response to a selection operation of the sub-prop in a plurality of sub-prop options.
[0283] In some embodiments, the first display module 2001 is further configured to:
[0284] Displaying a close control for the first virtual item on the configuration interface;
[0285] In response to the triggering operation of the close control, the configuration interface of the first virtual item is canceled from being displayed.
[0286] In some embodiments, the apparatus further comprises an acquisition module configured to:
[0287] In response to an acquisition operation on the virtual resources corresponding to some or all of the sub-props, the virtual resources corresponding to some or all of the sub-props are acquired.
[0288] In some embodiments, the acquisition module is configured to:
[0289] In response to the virtual object's picking operation on the virtual resources corresponding to some or all of the sub-props, the virtual resources corresponding to some or all of the sub-props are displayed on the virtual object's resource interface, which is used to display the virtual resources owned by the virtual object.
[0290] In some embodiments, the first display module 2001 is further configured to:
[0291] In response to the virtual object generating an interactive behavior, the configuration interface of the first virtual prop is replaced with the configuration interface of the second virtual prop, where the second virtual prop is the virtual prop used by the virtual object before using the first virtual prop.
[0292] In some embodiments, the first display module 2001 is further configured to:
[0293] The number of times prompt information is displayed on the configuration interface, and the number of times prompt information is used to prompt that the number of times the first virtual prop is used to obtain the virtual resource is once.
[0294] In some embodiments, when displaying virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface, the second display module 2002 is further configured to:
[0295] A success prompt message is displayed, which indicates that the virtual resource has been obtained.
[0296] An embodiment of the present application provides a device for obtaining virtual resources, which provides a virtual prop configured with multiple sub-props, where the sub-props are first-category sub-props or second-category sub-props. The first-category sub-props correspond to virtual resources, and the second-category sub-props are used to increase at least one of the risk level of failure in obtaining virtual resources and the resource level of the virtual resources obtained by the first-category sub-props. When using the virtual props, either the first-category sub-props or the second-category sub-props may be selected. If the first-category sub-props are selected, the virtual resources can be obtained, but if the second-category sub-props are selected, the virtual resources cannot be obtained. It is precisely because of this uncertainty that the randomness of obtaining virtual resources is guaranteed; and while bearing the high risk of failure, there is a chance to obtain virtual resources of high resource levels, which enhances the fun and game-playing nature, and thus helps promote interaction based on the virtual props.
[0297] Please refer to Figure 21 , which shows a block diagram of a computer device 2100 provided in one embodiment of the present application. The computer device 2100 may be a terminal device 10 or a server 20 in an implementation environment, and the computer device 2100 is used to implement the method for obtaining virtual resources provided in the above embodiment. Specifically:
[0298] Typically, the computer device 2100 includes a processor 2110 and a memory 2120 .
[0299] The processor 2110 may include one or more processing cores, such as a 4-core processor, a 21-core processor, and the like. The processor 2110 may be implemented in at least one hardware form of digital signal processing (DSP), field programmable gate array (FPGA), and programmable logic array (PLA). The processor 2110 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a central processing unit; the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 2110 may include a GPU, which is responsible for executing the method steps provided in this application. In some embodiments, the processor 2110 may also include an AI processor for processing computing operations related to machine learning.
[0300] The memory 2120 may include one or more computer-readable storage media, which may be non-transitory. The memory 2120 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2120 is used to store a computer program, which is configured to be executed by one or more processors (such as a GPU) to implement the above-mentioned method for obtaining virtual resources.
[0301] Those skilled in the art will understand that Figure 21 The structure shown in the figure does not constitute a limitation on the computer device 2100, and the computer device 2100 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0302] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the method for acquiring virtual resources of any of the above implementations.
[0303] An embodiment of the present application also provides a computer program product, which includes a computer program, the computer program is stored in a computer-readable storage medium, the processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method for obtaining virtual resources in any of the above-mentioned implementation methods.
[0304] In some embodiments, the computer program product involved in the embodiments of the present application can be deployed and executed on a computer device, or on multiple computer devices located at one location, or on multiple computer devices distributed at multiple locations and interconnected through a communication network. Multiple computer devices distributed at multiple locations and interconnected through a communication network can constitute a blockchain system.
[0305] It should be noted that the collection and processing of relevant data in this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in practice, and the informed consent or separate consent of the personal information subject should be obtained. Subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.
[0306] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application do not limit this.
[0307] All of the above optional technical solutions can be combined in any way to form optional embodiments of the present application, and will not be described in detail here. The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A method for acquiring virtual resources, characterized in that: The method comprises: Displaying a configuration interface for a first virtual item, the configuration interface including a plurality of sub-item configuration slots, the sub-item configuration slots being used to configure a first-category sub-item or a second-category sub-item, the first-category sub-item being a sub-item used to obtain virtual resources, the second-category sub-item being a risk sub-item, the risk sub-item being used to increase at least one of a risk level of failure in obtaining virtual resources and a resource level of virtual resources obtained by the first-category sub-item; In response to the use operation of the first virtual prop, the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface are displayed, or the failure prompt information corresponding to the second category of sub-props is displayed, and the failure prompt information is used to prompt the failure of obtaining the virtual resources.
2. The method according to claim 1, characterized in that The method further comprises: In response to a replacement operation on a first sub-item in the plurality of sub-item configuration slots, it is displayed that the first sub-item is replaced with a second-category sub-item, wherein the first sub-item is any one of the first-category sub-items.
3. The method according to claim 2, characterized in that The first virtual prop includes a virtual roulette, and the configuration interface for displaying the first virtual prop includes: Displaying the virtual roulette on the configuration interface, displaying the plurality of sub-item configuration slots on the virtual roulette, displaying the resource type of the corresponding virtual resource on the configuration slot of each sub-item of the first category, and displaying the risk sub-item identifier on the configuration slot of each sub-item of the second category; The displaying of replacing the first sub-prop with the second sub-prop includes: The resource type on the configuration slot of the first sub-item is replaced with the risk sub-item identifier.
4. The method according to claim 2, characterized in that In response to a replacement operation on a first sub-item in the plurality of sub-item configuration slots, displaying that the first sub-item is replaced with a second-type sub-item includes: When the number of the first type of sub-props in the multiple sub-prop configuration slots is greater than a preset number, in response to a replacement operation on the first sub-prop in the multiple sub-prop configuration slots, it is displayed that the first sub-prop is replaced with a second type of sub-prop.
5. The method according to claim 2, characterized in that The method further comprises: In response to a replacement operation on a second sub-item in the plurality of sub-item configuration slots, the second sub-item is displayed as being restored to a first-category sub-item, and the second sub-item is any one of the second-category sub-items.
6. The method according to claim 5, characterized in that In response to the replacement operation on the second sub-prop in the plurality of sub-prop configuration slots, displaying the second sub-prop as restored to the first type of sub-prop includes: In response to the replacement operation on the second sub-prop, displaying a replacement progress indicator, wherein the replacement progress indicator is used to indicate the change process of the second sub-prop; In response to the replacement progress indicator indicating that the replacement is complete, the second sub-prop is displayed as being restored to the first type of sub-prop.
7. The method according to claim 1, characterized in that When displaying the failure prompt message corresponding to the second-category sub-prop, the method further includes at least one of the following: Display the explosion effects corresponding to the second type of sub-props; Displays the target attribute value of the virtual object reduced.
8. The method according to claim 1, characterized in that The method further comprises at least one of the following: Displaying first-level prompt information based on the number of first-category sub-items in the plurality of sub-item configuration slots, the first-level prompt information being used to indicate at least one of the resource level and the risk level, wherein both the resource level and the risk level are negatively correlated with the number of the first-category sub-items; Displaying second-level prompt information based on the number of second-category sub-items in the plurality of sub-item configuration slots, the second-level prompt information being used to indicate at least one of the resource level and the risk level, wherein both the resource level and the risk level are positively correlated with the number of the second-category sub-items; Based on the number of first-category sub-props and the number of second-category sub-props in the multiple sub-prop configuration slots, third-level prompt information is displayed, and the third-level prompt information is used to prompt at least one of the resource level and the risk level, and the resource level and the risk level are both negatively correlated with the number of the first-category sub-props and positively correlated with the number of the second-category sub-props.
9. The method according to claim 8, characterized in that The method further comprises at least one of the following: If the number of the first-category sub-props is less than the first number, displaying a first prompt message, wherein the first prompt message is used to prompt that at least one of the resource level and the risk level has reached the highest level; If the number of the second-category sub-props is greater than the second number, display the first prompt information; If the number of the first-category sub-props is greater than the third number, a second prompt message is displayed, wherein the second prompt message is used to prompt that at least one of the resource level and the risk level has reached the minimum level; If the quantity of the second-category sub-props is less than the fourth quantity, the second prompt information is displayed.
10. The method according to claim 1, characterized in that The configuration interface for displaying the first virtual prop includes: In response to a first configuration operation on the first virtual item, a configuration interface for the first virtual item is displayed.
11. The method according to claim 10, characterized in that After displaying the virtual resource or the failure prompt information, the method further includes: Displaying the first virtual item as unusable for a first duration; After the first time period, in response to a first configuration operation on the first virtual item, the configuration interface of the first virtual item is displayed again.
12. The method according to claim 11, characterized in that The displaying of the first virtual item as unusable within the first time period includes: A resource interface of the virtual object is displayed, wherein the first virtual item is displayed as unusable on the resource interface during the first duration and the first duration is displayed on the resource interface, wherein the resource interface is used to display the virtual resources owned by the virtual object.
13. The method according to claim 1, wherein The method further comprises: In response to a second configuration operation on the first virtual prop, displaying a plurality of sub-prop options on the configuration interface, the plurality of sub-prop options including a first category of sub-props and a second category of sub-props; In response to a selection operation on a sub-item from the plurality of sub-item options, the selected sub-item is configured as a sub-item in the plurality of sub-item configuration slots.
14. The method according to claim 1, wherein The method further comprises: Displaying a close control of the first virtual item on the configuration interface; In response to the triggering operation of the close control, the configuration interface of the first virtual prop is canceled.
15. The method according to claim 1, wherein The method further comprises: In response to an acquisition operation on the virtual resources corresponding to the part or all of the sub-props, the virtual resources corresponding to the part or all of the sub-props are acquired.
16. The method according to claim 15, characterized in that The step of obtaining the virtual resources corresponding to the part or all of the sub-props in response to the operation of obtaining the virtual resources corresponding to the part or all of the sub-props includes: In response to the virtual object's picking up operation on the virtual resources corresponding to some or all of the sub-props, the virtual resources corresponding to some or all of the sub-props are displayed on the resource interface of the virtual object, and the resource interface is used to display the virtual resources owned by the virtual object.
17. The method according to claim 1, wherein After displaying the configuration interface of the first virtual item, the method further includes: In response to the virtual object generating an interactive behavior, the configuration interface of the first virtual prop is replaced with the configuration interface of a second virtual prop, where the second virtual prop is the virtual prop used by the virtual object before using the first virtual prop.
18. The method according to claim 1, wherein The method further comprises: Number prompt information is displayed on the configuration interface, where the number prompt information is used to prompt that the number of times the first virtual item is used to obtain virtual resources is once.
19. The method according to claim 1, wherein In the case of displaying virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface, the method further includes: A success prompt message is displayed, where the success prompt message is used to prompt that the virtual resource has been acquired.
20. A device for acquiring virtual resources, characterized in that: The device comprises: a first display module, configured to display a configuration interface for a first virtual item, the configuration interface comprising a plurality of sub-item configuration slots, the sub-item configuration slots being used to configure a first-category sub-item or a second-category sub-item, the first-category sub-item being a sub-item used to obtain virtual resources, the second-category sub-item being a risk sub-item, the risk sub-item being used to at least one of increase the risk level of failure in obtaining virtual resources and increase the resource level of the virtual resources obtained by the first-category sub-item; The second display module is used to display the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface in response to the use operation of the first virtual prop, or to display the failure prompt information corresponding to the second category of sub-props, wherein the failure prompt information is used to prompt the failure of obtaining the virtual resources.
21. A computer device, characterized in that: The computer device includes a processor and a memory, the memory is used to store a computer program, and the computer program is loaded by the processor to execute the method for obtaining virtual resources according to any one of claims 1 to 19.
22. A computer-readable storage medium, characterized in that The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method for acquiring virtual resources according to any one of claims 1 to 19.
23. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium. The processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the method for obtaining virtual resources according to any one of claims 1 to 19.
Citation Information
Patent Citations
Game interaction control method and device and electronic equipment
CN117138332A
Game data processing method and device, storage medium and computer equipment
CN117379796A