Virtual item picking method, device, equipment, storage medium and program product

By introducing projection props into the virtual scene, virtual objects can remotely pick up long-distance virtual props, solving the problem that virtual objects are difficult to efficiently and safely pick up long-distance props, and improving picking efficiency and user experience.

CN114470770BActive Publication Date: 2025-04-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111619618.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-12-03
Filing Date
2021-12-27
Publication Date
2025-04-25
Estimated Expiration
2041-12-27

AI Technical Summary

Technical Problem

In virtual scenes, it is difficult for virtual objects to efficiently and securely pick up virtual props from a long distance, resulting in low pickup efficiency and poor user experience.

Method used

By introducing projection props into the virtual scene, the virtual object can be projected in the target direction by controlling the projection props. If the projection props are cast within the pickable range of the virtual props, the virtual object can remotely pick up the virtual props.

Benefits of technology

The long-distance pickup of virtual props is realized, which improves the pickup efficiency and security, reduces the risk of virtual objects moving, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114470770B_ABST
    Figure CN114470770B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, equipment, computer-readable storage medium and computer program product for picking up virtual props; the method includes: presenting a virtual object holding a projection prop and a pickable virtual prop in an interface of a virtual scene; in response to a projection instruction for the projection prop, controlling the projection prop to be projected along the target direction indicated by the projection instruction; when the projection prop is projected into the pickable range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop. Through the present application, the efficiency and safety of picking up virtual props can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority statement

[0002] This application claims priority to application number 202111467329.5, filing date December 3, 2021, and titled method, device, equipment, storage medium, and program product for picking up virtual props. Technical Field

[0003] The present application relates to computer human-computer interaction technology, and in particular to a method, device, equipment, computer-readable storage medium and computer program product for picking up virtual props. Background Art

[0004] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially the display technology of virtual scenes. It can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs, and has various typical application scenarios. For example, in virtual scenes such as games, it can simulate the real battle process between virtual objects.

[0005] Taking a shooting game scene as an example, when it is necessary to pick up virtual props, the virtual objects in the related technology can only pick up the pickable virtual props around them. When the virtual object is far away from the pickable virtual props, the virtual object needs to move from a hidden position to the pickable virtual props before it can pick up the props. The efficiency of picking up virtual props is low. Moreover, for virtual objects that lack available virtual props and have no attack or defense capabilities, the process of walking out of the hidden position to pick up virtual props faces the security risk of being killed at any time, affecting the user experience. Summary of the invention

[0006] The embodiments of the present application provide a method, apparatus, device, computer-readable storage medium, and computer program product for picking up virtual props, which can improve the efficiency and safety of picking up virtual props.

[0007] The technical solution of the embodiment of the present application is implemented as follows:

[0008] The present application embodiment provides a method for picking up a virtual prop, including:

[0009] In the interface of the virtual scene, a virtual object holding a projected prop and a virtual prop that can be picked up are presented;

[0010] In response to a projection instruction for the projection prop, controlling the projection prop to project along a target direction indicated by the projection instruction;

[0011] When the projected prop is projected into the pickup range of the virtual prop, the virtual object is controlled to remotely pick up the virtual prop.

[0012] The embodiment of the present application provides a virtual prop picking device, comprising:

[0013] An object presentation module presents a virtual object holding a projected prop and a virtual prop that can be picked up in the interface of a virtual scene;

[0014] A projection control module, for responding to a projection instruction for the projection prop, controlling the projection prop to project along a target direction indicated by the projection instruction;

[0015] The picking control module is used to control the virtual object to remotely pick up the virtual prop when the projected prop is projected into the pickable range of the virtual prop.

[0016] In the above scheme, before controlling the projection prop to project along the target direction indicated by the projection instruction, the device also includes: an instruction receiving module, used to receive an aiming operation for controlling the projection prop to aim along the target direction; in response to a release operation for the aiming operation, receiving a projection instruction for the projection prop.

[0017] In the above scheme, after the projection prop is controlled to be projected along the target direction indicated by the projection instruction, the device further comprises: an obstacle detection module, which is used to perform obstacle detection between the projection prop and the virtual prop during the projection of the projection prop to obtain a detection result;

[0018] The picking control module is further used to control the virtual object to remotely pick up the virtual prop when the detection result indicates that there is no obstacle between the projection prop and the virtual prop, and the projection prop is projected into the pickup range of the virtual prop; or, when the detection result indicates that there is a traversable obstacle between the projection prop and the virtual prop, control the projection prop to traverse the obstacle, and when the projection prop is projected into the pickup range of the virtual prop, control the virtual object to remotely pick up the virtual prop.

[0019] In the above scheme, the picking control module is also used to control the virtual object to remotely pick up the target virtual prop when the number of the virtual props is at least two and the projected prop is projected into the picking range of at least two virtual props; wherein the target virtual prop is the virtual prop closest to the virtual object among the at least two virtual props.

[0020] In the above scheme, the picking control module is also used to display the at least two virtual props in different display styles when the types of the virtual props include at least two; when the target direction is the direction of the virtual prop of the target type and the projected prop is projected into the picking range of the virtual prop of the target type, control the virtual object to remotely pick up the virtual prop of the target type.

[0021] In the above scheme, the picking control module is also used to display the virtual props of the target type in a first display style, and to display the virtual props of other types except the target type among the at least two virtual props in a second display style; wherein the first display style is different from the second display style, and the first display style represents the picking priority of the virtual props of the target type, which is higher than the picking priority of the virtual props of other types.

[0022] In the above scheme, after controlling the projection prop to be projected along the target direction indicated by the projection instruction, the device also includes: a picking prompt module, which is used to present a prompt message for prompting the failure of picking up the virtual prop when the distance between the virtual prop and the virtual object is greater than the projection distance threshold.

[0023] In the above scheme, before controlling the virtual object to remotely pick up the virtual prop, the device also includes: a range determination module, used to determine the projection end point of the projection prop; when the projection end point is located at the position of the virtual prop or at the valid area associated with the virtual prop, it is determined that the projection prop is projected into the pickup range of the virtual prop.

[0024] In the above scheme, the picking control module is also used to obtain a first projection time when the projection prop is projected into the picking range of the virtual prop, and a second projection time when the other projection prop is projected into the picking range when the projection prop is projected into the picking range of the virtual prop and other projection props of other virtual objects in the virtual scene are projected into the picking range of the virtual prop; when the first projection time is earlier than the second projection time, control the virtual object to remotely pick up the virtual prop.

[0025] In the above scheme, the picking control module is also used to present the sensing area when the picking range is the sensing area used by the virtual prop to sense the projection prop; when the projection prop is projected to the sensing area and the virtual prop determines through sensing that the projection prop belongs to the virtual object, control the virtual object to remotely pick up the virtual prop.

[0026] In the above scheme, the picking control module is also used to obtain the distance between the projection end point of the projection prop and the virtual object, and the adsorption distance threshold corresponding to the projection prop when the projection prop is a virtual prop with an adsorption function; when the projection prop is projected into the pick-up range of the virtual prop and the distance between the projection end point of the projection prop and the virtual object is lower than the adsorption distance threshold, the projection prop is controlled to adsorb the virtual prop to the virtual object through the adsorption effect of the adsorption component in the projection prop, so that the virtual prop is in the prop backpack of the virtual object.

[0027] In the above scheme, the picking control module is also used to determine the relative relationship between the sensing area and the pick-up range in the process of controlling the projection of the projection prop when the projection prop has a sensing function and is associated with a sensing area; when the relative relationship indicates that there is an area overlap between the sensing area and the pick-up range, the virtual prop is controlled to be placed at the virtual object through the sensing function of the projection prop, so that the virtual prop is in the prop backpack of the virtual object.

[0028] In the above scheme, the picking control module is also used to present a sensing area centered on the projection prop when the projection prop has a sensing function; when there are multiple virtual props in the sensing area, determine that the projection prop is projected into the picking range of the multiple virtual props, and control the virtual object to remotely pick up the multiple virtual props.

[0029] In the above scheme, the projection control module is also used to control the shooting prop to launch at least one projectile along the target direction in response to a projection instruction for the shooting prop when the projection prop is a shooting prop, and the projectile is used to shoot into the pickup range of the virtual prop; the picking control module is also used to control the virtual object to remotely and automatically pick up the virtual prop so that the virtual prop is in the prop backpack of the virtual object.

[0030] In the above scheme, the projection control module is also used to control the hook component in the hook prop to move along the target direction in response to a projection instruction for the hook prop when the projection prop is a hook prop with a hook function; the picking control module is also used to control the hook component to hook the virtual prop to the virtual object so that the virtual prop is in the prop backpack of the virtual object.

[0031] In the above scheme, after controlling the projection prop to project along the target direction indicated by the projection instruction, the device also includes: a state control module, which is used to control the display state of the projection prop relative to the other virtual objects to be invisible when there are other virtual objects between the projection prop and the virtual prop during the projection process of the projection prop.

[0032] The present application provides a terminal device, including:

[0033] A memory for storing executable instructions;

[0034] The processor is used to implement the method for picking up virtual props provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0035] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement a method for picking up a virtual item provided in an embodiment of the present application.

[0036] An embodiment of the present application provides a computer program product, including a computer program or instructions. When the computer program or instructions are executed by a processor, the method for picking up virtual props provided in the embodiment of the present application is implemented.

[0037] The embodiments of the present application have the following beneficial effects:

[0038] Through the embodiments of the present application, when a pickable virtual prop is far away from a virtual object, the virtual object can be remotely picked up by projecting the prop to assist the virtual object, and the virtual prop can be remotely picked up without the virtual object moving to the virtual prop, breaking through the limitations of distance and space, and improving the efficiency of picking up virtual props. At the same time, the safety risk of being killed at any time in the process of virtual objects walking out of hidden positions to pick up virtual props is reduced, and the safety of picking up virtual props is improved, thereby making full and efficient use of the pickable virtual prop resources in the virtual scene and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1A It is a schematic diagram of an application mode of a method for picking up virtual props provided in an embodiment of the present application;

[0040] Figure 1B A schematic diagram of an application mode of a method for picking up virtual props provided in an embodiment of the present application;

[0041] Figure 2 A schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application;

[0042] Figure 3A schematic diagram of a flow chart of a method for picking up virtual props provided in an embodiment of the present application;

[0043] Figure 4 A schematic diagram of obstacle detection provided in an embodiment of the present application;

[0044] Figure 5A-5B A schematic diagram of displaying prompt information provided in an embodiment of the present application;

[0045] Figure 6 A schematic diagram of displaying prompt information provided in an embodiment of the present application;

[0046] Figure 7 A schematic diagram of picking up virtual props provided in an embodiment of the present application;

[0047] Figure 8 A schematic diagram of picking up virtual props provided in an embodiment of the present application;

[0048] Fig. 9 A schematic diagram of an interface of a virtual scene provided in an embodiment of the present application;

[0049] Fig.10 A schematic diagram of a flow chart of a method for picking up virtual props provided in an embodiment of the present application;

[0050] Fig.11 A schematic diagram of picking up virtual props provided in an embodiment of the present application;

[0051] Fig.12 A schematic diagram of picking up virtual props provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0053] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0054] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0056] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0057] 1) Client: an application running in the terminal to provide various services, such as a video player client, a game client, etc.

[0058] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0059] 3) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and users can control virtual objects to move in the virtual scene.

[0060] 4) Virtual objects, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc., such as characters and animals displayed in a virtual scene. The virtual object can be a virtual image in the virtual scene that represents the user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene.

[0061] 5) Scene data, which represents feature data in a virtual scene. For example, it may include the position of a virtual object in the virtual scene, the waiting time required for configuring various functions in the virtual scene (depending on the number of times the same function can be used within a specific time), and the attribute values ​​of various states of virtual objects in the game, such as health points and magic points.

[0062] The embodiments of the present application provide a method, apparatus, terminal device, computer-readable storage medium, and computer program product for picking up virtual props, which can improve the efficiency and safety of picking up virtual props. In order to facilitate easier understanding of the method for picking up virtual props provided by the embodiments of the present application, an exemplary implementation scenario of the method for picking up virtual props provided by the embodiments of the present application is first described. The virtual scene in the method for picking up virtual props provided by the embodiments of the present application can be completely based on the output of the terminal device, or based on the coordinated output of the terminal device and the server.

[0063] In some embodiments, the virtual scene can also be an environment for game characters to interact. For example, it can be an environment for game characters to fight in the virtual scene. By controlling the actions of the game characters, both parties can interact in the virtual scene, allowing users to relieve life stress during the game.

[0064] In one implementation scenario, see Figure 1A , Figure 1A 1 is a schematic diagram of an application mode of a method for picking up virtual props provided in an embodiment of the present application, which is applicable to some application modes that completely rely on the computing power of the graphics processing hardware of the terminal device 400 to complete the relevant data calculation of the virtual scene 100, such as stand-alone / offline mode games, and output of virtual scenes through various types of terminal devices 400 such as smart phones, tablet computers, and virtual reality / augmented reality devices. As an example, the types of graphics processing hardware include central processing units (CPUs) and graphics processing units (GPUs).

[0065] When forming a visual perception of the virtual scene 100, the terminal device 400 calculates the data required for display through the graphics computing hardware, and completes the loading, parsing and rendering of the display data, and outputs video frames that can form a visual perception of the virtual scene through the graphics output hardware, for example, presenting two-dimensional video frames on the display screen of a smartphone, or projecting video frames to achieve a three-dimensional display effect on the lenses of augmented reality / virtual reality glasses; in addition, in order to enrich the perception effect, the terminal device 400 can also use different hardware to form one or more of auditory perception, tactile perception, motion perception and taste perception.

[0066] As an example, a client 410 (e.g., a stand-alone game application) is running on the terminal device 400. During the operation of the client 410, a virtual scene 100 including role-playing is output. The virtual scene 100 may be an environment for game characters to interact, such as a plain, street, valley, etc. for game characters to fight against each other. The virtual scene includes a virtual object 110, a projection prop 120 (e.g., a shooting prop or a throwing prop) held by the virtual object 110 through a holding part (e.g., a hand), and a pick-up virtual prop 130. The virtual object 110 may be a game character controlled by a user (or player), that is, the virtual object 110 is controlled by a real user and will move in the virtual scene in response to the real user's operation on a controller (including a touch screen, a voice-controlled switch, a keyboard, a mouse, a joystick, etc.). For example, when the real user moves the joystick to the right, the virtual object 110 will move to the right in the virtual scene 100. It can also remain still, jump, and control the virtual object 110 to perform shooting operations, etc.

[0067] For example, the terminal device 400 presents a virtual object 110 holding a projection prop 120 and a pick-up virtual prop 130 in the interface of the virtual scene 100; in response to a projection instruction for the projection prop 120, the projection prop 120 is controlled to project along the target direction indicated by the projection instruction, and when the projection prop 120 is projected into the pick-up range of the virtual prop 130, the virtual object 110 is controlled to remotely pick up the virtual prop 120; in this way, compared with the related art in which virtual objects can only pick up virtual props around them, the space limitation is broken, the long-distance prop picking is realized, the interaction process is simplified, the efficiency of picking up virtual props is improved, and the pick-up virtual props in the virtual scene are fully and efficiently utilized, while also improving the user experience.

[0068] In another implementation scenario, see Figure 1B , Figure 1BThe schematic diagram of the application mode of the method for picking up virtual props provided in the embodiment of the present application is applied to the terminal device 400 and the server 200, and is suitable for the application mode of completing the virtual scene calculation by relying on the computing power of the server 200 and outputting the virtual scene on the terminal device 400. Taking the visual perception of the virtual scene 100 as an example, the server 200 calculates the display data related to the virtual scene (such as scene data) and sends it to the terminal device 400 through the network 300. The terminal device 400 relies on the graphics computing hardware to complete the loading, parsing and rendering of the display data, and relies on the graphics output hardware to output the virtual scene to form visual perception, for example, a two-dimensional video frame can be presented on the display screen of a smart phone, or a video frame that realizes a three-dimensional display effect can be projected on the lenses of augmented reality / virtual reality glasses; for the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal device 400 can be used, such as using a microphone to form auditory perception, using a vibrator to form tactile perception, and so on.

[0069] As an example, a client 410 (e.g., a stand-alone game application) is running on the terminal device 400. During the operation of the client 410, a virtual scene 100 including role-playing is output. The virtual scene 100 may be an environment for game characters to interact, such as a plain, street, valley, etc. for game characters to fight against each other. The virtual scene includes a virtual object 110, a projection prop 120 (e.g., a shooting prop or a throwing prop) held by the virtual object 110 through a holding part (e.g., a hand), and a pick-up virtual prop 130. The virtual object 110 may be a game character controlled by a user (or player), that is, the virtual object 110 is controlled by a real user and will move in the virtual scene in response to the real user's operation on a controller (including a touch screen, a voice-controlled switch, a keyboard, a mouse, a joystick, etc.). For example, when the real user moves the joystick to the right, the virtual object 110 will move to the right in the virtual scene 100. It can also remain still, jump, and control the virtual object 110 to perform shooting operations, etc.

[0070] For example, the terminal device 400 presents a virtual object 110 holding a projection prop 120 and a pick-up virtual prop 130 in the interface of the virtual scene 100; in response to a projection instruction for the projection prop 120, the projection prop 120 is controlled to project along the target direction indicated by the projection instruction, and when the projection prop 120 is projected into the pick-up range of the virtual prop 130, the virtual object 110 is controlled to remotely pick up the virtual prop 120; in this way, compared with the related art in which virtual objects can only pick up virtual props around them, the space limitation is broken, the long-distance prop picking is realized, the interaction process is simplified, the efficiency of picking up virtual props is improved, and the pick-up virtual props in the virtual scene are fully and efficiently utilized, while also improving the user experience.

[0071] In some embodiments, the terminal device 400 can implement the method for picking up virtual props provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, APPlication), that is, a program that needs to be installed in the operating system to run, such as a shooting game APP (i.e., the above-mentioned client 410); it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a game small program that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.

[0072] Taking a computer program as an application program as an example, in actual implementation, the terminal device 400 installs and runs an application program that supports virtual scenes. The application program can be any one of a first-person shooter game (FPS), a third-person shooter game, a virtual reality application program, a three-dimensional map program, or a multiplayer gunfight survival game. The user uses the terminal device 400 to operate a virtual object in the virtual scene to perform an activity, which includes but is not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building virtual buildings. Schematically, the virtual object can be a virtual character, such as a simulated character or an anime character.

[0073] In other embodiments, the embodiments of the present application may also be implemented with the aid of cloud technology, which refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data computing, storage, processing, and sharing.

[0074] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form a resource pool that can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources.

[0075] For example, Figure 1B The server 200 in the example may 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. The terminal device 400 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal device 400 and the server 200 may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0076] Below Figure 1A The structure of the terminal device 400 shown in FIG. Figure 2 , Figure 2 A schematic diagram of the structure of a terminal device 400 provided in an embodiment of the present application is shown in FIG. Figure 2 The terminal device 400 shown includes: at least one processor 420, a memory 460, at least one network interface 430 and a user interface 440. The various components in the terminal device 400 are coupled together via a bus system 450. It is understood that the bus system 450 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 450 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 450 is not shown in FIG. Figure 2 Various buses are labeled as bus system 450 .

[0077] The processor 420 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0078] The user interface 440 includes one or more output devices 441 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 440 also includes one or more input devices 442, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0079] The memory 460 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 460 may optionally include one or more storage devices that are physically remote from the processor 420.

[0080] The memory 460 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 460 described in the embodiments of the present application is intended to include any suitable type of memory.

[0081] In some embodiments, memory 460 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0082] Operating system 461, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0083] A network communication module 462, for reaching other computing devices via one or more (wired or wireless) network interfaces 430, exemplary network interfaces 430 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus (USB);

[0084] a presentation module 463 for enabling presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more output devices 441 (e.g., a display screen, a speaker, etc.) associated with the user interface 440;

[0085] The input processing module 464 is used to detect one or more user inputs or interactions from one of the one or more input devices 442 and translate the detected inputs or interactions.

[0086] In some embodiments, the virtual prop picking device provided in the embodiments of the present application can be implemented in a software manner. Figure 2 A picking device 465 of virtual props stored in the memory 460 is shown, which can be software in the form of programs and plug-ins, including the following software modules: an object rendering module 4651, a projection control module 4652 and a picking control module 4653. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.

[0087] In other embodiments, the virtual prop picking device provided in the embodiments of the present application may be implemented in hardware. As an example, the virtual prop picking device provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the virtual prop picking method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may be one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), or other electronic components.

[0088] The following will describe in detail the method for picking up virtual props provided by the embodiment of the present application in conjunction with the accompanying drawings. The method for picking up virtual props provided by the embodiment of the present application can be performed by Figure 1A The terminal device 400 in the embodiment can be executed separately, or it can be executed by Figure 1B The terminal device 400 and the server 200 execute collaboratively.

[0089] Below, by Figure 1A The terminal device 400 in the embodiment of the present application independently executes the method for picking up virtual props provided in the embodiment of the present application as an example. Figure 3 , Figure 3 A flowchart of a method for picking up virtual props provided in an embodiment of the present application is provided. Figure 3 The steps shown are explained.

[0090] It should be noted that Figure 3 The method shown can be executed by various forms of computer programs running on the terminal device 400, and is not limited to the above-mentioned client 410, but can also be the operating system 461, software modules and scripts mentioned above. Therefore, the client should not be regarded as a limitation on the embodiments of the present application.

[0091] Step 101: The terminal device presents a virtual object holding a projection prop and a virtual prop that can be picked up in the interface of the virtual scene.

[0092] Among them, the projectile props may include shooting props and throwing props. The shooting props are triggered by launching at least one projectile to pick up the pickable virtual props, such as firearms, bows and arrows, crossbows, etc. The throwing props are triggered by throwing the throwing props themselves to pick up the pickable virtual props, such as darts, grenades, smoke bombs, Molotov cocktails, javelins, or hooking props with hooking functions, such as hooking props that are hooking components (referred to as hooks) with hook lines, ropes, or hook rods. The pickable virtual props are props discarded by other virtual objects in the virtual scene or virtual props randomly assigned by the system as rewards, that is, virtual props are idle virtual props that can be picked up by virtual objects. Virtual objects can use the picked-up virtual props to enhance their own attack power or defense capabilities, thereby improving the interactive capabilities of virtual objects in the virtual scene.

[0093] In some embodiments, a client that supports virtual scenes is installed on the terminal device (for example, when the virtual scene is a game, the corresponding client may be a shooting game APP). When the user opens the client installed on the terminal device (for example, the user clicks on an icon corresponding to the shooting game APP presented in the user interface of the terminal device) and the terminal device runs the client, a virtual scene interface may be presented in the client, and a virtual object holding projection props and pick-up virtual props may be presented in the interface of the virtual scene.

[0094] In other embodiments, the terminal device may also respond to a projection prop selection operation (e.g., receiving a user click operation on a control corresponding to a projection prop displayed in the interface of the virtual scene) by presenting a virtual object holding a projection prop (e.g., when the virtual object originally holds other props, an animation of switching from other props to the projection prop is played) and a virtual prop that can be picked up in the interface of the virtual scene. Taking a game as an example, a variety of props are provided in the game for users to choose from, wherein each prop corresponds to a control displayed in the game screen. When the user clicks on the control corresponding to the projection prop displayed in the game screen, a game screen is displayed in which the game character controlled by the user holds the projection prop by hand.

[0095] It should be noted that, in actual applications, the pickable virtual props presented in the interface of the virtual scene are virtual props within the current field of view of the virtual object. Given the limitations of the field of view, these virtual props may only be part of the many pickable virtual props. That is, in the virtual scene, in addition to the pickable virtual props presented in the interface of the current virtual scene, there may also be other pickable virtual props.

[0096] Step 102: In response to a projection instruction for a projection prop, control the projection prop to project along a target direction indicated by the projection instruction.

[0097] In some embodiments, before controlling the projection prop to project along the target direction indicated by the projection instruction, the terminal device may receive a projection instruction for the projection prop in the following manner: in response to an aiming operation on the projection prop, controlling the projection prop to aim along the target direction; in response to a release operation on the aiming operation, receiving a projection instruction for the projection prop.

[0098] The target direction may be the direction of the virtual prop that can be picked up, and the projection prop can be controlled by the aimer of the projection prop to aim in the direction of the virtual prop that can be picked up. After the aiming operation is released, the projection instruction can be triggered, and the projection prop can be controlled to project along the target direction indicated by the projection instruction in response to the projection instruction. Of course, the target direction can also be any direction, that is, the terminal device controls the projection prop to project in any direction (also called blind shooting).

[0099] In actual applications, when there are multiple (2 or more) virtual props that can be picked up, the target direction can also be the direction of the target virtual prop among all the virtual props that can be picked up. Here, a display style different from that of other virtual props can be used to highlight the target virtual prop, so that when the aiming operation is performed, the projection prop is controlled to aim in the direction of the highlighted target virtual prop. After the aiming operation is released, the projection instruction can be triggered, and in response to the projection instruction, the projection prop is controlled to project along the target direction indicated by the projection instruction.

[0100] In actual implementation, the target virtual props can be determined in the following way: based on the usage preference of the virtual object, the matching degree between each virtual prop and the usage preference is obtained, and the virtual prop corresponding to the highest matching degree is selected as the target virtual prop; for example, the pickable virtual props include virtual prop 1, virtual prop 2 and virtual prop 3. Through the neural network model, according to the role of the virtual object in the virtual scene, or the virtual props used historically by the virtual object, the usage preference of the virtual object, that is, the virtual object's preference and proficiency for each virtual prop, is predicted. Based on the usage preference of the virtual object, the matching degree between virtual prop 1 and the usage preference, the matching degree between virtual prop 2 and the usage preference, and the matching degree between virtual prop 3 and the usage preference are determined respectively, and the virtual prop 2 with the highest matching degree is selected for highlighting. In addition, based on at least one of the parameters of each virtual prop, such as the lethality index, consumption level (which can determine whether the virtual prop is a prop that the virtual object currently lacks), the difficulty coefficient of picking up, the prop type (such as the prop model), and the distance from the virtual object, the virtual prop that best matches the virtual object can be selected from multiple virtual props and displayed as the target virtual prop for highlighting. In this way, the virtual props that the virtual object lacks the most, likes the most, needs the most, and is most handy can be selected from multiple pickable virtual props, which can improve the interactive ability of the virtual object.

[0101] It can be understood that the data such as the usage preferences of virtual objects involved in the embodiments of the present application are essentially user-related data. When the embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0102] In some embodiments, the terminal device may respond to a projection instruction for a projection prop in the following manner to control the projection prop to project along the target direction indicated by the projection instruction: when the projection prop is a shooting prop, in response to the projection instruction for the shooting prop, control the shooting prop to launch at least one projectile along the target direction, and the projectile is used to shoot into the pickup range of the virtual prop; the terminal device may control the virtual object to remotely pick up the virtual prop in the following manner: control the virtual object to remotely and automatically pick up the virtual prop, so that the automatically picked up virtual prop is in the prop backpack of the virtual object; in this way, by controlling the shooting prop to launch a projectile, the virtual prop that is far away from the virtual object (cannot be reached by hand) is remotely picked up, breaking through the limitations of distance and space, realizing the picking up of virtual props at a long distance, and improving the picking efficiency of virtual props, thereby making full and efficient use of the pickable virtual prop resources in the virtual scene, thereby improving the user experience.

[0103] Among them, shooting props refer to virtual props that can fire projectiles, such as firearms, crossbows, etc. For example, when the shooting prop is a firearm, the projectile is a bullet; when the shooting prop is a crossbow, the projectile is an arrow. Taking the shooting prop as a firearm as an example, a fire button is displayed in the virtual scene. When the terminal device receives a shooting instruction triggered by the user based on the fire button, the firearm is controlled to fire at least one bullet in the target direction. When the firearm is a shotgun, the bullets are fired in a burst, that is, multiple bullets can be fired at the same time each time, so that multiple bullets can be shot into the pickup range of multiple virtual props in the virtual scene at one time, so as to automatically pick up multiple virtual props remotely; of course, when the firearm is an ordinary firearm (that is, a gun that can only fire one bullet at a time), the shooting range of multiple virtual props can be automatically picked up remotely. When a virtual object is in a virtual scene, the virtual object can be picked up remotely without the need for the virtual object to move to the virtual object, thereby improving the efficiency of picking up the virtual object. At the same time, the safety risk of being killed at any time when the virtual object walks out of the hidden position to pick up the virtual props is reduced, thereby improving the safety of picking up the virtual props.

[0104] In some embodiments, the terminal device can also respond to the projection instruction for the projection prop in the following manner to control the projection prop to be projected along the target direction indicated by the projection instruction: when the projection prop is a hooking prop with a hooking function, in response to the projection instruction for the hooking prop, the hooking component in the hooking prop is controlled to move along the target direction; the terminal device can control the virtual object to remotely pick up the virtual prop in the following manner: control the hooking component to hook the virtual prop to the virtual object, so that the virtual prop is in the prop backpack of the virtual object.

[0105] Among them, the throwing props can be grenades, smoke bombs, Molotov cocktails, javelins or hooking props with a hooking function, such as a hooking component carrying a hook line, rope or hook rod. Taking the projection prop as a hooking prop with a hooking function as an example, when the user throws the hooking prop in the target direction, the terminal device responds to the projection instruction and controls the hooking component in the hooking prop to move in the target direction. When the hooking component moves to the pickup range of the virtual prop, the hooking component is controlled to hook the virtual prop, and the rebound or rebound effect of the hook line or rope in the hooking component is used, or The user hooks the virtual prop to the location of the virtual object through the pulling force of the hook rod in the hook component of the virtual object, so as to place the virtual prop in the prop backpack of the virtual object; in this way, when the pickable virtual prop is far away from the virtual object, the virtual prop can be picked up by the hook component without the need for the virtual object to move to the virtual prop, thereby improving the efficiency of picking up the virtual prop. At the same time, the safety risk of being killed at any time faced by the virtual object in the process of walking out of the hidden position to pick up the virtual prop is reduced, thereby improving the safety of picking up the virtual prop.

[0106] Step 103: When the projected prop is projected into the pickup range of the virtual prop, the virtual object is controlled to remotely pick up the virtual prop.

[0107] In some embodiments, after the terminal device controls the projection prop to project along the target direction indicated by the projection instruction, during the projection process of the projection prop, the terminal device detects obstacles between the projection prop and the virtual prop to obtain a detection result; when the detection result indicates that there is no obstacle between the projection prop and the virtual prop, and the projection prop is projected into the pickup range of the virtual prop, the virtual object is controlled to remotely pick up the virtual prop; or, when the detection result indicates that there is a traversable obstacle between the projection prop and the virtual prop, the projection prop is controlled to traverse the obstacle, and when the projection prop is projected into the pickup range of the virtual prop, the virtual object is controlled to remotely pick up the virtual prop.

[0108] Here, after the projection prop is projected, the position of the projection prop or the projectile of the projection prop is changing during the projection process, and obstacle detection is performed between the projection prop and the virtual prop in real time to determine whether there are obstacles between the two (such as walls, oil drums and other objects that hinder the movement of the projection prop, or traversable shield walls, other virtual objects, smoke and other objects that cannot hinder the movement of the projection prop).

[0109] See also Figure 4 , Figure 4The obstacle detection schematic diagram provided for the embodiment of the present application, during the detection, by binding the camera component on the projection prop, a detection ray 402 in the same direction as the projection prop is emitted from the position of the projection prop 401 to the virtual prop 403 that can be picked up; based on the detection ray, it is determined whether there is an obstacle between the projection prop and the virtual prop. When the detection ray intersects with the collider component (such as a collision box, collision ball, etc.) bound to the obstacle, it indicates that there is an obstacle (i.e., wall 404) between the projection prop and the virtual prop; when the detection ray does not intersect with the collider component bound to the obstacle, it indicates that there is no obstacle between the projection prop and the virtual prop. When there is no obstacle between the projection prop and the virtual prop or there is a traversable obstacle, and the projection prop is projected into the pickup range of the virtual prop, the virtual object can be controlled to remotely pick up the virtual prop.

[0110] When there is an impassable obstacle between the projected prop and the virtual prop, the projected prop cannot pass through the obstacle and cannot reach the pickup range of the virtual prop, so the virtual object cannot be controlled to remotely pick up the virtual prop. At this time, a prompt message for prompting the failure of picking up the virtual prop can be presented, as shown in Figures 5A-5B. Figure 5A-5B A schematic diagram of displaying prompt information provided in an embodiment of the present application, Figure 5A In the example, when there is an impassable obstacle 503 between the projection prop 501 of the hook component and the pickable virtual prop 502, an instruction message 504 such as "obstacle exists, prop picking fails" is presented, or an instruction message such as "prop picking fails, please bypass the obstacle" is presented to instruct to avoid the obstacle; Figure 5B In the example, when there is a traversable obstacle 505 between the projected prop 501 and the pickable virtual prop 502, the projected prop 501 is controlled to pass through the obstacle 505. In this way, in the process of picking up the virtual prop, the picking logic conforms to the real scene, thereby improving the user experience.

[0111] In some embodiments, after the terminal device controls the projection prop to be projected along the target direction indicated by the projection instruction, when the distance between the virtual prop and the virtual object is greater than the projection distance threshold, a prompt message is presented to indicate that the virtual prop has failed to be picked up.

[0112] Here, in actual application, after controlling the projection prop to project along the target direction indicated by the projection instruction, the terminal device can also obtain the distance between the virtual prop and the virtual object in the virtual scene, and the projection distance threshold corresponding to the projection prop; wherein the projection distance threshold is the maximum projection distance of the projection prop. When the distance between the pickable virtual prop and the virtual object (the position of the virtual object is the projection starting point of the projection prop) is greater than the maximum projection distance, that is, the pickable virtual prop is outside the maximum projection distance of the projection prop, it will not be able to be projected into the pickable range of the virtual prop, that is, the purpose of remotely picking up the virtual prop cannot be achieved.

[0113] See also Figure 6 , Figure 6 A schematic diagram of the display of prompt information provided in an embodiment of the present application, in which a virtual object 601 holds a hooking prop of a hooking component, and the maximum projection distance of the hooking prop is L1. If the distance L2 between the pickable virtual prop 602 and the virtual object 601 is greater than the maximum projection distance L1, a prompt message such as "The target is too far away, and the pickup failed" is presented.

[0114] In some embodiments, since the projection distance threshold of the projection prop is related to the properties of the projection prop itself, it is an inherent distance and does not change with the projection method. Therefore, before triggering the projection instruction, the terminal device can first obtain the distance between the virtual object and the pickable virtual prop, and determine whether the virtual prop is within the maximum projection distance of the projection prop by comparing the distance with the projection distance threshold. When the distance between the virtual object and the pickable virtual prop is greater than the projection distance threshold of the projection prop, it is determined that the virtual prop is outside the maximum projection distance of the projection prop. As long as the virtual object does not move in the direction close to the virtual prop, no matter how the projection prop is controlled to be projected, it will be uncontrollable. The projection prop is projected into the pickup range of the virtual prop. Therefore, in this case, an instruction message such as "the target is too far to be picked up, please move closer" can be presented to indicate the approach to the virtual prop. The player can appropriately control the virtual object to move to the location of the virtual prop based on the instruction message, and when the virtual prop is moved to a position where the virtual prop is within the maximum projection distance of the projection prop, an instruction message such as "please project" is presented to indicate the projection of the projection prop. The projection instruction triggered based on the instruction message can improve the success rate of picking up the virtual prop, reduce the possibility of failure to pick up the prop after the projection instruction is triggered, and improve the efficiency and effectiveness of picking up the virtual prop.

[0115] It should be noted that the above method is an appropriate adjustment without exposing the virtual object. When the pickable virtual prop is too far away or when the virtual object moves towards the virtual prop and faces a greater risk of exposure, instruction information for instructing the virtual object to give up the virtual prop can also be directly presented to avoid safety risks caused by excessive exposure of the virtual object, thereby improving the user experience.

[0116] In some embodiments, before controlling the virtual object to remotely pick up the virtual prop, the terminal device may also determine the projection end point of the projected prop; when the projection end point is located at the location of the virtual prop or at the valid area associated with the virtual prop, it is determined that the projected prop is projected into the pickup range of the virtual prop.

[0117] Here, during detection, it can be determined whether the projection prop is projected into the pickup range of the virtual prop by judging whether the position coordinates of the projection end point are in the valid area associated with the virtual prop. When the projection end point of the projection prop is in the valid area associated with the virtual prop (including the position of the virtual prop), that is, the projection prop hits the virtual prop, it can be determined that the projection prop is projected into the pickup range of the virtual prop. It can also be determined whether the projection prop is projected into the pickup range of the virtual prop by detecting whether there is an intersection between the collider component (such as a collision box, a collision ball, etc.) bound to the projection prop and the collider component (such as a collision box, a collision ball, etc.) bound to the obstacle. When the two intersect, it can be determined that the projection prop is projected into the pickup range of the virtual prop.

[0118] In some embodiments, the terminal device can control the virtual object to remotely pick up the virtual prop when the projected prop is projected into the pickup range of the virtual prop in the following manner: when the number of virtual props is at least two and the projected prop is projected into the pickup range of at least two virtual props, control the virtual object to remotely pick up the target virtual prop; wherein the target virtual prop is the virtual prop that is closest to the virtual object among the at least two virtual props.

[0119] Here, when the projected props are within the pickup range of multiple virtual props, such as Figure 7 As shown, Figure 7 A schematic diagram of picking up virtual props provided in an embodiment of the present application shows that when the hook component of the projection prop, a hook prop, is within the pickup range of both virtual prop 701 and virtual prop 702, the virtual prop closest to the projection prop (or to the virtual object) is selected for remote pickup, such as controlling the virtual object to remotely pick up the nearest virtual prop 701. Of course, in actual applications, the virtual object can also be controlled to pick up all virtual props within the pickup range at the same time, such as controlling the virtual object to remotely pick up virtual prop 701 and virtual prop 702 at the same time.

[0120] It should be noted that the control of the virtual object to remotely pick up the virtual props provided in the embodiments of the present application means that when the virtual object cannot directly reach out to pick up the virtual props at a distance, the virtual object is assisted by the projection props to remotely pick up the virtual props through the air. That is, there is no need to control the virtual object to walk near the virtual props, but to control the virtual object to remotely pick up the virtual props, such as by projecting the props to place the virtual props at the virtual object. In this way, the virtual object can pick up the virtual props at the virtual object, and can directly equip the picked up virtual props or place the picked up virtual props in the prop backpack according to the actual situation.

[0121] In some embodiments, the terminal device can control the virtual object to remotely pick up the virtual props when the projected props are projected into the pickup range of the virtual props in the following ways: when the virtual props include at least two types, the at least two virtual props are displayed in different display styles; when the target direction is the direction of the target type of virtual props and the projected props are projected into the pickup range of the target type of virtual props, the virtual object is controlled to remotely pick up the target type of virtual props.

[0122] In actual applications, when there are multiple types of virtual props that can be picked up (2 or more), the target direction can also be the direction of the virtual props of the target type among all the virtual props that can be picked up. Here, a display style different from that of other types of virtual props (such as different colors, different brightness, different indication information, etc.) can be used to highlight the virtual props of the target type, so that when the aiming operation is performed, the projection props can be controlled to aim in the direction of the highlighted virtual props of the target type. After the aiming operation is released, the projection instruction can be triggered, and in response to the projection instruction, the projection props can be controlled to project along the target direction indicated by the projection instruction.

[0123] In actual implementation, the target type of virtual props can be determined in the following way: based on the usage preference of the virtual object, the matching degree between each type of virtual props and the usage preference is obtained, and the virtual props corresponding to the highest matching degree are selected as the target type of virtual props for highlighting; for example, the pickable virtual props include a first type of virtual prop 1, a second type of virtual prop 2 and a third type of virtual prop 3. Through the neural network model, according to the role of the virtual object in the virtual scene, or the virtual object's historical usage type of virtual props, the usage preference of the virtual object, that is, the virtual object's preference and proficiency for various types of virtual props, is predicted. Based on the usage preference of the virtual object, the matching degree between the first type of virtual prop 1 and the usage preference, the matching degree between the second type of virtual prop 2 and the usage preference, and the matching degree between the third type of virtual prop 3 and the usage preference are determined respectively, and the second type of virtual prop 2 with the highest matching degree is selected for highlighting. In addition, based on at least one of the parameters of the various virtual props, such as the lethality index, consumption, difficulty coefficient of picking up, and distance from the virtual object, virtual props of the target type that is most suitable for the virtual object can be screened out from a variety of virtual props for highlighting. In this way, virtual props of the target type that the virtual object likes, needs, and is most handy can be screened out from a variety of pickable virtual props, which can improve the interactive ability of the virtual object.

[0124] In some embodiments, the terminal device may display at least two virtual props using different display styles in the following manner: using a first display style to display a target type of virtual prop, and using a second display style to display virtual props of other types except the target type among the at least two virtual props; wherein the first display style is different from the second display style, and the first display style represents a picking priority of the target type of virtual prop, which is higher than the picking priority of other types of virtual props.

[0125] Here, when there are multiple types of virtual props that can be picked up, different display styles are used to display virtual props of corresponding types according to different picking priorities, especially highlighting the virtual props of the highest type with the highest picking priority, and the projection props can be controlled to aim in the direction of the highlighted target type of virtual props. After the aiming operation is released, the projection instruction can be triggered, and in response to the projection instruction, the projection props are controlled to project along the target direction indicated by the projection instruction, and the virtual object is controlled to pick up the virtual props of the target type. In this way, selecting the virtual props of the target type required by the virtual object from a variety of virtual props that can be picked up can improve the interactive ability of the virtual object.

[0126] In some embodiments, the terminal device can control the virtual object to remotely pick up the virtual prop when the projection prop is projected into the pickup range of the virtual prop in the following manner: when the projection prop is projected into the pickup range of the virtual prop, and other projection props of other virtual objects in the virtual scene are projected into the pickup range of the virtual prop, obtain the first projection time when the projection prop is projected into the pickup range, and the second projection time when the other projection props are projected into the pickup range; when the first projection time is earlier than the second projection time, control the virtual object to remotely pick up the virtual prop.

[0127] See also Figure 8 , Figure 8 A schematic diagram of picking up a virtual prop provided in an embodiment of the present application. In the process of picking up a virtual prop, for the same virtual prop 801, if in addition to the projected props projected by the virtual object (player A) corresponding to the current terminal device being within the pickable range of the virtual prop, there are also projected props projected by other virtual objects (player B) within the pickable range of the virtual prop, that is, there are multiple virtual objects to pick up the projected props, the order of the projection time of each projected prop into the pickable range of the virtual prop can be compared to determine which virtual object finally successfully picks up the virtual prop. If the projection time of the projected props of the current virtual object is earlier than the projection time of the projected props of other objects, the current virtual object can be controlled to successfully pick up the virtual prop; if the projection time of the projected props of the current virtual object is later than the projection time of the projected props of other objects, the current virtual object will not be able to successfully pick up the virtual prop, that is, the virtual prop will be successfully picked up by other virtual objects. In this way, following the "first come, first served" rule can promote the enthusiasm of virtual objects to pick up virtual props.

[0128] In some embodiments, the terminal device can achieve the following method: when the projection prop is projected into the pickup range of the virtual prop, the virtual object is controlled to pick up the virtual prop remotely: when the pickup range is the sensing area of ​​the virtual prop used to sense the projection prop, the sensing area is presented; when the projection prop is projected into the sensing area and the virtual prop determines that the projection prop belongs to the virtual object through sensing, the virtual object is controlled to pick up the virtual prop remotely.

[0129] Here, in actual application, a sensor can be bound to a pick-up virtual prop, and the sensing area sensed by the sensor is used as the target area. The sensing area can be a circular area with the virtual prop as the center and the target distance as the radius, or it can be an area of ​​any other shape or size. The embodiment of the present application does not limit the shape and size of the sensing area. After determining the sensing area, the target display style (such as highlight) can be sampled to display the sensing area to distinguish it from the non-sensing area. When the projected prop moves to the sensing area, the virtual object to which the projected prop belongs is sensed and identified through the sensing effect of the sensor bound to the virtual prop. When it is determined that the projected prop belongs to the virtual object of the current terminal device, there is no need to control the virtual object to walk near the virtual prop. Instead, the virtual object is controlled to pick up the virtual prop remotely, which improves the efficiency of picking up the virtual prop, reduces the security risk of being killed at any time when the virtual object walks out of the hidden position to pick up the virtual prop, and improves the safety of picking up the virtual prop. At the same time, due to the strong sensitivity of the sensing effect, once the projected prop is projected to the sensing area, the virtual prop can be quickly picked up without the user's triggering operation, which further improves the accuracy and efficiency of picking up the virtual prop and improves the user experience.

[0130] In some embodiments, the terminal device can control the virtual object to remotely pick up the virtual props when the projection props are projected into the pickup range of the virtual props in the following manner: when the projection props are virtual props with an adsorption function, the distance between the projection end point of the projection props and the virtual object, and the adsorption distance threshold corresponding to the projection props are obtained; when the projection props are projected into the pickup range of the virtual props and the distance between the projection end point of the projection props and the virtual object is lower than the adsorption distance threshold, the projection props are controlled to adsorb the virtual props to the virtual object through the adsorption effect of the adsorption component in the projection props, so that the virtual props are in the prop backpack of the virtual object.

[0131] Here, in actual application, an adsorption component (such as a magnet) with an adsorption function can be bound to the projection prop, and the adsorption component can adsorb virtual props within the adsorption distance threshold, wherein the adsorption distance threshold is the maximum distance that the projection prop can trigger the adsorption function, and is related to the material, size and other properties of the adsorption component. When the projection prop is projected into the pickup range of the virtual prop, the distance between the projection end point of the projection prop (the position within the pickup range) and the virtual prop is compared with the adsorption distance threshold. When the distance between the two is greater than the adsorption distance threshold, the virtual prop cannot be adsorbed to the virtual object through the adsorption effect of the adsorption component in the projection prop, that is, the virtual object fails to pick up the virtual prop; when the distance between the two is less than or equal to the adsorption distance threshold, the virtual prop can be adsorbed to the virtual object through the adsorption effect of the adsorption component in the projection prop to place the virtual prop in the prop backpack. That is, the virtual object successfully picks up the virtual prop at the virtual object, and can directly equip the picked up virtual prop or place the picked up virtual prop in the prop backpack according to the actual situation; in this way, when the pickable virtual prop is far away from the virtual object, the virtual object does not need to move to the virtual prop, and the virtual prop can be picked up by the adsorption effect of the adsorption component in the projected prop, thereby improving the efficiency of picking up the virtual prop. At the same time, it reduces the security risk of being killed at any time in the process of the virtual object walking out of the hidden position to pick up the virtual prop, and improves the security of picking up the virtual prop.

[0132] In some embodiments, the terminal device can achieve the following method to control the virtual object to remotely pick up the virtual props when the projection props are projected into the pickup range of the virtual props: when the projection props have a sensing function and are associated with a sensing area, in the process of controlling the projection of the projection props, the relative relationship between the sensing area and the pickup range is determined; when the relative relationship indicates that there is an area overlap between the sensing area and the pickup range, the virtual props are controlled to be placed at the virtual object through the sensing function of the projection props, so that the virtual props are in the prop backpack of the virtual object.

[0133] Here, in actual application, a sensor can also be bound to the projection prop, and the sensor corresponds to a sensing area. The sensing area can be a circular area with the projection prop as the center and a preset first distance as the radius, or an area of ​​any other shape or size; in addition, the pick-up range of the virtual prop can be a circular area with the virtual prop as the center and a preset second distance as the radius, or an area of ​​any other shape or size. The embodiment of the present application does not limit the shape and size of the sensing area and the pick-up range. In the process of controlling the projection of the projected props, the relative relationship between the sensing area and the pickup range of the pickable virtual props is determined. When there is an area overlap (such as intersection, tangency, inclusion) between the sensing area and the pickup range, the virtual props are sensed by the sensing effect of the sensor bound to the projected props, so as to place the virtual props in the prop backpack of the virtual object or control the virtual object to equip the virtual props. In this way, there is no need to control the virtual object to walk near the virtual props, but to control the virtual object to remotely pick up the virtual props, which improves the efficiency of picking up the virtual props, reduces the security risk of being killed at any time in the process of the virtual object walking out of the hidden position to pick up the virtual props, and improves the safety of picking up the virtual props. At the same time, due to the strong sensitivity of the sensing effect, once the sensing area of ​​the projected props collides with the pickup range of the virtual props, the virtual props can be quickly picked up without the need for the user's trigger operation, which further improves the accuracy and efficiency of picking up the virtual props and improves the user experience.

[0134] In some embodiments, the terminal device can control the virtual object to remotely pick up the virtual props when the projected props are projected into the pickup range of the virtual props in the following manner: when the projected props have a sensing function, a sensing area centered on the projected props is presented; when there are multiple virtual props in the sensing area, it is determined that the projected props are projected into the pickup range of multiple virtual props, and the virtual object is controlled to remotely pick up the multiple virtual props.

[0135] Here, after determining the sensing area centered on the projection prop, the target display style (such as highlight) can be sampled to display the sensing area to distinguish it from the non-sensing area. When there are multiple virtual props that can be picked up in the sensing area of ​​the projection prop, it is characterized that the projection prop after projection is within the pickup range of multiple virtual props. For example, if there are virtual props 1 and virtual props 2 in the sensing area of ​​the projection prop, it can be determined that the projection prop is both within the pickup range of virtual prop 1 and within the pickup range of virtual prop 2. The virtual object can be controlled to pick up all virtual props within the pickup range at the same time, such as controlling the virtual object to remotely pick up virtual props 1 and virtual props 2 at the same time, thereby improving the efficiency of picking up virtual props. Of course, in actual applications, specific virtual props can also be selected for picking up, such as selecting the virtual prop closest to the projection prop for picking up, such as controlling the virtual object to remotely pick up the nearest virtual prop 1, thereby improving the targeting of picking up virtual props.

[0136] In some embodiments, after the terminal device controls the projection prop to project along the target direction indicated by the projection instruction, during the projection process of the projection prop, when there are other virtual objects between the projection prop and the virtual prop, the display state of the projection prop relative to the other virtual objects is controlled to be invisible.

[0137] In actual applications, since the projection props can pass through other virtual objects, when controlling the projection props to project through other virtual objects, the display status of the projection props relative to other virtual objects can be controlled. For example, the display status of the projection props relative to other virtual objects can be controlled to be invisible, that is, the projection props can be controlled to be in a "stealth state" that other virtual objects cannot see. In this way, other virtual objects can be prevented from discovering the launch props, thereby ensuring the stability of the interactive capabilities of the virtual objects.

[0138] It should be noted that the above-mentioned projection props can be tools dedicated to remotely picking up virtual props, that is, the projection props only have the function of assisting virtual objects to remotely pick up virtual props, and do not have other attack functions. During the projection process of the projection props, if the projection props hit other virtual objects, it cannot change or reduce the status values ​​of other virtual objects (such as blood volume, life value, attack power, etc.). For example, when the projection props are hooking props with a hooking function, the hooking props can only be used to hook virtual props, but cannot hook other virtual objects, nor can it be used as an attack weapon to cause damage to other virtual objects.

[0139] Of course, in actual applications, in addition to the function of assisting virtual objects to pick up virtual props remotely, projection props can also have an attack function to cause negative impacts on other virtual objects that are attacked and passed through. Projection props can also have corresponding protection mechanisms. In the process of picking up virtual props in a virtual scene, if the current virtual object of the terminal device does not have a protection mechanism turned on, and there are projection props projected by other virtual objects in the virtual scene that pass through the current virtual object, the status value of the current virtual object (such as blood volume, life value, attack power, etc.) will be attenuated; and if the current virtual object of the terminal device has a protection mechanism turned on, and there are projection props projected by other virtual objects in the virtual scene that pass through the current virtual object, there will be no negative impact on the status value of the current virtual object (such as blood volume, life value, attack power, etc.), thereby playing a self-protection role.

[0140] The following will describe an exemplary application of the embodiment of the present application in a practical application scenario. Take the virtual scene as a shooting game as an example. Fig. 9 , Fig. 9 This is a schematic diagram of an interface of a virtual scene provided in an embodiment of the present application. When a player (i.e., the virtual object mentioned above) needs to pick up a virtual prop during the game, the player in the related art can only pick up the virtual props around him. When the player is far away from the pickable virtual prop (cannot reach it), the player needs to move to the pickable virtual prop before picking it up, and the efficiency of picking up the virtual prop is low. Moreover, if there are many enemies lurking next to the virtual prop, the process is difficult for players who lack available props and have no attack or defense capabilities (such as players who have used up virtual props such as bullets and grenades and have no teammates to cover them). In the process of rashly running out from a hidden position to pick up the virtual prop, the player faces the security risk of being killed at any time, which affects the user experience.

[0141] To this end, an embodiment of the present application provides a method for picking up virtual props. When picking up virtual props that are far away from the player, the player is controlled to project a projection prop in the direction of the virtual prop to be picked up. When the projection prop is projected into the pickup range of the virtual prop, the player is controlled to automatically pick up the virtual prop remotely, so that the automatically picked up virtual prop is placed in a prop backpack or directly equipped for use, thereby improving the efficiency and safety of picking up virtual props.

[0142] Among them, the projectile props may include shooting props and throwing props. The shooting props trigger the remote picking up of virtual props by launching at least one projectile, such as firearms, bows and arrows, crossbows, etc. The throwing props trigger the remote picking up of virtual props by throwing the throwing props themselves, such as darts, grenades, and hooking props with hooking functions. The pickable virtual props are props discarded by other virtual objects in the virtual scene or virtual props randomly assigned by the system for virtual objects to pick up. The virtual objects can use the picked up virtual props to enhance their own attack power or defense capabilities, thereby improving the interactive capabilities of the virtual objects in the virtual scene.

[0143] Next, the method for picking up virtual props provided in the embodiment of the present application is further described by taking the projection prop as a hooking prop with a hooking function (the hooking prop contains a hooking component (such as a hook), and the hooking component carries a hook line or a rope, etc.) as an example, see Fig.10 , Fig.10 A flowchart of a method for picking up a virtual prop provided in an embodiment of the present application is provided, and the method includes:

[0144] Step 201: The terminal device presents a virtual object holding a hooking prop and a virtual prop that can be picked up in the interface of the virtual scene.

[0145] Step 202: In response to the projection instruction for the hooking prop, control the hooking component in the hooking prop to fly along the target direction.

[0146] See also Fig.11 , Fig.11 A schematic diagram of picking up virtual props provided in an embodiment of the present application shows an operation control 1101 corresponding to the hook prop in the game interface. The terminal responds to a trigger operation on the operation control 1101, controls the projection prop 1102 to aim in the target direction, responds to a release operation on the aiming, receives a projection instruction for the hook prop, and responds to the projection instruction to control the hook component in the hook prop to fly in the target direction.

[0147] Step 203: During the flight of the hook component, determine whether there is an obstacle between the hook component and the virtual prop.

[0148] Here, when there is an obstacle between the hook component and the virtual prop, the hook component cannot pass through the impassable obstacle, and step 206 is executed; when there is no obstacle between the hook component and the virtual prop, step 204 is executed.

[0149] It should be noted that when there is a traversable obstacle (such as other players, smoke, etc.) between the hook component and the virtual prop, the hook component can be controlled to fly through the obstacle.

[0150] Step 204: Determine whether the hooking component flies to the pickup range of the virtual prop.

[0151] The pickup range refers to the location of the virtual item or the associated valid area. When the hook component flies to the pickup range of the virtual item, step 207 is executed; when the hook component does not fly to the pickup range of the virtual item, step 205 is executed.

[0152] Step 205: Determine whether the hooking component has reached the maximum flight distance.

[0153] The maximum flight distance is the above-mentioned projection distance threshold. When the hooking component fails to hook any virtual props that can be picked up during the flight and reaches the maximum flight distance, step 206 is executed; otherwise, step 202 is executed.

[0154] Step 206: Present prompt information for prompting failure in picking up the virtual prop.

[0155] Here, the hook component cannot fly infinitely. When the hook component flies to the maximum flight distance but has not hooked the virtual prop, even if there is a virtual prop that can be picked up outside the maximum flight distance, it cannot exceed the maximum flight distance to pick up the virtual prop.

[0156] Step 207: Control the hooking component to hook the virtual prop.

[0157] Step 208: Present the hooked virtual prop in the prop backpack of the virtual object.

[0158] In actual application, the number of virtual props that the hook component can pick up during a flight can be limited. For example, only one virtual prop that can be picked up can be picked up at a time. When the hook component encounters a virtual prop that can be picked up, it directly hooks the virtual prop and returns. In this case, even if there are other virtual props that can be picked up behind the flight route, they cannot be picked up this time. Fig.12 As shown, Fig.12 A schematic diagram of picking up virtual props provided in the embodiment of the present application shows that the hooking component picks up the virtual prop M1 machine gun in the first flight, picks up the virtual prop "blood supply" in the second flight of the same route, and picks up the virtual prop M2 machine gun in the third flight of the same route. Of course, in actual applications, the hooking component can also be controlled to pick up multiple pickable virtual props during one flight, such as controlling the hooking component to pick up the three virtual props M1 machine gun, "blood supply", and M2 machine gun in one flight. The embodiment of the present application does not limit the number of virtual props that the hooking component can pick up at one time.

[0159] Through the above method, when the virtual object cannot directly reach out to pick up the virtual props far away, the hook prop, a projected prop, is used to assist the virtual object to remotely pick up the virtual props. That is, there is no need to control the virtual object to walk near the virtual props, but the virtual props are hooked by the hook prop and placed at the virtual object, and the virtual object is controlled to pick up the virtual props at the virtual object, and the picked up virtual props can be directly equipped or placed in the prop backpack according to actual conditions; in this way, the virtual props far away from the player are picked up remotely by the hook prop, which breaks through the limitations of distance and space, improves the efficiency of picking up virtual props, and at the same time, reduces the safety risk of being killed at any time faced by players in the process of walking out of hidden positions to pick up virtual props, and improves the safety of picking up virtual props.

[0160] The following is a description of an exemplary structure of a virtual item pickup device 465 implemented as a software module provided in an embodiment of the present application. In some embodiments, the storage Figure 2 The software modules in the virtual item picking device 465 in the memory 460 may include:

[0161] The object presentation module 4651 presents a virtual object holding a projection prop and a virtual prop that can be picked up in the interface of the virtual scene; the projection control module 4652 is used to respond to a projection instruction for the projection prop and control the projection prop to be projected along the target direction indicated by the projection instruction; the picking control module 4653 is used to control the virtual object to remotely pick up the virtual prop when the projection prop is projected into the pick-up range of the virtual prop.

[0162] In some embodiments, before controlling the projection prop to project along the target direction indicated by the projection instruction, the device also includes: an instruction receiving module, used to receive an aiming operation used to control the projection prop to aim along the target direction; in response to a release operation for the aiming operation, receiving a projection instruction for the projection prop.

[0163] In some embodiments, after controlling the projection prop to project along the target direction indicated by the projection instruction, the device further includes: an obstacle detection module, which is used to perform obstacle detection between the projection prop and the virtual prop during the projection of the projection prop to obtain a detection result;

[0164] The picking control module is further used to control the virtual object to remotely pick up the virtual prop when the detection result indicates that there is no obstacle between the projection prop and the virtual prop, and the projection prop is projected into the pickup range of the virtual prop; or, when the detection result indicates that there is a traversable obstacle between the projection prop and the virtual prop, control the projection prop to traverse the obstacle, and when the projection prop is projected into the pickup range of the virtual prop, control the virtual object to remotely pick up the virtual prop.

[0165] In some embodiments, the pickup control module is further used to control the virtual object to remotely pick up a target virtual prop when the number of the virtual props is at least two and the projected prop is projected within the pickup range of at least two of the virtual props; wherein the target virtual prop is the virtual prop that is closest to the virtual object among the at least two virtual props.

[0166] In some embodiments, the pickup control module is further used to display the at least two virtual props in different display styles when the types of the virtual props include at least two; when the target direction is the direction of the virtual prop of the target type and the projected prop is projected into the pickup range of the virtual prop of the target type, control the virtual object to remotely pick up the virtual prop of the target type.

[0167] In some embodiments, the pickup control module is further used to display a target type of virtual props in a first display style, and to display virtual props of other types among the at least two virtual props except the target type in a second display style; wherein the first display style is different from the second display style, and the first display style indicates that the pickup priority of the target type of virtual props is higher than the pickup priority of the other types of virtual props.

[0168] In some embodiments, after controlling the projection prop to be projected along the target direction indicated by the projection instruction, the device further includes: a picking prompt module, which is used to present a prompt message indicating that the virtual prop has failed to be picked up when the distance between the virtual prop and the virtual object is greater than a projection distance threshold.

[0169] In some embodiments, before controlling the virtual object to remotely pick up the virtual prop, the device also includes: a range determination module, used to determine the projection end point of the projection prop; when the projection end point is located at the location of the virtual prop or at the valid area associated with the virtual prop, it is determined that the projection prop is projected into the pickup range of the virtual prop.

[0170] In some embodiments, the picking control module is also used to obtain a first projection time when the projection prop is projected into the picking range of the virtual prop, and a second projection time when the other projection prop is projected into the picking range when the projection prop is projected into the picking range of the virtual prop and there are other projection props of other virtual objects in the virtual scene that are projected into the picking range of the virtual prop; when the first projection time is earlier than the second projection time, control the virtual object to remotely pick up the virtual prop.

[0171] In some embodiments, the picking control module is also used to present a sensing area when the picking range is a sensing area for the virtual prop to sense the projection prop; when the projection prop is projected to the sensing area and the virtual prop determines through sensing that the projection prop belongs to the virtual object, control the virtual object to remotely pick up the virtual prop.

[0172] In some embodiments, the picking control module is further used to obtain the distance between the projection end point of the projection prop and the virtual object, and the adsorption distance threshold corresponding to the projection prop when the projection prop is a virtual prop with an adsorption function; when the projection prop is projected into the pick-up range of the virtual prop and the distance between the projection end point of the projection prop and the virtual object is lower than the adsorption distance threshold, the projection prop is controlled to adsorb the virtual prop to the virtual object through the adsorption effect of the adsorption component in the projection prop, so that the virtual prop is in the prop backpack of the virtual object.

[0173] In some embodiments, the pickup control module is also used to determine the relative relationship between the sensing area and the pickup range in the process of controlling the projection of the projection prop when the projection prop has a sensing function and is associated with a sensing area; when the relative relationship indicates that there is an area overlap between the sensing area and the pickup range, the virtual prop is controlled to be placed at the virtual object through the sensing function of the projection prop, so that the virtual prop is in the prop backpack of the virtual object.

[0174] In some embodiments, the picking control module is also used to present a sensing area centered on the projection prop when the projection prop has a sensing function; when there are multiple virtual props in the sensing area, determine that the projection prop is projected into the picking range of the multiple virtual props, and control the virtual object to remotely pick up the multiple virtual props.

[0175] In some embodiments, the projection control module is also used to control the shooting prop to launch at least one projectile along the target direction in response to a projection instruction for the shooting prop when the projection prop is a shooting prop, and the projectile is used to shoot into the pickup range of the virtual prop; the pickup control module is also used to control the virtual object to remotely and automatically pick up the virtual prop so that the virtual prop is in the prop backpack of the virtual object.

[0176] In some embodiments, the projection control module is further used to control the hook component in the hook prop to move along the target direction in response to a projection instruction for the hook prop when the projection prop is a hook prop with a hook function; the picking control module is further used to control the hook component to hook the virtual prop to the virtual object so that the virtual prop is in the prop backpack of the virtual object.

[0177] In some embodiments, after controlling the projection prop to project along the target direction indicated by the projection instruction, the device also includes: a state control module, which is used to control the display state of the projection prop relative to the other virtual objects to be invisible when there are other virtual objects between the projection prop and the virtual prop during the projection process of the projection prop.

[0178] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned method for picking up virtual props in the embodiment of the present application.

[0179] The present application embodiment provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the virtual item picking method provided by the present application embodiment, for example, Figure 3 The method shown.

[0180] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.

[0181] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0182] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0183] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0184] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A method for picking up a virtual item, characterized in that: The method comprises: In the interface of the virtual scene, a virtual object holding a projected prop and a virtual prop that can be picked up are presented; In response to a projection instruction for the projection prop, controlling the projection prop to project along a target direction indicated by the projection instruction; When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop; When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop includes: When the number of the virtual props is at least two and the projected prop is projected within the pickup range of at least two virtual props, the virtual object is controlled to remotely pick up a target virtual prop, the target virtual prop being the virtual prop closest to the virtual object among the at least two virtual props; or When the types of the virtual props include at least two, the at least two virtual props are displayed in different display styles; when the target direction is the direction of the virtual prop of the target type and the projected prop is projected into the pick-up range of the virtual prop of the target type, the virtual object is controlled to remotely pick up the virtual prop of the target type.

2. The method according to claim 1, characterized in that Before controlling the projection prop to project along the target direction indicated by the projection instruction, the method further includes: receiving an aiming operation for controlling the projection prop to aim along the target direction; In response to the release operation for the aiming operation, a projection instruction for the projection item is received.

3. The method according to claim 1, characterized in that After controlling the projection prop to project along the target direction indicated by the projection instruction, the method further includes: During the projection process of the projection prop, obstacle detection is performed between the projection prop and the virtual prop to obtain a detection result; When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop includes: When the detection result indicates that there is no obstacle between the projected prop and the virtual prop, and the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop; or, When the detection result indicates that there is a traversable obstacle between the projection prop and the virtual prop, the projection prop is controlled to traverse the obstacle, and when the projection prop is projected into a pickup range of the virtual prop, the virtual object is controlled to remotely pick up the virtual prop.

4. The method according to claim 1, characterized in that After controlling the projection prop to project along the target direction indicated by the projection instruction, the method further includes: When the distance between the virtual item and the virtual object is greater than a projection distance threshold, prompt information for prompting a failure in picking up the virtual item is presented.

5. The method according to claim 1, characterized in that Before controlling the virtual object to remotely pick up the virtual prop, the method further includes: Determining the projection end point of the projection prop; When the projection end point is located at the location of the virtual prop or at the effective area associated with the virtual prop, it is determined that the projection prop is projected into the pickup range of the virtual prop.

6. The method according to claim 1, characterized in that The displaying of the at least two virtual props in different display styles includes: Displaying a target type of virtual props in a first display style, and displaying virtual props of other types of the at least two virtual props except the target type in a second display style; The first display style is different from the second display style, and the first display style indicates that the picking priority of the virtual props of the target type is higher than the picking priority of the virtual props of other types.

7. The method according to claim 1, characterized in that When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop includes: When the projection prop is projected into the pickup range of the virtual prop, and other projection props of other virtual objects in the virtual scene are projected into the pickup range of the virtual prop, obtaining a first projection time when the projection prop is projected into the pickup range, and a second projection time when the other projection prop is projected into the pickup range; When the first projection time is earlier than the second projection time, the virtual object is controlled to remotely pick up the virtual prop.

8. The method according to claim 1, characterized in that When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop includes: When the pick-up range is a sensing area of ​​the virtual prop used to sense the projection prop, presenting the sensing area; When the projection prop is projected to the sensing area and the virtual prop determines that the projection prop belongs to the virtual object through sensing, the virtual object is controlled to remotely pick up the virtual prop.

9. The method according to claim 1, characterized in that When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop includes: When the projection prop is a virtual prop with an adsorption function, obtaining the distance between the projection end point of the projection prop and the virtual object, and the adsorption distance threshold corresponding to the projection prop; When the projection prop is projected into the pickup range of the virtual prop and the distance between the projection end point of the projection prop and the virtual object is lower than the adsorption distance threshold, the projection prop is controlled to adsorb the virtual prop to the virtual object through the adsorption effect of the adsorption component in the projection prop, so that the virtual prop is in the prop backpack of the virtual object.

10. The method according to claim 1, characterized in that When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop includes: When the projection prop has a sensing function and is associated with a sensing area, in the process of controlling the projection of the projection prop, the relative relationship between the sensing area and the pickup range is determined; When the relative relationship indicates that there is an area overlap between the sensing area and the pickup range, the virtual prop is controlled to be placed at the virtual object through the sensing effect of the projection prop, so that the virtual prop is in the prop backpack of the virtual object.

11. The method according to claim 1, characterized in that When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop includes: When the projection prop has a sensing function, a sensing area centered on the projection prop is presented; When there are multiple virtual props in the sensing area, it is determined that the projected prop is projected into a pickup range of the multiple virtual props, and the virtual object is controlled to remotely pick up the multiple virtual props.

12. The method according to claim 1, characterized in that The step of controlling the projection prop to project along a target direction indicated by the projection instruction in response to the projection instruction includes: When the projection prop is a shooting prop, in response to a projection instruction for the shooting prop, the shooting prop is controlled to launch at least one projectile along the target direction, the projectile being used to shoot into a pickup range of the virtual prop; The controlling the virtual object to remotely pick up the virtual prop comprises: The virtual object is controlled to automatically pick up the virtual prop remotely, so that the virtual prop is in the prop backpack of the virtual object.

13. The method according to claim 1, characterized in that The step of controlling the projection prop to project along a target direction indicated by the projection instruction in response to the projection instruction includes: When the projection tool is a hooking tool with a hooking function, in response to a projection instruction for the hooking tool, a hooking component in the hooking tool is controlled to move along the target direction; The controlling the virtual object to remotely pick up the virtual prop comprises: The hooking component is controlled to hook the virtual prop to the virtual object, so that the virtual prop is in the prop backpack of the virtual object.

14. The method according to claim 1, wherein: After controlling the projection prop to project along the target direction indicated by the projection instruction, the method further includes: During the projection process of the projection prop, when there is another virtual object between the projection prop and the virtual prop, the projection prop is controlled to be in an invisible state relative to the other virtual object.

15. A virtual item picking device, characterized in that: The device comprises: An object presentation module, used to present a virtual object holding a projected prop and a virtual prop that can be picked up in the interface of a virtual scene; A projection control module, for responding to a projection instruction for the projection prop, controlling the projection prop to project along a target direction indicated by the projection instruction; A picking control module, used for controlling the virtual object to remotely pick up the virtual prop when the projected prop is projected into the pickable range of the virtual prop; When the projected prop is projected into the pickup range of the virtual prop, controlling the virtual object to remotely pick up the virtual prop includes: When the number of the virtual props is at least two and the projected prop is projected within the pickup range of at least two virtual props, the virtual object is controlled to remotely pick up a target virtual prop, the target virtual prop being the virtual prop closest to the virtual object among the at least two virtual props; or When the types of the virtual props include at least two, the at least two virtual props are displayed in different display styles; when the target direction is the direction of the virtual prop of the target type and the projected prop is projected into the pick-up range of the virtual prop of the target type, the virtual object is controlled to remotely pick up the virtual prop of the target type.

16. A terminal device, characterized in that: include: A memory for storing executable instructions; The processor is configured to implement the method for picking up a virtual item according to any one of claims 1 to 14 when executing the executable instructions stored in the memory.

17. A computer-readable storage medium, characterized in that: Executable instructions are stored, and when executed by a processor, the method for picking up a virtual item according to any one of claims 1 to 14 is implemented.

18. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method for picking up a virtual item according to any one of claims 1 to 14 is implemented.

Citation Information

Patent Citations

  • Virtual object control method and device, electronic equipment and storage medium

    CN110882545A

  • Prop using method and device in game and electronic equipment

    CN113559493A