CN111672101A - Method, device, equipment and storage medium for acquiring virtual prop in virtual scene - Google Patents

Method, device, equipment and storage medium for acquiring virtual prop in virtual scene Download PDF

Info

Publication number
CN111672101A
CN111672101A CN202010479423.1A CN202010479423A CN111672101A CN 111672101 A CN111672101 A CN 111672101A CN 202010479423 A CN202010479423 A CN 202010479423A CN 111672101 A CN111672101 A CN 111672101A
Authority
CN
China
Prior art keywords
virtual
prop
item
acquisition
virtual object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010479423.1A
Other languages
Chinese (zh)
Other versions
CN111672101B (en
Inventor
徐戊元
黄缤
唐凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010479423.1A priority Critical patent/CN111672101B/en
Publication of CN111672101A publication Critical patent/CN111672101A/en
Application granted granted Critical
Publication of CN111672101B publication Critical patent/CN111672101B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for acquiring a virtual prop in a virtual scene, and relates to the technical field of virtual scenes. The method comprises the following steps: acquiring prop state information of a virtual object in a virtual scene, wherein the prop state information is used for indicating a virtual prop held by the virtual object; responding to the condition that the state information of the virtual prop meets the specified condition, and unlocking the acquisition permission of the first virtual prop for the virtual object; in response to receiving an instruction for acquiring the first virtual prop, controlling the virtual object to acquire the first virtual prop; according to the scheme, the accuracy of obtaining the virtual prop can be improved, and the human-computer interaction efficiency when the virtual object is controlled to obtain the virtual prop in the virtual scene is further improved.

Description

Method, device, equipment and storage medium for acquiring virtual prop in virtual scene
Technical Field
The embodiment of the application relates to the field of virtual scenes, in particular to a method, a device, equipment and a storage medium for acquiring a virtual prop in a virtual scene.
Background
The battle game is a game in which a plurality of user accounts compete in the same scene. Alternatively, the Battle game may be a Multiplayer Online Battle Arena Games (MOBA), and the player may control the virtual object to acquire the virtual item in the MOBA game to enhance the capability of the virtual object.
In the related technology, a player can open a virtual item acquisition interface in the process of controlling a virtual object, the virtual item acquisition interface comprises various virtual items for acquisition, different virtual items correspond to different exchange resources, and any virtual item can be exchanged as long as the quantity of the resources collected by the virtual object is enough; for example, when a player wants to exchange a certain virtual item and the virtual object is controlled to collect enough resources, the virtual object may be controlled to acquire (i.e., exchange) the virtual item by clicking the acquisition control of the virtual item in the virtual item acquisition interface.
However, the virtual item obtaining interface in the above scheme may include a plurality of virtual items, and when a player selects a virtual item to be exchanged, the player may easily obtain an incorrect virtual item due to misoperation, which affects efficiency of human-computer interaction.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for acquiring a virtual prop in a virtual scene, which can improve the human-computer interaction efficiency when a virtual object is controlled in the virtual scene to acquire the virtual prop. The technical scheme is as follows:
in one aspect, a method for acquiring a virtual item in a virtual scene is provided, where the method includes:
acquiring prop state information of a virtual object in a virtual scene, wherein the prop state information is used for indicating a virtual prop held by the virtual object;
responding to the condition that the state information of the virtual prop meets the specified condition, and unlocking the acquisition permission of the first virtual prop for the virtual object;
and controlling the virtual object to acquire the first virtual prop in response to receiving an instruction of acquiring the first virtual prop.
In one aspect, a method for displaying an interface in a virtual scene is provided, where the method includes:
displaying a scene interface of a virtual scene, wherein the scene interface comprises a picture for observing the virtual scene from a visual angle of a virtual object;
displaying a virtual item acquisition interface in response to receiving an instruction for displaying the virtual item acquisition interface, wherein the virtual item acquisition interface comprises an acquisition control of a first type of virtual item and an acquisition control of a second type of virtual item;
and in response to that the virtual item held by the virtual object does not contain the virtual item of the first type, displaying the acquisition control of the virtual item of the first type in an activated state, and displaying the acquisition control of the virtual item of the second type in a locked state.
In another aspect, a device for acquiring a virtual item in a virtual scene is provided, where the device includes:
the system comprises a state information acquisition module, a state information acquisition module and a state information acquisition module, wherein the state information acquisition module is used for acquiring prop state information of a virtual object in a virtual scene, and the prop state information is used for indicating a virtual prop held by the virtual object;
the permission unlocking module is used for responding to the condition that the state information of the virtual prop meets the specified condition, and unlocking the acquisition permission of the first virtual prop for the virtual object;
and the prop obtaining module is used for responding to a received instruction for obtaining the first virtual prop and controlling the virtual object to obtain the first virtual prop.
In one possible implementation, the apparatus further includes:
and the condition determining module is used for responding to the item state information to indicate that a second virtual item exists in the virtual items held by the virtual object before the permission unlocking module responds to the virtual item state information to satisfy the specified condition and unlock the acquisition permission of the first virtual item for the virtual object, and determining that the virtual item state information satisfies the specified condition.
In a possible implementation manner, the condition determining module is configured to determine that the virtual item state information satisfies the specified condition, in response to that the item state information indicates that a second virtual item exists in the virtual items held by the virtual object, where the second virtual item is a front-end item used for synthesizing the first virtual item.
In a possible implementation manner, the second virtual item is an active triggering type virtual item, and the item state information is further used for indicating the number of times that the second virtual item is actively triggered;
the condition determining module is configured to determine that the virtual item state information satisfies the specified condition in response to that the item state information indicates that the second virtual item exists in the virtual item held by the virtual object, and a number of times that the second virtual item is actively triggered reaches a number threshold.
In one possible implementation, the apparatus further includes:
the first interface display module is used for responding to the fact that the virtual object has the acquisition permission of the first virtual prop and receiving an instruction for displaying a virtual prop acquisition interface, and displaying a first prop acquisition interface, wherein the first prop acquisition interface comprises an acquisition control of the first virtual prop, and the acquisition control of the first virtual prop is in an activated state;
the device further comprises:
and the instruction determining module is used for determining that the instruction for acquiring the first virtual prop is received in response to receiving the trigger operation of the acquiring control of the first virtual prop before the prop acquiring module controls the virtual object to acquire the first virtual prop in response to receiving the instruction for acquiring the first virtual prop.
In a possible implementation manner, in response to that the virtual object has the right to acquire the first virtual item, the first item acquisition interface further includes an acquisition control of a virtual item of a specified type, and the acquisition control of the virtual item of the specified type is in a locked state;
wherein the specified type is a prop type of the second virtual prop.
In one possible implementation, the apparatus further includes:
and the second interface display module is used for responding to the situation that the virtual object does not have the acquisition permission of the first virtual prop, receiving an instruction for displaying a virtual prop acquisition interface, and displaying the second prop acquisition interface, wherein the second prop acquisition interface comprises an acquisition control of the first virtual prop, and the acquisition control of the first virtual prop is in a locking state.
In one possible implementation, the apparatus further includes:
and the prompt information display module is used for responding to the received trigger operation of the acquisition control of the first virtual prop and displaying second prompt information, and the second prompt information is used for prompting the unlocking condition of the acquisition permission of the first virtual prop.
In a possible implementation manner, the virtual item held by the virtual object includes a fourth virtual item, and the fourth virtual item has a function of adding a gain state to the virtual object; the device further comprises:
and the upgrading module is used for upgrading the fourth virtual prop held by the virtual object into a fifth virtual prop in response to that the gain state added by the fourth virtual prop for the virtual object meets the upgrading condition.
In one possible implementation manner, the upgrade module is configured to,
responding to that the gain state added by the fourth virtual prop for the virtual object meets the upgrading condition, and displaying an upgrading control in a scene interface of the virtual scene in an overlapping mode;
and in response to receiving the triggering operation of the upgrading control, upgrading the fourth virtual prop held by the virtual object to the fifth virtual prop.
In another aspect, a computer device is provided, where the computer device includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for acquiring a virtual item in a virtual scene or the method for displaying an interface in a virtual scene, as provided in the embodiment of the present application.
In another aspect, a computer-readable storage medium is provided, where at least one instruction, at least one program, a code set, or an instruction set is stored in the computer-readable storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for acquiring a virtual item in a virtual scene or the method for displaying an interface in a virtual scene, as provided in the embodiment of the present application.
In another aspect, a computer program product is provided, which when running on a computer, causes the computer to execute the method for acquiring a virtual item in a virtual scene or the method for displaying an interface in the virtual scene provided in the embodiments of the present application.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
by aiming at the virtual object in the virtual scene, when the virtual prop already held by the virtual object meets the specified condition, the acquisition permission of other virtual props is unlocked for the virtual object, namely, even if the quantity of resources collected by the virtual object is enough, as long as the virtual prop already held by the virtual object does not meet the condition, the virtual object cannot acquire the first virtual prop, so that the situation that the virtual object is not enough in the condition of holding the virtual prop due to misoperation of a user is avoided, the first virtual prop is wrongly exchanged, the acquisition accuracy of the virtual prop is improved, and the human-computer interaction efficiency when the virtual object is controlled to acquire the virtual prop in the virtual scene is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an interface provided by an exemplary embodiment of the present application;
FIG. 2 is a block diagram of a computer system provided in an exemplary embodiment of the present application;
fig. 3 is a flowchart of a method for acquiring a virtual item in a virtual scene according to an exemplary embodiment of the present application;
fig. 4 is a flowchart of a method for acquiring a virtual item in a virtual scene according to an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of a virtual prop acquisition interface according to the embodiment shown in FIG. 4;
FIG. 6 is a schematic view of another virtual prop acquisition interface according to the embodiment shown in FIG. 4;
fig. 7 is a schematic diagram of an unlocking condition prompt according to the embodiment shown in fig. 4;
FIG. 8 is a schematic illustration of an equipment unlocking flow provided by an exemplary embodiment of the present application;
FIG. 9 is a schematic illustration of an equipment upgrade flow provided by an exemplary embodiment of the present application;
fig. 10 is a block diagram of a structure of a virtual item acquiring apparatus in a virtual scene according to an exemplary embodiment of the present application;
fig. 11 is a block diagram of a computer device according to another exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It is to be understood that reference herein to "a number" means one or more and "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
For ease of understanding, several terms referred to in this application are explained below.
1) Virtual scene
The virtual scene refers to a virtual scene displayed (or provided) when an application program runs on a terminal. The virtual scene can be a simulation environment scene of a real world, can also be a semi-simulation semi-fictional three-dimensional environment scene, and can also be a pure fictional three-dimensional environment scene. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene, and the following embodiments are illustrated by way of example, but not limited thereto, in which the virtual scene is a three-dimensional virtual scene. Optionally, the virtual scene is also used for virtual scene engagement between at least two virtual characters. Optionally, the virtual scene has virtual resources available for at least two virtual characters. Optionally, the virtual scene includes that the virtual world includes a square map, the square map includes a symmetric lower left corner region and an upper right corner region, virtual characters belonging to two enemy camps occupy one of the regions respectively, and a target building/site/base/crystal deep in the other region is destroyed to serve as a winning target.
2) Virtual object
A virtual object refers to a movable object in a virtual scene. The movable object may be at least one of a virtual character, a virtual animal, and an animation character. Alternatively, when the virtual scene is a three-dimensional virtual scene, the virtual object may be a three-dimensional stereo model. Each virtual object has its own shape and volume in the three-dimensional virtual scene, occupying a portion of the space in the three-dimensional virtual scene. Optionally, the virtual character is a three-dimensional character constructed based on three-dimensional human skeleton technology, and the virtual character realizes different external images by wearing different skins. In some implementations, the virtual role can also be implemented by using a 2.5-dimensional or 2-dimensional model, which is not limited in this application.
3) MOBA game
The MOBA game is a game which provides a plurality of base points in the virtual world, and users in different camps control virtual characters to fight against, occupy the base points or destroy enemy camp base points in the virtual world. For example, the MOBA game may divide the user into two enemy paradigms, and disperse the virtual characters controlled by the user in the virtual world to compete with each other, so as to destroy or occupy all the points of enemy as winning conditions. The MOBA game is in the unit of a game, and the duration of the game is from the time of starting the game to the time of reaching a winning condition.
The method provided in the present application may be applied to a virtual reality application program, a three-dimensional map program, a military simulation program, a First Person shooter Game (FPS), a MOBA Game, and the like, and the following embodiments are exemplified by applications in games.
The game based on the virtual scene is composed of one or more game world maps, the virtual scene in the game simulates the scene of a real world, a user can control a main control virtual object in the game to perform actions of walking, running, jumping, shooting, fighting, driving, skill releasing, attacking by other virtual objects, injuring in the virtual scene, attacking other virtual objects and the like in the virtual scene, the interactivity is strong, and a plurality of users can form a team on line to perform a competitive game.
In some embodiments, the player may redeem virtual items that may enhance the capabilities of the master virtual object by collecting resources while controlling the master virtual object to move in the virtual scene, including, but not limited to, improving attributes of the master virtual object (such as speed of movement, offensive power, defensive power, vital value, legal value, etc.), adding gain states to the master virtual object, adding additional active or passive skills to the active virtual object, and so forth.
Referring to fig. 1, a schematic view of an interface provided by an exemplary embodiment of the present application is shown. The virtual scene interface 100 includes a trigger control 110 of a virtual item acquisition interface, and after a player clicks the trigger control 110, a virtual item interface may be triggered and displayed, where the virtual item interface includes a virtual item that can be acquired by a virtual object 120 controlled by the player, and the virtual item that the virtual object 120 has acquired.
Fig. 2 shows a block diagram of a computer system provided in an exemplary embodiment of the present application. The computer system 200 includes: a first terminal 210, a server cluster 220, a second terminal 230.
The first terminal 210 is installed and operated with a client 211 supporting a virtual scene, and the client 211 may be a multiplayer online battle program. When the first terminal runs the client 211, a user interface of the client 211 is displayed on the screen of the first terminal 210. The client can be any one of military simulation programs, MOBA games, large-fleeing and killing shooting games and SLG games. In the present embodiment, the client is an MOBA game for example. The first terminal 210 is a terminal used by the first user 201, and the first user 201 uses the first terminal 210 to control a first virtual object located in the virtual scene for activity, where the first virtual object may be referred to as a master virtual object of the first user 201. The activities of the first virtual object include, but are not limited to: adjusting at least one of body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, throwing. Illustratively, the first virtual object is a first virtual character, such as a simulated persona or an animated persona.
The second terminal 230 is installed and operated with a client 231 supporting a virtual scene, and the client 231 may be a multi-player online battle program. When the second terminal 230 runs the client 231, a user interface of the client 231 is displayed on the screen of the second terminal 230. The client may be any one of military simulation program, MOBA game, large fleeing and killing shooting game, and SLG game, and in this embodiment, the client is the MOBA game for example. The second terminal 230 is a terminal used by the second user 202, and the second user 202 uses the second terminal 230 to control a second virtual object located in the virtual scene for activity, where the second virtual object may be referred to as a master virtual object of the second user 202. Illustratively, the second virtual object is a second virtual character, such as a simulated persona or an animated persona.
Optionally, the first virtual character and the second virtual character are in the same virtual scene. Optionally, the first virtual character and the second virtual character may belong to the same camp, the same team, the same organization, a friend relationship, or a temporary communication right. Alternatively, the first virtual character and the second virtual character may belong to different camps, different teams, different organizations, or have a hostile relationship.
Optionally, the clients installed on the first terminal 210 and the second terminal 230 are the same, or the clients installed on the two terminals are the same type of client on different operating system platforms (android or IOS). The first terminal 210 may generally refer to one of a plurality of terminals, and the second terminal 230 may generally refer to another of the plurality of terminals, and this embodiment is only illustrated by the first terminal 210 and the second terminal 230. The first terminal 210 and the second terminal 230 have the same or different device types, and the device types include: at least one of a smartphone, a tablet, an e-book reader, an MP1MP3 player, an MP4 player, a laptop portable computer, and a desktop computer.
Only two terminals are shown in fig. 2, but there are a plurality of other terminals 240 that may access the server cluster 220 in different embodiments. Optionally, there are one or more terminals 240 corresponding to the developer, a development and editing platform for a client of the virtual scene is installed on the terminal 240, the developer may edit and update the client on the terminal 240, and transmit the updated client installation package to the server cluster 220 through a wired or wireless network, and the first terminal 210 and the second terminal 210 may download the client installation package from the server cluster 220 to implement the update of the client.
The first terminal 210, the second terminal 230, and the other terminals 240 are connected to the server cluster 220 through a wireless network or a wired network.
The server cluster 220 includes at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server cluster 220 is used for providing background services for the clients supporting the three-dimensional virtual scene. Optionally, the server cluster 220 undertakes primary computing work and the terminals undertake secondary computing work; or, the server cluster 220 undertakes the secondary computing work, and the terminal undertakes the primary computing work; or, the server cluster 220 and the terminal perform cooperative computing by using a distributed computing architecture.
In one illustrative example, server cluster 220 includes servers 221 and 226, where servers 221 include a processor 222, a user account database 223, a combat service module 224, and a user-oriented Input/Output Interface (I/O Interface) 225. The processor 222 is configured to load an instruction stored in the server 221, and process data in the user account database 221 and the combat service module 224; the user account database 221 is configured to store data of user accounts used by the first terminal 210, the second terminal 230, and the other terminals 240, such as a head portrait of the user account, a nickname of the user account, a fighting capacity index of the user account, and a service area where the user account is located; the battle service module 224 is used for providing a plurality of battle rooms for the users to fight, such as 1V1 battle, 3V3 battle, 5V5 battle and the like; the user-facing I/O interface 225 is used to establish communication with the first terminal 210 and/or the second terminal 230 through a wireless network or a wired network to exchange data. Optionally, an intelligent signal module 227 is disposed in the server 226, and the intelligent signal module 227 is configured to implement all or part of the functional steps in the method for obtaining a virtual item of a virtual object provided in the following embodiments.
With reference to the above noun introduction and description of implementation environment, please refer to fig. 3, which shows a flowchart of a method for acquiring a virtual item in a virtual scene according to an exemplary embodiment of the present application. The method may be performed by a computer device running an application corresponding to the virtual scene, for example, the computer device may be a terminal (such as each terminal in fig. 2) or the computer device may also be a server (such as the server in fig. 2) running the application corresponding to the virtual scene. As shown in fig. 3, the method may include the steps of:
step 301, obtaining prop state information of a virtual object in a virtual scene, where the prop state information is used to indicate a virtual prop held by the virtual object.
In one possible implementation manner, in response to a change of a virtual item held by a virtual object, the computer device acquires item state information of the virtual object.
In this embodiment of the application, when the virtual item held by the virtual object increases or decreases, the computer device will obtain item state information of the virtual object.
Step 302, responding to that the state information of the virtual item meets the specified condition, and unlocking the acquisition permission of the first virtual item for the virtual object.
Correspondingly, in response to that the state information of the virtual item does not meet the specified condition, the acquisition permission of the first virtual item of the virtual object is not unlocked.
Step 303, in response to receiving the instruction to acquire the first virtual item, controlling the virtual object to acquire the first virtual item.
In a possible implementation manner, the controlling the virtual object to obtain the first virtual item refers to controlling the virtual object to redeem the first virtual item through a virtual resource from a virtual item obtaining interface.
To sum up, according to the scheme shown in the embodiment of the present application, for a virtual object in a virtual scene, when a virtual prop already held by the virtual object meets a specified condition, the acquisition permission of other virtual props is unlocked for the virtual object, that is, even if the number of resources collected by the virtual object is sufficient, as long as the virtual prop already held by the virtual object does not meet the condition, the virtual object cannot acquire the first virtual prop, so that a situation that the virtual object is mistakenly exchanged for the first virtual prop under a condition that a basis for holding the virtual prop is insufficient due to a user misoperation is avoided, thereby improving the accuracy of acquiring the virtual prop, and further improving the human-computer interaction efficiency when the virtual object is controlled to acquire the virtual prop in the virtual scene.
Fig. 4 is a flowchart of a method for acquiring a virtual item in a virtual scene according to an exemplary embodiment of the present application. The method may be performed by a computer device running an application corresponding to the virtual scene, for example, the computer device may be a terminal (such as each terminal in fig. 2) or the computer device may also be a server (such as the server in fig. 2) running the application corresponding to the virtual scene. As shown in fig. 4, the method may include the steps of:
step 401, obtaining prop state information of a virtual object in a virtual scene, where the prop state information is used to indicate a virtual prop held by the virtual object.
In one possible implementation manner, in response to that, in the virtual items held by the virtual object, other virtual items except the consumption-type virtual item are changed, the computer device acquires item state information of the virtual object.
The consumption type virtual prop refers to a virtual prop which can be actively used and is removed after being actively used. For example, the consumption-type virtual item is a virtual drug or the like.
In the virtual scene, the virtual props can be divided into consumption type virtual props and non-consumption type virtual props, wherein when the non-consumption type virtual props held by the virtual objects change, the step of obtaining the prop state information of the virtual objects in the virtual scene is executed, and when the consumption type virtual props held by the virtual objects change, the step of obtaining the prop state information of the virtual objects in the virtual scene is not executed, so that the props state information is prevented from being obtained when the virtual props held by the virtual objects change every time, unnecessary information obtaining steps are reduced, and the effect of saving processing resources and electric quantity resources is achieved.
In this embodiment of the present application, a computer device may obtain item state information of a virtual object in a virtual scene, where the item state information may include an identifier of a virtual item currently held by the virtual object.
Step 402, in response to the item state information indicating that a second virtual item exists in the virtual items held by the virtual object, determining that the virtual item state information satisfies the specified condition.
In one possible implementation manner, when the virtual object already holds the second virtual item, the computer device may determine that the state information of the virtual item of the virtual object satisfies the condition for unlocking the acquisition permission of the first virtual item.
For example, assume that the second virtual item is a lower-grade virtual item than the first virtual item, for example, the second virtual item is a virtual item (e.g., a footwear item) whose movement speed is increased, and the first virtual item is a virtual item (e.g., a weapon, armour, or jewelry-type virtual item) whose combat attributes (e.g., attack, defense, vital value) and active and passive skills (e.g., passive blood draw, passive additive gain state, active defense, active control, etc.) are increased. The shoe prop is a virtual prop with low acquisition difficulty and higher priority in the early stage of operation of a virtual scene, the weapon, armor or ornament virtual prop is high in acquisition difficulty, the virtual prop with lower priority is acquired in the early stage of operation of the virtual scene, and in order to reduce misoperation of a user when the user controls a virtual object to acquire the virtual prop, the virtual prop state information of the virtual object can be determined to meet the condition of unlocking the acquisition permission of the first virtual prop under the condition that the virtual object has acquired the shoe prop.
In a possible implementation manner, the second virtual item is any one of the specified types of virtual items.
Wherein the designated type is different from the prop type of the first virtual prop.
In a possible implementation manner, the second virtual item is an active triggering type virtual item, and the item state information is further used for indicating the number of times that the second virtual item is actively triggered;
when the computer device determines that the virtual item state information satisfies the specified condition in response to the item state information indicating that a second virtual item exists in the virtual item held by the virtual object, the computer device may determine that the virtual item state information satisfies the specified condition in response to the item state information indicating that the second virtual item exists in the virtual item held by the virtual object and the number of times that the second virtual item is actively triggered reaches a number threshold.
In a possible implementation manner, the second virtual item may be an active triggering type virtual item, that is, the user may actively trigger the virtual item to release the skill corresponding to the virtual item. When determining whether the state information of the virtual prop meets the specified condition, the computer device further detects whether the number of times that the user actively triggers the second virtual prop reaches a preset number threshold after the virtual object acquires the second virtual prop, and when the number of times that the user actively triggers the second virtual prop reaches the number threshold, the computer device can determine that the state information of the virtual prop meets the specified condition.
In a possible implementation manner, in response to that the item state information indicates that a second virtual item exists in the virtual items held by the virtual object, and the second virtual item is a front item used for synthesizing the first virtual item, it is determined that the virtual item state information satisfies the specified condition.
The second virtual prop is a front prop for synthesizing the first virtual prop, which means that the first virtual prop is synthesized by two or more props, and the second virtual prop is any one of the two or more props.
In the embodiment of the application, when the first virtual item is synthesized by two or more items, if the virtual object holds any one of the two or more items, the computer device unlocks the virtual object to obtain the right of the second virtual item; on the contrary, if the virtual object does not hold any of the two or more items, the computer device does not unlock the acquisition permission of the second virtual item of the virtual object.
When the first virtual prop is synthesized by two or more props, the computer device unlocks the acquisition permission of the first virtual prop for the virtual object, namely, the computer device unlocks the acquisition permission of other virtual props except the second virtual prop in the two or more props, namely, after the virtual object acquires the second virtual prop, the computer device unlocks the acquisition permission of the other virtual props for the virtual object for other virtual props which can be synthesized into a new virtual prop with the second virtual prop.
For example, assuming that virtual prop a is synthesized from virtual prop a1 and virtual prop a2, when a virtual object holds virtual prop a1, the computer device will unlock virtual prop a2 and the right to acquire virtual prop a, and accordingly, when the user performs an operation of acquiring virtual prop a or virtual prop a2, the computer device will control the virtual object to acquire virtual prop a2, and synthesize virtual prop a2 and virtual prop a2 to obtain virtual prop a.
And step 403, in response to that the state information of the virtual item meets the specified condition, unlocking the acquisition permission of the first virtual item for the virtual object.
In a possible implementation manner, when the computer device determines that the state information of the virtual item meets the specified condition, the virtual item acquisition permission of the virtual object may be updated, for example, the identifier of the first virtual item is added to the permission list of the virtual object.
Step 404, in response to that the virtual object has the right to acquire the first virtual item and that an instruction to display a virtual item acquisition interface is received, displaying a first item acquisition interface, where the first item acquisition interface includes an acquisition control of the first virtual item, and the acquisition control of the first virtual item is in an activated state.
In this embodiment of the application, when a virtual object has an acquisition permission of a first virtual item, if a user performs an operation of displaying an acquisition interface of the virtual item, a terminal corresponding to the virtual object displays the acquisition interface of the first virtual item in a display screen, and in the acquisition interface of the first item, an acquisition control of the first virtual item is in an activation state allowing the operation.
Step 405, in response to that the obtaining control of the first virtual item is in an activated state and a trigger operation on the obtaining control of the first virtual item is received, determining that an instruction for obtaining the first virtual item is received.
In a possible implementation manner, in response to that the virtual object has the right to acquire the first virtual item, the first item acquisition interface further includes an acquisition control of the virtual item of the specified type, and the acquisition control of the virtual item of the specified type is in a locked state; wherein the specified type is the prop type of the second virtual prop.
For example, please refer to fig. 5, which shows a schematic diagram of a virtual item obtaining interface according to an embodiment of the present application. As shown in fig. 5, the first virtual item is any one of the virtual items in the "skill" column in fig. 5, the second virtual item is any one of the virtual items (i.e., footwear items) in the "advanced" column in fig. 5, where the virtual object currently holds one footwear item 51, in fig. 5, the obtaining controls 52 of the footwear items in the "advanced" column are all in a locked state, and the obtaining controls 53 of the virtual items in the "skill" column are all in an activated state. Therefore, under the condition that the virtual object already has one shoe prop, the user cannot control the virtual object to obtain another shoe prop, and the condition that two shoe props are mistakenly exchanged due to misoperation of the user is avoided.
In one possible implementation manner, in response to receiving a trigger operation on an acquisition control of a third virtual item, displaying first prompt information; the third virtual item is any one of the specified types of virtual items; the first prompt message is used for prompting that the virtual object already holds the virtual item of the specified type.
For example, taking fig. 5 as an example, in this embodiment of the present application, in a case that a virtual object already holds one footwear item 51, if an acquisition control 52 of another footwear item is triggered, the computer device prompts, through a first prompt message, the user that the virtual object already holds the footwear item and cannot purchase another footwear item, if the user needs to replace another footwear item, the user may first give up (e.g., destroy or sell) the already held footwear item, and then exchange another footwear item.
Step 406, in response to receiving the instruction to acquire the first virtual item, controlling the virtual object to acquire the first virtual item.
In a possible implementation manner, under the condition that a virtual object has an acquisition permission of a first virtual item, a computer device displays an information display interface of the first virtual item in response to receiving a trigger operation on an acquisition control of the first virtual item, wherein the information display interface displays introduction information of the first virtual item, and a redemption control of the first virtual item, and controls the virtual object to acquire the first virtual item in response to receiving the trigger operation on the redemption control of the first virtual item.
Step 407, in response to that the virtual object does not have the permission to acquire the first virtual item and receives an instruction to display a virtual item acquisition interface, displaying a second item acquisition interface, where the second item acquisition interface includes an acquisition control of the first virtual item, and the acquisition control of the first virtual item is in a locked state.
In this embodiment of the application, if the virtual object does not have the right to acquire the first virtual item, in the virtual item acquisition interface, the acquisition control of the first virtual item is in a non-triggerable locking state.
For example, please refer to fig. 6, which shows a schematic diagram of another virtual item obtaining interface according to an embodiment of the present application. As shown in fig. 6, the first virtual item is any one of the virtual items in the column of "skill" in fig. 6, and the second virtual item is any one of the virtual items in the column of "senior" in fig. 6 (i.e., footwear items), where the virtual object does not currently hold a footwear item in the column of "senior", in fig. 6, the obtaining controls 61 of the footwear items in the column of "senior" are all in an activated state, and the obtaining controls 62 of the virtual items in the column of "skill" are all in a locked state. Therefore, under the condition that the virtual object does not hold any shoe prop, the user cannot control the virtual object to obtain the virtual prop in the skill row, and the false exchange of the virtual prop in the skill row due to misoperation of the user is avoided.
Step 408, in response to receiving the trigger operation of the acquisition control of the first virtual item, displaying second prompt information, where the second prompt information is used to prompt an unlocking condition of the acquisition permission of the first virtual item.
In a possible implementation manner, under the condition that the virtual object does not have the permission to acquire the first virtual item, the computer device displays an information display interface of the first virtual item in response to receiving a trigger operation on an acquisition control of the first virtual item, where introduction information of the first virtual item and an unlocking condition of the permission to acquire the first virtual item are displayed in the information display interface.
For example, please refer to fig. 7, which shows an unlocking condition prompt diagram according to an embodiment of the present application. As shown in fig. 7, under the condition that the virtual object does not have the right to acquire the first virtual item, the acquisition control 71 of the first virtual item is in a locked state, at this time, after the user triggers the acquisition control of the first virtual item, an information display interface 72 of the first virtual item is displayed, and the information display interface includes prompt information 73 of an unlocking condition of the right to acquire the first virtual item.
Taking the example that after a user controls a virtual object to obtain a certain level of virtual prop (such as the footwear prop in fig. 5), the virtual prop of the next level (such as the skill prop in fig. 5) is unlocked, according to the above-mentioned scheme in the embodiment of the present application, from the interface display angle of the terminal side, the implementation steps of the interface display of the virtual scene may be as follows:
step a, a scene interface of a virtual scene is displayed, wherein the scene interface comprises a picture for observing the virtual scene from a visual angle of a virtual object.
And b, responding to a received instruction for displaying the virtual prop acquisition interface, wherein the virtual prop acquisition interface comprises an acquisition control of the first type of virtual prop and an acquisition control of the second type of virtual prop.
And c, responding to the fact that the virtual prop of the first type is not contained in the virtual prop held by the virtual object, displaying the obtaining control of the virtual prop of the first type in an activated state, and displaying the obtaining control of the virtual prop of the second type in a locked state.
And d, responding to the situation that any one virtual item of the first type is not contained in the virtual items held by the virtual object, displaying the acquisition control of the virtual item of the first type in a locking state, and displaying the acquisition control of the virtual item of the second type in an activation state.
Step 409, in response to that the gain state added by the fourth virtual item to the virtual object satisfies the upgrade condition, upgrading the fourth virtual item held by the virtual object to a fifth virtual item.
The virtual item held by the virtual object comprises a fourth virtual item, and the fourth virtual item has a function of adding a gain state to the virtual object.
In one possible implementation manner, in response to that the gain state added by the fourth virtual item for the virtual object satisfies an upgrade condition, upgrading the fourth virtual item held by the virtual object to a fifth virtual item, including:
responding to that the gain state added by the fourth virtual prop for the virtual object meets the upgrading condition, and displaying an upgrading control in a scene interface of the virtual scene in an overlapping mode;
and in response to receiving the triggering operation of the upgrading control, upgrading the fourth virtual prop held by the virtual object to the fifth virtual prop.
In this embodiment of the application, when the fourth virtual item meets the condition of upgrading to the fifth virtual item, the user controls whether to upgrade, that is, when the fourth virtual item meets the upgrade condition, an upgrade control is displayed in a scene interface of a virtual scene, and if the user triggers the upgrade control, the fourth virtual item is upgraded to the fifth virtual item.
To sum up, according to the scheme shown in the embodiment of the present application, for a virtual object in a virtual scene, when a virtual prop already held by the virtual object meets a specified condition, the acquisition permission of other virtual props is unlocked for the virtual object, that is, even if the number of resources collected by the virtual object is sufficient, as long as the virtual prop already held by the virtual object does not meet the condition, the virtual object cannot acquire the first virtual prop, so that a situation that the virtual object is mistakenly exchanged for the first virtual prop under a condition that a basis for holding the virtual prop is insufficient due to a user misoperation is avoided, thereby improving the accuracy of acquiring the virtual prop, and further improving the human-computer interaction efficiency when the virtual object is controlled to acquire the virtual prop in the virtual scene.
By taking an MOBA game scene as an example, the scheme disclosed by the application increases equipment unlocking on the basis of purchasing equipment through resources, the equipment charging and equipment upgrading functions enrich an equipment obtaining system, meanwhile, misoperation of a user in the process of obtaining the virtual prop is reduced, and the human-computer interaction efficiency is improved.
In one possible solution, the solution presented in the present application provides an equipment unlocking function: that is, a part of the accessory is in a locked state when the player does not make a purchase of the corresponding accessory, and the player can select the locked state accessory to view the unlocking condition of the part of the accessory. When the player purchases the corresponding equipment and the unlocking condition of the part of equipment is met, the equipment is unlocked, and the player is allowed to purchase the equipment. For example, in fig. 5 to 7 described above, when the advanced shoe equipment is not purchased, the skill list equipment is in a locked state. Clicking the equipment in the locking state can view the detailed information of the equipment and explain the unlocking mode. After purchasing the advanced shoe equipment, the skill list equipment is unlocked and the player can perform the purchasing operation.
Wherein, the logic of equipment unlocking is as follows: when the existing equipment of the player changes, whether the locking equipment meets the unlocking condition is judged, such as: whether the equipment can be combined with other equipment of the player to be upgraded into other equipment, if so, the corresponding equipment is unlocked, and the player is allowed to purchase the equipment. Please refer to fig. 8, which shows a schematic diagram of an equipment unlocking flow provided in an exemplary embodiment of the present application. As shown in fig. 8, the process of arming unlocking is as follows:
s81, detecting that the player behavior causes a change in existing equipment.
For example, in a MOBA game scenario, when a player performs actions such as purchasing, selling, or canceling virtual accessories, the computer device may detect that the type and content of the accessories purchased by the player have changed.
And S82, judging whether the locking equipment meets the unlocking condition.
The computer device can judge whether a piece of locking equipment a can be synthesized with equipment on the player to be upgraded to other locking equipment b, and if so, the locking equipment a and the locking equipment b are unlocked.
Or, the computer device may determine whether the equipment on the player includes a previous-stage equipment corresponding to a certain locking equipment, and if so, unlock the locking equipment; for example, the locking equipment is skill-type equipment and the previous level of equipment is footwear equipment, and the computer device unlocks the locking equipment assuming the player already has footwear equipment on his body.
S83, refreshing the display state of the locking device.
If it is determined in S82 that the locked equipment satisfies the unlocking condition (i.e., the unlocking condition set by the planner is satisfied), the computer device unlocks the locked equipment and allows the player to perform a purchase operation.
When the player performs operations such as purchasing, selling, and canceling of the equipment a plurality of times, the computer device performs the operations S81 to S83 and performs different interface displays according to the locked state (locked and unlocked) of the equipment after each operation.
In a possible solution, the solution shown in the present application further provides an equipment upgrading function: i.e., partial arming, allows a player to charge, e.g., release skills, through a gaming activity when the player purchases the equipment. When the charging energy meets the upgrading condition to a certain extent, the equipment can be upgraded and replaced into another piece of equipment, and new attributes and effects are obtained. In the equipment capable of charging and upgrading the equipment, the description content comprises charging conditions and upgrading equipment after charging is finished. After the equipment is charged, the equipment is replaced by upgraded equipment, and attribute enhancement and new characteristics are obtained.
Wherein, the logic of equipment energy charging is as follows: and after purchasing the energy-charging equipment, the player acquires the equipment skill, adds a corresponding skill gain (BUFF), performs energy charging and detection each time when the player performs operation meeting the energy charging condition, and changes the equipment on the player into corresponding upgrading equipment if the energy charging value reaches the upper limit condition of the configuration data. Referring to fig. 9, a schematic diagram of an equipment upgrade process provided by an exemplary embodiment of the present application is shown. As shown in fig. 9, the process of equipment upgrade is as follows:
s91, the player obtains the energy charging equipment.
S92, adding a fill energy BUFF to the object controlled by the player.
S93, adding energy to the object controlled by the player.
When the player control virtual object purchases the energy charging equipment, the computer device adds the equipment to the logic layer through frame data, when the energy charging condition is met, for example, the player control virtual object attacks or releases skills, the computer device detects the operation behavior of the player and triggers flow data detection, when the player behavior is detected to meet the energy charging condition, the energy charging Buff is added to the virtual object when the virtual object controlled by the player is determined to trigger the addition of the energy charging BUFF, and for example, the energy charging value is increased.
And S94, judging whether the charge capacity reaches the upper limit, if so, entering S95, and otherwise, returning to S93.
After triggering the superposition charging each time, the computer device determines whether the charging value has reached a time threshold (i.e., an upper limit of the value of the planned design configuration) while increasing the charging value.
S95, replace the equipment.
And when the computer equipment judges that the charging energy reaches the upper limit, replacing the chargeable equipment into upgraded equipment, finding the equipment before replacement through configuration, deleting related data, and deleting the charging energy BUFF.
The scheme shown in the embodiment of the application reduces misoperation of a user in the process of controlling the virtual object to acquire the virtual prop, improves the man-machine interaction efficiency, and can also increase the acquisition mode of the virtual prop, and the acquisition mode of part of the virtual prop is obtained by unlocking and purchasing after other equipment is purchased: namely, the user needs to purchase the equipment B only on the basis of owning the equipment A, the money (virtual prop) of the player can not be stocked on the hand under the scheme, and the game experience of the equipment A can be obtained in advance. In addition, the acquisition mode of part of the virtual props is obtained by upgrading and replacing the other virtual props after the other virtual props are charged to a certain degree: namely, the equipment A of the player is replaced by a brand-new equipment B after the energy charging parameters reach the standard, and the difficulty degree and the strategy of obtaining the equipment B by the player can be adjusted through the energy charging condition of the equipment A under the scheme.
Fig. 10 is a block diagram of a structure of a virtual item acquiring apparatus in a virtual scene according to an exemplary embodiment of the present application. As shown in fig. 10, the apparatus includes:
a state information obtaining module 1001, configured to obtain prop state information of a virtual object in a virtual scene, where the prop state information is used to indicate a virtual prop held by the virtual object;
the permission unlocking module 1002 is configured to respond that the state information of the virtual item meets a specified condition, and unlock an acquisition permission of the first virtual item for the virtual object;
the property obtaining module 1003 is configured to, in response to receiving an instruction to obtain the first virtual property, control the virtual object to obtain the first virtual property.
In one possible implementation, the apparatus further includes:
and a condition determining module, configured to, before the permission unlocking module 1002 responds that the virtual item state information satisfies a specified condition and unlocks an acquisition permission of the first virtual item for the virtual object, respond that the item state information indicates that a second virtual item exists in the virtual items held by the virtual object, and determine that the virtual item state information satisfies the specified condition.
In a possible implementation manner, the condition determining module is configured to determine that the virtual item state information satisfies the specified condition, in response to that the item state information indicates that a second virtual item exists in the virtual items held by the virtual object, where the second virtual item is a front-end item used for synthesizing the first virtual item.
In a possible implementation manner, the second virtual item is an active triggering type virtual item, and the item state information is further used for indicating the number of times that the second virtual item is actively triggered;
the condition determining module is configured to determine that the virtual item state information satisfies the specified condition in response to that the item state information indicates that the second virtual item exists in the virtual item held by the virtual object, and a number of times that the second virtual item is actively triggered reaches a number threshold.
In one possible implementation, the apparatus further includes:
the first interface display module is used for responding to the fact that the virtual object has the acquisition permission of the first virtual prop and receiving an instruction for displaying a virtual prop acquisition interface, and displaying a first prop acquisition interface, wherein the first prop acquisition interface comprises an acquisition control of the first virtual prop, and the acquisition control of the first virtual prop is in an activated state;
the device further comprises:
an instruction determining module, configured to determine that the instruction for acquiring the first virtual item is received in response to receiving a trigger operation on an acquisition control of the first virtual item, before the item acquisition module 1003 controls the virtual object to acquire the first virtual item in response to receiving the instruction for acquiring the first virtual item.
In a possible implementation manner, in response to that the virtual object has the right to acquire the first virtual item, the first item acquisition interface further includes an acquisition control of a virtual item of a specified type, and the acquisition control of the virtual item of the specified type is in a locked state;
wherein the specified type is a prop type of the second virtual prop.
In one possible implementation, the apparatus further includes:
and the second interface display module is used for responding to the situation that the virtual object does not have the acquisition permission of the first virtual prop, receiving an instruction for displaying a virtual prop acquisition interface, and displaying the second prop acquisition interface, wherein the second prop acquisition interface comprises an acquisition control of the first virtual prop, and the acquisition control of the first virtual prop is in a locking state.
In one possible implementation, the apparatus further includes:
and the prompt information display module is used for responding to the received trigger operation of the acquisition control of the first virtual prop and displaying second prompt information, and the second prompt information is used for prompting the unlocking condition of the acquisition permission of the first virtual prop.
In a possible implementation manner, the virtual item held by the virtual object includes a fourth virtual item, and the fourth virtual item has a function of adding a gain state to the virtual object; the device further comprises:
and the upgrading module is used for upgrading the fourth virtual prop held by the virtual object into a fifth virtual prop in response to that the gain state added by the fourth virtual prop for the virtual object meets the upgrading condition.
In one possible implementation manner, the upgrade module is configured to,
responding to that the gain state added by the fourth virtual prop for the virtual object meets the upgrading condition, and displaying an upgrading control in a scene interface of the virtual scene in an overlapping mode;
and in response to receiving the triggering operation of the upgrading control, upgrading the fourth virtual prop held by the virtual object to the fifth virtual prop.
To sum up, according to the scheme shown in the embodiment of the present application, for a virtual object in a virtual scene, when a virtual prop already held by the virtual object meets a specified condition, the acquisition permission of other virtual props is unlocked for the virtual object, that is, even if the number of resources collected by the virtual object is sufficient, as long as the virtual prop already held by the virtual object does not meet the condition, the virtual object cannot acquire the first virtual prop, so that a situation that the virtual object is mistakenly exchanged for the first virtual prop under a condition that a basis for holding the virtual prop is insufficient due to a user misoperation is avoided, thereby improving the accuracy of acquiring the virtual prop, and further improving the human-computer interaction efficiency when the virtual object is controlled to acquire the virtual prop in the virtual scene.
Fig. 11 shows a block diagram of a computer device 1100 provided in an exemplary embodiment of the present application. The computer device 1100 may be: smart phones, tablet computers, MP3 players (Moving Picture Experts group Audio Layer III, motion video Experts compression standard Audio Layer 3), MP4 players (Moving Picture Experts compression standard Audio Layer IV, motion video Experts compression standard Audio Layer 4), notebook computers, or desktop computers. Computer device 1100 may also be referred to by other names such as user equipment, portable terminals, laptop terminals, desktop terminals, and the like. Alternatively, the computer device 1100 may be a server on the network side.
Generally, the computer device 1100 includes: a processor 1101 and a memory 1102.
Processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1101 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1101 may also include a main processor and a coprocessor, the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing the content that the display screen needs to display. In some embodiments, the processor 1101 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 can also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1102 is used to store at least one instruction for execution by processor 1101 to implement the methods provided by the method embodiments herein.
In some embodiments, the computer device 1100 may also optionally include: a peripheral interface 1103 and at least one peripheral. The processor 1101, memory 1102 and peripheral interface 1103 may be connected by a bus or signal lines. Various peripheral devices may be connected to the peripheral interface 1103 by buses, signal lines, or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1104, touch display screen 1105, camera 1106, audio circuitry 1107, positioning component 1108, and power supply 1109.
The peripheral interface 1103 may be used to connect at least one peripheral associated with I/O (Input/Output) to the processor 1101 and the memory 1102. In some embodiments, the processor 1101, memory 1102, and peripheral interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1101, the memory 1102 and the peripheral device interface 1103 may be implemented on separate chips or circuit boards, which is not limited by this embodiment.
The Radio Frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts an electric signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electric signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1104 may communicate with other computer devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks, Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1104 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 1105 is used to display a UI (user interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1105 also has the ability to capture touch signals on or over the surface of the display screen 1105. The touch signal may be input to the processor 1101 as a control signal for processing. At this point, the display screen 1105 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 1105 may be one, providing the front panel of the computer device 1100; in other embodiments, the display screens 1105 may be at least two, each disposed on a different surface of the computer device 1100 or in a folded design; in still other embodiments, the display 1105 may be a flexible display disposed on a curved surface or on a folded surface of the computer device 1100. Even further, the display screen 1105 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display screen 1105 may be made of LCD (Liquid Crystal Display), OLED (organic light-Emitting Diode), and the like.
Camera assembly 1106 is used to capture images or video. Optionally, camera assembly 1106 includes a front camera and a rear camera. Generally, a front camera is disposed on a front panel of a computer apparatus, and a rear camera is disposed on a rear surface of the computer apparatus. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1106 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 1107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1101 for processing or inputting the electric signals to the radio frequency circuit 1104 to achieve voice communication. The microphones may be multiple and placed at different locations on the computer device 1100 for stereo sound acquisition or noise reduction purposes. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1101 or the radio frequency circuit 1104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 1107 may also include a headphone jack.
The Location component 1108 is used to locate the current geographic Location of the computer device 1100 for navigation or LBS (Location Based Service). The Positioning component 1108 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in europe.
The power supply 1109 is used to provide power to the various components within the computer device 1100. The power supply 1109 may be alternating current, direct current, disposable or rechargeable. When the power supply 1109 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the computer device 1100 also includes one or more sensors 1110. The one or more sensors 1110 include, but are not limited to: acceleration sensor 1111, gyro sensor 1112, pressure sensor 1113, fingerprint sensor 1114, optical sensor 1115, and proximity sensor 1116.
The acceleration sensor 1111 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the computer apparatus 1100. For example, the acceleration sensor 1111 may be configured to detect components of the gravitational acceleration in three coordinate axes. The processor 1101 may control the touch display screen 1105 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1112 may detect a body direction and a rotation angle of the computer device 1100, and the gyro sensor 1112 may cooperate with the acceleration sensor 1111 to acquire a 3D motion of the user on the computer device 1100. From the data collected by gyroscope sensor 1112, processor 1101 may implement the following functions: motion sensing, image stabilization during shooting, game control, and inertial navigation.
The pressure sensors 1113 may be disposed on the side bezel of the computer device 1100 and/or on the lower layer of the touch display screen 1105. When the pressure sensor 1113 is disposed on the side frame of the computer device 1100, the holding signal of the user to the computer device 1100 can be detected, and the processor 1101 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1113. When the pressure sensor 1113 is disposed at the lower layer of the touch display screen 1105, the processor 1101 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 1105. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1114 is configured to collect a fingerprint of the user, and the processor 1101 identifies the user according to the fingerprint collected by the fingerprint sensor 1114, or the fingerprint sensor 1114 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the user is authorized by the processor 1101 to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 1114 may be disposed on the front, back, or side of the computer device 1100. When a physical key or vendor Logo is provided on the computer device 1100, the fingerprint sensor 1114 may be integrated with the physical key or vendor Logo.
Optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 may control the display brightness of the touch display screen 1105 based on the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1105 is turned down. In another embodiment, processor 1101 may also dynamically adjust the shooting parameters of camera assembly 1106 based on the ambient light intensity collected by optical sensor 1115.
The proximity sensor 1116, also referred to as a distance sensor, is typically disposed on a front panel of the computer device 1100. The proximity sensor 1116 is used to capture the distance between the user and the front of the computer device 1100. In one embodiment, the touch display screen 1105 is controlled by the processor 1101 to switch from a bright screen state to a dark screen state when the proximity sensor 1116 detects that the distance between the user and the front face of the computer device 1100 is gradually decreasing; when the proximity sensor 1116 detects that the distance between the user and the front face of the computer device 1100 becomes progressively larger, the touch display screen 1105 is controlled by the processor 1101 to switch from a breath-screen state to a light-screen state.
Those skilled in the art will appreciate that the configuration illustrated in FIG. 11 does not constitute a limitation of the computer device 1100, and may include more or fewer components than those illustrated, or may combine certain components, or may employ a different arrangement of components.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may be a computer readable storage medium contained in a memory of the above embodiments; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium has stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement the method according to the various embodiments described above.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM). The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The present application also provides a computer program product, which when run on a computer causes the computer to perform the methods provided by the various method embodiments described above.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the aspects disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a scope of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements/instrumentalities shown in the drawings and described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited by the appended claims.

Claims (15)

1. A method for acquiring a virtual item in a virtual scene is characterized by comprising the following steps:
acquiring prop state information of a virtual object in a virtual scene, wherein the prop state information is used for indicating a virtual prop held by the virtual object;
responding to the condition that the state information of the virtual prop meets the specified condition, and unlocking the acquisition permission of the first virtual prop for the virtual object;
and controlling the virtual object to acquire the first virtual prop in response to receiving an instruction of acquiring the first virtual prop.
2. The method according to claim 1, wherein before the responding that the state information of the virtual item satisfies a specified condition and unlocking the acquisition authority of the first virtual item for the virtual object, the method further comprises:
and in response to the item state information indicating that a second virtual item exists in the virtual items held by the virtual object, determining that the virtual item state information meets the specified condition.
3. The method of claim 2, wherein the determining that the virtual item state information satisfies the specified condition in response to the item state information indicating that a second virtual item exists among the virtual items held by the virtual object comprises:
and in response to the item state information indicating that a second virtual item exists in the virtual items held by the virtual object and the second virtual item is a front item used for synthesizing the first virtual item, determining that the virtual item state information meets the specified condition.
4. The method of claim 2, wherein the second virtual item is an active triggered virtual item, and the item status information is further used to indicate a number of times the second virtual item is actively triggered;
the determining that the virtual item state information meets the specified condition in response to the item state information indicating that a second virtual item exists in the virtual items held by the virtual object includes:
and determining that the virtual item state information meets the specified condition in response to that the item state information indicates that the second virtual item exists in the virtual items held by the virtual object and the number of times that the second virtual item is actively triggered reaches a threshold number of times.
5. The method of claim 1, further comprising:
responding to that the virtual object has the acquisition permission of the first virtual prop, receiving an instruction for displaying a virtual prop acquisition interface, and displaying a first prop acquisition interface, wherein the first prop acquisition interface comprises an acquisition control of the first virtual prop, and the acquisition control of the first virtual prop is in an activated state;
the responding to the instruction of obtaining the first virtual prop, and before controlling the virtual object to obtain the first virtual prop, further includes:
and determining that an instruction for acquiring the first virtual item is received in response to receiving a triggering operation of an acquisition control of the first virtual item.
6. The method according to claim 5, wherein in response to the virtual object having the right to acquire the first virtual item, the first item acquisition interface further includes an acquisition control of a virtual item of a specified type, and the acquisition control of the virtual item of the specified type is in a locked state;
wherein the specified type is a prop type of the second virtual prop.
7. The method of claim 1, further comprising:
and responding to the fact that the virtual object does not have the acquisition permission of the first virtual prop, receiving an instruction for displaying a virtual prop acquisition interface, and displaying a second prop acquisition interface, wherein the second prop acquisition interface comprises an acquisition control of the first virtual prop, and the acquisition control of the first virtual prop is in a locking state.
8. The method of claim 7, further comprising:
and displaying second prompt information in response to receiving a trigger operation of the acquisition control of the first virtual prop, wherein the second prompt information is used for prompting an unlocking condition of the acquisition permission of the first virtual prop.
9. The method of claim 1, wherein the virtual items held by the virtual object include a fourth virtual item, and the fourth virtual item has a function of adding a gain state to the virtual object; the method further comprises the following steps:
and in response to that the gain state added by the fourth virtual prop for the virtual object meets the upgrading condition, upgrading the fourth virtual prop held by the virtual object into a fifth virtual prop.
10. The method of claim 9, wherein upgrading the fourth virtual prop held by the virtual object to a fifth virtual prop in response to the gain state added by the fourth virtual prop for the virtual object satisfying an upgrade condition comprises:
responding to that the gain state added by the fourth virtual prop for the virtual object meets the upgrading condition, and displaying an upgrading control in a scene interface of the virtual scene in an overlapping mode;
and in response to receiving the triggering operation of the upgrading control, upgrading the fourth virtual prop held by the virtual object to the fifth virtual prop.
11. An interface display method in a virtual scene, the method comprising:
displaying a scene interface of a virtual scene, wherein the scene interface comprises a picture for observing the virtual scene from a visual angle of a virtual object;
displaying a virtual item acquisition interface in response to receiving an instruction for displaying the virtual item acquisition interface, wherein the virtual item acquisition interface comprises an acquisition control of a first type of virtual item and an acquisition control of a second type of virtual item;
and in response to that the virtual item held by the virtual object does not contain the virtual item of the first type, displaying the acquisition control of the virtual item of the first type in an activated state, and displaying the acquisition control of the virtual item of the second type in a locked state.
12. The method of claim 11, further comprising:
and in response to that any one of the virtual props held by the virtual object does not contain any one of the first type of virtual prop, displaying the acquisition control of the first type of virtual prop in a locked state, and displaying the acquisition control of the second type of virtual prop in an activated state.
13. A virtual prop acquisition device in a virtual scene, the device comprising:
the system comprises a state information acquisition module, a state information acquisition module and a state information acquisition module, wherein the state information acquisition module is used for acquiring prop state information of a virtual object in a virtual scene, and the prop state information is used for indicating a virtual prop held by the virtual object;
the permission unlocking module is used for responding to the condition that the state information of the virtual prop meets the specified condition, and unlocking the acquisition permission of the first virtual prop for the virtual object;
and the prop obtaining module is used for responding to a received instruction for obtaining the first virtual prop and controlling the virtual object to obtain the first virtual prop.
14. A computer device, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which is loaded and executed by the processor to implement the method for acquiring virtual items in a virtual scene according to any one of claims 1 to 10.
15. A computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the computer-readable storage medium, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the method for acquiring virtual items in a virtual scene according to any one of claims 1 to 10.
CN202010479423.1A 2020-05-29 2020-05-29 Method, device, equipment and storage medium for acquiring virtual prop in virtual scene Active CN111672101B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010479423.1A CN111672101B (en) 2020-05-29 2020-05-29 Method, device, equipment and storage medium for acquiring virtual prop in virtual scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479423.1A CN111672101B (en) 2020-05-29 2020-05-29 Method, device, equipment and storage medium for acquiring virtual prop in virtual scene

Publications (2)

Publication Number Publication Date
CN111672101A true CN111672101A (en) 2020-09-18
CN111672101B CN111672101B (en) 2023-04-07

Family

ID=72453493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479423.1A Active CN111672101B (en) 2020-05-29 2020-05-29 Method, device, equipment and storage medium for acquiring virtual prop in virtual scene

Country Status (1)

Country Link
CN (1) CN111672101B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022227958A1 (en) * 2021-04-25 2022-11-03 腾讯科技(深圳)有限公司 Virtual carrier display method and apparatus, device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1151773A2 (en) * 2000-03-15 2001-11-07 Konami Corporation Game system provided with message exchange function, game apparatus used in the game system, message exchange system, and computer readable storage medium
JP2006055660A (en) * 2005-10-27 2006-03-02 Nintendo Co Ltd Game device and storage medium thereof
CN105194873A (en) * 2015-10-10 2015-12-30 腾讯科技(深圳)有限公司 Information-processing method, terminal and computer storage medium
CN109865286A (en) * 2019-02-20 2019-06-11 网易(杭州)网络有限公司 Information processing method, device and storage medium in game
WO2019201007A1 (en) * 2018-04-16 2019-10-24 腾讯科技(深圳)有限公司 Method for displaying object in virtual scene, device, and storage medium
CN110448891A (en) * 2019-08-08 2019-11-15 腾讯科技(深圳)有限公司 Control the method, apparatus and storage medium of virtual objects operation remote dummy stage property
CN111013137A (en) * 2019-12-12 2020-04-17 腾讯科技(深圳)有限公司 Movement control method, device, equipment and storage medium in virtual scene
WO2020103367A1 (en) * 2018-11-22 2020-05-28 网易(杭州)网络有限公司 Virtual object processing method and apparatus, electronic device and storage medium
CN111202979A (en) * 2020-01-06 2020-05-29 腾讯科技(深圳)有限公司 Virtual item control method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1151773A2 (en) * 2000-03-15 2001-11-07 Konami Corporation Game system provided with message exchange function, game apparatus used in the game system, message exchange system, and computer readable storage medium
JP2006055660A (en) * 2005-10-27 2006-03-02 Nintendo Co Ltd Game device and storage medium thereof
CN105194873A (en) * 2015-10-10 2015-12-30 腾讯科技(深圳)有限公司 Information-processing method, terminal and computer storage medium
WO2019201007A1 (en) * 2018-04-16 2019-10-24 腾讯科技(深圳)有限公司 Method for displaying object in virtual scene, device, and storage medium
WO2020103367A1 (en) * 2018-11-22 2020-05-28 网易(杭州)网络有限公司 Virtual object processing method and apparatus, electronic device and storage medium
CN109865286A (en) * 2019-02-20 2019-06-11 网易(杭州)网络有限公司 Information processing method, device and storage medium in game
CN110448891A (en) * 2019-08-08 2019-11-15 腾讯科技(深圳)有限公司 Control the method, apparatus and storage medium of virtual objects operation remote dummy stage property
CN111013137A (en) * 2019-12-12 2020-04-17 腾讯科技(深圳)有限公司 Movement control method, device, equipment and storage medium in virtual scene
CN111202979A (en) * 2020-01-06 2020-05-29 腾讯科技(深圳)有限公司 Virtual item control method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵根: ""LTE网络王者荣耀时延优化的讨探"" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022227958A1 (en) * 2021-04-25 2022-11-03 腾讯科技(深圳)有限公司 Virtual carrier display method and apparatus, device, and storage medium

Also Published As

Publication number Publication date
CN111672101B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN111249730B (en) Virtual object control method, device, equipment and readable storage medium
CN111589124B (en) Virtual object control method, device, terminal and storage medium
CN111589130B (en) Virtual object control method, device, equipment and storage medium in virtual scene
CN111589131A (en) Control method, device, equipment and medium of virtual role
CN111921197B (en) Method, device, terminal and storage medium for displaying game playback picture
CN111589142A (en) Virtual object control method, device, equipment and medium
CN111596838B (en) Service processing method and device, computer equipment and computer readable storage medium
CN111589136B (en) Virtual object control method and device, computer equipment and storage medium
CN112691370B (en) Method, device, equipment and storage medium for displaying voting result in virtual game
CN113509714B (en) Virtual prop synthesis preview method, device, terminal and storage medium
CN111744184A (en) Control display method in virtual scene, computer equipment and storage medium
CN112156464A (en) Two-dimensional image display method, device and equipment of virtual object and storage medium
CN111760278A (en) Skill control display method, device, equipment and medium
CN113289331A (en) Display method and device of virtual prop, electronic equipment and storage medium
CN111744185A (en) Virtual object control method and device, computer equipment and storage medium
CN111672104A (en) Virtual scene display method, device, terminal and storage medium
CN111672102A (en) Virtual object control method, device, equipment and storage medium in virtual scene
CN111589141A (en) Virtual environment picture display method, device, equipment and medium
CN112316421A (en) Equipment method, device, terminal and storage medium of virtual prop
CN112870699A (en) Information display method, device, equipment and medium in virtual environment
CN112354180A (en) Method, device and equipment for updating integral in virtual scene and storage medium
CN112704876A (en) Method, device and equipment for selecting virtual object interaction mode and storage medium
CN111589116A (en) Method, device, terminal and storage medium for displaying function options
CN110833695A (en) Service processing method, device, equipment and storage medium based on virtual scene
CN112156471B (en) Skill selection method, device, equipment and storage medium of virtual object

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40028501

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant