Virtual resource acquisition method and device, equipment and storage medium
By introducing multiple sub-props configuration methods into the virtual environment, the problem of single virtual resource acquisition method is solved, the randomness and challenge of the acquisition process are increased, and the fun and gameplay of the interaction are enhanced.
Patent Information
- Application Number
- CN202510075372.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2045-01-17
AI Technical Summary
In the prior art, the acquisition method of virtual resources in the virtual environment is relatively single, with high randomness, lacks diversity and challenges.
Provide a method for obtaining virtual resources. By displaying the configuration interface of virtual props, users can configure first type subprops or second type subprops. The first type of subprops are used to obtain virtual resources, and the second type of subprops are used to increase the risk level and increase the resource level for failure to obtain virtual resources.
Through this method, the randomness and challenge of the virtual resource acquisition process are increased, the fun and game nature are enhanced, and the interaction based on virtual props is promoted.
Smart Images

Figure CN119587975A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of human-computer interaction technology, and in particular to a method, device, equipment 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 carry out activities in the virtual environment, such as controlling virtual objects to obtain virtual resources in the virtual environment to achieve virtual competition.
[0003] In the related art, virtual resources are placed at some locations in the 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 single. Summary of the invention
[0004] The embodiment of the present application provides a method, device, equipment and storage medium for acquiring virtual resources, which is conducive to promoting interaction based on the virtual props. The technical solution provided by the embodiment of the present application is 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 of 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 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 a risk level of failure to obtain virtual resources and a resource level of virtual resources obtained by the first type of 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 a virtual resource is provided, the device comprising:
[0009] A first display module is used to display a configuration interface of a first virtual item, wherein the configuration interface includes a plurality of sub-item configuration slots, wherein the sub-item configuration slots are used to configure a first type of sub-item or a second type of sub-item, wherein the first type of sub-item is a sub-item used to obtain virtual resources, and the second type of sub-item is a risk sub-item, wherein the risk sub-item is used to increase at least one of the risk level of failure to obtain virtual resources and the resource level of virtual resources obtained by the first type of 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, and the first sub-item is any sub-item in the first-category sub-item.
[0013] In some embodiments, the first virtual prop includes a virtual roulette wheel, and the first display module is used to:
[0014] Displaying the virtual roulette on the configuration interface, displaying the plurality of sub-prop configuration slots on the virtual roulette, displaying the resource type of the virtual resource corresponding to each sub-prop configuration slot of the first category of sub-props, and displaying the risk sub-prop identifier on each sub-prop configuration slot of the second category of sub-props;
[0015] The replacement module is used for:
[0016] Displays that 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 plurality of sub-prop configuration slots is greater than 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 type of sub-prop.
[0019] In some embodiments, the replacement module is further used 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 to be 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 completed, the second sub-prop is displayed to be restored to the first type of sub-prop.
[0024] In some embodiments, when displaying the failure prompt information corresponding to the second type of sub-props, the second display module is further used 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 device further includes a first information display module, configured to perform at least one of the following:
[0028] Based on the number of the first type of sub-props in the plurality of sub-prop configuration slots, displaying first level prompt information, the first level prompt information being used to prompt at least one of the resource level and the risk level, the resource level and the risk level both being negatively correlated with the number of the first type of sub-props;
[0029] Based on the number of the second-category sub-items in the plurality of sub-item configuration slots, display second-level prompt information, wherein the second-level prompt information is used to prompt at least one of the resource level and the risk level, and 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 first prompt information, wherein the first prompt information 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, displaying the first prompt information;
[0034] If the number of the first-category sub-props is greater than the third number, displaying a second prompt message, 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 prop, a configuration interface of the first virtual prop is displayed.
[0038] In some embodiments, after displaying the virtual resource or the failure prompt information, the second display module is further used to:
[0039] Displaying the first virtual item as unusable within a first time period;
[0040] After the first time period, in response to a first configuration operation on the first virtual prop, the configuration interface of the first virtual prop is displayed again.
[0041] In some embodiments, the second display module is used to:
[0042] A resource interface of the virtual object is displayed, the first virtual item is displayed as unusable on the resource interface during the first time period, and the first time period is displayed on the resource interface, the resource interface being used to display 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, wherein the plurality of sub-prop options include a first category of sub-props and a second category of sub-props;
[0045] A configuration module is used to configure the selected sub-item as a sub-item in the multiple sub-item configuration slots in response to a selection operation on the sub-item in the multiple sub-item options.
[0046] In some embodiments, the first display module is further used for:
[0047] Displaying a close control of the first virtual prop on the configuration interface;
[0048] In response to the triggering operation on 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 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.
[0051] In some embodiments, the acquisition module is used to:
[0052] In response to the virtual object's picking up operation of 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 used 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 used for:
[0056] The number prompt information is 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 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 used 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, which includes 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 the 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 the 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-mentioned implementations.
[0062] An embodiment of the present application provides a method for obtaining virtual resources. The method provides a virtual prop configured with multiple sub-props, wherein 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, and 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 an opportunity to obtain virtual resources with a high resource level, 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 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;
[0064] Figure 2 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;
[0065] Figure 3 is a flow chart of a method for acquiring virtual resources provided by an embodiment of the present application;
[0066] Figure 4 is a configuration flow chart of a first virtual prop provided by an embodiment of the present application;
[0067] Figure 5 is a schematic diagram of a resource interface provided by an embodiment of the present application;
[0068] Figure 6 It is a schematic diagram of the correspondence between quantity, resource level and risk level provided by an embodiment of the present application;
[0069] Figure 7It is a schematic diagram of level prompt information provided by an embodiment of the present application;
[0070] Figure 8 is a schematic diagram of first prompt information provided by an embodiment of the present application;
[0071] Fig. 9 is a schematic diagram of a virtual roulette wheel provided by an embodiment of the present application;
[0072] Fig.10 is a schematic diagram of multiple display positions provided by an embodiment of the present application;
[0073] Fig.11 It is a logic flow chart of sub-prop replacement provided by an embodiment of the present application;
[0074] Fig.12 is a schematic diagram of a replacement progress indicator provided by an embodiment of the present application;
[0075] Fig.13 is a logic flow chart of a configuration operation provided by an embodiment of the present application;
[0076] Fig.14 is a flowchart of obtaining virtual resources provided by an embodiment of the present application;
[0077] Fig.15 This is a schematic diagram of obtaining prompt information provided by an embodiment of the present application;
[0078] Fig.16 is a schematic diagram of a resource interface provided by an embodiment of the present application;
[0079] Fig.17 is a schematic diagram of a successful prompt message provided by an embodiment of the present application;
[0080] Fig.18 This is a schematic diagram of failure prompt information provided by an embodiment of the present application;
[0081] Fig.19 is a logic flow chart of the result display provided by an embodiment of the present application;
[0082] Fig. 20 is a block diagram of a device for acquiring virtual resources provided by an embodiment of the present application;
[0083] Fig.21 It is a structural block diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0084] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0085] Figure 1 The structure block diagram of a computer system provided by an exemplary embodiment of the present application is shown. The computer system 100 includes: a terminal 110 and a server 120 .
[0086] The terminal 110 is installed and runs a client 111 that supports a virtual environment, and the client 111 can be a multiplayer online battle program. When the terminal runs the client 111, the user interface of the client 111 is displayed on the screen of the terminal 110. The client 111 can be any one of a large-scale escape and kill 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 gathering game, a first-person shooting game (First-Person Shooting Game, FPS), a third-person shooting game (Third-Person Shooting Game, TPS), a multiplayer online tactical competitive game (Multiplayer Online Battle Arena Games, MOBA), and a strategy game (Simulation Game, SLG). In this embodiment, the client 111 is an FPS game for example. The terminal 110 is a terminal used by the user 112, and the user 112 uses the terminal 110 to control the virtual objects in the virtual environment to carry out activities. The activities of the virtual object include but are not limited to: at least one of moving, jumping, teleporting, releasing skills, using props, adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, and throwing. Indicatively, the virtual object is a virtual character, such as a simulation character or an animation character.
[0087] The virtual environment displayed by the terminal 110 may provide a variety of virtual props, and the configuration files of the various virtual props are already configured on the terminal 110 when the client 111 is installed or updated to the terminal 110. When the virtual props are displayed in the virtual environment, data is directly read from the configuration file on the terminal 110, and then the terminal 110 can display the virtual props.
[0088] The terminal 110 may generally refer to one of a plurality of terminals, and this embodiment is illustrated by taking only one terminal 110 as an example. The device type of the terminal includes at least one of a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop computer, and a desktop computer. The terminal 110 and other terminals are connected to the server 120 via a wireless network or a wired network.
[0089] The server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. The server 120 is used to provide background services for the client supporting the three-dimensional virtual environment. Optionally, the server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, the server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, the server 120 and the terminal adopt 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 data of user accounts used by the terminal 110 and other terminals, such as the user account's avatar, the user account's nickname, the user account's 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 fight, such as 1V1 battle, 3V3 battle, 5V5 battle, etc.; the user-oriented I / O interface 125 is used to establish communication and exchange data with the terminal 110 and / or other terminals through a wireless network or a wired network.
[0091] The method provided in the present 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 (First-Person Shooting Game, FPS), third-person shooter games (Third-Person Shooting Game, TPS), multiplayer online tactical competitive games (Multiplayer Online Battle Arena Games, MOBA), multiplayer survival games, etc. The following embodiments are illustrated by applications in games.
[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] Among them, a plurality of virtual props are displayed on the resource interface 210, and in response to the configuration operation of the first virtual prop 220, the configuration interface 230 of the first virtual prop 220 is displayed, and a plurality of sub-prop configuration slots of the first virtual prop 220 are displayed on the configuration interface 230, and the sub-prop configuration slots are used to configure the first type of sub-props corresponding to the virtual resources or the second type of sub-props used to increase the risk level of failure to obtain virtual resources and the resource level of the virtual resources obtained by the first type of sub-props. 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] The first virtual prop 220 displayed on the configuration interface 230 can be used. In response to the use operation of the first virtual prop 220, the virtual resources 240 corresponding to some or all of the sub-props in the first category of sub-props are displayed, or the failure prompt information 250 corresponding to the second sub-props is displayed, that is, the virtual resources are displayed when the first category of sub-props are selected, and the failure prompt information is displayed when the second category of sub-props are selected. Optionally, the displayed virtual resources 240 are obtained by the virtual object.
[0095] Please refer to Figure 3 , Figure 3 is a flowchart of a method for acquiring virtual resources provided by an embodiment of the present application. 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 301 to 303.
[0096] 301. Display a configuration interface of a first virtual prop, the configuration interface comprising 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.
[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 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 in which multiple sub-props configured in multiple sub-prop configuration slots include at least one first-category sub-prop is used for explanation.
[0098] In the embodiment of the present application, the first virtual prop is used to provide virtual resources. The virtual resources provided by the first virtual prop can be set as needed, such as virtual resources are virtual items, virtual props, 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 different virtual resources corresponding to different sub-props in the first category of sub-props are used as an example for illustration. Among them, 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, different sub-props correspond to virtual resources of different resource types as an example for illustration. Optionally, virtual resources of different resource types have different uses. For example, virtual resources of different resource types are medical supplies, protective items, throwing items, virtual shooting props, fillers for virtual shooting props, virtual melee props, etc.
[0100] In the embodiment of the present application, the second type of sub-props does not correspond to virtual resources. When using the first virtual prop, one of the multiple sub-props configured in the multiple sub-prop configuration slots is selected. If the second type of sub-prop is selected, the acquisition of virtual resources fails. Therefore, the second type of sub-props will increase the risk level of failure to obtain virtual resources. Accordingly, the more the number of the second type of sub-props in the multiple sub-prop configuration slots is, the higher the risk level of failure to obtain virtual resources.
[0101] Among them, the second type of sub-props can also be used to improve the resource level of the virtual resources obtained by the first type of sub-props. Since the greater the number of the second type of sub-props, the higher the risk of failure in obtaining virtual resources, in order to balance the relationship between the risk of failure in obtaining virtual resources and the resource level of the obtained virtual resources, the second type of sub-props can improve 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 a user's main control object in a three-dimensional virtual environment. Exemplarily, the virtual object may be at least one of a virtual character, a virtual animal, a cartoon character, a virtual vehicle, and a virtual animal. A virtual environment is a virtual space in which a virtual object performs 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 may be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment. Other content may 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, bullets and other supply props, as well as shields, armor, armored vehicles and other protective props.
[0104] Wherein, the above-mentioned virtual props provided in the virtual environment are taken as basic virtual props, and 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 carried into the virtual environment by the virtual object, for example, the first virtual props are virtual props existing 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 in the virtual fruit.
[0106] In the 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-prop filled in the filling position corresponding to the first type of sub-prop can be a virtual resource, that is, the virtual resource is filled in the first virtual prop in the form of a sub-prop.
[0107] Optionally, while displaying the configuration interface of the first virtual prop, the first virtual prop is also displayed. Furthermore, since the first virtual prop is a virtual prop that the virtual object already has, displaying the first virtual prop means displaying the virtual object to configure the first virtual prop. The virtual object configuring the first virtual prop may mean that the virtual object holds 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 embodiment 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, which is used to distinguish the strength or weakness of the virtual resource attribute. The resource level of a virtual resource may also refer to the quantity level of the virtual resource, which is 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 the same resource level. Taking multiple virtual resources of the same resource type and the same resource level as an example, weights may be configured for each of the multiple virtual resources, and the weights are used to represent the probability of the virtual resource being selected. Accordingly, when using virtual props, when any sub-prop in the first category of sub-props is selected, based on the resource type and resource level corresponding to the sub-prop, multiple virtual resources belonging to the resource type and the resource level are determined, and based on the respective weights of the multiple virtual resources, one virtual resource is selected from the multiple virtual resources.
[0110] 302. In response to the use operation of the first virtual prop, display the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface, or 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.
[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 virtual resources 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 virtual resources is based on the selection of at least one sub-prop in the first category of sub-props by the use operation, and the second category of sub-props is not selected. The display of failure prompt information 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 failure prompt information is based on the selection of at least one sub-prop in the second category of sub-props by the use operation, and the first category of sub-props is not selected.
[0112] Among them, if different sub-props in the first category of sub-props correspond to the same virtual resource, no matter which sub-prop or sub-props in the first category of sub-props are selected, the same virtual resource is displayed. If each sub-prop in the first category of sub-props corresponds to a virtual resource, the displayed virtual resources 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, and a virtual armor prop may be associated with a virtual head protector prop. Accordingly, if the 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 the 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. The method provides a virtual prop configured with multiple sub-props, wherein 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, and 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 an opportunity 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 is a flow chart of configuring a first virtual item provided by an embodiment of the present application. 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 401 to 403.
[0117] 401. Display the virtual environment where 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 portal control having a resource interface is displayed in the virtual environment, and in response to a trigger operation on the portal 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 where the virtual environment is located, a resource interface of a virtual object is displayed in the virtual environment.
[0119] The resource interface displays a virtual resource list, which displays multiple virtual resources owned by the virtual object, and the multiple virtual resources owned by the virtual object include a first virtual prop. Optionally, the first virtual prop is displayed at the top of the virtual resource list to facilitate the user to use the first virtual prop.
[0120] Optionally, a first configuration control of a first virtual item is displayed on the resource interface, and the first configuration control is used to configure the first virtual item. Further, a discard control of the first virtual item is also displayed on the resource interface, and the discard control is used to discard the first virtual item. Further, first configuration controls and discard controls of other virtual resources are also displayed on the resource interface.
[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 prop 501 is displayed at the top of the virtual resource list, and a first configuration control 502 of the first virtual prop is also displayed on the resource interface.
[0122] 402. 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 for obtaining 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 of the first virtual prop is also a triggering operation of the first configuration control of the first virtual prop on the resource interface. Optionally, the resource interface is canceled while the first virtual prop is displayed. Alternatively, the second configuration control of the first virtual prop is displayed on the interface where the virtual environment is located, and the second configuration control is not displayed on the resource interface, so that the first virtual prop can be configured without entering the resource interface, shortening the interaction path and improving efficiency.
[0124] Wherein, the sub-prop configuration slot is used to configure the first category sub-props or the second category sub-props, then optionally, the multiple sub-props configured by default in the multiple sub-prop configuration slots are all the first category sub-props, and the second category sub-props can be configured in the multiple sub-prop configuration slots through the following step 403. Alternatively, the multiple sub-props configured by default in the multiple sub-prop configuration slots include not only the first category sub-props, but also the second category sub-props.
[0125] In some embodiments, in response to a first configuration operation on a first virtual prop, level prompt information is also displayed on a configuration interface based on the number of first-category sub-props and the number of second-category sub-props in a plurality of sub-prop configuration slots, including at least one of the following implementations.
[0126] (1) Based on the number of first-category sub-props in multiple sub-prop configuration slots, first-level prompt information is displayed, where 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 more the number of first-category sub-props is, the lower the resource level is. Optionally, a first corresponding relationship is established between the number of first-category sub-props and the resource level, and the first corresponding relationship can be a linear or nonlinear relationship, or a discrete corresponding relationship 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 the number of first-category sub-props is, the lower the risk level is. Optionally, a second correspondence is established between the number of first-category sub-props and the risk level, and 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 first-category sub-props is 1 or 2, the risk level is high; if the number of first-category sub-props is 3 or 4, the risk level is medium; if the number of first-category sub-props is 5 or 6, the risk level is low. For example, see Figure 6 , Figure 6 It 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] Among them, the more the number of sub-props in the second category, the higher the resource level. Optionally, a third corresponding relationship is established between the number of sub-props in the second category and the resource level, and the third corresponding relationship can be a linear or nonlinear relationship, or a discrete corresponding relationship between the number and the resource level. Similarly, the more the number of sub-props in the second category, the higher the risk level. Optionally, a fourth corresponding relationship is established between the number of sub-props in the second category and the risk level, and the fourth corresponding relationship can be a linear or nonlinear relationship, or a discrete corresponding relationship 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, third-level prompt information is displayed, where the third-level prompt information is used to prompt at least one of a resource level and a risk level, where 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] Among them, the more the number of sub-props in the first category, the fewer the number of sub-props in the second category, and the lower the resource level. Optionally, a fifth corresponding relationship is established between the number of sub-props in the first category, the number of sub-props in the second category, and the resource level. The fifth corresponding relationship can be a linear or nonlinear relationship, and can also be a discrete corresponding relationship. Similarly, the more the number of sub-props in the first category, the fewer the number of sub-props in the second category, and the lower the risk level. Optionally, a sixth corresponding relationship is established between the number of sub-props in the first category and the number of sub-props in the second category and the risk level. The sixth corresponding relationship can be a linear or nonlinear relationship, and can also be a discrete corresponding 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, giving the user sufficient information output, so that the user can configure the sub-props with reference to the prompted resource level and risk level, that is, more reference information is provided for user interaction, which improves the transparency of information and is conducive to promoting interaction.
[0135] In some embodiments, when the resource level and risk level reach a certain level, additional prompts are given, which includes 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 minimum level.
[0139] (4) If the quantity of the second type of sub-props is less than the fourth quantity, display the second prompt message.
[0140] The first number, the second number, the third number and the fourth number can be set as required. Optionally, the first number is smaller than the second number, the third number is larger than the fourth number, the third number is larger than the first number, and the second number is larger than the fourth number.
[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 level or the lowest level. Since at the highest level, although the resource level is the highest, the risk level is also the highest, that is, the user has a greater probability of failing to obtain virtual resources, and then an additional prompt is given to the user at this time, so that the user configures the sub-props carefully in this case, thereby improving the prompt effect. Since at the lowest level, although the risk level is the lowest, the resource level is also the lowest, that is, the user has a greater probability of obtaining virtual resources with a low resource level, and then an additional prompt is given to the user at this time, so that the user configures the sub-props carefully in this case, thereby improving the prompt effect.
[0142] For example, see Figure 8 , Figure 8 801 is a schematic diagram of the first prompt information provided by an embodiment of the present application. In which, the terminal displays the first prompt information 802 while displaying the level prompt information 801.
[0143] In the embodiment of the present application, multiple sub-prop configuration slots are used to configure multiple sub-props included in the first virtual prop. Optionally, the configuration slots of each sub-prop of the first type of sub-prop also display the resource type of a virtual resource corresponding to each sub-prop, indicating that the sub-prop configured in the configuration slot is used to provide a virtual resource of the resource type. The configuration slots of each sub-prop of the second type of sub-prop also display a risk sub-prop identifier.
[0144] In the embodiment of the present application, multiple sub-prop configuration slots can be presented in different ways. Optionally, the first virtual prop includes a virtual roulette, and the configuration interface for displaying the first virtual prop includes the following implementation methods: displaying a 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 on the configuration slot of each sub-prop of the first type of sub-prop, and displaying the risk sub-prop identifier on the configuration slot of each sub-prop of the second type of sub-prop.
[0145] Among them, the virtual roulette can be circular or polygonal, etc., and there are multiple display positions on the virtual roulette, and the multiple display positions are respectively used to display a sub-prop configuration slot. Optionally, the first virtual prop is a virtual revolving shooting prop, which includes a revolving wheel, and the revolving wheel includes multiple filling positions, and the multiple filling positions are also multiple sub-prop configuration slots for filling multiple sub-props. Optionally, the virtual roulette shows a cross-section of the revolving wheel, and the cross-section of multiple sub-prop configuration slots is displayed on the virtual roulette, and then the multiple sub-props filled in the revolving wheel can be displayed through the virtual roulette.
[0146] Among them, displaying the resource type includes displaying at least one of the type icon and the type text. Displaying the risk sub-prop identifier includes the icon information and text information of the risk sub-prop. For example, see Fig. 9 , Fig. 9 Schematic diagram of a virtual roulette provided by an embodiment of the present application. A plurality of sub-prop configuration slots are displayed on the virtual roulette 901, and the configuration slot 9011 of each sub-prop of the first type of sub-prop displays the resource type of the corresponding virtual resource, and the configuration slot 9012 of each sub-prop of the second type of sub-prop displays the risk sub-prop identifier.
[0147] In some embodiments, the multiple sub-props included in the first virtual prop are configured by default on the platform. In other embodiments, the user can independently configure the multiple sub-props included in the first virtual prop, then optionally, in response to the second configuration operation on the first virtual prop, multiple sub-prop options are displayed on the configuration interface, the multiple sub-prop options include the first category of sub-props and the second category of sub-props; in response to the selection operation of the sub-props in the multiple sub-prop options, the selected sub-props are configured as sub-props 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 of a sub-prop in a plurality of sub-prop options, the process of configuring the selected sub-prop as a sub-prop in a plurality of sub-prop configuration slots may include the following implementation methods: in response to a trigger operation of any sub-prop option in the plurality of sub-prop options, displaying the triggered sub-prop option as a selected state, and in response to a confirmation operation of the selected plurality of sub-prop options, displaying the selected plurality of sub-props on the virtual roulette. If the virtual roulette displays a plurality of sub-props in a default configuration, displaying the selected plurality of sub-props on the virtual roulette means replacing the plurality of sub-props on the virtual roulette with the selected plurality of sub-props.
[0150] In this embodiment, the example of configuring multiple sub-props on the virtual roulette wheel at the same time is used for explanation. In other embodiments, each sub-prop can also be configured separately. In response to the triggering operation of any sub-prop option, the corresponding sub-prop is displayed on the virtual roulette wheel without the need for confirmation operation.
[0151] In the embodiment of the present application, different sub-prop options are provided to the user, so that the user can independently configure the sub-props included in the first virtual prop, which improves the user's independent selectivity and helps enhance user interaction. In addition, by displaying multiple sub-prop options to provide multiple sub-props, the user can select any sub-prop and configure it into the first virtual prop, which obviously improves the convenience of configuration and thus improves the efficiency of human-computer interaction.
[0152] In the embodiment of the present application, multiple sub-prop configuration slots are displayed on the virtual roulette. Since multiple sub-prop configuration slots are used to configure sub-props, multiple sub-props are displayed on one component, which is convenient for management and interaction. And through the display in the form of a virtual roulette, since the virtual roulette can select a sub-prop from multiple sub-props by rotating, it can reflect the selection logic of selecting one from multiple sub-props in the present application, which is convenient for users to understand, improves the transparency of information and enhances the interface display effect.
[0153] In some embodiments, a close control of the first virtual prop is also displayed on the configuration interface; in response to a trigger operation on the close control, the configuration interface of the first virtual prop is canceled. In this embodiment, by providing the close control, the user can conveniently cancel the display of the configuration interface of the first virtual prop, 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, so that 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 of using the first virtual prop to obtain the virtual resource is once.
[0158] In the embodiment of the present application, the number of prompt information can be displayed on the virtual roulette wheel to establish a visual association between multiple sub-props and the number of prompt information, which is convenient for users to understand and improves the efficiency of information transmission. The number of prompt information is displayed to indicate that only one acquisition can be performed, so that more information is transmitted, the user's attention to the resource acquisition function is increased, and the user is more cautious when interacting.
[0159] For example, see Fig. 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 of sub-props in the plurality of sub-prop configuration slots may also be replaced with a sub-prop of the second category, see step 403 below.
[0161] 403. In response to a replacement operation on a first sub-item in a plurality of sub-item configuration slots, display that the first sub-item is replaced with a second-category sub-item, and the first sub-item is any sub-item in the first-category sub-item.
[0162] The replacement operation on the first sub-prop may be a trigger operation on the first sub-prop. Alternatively, the configuration interface also displays a replacement control for each sub-prop, and the replacement operation on each sub-prop refers to a trigger operation on the replacement control of 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-props, the transparency of information is improved, so that the user can understand the distribution of multiple sub-props. When replacing the first sub-prop with the second sub-prop, the information displayed on the configuration slot can be directly replaced, which gives the user feedback, allowing the user to know the progress of his operation while operating, and also improves the convenience and efficiency of replacement.
[0165] It should be noted that the first category of sub-props can not only be replaced by the second category of sub-props, but the second category of sub-props can also be restored to the first category of sub-props. Accordingly, in response to the replacement operation of the second sub-props in the multiple sub-prop configuration slots, the second sub-props are displayed to be restored to the first category of sub-props, and the second sub-props are any sub-props in the second category of sub-props. In this embodiment, the first category of sub-props can not only be replaced by the second category of sub-props, but the second category of sub-props can also be restored to the first category of sub-props. The operation is convenient, the difficulty of sub-prop configuration is reduced, and the flexibility is improved, so that users can flexibly configure sub-props so that the configured sub-props can better adapt to the current situation.
[0166] Among them, the second sub-prop is restored to the first type of sub-prop, that is, 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 is fixed, and each display position is used to display a sub-prop. In response to the replacement operation of 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, that is, the risk sub-prop identifier on the second sub-prop is displayed and replaced with the resource type corresponding to the first sub-prop.
[0167] For example, the first virtual item includes 6 sub-items, and the virtual roulette wheel includes 6 fixed display positions, which are used to display the 6 sub-items respectively. The 6 display positions are position 1 to position 6. Fig.10 , Fig.10 It is a schematic diagram of multiple display positions provided by an 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 display position No. 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 that display position. For example, see Fig.11 , Fig.11 It is a logic 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 being restored to the first type of sub-prop.
[0170] The form of the replacement progress mark can be determined according to the form of the display position of each sub-prop. For example, if each sub-prop is located in a circular area, the replacement progress mark can be a circle surrounding the sub-prop. Optionally, the progress bar fills the circle in a clockwise direction, and the replacement is completed when it is full. For another example, if each sub-prop is located in a cylindrical area, the replacement progress mark can be a cylinder surrounding the cylindrical area. Optionally, the progress bar fills the cylinder from the bottom of the cylinder as the starting point, and the replacement is completed when it is full.
[0171] For example, see Fig.12 , Fig.12 This is a schematic diagram of a replacement progress indicator provided by an 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 in a clockwise direction. When the circle is filled, it means that the replacement is completed. 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 in the process of restoring the second sub-prop to the first sub-prop as an example for explanation. In other embodiments, the replacement progress indicator is also displayed in the process of replacing the first sub-prop with the second sub-prop.
[0174] In some embodiments, the number of a first sub-prop in a plurality of sub-props is restricted, and the process of displaying that the first sub-prop is replaced with a second sub-prop in response to a replacement operation on a first sub-prop in a plurality of sub-prop configuration slots includes the following implementation method: when the number of first sub-props in a plurality of sub-prop configuration slots is greater than a preset number, displaying that the first sub-prop is replaced with a second sub-prop in response to a replacement operation on a first sub-prop in a plurality of sub-prop configuration slots.
[0175] The preset number is the minimum number of first-category sub-props that can be configured in the multiple sub-prop configuration slots. For example, the preset number is 1, which means that at least one first-category sub-prop is configured in the configuration slots of the multiple sub-props.
[0176] In this embodiment, by limiting the number of first-category sub-props in multiple sub-prop configuration slots, it is avoided that the user has difficulty in obtaining virtual resources due to too few or non-existent first-category sub-props, thereby affecting the user experience. By limiting the number of first-category sub-props in multiple sub-prop configuration slots, the number of sub-props is balanced, ensuring that the effect and impact of each sub-prop is within a reasonable range, avoiding imbalance.
[0177] It should be noted that after the first sub-item is displayed as replaced by the second sub-item, if the range to which the quantity of the first sub-item in multiple sub-item configuration slots belongs changes, the resource level and risk level prompted by the update level prompt information will be updated. Optionally, the resource level and risk level corresponding to different ranges of the quantity of the first sub-item are different. For example, the multiple ranges may be 1-2, 3-4, and 5-6, respectively. If the range to which the quantity of the first sub-item belongs does not change, there is no need to update the resource level and risk level. If the range to which the quantity of the first sub-item belongs changes, the prompted resource level and risk level are updated based on the changed quantity. For example, continue to refer to Fig.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 indicated 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 indicated by the level prompt information can be updated based on the combined 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 may be a virtual object hitting other virtual objects or other virtual objects hitting the virtual object. When the virtual object generates the interactive behavior, the configured first virtual prop is automatically replaced with the second virtual prop, so that the virtual object can use the second virtual prop to interact in time, and the user interaction operation is not required to replace the virtual prop, which reduces the operation steps and improves the interaction efficiency.
[0181] It should be noted that, if the first virtual item is in an unusable state, the first virtual item cannot be configured and used, that is, the above steps 402-403 cannot be performed. The above steps 402-403 can be performed only if the first virtual item is not in an unusable state. The reason why the first virtual item is in an unusable state includes at least one of the following: the time from the last use of the first virtual item to the current time does not exceed the preset time; the number of times the first virtual item is used reaches the preset number of times.
[0182] In the embodiment of the present application, the first configuration operation is to click on the first configuration control of the first virtual prop on the resource interface as an example for explanation. In response to the click on the first configuration control, if the first virtual prop is in an unusable state, no information is displayed or prompts 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 controls, and close controls are displayed. Since the virtual roulette, usage controls, and close controls are displayed at the same time, any of these three items can be clicked to interact. Furthermore, clicking on the close control can cancel the display of these three items at the same time. For example, see Fig.13 , Fig.13 It is a logic 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 the 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 Fig.14 , Fig.14 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 for acquiring 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 acquiring virtual resources and the resource level of virtual resources acquired 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 in detail here.
[0187] 1402. In response to a use operation on the first virtual prop, display virtual resources corresponding to some or all of the sub-props in the first category of sub-props 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. Figure 7 , a usage control 702 of the first virtual prop is also displayed on the configuration interface.
[0189] In some embodiments, in response to a use operation of a first virtual prop, a 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 implementations.
[0190] (1) In response to a use operation of a first virtual item, displaying acquisition prompt information, where the acquisition prompt information is used to prompt that the virtual resource is being acquired; in response to the display duration of the acquisition prompt information reaching a second duration, displaying virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface.
[0191] The second duration can be set as needed, such as 3 seconds. The prompt information obtained 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 roulette wheel, showing the rotation effect of the virtual roulette wheel. For example, see Fig.15 , Fig.15 15 is a schematic diagram of obtaining prompt information provided by an embodiment of the present application, wherein obtaining prompt information 1501 is displayed in a virtual environment.
[0192] In this embodiment, acquisition prompt information is displayed during the process of acquiring virtual resources, so that the user can clearly understand the current operation, provide visual interaction for the user, enhance the user's sense of participation, and improve the fun. In addition, by displaying the acquisition prompt information, the user's expectation and excitement for the acquisition result can be enhanced, so that the user can better immerse 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, the process of the sub-prop being launched is displayed, which 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 land on the ground also includes the following implementation method: displaying an explosion effect after the part or all of the sub-props land on the ground, and after the explosion 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 falls to the ground, and virtual resources are displayed after the explosion effect ends. Since the explosion effect has a strong visual impact, it can quickly attract the user's attention. When the virtual resources are displayed after the explosion effect ends, the visual effect is further enhanced, making the user full of anticipation and excitement for the virtual resources to be obtained, creating a richer and more interesting visual experience for the user, thereby improving the user experience.
[0197] (3) The first virtual prop includes a virtual roulette, which includes a plurality of sub-props. In response to the use of the first virtual prop, the virtual roulette is displayed rotating. In response to the virtual roulette stopping rotating, a virtual resource corresponding to a 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, a sub-prop in the first category of sub-props is selected as an example for explanation. Optionally, a pointer is displayed on the virtual roulette wheel, and the pointer points to a fixed position on the virtual roulette wheel. When the virtual roulette wheel stops rotating, the sub-prop that the pointer points to is also the sub-prop located at the position pointed to by the pointer.
[0199] In this embodiment, the virtual roulette wheel is displayed spinning. Such dynamic effects can arouse the user's interest and curiosity better than static effects, enhance the tension and anticipation in the process of acquiring virtual resources, and create a tense and exciting atmosphere. In addition, the 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 acquire 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, a virtual resource corresponding to a fourth sub-prop is displayed. The fourth sub-prop is the sub-prop pointed to when the marquee effect ends.
[0201] In this implementation, a sub-prop of the first type of sub-props is selected as an example for explanation. Optionally, the marquee effect refers to displaying lights on multiple sub-props in turn, and the sub-prop pointed to when the marquee effect ends is also the sub-prop with lights displayed when the marquee effect ends.
[0202] In this embodiment, a marquee motion effect is displayed on multiple sub-props. Since the marquee motion 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 motion 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 part or all of the sub-props in the first category of sub-props are selected based on the use operation, the corresponding virtual resources are read from the 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, which includes virtual resources of multiple resource types, and one type of virtual resources includes virtual resources of different resource levels.
[0204] Table 1
[0205]
[0206] The above embodiments are described by taking one virtual resource of the same resource type and the same resource level as an example. In other embodiments, there are multiple virtual resources of the same resource type and the same resource level, and these multiple virtual resources are respectively configured with weights, and the weights are used to represent the probability of the virtual resource being selected. Accordingly, for the selected sub-prop, based on the resource type and resource level corresponding to the sub-prop, multiple virtual resources belonging to the resource type and the resource level are determined, and based on the respective weights of the multiple virtual resources, one virtual resource is selected from the multiple virtual resources and displayed.
[0207] In the embodiment of the present application, the display of virtual resources in a virtual environment is used as an example for explanation. 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 methods: displaying the virtual resources corresponding to the part or all of the sub-props at a first position in the virtual environment, the distance between the first position and the virtual object is less than a preset distance, and the virtual object is used to obtain the virtual resources at the first position without moving the position. In this embodiment, the virtual resources are displayed at a position close to the virtual object in the virtual environment, which facilitates the acquisition of the virtual resources without the virtual object moving its position, thereby reducing the operation steps, improving the efficiency of the virtual object in obtaining the virtual resources, and also improving the efficiency of human-computer interaction.
[0208] In some embodiments, after the virtual resource is displayed, the first virtual prop is displayed as unusable for a first time period, and after the first time period, in response to a first configuration operation on the first virtual prop, the first virtual prop 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, so that the first virtual prop can be reused and the user's frequent use of the first virtual prop causes the interaction to lose challenge and fun, thereby maintaining the balance of interaction.
[0210] Optionally, displaying the first virtual prop as unusable within a first duration includes the following implementation methods: displaying a resource interface of the virtual object, displaying the first virtual prop 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 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. Not only is a prompt given when the user configures the first virtual prop, but there is no need to display the first virtual prop additionally on other interfaces, which saves display resources and allows other interfaces to display more other information, thereby improving the interface display effect.
[0212] Among them, 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 the first configuration control of the first virtual prop as a non-interactive state.
[0213] For example, see Fig.16 , Fig.16 1 is a schematic diagram of a resource interface provided by an embodiment of the present application. In the resource interface, a text message and a first duration of unusable items are displayed on the 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 the virtual resource is displayed, 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 prop becomes unusable after being used once, the first virtual prop is automatically replaced by the second virtual prop, so that the virtual object can still use other virtual props when the first virtual prop is unusable, and no manual replacement is required, which improves the interaction efficiency. The first virtual prop is automatically replaced by the newly acquired virtual prop, so that the virtual object can still use the newly acquired virtual prop when the first virtual prop is unusable, and no manual replacement is required, which improves the 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, the success prompt message is used to prompt that the virtual resources have been acquired.
[0217] Optionally, the success prompt message not only prompts that the virtual resource has been acquired, but also prompts that the first virtual item can be reused after the first time period. Fig.17 , Fig.17 17 is a schematic diagram of a success prompt information provided by an embodiment of the present application, wherein the success prompt information 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, thereby achieving the integrity of the interaction and 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 an embodiment of the present application, the virtual resource can be directly acquired by the user. Optionally, in response to the acquisition operation of the virtual resource corresponding to the part or all of the sub-props, the virtual resource corresponding to the part or all of the sub-props is stored in the user's resource library. Alternatively, the virtual resource is acquired by a virtual object in the virtual environment. Optionally, in response to the acquisition operation of the virtual resource corresponding to the part or all of the sub-props, the virtual object is controlled to acquire the virtual resource corresponding to the part 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 of the sub-props in response to the acquisition operation of the virtual resources corresponding to the part or all of the sub-props includes the following steps: in response to the virtual object's picking 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 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 pick-up control of the virtual resources is also displayed, and the pick-up operation on the virtual resources is also a triggering operation on the pick-up control. Alternatively, while displaying the virtual resources corresponding to some or all of the sub-props, the pick-up controls corresponding to each virtual resource are also displayed, and the pick-up operation on any virtual resource is also a triggering operation on its pick-up control; or, the pick-up operation on any virtual resource is a triggering operation on the virtual resource.
[0223] In this embodiment, after the virtual resource is displayed based on the first virtual prop, the virtual object can obtain the virtual resource through a picking operation, rather than directly obtaining the virtual resource as the virtual resource of the virtual object. In this way, if the displayed virtual resource is not of interest, the virtual resource can be chosen not to be picked up, and the virtual object does not need to discard the virtual resource later, which obviously improves the autonomous selectivity of the interaction and thus improves the efficiency of human-computer interaction. In addition, obtaining virtual resources through the picking operation of the virtual object adds fun and game-like nature to the previous picking experience without major changes.
[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, and a virtual armor prop may be associated with a virtual head protector. 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 also 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 failure in obtaining the virtual resource.
[0227] In the embodiment of the present application, based on the use operation of the first virtual prop, the first type of sub-props may be selected, or the second type of sub-props may be selected, that is, step 1402 and step 1404 are respectively a possible implementation mode, and in the same use operation, the two exist mutually exclusive, and the sequence numbers of steps 1402-1403 and 1404 are only for the convenience of explanation. 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 acquired, but also prompts that the first virtual item can be reused after the first time period. Fig.18 , Fig.18 18 is a schematic diagram of a failure prompt information provided by an embodiment of the present application, wherein the failure prompt information 1801 is displayed in a virtual environment.
[0229] In this embodiment, in the case of failure in acquiring virtual resources, failure prompt information is displayed, which provides clear operation feedback to the user, achieves the integrity of the interaction, and further improves the user experience.
[0230] In some embodiments, when the failure prompt information corresponding to the second type of sub-props is displayed, 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, the explosion effect is displayed, which improves the efficiency and effect 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 feel the tension and excitement of the acquisition process, thereby improving the user experience. For example, continue to see Fig.18 , while displaying the failure prompt message 1801, an explosion special effect 1802 is also displayed.
[0233] (2) Displaying the target attribute value of the virtual object is reduced.
[0234] The target attribute value may be set as required, such as the target attribute value being 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, so that not only virtual resources can 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, making the user more cautious in configuring sub-props for the first virtual prop, prompting the user to pay more attention to strategy and planning, and helping to enhance user interaction.
[0236] In this embodiment, in response to the use operation of the first virtual item, the process of displaying the failure prompt information may also include the following four implementation methods.
[0237] (1) In response to the use operation of the first virtual prop, display acquisition prompt information, the acquisition prompt information is used to prompt that the virtual resource is being acquired; in response to the display time of the acquisition prompt information reaching a second time length, display failure prompt information. (2) In response to the use operation of the first virtual prop, display some or all of the sub-props of the second category of sub-props launched from the first virtual prop, and display failure prompt information after the part or all of the sub-props land. (3) The first virtual prop includes a virtual roulette, and the virtual roulette includes multiple sub-props. In response to the use operation of the first virtual prop, display the rotation of the virtual roulette, and in response to the virtual roulette stopping the rotation, display failure prompt information, and the second category of sub-props is the sub-prop pointed to when the virtual roulette stops rotating. (4) In response to the use operation of the first virtual prop, display a marquee animation effect on multiple sub-prop configuration slots, and in response to the end of the marquee animation effect, display failure prompt information, and the second category of sub-props is the sub-prop pointed to when the marquee animation effect ends.
[0238] Among them, the specific processes of the above four implementation methods are the same as 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 Fig.19 , Fig.19 It is a logical 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 item is also displayed as unusable within the first time period. This process is the same as the process of displaying the first virtual item 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 prop is used, the first virtual prop enters an unusable state, and after a certain period of time, the first virtual prop can be reused. In this way, even if the virtual resource is not obtained this time, the first virtual prop can be reused after waiting for a certain period of time, which provides a convenient way to obtain virtual resources, is simple to operate, makes the way of obtaining virtual resources more diverse, and improves the efficiency of obtaining virtual resources.
[0242] In the embodiment of the present application, virtual resources can be quickly acquired through the first virtual prop, and users are supported to independently configure the desired virtual resources and resource levels, that is, the user is provided with an opportunity to quickly acquire high-level virtual resources. The operation is simple, and the acquisition methods of virtual resources are enriched, the difficulty of acquiring virtual resources is reduced, and the efficiency of human-computer interaction is improved. It has strong fun and game-like nature, so that virtual objects can acquire high-level virtual resources in the early stage, enriching the experience of acquiring virtual resources, and thus improving the user experience.
[0243] An embodiment of the present application provides a method for obtaining virtual resources. The method provides a virtual prop configured with multiple sub-props, wherein 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, and 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 an opportunity 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 is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0245] Please refer to Fig. 20 , Fig. 20 1 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 introduced above, or it can be set in a computer device. Fig. 20 As shown, the device may include:
[0246] The first display module 2001 is used to display the configuration interface of the first virtual prop, the configuration interface includes a plurality of sub-prop configuration slots, the sub-prop configuration slots are used to configure the first sub-props or the second sub-props, the first sub-props are sub-props used to obtain virtual resources, the second sub-props are risk sub-props, and the risk sub-props are used to increase the risk level of failure to obtain virtual resources and increase the resource level of the virtual resources obtained by the first sub-props;
[0247] The second display module 2002 is used to respond to the use operation of the first virtual prop, display the virtual resources corresponding to some or all of the sub-props in the first category of sub-props in the configuration interface, or display the failure prompt information corresponding to the second category of sub-props, and 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 used to:
[0251] A virtual roulette is displayed on the configuration interface, a plurality of sub-item configuration slots are displayed on the virtual roulette, resource types of corresponding virtual resources are displayed on the configuration slots of each sub-item of the first category of sub-items, and risk sub-item identifiers are displayed on the configuration slots of each sub-item of the second category of sub-items;
[0252] Replacement module 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 used to:
[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, the first sub-prop is displayed to be 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 to be restored to a first-category sub-item, and the second sub-item is any one of the second-category sub-items.
[0258] In some embodiments, a replacement module is used to:
[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 completed, the second sub-prop is displayed to be restored to the first type of sub-prop.
[0261] In some embodiments, when displaying the failure prompt information corresponding to the second type of sub-props, the second display module is further used 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 plurality of sub-item configuration slots, first-level prompt information is displayed, where 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-items;
[0266] Based on the number of second-category sub-items in the plurality of sub-item configuration slots, second-level prompt information is displayed, 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-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, 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 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, displaying a first prompt message, the first prompt message being 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, display the first prompt information;
[0271] 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 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 used 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 used to:
[0276] Displaying the first virtual item as unusable within a first time period;
[0277] After the first time period, in response to the first configuration operation on the first virtual prop, the configuration interface of the first virtual prop is displayed again.
[0278] In some embodiments, the second display module 2002 is used to:
[0279] A resource interface of the virtual object is displayed, a 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, the resource interface is used to display 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, wherein the plurality of sub-prop options include 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 a sub-prop in a plurality of sub-prop options.
[0283] In some embodiments, the first display module 2001 is further used for:
[0284] Displaying a close control of 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 cancelled.
[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 used to:
[0289] In response to the virtual object's picking up operation of 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 used for:
[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 used for:
[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 of using the first virtual prop 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 used to:
[0295] A success prompt message is displayed, which is used to indicate 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, wherein 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, and 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 an opportunity 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 Fig.21 , which shows a structural 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, etc. 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, which is used to process 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 a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, 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 Fig.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 some 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, 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 in any of the above-mentioned implementation methods.
[0304] In some embodiments, the computer program product involved in the embodiments of the present application may 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 by a communication network. Multiple computer devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.
[0305] It should be noted that the relevant data collection and processing in this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in examples, and the informed consent or separate consent of the personal information subject should be obtained, and 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: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after 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 are not limited to this.
[0307] All the above optional technical solutions can be combined in any way to form optional embodiments of the present application, which will not be described one by one 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 protection scope of the present application.
Claims
1. A method for acquiring virtual resources, characterized in that: The method comprises: Displaying a configuration interface of 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 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 a risk level of failure to obtain virtual resources and a resource level of virtual resources obtained by the first type of 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, and the first sub-item is any sub-item in the first-category sub-item.
3. The method according to claim 2, characterized in that The first virtual prop includes a virtual roulette wheel, and the configuration interface for displaying the first virtual prop includes: Displaying the virtual roulette on the configuration interface, displaying the plurality of sub-prop configuration slots on the virtual roulette, displaying the resource type of the virtual resource corresponding to each sub-prop configuration slot of the first category of sub-props, and displaying the risk sub-prop identifier on each sub-prop configuration slot of the second category of sub-props; The displaying of replacing the first sub-prop with the second sub-prop includes: Displays that 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 the replacement operation of the first sub-prop in the plurality of sub-prop configuration slots, displaying that the first sub-prop is replaced with a second type of sub-prop includes: When the number of the first type of sub-props in the plurality of sub-prop configuration slots is greater than 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 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 to be 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 of the second sub-prop in the plurality of sub-prop configuration slots, displaying the second sub-prop 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 completed, the second sub-prop is displayed to be restored to the first type of sub-prop.
7. The method according to claim 1, characterized in that In the case where the failure prompt information corresponding to the second type of sub-props is displayed, 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: Based on the number of the first type of sub-props in the plurality of sub-prop configuration slots, displaying first level prompt information, the first level prompt information being used to prompt at least one of the resource level and the risk level, the resource level and the risk level both being negatively correlated with the number of the first type of sub-props; Based on the number of the second-category sub-items in the plurality of sub-item configuration slots, display second-level prompt information, wherein the second-level prompt information is used to prompt at least one of the resource level and the risk level, and 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 first prompt information, wherein the first prompt information 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, displaying a second prompt message, 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 prop, a configuration interface of the first virtual prop 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 within a first time period; After the first time period, in response to a first configuration operation on the first virtual prop, the configuration interface of the first virtual prop is displayed again.
12. The method according to claim 11, characterized in that The step of displaying the first virtual item as unusable within the first time period includes: A resource interface of the virtual object is displayed, the first virtual item is displayed as unusable on the resource interface during the first time period and the first time period is displayed on the resource interface, the resource interface being used to display virtual resources owned by the virtual object.
13. The method according to claim 1, characterized in that 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 of a sub-item in 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, characterized in that The method further comprises: Displaying a close control of the first virtual prop on the configuration interface; In response to the triggering operation on the close control, the configuration interface of the first virtual prop is canceled.
15. The method according to claim 1, characterized in that The method further comprises: 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.
16. The method according to claim 15, characterized in that The step of acquiring the virtual resources corresponding to some or all of the sub-props in response to the acquisition operation of the virtual resources corresponding to some or all of the sub-props comprises: In response to the virtual object's picking up operation of 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, characterized in that After displaying the configuration interface of the first virtual prop, 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, characterized in that The method further comprises: The number prompt information is 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 virtual resources is once.
19. The method according to claim 1, characterized in that 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 is used to display a configuration interface of a first virtual item, wherein the configuration interface includes a plurality of sub-item configuration slots, wherein the sub-item configuration slots are used to configure a first type of sub-item or a second type of sub-item, wherein the first type of sub-item is a sub-item used to obtain virtual resources, and the second type of sub-item is a risk sub-item, wherein the risk sub-item is used to increase at least one of the risk level of failure to obtain virtual resources and the resource level of virtual resources obtained by the first type of 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 acquiring 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. 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 acquiring virtual resources as described in any one of claims 1 to 19.
Citation Information
Patent Citations
Game prop processing method and device, electronic equipment and storage medium
CN115634453A
Game interaction control method and device and electronic equipment
CN117138332A
Game data processing method and device, storage medium and computer equipment
CN117379796A
System for providing game using game medium and method using the same
JP2015009160A
System and method for granting in-game bonuses to a user
US10252168B1
Cited By
Resource acquisition method and device, equipment and storage medium
CN120298044A