CN112121432A - Control method, device and equipment of virtual prop and computer readable storage medium - Google Patents

Control method, device and equipment of virtual prop and computer readable storage medium Download PDF

Info

Publication number
CN112121432A
CN112121432A CN202011063383.9A CN202011063383A CN112121432A CN 112121432 A CN112121432 A CN 112121432A CN 202011063383 A CN202011063383 A CN 202011063383A CN 112121432 A CN112121432 A CN 112121432A
Authority
CN
China
Prior art keywords
virtual
target
prop
target virtual
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011063383.9A
Other languages
Chinese (zh)
Other versions
CN112121432B (en
Inventor
姚丽
刘智洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011063383.9A priority Critical patent/CN112121432B/en
Publication of CN112121432A publication Critical patent/CN112121432A/en
Application granted granted Critical
Publication of CN112121432B publication Critical patent/CN112121432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets

Abstract

The application provides a control method, a device, equipment and a computer readable storage medium of a virtual item; the method comprises the following steps: presenting a target virtual item in a picture of a virtual scene; responding to an operation instruction aiming at the target virtual prop, and displaying a visual field picture of a first virtual object in the target virtual prop, which corresponds to the outside of the target virtual prop; controlling the first virtual object to shoot by using the target virtual prop in response to a shooting instruction triggered based on the visual field picture; and presenting a process that a second virtual object moves the target virtual prop to change the position of the target virtual prop in the process that the first virtual object uses the target virtual prop to shoot. Through the application, the control efficiency of the target shooting prop can be improved.

Description

Control method, device and equipment of virtual prop and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for controlling a virtual item.
Background
In a virtual scene, different virtual props are usually set, such as shooting props, armed props, and the like. The shooting props in the related art are usually completed by a single person, that is, one person needs to control the movement of the shooting props and also needs to control the shooting of the shooting props, so that the operation is complex, and the user experience is reduced.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for controlling a virtual prop and a computer-readable storage medium, which can improve the control efficiency of a target shooting prop.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a control method of a virtual prop, which comprises the following steps:
presenting a target virtual item in a picture of a virtual scene;
responding to an operation instruction aiming at the target virtual prop, and displaying a visual field picture of a first virtual object inside the target virtual prop, which corresponds to the outside of the target virtual prop;
controlling the first virtual object to shoot by using the target virtual prop in response to a shooting instruction triggered based on the visual field picture;
and presenting a process that a second virtual object moves the target virtual prop to change the position of the target virtual prop in the process that the first virtual object uses the target virtual prop to shoot.
The embodiment of the application provides a controlling means of virtual stage property, includes:
the first presentation module is used for presenting the target virtual item in the picture of the virtual scene;
the display module is used for responding to an operation instruction aiming at the target virtual prop and displaying a visual field picture of a virtual object in the target virtual prop, which corresponds to the outside of the target virtual prop;
the control module is used for responding to a shooting instruction triggered based on the visual field picture and controlling the first virtual object to shoot by using the target virtual prop;
and the second presentation module is used for presenting a process that the second virtual object moves the target virtual prop so as to change the position of the target virtual prop in the process that the first virtual object uses the target virtual prop to shoot.
In the above scheme, the first presentation module is further configured to present an operation control of the target virtual item in a picture of the virtual scene;
and when the operation control is in an activated state, responding to the trigger operation aiming at the operation control, and presenting a target virtual item in the picture of the virtual scene.
In the above scheme, the first presentation module is further configured to present a score obtained by shooting a target object in the virtual scene by the virtual object;
when the score reaches a score threshold value, presenting an operation control of the target virtual prop by adopting a target style;
wherein the target style is used for representing that an operation control of the target virtual prop is in the activated state.
In the above scheme, the first presentation module is further configured to present the target virtual item in a first presentation style in a screen of a virtual scene when another object exists in a target area including the target virtual item;
when other objects do not exist in the target area containing the target virtual prop, presenting the target virtual prop in a second presentation style in the picture of the virtual scene;
wherein the first presentation style is different from the second presentation style.
In the above scheme, the control module is further configured to present a placement control of the target virtual item in a picture of the virtual scene;
and receiving a trigger operation aiming at the placement control, and fixing the target virtual prop at a target position in the virtual scene when the target virtual prop is at the target position.
In the foregoing scheme, the display module is further configured to present a control of the target virtual item when a distance between the first virtual object and the target virtual item is smaller than a distance threshold;
and responding to the triggering operation of the control, and triggering an operation instruction aiming at the target virtual prop.
In the above scheme, the control module is further configured to synchronously adjust the displayed view picture in the process that the second virtual object moves the target virtual item.
In the above scheme, the control module is further configured to present a departure control of the target virtual item;
in response to the triggering operation for the departure control, controlling the virtual object to depart from the interior of the target virtual item, and
and displaying the visual field picture of the virtual object when the virtual object is positioned outside the target virtual prop.
In the above scheme, the first presentation module is further configured to present a usage duration of the target virtual item;
and when the use time of the target virtual prop is up, canceling the presentation of the target virtual prop.
In the above scheme, the target virtual prop includes a shooting component for shooting and a virtual shield, and the virtual shield is located around the shooting component;
the control module is further configured to block, by the virtual shield, an attack of the virtual bullet on the virtual object when the virtual bullet fired on the virtual object is fired on the virtual shield.
In the above scheme, the control module is further configured to present a life value of the virtual shield;
reducing the life value of the virtual shield according to the damage of the virtual bullet to the virtual shield in the process of blocking the attack of the virtual bullet to the virtual prop through the virtual prop;
and when the life value of the virtual shield is not higher than the life value threshold, presenting prompt information of virtual shield failure.
In the above scheme, the second presentation module is further configured to present the remaining number of virtual bullets of the target virtual item and the number of killed target objects;
and when the number of the killed target objects reaches the number threshold value, performing virtual bullet supplement on the target virtual prop, and updating the residual number of the presented virtual bullets.
An embodiment of the present application provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the control method of the virtual prop provided by the embodiment of the application when the executable instruction stored in the memory is executed.
The embodiment of the present application provides a computer-readable storage medium, which stores executable instructions for causing a processor to execute the computer-readable storage medium, so as to implement the control method for the virtual prop provided in the embodiment of the present application.
The embodiment of the application has the following beneficial effects:
the method comprises the steps that an operation instruction for the target virtual item is responded, and a view picture of a first virtual object in the target virtual item, which corresponds to the outside of the target virtual item, is displayed; controlling the first virtual object to shoot by using the target virtual prop in response to a shooting instruction triggered based on the visual field picture; presenting a process that a second virtual object moves the target virtual item to change the position of the target virtual item in the process that the first virtual object uses the target virtual item to shoot; therefore, when the first virtual object controls the target virtual prop to shoot, the second virtual object moves the target virtual prop, the shooting direction and the shooting position of the target virtual prop can be adjusted, and the control of the target virtual prop is completed through cooperation of the two virtual objects, so that the control efficiency is improved, and the operation of a user is simplified.
Drawings
Fig. 1 is a schematic view of an optional implementation scenario of a control method for a virtual item provided in an embodiment of the present application;
fig. 2 is an alternative schematic structural diagram of an electronic device 500 provided in an embodiment of the present application;
fig. 3 is an optional schematic flow chart of a method for controlling a virtual prop according to an embodiment of the present application;
FIG. 4 is a schematic view of a display interface of a virtual item provided in an embodiment of the present application;
FIG. 5 is a schematic view of a display interface of a virtual item provided in an embodiment of the present application;
FIG. 6 is a schematic diagram of a virtual scene provided in an embodiment of the present application;
7A-7B are interface schematic diagrams of presentation of a target virtual prop provided by embodiments of the present application;
FIG. 8 is an interface schematic diagram of presentation of a target virtual prop provided by an embodiment of the present application;
FIG. 9 is a schematic view of a placement interface for a target virtual item provided in an embodiment of the present application;
FIG. 10 is a schematic interface diagram of presentation of a target virtual prop according to an embodiment of the present application;
FIG. 11 is an interface schematic diagram of presentation of a target virtual prop provided by an embodiment of the present application;
FIG. 12 is a schematic interface diagram of a visual field screen presentation provided in an embodiment of the present application;
FIG. 13 is an interface schematic diagram of a control presentation provided by an embodiment of the present application;
FIG. 14 is a schematic view of a target virtual prop provided by an embodiment of the present application;
FIG. 15 is a schematic view of a visual field provided in an embodiment of the present application;
FIG. 16 is a schematic view of a target virtual prop provided by an embodiment of the present application;
fig. 17 is a schematic view of a visual field screen provided in an embodiment of the present application;
FIG. 18 is a schematic representation of a presentation interface of a target virtual prop provided by an embodiment of the present application;
fig. 19 is an alternative flow chart of a control method of a virtual item provided in the embodiment of the present application;
fig. 20 is a schematic flowchart of a method for controlling a virtual prop according to an embodiment of the present application;
FIG. 21 is a schematic diagram of a design interface for a target virtual prop provided herein;
FIG. 22 is a schematic view of an operation interface provided in an embodiment of the present application;
fig. 23 is a schematic structural diagram of a control device of a virtual item provided in the embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is 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.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Before further detailed description of the embodiments of the present application, terms and expressions referred to in the embodiments of the present application will be described, and the terms and expressions referred to in the embodiments of the present application will be used for the following explanation.
1) The client, an application program running in the terminal for providing various services, such as a video playing client, a game client, etc.
2) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
3) The virtual scene is a virtual scene displayed (or provided) when an application program runs on the terminal. The virtual scene may be a simulation environment of a real world, a semi-simulation semi-fictional virtual environment, or a pure fictional virtual environment. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene, and the dimension of the virtual scene is not limited in the embodiment of the present application. For example, a virtual scene may include sky, land, ocean, etc., the land may include environmental elements such as deserts, cities, etc., and a user may control a virtual object to move in the virtual scene.
4) Virtual objects, the appearance of various people and objects in the virtual scene that can interact, or movable objects in the virtual scene. The movable object can be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil drums, walls, stones, etc. displayed in the virtual scene. The virtual object may be an avatar in the virtual scene that is virtual to represent the user. The virtual scene may include a plurality of virtual objects, each virtual object having its own shape and volume in the virtual scene and occupying a portion of the space in the virtual scene.
Alternatively, the virtual object may be a user Character controlled by an operation on the client, an Artificial Intelligence (AI) set in the virtual scene fight by training, or a Non-user Character (NPC) set in the virtual scene interaction. Alternatively, the virtual object may be a virtual character that is confrontationally interacted with in a virtual scene. Optionally, the number of virtual objects participating in the interaction in the virtual scene may be preset, or may be dynamically determined according to the number of clients participating in the interaction.
Taking a shooting game as an example, the user may control a virtual object to freely fall, glide, open a parachute to fall, run, jump, climb, bend over, and move on the land, or control a virtual object to swim, float, or dive in the sea, or the like, but the user may also control a virtual object to move in the virtual scene by riding a virtual vehicle, for example, the virtual vehicle may be a virtual car, a virtual aircraft, a virtual yacht, and the like, and the above-mentioned scenes are merely exemplified, and the present invention is not limited to this. The user can also control the virtual object to carry out antagonistic interaction with other virtual objects through the virtual prop, for example, the virtual prop can be a throwing type virtual prop such as a grenade, a beaming grenade and a viscous grenade, and can also be a shooting type virtual prop such as a machine gun, a pistol and a rifle, and the type of the virtual prop is not specifically limited in the application.
5) Scene data, representing various features that objects in the virtual scene are exposed to during the interaction, may include, for example, the location of the objects in the virtual scene. Of course, different types of features may be included depending on the type of virtual scene; for example, in a virtual scene of a game, scene data may include a time required to wait for various functions provided in the virtual scene (depending on the number of times the same function can be used within a certain time), and attribute values indicating various states of a game character, for example, a life value (also referred to as a red amount) and a magic value (also referred to as a blue amount), and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of an optional implementation scenario of the method for controlling a virtual item provided in this embodiment, in order to support an exemplary application, terminals (exemplary terminals 400-1 and 400-2 are shown) are connected to a server 200 through a network 300, where the network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is implemented using a wireless link.
In some embodiments, the server 200 may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the embodiment of the present application is not limited.
In actual implementation, the terminal is installed and runs with an application program supporting a virtual scene. The application program may be any one of a First-Person shooter game (FPS), a third-Person shooter game, a Multiplayer Online Battle Arena game (MOBA), a virtual reality application program, a three-dimensional map program, a military simulation program, or a Multiplayer gunfight type survival game. The user uses the terminal 400 to operate virtual objects located in a virtual scene for activities including, but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking, shooting, attacking, throwing. Illustratively, the virtual object is a virtual character, such as a simulated character or an animated character.
In an exemplary scenario, a first virtual object controlled by the terminal 400-1 and a second virtual object controlled by the other terminal 400-2 are in the same virtual scenario, and the first virtual object can interact with the second virtual object in the virtual scenario. In some embodiments, the first virtual object and the second virtual object may be in a union relationship, for example, the first virtual object and the second virtual object belong to the same team and organization, a virtual object in an adversarial relationship with the first virtual object also exists in the virtual scene, the virtual objects in the adversarial relationship may be in a mutual shooting relationship, and the antagonistic interaction may be performed on the land.
In an exemplary scenario, when a first virtual object controlled by the terminal 400-1 and a second virtual object controlled by the terminal 400-2 attack other virtual objects together, a picture of the virtual scene observed from the virtual scene at a first virtual object view angle is presented on the terminal, and a target virtual prop is presented in the picture of the virtual scene; responding to an operation instruction aiming at the target virtual prop, and displaying a visual field picture of a first virtual object in the target virtual prop, which corresponds to the outside of the target virtual prop; responding to a shooting instruction triggered based on a visual field picture, and controlling the first virtual object to shoot by using the target virtual prop; and presenting a process that a second virtual object moves the target virtual prop to change the position of the target virtual prop in the process that the first virtual object uses the target virtual prop to shoot.
The picture of the virtual scene comprises an object interaction environment, an interaction object and the like, and is obtained based on the virtual scene data. In actual implementation, the terminal 400 presents a first virtual object in a screen of a virtual scene; when the terminal 400 receives an operation instruction for the target virtual item, controlling the first virtual object to enter the target virtual item, and displaying a view picture of the first virtual object inside the target virtual item, which corresponds to the outside of the target virtual item; responding to a shooting instruction triggered based on a visual field picture, and controlling the first virtual object to shoot by using the target virtual prop; and presenting a process that a second virtual object moves the target virtual prop to change the position of the target virtual prop in the process that the first virtual object uses the target virtual prop to shoot.
In an exemplary scene, in a military virtual simulation application, virtual scene technology is adopted to enable a trainee to visually and aurally experience a battlefield environment, to be familiar with the environmental characteristics of an area to be battled, to interact with objects in the virtual environment through necessary equipment, and a virtual battlefield environment implementation method can create a three-dimensional battlefield environment with a dangerous image ring life and a near reality through background generation and image synthesis through a corresponding three-dimensional battlefield environment graphic image library comprising a battlefield background, a battlefield scene, various weaponry, fighters and the like.
In actual implementation, when a terminal controls a first virtual object (such as a simulated fighter) to attack a city A, a picture of a virtual scene obtained by observing the virtual scene at a first virtual object view angle is presented on the terminal, and a target virtual prop is presented in the picture of the virtual scene; responding to an operation instruction aiming at the target virtual prop, and displaying a visual field picture of a virtual object in the target virtual prop, which corresponds to the outside of the target virtual prop; controlling the first virtual object to shoot by using the target virtual prop in response to a shooting instruction triggered based on the visual field picture; and presenting a process that a second virtual object moves the target virtual prop to change the position of the target virtual prop in the process that the first virtual object uses the target virtual prop to shoot.
Referring to fig. 2, fig. 2 is an optional structural schematic diagram of an electronic device 500 provided in the embodiment of the present application, in an actual application, the electronic device 500 may be the terminal 400 or the server 200 in fig. 1, and a computer device for implementing the method for controlling a virtual item in the embodiment of the present application is described by taking the electronic device as the terminal 400 shown in fig. 1 as an example. The electronic device 500 shown in fig. 2 includes: at least one processor 510, memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together by a bus system 540. It is understood that the bus system 540 is used to enable communications among the components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 540 in fig. 2.
The Processor 510 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 530 includes one or more output devices 531 enabling presentation of media content, including one or more speakers and/or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components to facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 550 optionally includes one or more storage devices physically located remote from processor 510.
The memory 550 may comprise volatile memory or nonvolatile memory, and may also comprise both volatile and nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), and the volatile memory may be a Random Access Memory (RAM). The memory 550 described in embodiments herein is intended to comprise any suitable type of memory.
In some embodiments, memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 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;
a network communication module 552 for communicating to other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
an input processing module 554 to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.
In some embodiments, the control device of the virtual prop provided in this embodiment may be implemented in a software manner, and fig. 2 illustrates a control device 555 of the virtual prop stored in a memory 550, which may be software in the form of programs and plug-ins, and includes the following software modules: the first presentation module 5551, the presentation module 5552, the control module 5553 and the second presentation module 5554 are logical and thus can be arbitrarily combined or further split depending on the implemented functions.
The functions of the respective modules will be explained below.
In other embodiments, the control Device of the virtual prop provided in this embodiment may be implemented in hardware, and as an example, the control Device of the virtual prop provided in this embodiment may be a processor in the form of a hardware decoding processor, which is programmed to execute the control method of the virtual prop provided in this embodiment, for example, the processor in the form of the hardware decoding processor may employ 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 elements.
Next, a description is given of a control method of the virtual item provided in this embodiment, where in actual implementation, the control method of the virtual item provided in this embodiment may be implemented by a server or a terminal alone, or may be implemented by a server and a terminal in a cooperation manner.
Referring to fig. 3, fig. 3 is an optional flowchart of a method for controlling a virtual item provided in the embodiment of the present application, and the steps shown in fig. 3 will be described.
Step 301: and the terminal presents the target virtual item in the picture of the virtual scene.
In practical applications, an application program supporting a virtual scene is installed on the terminal. The application program can be any one of a first person shooting game, a third person shooting game, a multi-person online tactical competitive game, a virtual reality application program, a three-dimensional map program, a military simulation program or a multi-person gunfight survival game. The user can use the terminal to operate the virtual object located in the virtual scene to perform activities, including but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking, shooting, attacking, throwing. Illustratively, the virtual object is a virtual character, such as a simulated character or an animated character.
When a player opens an application program on a terminal, and the terminal runs the application program, the terminal presents a picture of a virtual scene, wherein the picture of the virtual scene is obtained by observing the virtual scene at a first person object view angle or a third person object view angle, the picture of the virtual scene comprises an interactive object and an object interactive environment, and if the first virtual object and the second virtual object which are in hostile relationship with each other interact in the virtual scene.
The target virtual prop is a virtual shooting prop and is used for shooting a target object. In actual implementation, the target virtual prop can be presented at the hand position of the virtual object, that is, the target virtual prop is held by the virtual object; the virtual item status bar can also be displayed in the picture of the virtual scene, and the target virtual item is presented in the virtual item status bar; the target virtual items may also be presented in other ways.
In some embodiments, prior to presenting the target virtual item in the screen of the virtual scene, the target virtual item may also be determined by:
presenting a selection interface comprising at least one virtual item in a screen of a virtual scene; and in response to the selection operation of the virtual item triggered based on the selection interface, determining the selected virtual item as an operation control of the target virtual item.
Here, before the terminal presents the picture of the virtual scene or in the process of presenting the picture of the virtual scene, the terminal may present a selection interface for selecting the item, where the selection interface includes at least one virtual item, where the virtual item may be presented in the form of an operation control, where the operation control may be an icon corresponding to the virtual item or a key corresponding to the virtual item, and the selection interface may be a display interface occupying the entire terminal or a partial display interface occupying the entire display interface of the terminal, and for example, the selection interface may be suspended on an object interaction interface. When the player triggers an operation control of the target virtual item in the selection interface, the target virtual item can be presented in the picture of the virtual scene.
In actual implementation, when receiving a selection operation of a virtual item triggered based on a selection interface, the terminal displays the selected virtual item by adopting a display style different from other virtual items, for example, highlights the selected virtual item, and simultaneously presents a determined function item corresponding to the selected virtual item; and when the user triggers the determination function item, the terminal determines the selected virtual item as a target virtual item. Here, while highlighting the selected virtual item, an introduction to the target virtual item may also be presented.
Referring to fig. 4, fig. 4 is a schematic view of a display interface of a virtual item provided in this embodiment of the application, where when a user triggers an operation control 402 of the virtual item on a selection interface 401 of the virtual item shown in fig. 4, the selected operation control 402 is highlighted, and introduction information 403 of the virtual item corresponding to the operation control 402 is presented; when the user clicks the determination function item 404, the terminal determines the virtual item as a target virtual item, and displays an equipped prompt message to inform the user that the virtual item has been used as a target virtual item.
In some embodiments, the target virtual prop may be presented by: presenting an operation control of the target virtual prop in a picture of the virtual scene; and when the operation control is in an activated state, responding to the trigger operation aiming at the operation control, and presenting a target virtual item in the picture of the virtual scene.
In actual implementation, the operation control of the target virtual item is unavailable by default, that is, the target virtual item is in an inactivated state, and the target virtual item can be used only when the operation control of the target virtual item is in an activated state.
Here, when the target virtual item is in an activated state, the user may click on an operation control of the target virtual item, so that the virtual object equips the target virtual item. It should be noted that the triggering operation for the operation control is not limited to clicking, and may also be long-pressing, double-clicking, sliding, and the like, and is not limited herein.
Referring to fig. 5, fig. 5 is a schematic view of a display interface of a virtual item provided in the embodiment of the present application, where when an operation control in a picture of a virtual scene is in an activated state, a user clicks the operation control, and switches a virtual item 501 held by a virtual character in the picture of the virtual scene to a target virtual item 502.
In some embodiments, before presenting the target virtual item in the screen of the virtual scene, the terminal may present a score obtained by shooting the target object in the virtual scene; when the score reaches a score threshold value, presenting an operation control of the target virtual prop by adopting a target style; and the target style is used for representing that the operation control of the target virtual prop is in an activated state.
In practical implementation, the score obtained by shooting the target object may be the number of target objects killed by the virtual object, or may be a task score obtained by shooting the target object by the virtual object; but may be a resource value of a virtual resource acquired by shooting the target object.
For example, when the number of the other virtual objects killed by the virtual object with the interaction achievement is 20 and the number threshold is 15, the operation control of the target virtual item may be activated, that is, the target virtual item is in the available state, and the terminal may control the virtual object to use the target virtual item.
For example, referring to fig. 6, fig. 6 is a schematic view of a screen of a virtual scene provided in an embodiment of the present application, where a corresponding score can be obtained when a virtual object kills one target object, a doubled score can be obtained when the virtual object kills multiple target objects continuously, and the score obtained in the graph 601 is a score obtained, that is, a score obtained by designing the target object; when the obtained score reaches the achievement threshold value, the operation control 602 of the target virtual object is changed from grey to highlight so as to represent that the operation control of the target virtual item is in an activated state.
In some embodiments, the target virtual prop may be presented by:
when other objects exist in a target area containing the target virtual prop, presenting the target virtual prop in a first presentation style in a picture of a virtual scene; when other objects do not exist in the target area containing the target virtual prop, presenting the target virtual prop in a second presentation style in the picture of the virtual scene; wherein the first presentation style is different from the second presentation style.
In actual implementation, when other objects exist in the target area containing the target virtual prop, the target virtual prop cannot be placed at the current position; in contrast, when other objects exist in the target area containing the target virtual item, it indicates that the target virtual item cannot be placed at the current position. And representing the target virtual prop to be in a placeable state by adopting the second presentation style.
Referring to fig. 7A-7B, fig. 7A-7B are schematic interface diagrams of presentation of a target virtual item provided in this application embodiment, no other object exists in a target area including the target virtual item in fig. 7A, and a wall exists in the target area including the target virtual item in fig. 7B, that is, the target virtual item in fig. 7A is in a placeable state, and the target virtual item in fig. 7B is in a non-placeable state, so that a presentation style of the target virtual item in fig. 7A is different from a presentation style of the target virtual item in fig. 7B.
In some embodiments, the terminal may determine a rectangular solid region containing the target virtual prop, determine that the target virtual prop cannot be placed at the current position when the rectangular solid region intersects with other objects, and present the target virtual prop in a first presentation style in a picture of a virtual scene; when the cuboid region is not intersected with other objects, the target virtual prop is determined to be placed at the current position, and the target virtual prop is presented in the picture of the virtual scene in a second presentation style.
In actual implementation, a cuboid region containing the target virtual prop is set, the picture of each frame of virtual scene is detected, and when the cuboid region is detected to be crossed with other objects, the target virtual prop is presented in the picture of the virtual scene in a first presentation mode; correspondingly, when the cuboid region is detected not to be crossed with other objects, the target virtual prop is presented in the picture of the virtual scene in the first presentation mode.
Referring to fig. 8, fig. 8 is an interface schematic diagram for presenting a target virtual item provided in the embodiment of the present application, and a rectangular area 802 including the target virtual item 801 is determined, as can be seen, the rectangular area 802 intersects with a wall, that is, the target virtual item cannot be placed at the current position, at this time, the target virtual item may be presented in red (a first presentation style) to prompt that the target virtual item cannot be placed at the current position of a user.
In some embodiments, before the view picture outside the target virtual item corresponding to the first virtual object inside the target virtual item is displayed, the terminal responds to the position adjustment instruction for the target virtual item, and fixes the target virtual item at a target position indicated by the position adjustment instruction in the virtual scene.
In actual implementation, the target virtual prop needs to be fixed at a certain position before being used for shooting. When the target virtual prop is just presented in the picture of the virtual scene, the target virtual prop is in a pre-placement state, and the user needs to trigger the position adjustment instruction of the target virtual prop and fix the target virtual prop in the target position indicated by the position adjustment instruction in the virtual scene, so that the user can further control the shooting of the target virtual prop.
In some embodiments, the terminal may further present, in a screen of the virtual scene, a placement control of the target virtual item; and receiving a trigger operation aiming at the placement control, and fixing the target virtual prop at a target position in the virtual scene when the target virtual prop is at the target position.
In actual implementation, the terminal may receive a movement instruction triggered by the user, control the movement of the target virtual item, and when the target virtual item is moved to a position where the user wants to place the target virtual item, execute a triggering operation for the placement control to control the first virtual object to fix the target virtual item at the current position.
Here, the position adjustment instruction for the target virtual item may be triggered only when the target virtual item is in a placeable state, that is, when the target virtual item is at a position where the target virtual item cannot be placed, even if the user performs a triggering operation for the placement control, the position adjustment instruction for the target virtual item cannot be triggered.
Referring to fig. 9, fig. 9 is a schematic view of a placement interface of a target virtual item provided in this embodiment of the present application, where a placement control 901 is presented in a screen of a virtual scene, and when a trigger operation for the placement control is received, a virtual object is controlled to fix the target virtual item at a position where the current placement control is located. Here, when a trigger operation for placing a control is received, the position where the target virtual prop is located is the target position.
In some embodiments, the target virtual item may be fixed at the target position indicated by the position adjustment instruction in the virtual scene by: and presenting a virtual fixed support, and fixing the target virtual prop at a target position indicated by the position adjusting instruction in the virtual scene through the virtual fixed support.
In actual implementation, the target virtual prop is fixed by a virtual fixing support, such as a triangle fixing support, see fig. 10, where fig. 10 is an interface schematic diagram presented by the target virtual prop in the embodiment of the present application, and the target virtual prop 1001 is fixed at a target position by a triangle fixing support 1002.
In some embodiments, after the target virtual item is fixed at a target position indicated by the position adjustment instruction in the virtual scene, the terminal may further present a position adjustment control of the target virtual item; controlling the virtual object to hold the target virtual prop in response to a triggering operation for the position adjusting control; responding to a movement instruction aiming at the target virtual prop, and displaying the process that the virtual object holds the target virtual prop to move according to the movement instruction.
In actual implementation, after the target virtual prop is fixed at the target position indicated by the position adjustment instruction in the virtual scene, the position of the fixed target virtual prop can be adjusted, that is, the virtual object is controlled to take up the target virtual prop, so that the virtual object holds the target virtual prop; and then, controlling the virtual object to hold the target virtual prop to move through an instruction aiming at the target virtual prop, namely, the virtual object and the target virtual prop move together, and displaying the process that the virtual object holds the target virtual prop to move.
Here, when the virtual object takes up the target virtual item, the target virtual item is in a pre-placement state, and when the virtual object is controlled to move the target virtual item to a position where the user wants to place the target virtual item, a position adjustment instruction of the target virtual item can be triggered to fix the target virtual item to a corresponding position in a virtual scene.
For example, referring to fig. 11, fig. 11 is an interface schematic diagram of presentation of a target virtual item provided in this embodiment of the present application, when the target virtual item has been fixed at a target position, a position adjustment control 1101 is presented in a screen of a virtual scene, and when a user clicks the position adjustment control 1101, a virtual object is controlled to hold the target virtual item; at this time, the virtual object holding target virtual prop can be controlled to move.
Step 302: and responding to an operation instruction aiming at the target virtual item, and displaying a visual field picture of the first virtual object in the target virtual item, which corresponds to the outside of the target virtual item.
Here, the first virtual object is a virtual object currently controlled by the terminal. In actual implementation, when an operation instruction for the target virtual item is received, the first virtual object is controlled to enter the inside of the target virtual item, and a picture observed by the virtual object in the inside of the target virtual item, that is, a view picture outside the target virtual item, observed by the first virtual object from the inside of the target virtual item, is displayed.
The control of the first virtual object to enter the interior of the target virtual item means that the first virtual object and the target virtual item are integrated, that is, the target virtual item is mounted on a node of the first virtual object hand, so that the first virtual object can operate the target virtual item, for example, the target virtual item is controlled to shoot.
Here, while the view screen outside the target virtual item, which is observed by the virtual object from inside the target virtual item, is displayed, an internal screen of the target virtual item may also be displayed, see fig. 12, where fig. 12 is an interface schematic diagram presented by the view screen provided in this application embodiment, and when an operation instruction for the target virtual item is received, an internal screen 1201 of the target virtual item and a view screen 1202 outside the target virtual item, which is corresponding to the virtual object inside the target virtual item, are displayed.
In some embodiments, when the distance between the position of the first virtual object and the target position is less than the distance threshold, presenting a control of the target virtual prop; and responding to the triggering operation of the control, and triggering an operation instruction for the target virtual prop.
In actual implementation, the target virtual prop may be a target position placed in a virtual scene, the terminal may control the first virtual object to move to the target virtual prop, in the process of moving the virtual object, the distance between the first virtual object and the target virtual prop is monitored in real time, and only when the distance between the first virtual object and the target virtual prop is smaller than a distance threshold, that is, when the first virtual object is located near the target virtual prop, the control of the target virtual prop is presented, so that a user may trigger an operation instruction for the target virtual prop by triggering the control.
The terminal monitors the position of the first virtual object in real time, obtains the distance between the position of the first virtual object and the target position, and presents a control of the target virtual prop when the first virtual object moves to the position, the distance between the first virtual object and the target position is smaller than a distance threshold value, and the first virtual object is considered to be located near the target virtual prop; and when the first virtual object moves to a position where the distance between the first virtual object and the target position is greater than the distance threshold value, the first virtual object is not considered to be near the target virtual prop, and the control of the target virtual prop is cancelled.
For example, fig. 13 is an interface schematic diagram presented by a control provided in the embodiment of the present application, referring to fig. 13, when a virtual object is farther from a target virtual prop, the control is not presented; when the virtual object moves near the target virtual item, a control 1301 of the target virtual item is presented.
In some embodiments, at least one collision box is mounted on the target virtual item, and when the virtual object collides with the collision box on the target virtual item, the virtual object is considered to be in the vicinity of the target virtual item, and the control of the target virtual item is presented. Referring to fig. 14, fig. 14 is a schematic view of a target virtual item provided in this application, where a plurality of collision boxes are mounted on the target virtual item.
Step 303: and controlling the first virtual object to shoot by using the target virtual prop in response to a shooting instruction triggered based on the visual field picture.
Here, the shooting instruction may be generated by triggering a shooting control by a user, where the shooting control may be a firing button, and the triggering mode for the shooting control may be at least one of clicking, double-clicking, long-pressing, and sliding; the firing instructions may also be generated by recognizing a user's voice instructions or limb movements.
In actual implementation, in the process of controlling the first virtual object to shoot by using the target virtual prop, the terminal acquires a multi-frame image of the first virtual object to shoot by using the target virtual prop, and renders the acquired multi-frame image so as to display a dynamic process of shooting by using the target virtual prop in the graphical interface.
Step 304: and in the process that the first virtual object uses the target virtual prop to shoot, presenting the second virtual object to move the target virtual prop so as to change the position of the target virtual prop.
In actual implementation, in the process of shooting the target virtual prop, a user of the second virtual object is controlled, and a moving instruction for the target virtual prop can be triggered through a corresponding terminal to control the second virtual object to move the target virtual prop; and in the process of moving the target virtual prop by the second virtual prop object, controlling the terminal of the first virtual object to present the target virtual prop moved by the second virtual prop so as to change the position of the target virtual prop.
The movement instruction for the target virtual item may be generated by a user triggering a sliding wheel disc, or may be generated by a user sliding a screen, where a generation manner of the movement instruction is not limited.
In some embodiments, the terminal synchronously adjusts the displayed view picture in the process of moving the target virtual item by the second virtual object.
Here, when the second virtual object moves the target virtual item, the position of the target virtual item changes accordingly, and a view screen outside the target virtual item, which is observed by the first virtual object from inside the target virtual item, also changes.
As an example, referring to fig. 15, fig. 15 is a schematic view of a view screen outside a target virtual item, where fig. 15 shows a view screen outside the target virtual item, where a first virtual object is observed from inside the target virtual item, where the first virtual object controls the target virtual item to shoot inside the target virtual item, and at the same time, a second virtual object 1501 is located outside the target virtual item to control the target virtual item to move.
Here, when the second virtual object moves the target virtual item, the target virtual item is actually mounted on the node of the second virtual object hand, so that the virtual object can push the target virtual item or rotate the target virtual item. Referring to fig. 16, fig. 16 is a schematic diagram of a target virtual prop provided in this embodiment of the application, and it can be known from code 1601 that the target virtual prop is mounted on a node of a virtual object hand.
In some embodiments, the terminal may also present a departure control for the target virtual item; and responding to the triggering operation aiming at the departure control, controlling the virtual object to depart from the inside of the target virtual prop, and displaying a visual field picture when the virtual object is positioned outside the target virtual prop.
In actual implementation, when the virtual object is located inside the target virtual prop, a departure control can be presented, when a user clicks the departure control, the virtual object is controlled to depart from the target virtual prop, and as the virtual object moves from the inside of the target virtual prop to the outside of the target virtual prop, a corresponding view picture of the virtual object is changed, and a picture displayed here is switched to the view picture when the virtual object is located outside the target virtual prop from the view picture when the virtual object is located inside the target virtual prop.
Fig. 17 is a schematic view of a view screen provided in the embodiment of the present application, referring to fig. 17, the displayed screen includes a view screen when the virtual object is inside the target virtual item and a departure control 1701, and when the user clicks the departure control, the displayed screen includes a view screen when the virtual object is outside the target virtual item, and the virtual item held by the virtual object is switched.
In some embodiments, the terminal may also present the usage duration of the target virtual item; and when the use time of the target virtual prop is up, canceling the presentation of the target virtual prop.
In actual implementation, the target virtual prop can only be used within a fixed time duration, that is, after the target virtual prop is presented, the use time duration of the target virtual prop is timed, and when the use time duration of the target virtual prop reaches the available use time duration, the presentation of the target virtual prop is automatically cancelled.
Fig. 18 is a schematic view of a presentation interface of a target virtual item provided in the embodiment of the present application, and referring to fig. 18, in a screen of a virtual scene, a usage duration of the target virtual item is presented in a countdown form, and when the countdown reaches zero, the presentation of the target virtual item is cancelled.
In some embodiments, the target virtual prop comprises a firing component for firing and a virtual shield, the virtual shield being located around the firing component; when a virtual bullet fired at the first virtual object is fired to the virtual shield, an attack of the virtual bullet against the first virtual object is blocked by the virtual shield.
Referring to fig. 10, a target virtual prop 1001 can be seen, comprising a shooting assembly 1001A and a virtual shield 1001B, the virtual shield 1001B being located around the shooting assembly. In practical implementation, the virtual shield is used to block enemy attacks, that is, if the route of a virtual bullet shot by an enemy against a virtual object passes through the virtual interaction, the virtual interaction can block the attack of the virtual bullet on the virtual object.
It should be noted that, when the target virtual item is held by the first virtual object or the first virtual object is located inside the target virtual item, the virtual shield can block the attack of the virtual bullet on the first virtual object.
In some embodiments, presenting a shield value of the virtual shield; reducing a shield value of a virtual shield according to the damage of the virtual bullet to the virtual shield in the process of blocking the attack of the virtual bullet to the virtual prop through the virtual prop; and when the shield value of the virtual shield is not higher than the shield value threshold value, presenting prompt information of failure of the virtual shield.
In practical applications, the damage that the virtual shield can withstand is limited, and when the total damage sustained by the virtual shield reaches a certain threshold, the virtual shield cannot be used for blocking the attack of the virtual bullet. The initial value of the shield value is the total damage which can be resisted, and the shield value of the corresponding numerical value can be reduced when the shield value is attacked by a virtual bullet; when the shield value is not higher than the shield value threshold value, the virtual bullet attack cannot be withheld any more, and the user is informed that the user cannot withhold the injury any more by presenting the prompt information of the virtual shield.
In some embodiments, the terminal presents the remaining number of virtual bullets of the target virtual item, and the number of target objects to kill; and when the number of the killed target objects reaches the number threshold value, performing virtual bullet supplement on the target virtual prop, and updating the residual number of the presented virtual bullets.
In practical implementation, the number of virtual bullets in the target virtual prop is limited, the remaining number of virtual bullets is continuously reduced in the shooting process of the target virtual prop, and before the virtual bullets are used up, if a first virtual object kills enough target objects through the target virtual prop, the virtual bullets can be obtained so as to supplement the virtual bullets for the target virtual prop.
The method comprises the steps that a position adjusting instruction for the target virtual prop is responded, and the target virtual prop is fixed at a target position indicated by the position adjusting instruction in the virtual scene; responding to an operation instruction aiming at the target virtual prop, displaying an internal picture of the target virtual prop, and when the target virtual prop is positioned at the target position, displaying a visual field picture of a virtual object positioned in the target virtual prop, which corresponds to the external part of the target virtual prop; controlling the target virtual prop to shoot the target object in response to a shooting instruction for the target object triggered based on the visual field picture; therefore, when the target virtual prop is fixed at the target position, the virtual object can be controlled to enter the virtual prop, and then the target virtual prop is controlled to shoot the target object according to the visual field picture, corresponding to the outside of the target virtual prop, of the virtual object in the target virtual prop, so that a user can independently operate and control the target virtual prop, and the shooting accuracy of the target virtual prop is improved.
Next, a description is continued on an optional control method for a virtual item, where the control method for a virtual item is cooperatively implemented by a terminal and a server, fig. 19 is a flowchart of the control method for a virtual item, and referring to fig. 19, the control method for a virtual item provided in the embodiment of the present application includes:
step 1901: the terminal presents a start game button.
Step 1902: the terminal responds to click operation aiming at the game key and sends an acquisition request of scene data of the virtual scene to the server.
Step 1903: and the server sends the scene data to the terminal.
Step 1904: and rendering the terminal based on the received scene data, and presenting the picture of the virtual scene.
Step 1905: and presenting the achievement of the first virtual object, which is obtained by shooting the target object in the virtual scene.
Step 1906: and when the achievement reaches the achievement threshold value, highlighting the operation control of the target virtual prop.
Step 1907: and responding to the click operation aiming at the operation control, and sending an acquisition request of the target virtual item to the server.
Step 1908: and the server acquires the data of the target virtual prop selected by the user according to the account information of the user and sends the data to the terminal.
Step 1909: and rendering the data of the target virtual prop by the terminal, and presenting the target virtual prop.
Step 1910: and when the distance between the position of the first virtual object and the target position is smaller than the distance threshold value, presenting a control of the target virtual prop.
Step 1911: and responding to the trigger operation aiming at the control, and displaying a visual field picture of the first virtual object in the target virtual item, which corresponds to the outside of the target virtual item.
Step 1912: and receiving a shooting instruction aiming at the target virtual prop, and controlling the process that the first virtual object uses the target virtual prop to shoot.
Step 1913: and in the process that the first virtual object uses the target virtual prop to shoot, presenting the second virtual object to move the target virtual prop so as to change the position of the target virtual prop.
Step 1914: and when the use time of the target virtual prop is up, canceling the presentation of the target virtual prop.
Next, an exemplary application of the embodiment of the present application in a practical application scenario will be described. The application provides a control method of a virtual item, after a user places a target virtual item, a first virtual object can be controlled to enter the target virtual item; the target virtual prop can be controlled to shoot after entering, and in the process of controlling the shooting of the target virtual prop, a user controlling the second virtual object can control the second virtual object to move the target virtual prop so as to change the position of the target virtual prop; and a protection shield is arranged on the target virtual prop and can resist the attack of enemies. Thus, the movement and shooting of the target virtual prop can be controlled through cooperation.
Fig. 20 is a schematic flow chart of a method for controlling a virtual item provided in the embodiment of the present application, and referring to fig. 20, the method for controlling a virtual item provided in the embodiment of the present application includes:
step 2001: and equipping the target virtual prop.
When the method is actually implemented, a user needs to equip the target virtual prop and enter the game to fight. Here, the target virtual item is a manual gun, which is a relatively powerful functional weapon, unlike a conventional primary weapon or secondary weapon, and is thus classified as a large recruited technical weapon, each user being able to equip a consecutive killing technical weapon before the game starts. In practical application, the target virtual prop can be equipped through the selection interface of the virtual prop.
For example, referring to fig. 4, when the user triggers an operation control 402 of a virtual item on a selection interface 401 of the virtual item shown in fig. 4, the selected operation control 402 is highlighted, and introduction information 403 of the virtual item corresponding to the operation control 402 is presented; when the user clicks the determination function item 404, the terminal determines the virtual item as a target virtual item, and displays an equipped prompt message to inform the user that the virtual item has been used as a target virtual item.
Step 2002: judging whether to kill enemies, if so, executing step 2003; otherwise, step 2001 is performed.
Step 2003: a score is obtained.
Step 2004: judging whether the score reaches a score threshold value, if so, executing step 2005; otherwise, step 2003 is performed.
Step 2005: and highlighting the operation control of the target virtual prop.
After the target virtual prop is equipped, an operation control of the target virtual prop is presented in a picture of a virtual scene. The operation control of the target virtual item is not available by default, that is, the target virtual item is in an inactive state. Target virtual items must be activated first to use, and the target virtual items are activated in such a way that enough reward points are obtained, and the points are obtained in such a way that enough enemies are killed. In practical application, each click on an enemy can obtain a score, if multiple enemies are needed in a short time for obtaining multiple scores, namely, the enemies are continuously clicked, when the obtained scores reach a score threshold value, an operation control of the target virtual item is highlighted so as to inform a user that the target virtual item is activated.
Here, the score required for each virtual item is different, and generally, the more powerful the virtual item needs, the longer the corresponding time required for activation, and when the score of the user is sufficient, the virtual item is activated.
Step 2006: judging whether a click operation aiming at the operation control is received, if so, executing a step 2007; otherwise, return to step 2005.
Step 2007: entering a pre-placement state.
Here, when the user clicks the operation control, the pre-placement state is entered. And presenting the model of the target virtual prop in a pre-placement state.
Step 2008: judging whether the container can be placed or not, if so, executing a step 2009; otherwise, step 2010 is executed.
Here, a rectangular parallelepiped range is set with the model center point as the origin; then detecting whether the cuboid collides with an obstacle or not for each frame of image, if so, indicating that the cuboid is crossed and cannot be placed, and displaying a red model to prompt a user that the target virtual prop cannot be placed at the current position; otherwise, no intersection is shown, placement can be performed, and a blue model is displayed to prompt the user that the target virtual prop can be placed at the current position. Referring to fig. 21, fig. 21 is a schematic diagram of a design interface of the target virtual prop provided in the present application, and as can be seen from 2101 in fig. 21, the color is changed in a manner that the material is directly replaced instead of a model.
Step 2009: the blue model is displayed.
Step 2010: the red model is displayed.
Step 2011: judging whether the position is moved, if so, executing step 1908; otherwise, step 1910 is performed.
Here, the virtual object may be controlled to move, and the model of the target virtual item moves while the virtual object moves.
Step 2012: judging whether a firing key is clicked, if so, executing a step 1913; otherwise, step 1909 is performed.
Here, in the pre-placement state, the firing key is used to control the virtual object to place the target virtual item to the current position when the trigger operation is received.
Step 2013: and placing the target virtual prop.
Here, the target virtual item is fixed at the current position.
Step 2014: judging whether the target virtual prop is close to, if so, executing a step 1915; otherwise, step 2013.
In practical application, at least one collision box is mounted on the target virtual prop, and when the virtual object collides with the collision box on the target virtual prop, the virtual object is considered to be close to the collision box. Referring to fig. 14, a plurality of crash boxes are mounted on target virtual object 1401.
Step 2015: and displaying an operation interface.
Here, after the target virtual item is placed, the virtual object may be controlled to move, and at this time, in the process of moving the virtual object, the position of the target virtual item is unchanged, and only when the virtual object is located near the target virtual item, the operation interface is presented. The operation interface includes an operation button (control) and a pick-up button (position adjustment control). Fig. 22 is a schematic view of an operation interface provided in an embodiment of the present application, and referring to fig. 22, the operation interface includes a control 2201 and a position adjustment control 2202.
The operation key is used for controlling the virtual object to enter the target virtual prop when receiving the trigger operation; and the picking-up key is used for returning to a pre-placing state when receiving the triggering operation, so that the placing position of the target virtual item can be reselected and the placing operation can be executed.
Step 2016: judging whether a click operation for the operation key is received, if so, executing step 1917; otherwise, step 2015 is performed.
Step 2017: and controlling to enter the target virtual prop.
Here, when the first virtual object enters the inside of the target virtual item, the target virtual item may be controlled to shoot through the first virtual object; in the process of shooting the first virtual object, the user controlling the second virtual object can control the second virtual object to move the target virtual prop so as to change the position of the target virtual prop.
Here, when the second virtual object moves the target virtual item, the position of the target virtual item changes accordingly, and a view screen outside the target virtual item, which is observed by the first virtual object from inside the target virtual item, also changes.
Here, when the second virtual object moves the target virtual item, the target virtual item is actually mounted on the node of the second virtual object hand, so that the virtual object can push the target virtual item or rotate the target virtual item. In some embodiments, when the virtual object enters the inside of the target virtual item, a leaving key can be further presented, and when the user clicks the leaving key, the virtual item is controlled to leave the inside of the target virtual item.
Step 2018: judging whether the use time is over, if so, executing step 1919; otherwise, step 2017 is performed.
The number of virtual bullets in the target virtual prop is limited, the residual number of the virtual bullets is continuously reduced in the shooting process of the target virtual prop, and before the virtual bullets are used up, if the first virtual object kills enough target objects through the target virtual prop, the virtual bullets can be obtained so as to supplement the virtual bullets for the target virtual prop.
In addition, the target virtual prop comprises a virtual shield, so that harm caused by attack of enemies can be reduced. In practical applications, the damage that the virtual shield can withstand is limited, and when the total damage sustained by the virtual shield reaches a certain threshold, the virtual shield cannot be used for blocking the attack of the virtual bullet. The initial value of the shield value is the total damage which can be resisted, and the shield value of the corresponding numerical value can be reduced when the shield value is attacked by a virtual bullet; when the shield value is not higher than the shield value threshold value, the virtual bullet attack cannot be withheld any more, and the user is informed that the user cannot withhold the injury any more by presenting the prompt information of the virtual shield.
Step 2019: and canceling the presentation of the target virtual prop.
The embodiment of the application can control the movement and the shooting of the target virtual prop through cooperation, and the control efficiency is improved.
Referring to fig. 23, fig. 23 is a schematic structural composition diagram of a control device of a virtual prop according to an embodiment of the present application, and as shown in fig. 23, a control device 555 of a virtual prop according to an embodiment of the present application includes:
a first presentation module 5551, configured to present a target virtual item in a screen of a virtual scene;
a display module 5552, configured to display, in response to an operation instruction for the target virtual item, a view screen of a virtual object inside the target virtual item corresponding to the outside of the target virtual item;
the control module 5553 is configured to, in response to a shooting instruction triggered based on the view screen, control the first virtual object to shoot by using the target virtual item;
a second presenting module 4554, configured to present, in a process in which the first virtual object uses the target virtual item to shoot, a process in which a second virtual object moves the target virtual item to change a position of the target virtual item.
In some embodiments, the first presenting module 5551 is further configured to present, in a screen of the virtual scene, an operation control of the target virtual item;
and when the operation control is in an activated state, responding to the trigger operation aiming at the operation control, and presenting a target virtual item in the picture of the virtual scene.
In some embodiments, the first presenting module 5551 is further configured to present the achievement of the virtual object in the virtual scene, wherein the achievement is obtained by shooting a target object;
when the score reaches a score threshold value, presenting an operation control of the target virtual prop by adopting a target style;
wherein the target style is used for representing that an operation control of the target virtual prop is in the activated state.
In some embodiments, the first presentation module 5551 is further configured to present the target virtual item in a first presentation style in a screen of a virtual scene when other objects exist in a target area containing the target virtual item;
when other objects do not exist in the target area containing the target virtual prop, presenting the target virtual prop in a second presentation style in the picture of the virtual scene;
wherein the first presentation style is different from the second presentation style.
In some embodiments, the control module 5553 is further configured to present, in a screen of the virtual scene, a placement control of the target virtual item;
and receiving a trigger operation aiming at the placement control, and fixing the target virtual prop at a target position in the virtual scene when the target virtual prop is at the target position.
In some embodiments, the presentation module 5552 is further configured to present a control of the target virtual item when the distance between the first virtual object and the target virtual item is less than a distance threshold;
and responding to the triggering operation of the control, and triggering an operation instruction aiming at the target virtual prop.
In some embodiments, the control module 5553 is further configured to synchronously adjust the displayed view frame during the process of moving the target virtual item by the second virtual object.
In some embodiments, the control module 5553 is further configured to present a departure control of the target virtual item;
in response to the triggering operation for the departure control, controlling the virtual object to depart from the interior of the target virtual item, and
and displaying the visual field picture of the virtual object when the virtual object is positioned outside the target virtual prop.
In some embodiments, the first presenting module 5551 is further configured to present a usage duration of the target virtual item;
and when the use time of the target virtual prop is up, canceling the presentation of the target virtual prop.
In some embodiments, the target virtual prop comprises a firing component for firing and a virtual shield, the virtual shield being located around the firing component;
the control module 5553 is further configured to block, by the virtual shield, an attack of the virtual bullet on the virtual object when the virtual bullet fired on the virtual object is fired to the virtual shield.
In some embodiments, the control module 5553 is further configured to present a life value of the virtual shield;
reducing the life value of the virtual shield according to the damage of the virtual bullet to the virtual shield in the process of blocking the attack of the virtual bullet to the virtual prop through the virtual prop;
and when the life value of the virtual shield is not higher than the life value threshold, presenting prompt information of virtual shield failure.
In some embodiments, the second presenting module 5554 is further configured to present the remaining number of virtual bullets of the target virtual item, and the number of target objects to kill;
and when the number of the killed target objects reaches the number threshold value, performing virtual bullet supplement on the target virtual prop, and updating the residual number of the presented virtual bullets.
Embodiments of the present application provide a computer program product or computer program comprising 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 executes the computer instructions, so that the computer device executes the control method of the virtual prop in the embodiment of the present application.
Embodiments of the present application provide a computer-readable storage medium having stored therein executable instructions that, when executed by a processor, cause the processor to perform a method provided by embodiments of the present application, for example, the method as illustrated in fig. 3.
In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EP ROM, 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.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, 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.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (H TML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
The above description is only an example of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims (15)

1. A control method of a virtual prop is characterized by comprising the following steps:
presenting a target virtual item in a picture of a virtual scene;
responding to an operation instruction aiming at the target virtual prop, and displaying a visual field picture of a first virtual object in the target virtual prop, which corresponds to the outside of the target virtual prop;
controlling the first virtual object to shoot by using the target virtual prop in response to a shooting instruction triggered based on the visual field picture;
and presenting a process that a second virtual object moves the target virtual prop to change the position of the target virtual prop in the process that the first virtual object uses the target virtual prop to shoot.
2. The method of claim 1, wherein presenting the target virtual item in a screen of a virtual scene comprises:
presenting an operation control of the target virtual prop in a picture of the virtual scene;
and when the operation control is in an activated state, responding to the trigger operation aiming at the operation control, and presenting a target virtual item in the picture of the virtual scene.
3. The method of claim 2, wherein prior to presenting the target virtual item in the screen of the virtual scene, the method further comprises:
presenting the achievement of the first virtual object in the virtual scene, wherein the achievement is obtained by shooting a target object;
when the score reaches a score threshold value, presenting an operation control of the target virtual prop by adopting a target style;
wherein the target style is used for representing that an operation control of the target virtual prop is in the activated state.
4. The method of claim 1, wherein presenting the target virtual item in a screen of a virtual scene comprises:
when other objects exist in a target area containing the target virtual prop, presenting the target virtual prop in a first presentation style in a picture of a virtual scene;
when other objects do not exist in the target area containing the target virtual prop, presenting the target virtual prop in a second presentation style in the picture of the virtual scene;
wherein the first presentation style is different from the second presentation style.
5. The method of claim 1, wherein before the presenting that the first virtual object inside the target virtual item corresponds to the view outside the target virtual item, the method further comprises:
presenting a placement control of the target virtual prop in a picture of the virtual scene;
and receiving a trigger operation aiming at the placement control, and fixing the target virtual prop at a target position in the virtual scene when the target virtual prop is at the target position.
6. The method of claim 1, wherein before displaying the view frame that the first virtual object inside the target virtual item corresponds to the outside of the target virtual item, the method comprises:
when the distance between the first virtual object and the target virtual prop is smaller than a distance threshold value, presenting a control of the target virtual prop;
and responding to the triggering operation of the control, and triggering an operation instruction aiming at the target virtual prop.
7. The method of claim 1, wherein the method further comprises:
and synchronously adjusting the displayed view picture in the process of moving the target virtual prop by the second virtual object.
8. The method of claim 1, wherein the method further comprises:
presenting a departure control of the target virtual item;
in response to the triggering operation for the departure control, controlling the first virtual object to depart from the interior of the target virtual item, and
and displaying a visual field picture of the first virtual object when the first virtual object is positioned outside the target virtual item.
9. The method of claim 1, wherein the method further comprises:
presenting the use duration of the target virtual prop;
and when the use time of the target virtual prop is up, canceling the presentation of the target virtual prop.
10. The method of claim 1, wherein the target virtual prop comprises a firing component for firing and a virtual shield, the virtual shield being positioned around the firing component; the method further comprises the following steps:
when a virtual bullet fired at the first virtual object is fired to the virtual shield, an attack of the virtual bullet against the virtual object is blocked by the virtual shield.
11. The method of claim 10, wherein the method further comprises:
presenting a shield value of the virtual shield;
reducing a shield value of a virtual shield according to the damage of the virtual bullet to the virtual shield in the process of blocking the attack of the virtual bullet to the virtual prop through the virtual prop;
and when the shield value of the virtual shield is not higher than the shield value threshold value, presenting prompt information of failure of the virtual shield.
12. The method of claim 1, wherein the method further comprises:
presenting the residual number of virtual bullets of the target virtual prop and the number of killed target objects;
and when the number of the killed target objects reaches the number threshold value, performing virtual bullet supplement on the target virtual prop, and updating the residual number of the presented virtual bullets.
13. An apparatus for controlling a virtual prop, the apparatus comprising:
the first presentation module is used for presenting the target virtual item in the picture of the virtual scene;
the display module is used for responding to an operation instruction aiming at the target virtual prop and displaying a visual field picture of a first virtual object in the target virtual prop, which corresponds to the outside of the target virtual prop;
the control module is used for responding to a shooting instruction triggered based on the visual field picture, and controlling the first virtual object to shoot by using the target virtual prop;
and the second presentation module is used for presenting a process that the second virtual object moves the target virtual prop so as to change the position of the target virtual prop in the process that the first virtual object controls the target virtual prop to shoot.
14. An electronic device, comprising:
a memory for storing executable instructions;
a processor, configured to execute the executable instructions stored in the memory, and implement the control method for the virtual prop according to any one of claims 1 to 12.
15. A computer-readable storage medium, storing executable instructions for implementing the method of controlling a virtual item of any one of claims 1 to 12 when executed by a processor.
CN202011063383.9A 2020-09-30 2020-09-30 Control method, device and equipment of virtual prop and computer readable storage medium Active CN112121432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011063383.9A CN112121432B (en) 2020-09-30 2020-09-30 Control method, device and equipment of virtual prop and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011063383.9A CN112121432B (en) 2020-09-30 2020-09-30 Control method, device and equipment of virtual prop and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112121432A true CN112121432A (en) 2020-12-25
CN112121432B CN112121432B (en) 2022-06-07

Family

ID=73843586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011063383.9A Active CN112121432B (en) 2020-09-30 2020-09-30 Control method, device and equipment of virtual prop and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112121432B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112891930A (en) * 2021-03-25 2021-06-04 腾讯科技(深圳)有限公司 Information display method, device, equipment and storage medium in virtual scene
CN113413597A (en) * 2021-06-21 2021-09-21 网易(杭州)网络有限公司 Virtual item assembling method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1051999A2 (en) * 1999-05-13 2000-11-15 Konami Co., Ltd. A competition video game device, a competition video game executing method and a readable storage medium in which a video game program is stored
JP2001000737A (en) * 1999-06-18 2001-01-09 Square Co Ltd Game device, game control method, and recording medium
CN110721469A (en) * 2019-10-11 2020-01-24 腾讯科技(深圳)有限公司 Method, terminal and medium for shielding virtual object in virtual environment
CN111111194A (en) * 2019-11-28 2020-05-08 腾讯科技(深圳)有限公司 Virtual object control method, device, storage medium and electronic device
CN111659119A (en) * 2020-07-02 2020-09-15 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1051999A2 (en) * 1999-05-13 2000-11-15 Konami Co., Ltd. A competition video game device, a competition video game executing method and a readable storage medium in which a video game program is stored
JP2001000737A (en) * 1999-06-18 2001-01-09 Square Co Ltd Game device, game control method, and recording medium
CN110721469A (en) * 2019-10-11 2020-01-24 腾讯科技(深圳)有限公司 Method, terminal and medium for shielding virtual object in virtual environment
CN111111194A (en) * 2019-11-28 2020-05-08 腾讯科技(深圳)有限公司 Virtual object control method, device, storage medium and electronic device
CN111659119A (en) * 2020-07-02 2020-09-15 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
九游: "《蚕豆网》", 16 April 2018 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112891930A (en) * 2021-03-25 2021-06-04 腾讯科技(深圳)有限公司 Information display method, device, equipment and storage medium in virtual scene
CN112891930B (en) * 2021-03-25 2022-11-29 腾讯科技(深圳)有限公司 Information display method, device, equipment and storage medium in virtual scene
CN113413597A (en) * 2021-06-21 2021-09-21 网易(杭州)网络有限公司 Virtual item assembling method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112121432B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN113181650B (en) Control method, device, equipment and storage medium for calling object in virtual scene
CN112090069B (en) Information prompting method and device in virtual scene, electronic equipment and storage medium
CN112121430B (en) Information display method, device, equipment and storage medium in virtual scene
CN112402960B (en) State switching method, device, equipment and storage medium in virtual scene
CN112121414B (en) Tracking method and device in virtual scene, electronic equipment and storage medium
CN111921198B (en) Control method, device and equipment of virtual prop and computer readable storage medium
CN112295230B (en) Method, device, equipment and storage medium for activating virtual props in virtual scene
CN113797536B (en) Control method, device, equipment and storage medium for objects in virtual scene
CN113633964B (en) Virtual skill control method, device, equipment and computer readable storage medium
US20230072503A1 (en) Display method and apparatus for virtual vehicle, device, and storage medium
CN112057863A (en) Control method, device and equipment of virtual prop and computer readable storage medium
CN112057864B (en) Virtual prop control method, device, equipment and computer readable storage medium
CN112057860B (en) Method, device, equipment and storage medium for activating operation control in virtual scene
US20230033530A1 (en) Method and apparatus for acquiring position in virtual scene, device, medium and program product
CN112121432B (en) Control method, device and equipment of virtual prop and computer readable storage medium
CN112121431A (en) Interactive processing method and device of virtual prop, electronic equipment and storage medium
CN113101667A (en) Virtual object control method, device, equipment and computer readable storage medium
CN113144603B (en) Switching method, device and equipment for calling objects in virtual scene and storage medium
CN112138385B (en) Virtual shooting prop aiming method and device, electronic equipment and storage medium
CN112295228B (en) Virtual object control method and device, electronic equipment and storage medium
CN112156472B (en) Control method, device and equipment of virtual prop and computer readable storage medium
CN112121433A (en) Method, device and equipment for processing virtual prop and computer readable storage medium
CN112870708B (en) Information display method, device, equipment and storage medium in virtual scene
CN114146413A (en) Virtual object control method, device, equipment, storage medium and program product
CN116726499A (en) Position transfer method, device, equipment and storage medium in virtual scene

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant