WO2024103623A1 - 一种虚拟物品的标记方法、装置、计算机设备及存储介质 - Google Patents
一种虚拟物品的标记方法、装置、计算机设备及存储介质 Download PDFInfo
- Publication number
- WO2024103623A1 WO2024103623A1 PCT/CN2023/088984 CN2023088984W WO2024103623A1 WO 2024103623 A1 WO2024103623 A1 WO 2024103623A1 CN 2023088984 W CN2023088984 W CN 2023088984W WO 2024103623 A1 WO2024103623 A1 WO 2024103623A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- virtual
- item
- virtual character
- character
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 230000001960 triggered effect Effects 0.000 claims description 20
- 230000004044 response Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 19
- 230000006870 function Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 239000003550 marker Substances 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009192 sprinting Effects 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000001815 facial effect Effects 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004083 survival effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/53—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
- A63F13/537—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
- A63F13/5372—Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
Definitions
- the present disclosure relates to the field of computer technology, and in particular to a virtual item marking method, device, computer equipment and storage medium.
- players need to find and pick up various game props and use these picked up game props to complete game tasks.
- the embodiments of the present disclosure provide a method, apparatus, computer device, and storage medium for marking virtual items, which can improve the game experience of players, reduce the operating time of terminal devices, and save power of terminal devices.
- an embodiment of the present disclosure provides a method for marking a virtual item, comprising:
- marking information corresponding to the second target virtual item is sent to and displayed on a terminal device corresponding to the second virtual character, wherein the second target virtual item is a virtual item among the at least two target virtual items.
- the embodiment of the present disclosure further provides a virtual item marking device, including:
- a control unit configured to respond to a movement instruction for the first virtual character and control the first virtual character to move in the game scene
- a determining unit configured to determine at least two target virtual objects from the game scene according to the position information of the first virtual character
- an acquisition unit configured to acquire a pickup parameter of the second virtual character, and determine at least one first target virtual item from the at least two target virtual items according to the pickup parameter;
- a first sending unit configured to send and display marking information corresponding to the at least one first target virtual item to a terminal device corresponding to the second virtual character
- the second sending unit is used to respond to the marking instruction for the second target virtual item triggered by the graphical user interface, and send and display marking information corresponding to the second target virtual item to the terminal device corresponding to the second virtual character, wherein the second target virtual item is a virtual item among the at least two target virtual items.
- an embodiment of the present disclosure further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes any virtual item marking method provided in any embodiment of the present disclosure.
- an embodiment of the present disclosure further provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the above virtual item marking method.
- This scheme designs preset marking conditions for triggering a virtual character in a game scene to mark a virtual item.
- the preset marking conditions include the presence of a target virtual item in the game scene whose distance from the virtual character is less than a preset distance.
- a second virtual character is selected from other game characters in the same game camp as the virtual character, and then marking information of the target virtual item is sent to the second virtual character, so that the second virtual character picks up the target virtual item according to the marking information, thereby facilitating the player's marking operation on the virtual item, improving the player's gaming experience, reducing the operating time of the terminal device, and saving the power of the terminal device.
- FIG. 1 is a schematic diagram of a scenario of a virtual item marking system provided by one of the embodiments of the present disclosure.
- FIG. 2 is a flow chart of a method for marking a virtual item provided in one of the embodiments of the present disclosure.
- FIG. 3 is a schematic diagram of an application scenario of a virtual item sharing method provided by one of the embodiments of the present disclosure.
- FIG. 4 is a schematic diagram of another application scenario of the virtual item sharing method provided by one of the embodiments of the present disclosure.
- FIG. 5 is a schematic diagram of another application scenario of the virtual item sharing method provided by one of the embodiments of the present disclosure.
- FIG. 6 is a schematic diagram of another application scenario of the virtual item marking method provided by one of the embodiments of the present disclosure.
- FIG. 7 is a schematic diagram of another application scenario of the virtual item marking method provided by one of the embodiments of the present disclosure.
- FIG. 8 is a flow chart of another method for marking virtual items provided in one of the embodiments of the present disclosure.
- FIG. 9 is a schematic diagram of another application scenario of the virtual item marking method provided by one of the embodiments of the present disclosure.
- FIG. 10 is a structural block diagram of a virtual item marking device provided in one of the embodiments of the present disclosure.
- FIG. 11 is a schematic diagram of the structure of a computer device provided in one of the embodiments of the present disclosure.
- the embodiments of the present disclosure provide a method, device, storage medium and computer equipment for marking virtual items.
- the method for marking virtual items in the embodiments of the present disclosure can be executed by a computer device, wherein the computer device can be a terminal or a server.
- the terminal can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), etc.
- the terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client.
- the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
- basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
- the terminal device when the virtual item marking method is run on a terminal, the terminal device stores a game application and is used to present a virtual scene in the game screen.
- the terminal device is used to interact with the user through a graphical user interface, for example, the game application is downloaded and installed through the terminal device and then runs.
- the terminal device provides the graphical user interface to the user in the following ways: For example, it can be rendered and displayed on a display screen of a terminal device, or a graphical user interface can be presented through holographic projection.
- the terminal device may include a touch screen and a processor
- the touch screen is used to present a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface
- the graphical user interface includes a game screen
- the processor is used to run the game, generate a graphical user interface, respond to operation instructions, and control the display of the graphical user interface on the touch screen.
- the virtual item marking method when run on the server, it can be a cloud game.
- Cloud gaming refers to a gaming method based on cloud computing.
- the cloud gaming operation mode the operating body of the game application and the game screen presentation body are separated, and the storage and operation of the virtual item marking method are completed on the cloud gaming server.
- the game screen presentation is completed on the cloud gaming client.
- the cloud gaming client is mainly used for receiving and sending game data and presenting the game screen.
- the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a PDA, a personal digital assistant, etc., but the terminal device for processing game data is a cloud gaming server in the cloud.
- the user When playing the game, the user operates the cloud gaming client to send an operation instruction to the cloud gaming server.
- the cloud gaming server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.
- FIG. 1 is a scene diagram of a virtual item marking system provided by 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 the servers of different games through the network.
- the terminal is any device with computing hardware that can support and execute software products corresponding to the game.
- the terminal has one or more multi-touch screens for sensing and obtaining the input of the user through touch or sliding operations performed at multiple points on one or more touch-sensitive display screens.
- the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers.
- the network can be a wireless network or a wired network, such as a wireless 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.
- WLAN wireless local area network
- LAN local area network
- cellular network a 2G network
- 3G network a 3G network
- 4G network a 5G network
- different terminals can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc.
- multiple users can be online through different terminals and thus connected and synchronized with each other through appropriate networks to support multi-player games.
- the system may include multiple databases, the multiple databases are coupled to different servers, and the information related to the game environment can be continuously stored in the databases when different users play the multi-player game online.
- the embodiment of the present disclosure provides a method for marking a virtual item, which can be executed by a terminal or a server.
- the embodiment of the present disclosure takes the method for marking a virtual item executed by a terminal as an example for explanation.
- the terminal includes a touch screen and a processor, wherein the touch screen is used to present a graphical user interface and receive operations generated by a user acting on the graphical user interface.
- the graphical user interface can control the local content of the terminal by responding to the received operation instructions, and can also control the content of the opposite server by responding to the received operation instructions.
- the operation instructions generated by the user acting on the graphical user interface include instructions for starting a game application
- the processor is configured to start the game application after receiving the instruction to start the game application provided by the user.
- the processor is configured to render and draw a graphical user interface associated with the game on the touch display screen.
- the touch display screen is a multi-touch sensitive screen that can sense touch or sliding operations performed simultaneously at multiple points on the screen. The user performs a touch operation on the graphical user interface using a finger, and when the graphical user interface detects the touch operation, the different virtual objects in the graphical user interface of the game are controlled to perform actions corresponding to the touch operation.
- the game can be any one of casual games, action games, role-playing games, strategy games, sports games, puzzle games, etc.
- the game can include a virtual scene of the game drawn on the graphical user interface.
- the virtual scene of the game can include one or more virtual objects controlled by the user (or player), such as virtual characters.
- the virtual scene of the game may also include one or more obstacles, such as railings, gullies, walls, etc., to limit the movement of virtual objects, such as limiting the movement of one or more objects to a specific area within the virtual scene.
- the virtual scene of the game also includes one or more elements, such as skills, scores, character health status, energy, etc., to provide help to players, provide virtual services, increase scores related to player performance, etc.
- the graphical user interface may also present one or more indicators to provide indication information to the player.
- the game may include a virtual object controlled by a player and one or more other virtual objects (such as an enemy character).
- one or more other virtual objects are controlled by other players of the game.
- one or more other virtual objects may be controlled by a computer, such as a robot using an artificial intelligence (AI) algorithm, to achieve a man-machine battle mode.
- AI artificial intelligence
- a virtual object has various skills or abilities that game players use to achieve their goals.
- a virtual object has one or more weapons, props, tools, etc. that can be used to eliminate other objects from the game.
- Such skills or abilities can be activated by the game player using one of a plurality of preset touch operations with the 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 user's touch operation.
- scenario diagram of the virtual item marking system shown in Figure 1 is merely an example.
- the image processing system and scenario described in the embodiment of the present disclosure are intended to more clearly illustrate the technical solution of the embodiment of the present disclosure, and do not constitute a limitation on the technical solution provided by the embodiment of the present disclosure.
- a person of ordinary skill in the art will appreciate that with the evolution of the virtual item marking system and the emergence of new business scenarios, the technical solution provided by the embodiment of the present disclosure is equally applicable to similar technical problems.
- the embodiments of the present disclosure provide a first virtual item marking method, device, computer device and storage medium, which can improve the game experience of players.
- the following are detailed descriptions. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
- the embodiment of the present disclosure provides a method for marking a virtual item.
- the method may be executed by a terminal or a server.
- the embodiment of the present disclosure takes the method for marking a virtual item executed by a terminal as an example for explanation.
- FIG. 2 is a flow chart of a method for marking a virtual item provided by an embodiment of the present disclosure.
- the specific flow of the method for marking a virtual item may be as follows:
- a graphical user interface is provided through a terminal device, and the graphical user interface includes at least a part of the game scene of the target game, a first virtual character and at least one second virtual character in the game scene.
- the first virtual character corresponds to the terminal device, that is, the first virtual character is a virtual character controlled by the current player operating the terminal device; the second virtual character is in the same camp as the first virtual character, that is, the second virtual character and the first virtual character can belong to the same game camp in the game, and the second virtual character and the first virtual character are teammates.
- the movement instruction is triggered by the operation of the current player in the graphical user interface.
- the graphical user interface provides a movement control, and the movement control can be used to control the first virtual character to move in the game scene.
- the current player can control the first virtual character to move in the game scene by touching the movement control.
- the game scene may also include virtual items, which refer to materials that can be picked up by virtual characters in the game scene.
- the virtual items may be virtual guns, virtual shells, energy potions, etc.
- virtual items can be used to complete tasks in the target game, for example, virtual items can be used to maintain the survival of virtual characters in the game scene, and can also be used to defeat other virtual characters, etc.
- virtual items can be used to maintain the survival of virtual characters in the game scene, and can also be used to defeat other virtual characters, etc.
- There are many ways to obtain virtual items for example, you can find virtual props provided in the game scene, or ask for them from other virtual characters, or defeat other virtual characters to obtain the virtual items held by other virtual characters, etc.
- FIG3 is a schematic diagram of an application scenario of a virtual item marking method provided by an embodiment of the present disclosure.
- a partial game scene of the target game is displayed, and a first virtual character controlled by the current player in the game scene is displayed.
- the game scene may also include multiple virtual items.
- the graphical user interface may also provide an operation control, and the operation control may be used by the current player to control the first virtual object.
- the operation control may be a moving control, and the current player may control the movement of the first virtual character in the game scene by operating the moving control.
- the position information refers to the scene position of the first virtual character in the game scene.
- the step of “determining at least two target virtual items from the game scene according to the position information of the first virtual character” may include the following operations:
- a target virtual item is determined.
- a pickup range is set for virtual items in the game scene, and the pickup range refers to the position range in the game scene where the virtual character can pick up the virtual item.
- the pickup range can be an area divided according to the game scene with the virtual item as the center.
- the virtual character within the pickup range of the virtual item can pick up the virtual item or mark the item.
- FIG 4 is a schematic diagram of an application scenario of another virtual item marking method provided by an embodiment of the present disclosure.
- the virtual items in the game scene may include: virtual item A, virtual item B and virtual item C. Based on the position of each virtual item in the game scene, the pickup range corresponding to each virtual item is determined (as shown in the dotted line range in the figure).
- determining the distance between the first virtual character and each virtual item in the game scene according to the position information may include: determining a first relative distance between the first virtual character and each virtual item in the game scene according to the position information, and the first relative distance is also the distance between the first virtual character and the virtual item in the game scene.
- the first relative distance between the first virtual character and virtual item A may be L1; the first relative distance between the first virtual character and virtual item B may be L2; and the first relative distance between the first virtual character and virtual item C may be L3.
- determining the target virtual item may include:
- a virtual item whose first relative distance to the first virtual character is less than a preset distance is determined from at least one virtual item to obtain a target virtual item.
- the preset distance may be used to determine whether the first virtual character is within the pickup range of the virtual item.
- the preset distance may be 200 meters in the game scene. There may be multiple target virtual items.
- the first relative distance L1 is compared with the preset distance, and the comparison result is: the first relative distance L1 is greater than the preset distance
- the first relative distance L2 is compared with the preset distance, and the comparison result is: the first relative distance L2 is less than the preset distance
- the picking parameters refer to the picking rules set by the game player corresponding to the second virtual character for the virtual items in the virtual scene.
- the picking rules may include: whether/not to automatically pick up supplies when the virtual character moves in the game scene, whether/not to automatically pick up supplies when there are no supplies in the virtual character's backpack, etc.
- the step of “obtaining the picking parameters of the second virtual character” may include the following operations:
- the terminal device corresponding to the second virtual character by sending the marking information of the target virtual item to the terminal device corresponding to the second virtual character, the terminal device corresponding to the second virtual character displays the marking information, so that the second virtual character can pick up the target virtual item in the game scene.
- the solution can automatically send the marking information of the virtual item to the second virtual character in the virtual scene.
- the second virtual character can be a second virtual character that satisfies the automatic sending of marking information, for example, the second relative distance between the second virtual character and the first virtual character is less than the preset distance.
- the second virtual character needs to move to the pickup range of the target virtual item in the game scene before picking up the target virtual item.
- a virtual character that is closer to the first virtual character can be selected from the game camp to which the first virtual character belongs.
- the second relative distance refers to the distance between the first virtual character and the virtual character in the same game camp as the first virtual character in the game scene.
- the second relative distance between the first virtual character and the virtual characters in the same game camp is then compared with the preset distance, and the virtual character that is closer to the first virtual character is determined according to the comparison result as the second virtual character that automatically sends the mark information, that is, the close-distance second virtual character.
- the game camp to which the first virtual character belongs may be: the first game camp.
- the first game camp includes: the first virtual character, the second virtual character a, the second virtual character b, the second virtual character c, and the like.
- the second relative distance between the first virtual character and the second virtual character a may be L4; the second relative distance between the first virtual character and the second virtual character b may be L5; the second relative distance between the first virtual character and the second virtual character c may be L6.
- the second relative distance L4 is compared with the preset distance, and the comparison result may be: the second relative distance L4 is greater than the preset distance; the second relative distance L5 is compared with the preset distance, and the comparison result may be: the second relative distance L5 is less than the preset distance; the second relative distance L6 is compared with the preset distance, and the comparison result may be: the second relative distance L6 is less than the preset distance, then it can be determined that the close-range second virtual characters include: the second virtual character b, the second virtual character c.
- the step of “obtaining the picking parameters of the second virtual character” may include the following operations:
- the item picking setting information refers to setting information of the game player character corresponding to the second virtual character for picking up rules of virtual items in the virtual scene in the target game.
- a virtual item pickup setting interface is designed in the target game, and the player can set the item pickup setting information by operating the item pickup setting interface.
- FIG5 is a schematic diagram of an application scenario of another virtual item marking method provided by an embodiment of the present disclosure.
- the pickup setting interface shown in FIG5 is an interface for setting the pickup of virtual items.
- the pickup setting interface includes multiple item pickup setting rules: hiding item descriptions in the pickup list, intelligent sorting of the pickup list according to existing equipment, quick replacement of backpack supplies, automatic pickup, automatic pickup of supplies when sprinting, disabling automatic pickup when the pickup list is folded, and automatic pickup of firearms when there are no firearms on the body.
- “Hide item description in the pickup list” means hiding the description information of the virtual item when the pickup list of the virtual item is displayed;
- "Intelligent sorting of the pickup list according to existing equipment” means that the virtual items in the pickup list will be intelligently sorted according to the equipment held by the virtual character;
- “Quick replacement backpack material function” quickly replaces the materials in the backpack of the virtual character based on the virtual items in the pickup list;
- “Automatic pickup” means automatic pickup of virtual items;
- “Automatic pickup when sprinting” means that the virtual character can automatically pick up virtual items in the virtual scene when sprinting in the game scene;
- “Disable automatic pickup when the pickup list is folded” means that the automatic pickup of virtual items in the virtual scene is stopped when the expanded pickup list is folded;
- “Automatic pickup of firearms when there is no firearm on the body” means that the firearms in the virtual scene can be automatically picked up when the virtual character does not hold a firearm.
- the embodiment of the present disclosure is not limited to the pickup rule setting of virtual items shown in
- a switch control is also provided, and the player can use the switch control to set the virtual The pickup rules of virtual items.
- the on/off switch on the switch control is used to set the corresponding function on/off. For example, if the switch control of the rule "Hide item description in the pickup list” is set to "On”, it means turning on “Hide item description in the pickup list”; if the switch control of the rule “Auto pickup” is set to “On”, it means starting "Auto pickup", etc.
- the picking rules may also include: virtual items that the player chooses to pick up, virtual items that are not to be picked up, virtual items that are picked up first, etc.
- the step of “determining at least one first target virtual item from at least two target virtual items according to the pickup parameters” may include the following operations:
- a virtual item that meets the item pickup setting information is selected from at least two target virtual items to obtain a first target virtual item.
- the virtual items in the virtual scene are matched with the item pickup setting information, and the virtual items matching the item pickup setting information are screened out to obtain the first target virtual item.
- the second virtual character in the virtual scene at a close distance may include: virtual character a, virtual character b, and virtual character c.
- Acquiring the pickup configuration information of virtual character a may include: selecting the virtual items to be picked up includes the first virtual item, the second virtual item, and the third virtual item;
- acquiring the pickup configuration information of virtual character b may include: selecting the virtual items to be picked up includes the first virtual item, the second virtual item, and the fourth virtual item;
- acquiring the pickup configuration information of virtual character c may include: selecting the virtual items to be picked up includes the second virtual item, the fourth virtual item, and the fifth virtual item.
- the target virtual item may be: the third virtual item, and then the virtual item selected to be picked up in the picking configuration information of each virtual character is matched with the target virtual item, and it can be determined that the second virtual object that needs to pick up the target virtual item may be: virtual character a.
- the marking information refers to the information for marking the target virtual item displayed on the graphical user interface.
- the step of “sending and displaying marking information corresponding to at least one first target virtual item to a terminal device corresponding to the second virtual character” may include the following operations:
- the marking information corresponding to at least one first target virtual item is sent to a terminal device corresponding to the second virtual character in close proximity and displayed.
- the graphical user interface may further include a marking information display area, and when the first target virtual item required by the second virtual character in the close distance is determined according to the pickup parameters of the second virtual character in the close distance, the second virtual character in the close distance may be triggered to pick up the first target virtual item.
- the terminal device corresponding to the character sends the marking information for the first target virtual item, and at the same time, displays the marking information of the first target virtual item on the graphical user interface.
- the marking information may be “marking the first virtual item”.
- the second virtual character at close range may be: virtual character a
- the target virtual item required by the virtual character may be: firearm A according to the picking parameters corresponding to virtual character a. Then, the marking information of firearm A may be sent to virtual character a to facilitate virtual character A to quickly pick up firearm A.
- the second target virtual item is a virtual item among the at least two target virtual items.
- a method is also provided for a player to manually mark a virtual item and send the marking information of the virtual item to a terminal device of a second virtual character.
- the step of "sending and displaying the marking information corresponding to the second target virtual item to the terminal device corresponding to the second virtual character” may include the following operations:
- the marking information corresponding to the second target virtual item is sent to a terminal device corresponding to the remote second virtual character and displayed.
- a second virtual character whose second relative distance from the first virtual character exceeds a preset distance may be selected from the game camp to which the first virtual character belongs.
- the second relative distance refers to the distance between a virtual character belonging to the same game camp as the first virtual character and the first virtual character in the game scene. Then the second relative distance between the first virtual character and each second virtual character in the game scene is compared with the preset distance, and the second virtual character that exceeds the preset distance from the first virtual character is determined according to the comparison result as the second virtual character that manually sends the marking information, that is, the long-distance second virtual character.
- the game camp to which the first virtual character belongs may be: the first game camp.
- the first game camp includes: the first virtual character, the second virtual character a, the second virtual character b, the second virtual character c, etc.
- the second relative distance between the first virtual character and the second virtual character a may be: L4; the second relative distance between the first virtual character and the second virtual character b may be: L5; the second relative distance between the first virtual character and the second virtual character c may be: L6.
- the second relative distance L4 is compared with the preset distance, and the comparison result can be: Distance L4 is greater than the preset distance; comparing the second relative distance L5 with the preset distance, the comparison result may be: the second relative distance L5 is less than the preset distance; comparing the second relative distance L6 with the preset distance, the comparison result may be: the second relative distance L6 is less than the preset distance, then it can be determined that the long-distance second virtual character includes: the second virtual character a.
- the second target virtual item may be at least one first target virtual item, that is, a target virtual item that meets the pickup parameters corresponding to the second virtual object; in order to send the required virtual item marking information to the remote second virtual character, the step of “sending and displaying the marking information corresponding to the second target virtual item to the terminal device corresponding to the remote second virtual character” may include the following operations:
- the marking information corresponding to at least one first target virtual item is sent to a terminal device corresponding to the remote second virtual character and displayed.
- the picking parameters of the remote second virtual character are obtained, a first target virtual item that meets the picking parameters of the remote second virtual character is selected from the virtual items in the virtual scene, and then marking information of the first target virtual item is sent to the remote second virtual character.
- the marking information of the first target virtual item is displayed on the graphical user interface.
- the second target virtual item is a virtual item other than the first target virtual item among the at least two target virtual items.
- the step of "sending and displaying the marking information corresponding to the second target virtual item to the terminal device corresponding to the remote second virtual character" may include the following operations:
- the marking information corresponding to the virtual items other than the first target virtual item among the at least two target virtual items is sent to and displayed on a terminal device corresponding to the remote second virtual character.
- the virtual scene includes a first virtual object, a remote second virtual object, and virtual items A, virtual item B, virtual item C, and virtual item D.
- the pickup parameters of the remote second virtual object are obtained, and each virtual item in the virtual scene is matched with the pickup parameters of the remote second virtual object, and it is determined that the virtual items that match the pickup parameters of the remote second virtual object may be: virtual item A, virtual item B, that is, the required virtual items set by the remote second virtual object may be: virtual item A and virtual item B.
- virtual item C and virtual item D may be virtual items required by the remote second virtual character.
- the virtual item C and virtual item D may be manually marked by the player through manual marking, so as to send the marking information of virtual item C and virtual item D to the remote second virtual character.
- the following steps may also be included:
- the step of “responding to the marking instruction for the second target virtual item triggered by the graphical user interface, sending and displaying the marking information corresponding to the second target virtual item to the terminal device corresponding to the second virtual character” may include the following operations:
- marking information corresponding to the second target virtual item is sent to a terminal device corresponding to the second virtual character and displayed.
- a marking control can be designed in the graphical user interface.
- the marking information of the target virtual item can be sent to the terminal device corresponding to the distant second virtual character through manual marking, that is, the operation of the marking control can be triggered to mark the target virtual item.
- the mark control may not be fixedly displayed on the graphical user interface, and the display triggering condition of the mark control may be: the first virtual character is within the pickup range of the virtual item. Similarly, when the first virtual character moves from the pickup range of the virtual item to outside the pickup range, the mark control is not displayed, thereby improving the utilization rate of the screen space.
- FIG6 is a schematic diagram of an application scenario of another virtual item marking method provided by an embodiment of the present disclosure.
- a first virtual character and a virtual item B are in a game scene, wherein the first virtual character may be in the pickup range of the virtual item B.
- the graphical user interface may also provide a marking control, which may be used to mark the virtual item B.
- the method may further include the following steps:
- a step of displaying marking information corresponding to the second target virtual item to a terminal device corresponding to the second virtual character is performed.
- the held virtual items may be all virtual items owned by the first virtual character in the game, and may be virtual items picked up, purchased or otherwise obtained by the first virtual character.
- the target virtual item can be sent to the terminal device corresponding to the second virtual character in the same game camp.
- the marking information of the virtual item can be sent to the terminal device corresponding to the second virtual character in the same game camp.
- the first virtual character needs to pick up the target virtual item, and there is no need to perform the step of sending the marking information of the target virtual item to the terminal device corresponding to the second virtual character in the same game camp.
- the method may further include the following steps:
- the step of sending marking information of the target virtual item to the terminal device corresponding to the second virtual character is executed.
- a virtual item of the same type as the target virtual item can have the same role/function as the target virtual item. Then, when the virtual items held by the first virtual character include a virtual item of the same type as the target virtual item, the virtual item can replace the role of the target virtual item. At this time, the target virtual item can be left to teammates in need, and the marking information of the target virtual item can be sent to the terminal device corresponding to the second virtual character in the same game camp.
- the method may further include the following steps:
- a step of sending marking information of the target virtual item to a terminal device corresponding to the second virtual character is performed.
- the players in order to meet the item marking requirements of different players, the players can customize the item type of the virtual item to be marked.
- the current player controlling the first virtual character can set the item type of the virtual item that can be marked before the game starts.
- the first virtual character is within the pickup range of the target virtual item, it is determined whether the item type of the target virtual item is the item type of the virtual item set by the current player to be marked. If the item type of the target virtual item is the item type of the virtual item set by the current player to be marked, the marking information of the target virtual item can be sent to the terminal device corresponding to the second virtual character in the same game camp; if the item type of the target virtual item is not the item type of the virtual item set by the current player to be marked, the marking information of the target virtual item does not need to be sent to the terminal device corresponding to the second virtual character in the same game camp.
- the method may further include the following steps:
- mark information is generated.
- the location information may be represented by the location coordinates of the target virtual object in the game scene, for example, by longitude and latitude.
- the generated marking information includes the item name of the target virtual item and the location coordinates of the target virtual item.
- the marking information is sent to the terminal device corresponding to the second virtual character, the second virtual character can quickly find the target virtual item in the game scene according to the location coordinates and pick it up.
- the terminal device corresponding to the first virtual character can display the marking information on the graphical user interface.
- the terminal device corresponding to the second virtual character can also display the marking information on the graphic user interface.
- FIG. 7 is a schematic diagram of an application scenario of another virtual item marking method provided by an embodiment of the present disclosure.
- a first virtual character and a virtual item B are in a game scene, wherein the first virtual character may be within the pickup range of the virtual item B.
- the disclosed embodiment discloses a method for marking virtual items, the method comprising: when a relative distance between a first virtual character and a target virtual item among virtual items meets a preset virtual item marking condition, sending marking information of the target virtual item to a terminal device corresponding to a second virtual character, wherein the second virtual character and the first virtual character belong to the same game camp, thereby improving the player's gaming experience, reducing the operating time of the terminal device, and saving power of the terminal device.
- FIG8 is a flow chart of another virtual item marking method provided by an embodiment of the present disclosure.
- the specific process can be as follows:
- the terminal displays a game interface of a target game.
- a game interface is provided through a terminal device, and the game interface may include a part of a game scene of a target game and a current player character in the game scene.
- the game scene may also include virtual items, and the current player character may pick up the virtual items to obtain the virtual items.
- the current player character may be a virtual object controlled by the current game player.
- FIG. 9 is a schematic diagram of an application scenario of another virtual item marking method provided by an embodiment of the present disclosure.
- a partial game scene of the target game is displayed.
- Former player character first virtual item.
- a second virtual character is determined from virtual characters in the same game camp.
- a first position of the current player character in the game scene is obtained, and a second position of the first virtual object in the game scene is obtained, and a relative distance between the current player character and the first virtual object is determined according to the first position and the second position.
- the relative distance is compared with a preset distance. If the relative distance is smaller than the preset distance, it can be determined that the current player character and the first virtual item meet the triggering condition of the virtual item mark.
- a second virtual character that meets the condition for sending the marking information is determined from other virtual characters in the same game camp as the current player character.
- satisfying the condition of sending the mark information may include: the distance between the current virtual character and the virtual character is less than a preset distance, and the item picking configuration includes picking up the first virtual item. According to the virtual character satisfying the above-mentioned condition of sending the mark information, the second virtual character is determined.
- the terminal sends the marking information of the virtual item to the terminal device corresponding to the second virtual character.
- the marking information of the first virtual item is automatically triggered to be sent to the second virtual character, so that the second virtual character picks up the first virtual item.
- the disclosed embodiment discloses a method for marking virtual items, the method comprising: responding to a movement instruction for a first virtual character, controlling the first virtual character to move in a game scene; determining at least two target virtual items from the game scene according to the position information of the first virtual character; obtaining the picking parameters of the second virtual character, and determining at least one first target virtual item from the at least two target virtual items according to the picking parameters; sending and displaying marking information corresponding to at least one first target virtual item to a terminal device corresponding to the second virtual character; responding to a marking instruction for a second target virtual item triggered through a graphical user interface, sending and displaying marking information corresponding to the second target virtual item to a terminal device corresponding to the second virtual character, wherein the second target virtual item is a virtual item among the at least two target virtual items.
- the user quickly sends a request to obtain the target virtual character that has picked up the most target game props, which can simplify the user operation, thereby improving the user's gaming experience, reducing the running time of the terminal device, and saving the power of the terminal device.
- the embodiment of the present disclosure also provides a virtual item marking device based on the virtual item marking method.
- the meaning of the term is the same as the virtual item marking method.
- the specific implementation details can refer to the description in the method embodiment.
- FIG. 10 is a structural block diagram of a virtual item marking device provided by an embodiment of the present disclosure, the device comprising:
- a control unit 301 configured to respond to a movement instruction for the first virtual character and control the first virtual character to move in the game scene;
- a determining unit 302 configured to determine at least two target virtual objects from the game scene according to the position information of the first virtual character
- An acquisition unit 303 is used to acquire a pickup parameter of the second virtual character, and determine at least one first target virtual item from the at least two target virtual items according to the pickup parameter;
- a first sending unit 304 is configured to send and display marking information corresponding to the at least one first target virtual item to a terminal device corresponding to the second virtual character;
- the second sending unit 305 is used to respond to the marking instruction for the second target virtual item triggered by the graphical user interface, and send and display marking information corresponding to the second target virtual item to the terminal device corresponding to the second virtual character, wherein the second target virtual item is a virtual item among the at least two target virtual items.
- the acquisition unit 303 may include:
- a first determining subunit is used to determine a close-range second virtual character based on a second virtual character whose distance from the first virtual character in the game scene does not exceed a preset distance;
- the first acquisition subunit is used to acquire the picking parameters of the second virtual character at a close distance.
- the first sending unit 304 may include:
- the first sending subunit is used to send and display the marking information corresponding to the at least one first target virtual item to the terminal device corresponding to the second virtual character at a short distance.
- the second sending unit 305 may include:
- a second determining subunit is used to determine a long-distance second virtual character based on a second virtual character whose distance from the first virtual character in the game scene exceeds a preset distance;
- the second sending subunit is used to send and display the marking information corresponding to the second target virtual item to the terminal device corresponding to the remote second virtual character.
- the second sending unit 305 may include:
- the third sending subunit is used to send and display the marking information corresponding to the at least one first target virtual item to the terminal device corresponding to the remote second virtual character.
- the second sending unit 305 may include:
- the fourth sending subunit is configured to send and display marking information corresponding to the virtual items among the at least two target virtual items except the first target virtual item to a terminal device corresponding to the remote second virtual character.
- the acquisition unit 303 may include:
- a second acquisition subunit configured to acquire item pickup setting information corresponding to the second virtual character
- the third determining subunit is configured to obtain the picking parameters based on the item picking setting information.
- the acquisition unit 303 may include:
- the selection subunit is used to select a virtual item that meets the item pickup setting information from the at least two target virtual items to obtain the first target virtual item.
- the determining unit 302 may include:
- a fourth determining subunit configured to determine the distance between the first virtual character and each virtual object in the game scene according to the position information
- the fifth determining subunit is configured to determine the target virtual item based on a virtual item whose distance from the first virtual character is less than a preset distance.
- the apparatus may further include:
- a unit is provided for providing a marking control in the graphical user interface.
- the second sending unit 305 may include:
- the fifth sending subunit is used to send and display the marking information corresponding to the second target virtual item to the terminal device corresponding to the second virtual character in response to the information marking operation on the marking control.
- the embodiment of the present disclosure discloses a marking device for virtual items, wherein a control unit 301 responds to a movement instruction for the first virtual character, and controls the first virtual character to move in the game scene; a determination unit 302 determines at least two target virtual items from the game scene according to the position information of the first virtual character; an acquisition unit 303 acquires the pickup parameters of the second virtual character, and determines at least one first target virtual item from the at least two target virtual items according to the pickup parameters; a first sending unit 304 sends and displays marking information corresponding to the at least one first target virtual item to a terminal device corresponding to the second virtual character; a second sending unit 305 responds to a marking instruction for the second target virtual item triggered by the graphical user interface, and sends and displays marking information corresponding to the second target virtual item to a terminal device corresponding to the second virtual character, wherein the second target virtual item is a virtual item among the at least two target virtual items.
- a control unit 301 responds to a movement instruction for the first virtual character
- an embodiment of the present disclosure also provides a computer device, which can be a terminal.
- Figure 11 is a schematic diagram of the structure of a computer device provided in an embodiment of the present disclosure.
- the computer device 500 includes a processor 501 with one or more processing cores, a memory 502 with one or more computer-readable storage media, and a computer program stored in the memory 502 and executable on the processor.
- the processor 501 is electrically connected to the memory 502.
- the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.
- the processor 501 is the control center of the computer device 500. It uses various interfaces and lines to connect the various parts of the entire computer device 500, executes 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.
- the processor 501 in the computer device 500 will load instructions corresponding to the processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 will run the application programs stored in the memory 502 to implement various functions:
- marking information corresponding to the second target virtual item is sent to and displayed on a terminal device corresponding to the second virtual character, wherein the second target virtual item is a virtual item among the at least two target virtual items.
- obtaining the pickup parameters of the second virtual character includes:
- sending and displaying marking information corresponding to at least one first target virtual item to a terminal device corresponding to the second virtual character includes:
- sending and displaying marking information corresponding to the second target virtual item to a terminal device corresponding to the second virtual character includes:
- the marking information corresponding to the second target virtual item is sent to a terminal device corresponding to the remote second virtual character and displayed.
- the second target virtual item is at least one first target virtual item
- the marking information corresponding to at least one first target virtual item is sent to a terminal device corresponding to the remote second virtual character and displayed.
- the second target virtual item is a virtual item other than the first target virtual item among the at least two target virtual items;
- the marking information corresponding to the virtual items other than the first target virtual item among the at least two target virtual items is sent to and displayed on a terminal device corresponding to the remote second virtual character.
- obtaining the pickup parameters of the second virtual character includes:
- determining at least one first target virtual item from at least two target virtual items according to the pickup parameters includes:
- a virtual item that meets the item pickup setting information is selected from at least two target virtual items to obtain a first target virtual item.
- determining at least two target virtual objects from the game scene according to the position information of the first virtual character includes:
- a target virtual item is determined.
- the method further includes:
- sending and displaying marking information corresponding to the second target virtual item to a terminal device corresponding to the second virtual character including:
- marking information corresponding to the second target virtual item is sent to a terminal device corresponding to the second virtual character and displayed.
- This scheme designs preset marking conditions for triggering a virtual character in a game scene to mark a virtual item.
- the preset marking conditions include the presence of a target virtual item in the game scene whose distance from the virtual character is less than a preset distance.
- a second virtual character is selected from other game characters in the same game camp as the virtual character according to a preset condition for sending marking information, and then marking information of the target virtual item is sent to the second virtual character, so that the second virtual character picks up the target virtual item according to the marking information, thereby facilitating the player's marking operation on the virtual item, improving the player's gaming experience, reducing the operating time of the terminal device, and saving the power of the terminal device.
- the computer device 500 further includes: a touch screen 503, a radio frequency circuit 504, an audio circuit 505, an input unit 506, and a power supply 507.
- the processor 501 is electrically connected to the touch screen 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, and the power supply 507.
- the computer device structure shown in FIG11 does not limit the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
- the touch display screen 503 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface.
- the touch display screen 503 may include a display panel and a touch panel.
- the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the computer device, which can be composed of graphics, text, icons, videos and any combination thereof.
- the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), etc.
- LCD liquid crystal display
- OLED Organic Light-Emitting Diode
- the touch panel can be used to collect the user's touch operations on or near it (such as the user's operation on or near the touch panel using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute the corresponding program.
- the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the touch controller.
- Processor 501 and can receive and execute commands sent by processor 501.
- the touch panel can cover the display panel.
- the touch panel When the touch panel detects a touch operation on or near it, it is transmitted to the processor 501 to determine the type of touch event, and then the processor 501 provides a corresponding visual output on the display panel according to the type of touch event.
- the touch panel and the display panel can be integrated into the touch display screen 503 to realize input and output functions.
- the touch panel and the touch panel can be used as two independent components to realize input and output functions. That is, the touch display screen 503 can also be used as a part of the input unit 506 to realize the input function.
- the radio frequency circuit 504 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other computer devices through wireless communication, and to send and receive signals between the network device or other computer devices.
- the audio circuit 505 can be used to provide an audio interface between the user and the computer device through a speaker and a microphone.
- the audio circuit 505 can transmit the electrical signal converted from the received audio data to the speaker, which is converted 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, and then the audio data is output to the processor 501 for processing, and then sent to another computer device through the radio frequency circuit 504, or the audio data is output to the memory 502 for further processing.
- the audio circuit 505 may also include an earphone jack to provide communication between an external headset and the computer device.
- the input unit 506 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
- user feature information such as fingerprint, iris, facial information, etc.
- the power supply 507 is used to supply power to various components of the computer device 500.
- the power supply 507 can be logically connected to the processor 501 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
- the power supply 507 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
- the computer device 500 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
- the computer device responds to the movement instruction for the first virtual character, controls the first virtual character to move in the game scene; determines at least two target virtual items from the game scene according to the position information of the first virtual character; obtains the pickup parameter of the second virtual character, and determines at least one first target virtual item from the at least two target virtual items according to the pickup parameter; sends and displays the at least one first target virtual item to the terminal device corresponding to the second virtual character;
- the marking information corresponding to the second target virtual item is sent to a terminal device corresponding to the second virtual character and displayed, wherein the second target virtual item is a virtual item among the at least two target virtual items.
- the embodiment of the present disclosure provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer program can be loaded by a processor to execute the steps in any virtual item marking method provided in the embodiment of the present disclosure.
- the computer program can execute the following steps:
- marking information corresponding to the second target virtual item is sent to and displayed on a terminal device corresponding to the second virtual character, wherein the second target virtual item is a virtual item among the at least two target virtual items.
- obtaining the pickup parameters of the second virtual character includes:
- sending and displaying marking information corresponding to at least one first target virtual item to a terminal device corresponding to the second virtual character includes:
- the marking information corresponding to at least one first target virtual item is sent to a terminal device corresponding to the second virtual character in close proximity and displayed.
- sending and displaying marking information corresponding to the second target virtual item to a terminal device corresponding to the second virtual character includes:
- the marking information corresponding to the second target virtual item is sent to a terminal device corresponding to the remote second virtual character and displayed.
- the second target virtual item is at least one first target virtual item
- the marking information corresponding to at least one first target virtual item is sent to a terminal device corresponding to the remote second virtual character and displayed.
- the second target virtual item is a virtual item other than the first target virtual item among the at least two target virtual items;
- the marking information corresponding to the virtual items other than the first target virtual item among the at least two target virtual items is sent to and displayed on a terminal device corresponding to the remote second virtual character.
- obtaining the pickup parameters of the second virtual character includes:
- determining at least one first target virtual item from at least two target virtual items according to the pickup parameters includes:
- a virtual item that meets the item pickup setting information is selected from at least two target virtual items to obtain a first target virtual item.
- determining at least two target virtual objects from the game scene according to the position information of the first virtual character includes:
- a target virtual item is determined.
- the method further includes:
- a marking instruction is sent to the second virtual character corresponding to the second virtual character.
- the terminal device sends and displays marking information corresponding to the second target virtual item, including:
- marking information corresponding to the second target virtual item is sent to a terminal device corresponding to the second virtual character and displayed.
- This scheme designs preset marking conditions for triggering a virtual character in a game scene to mark a virtual item.
- the preset marking conditions include the presence of a target virtual item in the game scene whose distance from the virtual character is less than a preset distance.
- a second virtual character is selected from other game characters in the same game camp as the virtual character according to a preset condition for sending marking information, and then marking information of the target virtual item is sent to the second virtual character, so that the second virtual character picks up the target virtual item according to the marking information, thereby facilitating the player's marking operation on the virtual item, improving the player's gaming experience, reducing the operating time of the terminal device, and saving the power of the terminal device.
- the storage medium may include: read-only memory (ROM), random access memory (RAM), disk or CD, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种虚拟物品的标记方法,触发游戏场景中虚拟角色对虚拟物品进行标记的预设标记条件,其包括游戏场景中存在与虚拟角色之间小于预设距离的目标虚拟物品,根据预设的发送标记信息条件选取第二虚拟角色,向第二虚拟角色发送目标虚拟物品的标记信息,使得第二虚拟角色对目标虚拟物品进行拾取。
Description
本公开涉及计算机技术领域,具体涉及一种虚拟物品的标记方法、装置、计算机设备及存储介质。
在一些手游或者端游的游戏场景中,玩家需要找到并拾取各种游戏道具,并利用这些拾取到的游戏道具完成游戏任务。
相关游戏场景中,玩家可以与好友一起组队进行游戏,在游戏中,游戏玩家寻找到物资时,可以向队友玩家发送物资标记信息,以提示队友玩家前来拾取物资。现有的物资标记信息需要玩家通过对游戏界面的物资标记控件的操作触发向队友玩家发送,影响玩家游戏操作,游戏体验较差,提高了终端设备的运行时长,造成终端设备电量消耗高。
本公开实施例提供一种虚拟物品的标记方法、装置、计算机设备及存储介质,可以提高玩家游戏体验,降低了终端设备的运行时长,节省了终端设备的电量。
第一方面,本公开实施例提供了一种虚拟物品的标记方法,包括:
通过终端设备提供图形用户界面,所述图形用户界面包括至少部分游戏场景,处于所述游戏场景中的第一虚拟角色和至少一第二虚拟角色,其中,所述第一虚拟角色与所述终端设备相对应,所述第二虚拟角色与所述第一虚拟角色为相同阵营,所述方法包括:
响应针对所述第一虚拟角色的移动指令,控制所述第一虚拟角色在所述游戏场景中移动;
根据所述第一虚拟角色的位置信息从所述游戏场景中确定至少两个目标虚拟物品;
获取所述第二虚拟角色的拾取参数,并根据所述拾取参数从所述至少两个目标虚拟物品确定至少一第一目标虚拟物品;
向所述第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息;
响应通过所述图形用户界面触发的针对第二目标虚拟物品的标记指令,向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,其中,所述第二目标虚拟物品为所述至少两个目标虚拟物品中的虚拟物品。
第二方面,本公开实施例还提供了一种虚拟物品的标记装置,包括:
控制单元,用于响应针对所述第一虚拟角色的移动指令,控制所述第一虚拟角色在所述游戏场景中移动;
确定单元,用于根据所述第一虚拟角色的位置信息从所述游戏场景中确定至少两个目标虚拟物品;
获取单元,用于获取所述第二虚拟角色的拾取参数,并根据所述拾取参数从所述至少两个目标虚拟物品确定至少一第一目标虚拟物品;
第一发送单元,用于向所述第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息;
第二发送单元,用于响应通过所述图形用户界面触发的针对第二目标虚拟物品的标记指令,向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,其中,所述第二目标虚拟物品为所述至少两个目标虚拟物品中的虚拟物品。
第三方面,本公开实施例还提供了一种计算机设备,包括存储器,处理器及存储在储存器上并可在处理器上运行的计算机程序,其中,处理器执行本公开实施例任一提供的虚拟物品的标记方法。
第四方面,本公开实施例还提供了一种存储介质,存储介质存储有多条指令,指令适于处理器进行加载,以执行如上的虚拟物品的标记方法。
本方案设计触发游戏场景中虚拟角色对虚拟物品进行标记的预设标记条件,该预设标记条件包括游戏场景中存在与虚拟角色之间的距离小于预设距离的目标虚拟物品,进一步的,根据预设的发送标记信息条件从与虚拟角色处于同一游戏阵营的其他游戏角色中选取第二虚拟角色,然后向第二虚拟角色发送目标虚拟物品的标记信息,使得第二虚拟角色根据标记信息对目标虚拟物品进行拾取,方便玩家对虚拟物品的标记操作,提高玩家游戏体验,降低了终端设备的运行时长,节省了终端设备的电量。
为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本公开实施例其中之一提供的一种虚拟物品的标记系统的场景示意图。
图2为本公开实施例其中之一提供的一种虚拟物品的标记方法的流程示意图。
图3为本公开实施例其中之一提供的虚拟物品分享方法的一种应用场景示意图。
图4为本公开实施例其中之一提供的虚拟物品分享方法的另一种应用场景示意图。
图5为本公开实施例其中之一提供的虚拟物品分享方法的另一种应用场景示意图。
图6为本公开实施例其中之一提供的虚拟物品的标记方法的另一种应用场景示意图。
图7为本公开实施例其中之一提供的虚拟物品的标记方法的另一种应用场景示意图。
图8为本公开实施例其中之一提供的另一种虚拟物品的标记方法的流程示意图。
图9为本公开实施例其中之一提供的虚拟物品的标记方法的另一种应用场景示意图。
图10为本公开实施例其中之一提供的一种虚拟物品的标记装置的结构框图。
图11为本公开实施例其中之一提供的计算机设备的结构示意图。
本公开的实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本公开实施例提供一种虚拟物品的标记方法、装置、存储介质及计算机设备。具体地,本公开实施例的虚拟物品的标记方法可以由计算机设备执行,其中,该计算机设备可以为终端或者服务器等设备。该终端可以为智能手机、平板电脑、笔记本电脑、触控屏幕、游戏机、个人计算机(PC,Personal Computer)、个人数字助理(Personal Digital Assistant,PDA)等终端设备,终端还可以包括客户端,该客户端可以是游戏应用客户端、携带有游戏程序的浏览器客户端或即时通信客户端等。服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、CDN、以及大数据和人工智能平台等基础云计算服务的云服务器。
例如,当该虚拟物品的标记方法运行于终端时,终端设备存储有游戏应用程序并用于呈现游戏画面中的虚拟场景。终端设备用于通过图形用户界面与用户进行交互,例如通过终端设备下载安装游戏应用程序并运行。该终端设备将图形用户界面提供给用户的方式可以包括
多种,例如,可以渲染显示在终端设备的显示屏上,或者,通过全息投影呈现图形用户界面。例如,终端设备可以包括触控显示屏和处理器,该触控显示屏用于呈现图形用户界面以及接收用户作用于图形用户界面产生的操作指令,该图形用户界面包括游戏画面,该处理器用于运行该游戏、生成图形用户界面、响应操作指令以及控制图形用户界面在触控显示屏上的显示。
例如,当该虚拟物品的标记方法运行于服务器时,可以为云游戏。云游戏是指以云计算为基础的游戏方式。在云游戏的运行模式下,游戏应用程序的运行主体和游戏画面呈现主体是分离的,虚拟物品的标记方法的储存与运行是在云游戏服务器上完成的。而游戏画面呈现是在云游戏的客户端完成的,云游戏客户端主要用于游戏数据的接收、发送以及游戏画面的呈现,例如,云游戏客户端可以是靠近用户侧的具有数据传输功能的显示设备,如,移动终端、电视机、计算机、掌上电脑、个人数字助理等,但是进行游戏数据处理的终端设备为云端的云游戏服务器。在进行游戏时,用户操作云游戏客户端向云游戏服务器发送操作指令,云游戏服务器根据操作指令运行游戏,将游戏画面等数据进行编码压缩,通过网络返回云游戏客户端,最后,通过云游戏客户端进行解码并输出游戏画面。
请参阅图1,图1为本公开实施例提供的一种虚拟物品的标记系统的场景示意图。该系统可以包括至少一个终端,至少一个服务器,至少一个数据库,以及网络。用户持有的终端可以通过网络连接到不同游戏的服务器。终端是具有计算硬件的任何设备,该计算硬件能够支持和执行与游戏对应的软件产品。另外,终端具有用于感测和获得用户通过在一个或者多个触控显示屏的多个点执行的触摸或者滑动操作的输入的一个或者多个多触敏屏幕。另外,当系统包括多个终端、多个服务器、多个网络时,不同的终端可以通过不同的网络、通过不同的服务器相互连接。网络可以是无线网络或者有线网络,比如无线网络为无线局域网(WLAN)、局域网(LAN)、蜂窝网络、2G网络、3G网络、4G网络、5G网络等。另外,不同的终端之间也可以使用自身的蓝牙网络或者热点网络连接到其他终端或者连接到服务器等。例如,多个用户可以通过不同的终端在线从而通过适当网络连接并且相互同步,以支持多玩家游戏。另外,该系统可以包括多个数据库,多个数据库耦合到不同的服务器,并且可以将与游戏环境有关的信息在不同用户在线进行多玩家游戏时连续地存储于数据库中。
本公开实施例提供了一种虚拟物品的标记方法,该方法可以由终端或服务器执行。本公开实施例以虚拟物品的标记方法由终端执行为例来进行说明。其中,该终端包括触控显示屏和处理器,该触控显示屏用于呈现图形用户界面以及接收用户作用于图形用户界面产生的操
作指令。用户通过触控显示屏对图形用户界面进行操作时,该图形用户界面可以通过响应于接收到的操作指令控制终端本地的内容,也可以通过响应于接收到的操作指令控制对端服务器的内容。例如,用户作用于图形用户界面产生的操作指令包括用于启动游戏应用程序的指令,处理器被配置为在接收到用户提供的启动游戏应用程序的指令之后启动游戏应用程序。此外,处理器被配置为在触控显示屏上渲染和绘制与游戏相关联的图形用户界面。触控显示屏是能够感测屏幕上的多个点同时执行的触摸或者滑动操作的多触敏屏幕。用户在使用手指在图形用户界面上执行触控操作,图形用户界面在检测到触控操作时,控制游戏的图形用户界面中的不同虚拟对象执行与触控操作对应的动作。例如,该游戏可以为休闲游戏、动作游戏、角色扮演游戏、策略游戏、体育游戏、益智游戏等游戏中的任一种。其中,游戏可以包括在图形用户界面上绘制的游戏的虚拟场景。此外,游戏的虚拟场景中可以包括由用户(或玩家)控制的一个或多个虚拟对象,诸如虚拟角色。另外,游戏的虚拟场景中还可以包括一个或多个障碍物,诸如栏杆、沟壑、墙壁等,以限制虚拟对象的移动,例如将一个或多个对象的移动限制到虚拟场景内的特定区域。可选地,游戏的虚拟场景还包括一个或多个元素,诸如技能、分值、角色健康状态、能量等,以向玩家提供帮助、提供虚拟服务、增加与玩家表现相关的分值等。此外,图形用户界面还可以呈现一个或多个指示器,以向玩家提供指示信息。例如,游戏可以包括玩家控制的虚拟对象和一个或多个其他虚拟对象(诸如敌方角色)。在一个实施例中,一个或多个其他虚拟对象由游戏的其他玩家控制。例如,一个或多个其他虚拟对象可以由计算机控制,诸如使用人工智能(AI)算法的机器人,实现人机对战模式。例如,虚拟对象拥有游戏玩家用来实现目标的各种技能或能力。例如虚拟对象拥有可用于从游戏中消除其他对象的一种或多种武器、道具、工具等。这样的技能或能力可由游戏的玩家使用与终端的触控显示屏的多个预设触控操作之一来激活。处理器可以被配置为响应于用户的触控操作产生的操作指令来呈现对应的游戏画面。
需要说明的是,图1所示的虚拟物品的标记系统的场景示意图仅仅是一个示例,本公开实施例描述的图像处理系统以及场景是为了更加清楚的说明本公开实施例的技术方案,并不构成对于本公开实施例提供的技术方案的限定,本领域普通技术人员可知,随着虚拟物品的标记系统的演变和新业务场景的出现,本公开实施例提供的技术方案对于类似的技术问题,同样适用。
基于上述问题,本公开实施例提供第一种虚拟物品的标记方法、装置、计算机设备及存储介质,可以提高玩家游戏体验。以下分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。
本公开实施例提供一种虚拟物品的标记方法,该方法可以由终端或服务器执行,本公开实施例以虚拟物品的标记方法由终端执行为例来进行说明。
请参阅图2,图2为本公开实施例提供的一种虚拟物品的标记方法的流程示意图。该虚拟物品的标记方法的具体流程可以如下:
101、响应针对第一虚拟角色的移动指令,控制第一虚拟角色在游戏场景中移动。
在本公开实施例中,通过终端设备提供图形用户界面,图形用户界面包括目标游戏的至少部分游戏场景,处于游戏场景中的第一虚拟角色和至少一第二虚拟角色。其中,第一虚拟角色与终端设备相对应,也即第一虚拟角色为操作该终端设备的当前玩家控制的虚拟角色;第二虚拟角色与第一虚拟角色为相同阵营,也即第二虚拟角色与第一虚拟角色在游戏中可以属于同一游戏阵营,第二虚拟角色与第一虚拟角色互为队友。
其中,移动指令通过当前玩家在图形用户界面的操作触发,比如,图形用户界面提供有移动控件,移动控件可以用于控制第一虚拟角色在游戏场景中进行移动。通过当前玩家对移动控件的触控操作,可以控制第一虚拟角色在游戏场景中移动。
102、根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品。
在本公开实施例中,游戏场景中还可以包括有虚拟物品,虚拟物品指的是游戏场景中可以被虚拟角色拾取的物资,比如,虚拟物品可以为虚拟枪械、虚拟炮弹以及能量药水等。
其中,虚拟物品可以用于完成目标游戏中的任务,比如,虚拟物品可以用于维持虚拟角色在游戏场景中的生存,还可以用于击败其他虚拟角色等。虚拟物品的获取方式包括多种,例如,可以寻找游戏场景中提供的虚拟道具,或者向其他虚拟角色进行索取,又或者通过击败其他虚拟角色以获取该其他虚拟角色持有的虚拟物品等。
例如,请参阅图3,图3为本公开实施例提供的一种虚拟物品的标记方法的应用场景示意图。在图3所示的图形用户界面中,显示有目标游戏的部分游戏场景,处于游戏场景中的由当前玩家控制的第一虚拟角色,游戏场景中还可以包括有多个虚拟物品。图形用户界面还可以提供有操作控件,操作控件可以用于当前玩家控制第一虚拟对象。比如,操作控件可以为移动控件,当前玩家可以通过对移动控件的操作,控制第一虚拟角色在游戏场景中移动。
其中,位置信息指的是第一虚拟角色在游戏场景中所处的场景位置。
在一些实施例中,为了从游戏场景的多个虚拟物品中选择正确的标记的目标虚拟物品,步骤“根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品”,可以包括以下操作:
根据位置信息确定第一虚拟角色与游戏场景中各虚拟物品之间的距离;
基于与第一虚拟角色之间的距离小于预设距离的虚拟物品,确定目标虚拟物品。
在本公开实施例中,为游戏场景中的虚拟物品设定有可拾取范围,可拾取范围指的是游戏场景中虚拟角色可以拾取虚拟物品的位置范围。比如,可拾取范围可以为按照游戏场景中以虚拟物品为中心进行划分的区域。处于虚拟物品的可拾取范围内的虚拟角色可以对该虚拟物品进行拾取操作或者进行物品标记。
例如,请参阅图4,图4为本公开实施例提供的另一种虚拟物品的标记方法的应用场景示意图。处于游戏场景中的虚拟物品可以包括:虚拟物品A,虚拟物品B以及虚拟物品C,基于各虚拟物品在游戏场景中的位置,分别确定各虚拟物品对应的可拾取范围(如图虚线范围)。
其中,根据位置信息确定第一虚拟角色与游戏场景中各虚拟物品之间的距离可以包括:根据该位置信息确定游戏场景中第一虚拟角色与各虚拟物品之间的第一相对距离,该第一相对距离也即在游戏场景中第一虚拟角色与虚拟物品之间的距离。
例如,请继续参阅图4,获取第一虚拟角色与虚拟物品A之间的第一相对距离可以为:L1;获取第一虚拟角色与虚拟物品B之间的第一相对距离可以为:L2;获取第一虚拟角色与虚拟物品C之间的第一相对距离可以为:L3。
其中,基于与第一虚拟角色之间的距离小于预设距离的虚拟物品,确定目标虚拟物品可以包括:
从至少一虚拟物品中确定与第一虚拟角色之间的第一相对距离小于预设距离的虚拟物品,得到目标虚拟物品。
其中,预设距离可以用于判断第一虚拟角色是否处于虚拟物品的可拾取范围,比如,预设距离可以为游戏场景中的200米。目标虚拟物品的数量可以为多个。
例如,判断第一虚拟角色与虚拟物品A之间的相对距离是否满足预设的虚拟物标记条件:将第一相对距离L1与预设距离进行比较,得到比较结果为:第一相对距离L1大于预设距离;判断第一虚拟角色与虚拟物品B之间的相对距离是否满足预设的虚拟物标记条件:将第一相对距离L2与预设距离进行比较,得到比较结果为:第一相对距离L2小于预设距
离;判断第一虚拟角色与虚拟物品C之间的相对距离是否满足预设的虚拟物标记条件:将第一相对距离L3与预设距离进行比较,得到结果为:第一相对距离L3,以及第一相对距离L2大于预设距离,从而可以确定游戏场景中虚拟物品B和虚拟物品B为目标虚拟物品,进而可以触发物品标记功能。
103、获取第二虚拟角色的拾取参数,并根据拾取参数从至少两个目标虚拟物品确定至少一第一目标虚拟物品。
其中,拾取参数指的是第二虚拟角色对应的游戏玩家针对虚拟场景中的虚拟物品设置的拾取规则,比如,拾取规则可以包括:虚拟角色在游戏场景中移动时是/否自动拾取物资、虚拟角色的背包中不存在物资时是/否自动拾取物资等。
在一些实施例中,为了方便第二虚拟角色快速获取虚拟物品,步骤“获取第二虚拟角色的拾取参数”,可以包括以下操作:
基于在游戏场景中与第一虚拟角色之间的距离不超过预设距离的第二虚拟角色,确定近距离第二虚拟角色;
获取近距离第二虚拟角色的拾取参数。
在本公开实施例中,通过向第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息,使得第二虚拟角色对应的终端设备显示标记信息,从而第二虚拟角色可以在游戏场景中对目标虚拟物品进行拾取。
其中,本方案可以向虚拟场景中第二虚拟角色自动发送虚拟物品的标记信息。该第二虚拟角色可以为满足自动发送标记信息的第二虚拟角色,比如,该第二虚拟角色与第一虚拟角色之间的第二相对距离小于预设距离。
其中,第二虚拟角色需要在游戏场景中移动至目标虚拟物品的可拾取范围内才能对目标虚拟物品进行拾取。在本公开实施例中,为了方便第二虚拟角色对目标虚拟物品的拾取,可以从第一虚拟角色所属的游戏阵营中选择与第一虚拟角色距离较近的虚拟角色。
其中,第二相对距离指的是与第一虚拟角色属于同一游戏阵营的虚拟角色,在游戏场景中与第一虚拟角色之间的距离。然后将第一虚拟角色与同一游戏阵营中的虚拟角色之间的第二相对距离与预设距离进行比较,根据比较结果确定与第一虚拟角色距离较近的虚拟角色,作为自动发送标记信息的第二虚拟角色,也即近距离第二虚拟角色。
例如,在目标游戏中,第一虚拟角色所属的游戏阵营可以为:第一游戏阵营。其中,第一游戏阵营包括:第一虚拟角色,第二虚拟角色a,第二虚拟角色b,第二虚拟角色c等。
获取游戏场景中,第一虚拟角色与第二虚拟角色a之间的第二相对距离,可以为:L4;第一虚拟角色与第二虚拟角色b之间的第二相对距离,可以为:L5;第一虚拟角色与第二虚拟角色c之间的第二相对距离,可以为:L6。
进一步的,将第二相对距离L4与预设距离进行比较,得到比较结果可以为:第二相对距离L4大于预设距离;将第二相对距离L5与预设距离进行比较,得到比较结果可以为:第二相对距离L5小于预设距离;将第二相对距离L6与预设距离进行比较,得到比较结果可以为:第二相对距离L6小于预设距离,则可以确定近距离第二虚拟角色包括:第二虚拟角色b,第二虚拟角色c。
在一些实施例中,步骤“获取第二虚拟角色的拾取参数”,可以包括以下操作:
获取第二虚拟角色对应的物品拾取设置信息;
基于物品拾取设置信息得到拾取参数。
其中,物品拾取设置信息指的是第二虚拟角色对应的游戏玩家字在目标游戏中针对虚拟场景中的虚拟物品的拾取规则的设置信息。
在本公开实施例中,在目标游戏中设计有虚拟物品拾取设置界面,玩家可以通过对物品拾取设置界面的操作设置物品拾取设置信息。
例如,请参阅图5,图5为本公开实施例提供的另一种虚拟物品的标记方法的应用场景示意图。图5所示的拾取设置界面即为对虚拟物品的拾取进行设置的界面。该拾取设置界面包括多个物品拾取设置规则:拾取列表隐藏物品描述、拾取列表根据已有装备智能排序、快捷替换背包物资功能、自动拾取、疾跑时,自动拾取物资、收起拾取列表时,禁用自动拾取、身上没有任何枪械时,自动拾取枪械。
其中,“拾取列表隐藏物品描述”指的是当显示虚拟物品的拾取列表时隐藏虚拟物品的描述信息;“拾取列表根据已有装备智能排序”指的是对于拾取列表中的虚拟物品会根据虚拟角色的持有装备进行智能排序;“快捷替换背包物资功能”基于拾取列表中的虚拟物品快捷替换虚拟角色的背包中的物资;“自动拾取”指的是对虚拟物品自动拾取;“疾跑时,自动拾取物资”指的是虚拟角色在游戏场景中进行疾跑时可以自动拾取虚拟场景中的虚拟物品;“收起拾取列表时,禁用自动拾取”指的是当展开显示的拾取列表收起时停止自动拾取虚拟场景中的虚拟物品;“身上没有任何枪械时,自动拾取枪械”指的是当虚拟角色未持有枪械时可以自动拾取虚拟场景中的枪械。本公开实施例中不限于图5中显示的虚拟物品的拾取规则设置。
请继续参阅图5,在拾取设置界面,还提供有开关控件,玩家可以通过开关控件设置虚
拟物品的拾取规则。开关控件上的开/关用于设置开启/关闭对应功能。比如,对于规则“拾取列表隐藏物品描述”的开关控件设置“开”,表示开启“拾取列表隐藏物品描述”;对于规则“自动拾取”的开关控件设置“开”,表示开始“自动拾取”等。
在一些实施例中,拾取规则还可以包括:玩家设置的选择拾取的虚拟物品,不进行拾取的虚拟物品,优先拾取的虚拟物品等。
在一些实施例中,为了选择符合第二虚拟角色需求的虚拟物品发送标记信息,步骤“根据拾取参数从至少两个目标虚拟物品确定至少一第一目标虚拟物品”,可以包括以下操作:
从至少两个目标虚拟物品中,选取符合物品拾取设置信息的虚拟物品,得到第一目标虚拟物品。
具体的,根据虚拟场景中近距离第二虚拟角色对应的拾取设置信息中设置的选择拾取的虚拟物品,将虚拟场景中的虚拟物品与物品拾取设置信息进行匹配,筛选出与物品拾取设置信息匹配的虚拟物品,得到第一目标虚拟物品。
例如,虚拟场景中的近距离第二虚拟角色可以包括:虚拟角色a,虚拟角色b,虚拟角色c。获取虚拟角色a的拾取配置信息可以包括:选择拾取的虚拟物品包括第一虚拟物、第二虚拟物品以及第三虚拟物品;获取虚拟角色b的拾取配置信息可以包括:选择拾取的虚拟物品包括第一虚拟物、第二虚拟物品以及第四虚拟物品;获取虚拟角色c的拾取配置信息可以包括:选择拾取的虚拟物品包括第二虚拟物、第四虚拟物品以及第五虚拟物品。
其中,目标虚拟物品可以为:第三虚拟物品,然后将各虚拟角色的拾取配置信息中选择拾取的虚拟物品与目标虚拟物品进行匹配,可以确定需要拾取目标虚拟物品的第二虚拟对象可以为:虚拟角色a。
104、向第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息。
其中,标记信息指的是在图形用户界面显示对目标虚拟物品进行标记的信息。
在一些实施例中,步骤“向第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息”,可以包括以下操作:
向近距离第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息。
其中,图形用户界面还可以包括标记信息展示区域,当根据近距离第二虚拟角色的拾取参数确定该近距离第二虚拟角色需要的第一目标虚拟物品后,可以触发向该近距离第二虚拟
角色对应的终端设备发送针对该第一目标虚拟物品的标记信息,同时,在图形用户界面显示该第一目标虚拟物品的标记信息,比如,标记信息可以为“对第一虚拟物品进行标记”。
例如,近距离第二虚拟角色可以为:虚拟角色a,根据虚拟角色a对应的拾取参数确定虚拟角色需求的目标虚拟物品可以为:枪械A,则可以向虚拟角色a发送枪械A的标记信息,以方便虚拟角色A快速拾取枪械A。
105、响应通过图形用户界面触发的针对第二目标虚拟物品的标记指令,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息。
其中,第二目标虚拟物品为至少两个目标虚拟物品中的虚拟物品。
在本公开实施例中,还提供了玩家手动标记虚拟物品,向第二虚拟角色的终端设备发送虚拟物品的标记信息的方式。
在一些实施例中,为了方便与第一虚拟角色处于同一游戏阵营,且与第一虚拟角色在虚拟场景中的距离较远的其他第二虚拟角色拾取目标虚拟物品,步骤“向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息”,可以包括以下操作:
基于在游戏场景中与第一虚拟角色之间的距离超过预设距离的第二虚拟角色,确定远距离第二虚拟角色;
向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息。
在本公开实施例中,为了方便其他第二虚拟角色对目标虚拟物品的拾取,可以从第一虚拟角色所属的游戏阵营中选择与第一虚拟角色第二相对距离超过预设距离的第二虚拟角色。
其中,第二相对距离指的是与第一虚拟角色属于同一游戏阵营的虚拟角色,在游戏场景中与第一虚拟角色之间的距离。然后将第一虚拟角色与游戏场景中各第二虚拟角色之间的第二相对距离与预设距离进行比较,根据比较结果确定与第一虚拟角色超过预设距离的第二虚拟角色,作为手动发送标记信息的第二虚拟角色,也即远距离第二虚拟角色。
例如,在目标游戏中,第一虚拟角色所属的游戏阵营可以为:第一游戏阵营。其中,第一游戏阵营包括:第一虚拟角色,第二虚拟角色a,第二虚拟角色b,第二虚拟角色c等。获取游戏场景中,第一虚拟角色与第二虚拟角色a之间的第二相对距离,可以为:L4;第一虚拟角色与第二虚拟角色b之间的第二相对距离,可以为:L5;第一虚拟角色与第二虚拟角色c之间的第二相对距离,可以为:L6。
进一步的,将第二相对距离L4与预设距离进行比较,得到比较结果可以为:第二相对
距离L4大于预设距离;将第二相对距离L5与预设距离进行比较,得到比较结果可以为:第二相对距离L5小于预设距离;将第二相对距离L6与预设距离进行比较,得到比较结果可以为:第二相对距离L6小于预设距离,则可以确定远距离第二虚拟角色包括:第二虚拟角色a。
在一些实施例中,第二目标虚拟物品可以为至少一第一目标虚拟物品,也即符合第二虚拟对象对应的拾取参数的目标虚拟物品;为了向远距离第二虚拟角色发送需要的虚拟物品的标记信息,步骤“向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息”,可以包括以下操作:
向远距离第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息。
具体的,获取远距离第二虚拟角色的拾取参数,从虚拟场景的虚拟物品中选择符合远距离第二虚拟角色的拾取参数的第一目标虚拟物品,然后向该远距离第二虚拟角色发送该第一目标虚拟物品的标记信息,同时,在图形用户界面显示对该第一目标虚拟物品的标记信息。
在一些实施例中,对于虚拟场景中不符合虚拟对象的拾取参数的其他虚拟物品,可能存在第二虚拟对象对其他虚拟物品的需求,则第二目标虚拟物品为至少两个目标虚拟物品中除第一目标虚拟物品之外的虚拟物品。步骤“向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息”,可以包括以下操作:
向远距离第二虚拟角色对应的终端设备,发送并显示与至少两个目标虚拟物品中除第一目标虚拟物品之外的虚拟物品相对应的标记信息。
例如,虚拟场景中包括第一虚拟对象,远距离第二虚拟对象,以及虚拟物品A,虚拟物品B,虚拟物品C和虚拟物品D。获取远距离第二虚拟对象的拾取参数,将虚拟场景中的各虚拟物品与远距离第二虚拟对象的拾取参数进行匹配,确定与远距离第二虚拟对象的拾取参数匹配的虚拟物品可以为:虚拟物品A,虚拟物品B,也即远距离第二虚拟对象设置的需要的虚拟物品可以为:虚拟物品A和虚拟物品B。此时,虚拟物品C和虚拟物品D可能为该远距离第二虚拟角色需要的虚拟物品,为了避免远距离第二虚拟角色遗漏拾取需要的虚拟物品,可以通过玩家手动标记方式,对虚拟物品C和虚拟物品D手动标记,以向远距离第二虚拟角色发送虚拟物品C和虚拟物品D的标记信息。
在一些实施例中,为了方便玩家手动标记操作,在步骤“根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品”之后,还可以包括以下步骤:
在图形用户界面提供标记控件;
则步骤“响应通过图形用户界面触发的针对第二目标虚拟物品的标记指令,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息”,可以包括以下操作:
响应于针对标记控件的信息标记操作,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息。
在本公开实施例中,对于同一游戏阵营中与第一虚拟角色之间的第二相对距离小于预设距离的第二虚拟角色,当第一虚拟角色靠近虚拟物品时,可以自动触发向该虚拟角色发送虚拟物品的标记信息。为了满足游戏玩家对于虚拟物品的不同标记需求,可以在图形用户界面设计一标记控件。当同一游戏阵营中不存在与第一虚拟角色之间的第二相对距离小于预设距离的第二虚拟角色时,可以通过手动标记方式,也即对标记控件的操作触发向远距离第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息,实现对目标虚拟物品的标记。
其中,标记控件可以不固定显示在图形用户界面,标记控件的显示触发条件可以为:第一虚拟角色处于虚拟物品的可拾取范围内。同样的,当第一虚拟角色从虚拟物品的可拾取范围内移动至可拾取范围外时,取消显示标记控件,提高屏幕空间利用率。
例如,请参阅图6,图6为本公开实施例提供的另一种虚拟物品的标记方法的应用场景示意图。处于游戏场景中的第一虚拟角色和虚拟物品B,其中,第一虚拟角色可以处于虚拟物品B的可拾取范围。图形用户界面还可有提供有标记控件,标记控件可以用于对虚拟物品B进行标记操作。
在一些实施例中,为了满足虚拟角色对于目标虚拟物品的拾取需求,在步骤“向第二虚拟角色对应的终端设备并显示与第二目标虚拟物品相对应的标记信息”之前,该方法还可以包括以下步骤:
获取第一虚拟角色持有的虚拟物品;
若持有的虚拟物品中存在目标虚拟物品,则执行向第二虚拟角色对应的终端设备并显示与第二目标虚拟物品相对应的标记信息的步骤。
其中,持有的虚拟物品可以为第一虚拟角色在游戏对局中拥有的所有虚拟物品,可以为第一虚拟角色拾取、购买或者其他途径获得的虚拟物品。
若第一虚拟角色持有的虚拟物品中包括有目标虚拟物品,可以确定第一虚拟角色不需要再拾取目标虚拟物品,则可以向同一游戏阵营中的第二虚拟角色对应的终端设备发送目标虚
拟物品的标记信息。
若第一虚拟角色持有的虚拟物品中未包括目标虚拟物品,可以确定第一虚拟角色需要拾取目标虚拟物品,则不用执行向同一游戏阵营中的第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息的步骤。
在一些实施例中,为了进一步满足虚拟角色对于目标虚拟物品的拾取需求,该方法还可以包括以下步骤:
若持有的虚拟物品中存在与目标虚拟物品类型相同的虚拟物品,则执行向第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息的步骤。
在本公开实施例中,与目标虚拟物品类型相同的虚拟物品可以拥有与目标虚拟物品相同的作用/功能。那么,当第一虚拟角色持有的虚拟物品中包括与目标虚拟物品类型相同的虚拟物品时,该虚拟物品可以替代目标虚拟物品的作用,此时,可以将目标虚拟物品留给有需要的队友,则可以向同一游戏阵营的第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息。
在一些实施例中,在步骤“向第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息”之前,该方法还可以包括以下步骤:
获取目标虚拟物品的物品类型;
若物品类型为指定类型,则执行向第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息的步骤。
在本公开实施例中,为了满足不同玩家的物品标记需求,玩家可以自定义设置进行标记的虚拟物品的物品类型。
例如,控制第一虚拟角色的当前玩家可以在游戏对局开始之前设置可以进行标记的虚拟物品的物品类型。在游戏对局中,当第一虚拟角色处于目标虚拟物品的可拾取范围内时,判断该目标虚拟物品的物品类型是否为当前玩家设置进行标记的虚拟物品的物品类型,若目标虚拟物品的物品类型为当前玩家设置进行标记的虚拟物品的物品类型,则可以向同一游戏阵营的第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息;若目标虚拟物品的物品类型不为当前玩家设置进行标记的虚拟物品的物品类型,则不用向同一游戏阵营的第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息。
在一些实施例中,为了方便第二虚拟角色对目标虚拟物品的拾取,在步骤“向第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息”之前,该方法还可以包括以下步骤:
获取目标虚拟物品在游戏场景中的位置信息;
基于目标虚拟物品以及位置信息,生成标记信息。
其中,位置信息可以用目标虚拟物品在游戏场景中的位置坐标表示,比如可以通过经度和纬度表示。
具体的,根据目标虚拟物品以及位置信息,生成的标记信息包括目标虚拟物品的物品名称和目标虚拟物品的位置坐标,进而将标记信息发送至第二虚拟角色对应的终端设备后,使得第二虚拟角色根据位置坐标快速寻找到游戏场景中的目标虚拟物品进行拾取。
在一些实施例中,为了方便游戏玩家对标记信息的查看,在向第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息后,第一虚拟角色对应的终端设备可以在图形用户界面显示标记信息,同时,第二虚拟角色对应的终端设备也可以在图像用户界面显示标记信息。
例如,请参阅图7,图7为本公开实施例提供的另一种虚拟物品的标记方法的应用场景示意图。处于游戏场景中的第一虚拟角色和虚拟物品B,其中,第一虚拟角色可以处于虚拟物品B的可拾取范围。自动触发向同一游戏阵营的第二虚拟角色发送标记信息,在图形用户界面的消息框中显示标记信息“我:标记了虚拟物品B”,其中,“我”也即第一虚拟角色。
本公开实施例公开了一种虚拟物品的标记方法,该方法包括:当第一虚拟角色与虚拟物品中的一目标虚拟物品的相对距离满足预设的虚拟物品标记条件时,向第二虚拟角色对应的终端设备发送目标虚拟物品的标记信息,其中,第二虚拟角色与第一虚拟角色属于同一游戏阵营,从而可以提高玩家游戏体验,降低了终端设备的运行时长,节省了终端设备的电量。
根据上述介绍的内容,下面将举例来进一步说明本公开的虚拟物品的标记方法。请参阅图8,图8为本公开实施例提供的另一种虚拟物品的标记方法的流程示意图,以该虚拟物品的标记方法具体应用于游戏中淘汰游戏玩家之后,对淘汰游戏玩家的物资进行拾取为例,具体流程可以如下:
201、终端显示目标游戏的游戏界面。
在本公开实施例中,通过终端设备提供游戏界面,游戏界面可以包括目标游戏的部分游戏场景,以及处于游戏场景中的当前玩家角色,游戏场景中还可以包括虚拟物品,当前玩家角色可以对虚拟物品进行拾取,以获取虚拟物品。当前玩家角色可以为当前游戏玩家控制的虚拟对象。
例如,请参阅图9,图9为本公开实施例提供的另一种虚拟物品的标记方法的应用场景示意图。在图9所示的游戏界面中,显示有目标游戏的部分游戏场景,处于游戏场景中的当
前玩家角色,第一虚拟物品。
202、终端检测到游戏场景中当前玩家角色与一虚拟物品之间的相对距离满足虚拟物品标记条件时,从同一游戏阵营的虚拟角色中确定第二虚拟角色。
具体的,获取当前玩家角色在游戏场景中的第一位置,以及获取第一虚拟物品在游戏场景中的第二位置,根据第一位置与第二位置确定当前玩家角色与第一虚拟物品之间的相对距离。
进一步,根据相对距离判断当前玩家角色与第一虚拟物品是否满足虚拟物品标记的触发条件。
具体的,将相对距离与预设距离进行比较,若相对距离小于预设距离,则可以确定当前玩家角色与第一虚拟物品满足虚拟物品标记的触发条件。
进一步的,从与当前玩家角色处于同一游戏阵营的其他虚拟角色中,确定满足发送标记信息条件的第二虚拟角色。
其中,满足发送标记信息条件可以包括:与当前虚拟角色之间的距离小于预设距离,且物品拾取配置中包括对第一虚拟物品的拾取。根据满足上述发送标记信息条件的虚拟角色,确定第二虚拟角色。
203、终端向第二虚拟角色对应的终端设备发送虚拟物品的标记信息。
具体的,在确定满足发送标记信息条件的第二虚拟角色后,自动触发向第二虚拟角色发送第一虚拟物品的标记信息,以使得第二虚拟角色对第一虚拟物品进行拾取。
本公开实施例公开了一种虚拟物品的标记方法,该方法包括:响应针对第一虚拟角色的移动指令,控制第一虚拟角色在游戏场景中移动;根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品;获取第二虚拟角色的拾取参数,并根据拾取参数从至少两个目标虚拟物品确定至少一第一目标虚拟物品;向第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息;响应通过图形用户界面触发的针对第二目标虚拟物品的标记指令,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,其中,第二目标虚拟物品为至少两个目标虚拟物品中的虚拟物品。以此,用户快速向拾取目标游戏道具数量最多的目标虚拟角色发送获取请求,可以简化用户操作,从而提高用户游戏体验,降低了终端设备的运行时长,节省了终端设备的电量。
为便于更好的实施本公开实施例提供的虚拟物品的标记方法,本公开实施例还提供一种基于上述虚拟物品的标记方法的虚拟物品的标记装置。其中名词的含义与上述虚拟物品的标
记方法中相同,具体实现细节可以参考方法实施例中的说明。
请参阅图10,图10为本公开实施例提供的一种虚拟物品的标记装置的结构框图,该装置包括:
控制单元301,用于响应针对所述第一虚拟角色的移动指令,控制所述第一虚拟角色在所述游戏场景中移动;
确定单元302,用于根据所述第一虚拟角色的位置信息从所述游戏场景中确定至少两个目标虚拟物品;
获取单元303,用于获取所述第二虚拟角色的拾取参数,并根据所述拾取参数从所述至少两个目标虚拟物品确定至少一第一目标虚拟物品;
第一发送单元304,用于向所述第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息;
第二发送单元305,用于响应通过所述图形用户界面触发的针对第二目标虚拟物品的标记指令,向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,其中,所述第二目标虚拟物品为所述至少两个目标虚拟物品中的虚拟物品。
在一些实施例中,获取单元303可以包括:
第一确定子单元,用于基于在所述游戏场景中与所述第一虚拟角色之间的距离不超过预设距离的第二虚拟角色,确定近距离第二虚拟角色;
第一获取子单元,用于获取所述近距离第二虚拟角色的拾取参数。
在一些实施例中,第一发送单元304可以包括:
第一发送子单元,用于向所述近距离第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息。
在一些实施例中,第二发送单元305可以包括:
第二确定子单元,用于基于在所述游戏场景中与所述第一虚拟角色之间的距离超过预设距离的第二虚拟角色,确定远距离第二虚拟角色;
第二发送子单元,用于向所述远距离第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息。
在一些实施例中,第二发送单元305可以包括:
第三发送子单元,用于向所述远距离第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息。
在一些实施例中,第二发送单元305可以包括:
第四发送子单元,用于向所述远距离第二虚拟角色对应的终端设备,发送并显示与所述至少两个目标虚拟物品中除所述第一目标虚拟物品之外的虚拟物品相对应的标记信息。
在一些实施例中,获取单元303可以包括:
第二获取子单元,用于获取所述第二虚拟角色对应的物品拾取设置信息;
第三确定子单元,用于基于所述物品拾取设置信息得到所述拾取参数。
在一些实施例中,获取单元303可以包括:
选取子单元,用于从所述至少两个目标虚拟物品中,选取符合所述物品拾取设置信息的虚拟物品,得到所述第一目标虚拟物品。
在一些实施例中,确定单元302可以包括:
第四确定子单元,用于根据所述位置信息确定所述第一虚拟角色与所述游戏场景中各虚拟物品之间的距离;
第五确定子单元,用于基于与所述第一虚拟角色之间的距离小于预设距离的虚拟物品,确定所述目标虚拟物品。
在一些实施例中,该装置还可以包括:
提供单元,用于在所述图形用户界面提供标记控件。
在一些实施例中,第二发送单元305可以包括:
第五发送子单元,用于响应于针对所述标记控件的信息标记操作,向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息。
本公开实施例公开了一种虚拟物品的标记装置,通过控制单元301响应针对所述第一虚拟角色的移动指令,控制所述第一虚拟角色在所述游戏场景中移动;确定单元302根据所述第一虚拟角色的位置信息从所述游戏场景中确定至少两个目标虚拟物品;获取单元303获取所述第二虚拟角色的拾取参数,并根据所述拾取参数从所述至少两个目标虚拟物品确定至少一第一目标虚拟物品;第一发送单元304向所述第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息;第二发送单元305响应通过所述图形用户界面触发的针对第二目标虚拟物品的标记指令,向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,其中,所述第二目标虚拟物品为所述至少两个目标虚拟物品中的虚拟物品。以此,可以提高玩家游戏体验,降低了终端设备的运行时长,节省了终端设备的电量。
相应的,本公开实施例还提供一种计算机设备,该计算机设备可以为终端。如图11所示,图11为本公开实施例提供的计算机设备的结构示意图。该计算机设备500包括有一个或者一个以上处理核心的处理器501、有一个或一个以上计算机可读存储介质的存储器502及存储在存储器502上并可在处理器上运行的计算机程序。其中,处理器501与存储器502电性连接。本领域技术人员可以理解,图中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
处理器501是计算机设备500的控制中心,利用各种接口和线路连接整个计算机设备500的各个部分,通过运行或加载存储在存储器502内的软件程序和/或模块,以及调用存储在存储器502内的数据,执行计算机设备500的各种功能和处理数据,从而对计算机设备500进行整体监控。
在本公开实施例中,计算机设备500中的处理器501会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器502中,并由处理器501来运行存储在存储器502中的应用程序,从而实现各种功能:
响应针对第一虚拟角色的移动指令,控制第一虚拟角色在游戏场景中移动;
根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品;
获取第二虚拟角色的拾取参数,并根据拾取参数从至少两个目标虚拟物品确定至少一第一目标虚拟物品;
向第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息;
响应通过图形用户界面触发的针对第二目标虚拟物品的标记指令,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,其中,第二目标虚拟物品为至少两个目标虚拟物品中的虚拟物品。
在一些实施例中,获取第二虚拟角色的拾取参数,包括:
基于在游戏场景中与第一虚拟角色之间的距离不超过预设距离的第二虚拟角色,确定近距离第二虚拟角色;
获取近距离第二虚拟角色的拾取参数。
在一些实施例中,向第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息,包括:
向近距离第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应
的标记信息。
在一些实施例中,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,包括:
基于在游戏场景中与第一虚拟角色之间的距离超过预设距离的第二虚拟角色,确定远距离第二虚拟角色;
向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息。
在一些实施例中,第二目标虚拟物品为至少一第一目标虚拟物品;
向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,包括:
向远距离第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息。
在一些实施例中,第二目标虚拟物品为至少两个目标虚拟物品中除第一目标虚拟物品之外的虚拟物品;
向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,包括:
向远距离第二虚拟角色对应的终端设备,发送并显示与至少两个目标虚拟物品中除第一目标虚拟物品之外的虚拟物品相对应的标记信息。
在一些实施例中,获取第二虚拟角色的拾取参数,包括:
获取第二虚拟角色对应的物品拾取设置信息;
基于物品拾取设置信息得到拾取参数。
在一些实施例中,根据拾取参数从至少两个目标虚拟物品确定至少一第一目标虚拟物品,包括:
从至少两个目标虚拟物品中,选取符合物品拾取设置信息的虚拟物品,得到第一目标虚拟物品。
在一些实施例中,根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品,包括:
根据位置信息确定第一虚拟角色与游戏场景中各虚拟物品之间的距离;
基于与第一虚拟角色之间的距离小于预设距离的虚拟物品,确定目标虚拟物品。
在一些实施例中,在根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品之后,还包括:
在图形用户界面提供标记控件;
响应通过图形用户界面触发的针对第二目标虚拟物品的标记指令,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,包括:
响应于针对标记控件的信息标记操作,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息。
本方案设计触发游戏场景中虚拟角色对虚拟物品进行标记的预设标记条件,该预设标记条件包括游戏场景中存在与虚拟角色之间的距离小于预设距离的目标虚拟物品,进一步的,根据预设的发送标记信息条件从与虚拟角色处于同一游戏阵营的其他游戏角色中选取第二虚拟角色,然后向第二虚拟角色发送目标虚拟物品的标记信息,使得第二虚拟角色根据标记信息对目标虚拟物品进行拾取,方便玩家对虚拟物品的标记操作,提高玩家游戏体验,降低了终端设备的运行时长,节省了终端设备的电量。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
可选的,如图11所示,计算机设备500还包括:触控显示屏503、射频电路504、音频电路505、输入单元506以及电源507。其中,处理器501分别与触控显示屏503、射频电路504、音频电路505、输入单元506以及电源507电性连接。本领域技术人员可以理解,图11中示出的计算机设备结构并不构成对计算机设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
触控显示屏503可用于显示图形用户界面以及接收用户作用于图形用户界面产生的操作指令。触控显示屏503可以包括显示面板和触控面板。其中,显示面板可用于显示由用户输入的信息或提供给用户的信息以及计算机设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。触控面板可用于收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并生成相应的操作指令,且操作指令执行对应程序。可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给
处理器501,并能接收处理器501发来的命令并加以执行。触控面板可覆盖显示面板,当触控面板检测到在其上或附近的触摸操作后,传送给处理器501以确定触摸事件的类型,随后处理器501根据触摸事件的类型在显示面板上提供相应的视觉输出。在本公开实施例中,可以将触控面板与显示面板集成到触控显示屏503而实现输入和输出功能。但是在某些实施例中,触控面板与触控面板可以作为两个独立的部件来实现输入和输出功能。即触控显示屏503也可以作为输入单元506的一部分实现输入功能。
射频电路504可用于收发射频信号,以通过无线通信与网络设备或其他计算机设备建立无线通讯,与网络设备或其他计算机设备之间收发信号。
音频电路505可以用于通过扬声器、传声器提供用户与计算机设备之间的音频接口。音频电路505可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路505接收后转换为音频数据,再将音频数据输出处理器501处理后,经射频电路504以发送给比如另一计算机设备,或者将音频数据输出至存储器502以便进一步处理。音频电路505还可能包括耳塞插孔,以提供外设耳机与计算机设备的通信。
输入单元506可用于接收输入的数字、字符信息或用户特征信息(例如指纹、虹膜、面部信息等),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。
电源507用于给计算机设备500的各个部件供电。可选的,电源507可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源507还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管图11中未示出,计算机设备500还可以包括摄像头、传感器、无线保真模块、蓝牙模块等,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
由上可知,本实施例提供的计算机设备,响应针对第一虚拟角色的移动指令,控制第一虚拟角色在游戏场景中移动;根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品;获取第二虚拟角色的拾取参数,并根据拾取参数从至少两个目标虚拟物品确定至少一第一目标虚拟物品;向第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟
物品相对应的标记信息;响应通过图形用户界面触发的针对第二目标虚拟物品的标记指令,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,其中,第二目标虚拟物品为至少两个目标虚拟物品中的虚拟物品。
本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。
为此,本公开实施例提供一种计算机可读存储介质,其中存储有多条计算机程序,该计算机程序能够被处理器进行加载,以执行本公开实施例所提供的任一种虚拟物品的标记方法中的步骤。例如,该计算机程序可以执行如下步骤:
响应针对第一虚拟角色的移动指令,控制第一虚拟角色在游戏场景中移动;
根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品;
获取第二虚拟角色的拾取参数,并根据拾取参数从至少两个目标虚拟物品确定至少一第一目标虚拟物品;
向第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息;
响应通过图形用户界面触发的针对第二目标虚拟物品的标记指令,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,其中,第二目标虚拟物品为至少两个目标虚拟物品中的虚拟物品。
在一些实施例中,获取第二虚拟角色的拾取参数,包括:
基于在游戏场景中与第一虚拟角色之间的距离不超过预设距离的第二虚拟角色,确定近距离第二虚拟角色;
获取近距离第二虚拟角色的拾取参数。
在一些实施例中,向第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息,包括:
向近距离第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息。
在一些实施例中,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,包括:
基于在游戏场景中与第一虚拟角色之间的距离超过预设距离的第二虚拟角色,确定远距
离第二虚拟角色;
向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息。
在一些实施例中,第二目标虚拟物品为至少一第一目标虚拟物品;
向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,包括:
向远距离第二虚拟角色对应的终端设备发送并显示与至少一第一目标虚拟物品相对应的标记信息。
在一些实施例中,第二目标虚拟物品为至少两个目标虚拟物品中除第一目标虚拟物品之外的虚拟物品;
向远距离第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,包括:
向远距离第二虚拟角色对应的终端设备,发送并显示与至少两个目标虚拟物品中除第一目标虚拟物品之外的虚拟物品相对应的标记信息。
在一些实施例中,获取第二虚拟角色的拾取参数,包括:
获取第二虚拟角色对应的物品拾取设置信息;
基于物品拾取设置信息得到拾取参数。
在一些实施例中,根据拾取参数从至少两个目标虚拟物品确定至少一第一目标虚拟物品,包括:
从至少两个目标虚拟物品中,选取符合物品拾取设置信息的虚拟物品,得到第一目标虚拟物品。
在一些实施例中,根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品,包括:
根据位置信息确定第一虚拟角色与游戏场景中各虚拟物品之间的距离;
基于与第一虚拟角色之间的距离小于预设距离的虚拟物品,确定目标虚拟物品。
在一些实施例中,在根据第一虚拟角色的位置信息从游戏场景中确定至少两个目标虚拟物品之后,还包括:
在图形用户界面提供标记控件;
响应通过图形用户界面触发的针对第二目标虚拟物品的标记指令,向第二虚拟角色对应
的终端设备发送并显示与第二目标虚拟物品相对应的标记信息,包括:
响应于针对标记控件的信息标记操作,向第二虚拟角色对应的终端设备发送并显示与第二目标虚拟物品相对应的标记信息。
本方案设计触发游戏场景中虚拟角色对虚拟物品进行标记的预设标记条件,该预设标记条件包括游戏场景中存在与虚拟角色之间的距离小于预设距离的目标虚拟物品,进一步的,根据预设的发送标记信息条件从与虚拟角色处于同一游戏阵营的其他游戏角色中选取第二虚拟角色,然后向第二虚拟角色发送目标虚拟物品的标记信息,使得第二虚拟角色根据标记信息对目标虚拟物品进行拾取,方便玩家对虚拟物品的标记操作,提高玩家游戏体验,降低了终端设备的运行时长,节省了终端设备的电量。
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。
其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。
由于该存储介质中所存储的计算机程序,可以执行本公开实施例所提供的任一种虚拟物品的标记方法中的步骤,因此,可以实现本公开实施例所提供的任一种虚拟物品的标记方法所能实现的有益效果,详见前面的实施例,在此不再赘述。
以上对本公开实施例所提供的一种虚拟物品的标记方法、装置、存储介质及计算机设备进行了详细介绍,本文中应用了具体个例对本公开的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本公开的方法及其核心思想;同时,对于本领域的技术人员,依据本公开的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本公开的限制。
Claims (13)
- 一种虚拟物品的标记方法,通过终端设备提供图形用户界面,所述图形用户界面包括至少部分游戏场景,处于所述游戏场景中的第一虚拟角色和至少一第二虚拟角色,其中,所述第一虚拟角色与所述终端设备相对应,所述第二虚拟角色与所述第一虚拟角色为相同阵营,所述方法包括:响应针对所述第一虚拟角色的移动指令,控制所述第一虚拟角色在所述游戏场景中移动;根据所述第一虚拟角色的位置信息从所述游戏场景中确定至少两个目标虚拟物品;获取所述第二虚拟角色的拾取参数,并根据所述拾取参数从所述至少两个目标虚拟物品确定至少一第一目标虚拟物品;向所述第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息;响应通过所述图形用户界面触发的针对第二目标虚拟物品的标记指令,向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,其中,所述第二目标虚拟物品为所述至少两个目标虚拟物品中的虚拟物品。
- 根据权利要求1所述的方法,其中,所述获取所述第二虚拟角色的拾取参数,包括:基于在所述游戏场景中与所述第一虚拟角色之间的距离不超过预设距离的第二虚拟角色,确定近距离第二虚拟角色;获取所述近距离第二虚拟角色的拾取参数。
- 根据权利要求2所述的方法,其中,所述向所述第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息,包括:向所述近距离第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息。
- 根据权利要求1所述的方法,其中,所述向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,包括:基于在所述游戏场景中与所述第一虚拟角色之间的距离超过预设距离的第二虚拟角色,确定远距离第二虚拟角色;向所述远距离第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息。
- 根据权利要求4所述的方法,其中,所述第二目标虚拟物品为至少一第一目标虚拟物品;所述向所述远距离第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,包括:向所述远距离第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息。
- 根据权利要求4所述的方法,其中,所述第二目标虚拟物品为至少两个目标虚拟物品中除所述第一目标虚拟物品之外的虚拟物品;所述向所述远距离第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,包括:向所述远距离第二虚拟角色对应的终端设备,发送并显示与所述至少两个目标虚拟物品中除所述第一目标虚拟物品之外的虚拟物品相对应的标记信息。
- 根据权利要求1所述的方法,其中,所述获取所述第二虚拟角色的拾取参数,包括:获取所述第二虚拟角色对应的物品拾取设置信息;基于所述物品拾取设置信息得到所述拾取参数。
- 根据权利要求1所述的方法,其中,所述根据所述拾取参数从所述至少两个目标虚拟物品确定至少一第一目标虚拟物品,包括:从所述至少两个目标虚拟物品中,选取符合物品拾取设置信息的虚拟物品,得到所述第一目标虚拟物品。
- 根据权利要求1所述的方法,其中,所述根据所述第一虚拟角色的位置信息从所述游戏场景中确定至少两个目标虚拟物品,包括:根据所述位置信息确定所述第一虚拟角色与所述游戏场景中各虚拟物品之间的距离;基于与所述第一虚拟角色之间的距离小于预设距离的虚拟物品,确定所述目标虚拟物品。
- 根据权利要求1所述的方法,其中,在所述根据所述第一虚拟角色的位置信息从所述游戏场景中确定至少两个目标虚拟物品之后,还包括:在所述图形用户界面提供标记控件;所述响应通过所述图形用户界面触发的针对第二目标虚拟物品的标记指令,向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,包括:响应于针对所述标记控件的信息标记操作,向所述第二虚拟角色对应的终端设备发送并 显示与所述第二目标虚拟物品相对应的标记信息。
- 一种虚拟物品的标记装置,通过终端设备提供图形用户界面,所述图形用户界面包括至少部分游戏场景,处于所述游戏场景中的第一虚拟角色和至少一第二虚拟角色,其中,所述第一虚拟角色与所述终端设备相对应,所述第二虚拟角色与所述第一虚拟角色为相同阵营,所述装置包括:控制单元,用于响应针对所述第一虚拟角色的移动指令,控制所述第一虚拟角色在所述游戏场景中移动;确定单元,用于根据所述第一虚拟角色的位置信息从所述游戏场景中确定至少两个目标虚拟物品;获取单元,用于获取所述第二虚拟角色的拾取参数,并根据所述拾取参数从所述至少两个目标虚拟物品确定至少一第一目标虚拟物品;第一发送单元,用于向所述第二虚拟角色对应的终端设备发送并显示与所述至少一第一目标虚拟物品相对应的标记信息;第二发送单元,用于响应通过所述图形用户界面触发的针对第二目标虚拟物品的标记指令,向所述第二虚拟角色对应的终端设备发送并显示与所述第二目标虚拟物品相对应的标记信息,其中,所述第二目标虚拟物品为所述至少两个目标虚拟物品中的虚拟物品。
- 一种计算机设备,包括存储器,处理器及存储在存储器上并在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1至10任一项所述的虚拟物品的标记方法。
- 一种存储介质,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1至10任一项所述的虚拟物品的标记方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211436820.6A CN115779421A (zh) | 2022-11-16 | 2022-11-16 | 一种虚拟物品的标记方法、装置、计算机设备及存储介质 |
CN202211436820.6 | 2022-11-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024103623A1 true WO2024103623A1 (zh) | 2024-05-23 |
Family
ID=85438299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/088984 WO2024103623A1 (zh) | 2022-11-16 | 2023-04-18 | 一种虚拟物品的标记方法、装置、计算机设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115779421A (zh) |
WO (1) | WO2024103623A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115779421A (zh) * | 2022-11-16 | 2023-03-14 | 网易(杭州)网络有限公司 | 一种虚拟物品的标记方法、装置、计算机设备及存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110270098A (zh) * | 2019-06-21 | 2019-09-24 | 腾讯科技(深圳)有限公司 | 控制虚拟对象对虚拟物品进行标记的方法、装置及介质 |
CN113413598A (zh) * | 2021-07-01 | 2021-09-21 | 网易(杭州)网络有限公司 | 一种虚拟物品的获取方法、装置、计算机设备及存储介质 |
CN113457150A (zh) * | 2021-07-16 | 2021-10-01 | 腾讯科技(深圳)有限公司 | 信息提示方法和装置、存储介质及电子设备 |
CN113694512A (zh) * | 2021-08-11 | 2021-11-26 | 网易(杭州)网络有限公司 | 虚拟角色的控制方法、装置及电子设备 |
CN115779421A (zh) * | 2022-11-16 | 2023-03-14 | 网易(杭州)网络有限公司 | 一种虚拟物品的标记方法、装置、计算机设备及存储介质 |
-
2022
- 2022-11-16 CN CN202211436820.6A patent/CN115779421A/zh active Pending
-
2023
- 2023-04-18 WO PCT/CN2023/088984 patent/WO2024103623A1/zh unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110270098A (zh) * | 2019-06-21 | 2019-09-24 | 腾讯科技(深圳)有限公司 | 控制虚拟对象对虚拟物品进行标记的方法、装置及介质 |
CN113413598A (zh) * | 2021-07-01 | 2021-09-21 | 网易(杭州)网络有限公司 | 一种虚拟物品的获取方法、装置、计算机设备及存储介质 |
CN113457150A (zh) * | 2021-07-16 | 2021-10-01 | 腾讯科技(深圳)有限公司 | 信息提示方法和装置、存储介质及电子设备 |
CN113694512A (zh) * | 2021-08-11 | 2021-11-26 | 网易(杭州)网络有限公司 | 虚拟角色的控制方法、装置及电子设备 |
CN115779421A (zh) * | 2022-11-16 | 2023-03-14 | 网易(杭州)网络有限公司 | 一种虚拟物品的标记方法、装置、计算机设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN115779421A (zh) | 2023-03-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113101652A (zh) | 信息展示方法、装置、计算机设备及存储介质 | |
CN113413598B (zh) | 一种虚拟物品的获取方法、装置、计算机设备及存储介质 | |
CN113426124A (zh) | 游戏中的显示控制方法、装置、存储介质及计算机设备 | |
CN113398566A (zh) | 游戏的显示控制方法、装置、存储介质及计算机设备 | |
WO2024146067A1 (zh) | 虚拟武器的处理方法、装置、计算机设备及存储介质 | |
WO2024103623A1 (zh) | 一种虚拟物品的标记方法、装置、计算机设备及存储介质 | |
CN115193064A (zh) | 虚拟对象的控制方法、装置、存储介质及计算机设备 | |
CN115040873A (zh) | 一种游戏分组处理方法、装置、计算机设备及存储介质 | |
CN113413600B (zh) | 信息处理方法、装置、计算机设备及存储介质 | |
WO2024087786A1 (zh) | 游戏元素的显示方法、装置、计算机设备及存储介质 | |
CN113332721A (zh) | 一种游戏控制方法、装置、计算机设备及存储介质 | |
WO2024124814A1 (zh) | 游戏信号反馈方法、装置、电子设备和可读存储介质 | |
WO2024045528A1 (zh) | 一种游戏控制方法、装置、计算机设备及存储介质 | |
WO2024031942A1 (zh) | 游戏道具的控制方法、装置、计算机设备及存储介质 | |
CN115212567A (zh) | 信息处理方法、装置、计算机设备及计算机可读存储介质 | |
CN115501581A (zh) | 一种游戏控制方法、装置、计算机设备及存储介质 | |
CN115382221A (zh) | 交互信息的传送方法、装置、电子设备和可读存储介质 | |
CN114225412A (zh) | 信息处理方法、装置、计算机设备及存储介质 | |
CN114053714A (zh) | 虚拟对象的控制方法、装置、计算机设备及存储介质 | |
CN112494942B (zh) | 信息处理方法、装置、计算机设备及存储介质 | |
CN113426121B (zh) | 游戏操控方法、装置、存储介质及计算机设备 | |
WO2024152504A1 (zh) | 一种游戏交互方法、装置、计算机设备及存储介质 | |
CN115317893A (zh) | 虚拟资源处理方法、装置、计算机设备及存储介质 | |
CN118001724A (zh) | 一种游戏视角切换方法、装置、计算机设备及存储介质 | |
CN118179012A (zh) | 游戏交互方法、装置、计算机设备及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23890067 Country of ref document: EP Kind code of ref document: A1 |