CN110585712A - Method, device, terminal and medium for throwing virtual explosives in virtual environment - Google Patents

Method, device, terminal and medium for throwing virtual explosives in virtual environment Download PDF

Info

Publication number
CN110585712A
CN110585712A CN201910890549.5A CN201910890549A CN110585712A CN 110585712 A CN110585712 A CN 110585712A CN 201910890549 A CN201910890549 A CN 201910890549A CN 110585712 A CN110585712 A CN 110585712A
Authority
CN
China
Prior art keywords
virtual
explosive
throwing
virtual object
controlling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910890549.5A
Other languages
Chinese (zh)
Inventor
刘智洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201910890549.5A priority Critical patent/CN110585712A/en
Publication of CN110585712A publication Critical patent/CN110585712A/en
Pending legal-status Critical Current

Links

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
    • A63F13/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/577Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using determination of contact between game characters or objects, e.g. to avoid collision between virtual racing cars
    • 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 discloses a method, a device, a terminal and a medium for throwing virtual explosives in a virtual environment, which belong to the technical field of computers and internet, wherein the method comprises the following steps: displaying a user interface; acquiring a throwing instruction corresponding to a virtual explosive with adhesiveness; controlling the first virtual object to throw the virtual explosive according to the throwing instruction; when the virtual explosive contacts the target obstacle, controlling the virtual explosive to be adhered to the target obstacle; and controlling the virtual explosive to generate the light column special effect. According to the technical scheme, the virtual explosives are set to be the virtual explosives with the adhesiveness, so that when a user controls the virtual object to throw the virtual explosives with the adhesiveness through triggering operation, the virtual explosives can be accurately adhered to the target barrier, the user only needs to aim at the expected position, the fact that the actual adhesion position of the virtual explosives is consistent with the expected position can be achieved, and the hit rate of the user for controlling the virtual object to throw the virtual explosives is improved.

Description

Method, device, terminal and medium for throwing virtual explosives in virtual environment
Technical Field
The embodiment of the application relates to the technical field of computers and internet, in particular to a method, a device, a terminal and a medium for throwing virtual explosives in a virtual environment.
Background
In an application program based on a three-dimensional virtual environment, such as a first person shooter game, a user can control a virtual object in the virtual environment to walk, run, climb, shoot, fight and the like, and the user can control the virtual object to throw virtual explosives, such as a grenade, a bomb and the like, wherein the thrown virtual explosives play a role in a certain time, and the life value of other virtual objects in the damage range of the virtual explosives is reduced.
In the related art, taking the example that the virtual explosive is a grenade, the user can control the virtual object to attack other virtual objects in the virtual environment by using the virtual explosive corresponding to the grenade. And the user controls the virtual object to switch the virtual explosives into virtual explosives corresponding to the grenade, and when the virtual object throws the virtual explosives corresponding to the grenade, the virtual explosives corresponding to the grenade move according to the throwing direction and force of the virtual object. When a virtual explosive corresponding to a grenade touches any object in the virtual environment, the virtual explosive may fall to other positions in the virtual environment due to the reaction force generated by the collision.
The operation of controlling the virtual object to throw the virtual explosives in the virtual environment enables the position where the virtual explosives arrive to be inconsistent with the target position preset by the user, and enables the hit rate of throwing the virtual explosives by the virtual object to be low.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a medium for throwing virtual explosives in a virtual environment, which can be used for solving the problem that when a virtual object is controlled to throw the virtual explosives in the related technology, the position where the virtual explosives arrive is inconsistent with a target position preset by a user. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for throwing a virtual explosive in a virtual environment, the method including:
displaying a user interface, wherein the user interface comprises a virtual environment picture, and the virtual environment picture is a picture for observing a virtual environment from the visual angle of a first virtual object;
acquiring a throwing instruction corresponding to a virtual explosive with adhesiveness;
controlling the first virtual object to throw the virtual explosive according to the throwing instruction;
controlling the virtual explosive to adhere to a target obstacle when the virtual explosive contacts the target obstacle;
and controlling the virtual explosive to generate a light beam special effect.
In another aspect, an embodiment of the present application provides an apparatus for throwing a virtual explosive in a virtual environment, the apparatus including:
the interface display module is used for displaying a user interface, wherein the user interface comprises a virtual environment picture, and the virtual environment picture is a picture for observing a virtual environment from the visual angle of a first virtual object;
the instruction acquisition module is used for acquiring a throwing instruction corresponding to the virtual explosive with adhesiveness;
the throwing control module is used for controlling the first virtual object to throw the virtual explosive according to the throwing instruction;
an adhesion control module for controlling the virtual explosive to adhere to a target obstacle when the virtual explosive contacts the target obstacle;
and the light beam control module is used for controlling the virtual explosive to generate a light beam special effect.
In yet another aspect, embodiments of the present application provide a terminal, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the above method for throwing a virtual explosive in a virtual environment.
In yet another aspect, the present application provides a computer-readable storage medium having at least one instruction, at least one program, a set of codes, or a set of instructions stored therein, which is loaded and executed by a processor to implement the above-mentioned method for throwing a virtual explosive in a virtual environment.
In a further aspect, a computer program product is provided which, when run on a terminal, causes the terminal to perform the above-described method of throwing a virtual explosive in a virtual environment.
According to the technical scheme, the virtual explosives are set to be the virtual explosives with the adhesiveness, so that when a user controls the virtual object to throw the virtual explosives with the adhesiveness through triggering operation, the virtual explosives can be accurately adhered to the target barrier, the user only needs to aim at the expected position, the fact that the actual adhesion position of the virtual explosives is consistent with the expected position can be achieved, and the hit rate of the user for controlling the virtual object to throw the virtual explosives is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the present application;
fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present application;
FIG. 3 is a flow diagram of a method of throwing a virtual explosive in a virtual environment provided by one embodiment of the present application;
FIGS. 4-8 are schematic diagrams of user interfaces involved in the embodiment of FIG. 3;
fig. 9 is a flow chart of a method of throwing a virtual explosive in a virtual environment provided by another embodiment of the present application;
FIGS. 10-11 are schematic diagrams of user interfaces involved in the embodiment of FIG. 9;
FIG. 12 illustrates a diagram of the extent of explosive injury from a virtual explosive;
FIG. 13 illustrates a flow chart of a method of throwing a virtual explosive in a virtual environment;
fig. 14 illustrates a flow chart of a variation of a virtual explosive;
fig. 15 is a block diagram of an apparatus for throwing a virtual explosive in a virtual environment provided by one embodiment of the present application;
fig. 16 is a block diagram of an apparatus for throwing a virtual explosive in a virtual environment according to another embodiment of the present application;
fig. 17 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the present application is shown. The implementation environment may include: a terminal 10 and a server 20.
The terminal 10 may be an electronic device such as a mobile phone, a tablet Computer, a game console, an electronic book reader, a multimedia playing device, a wearable device, a PC (Personal Computer), and the like. A client of an application, such as a game application, may be installed in the terminal 10.
In the embodiment of the present application, the application may be any application that can provide a virtual environment in which a virtual character substituted and operated by a user moves. Typically, the application is a Game application, such as a BR (Battle royal, large escape and survival) Game, a TPS (Third-person Shooting Game), an FPS (First-person Shooting Game), a MOBA (Multiplayer Online Battle Arena) Game, a Multiplayer gunfight type survival Game, and the like. Of course, in addition to game applications, other types of applications may present virtual objects to a user and provide corresponding functionality to the virtual objects. For example, VR (Virtual Reality) application, AR (Augmented Reality) application, three-dimensional map program, military simulation program, social application, interactive entertainment application, and the like, which are not limited in this embodiment of the present invention. In addition, for different applications, the forms of the virtual objects provided by the applications may also be different, and the corresponding functions may also be different, which may be configured in advance according to actual requirements, and this is not limited in the embodiments of the present application.
The virtual environment is a scene displayed (or provided) by a client of an application program (such as a game application program) when the client runs on a terminal, and the virtual environment refers to a scene created for a virtual object to perform an activity (such as a game competition), such as a virtual house, a virtual island, a virtual map, and the like. The virtual environment may be a simulation environment of a real world, a semi-simulation semi-fictional environment, or a pure fictional environment. The virtual environment may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, which is not limited in this embodiment of the present application.
The virtual object refers to a virtual role controlled by the user account in the application program. Taking an application as a game application as an example, the virtual object refers to a game character controlled by a user account in the game application. The virtual object may be in the form of a character, an animal, a cartoon or other forms, which is not limited in this application. The virtual object may be displayed in a three-dimensional form or a two-dimensional form, which is not limited in the embodiment of the present application. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional stereo model created based on an animated skeleton technique. Each virtual object has its own shape and volume in the three-dimensional virtual environment, occupying a portion of the space in the three-dimensional virtual environment.
The server 20 is used to provide background services for clients of applications in the terminal 10. For example, the server 20 may be a backend server for the application described above. The server 20 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
The terminal 10 and the server 20 can communicate with each other through the network 30. The network 30 may be a wired network or a wireless network.
Optionally, the terminal 10 includes a first terminal, a second terminal and a third terminal. In the embodiment of the application, the first terminal, the second terminal and the third terminal can be provided with clients running the same application program. The client in the first terminal is called a first client, the client in the second terminal is called a second client, and the client in the third terminal is called a third client. The user account logged in the first client is recorded as a first user account, the user account logged in the second client is recorded as a second user account, and the user account logged in the third client is recorded as a third user account. The first client-controlled virtual object is referred to as a first virtual object, the second client-controlled virtual object is referred to as a second virtual object, the second virtual object is in a hostile relationship with the first virtual object, the third client-controlled virtual object is a third virtual object, and the third virtual object is in a teammate relationship with the first virtual object.
The above-mentioned enemy relationship refers to virtual objects in different camps (or groups), and the above-mentioned teammate relationship refers to virtual objects in the same camps (or groups). Taking a tactical competitive game as an example, there are 100 users participating in the same game match, and the 100 users may form a plurality of different groups, for example, each group may include at most 4 users. For a certain group, the virtual objects controlled by 4 users in the group are in a teammate relationship; the virtual object controlled by the user in the group is in an adversarial relationship with the virtual object controlled by the user in other groups. Taking an MOBA game as an example, ten users perform a matching game and are divided into two teams of a red party and a blue party, namely, every five persons form a group, at the moment, the virtual objects in the red party and the red party are in a teammate relationship, the virtual objects in the blue party and the blue party are in a teammate relationship, and the virtual objects in the red party and the blue party are in an adversary relationship.
In the embodiment of the method of the present application, the execution subject of each step may be a terminal, such as a client of the above application program running in the terminal. In some embodiments, the application is an application developed based on a three-dimensional virtual environment engine, for example, the virtual environment engine is a Unity engine, and the virtual environment engine can construct a three-dimensional virtual environment, a virtual object, a virtual prop, and the like, so as to bring a more immersive game experience to the user.
Please refer to fig. 2, which illustrates a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal 10 may include: a main board 110, an external input/output device 120, a memory 130, an external interface 140, a touch system 150, and a power supply 160.
The main board 110 has integrated therein processing elements such as a processor and a controller.
Alternatively, for a mobile terminal, the external input/output device 120 may include a display component (e.g., a display screen), a sound playing component (e.g., a speaker), a sound collecting component (e.g., a microphone), various keys, and the like; for a PC terminal, the external input/output device 120 may include a display component (e.g., a display screen), a sound playing component (e.g., a speaker), a sound collecting component (e.g., a microphone), various keys (e.g., a mouse and a keyboard), and the like.
The memory 130 has program codes and data stored therein.
The external interface 140 may include a headset interface, a charging interface, a data interface, and the like.
The touch system 150 may be integrated into a display component or a key of the external input/output device 120, and the touch system 150 is used to detect a touch operation performed by a user on the display component or the key.
The power supply 160 is used to power various other components in the terminal 10.
In this embodiment, the processor in the motherboard 110 may generate a user interface (e.g., a game interface) by executing or calling the program codes and data stored in the memory, and display the generated user interface (e.g., the game interface) through the external input/output device 120. In the process of presenting a user interface (e.g., a game interface), a touch operation performed when a user interacts with the user interface (e.g., the game interface) may be detected by the touch system 150 and responded to.
Referring to fig. 3, a flow chart of a method for throwing a virtual explosive in a virtual environment according to an embodiment of the present application is shown. In this embodiment, the execution subject of each step is taken as the first client described above for description. The method comprises the following steps (301-305):
step 301, displaying a user interface.
The user interface is a display screen for presenting the virtual environment to the user, and elements in the virtual environment, such as virtual buildings, virtual props, virtual objects, and the like, may be included in the user interface. Optionally, the user interface further includes some operation controls, such as buttons, sliders, icons, and the like, for the user to operate.
In an embodiment of the present application, the user interface includes a virtual environment screen, and the virtual environment screen is a screen for observing the virtual environment from a perspective of the first virtual object. The first virtual object refers to a virtual object controlled by a user of the first client. Optionally, a virtual weapon held by the first virtual object, such as a virtual pistol, a virtual dagger, a virtual explosive, etc., is also included in the user interface. Optionally, a virtual slot is included in the user interface, and the virtual slot can place a virtual item belonging to the first virtual object, such as a virtual medicine, a virtual equipment, a virtual weapon, and the like. The virtual weapon is placed in a weapon slot, and optionally, the user interface includes one or more weapon slots, which is not limited in the embodiment of the present application.
Optionally, the first virtual object can only hold one virtual weapon, and the user switches the virtual weapon by clicking a weapon slot of a different virtual weapon displayed on the user interface. Optionally, one or more virtual weapons of the same type may be placed in the weapon slot of the virtual weapon, which is not limited in this application. For example, for a mobile phone end user configured with a touch screen, the user can click weapon slots of different types of virtual weapons on a user interface by fingers to control a first virtual object to switch the different types of virtual weapons; for another example, for a PC end user, the user can click weapon slots of different types of virtual weapons on a user interface through a mouse, and control the first virtual object to switch the different types of virtual weapons; or, the user may control the virtual object to switch different types of virtual weapons by pressing a corresponding key (e.g., R key) on the keyboard, and it should be noted that the key may be set by the user according to personal habits.
Illustratively, referring to fig. 4 in combination, taking the shooting game called the first person as an example, the user interface 40 includes a first virtual pistol 41 held by a first virtual object, and the user interface 40 further includes a first weapon slot 42, a second weapon slot 43, and a third weapon slot 44, wherein the first weapon slot 42 is used for placing a virtual pistol belonging to the first virtual object, the second weapon slot 43 is used for placing a virtual dagger belonging to the first virtual object, and the third weapon slot 44 is used for placing a virtual explosive belonging to the first virtual object. It should be noted that the user can select to switch the appropriate virtual weapon by clicking the corresponding weapon slot, for example, after the user clicks the first weapon slot 42, the user interface displays the virtual pistol owned by the first virtual object, slides to view the virtual pistol, and clicks to select the second virtual pistol, at which time the weapon owned by the first virtual object is converted from the first virtual pistol 41 to the second virtual pistol. In addition to this, the user interface 40 comprises a firing button 45 of the first virtual pistol 41, and the user controls the first virtual object to fire a bullet using the first virtual pistol 41 by clicking on the firing button 45.
It should be noted that the display mode of the user interface is consistent with the virtual environment, for example, the three-dimensional virtual environment corresponds to a 3D user interface. Alternatively, the user may set an appropriate user interface according to personal habits.
At step 302, a throwing instruction corresponding to a virtual explosive with adhesive properties is obtained.
The virtual explosive is a virtual article which displays an explosion special effect in a user interface after being used, such as a virtual landmine, a virtual smoke shell, a virtual grenade and the like. Also, the virtual explosives are virtual weapons that can produce range damage through detonation. Optionally, in this application, the virtual explosive has an adhesion property, which means that the virtual explosive can be attached to the surface of a target obstacle after use, and the target obstacle means a virtual article having a blocking effect on the movement of the virtual explosive in the virtual environment.
The throwing instruction refers to an instruction for triggering the first virtual object to throw a virtual explosive. The throwing instruction may be generated by a user trigger. For example, for a mobile phone end user configured with a touch screen, the user may click a throwing operation control on a user interface by a finger to trigger generation of the throwing instruction; for another example, for a PC user, the user can click a throwing operation control on a user interface through a mouse to trigger generation of the throwing instruction; or, the user may trigger the generation of the throwing instruction by pressing a corresponding key (e.g., R key) on the keyboard, and it should be noted that the key may be set by the user according to personal habits.
In an embodiment of the application, a throwing operation control for throwing the virtual explosive is included in the user interface. In one possible embodiment, the throwing operation control is independent of the virtual weapon used by the first virtual object in real time, that is, the throwing operation control for throwing the virtual explosive is displayed on the user interface regardless of the virtual weapon used by the first virtual object.
In another possible embodiment, the throwing operation control is related to a virtual weapon used by the first virtual object in real time, that is, the throwing operation control for throwing the virtual explosive is displayed on the user interface only when the first virtual object uses the virtual explosive. Illustratively, referring to fig. 4 and 5 in combination, in the user interface 40, a first virtual object uses a first virtual pistol 41, and a firing button 45 is displayed on the user interface 40, the user displays a virtual explosive owned by the first virtual object by clicking a third weapon slot 44, and after the user slides to select the virtual explosive, as shown in fig. 5, in the user interface 50, the first virtual object holds a virtual explosive 51, and a throw button 52 is displayed on the user interface 50, wherein the virtual explosive 51 has adhesiveness. Optionally, the user triggers a throw instruction to generate a virtual explosive by clicking or long-pressing the throw button 52.
Optionally, the step 302 includes the following sub-steps:
1. when a touch operation signal corresponding to the throwing operation control is detected, displaying the motion trail of the virtual explosive;
the touch operation signal refers to a signal generated by a user through a touch operation, for example, the user generates a touch operation signal corresponding to the throwing operation control by clicking the throwing operation control. The motion trajectory refers to a path of the first client controlling the motion of the virtual explosive when the touch operation signal corresponding to the throwing operation control is detected. Optionally, one end of the motion trajectory comprises a position marker for indicating the location of attachment of said virtual explosive. Alternatively, if the user presses the throwing operation control for a long time and slides in different directions (e.g., up, down, left, and right), the adhesion position of the virtual explosive may be adjusted.
Illustratively, referring to fig. 6 in combination, when the user clicks the throw button 52 to control the first virtual object to throw the virtual explosive, a motion track 61 of the virtual explosive is displayed in the user interface 60, and one end of the motion track 61 marks an adhesion position 62 of the virtual explosive. In addition, a cancel throw button 63 is further included in the user interface 60, and optionally, if the user slides to the cancel throw button 63 when clicking the throw button 52, the touch operation signal of the throw button 52 is cancelled.
2. And when the touch operation signal is detected to disappear, confirming that the throwing instruction is acquired.
Optionally, when the user clicks the throwing operation control, the first client detects generation of a touch operation signal of the throwing operation control, and if the user presses the throwing operation control for a long time after clicking to adjust the adhesion position of the virtual explosive, in the process, the first client detects the touch operation signal of the throwing operation control, and when the user stops pressing the throwing operation control, the first client detects that the touch operation signal of the throwing operation control disappears. And then, the first client determines a throwing instruction according to the touch operation signal.
And step 303, controlling the first virtual object to throw the virtual explosive according to the throwing instruction.
Optionally, the first client controls the first virtual object to throw the virtual explosive according to the throwing instruction, and controls the virtual explosive to move according to the movement track.
Optionally, the step 303 includes the following sub-steps:
1. acquiring an initial position, an initial speed and a direction of a virtual explosive;
the initial position is a starting position of the start motion of the virtual explosive, that is, a throwing position of the virtual explosive. The initial velocity is a starting velocity of the starting motion of the virtual explosive, that is, a throwing velocity of the virtual explosive. The direction refers to the direction of movement of the virtual explosive.
In this embodiment of the application, the first client controls the first virtual object to throw the virtual explosive according to the throwing instruction. Optionally, when the first virtual object throws the virtual explosive, the first client gives an initial velocity to the virtual explosive, and the initial velocity may be 3m/s, 6m/s, or 9m/s, and so on, which is not limited in this embodiment of the application. Optionally, the first client records the initial position, initial velocity and direction of the virtual explosive.
2. Calculating the motion trail of the virtual explosive according to the initial position, the initial speed and the direction of the virtual explosive;
optionally, the initial position is expressed in the form of coordinates. Illustratively, assume the initial position of the virtual explosive is (x)0,y0) Initial velocity v0And the azimuth forms an included angle of 30 degrees with the horizontal plane, the initial velocity of the virtual explosive in the horizontal direction is vx=0.87v0Initial velocity in the vertical direction is vy=0.5v0And since the virtual explosive receives gravity perpendicular to the horizontal plane in the virtual environment, the acceleration of the virtual explosive in the vertical direction is that the gravity acceleration g is 9.8m/s, so that:
the position of the virtual explosive in the horizontal direction changes x along with the change of the time ttComprises the following steps:
xt=x0+vxt;
the position of the virtual explosive in the vertical direction changes y with the change of the time ttComprises the following steps:
therefore, the motion trajectory of the virtual explosive is as follows:
3. and controlling the virtual explosive to move along the motion track.
And the first client controls the virtual explosive to move along the calculated motion trail. Optionally, the first client calculates x of the virtual explosive in each frame imaget,ytAnd controlling the virtual explosive to be displayed at a corresponding position in each frame image so as to create the visual effect that the virtual explosive moves along the motion track.
And step 304, when the virtual explosive contacts the target obstacle, controlling the virtual explosive to adhere to the target obstacle.
The target obstacle is a virtual article, such as a virtual ground, a virtual wall, etc., to which the virtual explosive finally attaches after moving along the motion trajectory. Alternatively, the location of the target obstacle is the adhesion location 62 in fig. 6.
Optionally, the first client determines the target obstacle by using a ray detection method. Illustratively, referring to fig. 7 in combination, during the movement of the virtual explosive 51, the first client transmits a ray to the front of the virtual explosive at certain time intervals, starting from the position of the virtual explosive 51, and when the ray detects a virtual article that can provide a place for adhesion of the virtual explosive, the virtual article is taken as a target obstacle, and at the same time, the first client controls the virtual explosive to adhere to the target obstacle. Optionally, the time interval is set by the first client, and may be 0.025s, 0.029s, or 0.033s, and so on, which is not limited in this embodiment.
Optionally, the step 304 includes the following sub-steps:
1. and when the virtual explosive contacts the target barrier, playing the deformation animation of the virtual explosive.
The deformation animation is used for showing that the virtual explosive is switched from the first form to the second form. Alternatively, the first form refers to a form before the virtual explosion does not adhere to the target obstacle, such as the form of the virtual explosive 51 shown in fig. 7; the second form refers to a form in which a virtual explosive is stuck on a target obstacle, such as the form of virtual explosive 51 shown in fig. 8.
2. And after the deformation animation is played, controlling the virtual explosive to keep the second form for displaying.
Optionally, after the morphing animation is played, the first client controls the virtual explosive to adhere to the surface of the target obstacle and keeps displaying the second morphism. Exemplarily, referring to fig. 8 in combination, taking the target obstacle as a virtual wall as an example, in the user interface 80, the virtual explosive 51 is adhered to the surface of the wall 81 in the second form.
And step 305, controlling the virtual explosive to generate the light column special effect.
The light column special effect refers to a column-shaped luminous special effect. Optionally, the first client controls the virtual explosive to generate a special light pillar effect, such as the light pillar 82 shown in fig. 8, when the virtual explosive maintains the second form.
Optionally, the light pillar effect includes a first light pillar effect and a second light pillar effect. The first light beam special effect is used for indicating that the virtual explosive is a virtual explosive thrown by an enemy virtual object, and the second light beam special effect is used for indicating that the virtual explosive is not a virtual explosive thrown by the enemy virtual object. Optionally, the first light pillar effect is a different color than the second light pillar effect, e.g., when the first virtual object throws a virtual explosive and the virtual explosive adheres to the target obstacle in a second state, the virtual explosive produces a red light pillar effect in a user interface of a user controlling the enemy virtual object; otherwise, the virtual explosive generates a blue light column special effect.
In summary, in the technical scheme provided by the embodiment of the application, the virtual explosives are set to be the virtual explosives with the adhesiveness, so that when a user controls the virtual object to throw the virtual explosives with the adhesiveness through triggering operation, the virtual explosives can be accurately adhered to the target obstacle, the user only needs to aim at a desired position, the actual adhesion position of the virtual explosives can be consistent with the desired position, and the hit rate of the user for controlling the virtual object to throw the virtual explosives is improved.
In addition, the virtual explosive is adhered to the target barrier and is changed from the first form to the second form, the adhesion position and the current state of the virtual explosive are convenient to determine, the motion track of the virtual explosive is calculated, the reality of a game is improved, the virtual explosive displays different light beam effects on virtual objects with different relations, and the throwing object of the virtual explosive is convenient to distinguish.
Referring to fig. 9, a flow chart of a method of throwing a virtual explosive in a virtual environment according to another embodiment of the present application is shown. In this embodiment, the execution subject of each step is taken as the first client described above for description. The method comprises the following steps (901-908):
step 901, displaying a user interface.
At step 902, a throwing instruction corresponding to a virtual explosive having adherence is obtained.
And step 903, controlling the first virtual object to throw the virtual explosive according to the throwing instruction.
And 904, controlling the virtual explosive to be adhered to the target obstacle when the virtual explosive contacts the target obstacle.
The steps 901-904 are the same as the steps 301-304, and refer to the embodiment in fig. 3, which is not described herein again.
Step 905, when it is detected that the second virtual object is located within the explosion trigger range corresponding to the virtual explosive, it is detected whether the second virtual object and the first virtual object are in an enemy relationship.
The explosion triggering range is an area range including the virtual explosive, and optionally, the explosion triggering range is an area range of a certain size with the virtual explosive as a center. Alternatively, the explosion triggering range may be a sphere, a rectangle, a cylinder, or the like, which is not limited in the embodiments of the present application. Illustratively, with combined reference to FIG. 10, in user interface 100, virtual explosives 51 are in a second configuration with a detonation trigger range of squares 101. Optionally, the detonation trigger range is not displayed in the user interface.
The second virtual object refers to a virtual object within the explosion triggering range, and optionally, the second virtual object includes the first virtual object, a virtual object in an enemy relationship with the first virtual object, and a virtual object in a non-enemy relationship (teammate relationship) with the first virtual object. Optionally, the first client detects whether a second virtual object located within the explosion trigger range is in an enemy relationship with the first virtual object.
Step 906, if the second virtual object is in an enemy relationship with the first virtual object, controlling the virtual explosive to generate the special explosion effect.
The explosion special effect refers to the simulation explosion effect in the virtual environment. Optionally, if the second virtual object within the explosion trigger range is in an enemy relationship with the first virtual object, controlling the explosion of the virtual explosive, and displaying an explosion special effect in the user interface. Illustratively, with reference to fig. 11 in combination, in the user interface 110, a first client detects that within the explosion trigger range of a virtual explosive, there is a second virtual object 111 in hostile relationship to the first virtual object, the first client controls the explosion of the virtual explosive, and displays an explosion effect 112 in the user interface 110.
It should be noted that, if the first client does not detect that the second virtual object that is in an enemy relationship with the first virtual object is located within the explosion triggering range of the virtual explosive, the first client controls the virtual explosive to play the morphing animation, and the morphing animation is converted from the first form to the second form, and displays the light beam special effect.
Step 907, when the virtual explosive explodes, the explosion damage range of the virtual explosive is obtained.
The explosion damage range refers to an area range in which the virtual explosive is damaged when exploding, and optionally, the explosion damage range is an area range with a certain size and taking the virtual explosive as a center, and the blood volume of a virtual object in the explosion damage range is reduced when the virtual explosive explodes. Alternatively, the above-mentioned explosive damage range may be a sphere, a rectangle, a cylinder, or the like, which is not limited in the embodiments of the present application.
Illustratively, referring to fig. 12, taking the explosion injury range as a sphere as an example, the explosion injury range of the virtual explosive is a sphere 121, the virtual object inside the sphere 121 will be damaged by the explosion to reduce the blood volume, and the range outside the sphere 121, which is shown as a circle or an ellipse, will not be damaged by the explosion. Optionally, the virtual object may squat to avoid the explosive injury zone.
It should be noted that the above-mentioned explosive injury range and the above-mentioned explosive triggering range may be the same or different, and this is not limited in the embodiments of the present application.
Step 908, upon detecting that the third virtual object is within the explosive damage range, calculating a distance between the third virtual object and a center position of the explosive damage range.
The third virtual object refers to a virtual object within the above-mentioned explosive damage range, and optionally, the third virtual object includes the first virtual object, a virtual object in an enemy relationship with the first virtual object, and a virtual object in a non-enemy relationship (teammate relationship) with the first virtual object.
Optionally, the virtual explosive is located at the center of the explosive damage range, and the first client calculates the distance between the virtual explosive and the third virtual object according to the position of the virtual explosive and the position of the third virtual object. Optionally, the position is expressed in the form of coordinates.
Exemplarily, assume thatThe location of the virtual explosive is (x)1,y1) The position of the third virtual object is (x)2,y2) Then the distance d between the virtual explosive and the third virtual object is:
in step 909, the damage value corresponding to the third virtual object is calculated according to the distance.
Optionally, the injury suffered by the third virtual object is inversely proportional to the distance, i.e. the smaller the distance, the greater the injury suffered by the third virtual object.
For example, assuming that the above-mentioned ratio coefficient of the injury to the distance of the third virtual object is k, the calculation formula of the injury to the third virtual object is as follows: k x d. Optionally, the above-mentioned scaling factor k is set by the first client.
To sum up, in the technical solution provided in the embodiment of the present application, when detecting that the first virtual object that throws the virtual explosive is the second virtual object that is in the enemy relationship and is within the explosion trigger range, the first client controls the virtual explosive to explode, so that the game diversity is increased, and meanwhile, the virtual object that is in the teammate relationship with the first virtual object is prevented from being mistakenly injured.
In addition, for the virtual objects in the explosion damage range, the distances from the virtual objects to the center position of the explosion damage range are different, the damage is also different, the reality of the game and the anti-excitement of the game are improved, and the product performance is improved.
In addition, the present application will be described in its entirety with reference to fig. 13, taking a first-person shooter game as an example.
At step 131, the user controls the first virtual object to switch the handheld virtual weapon to a virtual explosive with an adhesion.
Step 132, the first client judges whether the user triggers to generate a throwing instruction, and if so, the next step is carried out; if not, controlling the first virtual object to keep the handheld virtual explosive unchanged.
In step 133, the first client controls the flight of the virtual explosives.
Step 134, the first client determines whether the virtual explosive touches the obstacle, and if so, the next step is performed; if not, controlling the virtual explosive to continue flying.
The first client controls the virtual explosive to adhere to the surface of the obstacle, step 135.
And step 136, the first client controls the user interface to play the deformation animation and keeps the virtual explosive static.
Step 137, the first client judges whether a virtual object which is in an enemy relationship with the first virtual object exists in the explosion triggering range of the virtual explosive, if yes, the next step is carried out; and if not, controlling the virtual explosive to keep static.
In step 138, the first client controls the explosion of the virtual explosive and calculates the virtual object and the damage caused by the virtual object within the explosion damage range.
Illustratively, the change of the virtual explosives in the above steps is briefly described with reference to fig. 14. In any case, the user controls the first virtual object to switch to the virtual explosive, when the user triggers the generation of the throwing instruction 141, the virtual explosive enters the flight mode 142, further, the virtual explosive ends the flight mode 142 and adheres to the target obstacle, and the virtual explosive plays the deformation animation 143, so that the first form is changed into the second form. Thereafter, the virtual explosive remains in the second form and enters a quiescent mode 144 where the virtual explosive creates an explosion 145 when a virtual object that is hostile to the first virtual object is present within the detonation-triggered range of the virtual explosive.
As can be seen from the above embodiments, the virtual explosive does not explode immediately after being thrown by the first virtual object, but adheres to the surface of the target obstacle, and when a virtual object that is in an enemy relationship with the first virtual object appears within the explosion triggering range of the virtual explosive, the virtual explosive explodes and damages the virtual object that is within the explosion damage range. Therefore, when the user controls the first virtual object to use the virtual explosive, the user needs to fully know the terrain in the virtual environment, and selects a proper place to place the virtual explosive, so that the intelligence of the user is increased to a certain extent, and the game is more interesting.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 15, a block diagram of an apparatus for throwing a virtual explosive in a virtual environment according to an embodiment of the present application is shown. The device has the function of realizing the method for throwing the virtual explosives in the virtual environment, and the function can be realized by hardware or hardware executing corresponding software. The device may be a terminal or may be provided in a terminal. The apparatus 1500 may include: an interface display module 1501, a command acquisition module 1502, a throw control module 1503, a stick control module 1504, and a light pillar control module 1505.
The interface display module 1501 is configured to display a user interface, where the user interface includes a virtual environment screen, and the virtual environment screen is a screen for observing a virtual environment from a perspective of the first virtual object.
An instruction acquisition module 1502 for acquiring a throwing instruction corresponding to a virtual explosive having adherence.
And the throwing control module 1503 is used for controlling the first virtual object to throw the virtual explosive according to the throwing instruction.
An adhesion control module 1504 for controlling adhesion of the virtual explosive on a target obstacle when the virtual explosive contacts the target obstacle.
The light beam control module 1505 is used for controlling the virtual explosive to generate a light beam effect.
In an exemplary embodiment, the adhesion control module 1504 is further configured to play a morphing animation of the virtual explosive when the virtual explosive contacts the target obstacle, wherein the morphing animation is used for showing that the virtual explosive is switched from a first configuration to a second configuration, and the second configuration refers to a configuration in which the virtual explosive adheres to the target obstacle; after the deformation animation is played, controlling the virtual explosive to keep the second form for displaying.
In an exemplary embodiment, the throwing control module 1503 is further configured to obtain an initial position, an initial velocity, and a direction of the virtual explosive; calculating the motion trail of the virtual explosive according to the initial position, the initial speed and the direction of the virtual explosive; and controlling the virtual explosive to move along the motion trail.
In an exemplary embodiment, a throwing operation control for throwing the virtual explosive is included in the user interface; the instruction obtaining module 1502 is further configured to, when a touch operation signal corresponding to the throwing operation control is detected, display a motion trajectory of the virtual explosive, where one end of the motion trajectory includes a position mark, and the position mark is used to indicate an adhesion position of the virtual explosive; and when the touch operation signal is detected to disappear, confirming to acquire the throwing instruction.
In an exemplary embodiment, as shown in fig. 16, the apparatus further includes: a relationship detection module 1506 and an explosion control module 1507.
The relationship detection module 1506 is configured to detect whether a second virtual object is in an enemy relationship with the first virtual object when the second virtual object is detected to be located within an explosion trigger range corresponding to the virtual explosive.
An explosion control module 1507, configured to control the virtual explosive to generate an explosion special effect if the second virtual object and the first virtual object are in the hostile relationship.
In an exemplary embodiment, as shown in fig. 16, the apparatus further includes: a range acquisition module 1508, a distance calculation module 1509, and an injury calculation module 1510.
A range obtaining module 1508, configured to obtain an explosion injury range of the virtual explosive when the virtual explosive explodes.
A distance calculating module 1509 configured to calculate a distance between a third virtual object and a center position of the explosive damage range when the third virtual object is detected to be located within the explosive damage range.
And the injury calculating module 1510 is configured to calculate an injury value corresponding to the third virtual object according to the distance.
In an exemplary embodiment, the light pillar effect comprises a first light pillar effect and a second light pillar effect; the first light beam special effect is used for indicating that the virtual explosive is a virtual explosive thrown by an enemy virtual object, and the second light beam special effect is used for indicating that the virtual explosive is not a virtual explosive thrown by the enemy virtual object.
In summary, in the technical scheme provided by the embodiment of the application, the virtual explosives are set to be the virtual explosives with the adhesiveness, so that when a user controls the virtual object to throw the virtual explosives with the adhesiveness through triggering operation, the virtual explosives can be accurately adhered to the target obstacle, the user only needs to aim at a desired position, the actual adhesion position of the virtual explosives can be consistent with the desired position, and the hit rate of the user for controlling the virtual object to throw the virtual explosives is improved.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 17, a block diagram of a terminal 1700 according to an embodiment of the present application is shown. The terminal 1700 may be an electronic device such as a mobile phone, a tablet computer, a game console, an electronic book reader, a multimedia player, a wearable device, a PC, etc. The terminal is used for implementing the method for throwing the virtual explosives in the virtual environment provided in the embodiment. The terminal may be the terminal 10 in the implementation environment shown in fig. 1.
Specifically, the method comprises the following steps:
in general, terminal 1700 includes: a processor 1701 and a memory 1702.
The processor 1701 may include one or more processing cores, such as 4-core processors, 8-core processors, and the like. The processor 1701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1701 may also include a main processor, which is a processor for processing data in an awake state, also called a Central Processing Unit (CPU), and a coprocessor; a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1701 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and rendering content that the display screen needs to display. In some embodiments, the processor 1701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
The memory 1702 may include one or more computer-readable storage media, which may be non-transitory. The memory 1702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1702 is used to store at least one instruction, at least one program, set of codes, or set of instructions configured to be executed by one or more processors to implement the above-described method of throwing a virtual explosive in a virtual environment.
In some embodiments, terminal 1700 may also optionally include: a peripheral interface 1703 and at least one peripheral. The processor 1701, memory 1702 and peripheral interface 1703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1703 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1704, a touch display screen 1705, a camera 1706, an audio circuit 1707, a positioning component 1708, and a power source 1709.
Those skilled in the art will appreciate that the architecture shown in fig. 17 is not intended to be limiting with respect to terminal 1700, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
In an exemplary embodiment, there is also provided a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions which, when executed by a processor, implement the above-described method of throwing a virtual explosive in a virtual environment.
Optionally, the computer-readable storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a Solid State Drive (SSD), or an optical disc. The Random Access Memory may include a resistive Random Access Memory (ReRAM) and a Dynamic Random Access Memory (DRAM).
In an exemplary embodiment, a computer program product is also provided, which when executed by a processor, is for implementing the above-described method of throwing a virtual explosive in a virtual environment.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, the step numbers described herein only exemplarily show one possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the order shown in the figure, which is not limited by the embodiment of the present application.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (15)

1. A method of throwing a virtual explosive in a virtual environment, the method comprising:
displaying a user interface, wherein the user interface comprises a virtual environment picture, and the virtual environment picture is a picture for observing a virtual environment from the visual angle of a first virtual object;
acquiring a throwing instruction corresponding to a virtual explosive with adhesiveness;
controlling the first virtual object to throw the virtual explosive according to the throwing instruction;
controlling the virtual explosive to adhere to a target obstacle when the virtual explosive contacts the target obstacle;
and controlling the virtual explosive to generate a light beam special effect.
2. The method of claim 1, wherein said controlling said virtual explosive to adhere to a target obstacle when said virtual explosive contacts said target obstacle comprises:
when the virtual explosive contacts the target obstacle, playing a deformation animation of the virtual explosive, wherein the deformation animation is used for showing that the virtual explosive is switched from a first form to a second form, and the second form refers to a form that the virtual explosive is adhered to the target obstacle;
after the deformation animation is played, controlling the virtual explosive to keep the second form for displaying.
3. The method according to claim 1, wherein said controlling the first virtual object to throw the virtual explosive according to the throwing instruction comprises:
acquiring an initial position, an initial speed and a direction of the virtual explosive;
calculating the motion trail of the virtual explosive according to the initial position, the initial speed and the direction of the virtual explosive;
and controlling the virtual explosive to move along the motion trail.
4. The method according to claim 1, wherein a throwing operation control for throwing said virtual explosive is included in said user interface;
the acquiring a throwing instruction corresponding to a virtual explosive with adhesiveness includes:
when a touch operation signal corresponding to the throwing operation control is detected, displaying a motion track of the virtual explosive, wherein one end of the motion track comprises a position mark, and the position mark is used for indicating an adhesion position of the virtual explosive;
and when the touch operation signal is detected to disappear, confirming to acquire the throwing instruction.
5. The method of claim 1, wherein said controlling said virtual explosive to adhere to said target obstacle further comprises:
when detecting that a second virtual object is located in an explosion triggering range corresponding to the virtual explosive, detecting whether the second virtual object and the first virtual object are in an enemy relationship;
and if the second virtual object and the first virtual object are in the hostile relationship, controlling the virtual explosive to generate an explosion special effect.
6. The method of claim 1, wherein said controlling said virtual explosive to adhere to said target obstacle further comprises:
when the virtual explosive explodes, acquiring the explosion damage range of the virtual explosive;
upon detecting that a third virtual object is within the explosive injury range, calculating a distance between the third virtual object and a center position of the explosive injury range;
and calculating a damage value corresponding to the third virtual object according to the distance.
7. The method of any of claims 1 to 6, wherein the light pillar effect comprises a first light pillar effect and a second light pillar effect;
the first light beam special effect is used for indicating that the virtual explosive is a virtual explosive thrown by an enemy virtual object, and the second light beam special effect is used for indicating that the virtual explosive is not a virtual explosive thrown by the enemy virtual object.
8. An apparatus for throwing a virtual explosive in a virtual environment, the apparatus comprising:
the interface display module is used for displaying a user interface, wherein the user interface comprises a virtual environment picture, and the virtual environment picture is a picture for observing a virtual environment from the visual angle of a first virtual object;
the instruction acquisition module is used for acquiring a throwing instruction corresponding to the virtual explosive with adhesiveness;
the throwing control module is used for controlling the first virtual object to throw the virtual explosive according to the throwing instruction;
an adhesion control module for controlling the virtual explosive to adhere to a target obstacle when the virtual explosive contacts the target obstacle;
and the light beam control module is used for controlling the virtual explosive to generate a light beam special effect.
9. The apparatus of claim 8, wherein the adhesion control module is to:
when the virtual explosive contacts the target obstacle, playing a deformation animation of the virtual explosive, wherein the deformation animation is used for showing that the virtual explosive is switched from a first form to a second form, and the second form refers to a form that the virtual explosive is adhered to the target obstacle;
after the deformation animation is played, controlling the virtual explosive to keep the second form for displaying.
10. The apparatus of claim 8, wherein the pitch control module is to:
acquiring an initial position, an initial speed and a direction of the virtual explosive;
calculating the motion trail of the virtual explosive according to the initial position, the initial speed and the direction of the virtual explosive;
and controlling the virtual explosive to move along the motion trail.
11. The apparatus according to claim 8, wherein a throwing operation control is included in said user interface for throwing said virtual explosive;
the instruction acquisition module is configured to:
when a touch operation signal corresponding to the throwing operation control is detected, displaying a motion track of the virtual explosive, wherein one end of the motion track comprises a position mark, and the position mark is used for indicating an adhesion position of the virtual explosive;
and when the touch operation signal is detected to disappear, confirming to acquire the throwing instruction.
12. The apparatus of claim 8, further comprising:
the relationship detection module is used for detecting whether a second virtual object and the first virtual object are in an enemy relationship or not when the second virtual object is detected to be located in an explosion triggering range corresponding to the virtual explosive;
and the explosion control module is used for controlling the virtual explosive to generate an explosion special effect if the second virtual object and the first virtual object are in the hostile relationship.
13. The apparatus of claim 8, further comprising:
the range acquisition module is used for acquiring the explosion injury range of the virtual explosive when the virtual explosive explodes;
a distance calculation module, configured to calculate a distance between a third virtual object and a center position of the explosive damage range when the third virtual object is detected to be located within the explosive damage range;
and the damage calculation module is used for calculating a damage value corresponding to the third virtual object according to the distance.
14. A terminal, characterized in that the terminal comprises a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes or set of instructions, which is loaded and executed by the processor to implement a method of throwing virtual explosives in a virtual environment according to any of claims 1 to 7.
15. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions loaded and executed by a processor to implement a method of throwing virtual explosives in a virtual environment as claimed in any of claims 1 to 7.
CN201910890549.5A 2019-09-20 2019-09-20 Method, device, terminal and medium for throwing virtual explosives in virtual environment Pending CN110585712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910890549.5A CN110585712A (en) 2019-09-20 2019-09-20 Method, device, terminal and medium for throwing virtual explosives in virtual environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910890549.5A CN110585712A (en) 2019-09-20 2019-09-20 Method, device, terminal and medium for throwing virtual explosives in virtual environment

Publications (1)

Publication Number Publication Date
CN110585712A true CN110585712A (en) 2019-12-20

Family

ID=68861562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910890549.5A Pending CN110585712A (en) 2019-09-20 2019-09-20 Method, device, terminal and medium for throwing virtual explosives in virtual environment

Country Status (1)

Country Link
CN (1) CN110585712A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111080751A (en) * 2019-12-30 2020-04-28 北京金山安全软件有限公司 Collision rendering method and device
CN111228809A (en) * 2020-01-09 2020-06-05 腾讯科技(深圳)有限公司 Operation method, device, equipment and readable medium of virtual prop in virtual environment
CN111389000A (en) * 2020-03-17 2020-07-10 腾讯科技(深圳)有限公司 Using method, device, equipment and medium of virtual prop
CN111589145A (en) * 2020-04-22 2020-08-28 腾讯科技(深圳)有限公司 Virtual article display method, device, terminal and storage medium
CN111760284A (en) * 2020-08-12 2020-10-13 腾讯科技(深圳)有限公司 Virtual item control method, device, equipment and storage medium
CN112076467A (en) * 2020-09-17 2020-12-15 腾讯科技(深圳)有限公司 Method, device, terminal and medium for controlling virtual object to use virtual prop
CN112642163A (en) * 2020-12-22 2021-04-13 上海米哈游天命科技有限公司 Motion trajectory prediction method and device, electronic equipment and storage medium
WO2021143260A1 (en) * 2020-01-16 2021-07-22 腾讯科技(深圳)有限公司 Method and apparatus for using virtual props, computer device and storage medium
CN113577766A (en) * 2021-08-05 2021-11-02 百度在线网络技术(北京)有限公司 Object processing method and device
CN113750532A (en) * 2021-09-24 2021-12-07 腾讯科技(深圳)有限公司 Track display method and device, storage medium and electronic equipment
CN114100128A (en) * 2021-12-09 2022-03-01 腾讯科技(深圳)有限公司 Prop special effect display method and device, computer equipment and storage medium
WO2022048476A1 (en) * 2020-09-04 2022-03-10 腾讯科技(深圳)有限公司 Virtual object control method and apparatus, terminal, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108579089A (en) * 2018-05-09 2018-09-28 网易(杭州)网络有限公司 Virtual item control method and device, storage medium, electronic equipment
CN109200582A (en) * 2018-08-02 2019-01-15 腾讯科技(深圳)有限公司 The method, apparatus and storage medium that control virtual objects are interacted with ammunition

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108579089A (en) * 2018-05-09 2018-09-28 网易(杭州)网络有限公司 Virtual item control method and device, storage medium, electronic equipment
CN109200582A (en) * 2018-08-02 2019-01-15 腾讯科技(深圳)有限公司 The method, apparatus and storage medium that control virtual objects are interacted with ammunition

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
堡垒王炮儿: "堡垒之夜:让人又爱又恨的粘性手雷介绍!", 《哔哩哔哩:堡垒之夜:让人又爱又恨的粘性手雷介绍! *
无: "《堡垒之夜》粘性手雷多排新玩法", 《《堡垒之夜》粘性手雷多排新玩法 *
路易基: "《堡垒之夜》粘性手雷用法太风骚自杀式攻击有奇效", 《游民星空》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111080751A (en) * 2019-12-30 2020-04-28 北京金山安全软件有限公司 Collision rendering method and device
CN111228809A (en) * 2020-01-09 2020-06-05 腾讯科技(深圳)有限公司 Operation method, device, equipment and readable medium of virtual prop in virtual environment
WO2021143260A1 (en) * 2020-01-16 2021-07-22 腾讯科技(深圳)有限公司 Method and apparatus for using virtual props, computer device and storage medium
CN111389000A (en) * 2020-03-17 2020-07-10 腾讯科技(深圳)有限公司 Using method, device, equipment and medium of virtual prop
CN111589145A (en) * 2020-04-22 2020-08-28 腾讯科技(深圳)有限公司 Virtual article display method, device, terminal and storage medium
CN111760284A (en) * 2020-08-12 2020-10-13 腾讯科技(深圳)有限公司 Virtual item control method, device, equipment and storage medium
WO2022048476A1 (en) * 2020-09-04 2022-03-10 腾讯科技(深圳)有限公司 Virtual object control method and apparatus, terminal, and storage medium
US11904241B2 (en) 2020-09-04 2024-02-20 Tencent Technology (Shenzhen) Company Limited Virtual item control method and apparatus, terminal, and storage medium
TWI796777B (en) * 2020-09-04 2023-03-21 大陸商騰訊科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
WO2022057624A1 (en) * 2020-09-17 2022-03-24 腾讯科技(深圳)有限公司 Method and apparatus for controlling virtual object to use virtual prop, and terminal and medium
CN112076467A (en) * 2020-09-17 2020-12-15 腾讯科技(深圳)有限公司 Method, device, terminal and medium for controlling virtual object to use virtual prop
CN112642163A (en) * 2020-12-22 2021-04-13 上海米哈游天命科技有限公司 Motion trajectory prediction method and device, electronic equipment and storage medium
CN113577766A (en) * 2021-08-05 2021-11-02 百度在线网络技术(北京)有限公司 Object processing method and device
CN113577766B (en) * 2021-08-05 2024-04-02 百度在线网络技术(北京)有限公司 Object processing method and device
CN113750532A (en) * 2021-09-24 2021-12-07 腾讯科技(深圳)有限公司 Track display method and device, storage medium and electronic equipment
CN113750532B (en) * 2021-09-24 2023-07-14 腾讯科技(深圳)有限公司 Track display method and device, storage medium and electronic equipment
CN114100128A (en) * 2021-12-09 2022-03-01 腾讯科技(深圳)有限公司 Prop special effect display method and device, computer equipment and storage medium
CN114100128B (en) * 2021-12-09 2023-07-21 腾讯科技(深圳)有限公司 Prop special effect display method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110585712A (en) Method, device, terminal and medium for throwing virtual explosives in virtual environment
US11712634B2 (en) Method and apparatus for providing online shooting game
CN111481932B (en) Virtual object control method, device, equipment and storage medium
CN110465087B (en) Virtual article control method, device, terminal and storage medium
CN110585731B (en) Method, device, terminal and medium for throwing virtual article in virtual environment
CN110548288B (en) Virtual object hit prompting method and device, terminal and storage medium
CN111475573B (en) Data synchronization method and device, electronic equipment and storage medium
CN111589145B (en) Virtual article display method, device, terminal and storage medium
JP2022539289A (en) VIRTUAL OBJECT AIMING METHOD, APPARATUS AND PROGRAM
CN113041622B (en) Method, terminal and storage medium for throwing virtual throwing object in virtual environment
CN112870715B (en) Virtual item putting method, device, terminal and storage medium
CN110585706B (en) Interactive property control method, device, terminal and storage medium
CN112044084B (en) Virtual item control method, device, storage medium and equipment in virtual environment
CN112138384A (en) Using method, device, terminal and storage medium of virtual throwing prop
CN111359206B (en) Virtual object control method, device, terminal and storage medium
US20220379209A1 (en) Virtual resource display method and related apparatus
CN113713383B (en) Throwing prop control method, throwing prop control device, computer equipment and storage medium
CN110801629A (en) Method, device, terminal and medium for displaying virtual object life value prompt graph
CN111318020B (en) Virtual object control method, device, equipment and storage medium
CN109806594B (en) Trajectory display method, device and equipment in virtual environment
CN112245917B (en) Virtual object control method, device, equipment and storage medium
CN113617030B (en) Virtual object control method, device, terminal and storage medium
WO2023011063A1 (en) Sound prompting method and apparatus in virtual world, and device and storage medium
CN112057859B (en) Virtual object control method, device, terminal and storage medium
CN112426725A (en) Virtual object control method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220

RJ01 Rejection of invention patent application after publication