CN113413598A - Virtual article acquisition method and device, computer equipment and storage medium - Google Patents

Virtual article acquisition method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113413598A
CN113413598A CN202110744557.6A CN202110744557A CN113413598A CN 113413598 A CN113413598 A CN 113413598A CN 202110744557 A CN202110744557 A CN 202110744557A CN 113413598 A CN113413598 A CN 113413598A
Authority
CN
China
Prior art keywords
virtual
target virtual
game
target
character
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.)
Pending
Application number
CN202110744557.6A
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110744557.6A priority Critical patent/CN113413598A/en
Publication of CN113413598A publication Critical patent/CN113413598A/en
Pending legal-status Critical Current

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/55Controlling game characters or game objects based on the game progress
    • 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/85Providing additional services to players

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a method and a device for acquiring a virtual article, computer equipment and a storage medium. According to the scheme, when the current player and the teammate player pick up the same virtual article in the same article backpack, the number of the teammate player for acquiring the virtual article is determined, the player for acquiring the virtual article and the acquisition number corresponding to the player are displayed on the game interface, so that the current player can clearly know the pickup information of each teammate player for the virtual article, if the current player lacks the virtual article, the target teammate player needing to send an article acquisition request can be quickly determined according to the pickup information of the virtual article, and the acquisition efficiency of the virtual article in the game can be improved.

Description

Virtual article acquisition method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for acquiring a virtual article, a computer device, and a storage medium.
Background
In some game scenes of hand games or end games, players need to find and pick up various game objects, and complete game tasks by using the picked game objects.
In the existing game scene, players can form a team together with friends to play games, and in the game, when the player supplies are in short supply, the players need to send information to the teammates one by one to acquire virtual articles of the games. The existing virtual article acquisition mode has the disadvantages of complicated operation process and low efficiency.
Disclosure of Invention
The embodiment of the application provides a method and a device for acquiring a virtual article, computer equipment and a storage medium, which can improve the efficiency of acquiring the virtual article in a game.
The embodiment of the application provides a method for acquiring a virtual article, which comprises the following steps:
when the picking operation of a target virtual article in a game interface is detected, a picking information page is displayed on the game interface, and the picking information page at least comprises the following steps: picking up the picking-up information of the target virtual article by other virtual characters;
responding to touch operation acting on the pickup information page, and sending an item acquisition request to a server, wherein the item acquisition request indicates that: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from the other virtual characters.
Correspondingly, the embodiment of the present application further provides an apparatus for acquiring a virtual article, including:
the first display unit is used for displaying a pickup information page on a game interface when a pickup operation of a target virtual item in the game interface is detected, and the pickup information page at least comprises: picking up the picking-up information of the target virtual article by other virtual characters;
a first sending unit, configured to send an item acquisition request to a server in response to a touch operation applied to the pickup information page, where the item acquisition request indicates: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from the other virtual characters.
In some embodiments, the first display unit includes:
a first determining subunit, configured to determine a first number of characters and a number of picks, where the first number of characters is: the number of other virtual characters picking up the target virtual item is as follows: the number of target virtual items picked up by other virtual characters;
a first generating subunit, configured to generate identifier blocks of the first role number, where different identifier blocks indicate different other virtual roles;
a second generating subunit, configured to generate the pickup information page in the game interface based on the identification block and the pickup number, where the pickup information page has relevance display thereon: the identification block and the picking number corresponding to the identification block.
In some embodiments, the first sending unit comprises:
the second determining subunit comprises a step of determining a target identification block from the identification blocks of the first role quantity according to the touch operation;
and the first sending subunit is configured to send an item acquisition request to the server based on the other virtual roles corresponding to the target identification block.
In some embodiments, the apparatus further comprises:
a second display unit, configured to display an input operation page on the game interface, where the input operation page at least includes: inputting a frame and prompt information, wherein the prompt information indicates the number of the target virtual articles required to be acquired;
and the input unit is used for responding to the input operation of the user on the input operation page and displaying the input request number in the input frame.
In some embodiments, the first sending unit comprises:
and the second sending subunit is used for sending the item acquisition request to the server based on the request quantity.
In some embodiments, the apparatus further comprises:
the detection unit is used for acquiring the current number of the target virtual articles owned by the current virtual character and the picking number of the target virtual articles picked by the target virtual character corresponding to the touch operation if the user input operation is not detected within a preset time period;
a first determination unit configured to determine a request number based on the current number and the pickup number;
a second sending unit, configured to send an item acquisition request to the server based on the requested quantity.
In some embodiments, the first determination unit comprises:
a calculating subunit, configured to calculate a difference between the current number and a specified number if the current number is smaller than the specified number;
a second determining subunit, configured to, if the pickup number is greater than or equal to the difference, obtain the request number based on the difference;
a third determining subunit, configured to, if the pickup number is smaller than the difference value, obtain the request number based on the pickup number.
In some embodiments, the apparatus further comprises:
a second determination unit configured to determine a target virtual character from the plurality of other virtual characters based on the number of the target virtual item picked up by each other virtual character, the number of the target virtual item picked up by the target virtual character being the largest;
in some embodiments, the first sending unit comprises:
and the third sending subunit is used for sending an item acquisition request to the server based on the target virtual character.
In some embodiments, the apparatus further comprises:
a fourth determining subunit, configured to determine, if multiple target virtual roles exist, a request number and a second role number, where the request number is: the number of the target virtual articles required by the current virtual role is as follows: the number of target virtual characters;
a fifth determining subunit, configured to determine, according to the request number and the second role number, a request number for requesting each target virtual role for the target virtual item;
and the fourth sending subunit is configured to send an item acquisition request to the server based on the requested number and the plurality of target virtual characters.
In some embodiments, the apparatus further comprises:
a receiving unit, configured to receive feedback information of the server for the item acquisition request, where the feedback information includes: the actual transfer quantity of the target virtual article transferred to the current game account in the game account corresponding to each target virtual character;
a third sending unit, configured to, if the target virtual characters whose actual transfer number is smaller than the pickup number exist in the feedback information, send an item acquisition request to the server again based on the target virtual characters whose actual transfer number is equal to the pickup number.
In some embodiments, the apparatus further comprises:
the first obtaining unit is used for obtaining holding information that a target virtual character has a target virtual article when detecting that the distance between the target virtual character and a current virtual character in the game interface is within a preset distance, wherein the target virtual character and the current virtual character belong to the same battle;
and the third display unit is used for displaying the holding information on the game interface.
In some embodiments, the apparatus further comprises:
a third determining unit, configured to determine, if a touch operation acting on the pickup information page is not detected within a preset time period, a remaining number of the target virtual items based on the information that the other virtual characters pick up the target virtual items;
a fourth sending unit, configured to send a pickup request to the server based on the remaining amount, where the pickup request indicates to transfer the remaining amount of the target virtual item to a current game account.
In some embodiments, the apparatus further comprises:
a second obtaining unit, configured to obtain, if a virtual character to be picked up exists in the other virtual characters, a current number of the target virtual items owned by a current virtual character, where the target virtual item is not picked up by the virtual character to be picked up;
and the prohibiting unit is used for prohibiting the target virtual article from being picked up if the current number is larger than the specified number.
Accordingly, an embodiment of the present application further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the method for acquiring a virtual article provided in any of the embodiments of the present application.
Correspondingly, the embodiment of the application also provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the above method for acquiring the virtual article.
According to the method and the device for acquiring the virtual items, when the current player and the teammate player pick up the same virtual items in the same item backpack, the number of the teammate player for acquiring the virtual items is determined, and the player for acquiring the virtual items and the acquisition number corresponding to the player are displayed on the game interface, so that the current player can clearly know the pickup information of each teammate player for the virtual items, if the current player lacks the virtual items, the target teammate player needing to send an item acquisition request can be quickly determined according to the pickup information of the virtual items, and therefore the acquisition efficiency of the virtual items in the game can be 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 scene schematic diagram of a virtual article acquisition system according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of a method for acquiring a virtual article according to an embodiment of the present disclosure.
Fig. 3 is a schematic view of an application scenario of the virtual article sharing method according to the embodiment of the present application.
Fig. 4 is a schematic view of another application scenario of the virtual article sharing method according to the embodiment of the present application.
Fig. 5 is a schematic view of another application scenario of the virtual article sharing method according to the embodiment of the present application.
Fig. 6 is a schematic view of another application scenario of the method for acquiring a virtual article according to the embodiment of the present application.
Fig. 7 is a schematic view of another application scenario of the method for acquiring a virtual article according to the embodiment of the present application.
Fig. 8 is a schematic flowchart of another virtual article acquisition method according to an embodiment of the present application.
Fig. 9 is a schematic view of another application scenario of the method for acquiring a virtual article according to the embodiment of the present application.
Fig. 10 is a block diagram of a virtual article acquisition apparatus according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a method and a device for acquiring a virtual article, a storage medium and computer equipment. Specifically, the method for acquiring a virtual article according to the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server. The terminal may be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like, and may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform.
For example, when the virtual article acquisition method is operated on a terminal, the terminal device stores a game application program and is used for presenting a virtual scene in a game screen. The terminal device is used for interacting with a user through a graphical user interface, for example, downloading and installing a game application program through the terminal device and running the game application program. The manner in which the terminal device provides the graphical user interface to the user may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device or presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a graphical user interface including a game screen and receiving operation instructions generated by a user acting on the graphical user interface, and a processor for executing the game, generating the graphical user interface, responding to the operation instructions, and controlling display of the graphical user interface on the touch display screen.
For example, when the virtual article acquisition method runs on a server, the virtual article acquisition method can be a cloud game. Cloud gaming refers to a gaming regime based on cloud computing. In the running mode of the cloud game, the running main body of the game application program and the game picture presenting main body are separated, and the storage and the running of the virtual article obtaining method are finished on the cloud game server. The game screen presentation is performed at a cloud game client, which is mainly used for receiving and sending game data and presenting the game screen, for example, the cloud game client may be a display device with a data transmission function near a user side, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, and the like, but a terminal device for performing game data processing is a cloud game server at the cloud end. When a game is played, a user operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the cloud game client through a network, and finally the data are decoded through the cloud game client and the game pictures are output.
Referring to fig. 1, fig. 1 is a schematic view of a scene of a system for acquiring a virtual article according to an embodiment of the present disclosure. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to servers of different games through a network. A terminal is any device having computing hardware capable of supporting and executing a software product corresponding to a game. In addition, the terminal has one or more multi-touch sensitive screens for sensing and obtaining input of a user through a touch or slide operation performed at a plurality of points of one or more touch display screens. In addition, when the system includes a plurality of terminals, a plurality of servers, and a plurality of networks, different terminals may be connected to each other through different networks and through different servers. The network may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals 1000 may be connected to other terminals or a server using their own bluetooth network or hotspot network. For example, multiple users may be online through different terminals to connect and synchronize with each other over a suitable network to support multiplayer gaming. Additionally, the system may include a plurality of databases coupled to different servers and in which information relating to the gaming environment may be stored continuously as different users play the multiplayer game online.
The embodiment of the application provides a method for acquiring a virtual article, which can be executed by a terminal or a server. The embodiment of the present application explains an example in which a method for acquiring a virtual article is executed by a terminal. The terminal comprises a touch display screen and a processor, wherein the touch display screen is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. When a user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal through responding to the received operation instruction, and can also control the content of the opposite-end server through responding to the received operation instruction. For example, the operation instruction generated by the user acting on the graphical user interface comprises an instruction for starting a game application, and the processor is configured to start the game application after receiving the instruction provided by the user for starting the game application. Further, the processor is configured to render and draw a graphical user interface associated with the game on the touch display screen. A touch display screen is a multi-touch sensitive screen capable of sensing a touch or slide operation performed at a plurality of points on the screen at the same time. The user uses a finger to perform touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, different virtual objects in the graphical user interface of the game are controlled to perform actions corresponding to the touch operation. For example, the game may be any one of a leisure game, an action game, a role-playing game, a strategy game, a sports game, a game of chance, and the like. Wherein the game may include a virtual scene of the game drawn on a graphical user interface. Further, one or more virtual objects, such as virtual characters, controlled by the user (or player) may be included in the virtual scene of the game. Additionally, one or more obstacles, such as railings, ravines, walls, etc., may also be included in the virtual scene of the game to limit movement of the virtual objects, e.g., to limit movement of one or more objects to a particular area within the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, points, character health, energy, etc., to provide assistance to the player, provide virtual services, increase points related to player performance, etc. In addition, the graphical user interface may also present one or more indicators to provide instructional information to the player. For example, a game may include a player-controlled virtual object and one or more other virtual objects (such as an enemy character). In one embodiment, one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects may be computer controlled, such as a robot using Artificial Intelligence (AI) algorithms, to implement a human-machine fight mode. For example, the virtual objects possess various skills or capabilities that the game player uses to achieve the goal. For example, the virtual object possesses one or more weapons, props, tools, etc. that may be used to eliminate other objects from the game. Such skills or capabilities may be activated by a player of the game using one of a plurality of preset touch operations with a touch display screen of the terminal. The processor may be configured to present a corresponding game screen in response to an operation instruction generated by a touch operation of a user.
It should be noted that the scene schematic diagram of the virtual article acquiring system shown in fig. 1 is only an example, the image processing system and the scene described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person having ordinary skill in the art knows, with the evolution of the virtual article acquiring system and the appearance of a new service scene, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Based on the above problems, embodiments of the present application provide a method and an apparatus for acquiring a virtual item, a computer device, and a storage medium, which can improve the efficiency of acquiring a virtual item in a game. The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment of the present application provides a method for acquiring a virtual article, which may be executed by a terminal or a server.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a method for acquiring a virtual article according to an embodiment of the present disclosure. The specific flow of the virtual article obtaining method may be as follows:
101. and when the pick-up operation of the target virtual item in the game interface is detected, displaying a pick-up information page on the game interface.
In the embodiment of the present application, the virtual item is used to complete various tasks in the game, for example, the virtual item may be used to maintain the survival of the virtual character in the game scene, and may also be used to defeat other virtual characters, and the like. The virtual item may be obtained in a variety of ways, for example, virtual items provided in a game scene may be searched, or other virtual characters may be requested, or virtual items of other virtual characters may be obtained by defeating other virtual characters.
Here, the virtual character refers to a virtual object in a game controlled by a user or a player through a terminal.
The target virtual object refers to a virtual object which needs to be picked up by a current virtual role, the current virtual role is also a virtual role controlled by a local end user, and other virtual roles refer to virtual roles controlled by other end users.
Specifically, the detection of the pickup operation of the target virtual item may be performed by detecting whether a distance between the current virtual character and the target virtual item in the game interface is within a preset distance, and if the distance between the current virtual character and the target virtual item in the game is detected to be within the preset distance, the pickup operation of the target virtual item is determined.
Wherein, the target virtual article picked up by other virtual characters is in a preset range corresponding to the picking operation. Optionally, the target virtual item picked up by another virtual character is in the same virtual item container as the target virtual item corresponding to the picking operation, for example, the virtual item container may include multiple virtual items.
The application scenario of the embodiment of the present application includes, but is not limited to, picking up virtual items held by other virtual characters after the other virtual characters are defeated in the game process.
For example, in the game interface, after the current virtual character a defeats the virtual character B, all virtual items held by the virtual character B are displayed at the position of the virtual character B, and the current virtual character a can pick up all the displayed virtual items.
Referring to fig. 3, fig. 3 is a schematic view of an application scenario of the virtual article sharing method according to the embodiment of the present application. The game interface shown in fig. 3 may display a virtual item display page on the game interface after the current player defeats player a, where the virtual item display page displays virtual items in player a's box, that is, virtual items held by player a, and includes: item a, item b, item c. Wherein the quantity of the articles a is as follows: 50, the number of items b is 20 and the number of items c is 15. The current player can see all the virtual items held by player a.
In some embodiments, to improve the user experience, the game scenario to which the method for acquiring a virtual article may be further applied includes: and when the virtual item provided in the game scene is found, the virtual item provided in the game scene is picked up.
Further, when a plurality of virtual items are displayed on the game interface, a user's picking operation of the virtual items is detected.
For example, a user may click on a certain virtual item of the game interface, that is, a target virtual item, and then may determine that the virtual item needs to be picked up, and then may display a pickup information page of the virtual item on the game interface.
Wherein the pickup information page includes at least: virtual character information of the pickup target virtual item, and virtual character pickup target virtual item information. The virtual character information may include: the other virtual characters of the picked-up target virtual item in the same battle with the current virtual character, the virtual character picked-up target virtual item information may include: the number of target virtual items picked up by other virtual characters. Wherein, the virtual roles in the same battle formation are in teammate relationship, can share virtual objects in the game, can carry out chat and exchange and the like
Referring to fig. 4, fig. 4 is a schematic view of another application scenario of the virtual article sharing method according to the embodiment of the present application. In fig. 4, a user may click on an item a, trigger picking up of the item a, and then may display a pickup information page of the item a on a game interface. The name of the article a and the pattern of the article a are displayed in the pickup information page; the game player (other virtual character) who picked up the item a: player B, player C, and player D; and the number of items a picked up by each game player: player B picks up 10, player C picks up 15, and player D picks up 17; remaining number of article a: 8 of the Chinese medicinal herbs.
In some embodiments, to protect player privacy, the step "displaying a pickup information page at a game interface" may include the following operations:
determining a first number of characters and a number of picks;
generating identification blocks of a first role number;
constructing an incidence relation between the identification blocks corresponding to other virtual roles and the pick-up number corresponding to other virtual roles;
and generating a pickup information page in the game interface based on the identification blocks and the pickup number.
Wherein, the first role quantity is: the number of other virtual characters of the target virtual article is picked up, namely the number of virtual first characters which are in the same battle with the current virtual character and pick up the target virtual article; the number of picks is: the number of target virtual items picked up by other virtual characters.
For example, other virtual characters in the same battle as the current virtual character a may include: virtual character a, virtual character B, and virtual character C. If it is detected that the target virtual items of all the virtual characters a, B and C are picked up, it may be determined that the first number of characters is: 3.
wherein different identification blocks indicate different other virtual roles. The identification block is used for representing other virtual roles, and the identification block can be set as follows: text, graphics, and the like. The identification block is associated with the number of the target virtual articles picked up by the corresponding virtual character. After determining the first number of characters, an identification block for the first number of characters may be randomly generated. The privacy of the virtual character picking target virtual article information can be protected by setting the identification block to indicate the virtual character.
Further, according to the corresponding relationship between the identification block and the virtual character and the corresponding relationship between the virtual character and the pick-up number, the association relationship between the identification block corresponding to the virtual character and the pick-up number corresponding to the virtual character is established, and then, the pick-up information page can be generated on the game interface according to the association relationship. Relevance on the pickup information page is displayed as follows: the identification block and the picking number corresponding to the identification block.
The associated display may include multiple ways, for example, first displaying multiple identification blocks on the pickup information page, and when a click operation (a touch operation on a touch screen or a click operation through a mouse) of a user on an identification block is detected, displaying a pickup number corresponding to the identification block beside the identification block; or a plurality of identification blocks and a plurality of picking quantities are displayed on the picking information page, and each identification block corresponds to each picking quantity.
Referring to fig. 5, fig. 5 is a schematic view of another application scenario of the virtual article sharing method according to the embodiment of the present application. In the pickup information page of the game interface shown in fig. 5, there are displayed: the first identification block, the second identification block and the third identification block respectively represent three different virtual characters, and the current player can know that the number of the first characters of the virtual character picking up the item a is three through the picking up information page shown in fig. 5, and the number of the items a picked up by the three virtual characters is respectively: 10, 15 and 17, thereby protecting the information of the three virtual character pick-up items a.
In some embodiments, in order to ensure that the virtual characters in the same battle are reasonably allocated with the virtual items, after the step "detecting the pick-up operation of the target virtual item in the game interface", the following process may be further included:
when detecting that the distance between a target virtual character and the current virtual character in the game interface is within a preset distance, acquiring holding information that the target virtual character has a target virtual article;
and displaying holding information on the game interface.
Wherein, the target virtual role and the current virtual role belong to the same battle.
Specifically, whether the target virtual object is picked up by the current virtual character and the target virtual character at the same time can be judged by detecting the distance between the target virtual character and the current virtual character in the game interface.
And if the distance between the target virtual character and the current virtual character in the game interface is detected to be within the preset distance, determining that the current virtual character and the target virtual character simultaneously pick up the target virtual article.
And if the distance between the target virtual character and the current virtual character in the game interface is detected to be beyond the preset distance, determining that the target virtual character does not pick up the target virtual article currently.
The current possession target item information refers to a target virtual item currently held in a game account of a target virtual character (e.g., a backpack of a virtual character in a game).
For example, when it is determined that the current virtual character and the target virtual character simultaneously pick up the target virtual item, the holding information that the target virtual character owns the target virtual item is acquired, and then displayed on the game interface, the current user can see the holding information of the target virtual character.
Referring to fig. 6, fig. 6 is a schematic view of another application scenario of the virtual article sharing method according to the embodiment of the present application. In the game interface shown in fig. 6, each target virtual character that picks up the item a simultaneously with the current virtual character includes: and the player B and the player C acquire the number of the articles a held in the backpack of the player B as follows: and 50, acquiring that the number of backpack held items b of the player C is 60, displaying a held information page on a game interface, and displaying the number of the held items a of each target virtual character.
By the method, the user can clearly know the holding condition of the teammates for the target virtual articles, and then the number of the picked virtual articles can be selected according to the number of the teammates holding the target virtual articles. For example, if the teammates have fewer holders and the users have more holders, the users may not pick up the target virtual articles or pick up a small number of target virtual articles, and leave the target virtual articles for the deficient teammates, thereby ensuring material balance between the users and the teammates and improving game experience.
102. And responding to the touch operation acting on the pickup information page, and sending an article acquisition request to the server.
The touch operation is also a touch operation of the user on the virtual character information in the pickup information page, and the touch operation may include: click operation, press operation, slide operation, and the like.
Further, a target virtual character can be determined from the virtual character information according to the touch operation of the user on the pickup information page, the target virtual character is a pickup object for which the user needs to pickup a target virtual article, and then an article acquisition request for the target virtual character can be sent to the server.
The item acquisition request indicates that a target virtual item in a game account corresponding to the virtual character is transferred to the current game account.
For example, after transmitting an item acquisition request for the target virtual character to the server, if the target virtual character accepts the request, the server may transfer the target virtual item in the game account (backpack in the game) of the target virtual character to the game account of the current virtual character, and the current item acquisition request is completed.
For another example, after an item acquisition request for the target virtual character is sent to the server, if the target virtual character rejects the request, the server stops executing the current item acquisition request, and the current virtual character cannot acquire the target virtual item in the target virtual character account.
In some embodiments, in order to make the user know the information of the items picked up by each teammate player more clearly, the virtual player information of the pickup information page may include virtual character identifiers of virtual characters, and different virtual character identifiers correspond to different virtual characters, then the step "sending an item acquisition request to the server in response to the touch operation applied to the pickup information page" may include the following operations:
determining a target virtual role identifier from a plurality of virtual role identifiers according to touch operation;
acquiring a virtual role corresponding to the target virtual role identifier to obtain a target virtual role;
and sending an item acquisition request to the server based on the target virtual character.
Specifically, the pick-up information page displays virtual character identifiers corresponding to each virtual character, when a touch operation of a user on the pick-up information page is detected, a target virtual character identifier corresponding to the touch operation is determined, further, a target virtual character corresponding to the target virtual character identifier is obtained, that is, a request object for requesting a target virtual object can be determined, and an object obtaining request for the target virtual character can be sent to the server.
For example, the pickup information page is displayed with: a first virtual role identification, a second virtual role identification, and a third virtual role identification. When the click operation of the user on the first virtual character identifier is detected, it can be determined that the object to be asked for the target virtual article by the user is: the virtual character a may then send an item acquisition request for the virtual character a to the server. Thus, the user can quickly send an item acquisition request to teammates.
In some embodiments, in order to make the user further know the information of the items picked up by each team-friend player, the virtual character identification can be set as a virtual character name, and the character name is a nickname set by other users for the virtual character controlled by the virtual character identification, and different virtual characters can be distinguished through the nickname. If the different virtual character names correspond to different virtual characters, the step "responding to the touch operation applied to the information page pickup" may include the following operations:
determining a target virtual role name from a plurality of virtual role names according to touch operation;
and acquiring the virtual role corresponding to the target virtual role name to obtain the target virtual role.
Referring to fig. 7, fig. 7 is a schematic view of another application scenario of the virtual article sharing method according to the embodiment of the present application. In the game interface above fig. 7, the pickup information page is displayed with the character name of the target virtual character: the number of the picking target virtual items corresponding to the names of the characters can be displayed on the picking information page, and the information of the target virtual items picked by the teammate players can be conveniently and clearly known by the user through displaying the names of the characters of the virtual characters.
In some embodiments, if the pickup information page displays different id blocks representing players, that is, the id blocks shown in fig. 5, sending an item acquisition request to the server in response to a touch operation applied to the pickup information page may include the following operations:
determining a target identification block from the identification blocks of the first role quantity according to touch operation;
and sending an item acquisition request to the server based on the virtual role corresponding to the target identification block.
For example, the pickup information page is displayed with: the device comprises a first identification block, a second identification block and a third identification block. When the click operation of the user on the first identification block is detected, it can be determined that the object to be asked for the target virtual article by the user is: the virtual character a may then send an item acquisition request for the virtual character a to the server. Thus, the user can quickly send an item acquisition request to teammates.
In some embodiments, in order to facilitate a user to quickly send an item acquisition request to other players, multiple selection controls may be set on the pickup information page, where different selection controls correspond to different identification blocks, and the selection controls may be used to send the item acquisition request to the server. The step "sending an item acquisition request to the server in response to a touch operation applied to the pickup information page" may include the following operations:
determining a target selection control from a plurality of selection controls according to touch operation;
determining a target identification block corresponding to the target selection control;
and sending an item acquisition request to the server based on the virtual role corresponding to the target identification block.
For example, in fig. 5, three selection controls are displayed, each of the selection controls displays identification block information, a first selection control corresponds to a first identification block, a second selection control corresponds to a second identification block, and a third selection control corresponds to a third identification block. When the clicking operation of the user on the first selection control is detected, and it is determined that the first selection control corresponds to the first identification block, an item acquisition request for a virtual role corresponding to the first identification block may be sent to the server. Thus, the user can quickly send an item acquisition request to teammates.
In some embodiments, in order to quickly determine the target virtual character, before the step "sending an item acquisition request to the server", the following steps may be further included:
determining a target virtual character from a plurality of other virtual characters based on the number of target virtual items picked up by each other virtual character;
the step "sending an item acquisition request to the server" may include the following operations:
and sending an item acquisition request to the server based on the target virtual character.
Wherein the number of target virtual items picked up by the target virtual character is the largest.
For example, the virtual character picking up the target virtual item includes: the virtual character A, the virtual character B and the virtual character C, wherein the number of the virtual character A picking up the target virtual articles can be as follows: 100. the number of virtual items picked up by the virtual character B may be: 10. the number of virtual items picked up by the virtual character C may be: 12, it may be determined that the number of virtual items picked up by the virtual character a is the largest, and the virtual character a is determined to be the target virtual character, and then, an item acquisition request for the virtual character a is sent to the server. The user does not need to perform touch operation on the picked information page, the target virtual character needing to ask for the target virtual object is quickly determined according to the number of the target virtual objects picked by the virtual character, the user operation is reduced, and the game experience is improved.
In some embodiments, in order to satisfy the requirement of the user for the target virtual item, the method may further include the steps of:
if a plurality of target virtual roles exist, determining the number of requests and the number of second roles;
determining the asking quantity of the target virtual articles to be asked for by each target virtual character according to the request quantity and the second character quantity;
and sending an item acquisition request to the server based on the requested quantity and the plurality of target virtual characters.
Wherein, the plurality of target virtual characters refer to a plurality of virtual characters which have the largest number of the picked target virtual items and are the same.
For example, the virtual character picking up the target virtual item includes: virtual character a, virtual character B, and virtual character C. The number of the virtual items picked up by the virtual character a can be: 100. the number of virtual items picked up by the virtual character B may be: 100. the number of virtual items picked up by the virtual character C may be: 12. the virtual character a and the virtual character B pick up the largest number of the target virtual items and are the same, and then it may be determined that the target virtual character includes: virtual character a and virtual character B.
Wherein, the request quantity is: the number of the target virtual articles required by the current virtual role is as follows: the number of target avatars. The number of requests may be determined by user input or the system sets a default number.
For example, the number of requests may be: 10, the second character number may be 2, and the requested number of the target virtual objects to be requested to each target virtual character can be really determined according to the average request rule, so the requested number of the target virtual objects to be requested to each target virtual character is: 5. the application scheme is not limited to the average asking rule, and may also include determining the asking quantity in other ways, which is not limited herein.
In the embodiment of the application, the request quantity distribution strategy is executed by the terminal, the request quantity of each target virtual character for requesting the target virtual object is determined, then the server is instructed to execute the object acquisition request, the processing pressure of the server can be dispersed to each terminal, the burden of the server is reduced, and the response speed of the server to the object acquisition request is higher.
Further, an item acquisition request is sent to the server, where the item acquisition request includes: a target avatar asking for a target virtual item, and a asking amount for the target virtual item for each target avatar.
In some embodiments, in order to satisfy the requirement of the user for the target virtual item, the method may further include the steps of:
if a plurality of target virtual characters with the same number of picked target virtual items exist in the plurality of virtual characters, sending an item acquisition request to a server based on the plurality of target virtual characters;
receiving feedback information of a server aiming at an article acquisition request;
and if the feedback information contains the game accounts with the actual transfer quantity smaller than the claim quantity, sending the item acquisition request to the server again based on the target virtual characters corresponding to the game accounts with the actual transfer quantity equal to the claim quantity.
Further, an item acquisition request for the target virtual characters is sent to the server, wherein the item acquisition request carries the required quantity. The number of requests may be a number entered by the user.
For example, the number of requests may be: 5, the target virtual role comprises: virtual character a and virtual character B. Then sending an item acquisition request for virtual character a and virtual character B to the server, indicating: and transferring 5 target virtual articles in the game account corresponding to the virtual character A to the current game account, and transferring 5 target virtual articles in the game account corresponding to the virtual character B to the current game account.
Wherein the feedback information includes: each target virtual character corresponds to the actual transfer amount of the target virtual article in the game account transferred to the current game account.
For example, the step of requesting 5 target virtual items from the game account of the virtual character a and 5 target virtual items from the game account of the virtual character B includes the step of receiving feedback information returned by the server: the game account of virtual character a transfers 3 target virtual items to the current game account, and the game account of virtual character B transfers 5 target virtual items to the current game account.
If the actual transfer number of the game accounts is smaller than the claim number, that is, the current user does not obtain the target virtual item of the actual required number, the item obtaining request for the target virtual character may be sent to the server again.
For example, the number of requests may be: 5, the target virtual role comprises: the virtual role A and the virtual role B, which receive the feedback information of the server for the article acquisition request, comprise: the game account of virtual character a transfers 3 target virtual items to the current game account, and the game account of virtual character B transfers 5 target virtual items to the current game account.
Further, it can be determined that the game accounts with the actual transfer amount smaller than the claim amount are the game accounts of the virtual character B, which means that the holding amount of the virtual character A is not large or the virtual character A is unwilling to share 5 game accounts; however, the actual transfer number of the virtual character B is the same as the required number, which indicates that the holding amount of the virtual character B is large or the virtual character B is willing to share more, and at this time, the number of the target virtual items required for calculating the current virtual character is: 2, an item acquisition request for the virtual character B may be sent to the server, where the number of requests is: 2, the requirements of the user on the target virtual article are met, and the game task is completed quickly.
In some embodiments, in order to meet the actual acquisition requirement of the user, after the step "responding to the touch operation on the pickup information page", and before the step "sending the item acquisition request to the server", the following steps may be further included:
displaying an input operation page on a game interface;
responding to the input operation of a user on an input operation page, and displaying the input request quantity in an input box;
the step "sending an item acquisition request to the server" may include the following operations:
and sending an item acquisition request to the server based on the requested quantity.
Wherein, the input operation page at least comprises: the method comprises the steps of inputting a frame and prompt information, wherein the prompt information indicates the number of target virtual articles needing to be acquired.
Referring to fig. 7, fig. 7 is a schematic view of another application scenario of the virtual article sharing method according to the embodiment of the present application. In the game interface below fig. 7, an input operation page is displayed. The input operation page includes: an input box, prompt information 'please input the number of items a required for the player B', a determination control and a closing control of the upper right corner of the operation page.
Specifically, the user may click on the input box, and the input value may be: 10, which is the number of items a (target virtual items) requested from player B (target virtual character), and after the user has finished inputting the numerical value, and can click on the determination control, sending an item acquisition request for requesting 10 target virtual items from player B to the server may be performed. Or, if the user wants to ask for a target virtual article from other virtual characters, the user can click the closing control at the upper right corner of the input operation page, close the input operation page, and reselect other virtual characters for operation.
In some embodiments, in order to save time for users to pick up items in the game, after the step "displaying an input operation page on the game interface", the following steps can be further included:
if the user input operation is not detected within the preset time period, acquiring the current number of the target virtual articles owned by the current virtual character and the picking number of the target virtual articles picked by the target virtual character corresponding to the touch operation;
determining a number of requests based on the current number and the number of picks;
and sending an item acquisition request to the server based on the requested quantity.
Wherein the current number refers to the number of target virtual items already owned in the game account of the current virtual character.
For example, the number of target items existing in the backpack for acquiring the current virtual character is: and 100, determining that the current quantity is: 100.
the pick-up number refers to the number of the target virtual objects of the target virtual character in the current game scene in the game interface to pick up.
For example, if 50 target virtual items in the current game scene are detected to be picked up by the target virtual character, the pickup number may be determined as: 50.
wherein, the request number refers to the number of the target virtual items required to be requested from the target virtual character by the current virtual character.
In some embodiments, in order to quickly determine the number of target items that the current avatar needs to ask for, the step "determine the requested number based on the current number and the pick-up number" may include the following process:
if the current quantity is smaller than the specified quantity, calculating the difference value between the current quantity and the specified quantity;
if the picking number is larger than or equal to the difference value, obtaining the request number based on the difference value;
if the pick-up number is less than the difference, the request number is obtained based on the pick-up number.
The designated number refers to a standard of holding of the virtual character for the target virtual item in the game.
For example, if the number of the target virtual items held by the virtual character is smaller than the specified number, it indicates that the virtual character lacks the target virtual items; if the number of the virtual characters holding the target virtual articles is larger than or equal to the specified number, the virtual characters do not lack the target virtual articles. In the game, if the virtual character lacks the target virtual object and may influence the progress of the virtual character in completing the game task, the number of the target virtual objects needs to be acquired to reach the specified number so as to speed up the progress of completing the game task.
The difference between the current number and the designated number represents the difference between the number of the target virtual items owned by the current virtual character and the standard number, that is, the number of the target virtual items that the current virtual character needs to acquire.
For example, the current number may be: 20, the specified number may be: 50, the pick-up number may be 80, and the difference between the current number and the specified number is calculated as: and 30, the number of the target virtual items required by the current virtual character is as follows: 30.
further, comparing the difference value with the pick-up number, if the pick-up number is greater than the difference value, indicating that the number of the target virtual objects picked up by the target virtual character is greater than the number of the target virtual objects required by the current virtual character, and determining the difference value as the request number; if the pick-up number is smaller than the difference, it indicates that the number of the target virtual items picked up by the target virtual character is smaller than the number of the target virtual items required by the current virtual character, and the pick-up number may be determined as the requested number.
After the request quantity is determined, the object obtaining request for obtaining the target virtual objects of the requested quantity by the target virtual character can be sent to the server, and the user does not need to input the quantity of the obtained target virtual objects, so that the obtaining progress of the virtual objects is accelerated.
In some embodiments, in order to avoid that the current virtual character misses the pickup of the corresponding target virtual item, after the step "displaying the pickup information page at the game interface", the following steps may be further included:
if the touch operation acting on the pickup information page is not detected within a preset time period, determining the residual quantity of the target virtual articles based on the information of the virtual character pickup target virtual articles;
a pick request is sent to the server based on the remaining number.
In the process of the user game, there may be other things to interrupt the user game process, for example, the user prepares to pick up the virtual item on the pick-up information page in the game interface, and a call is incoming, and if the user chooses to answer the call, there may be other game players to pick up the target virtual item in the process of the user answering the call. Then, in order to ensure that the user can pick up the target virtual item, the target virtual item may be automatically picked up.
Wherein the virtual character picking target virtual item information includes: the number of the target virtual items which are picked up by other virtual characters, the remaining number of the target virtual items can be determined according to the total amount of the target virtual items and the number of the target virtual items which are picked up, and then a picking request of the remaining number of the target virtual items is sent to the server, wherein the picking request indicates that the remaining number of the target virtual items are transferred to the current game account.
In some embodiments, to ensure that the current virtual character reasonably assigns the target virtual item to the teammate virtual character in the same game play, the method may further comprise the steps of:
if the virtual roles to be picked up exist in other virtual roles, acquiring the current number of the target virtual articles owned by the current virtual role;
and if the current number is larger than the specified number, the target virtual item is prohibited from being picked up.
The virtual character to be picked up refers to a virtual character which does not pick up the target virtual article, and the virtual character to be picked up and the current virtual character are in the same game formation.
The current number refers to the number of target virtual items which are owned in the game account of the current virtual character, and the specified number refers to the standard which the virtual character holds for the target virtual items in the game.
If the current number is larger than the specified number, the current virtual character does not lack the target virtual article, and as the target virtual article is not picked up by the virtual character to be picked up, the current target virtual article is not picked up in order to ensure that teammates in the same game formation can also acquire the target virtual article, and the current target virtual article can be left to the virtual character to be picked up.
The embodiment of the application discloses a method for acquiring a virtual article, when the picking operation of a target virtual article in a game interface is detected, a picking information page is displayed on the game interface, and the picking information page at least comprises the following steps: virtual character information of the pickup target virtual article, and virtual character pickup target virtual article information; and responding to the touch operation acting on the pickup information page, and sending an item acquisition request to the server, wherein the item acquisition request indicates that a target virtual item in the game account corresponding to the virtual character is transferred to the current game account, so that the acquisition efficiency of the virtual item in the game can be improved.
Based on the above description, the method for acquiring a virtual object of the present application will be further described below by way of example. Referring to fig. 8, fig. 8 is a schematic flow chart of another method for acquiring a virtual article according to an embodiment of the present application, taking as an example that after the method for acquiring a virtual article is specifically applied to a eliminated game player in a game, the material of the eliminated game player is picked up, and the specific flow may be as follows:
201. and when the terminal detects that the distance between the current game player and the game prop backpack in the game interface is within the preset distance, displaying a prop display page on the game interface.
For the game provided by the embodiment of the application, after the player eliminates other players, a game item backpack is left at the eliminated positions of other players in the game interface, the game item backpack comprises all game items acquired by other players, and the game items in the game item backpack can be picked up by the player which is not eliminated.
Further, when a game item backpack exists in the game interface, and it is detected that the distance between the current player and the game item backpack is within a preset distance, the current game player can pick up the game item in the game item backpack. And generating a prop display page on the game interface, and displaying all game props in the game prop backpack on the prop display page.
202. And the terminal displays a pickup detail page of the target game item on the game interface according to the first selection operation of the user on the target game item in the item display page.
In the embodiment of the application, in order to ensure that the game players and the game players forming a team mutually know the pickup information of the game props, when the first operation of the target game props in the stealing display page by the users is detected, the pickup detail page of the target game props can be displayed on the game interface by clicking operation, touch operation and the like, and the pickup information page displays the detailed information of the target virtual articles selected by the users. Specifically, the pickup details page includes: player identification of teammate players who pick up the target virtual item, and number of teammate players picking up the target virtual item. Wherein, in order to distinguish different teammate players, the player identifications of the different teammate players can be set to different display colors. For example, teammate a is yellow, teammate B is red, teammate C is blue, and teammate D is black.
Referring to fig. 9, fig. 9 is a schematic view of another application scenario of the virtual article sharing method according to the embodiment of the present application. In the game interface shown in fig. 9, a pickup details page with prop a is displayed, including: and the player identification is formed by setting rectangular boxes with different colors. In fig. 9, the player identification includes: a green rectangular frame and a yellow rectangular frame, wherein the green rectangular frame can represent teammate a, the yellow rectangular frame can represent teammate B, and the teammate a picks up 80 props a, and the teammate B picks up 15 props a.
203. The terminal determines a target game player from the plurality of game players according to a second selection operation of the user for the identification of the target game player in the pickup details page.
Further, after the pickup detail page of the target game item is displayed on the game interface, the user may perform a second selection operation on the player identifier of the pickup detail page, determine the target player identifier according to the second selection operation of the user on the player identifier, and obtain the game player corresponding to the target player identifier, that is, obtain the target game player.
Specifically, the user may determine, through the second selection operation, the teammate player who needs to ask for the target game item, and then may display an input operation page on the game interface, and the user may input the number of the target game items that need to be asked for. Because the user can see the number of teammate players picking up the target game item, the user can know the teammate player who picks up the largest number and can ask the teammate player who picks up the largest number for the appropriate number of target game items.
204. The terminal sends an acquisition request of the target game item to the server based on the target game player.
After the user inputs the number, the terminal may send an acquisition request to the server for the number of target game items that the target game player asks for. The problem that the user lacks the game props and needs to send an acquisition request to each teammate player is solved, and the game time of the user is wasted.
205. And the terminal determines the acquisition result of the acquisition request according to the response information returned by the server aiming at the acquisition request.
If the target game player agrees with the acquisition request, the current game player can acquire the target game item shared by the target game player for the acquisition request.
If the target game player refuses the acquisition request, the current game player can want other teammate players to continue sending the acquisition request again.
In some embodiments, when a current player picks up an item in an item backpack from which player a has been eliminated, the item in the item backpack is seen, such as: the player can see that the first type bullets are picked up by the teammate B for 150 bullets, the player feels that the 30 bullets are insufficient, the player can click the identification of the teammate B on a pickup detail page, the required number is input, then the requirement of the first type bullets is sent to the teammate B, the requirement is sent to the corresponding teammate B, and if the teammate B chooses to accept, the player a is sent with the corresponding number of the first type bullets. Alternatively, if the current player does not enter a quantity, the demand for the first type of round may be sent directly to teammate B, with the default being to ask for half of the first type round (a default value may be set in the gaming system).
In some embodiments, when the current player is in short of the first type of bullet, but the first type of bullet, teammate B takes 80 shots, teammate C also takes 80 shots, and the current player can make a request at this time, the default is to make requests to teammate B and teammate C, and the amount of the requests for each of the teammates sending the requests is half of the amount of the current player's input; the teammates B and C can decide whether to share or not by themselves, and the probability that the current player obtains the prop object can be increased by sending requests to a plurality of teammate players.
The embodiment of the application discloses a method for acquiring a virtual article, which comprises the following steps: when the terminal detects that the distance between a current virtual character and a game item backpack in a game interface is within a preset distance, a item display page is displayed on the game interface, the terminal displays a pickup detail page of a target game item in the item display page according to a first selection operation of a user on the target game item in the item display page, the terminal determines a target virtual character from a plurality of virtual game characters according to a second selection operation of the user on a target virtual character identifier in the pickup detail page, the terminal sends an acquisition request of the target game item to a server based on the target virtual character, and the terminal determines an acquisition result of the acquisition request according to response information returned by the server aiming at the acquisition request. Therefore, the user can quickly send the acquisition request to the target virtual character with the largest number of the picked target game props, the user operation can be simplified, and the game experience of the user is improved.
In order to better implement the method for acquiring a virtual article provided by the embodiment of the present application, an embodiment of the present application further provides an apparatus for acquiring a virtual article based on the method for acquiring a virtual article. The terms are the same as those in the above-mentioned method for acquiring a virtual article, and specific implementation details may refer to the description in the method embodiment.
Referring to fig. 10, fig. 10 is a block diagram of a virtual object obtaining apparatus according to an embodiment of the present disclosure, where the apparatus includes:
a first display unit 301, configured to display a pickup information page on a game interface when a pickup operation for a target virtual item in the game interface is detected, where the pickup information page includes at least: picking up the picking-up information of the target virtual article by other virtual characters;
a first sending unit 302, configured to send an item acquisition request to a server in response to a touch operation applied to the pickup information page, where the item acquisition request indicates: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from the other virtual characters.
In some embodiments, the first display unit 301 may include:
a first determining subunit, configured to determine a first number of characters and a number of picks, where the first number of characters is: the number of other virtual characters picking up the target virtual item is as follows: the number of target virtual items picked up by other virtual characters;
a first generating subunit, configured to generate identifier blocks of the first role number, where different identifier blocks indicate different other virtual roles;
a second generating subunit, configured to generate the pickup information page in the game interface based on the identification block and the pickup number, where the pickup information page has relevance display thereon: the identification block and the picking number corresponding to the identification block.
In some embodiments, the first sending unit 302 may include:
the second determining subunit comprises a step of determining a target identification block from the identification blocks of the first role quantity according to the touch operation;
and the first sending subunit is configured to send an item acquisition request to the server based on the other virtual roles corresponding to the target identification block.
In some embodiments, the apparatus may further comprise:
a second display unit, configured to display an input operation page on the game interface, where the input operation page at least includes: inputting a frame and prompt information, wherein the prompt information indicates the number of the target virtual articles required to be acquired;
and the input unit is used for responding to the input operation of the user on the input operation page and displaying the input request number in the input frame.
In some embodiments, the first sending unit 302 may include:
and the second sending subunit is used for sending the item acquisition request to the server based on the request quantity.
In some embodiments, the apparatus may further comprise:
the detection unit is used for acquiring the current number of the target virtual articles owned by the current virtual character and the picking number of the target virtual articles picked by the target virtual character corresponding to the touch operation if the user input operation is not detected within a preset time period;
a first determination unit configured to determine a request number based on the current number and the pickup number;
a second sending unit, configured to send an item acquisition request to the server based on the requested quantity.
In some embodiments, the first determination unit may include:
a calculating subunit, configured to calculate a difference between the current number and a specified number if the current number is smaller than the specified number;
a third determining subunit, configured to, if the pickup number is greater than or equal to the difference value, obtain the request number based on the difference value;
a fourth determining subunit, configured to obtain the requested number based on the pickup number if the pickup number is smaller than the difference.
In some embodiments, the apparatus may further comprise:
a second determination unit configured to determine a target virtual character from the plurality of other virtual characters based on the number of the target virtual item picked up by each other virtual character, the number of the target virtual item picked up by the target virtual character being the largest;
in some embodiments, the first sending unit 302 may include:
and the third sending subunit is used for sending an item acquisition request to the server based on the target virtual character.
In some embodiments, the apparatus may further comprise:
a fifth determining subunit, configured to determine, if multiple target virtual roles exist, a request number and a second role number, where the request number is: the number of the target virtual articles required by the current virtual role is as follows: the number of target virtual characters;
a sixth determining subunit, configured to determine, according to the request number and the second role number, a request number for requesting each target virtual role for the target virtual item;
and the fourth sending subunit is configured to send an item acquisition request to the server based on the requested number and the plurality of target virtual characters.
In some embodiments, the apparatus may further comprise:
a receiving unit, configured to receive feedback information of the server for the item acquisition request, where the feedback information includes: the actual transfer quantity of the target virtual article transferred to the current game account in the game account corresponding to each target virtual character;
a third sending unit, configured to, if the target virtual characters whose actual transfer number is smaller than the pickup number exist in the feedback information, send an item acquisition request to the server again based on the target virtual characters whose actual transfer number is equal to the pickup number.
In some embodiments, the apparatus may further comprise:
the first obtaining unit is used for obtaining holding information that a target virtual character has a target virtual article when detecting that the distance between the target virtual character and a current virtual character in the game interface is within a preset distance, wherein the target virtual character and the current virtual character belong to the same battle;
and the third display unit is used for displaying the holding information on the game interface.
In some embodiments, the apparatus may further comprise:
a third determining unit, configured to determine, if a touch operation acting on the pickup information page is not detected within a preset time period, a remaining number of the target virtual items based on the information that the other virtual characters pick up the target virtual items;
a fourth sending unit, configured to send a pickup request to the server based on the remaining amount, where the pickup request indicates to transfer the remaining amount of the target virtual item to a current game account.
In some embodiments, the apparatus may further comprise:
a second obtaining unit, configured to obtain, if a virtual character to be picked up exists in the other virtual characters, a current number of the target virtual items owned by a current virtual character, where the target virtual item is not picked up by the virtual character to be picked up;
and the prohibiting unit is used for prohibiting the target virtual article from being picked up if the current number is larger than the specified number.
The embodiment of the application discloses an obtaining device of a virtual article, when a picking operation of a target virtual article in a game interface is detected through a first display unit 301, a picking information page is displayed on the game interface, and the picking information page at least comprises: picking up the picking-up information of the target virtual article by other virtual characters; the first sending unit 302 sends an item acquisition request to a server in response to a touch operation acting on the pickup information page, where the item acquisition request indicates: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from the other virtual characters. Therefore, the efficiency of acquiring the virtual articles in the game can be improved.
Correspondingly, the embodiment of the application also provides a computer device, and the computer device can be a terminal. As shown in fig. 11, fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer apparatus 500 includes a processor 501 having one or more processing cores, a memory 502 having one or more computer-readable storage media, and a computer program stored on the memory 502 and executable on the processor. The processor 501 is electrically connected to the memory 502. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 501 is a control center of the computer device 500, connects various parts of the entire computer device 500 using various interfaces and lines, performs various functions of the computer device 500 and processes data by running or loading software programs and/or modules stored in the memory 502, and calling data stored in the memory 502, thereby monitoring the computer device 500 as a whole.
In this embodiment of the application, the processor 501 in the computer device 500 loads instructions corresponding to processes of one or more applications into the memory 502, and the processor 501 runs the applications stored in the memory 502, so as to implement various functions as follows:
when the picking operation of the target virtual article in the game interface is detected, a picking information page is displayed on the game interface, and the picking information page at least comprises the following steps: picking information of other virtual characters for picking the target virtual item; responding to touch operation acting on the pick-up information page, and sending an item acquisition request to a server, wherein the item acquisition request indicates that: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from other virtual characters.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 11, the computer device 500 further includes: touch-sensitive display screen 503, radio frequency circuit 504, audio circuit 505, input unit 506 and power 507. The processor 501 is electrically connected to the touch display screen 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, and the power supply 507, respectively. Those skilled in the art will appreciate that the computer device architecture illustrated in FIG. 11 is not intended to be limiting of computer devices and may include more or less components than those illustrated, or combinations of certain components, or different arrangements of components.
The touch display screen 503 can be used for displaying a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. The touch display screen 503 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 501, and can receive and execute commands sent by the processor 501. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 501 to determine the type of the touch event, and then the processor 501 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 503 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display 503 can also be used as a part of the input unit 506 to implement an input function.
The rf circuit 504 may be used for transceiving rf signals to establish wireless communication with a network device or other computer device via wireless communication, and for transceiving signals with the network device or other computer device.
Audio circuitry 505 may be used to provide an audio interface between a user and a computer device through speakers, microphones. The audio circuit 505 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 505 and converted into audio data, which is then processed by the audio data output processor 501, and then transmitted to, for example, another computer device via the rf circuit 504, or output to the memory 502 for further processing. The audio circuitry 505 may also include an earbud jack to provide communication of a peripheral headset with the computer device.
The input unit 506 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 507 is used to power the various components of the computer device 500. Optionally, the power supply 507 may be logically connected to the processor 501 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power supply 507 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 11, the computer device 500 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, the computer device provided in this embodiment displays, when a pickup operation on a target virtual item in a game interface is detected, a pickup information page on the game interface, where the pickup information page at least includes: picking information of other virtual characters for picking the target virtual item; responding to touch operation acting on the pick-up information page, and sending an item acquisition request to a server, wherein the item acquisition request indicates that: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from other virtual characters.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, where the computer programs can be loaded by a processor to execute the steps in any one of the virtual article acquisition methods provided in the present application. For example, the computer program may perform the steps of:
when the picking operation of the target virtual article in the game interface is detected, a picking information page is displayed on the game interface, and the picking information page at least comprises the following steps: picking information of other virtual characters for picking the target virtual item;
responding to touch operation acting on the pick-up information page, and sending an item acquisition request to a server, wherein the item acquisition request indicates that: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from other virtual characters.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any method for acquiring a virtual article provided in the embodiments of the present application, beneficial effects that can be achieved by any method for acquiring a virtual article provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above method, apparatus, storage medium, and computer device for acquiring a virtual article provided in the embodiments of the present application are described in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (16)

1. A method for acquiring a virtual article, comprising:
when the picking operation of a target virtual article in a game interface is detected, a picking information page is displayed on the game interface, and the picking information page at least comprises the following steps: picking up the picking-up information of the target virtual article by other virtual characters;
responding to touch operation acting on the pickup information page, and sending an item acquisition request to a server, wherein the item acquisition request indicates that: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from the other virtual characters.
2. The method of claim 1, wherein displaying a pickup information page at the game interface comprises:
determining a first number of characters and a number of picks, wherein the first number of characters is: the number of other virtual characters picking up the target virtual item is as follows: the number of target virtual items picked up by other virtual characters;
generating identification blocks of the first role number, wherein different identification blocks indicate different other virtual roles;
generating the pickup information page on the game interface based on the identification blocks and the pickup quantity, wherein the pickup information page is displayed with relevance: the identification block and the picking number corresponding to the identification block.
3. The method of claim 2, wherein the picking up information comprises: identification blocks and pick-up numbers;
the response acts on the touch operation of the pickup information page, and sends an item acquisition request to a server, and the item acquisition request comprises the following steps:
determining a target identification block from the identification blocks of the first role quantity according to the touch operation;
and sending an article acquisition request to the server based on other virtual roles corresponding to the target identification block.
4. The method according to claim 1, wherein after the responding to the touch operation on the pickup information page and before the sending of the item acquisition request to the server, further comprising:
displaying an input operation page on the game interface, wherein the input operation page at least comprises: inputting a frame and prompt information, wherein the prompt information indicates the number of the target virtual articles required to be acquired;
responding to the input operation of the user on the input operation page, and displaying the input request number in the input box;
the sending of the item acquisition request to the server includes:
and sending an item acquisition request to the server based on the requested quantity.
5. The method of claim 4, after the game interface displays an input operation page, further comprising:
if the user input operation is not detected within a preset time period, acquiring the current quantity of the target virtual articles owned by the current virtual character and the pick-up quantity of the target virtual articles picked up by the target virtual character corresponding to the touch operation;
determining a number of requests based on the current number and the pick-up number;
and sending an item acquisition request to the server based on the requested quantity.
6. The method of claim 5, wherein determining the number of requests based on the current number and the pick number comprises:
if the current quantity is smaller than the specified quantity, calculating the difference value between the current quantity and the specified quantity;
if the picking number is larger than or equal to the difference value, obtaining the request number based on the difference value;
and if the picking number is smaller than the difference value, obtaining the request number based on the picking number.
7. The method of claim 1, wherein the picking up information comprises: the number of the target virtual items picked up by each other virtual character;
before the sending the item acquisition request to the server, the method further comprises:
determining a target virtual character from the plurality of other virtual characters based on the number of the target virtual items picked up by each other virtual character, the number of the target virtual items picked up by the target virtual character being the largest;
the sending of the item acquisition request to the server includes:
and sending an item acquisition request to a server based on the target virtual character.
8. The method of claim 7, further comprising:
if a plurality of target virtual roles exist, determining the number of requests and the number of second roles, wherein the number of requests is as follows: the current virtual character requests the total number of the target virtual articles, and the second character number is as follows: the number of target virtual characters;
determining a request quantity for requesting each target virtual character for the target virtual article according to the request quantity and the second character quantity;
and sending an item acquisition request to the server based on the requested quantity and the plurality of target virtual characters.
9. The method according to claim 8, further comprising, after said sending an item acquisition request to said server:
receiving feedback information of the server for the item acquisition request, wherein the feedback information comprises: the actual transfer quantity of the target virtual article transferred to the current game account in the game account corresponding to each target virtual character;
if the target virtual roles with the actual transfer quantity smaller than the claim quantity exist in the feedback information, sending an article acquisition request to the server again based on the target virtual roles with the actual transfer quantity equal to the claim quantity.
10. The method of claim 1, wherein after the detecting a pick operation for a target virtual item in a game interface, further comprising:
when detecting that the distance between a target virtual character and a current virtual character in the game interface is within a preset distance, acquiring holding information that the target virtual character has the target virtual article, wherein the target virtual character and the current virtual character belong to the same battle;
and displaying the holding information on the game interface.
11. The method of claim 1, after the game interface displays a pickup information page, further comprising:
if the touch operation acting on the pickup information page is not detected within a preset time period, determining the residual quantity of the target virtual objects based on the information of the target virtual objects picked up by the other virtual characters;
sending a pick request to the server based on the remaining quantity, the pick request indicating a transfer of the remaining quantity of the target virtual item into a current gaming account.
12. The method according to claim 1, wherein the target virtual item picked up by the other virtual character is within a predetermined range corresponding to the picking operation.
13. The method of any one of claims 1-12, further comprising:
if the virtual roles to be picked up exist in the other virtual roles, acquiring the current quantity of the target virtual items owned by the current virtual role, wherein the virtual roles to be picked up do not pick up the target virtual items;
and if the current number is larger than the specified number, the target virtual article is prohibited from being picked up.
14. An apparatus for acquiring a virtual article, the apparatus comprising:
the first display unit is used for displaying a pickup information page on a game interface when a pickup operation of a target virtual item in the game interface is detected, and the pickup information page at least comprises: picking up the picking-up information of the target virtual article by other virtual characters;
a first sending unit, configured to send an item acquisition request to a server in response to a touch operation applied to the pickup information page, where the item acquisition request indicates: and transferring the target virtual article in the game account corresponding to the target virtual character to the current game account, wherein the target virtual character is determined from the other virtual characters.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the method of acquiring a virtual article according to any one of claims 1 to 13 when executing the program.
16. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the method for acquiring a virtual article according to any one of claims 1 to 13.
CN202110744557.6A 2021-07-01 2021-07-01 Virtual article acquisition method and device, computer equipment and storage medium Pending CN113413598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110744557.6A CN113413598A (en) 2021-07-01 2021-07-01 Virtual article acquisition method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110744557.6A CN113413598A (en) 2021-07-01 2021-07-01 Virtual article acquisition method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113413598A true CN113413598A (en) 2021-09-21

Family

ID=77717710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110744557.6A Pending CN113413598A (en) 2021-07-01 2021-07-01 Virtual article acquisition method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113413598A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024103623A1 (en) * 2022-11-16 2024-05-23 网易(杭州)网络有限公司 Method and apparatus for marking virtual item, and computer device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509039A (en) * 2018-03-27 2018-09-07 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the storage medium of article are picked up in virtual environment
CN108579088A (en) * 2018-04-28 2018-09-28 腾讯科技(深圳)有限公司 The method, apparatus and medium that control virtual objects are picked up virtual objects
CN108744499A (en) * 2018-02-11 2018-11-06 腾讯科技(深圳)有限公司 Processing method, device, storage medium and the electronic device of object
CN110124310A (en) * 2019-05-20 2019-08-16 网易(杭州)网络有限公司 Virtual item information sharing method in game, device, equipment
CN111672098A (en) * 2020-06-18 2020-09-18 腾讯科技(深圳)有限公司 Virtual object marking method and device, electronic equipment and storage medium
CN112023392A (en) * 2020-09-17 2020-12-04 网易(杭州)网络有限公司 Virtual article processing method and device
US20210178278A1 (en) * 2018-12-07 2021-06-17 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and storage medium for transferring virtual items

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108744499A (en) * 2018-02-11 2018-11-06 腾讯科技(深圳)有限公司 Processing method, device, storage medium and the electronic device of object
CN108509039A (en) * 2018-03-27 2018-09-07 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the storage medium of article are picked up in virtual environment
CN108579088A (en) * 2018-04-28 2018-09-28 腾讯科技(深圳)有限公司 The method, apparatus and medium that control virtual objects are picked up virtual objects
US20210178278A1 (en) * 2018-12-07 2021-06-17 Tencent Technology (Shenzhen) Company Limited Method, apparatus, and storage medium for transferring virtual items
CN110124310A (en) * 2019-05-20 2019-08-16 网易(杭州)网络有限公司 Virtual item information sharing method in game, device, equipment
CN111672098A (en) * 2020-06-18 2020-09-18 腾讯科技(深圳)有限公司 Virtual object marking method and device, electronic equipment and storage medium
CN112023392A (en) * 2020-09-17 2020-12-04 网易(杭州)网络有限公司 Virtual article processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024103623A1 (en) * 2022-11-16 2024-05-23 网易(杭州)网络有限公司 Method and apparatus for marking virtual item, and computer device and storage medium

Similar Documents

Publication Publication Date Title
CN113101652A (en) Information display method and device, computer equipment and storage medium
CN113082712A (en) Control method and device of virtual role, computer equipment and storage medium
CN113426124A (en) Display control method and device in game, storage medium and computer equipment
CN113398590A (en) Sound processing method, sound processing device, computer equipment and storage medium
WO2024011894A1 (en) Virtual-object control method and apparatus, and storage medium and computer device
CN113398566A (en) Game display control method and device, storage medium and computer equipment
CN115040873A (en) Game grouping processing method and device, computer equipment and storage medium
CN115193049A (en) Virtual role control method, device, storage medium and computer equipment
CN114159789A (en) Game interaction method and device, computer equipment and storage medium
CN113332721B (en) Game control method, game control device, computer equipment and storage medium
CN113413598A (en) Virtual article acquisition method and device, computer equipment and storage medium
CN113332716A (en) Virtual article processing method and device, computer equipment and storage medium
WO2024103623A1 (en) Method and apparatus for marking virtual item, and computer device and storage medium
WO2024007606A1 (en) Virtual article display method and apparatus, computer device, and storage medium
CN115382201A (en) Game control method and device, computer equipment and storage medium
CN114225412A (en) Information processing method, information processing device, computer equipment and storage medium
CN115193043A (en) Game information sending method and device, computer equipment and storage medium
CN114159788A (en) Information processing method, system, mobile terminal and storage medium in game
CN116139483A (en) Game function control method, game function control device, storage medium and computer equipment
CN113426115A (en) Game role display method and device and terminal
CN113332724A (en) Control method, device, terminal and storage medium of virtual role
CN113413600A (en) Information processing method, information processing device, computer equipment and storage medium
CN112245914A (en) Visual angle adjusting method and device, storage medium and computer equipment
CN113398602B (en) Information processing method, information processing device, storage medium and computer equipment
CN117442959A (en) Game control method, game control device, computer equipment and storage medium

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