CN111111219A - Control method and device of virtual prop, storage medium and electronic device - Google Patents
Control method and device of virtual prop, storage medium and electronic device Download PDFInfo
- Publication number
- CN111111219A CN111111219A CN201911320569.5A CN201911320569A CN111111219A CN 111111219 A CN111111219 A CN 111111219A CN 201911320569 A CN201911320569 A CN 201911320569A CN 111111219 A CN111111219 A CN 111111219A
- Authority
- CN
- China
- Prior art keywords
- target
- screen
- pressing force
- shooting
- prop
- 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
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
- A63F13/2145—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing 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
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/10—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
- A63F2300/1037—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted for converting control signals received from the game device into a haptic signal, e.g. using force feedback
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/64—Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8076—Shooting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a control method and device of a virtual prop, a storage medium and an electronic device. Wherein, the method comprises the following steps: the method comprises the steps of adopting a target virtual shooting prop controlled by a target virtual operation object displayed in a target game application, obtaining a pressing force generated by pressing a screen in a target area of the screen under the condition that the target virtual shooting prop is in a use-permitted state, and controlling the target virtual shooting prop to execute a shooting operation under the condition that the pressing force is greater than or equal to a preset threshold value. The invention solves the technical problems of single mode for controlling the virtual shooting prop and poor user experience.
Description
Technical Field
The invention relates to the field of computers, in particular to a method and a device for controlling a virtual prop, a storage medium and an electronic device.
Background
In most game applications on the market at present, the mode for controlling the virtual shooting props is single, the use of the related virtual shooting props is realized only by performing touch operation on the touch buttons on the conventional virtual shooting props, but along with the increasing playing methods of the game applications, the types of the virtual shooting props are also more and more, the use of different shooting props is realized through different touch buttons, so that the excessive touch buttons are possibly arranged on a display interface, the use experience of a user is influenced, and the playing methods are relatively too single.
The virtual shooting stage property is only controlled through judging the time of holding power to the current mode control virtual shooting stage property through holding power, that is to say, the user determines the size and the degree of holding power through the time of pressing touch button, and the mode of holding power is too single, and the experience of control virtual shooting stage property is relatively poor.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling a virtual prop, a storage medium and an electronic device, which are used for at least solving the technical problems of single mode for controlling the virtual prop and poor user experience.
According to an aspect of an embodiment of the present invention, a method for controlling a virtual item is provided, including: displaying a target virtual shooting prop controlled by a target virtual operation object in a target game application; under the condition that the target virtual shooting prop is in a state of allowing use, acquiring the pressing force generated by pressing the screen in a target area of the screen, wherein the screen is used for displaying a game picture of the target game application; and controlling the target virtual shooting prop to execute a shooting operation in the target game application under the condition that the pressing force is greater than or equal to a preset threshold value.
Optionally, after acquiring a pressing force degree generated by pressing the screen within a target area of the screen, the method further includes: and displaying first prompt information in the target game application under the condition that the pressing force is smaller than the preset threshold, wherein the first prompt information is used for prompting that the target virtual shooting prop is in the power storage state and cannot execute the shooting operation.
Optionally, in a case that the degree of pressing is greater than or equal to a predetermined threshold, controlling the target virtual shooting prop to perform a shooting operation in the target game application, including: under the condition that the degree of pressing is greater than or equal to the preset threshold value, directly controlling the target virtual shooting prop to execute shooting operation in the target game application; or
And if the degree of pressing is greater than or equal to the preset threshold, detecting whether the degree of pressing is changed from being greater than or equal to the preset threshold to 0, and if the degree of pressing is detected to be changed from being greater than or equal to the preset threshold to 0, controlling the target virtual shooting prop to execute shooting operation in the target game application.
Optionally, after detecting whether the degree of pressing force becomes 0, the method further includes: and displaying second prompt information in the target game application under the condition that the pressing force degree is changed into a value in a target force range, the duration in the target force range exceeds a preset duration, and then the value in the target force range is changed into 0, wherein the target force range is less than 0 and is less than the preset threshold, and the second prompt information is used for prompting that the target virtual shooting prop finishes storing force and cannot execute the shooting operation.
Optionally, before the acquiring a pressing force degree generated by pressing the screen in a target area of the screen, the method further includes: and under the condition that the target virtual shooting prop is in a first shooting control mode, canceling to display a virtual firing button in the target game application, wherein the virtual firing button is used for controlling the virtual shooting prop of the target virtual operation object to execute shooting operation.
Optionally, the method further comprises: acquiring a mode switching instruction in the target game application; responding to the mode switching instruction, and setting the target virtual shooting prop to be in a second shooting control mode; displaying the virtual firing button in the target game application if the target virtual firing prop is in the second firing control mode.
Optionally, the acquiring a pressing force generated by pressing the screen in a target area of the screen includes: acquiring a pressing force generated by pressing the screen in a right half area of the screen, wherein the target area includes the right half area, and a display area of the screen is divided into a left half area and the right half area; alternatively, the first and second electrodes may be,
acquiring a pressing force generated by pressing the screen in an effective area of the screen, wherein the target area comprises the effective area, a display area of the screen is divided into a left half area and a right half area, and the effective area is an area except for an area where a virtual operation button is located in the right half area.
Optionally, after controlling the target virtual shooting prop to perform a shooting operation in the target game application, the method further includes: and setting the target virtual shooting prop to be in a cooling state, wherein the time length of the target virtual shooting prop in the cooling state is set to be a preset time length, and the target virtual shooting prop in the cooling state is set to be incapable of executing shooting operation.
Optionally, after the acquiring a pressing force degree generated by pressing the screen within a target area of the screen, the method further includes: displaying accumulation progress information in the target game application, wherein the accumulation progress information is used for representing accumulation progress in positive correlation with the pressing degree; and under the condition that the accumulated force progress reaches a preset progress, determining that the pressing force degree is greater than or equal to the preset threshold value.
According to another aspect of the embodiments of the present invention, there is also provided a control device of a virtual item, including: the first display module is used for displaying a target virtual shooting prop controlled by a target virtual operation object in a target game application; the acquisition module is used for acquiring the pressing force generated by pressing the screen in the target area of the screen under the condition that the target virtual shooting prop is in a state of allowing use, wherein the screen is used for displaying a game picture of the target game application; and the control module is used for controlling the target virtual shooting prop to execute shooting operation in the target game application under the condition that the pressing force degree is greater than or equal to a preset threshold value.
Optionally, the apparatus further comprises: and the second display module is used for displaying first prompt information in the target game application under the condition that the pressing force degree is smaller than the preset threshold value after the pressing force degree generated by pressing the screen in the target area of the screen is obtained, wherein the first prompt information is used for prompting that the target virtual shooting prop is in the state of power storage and cannot execute the shooting operation.
Optionally, the control module comprises:
the first control unit is used for directly controlling the target virtual shooting prop to execute shooting operation in the target game application under the condition that the pressing force degree is greater than or equal to the preset threshold value; or
And the second control unit is used for detecting whether the pressing force is changed from the value which is greater than or equal to the preset threshold value to 0 or not when the pressing force is greater than or equal to the preset threshold value, and controlling the target virtual shooting prop to execute a shooting operation in the target game application when the pressing force is detected to be changed from the value which is greater than or equal to the preset threshold value to 0.
Optionally, the apparatus is further configured to: and after detecting whether the pressing force degree is changed to 0, displaying second prompt information in the target game application under the conditions that the pressing force degree is changed to a value in a target force range, the duration of the pressing force degree in the target force range exceeds a preset duration, and then the value in the target force range is changed to 0, wherein 0< the target force range < the preset threshold value, and the second prompt information is used for prompting that the target virtual shooting prop finishes power storage and cannot execute the shooting operation.
Optionally, the apparatus is further configured to: before the pressing force generated by pressing the screen in the target area of the screen is obtained, under the condition that the target virtual shooting prop is in a first shooting control mode, a virtual firing button is cancelled to be displayed in the target game application, wherein the virtual firing button is used for controlling the virtual shooting prop which is possessed by the target virtual operation object to execute shooting operation.
Optionally, the apparatus is further configured to: acquiring a mode switching instruction in the target game application; responding to the mode switching instruction, and setting the target virtual shooting prop to be in a second shooting control mode; displaying the virtual firing button in the target game application if the target virtual firing prop is in the second firing control mode.
Optionally, the obtaining module includes:
a first acquiring unit configured to acquire a pressing force generated by pressing the screen in a right half area of the screen, wherein the target area includes the right half area, and a display area of the screen is divided into a left half area and the right half area; alternatively, the first and second electrodes may be,
and a second acquiring unit configured to acquire a degree of pressing force generated by pressing the screen within an effective area of the screen, wherein the target area includes the effective area, a display area of the screen is divided into a left half area and a right half area, and the effective area is an area other than an area where the virtual operation button is located in the right half area.
Optionally, the apparatus is further configured to: after the target virtual shooting prop is controlled to execute the shooting operation in the target game application, the target virtual shooting prop is set to be in a cooling state, wherein the time length of the target virtual shooting prop in the cooling state is set to be a preset time length, and the target virtual shooting prop in the cooling state is set to be incapable of executing the shooting operation.
Optionally, the apparatus is further configured to: after the obtaining of the pressing force degree generated by pressing the screen in the target area of the screen, displaying accumulation progress information in the target game application, wherein the accumulation progress information is used for representing accumulation progress in positive correlation with the pressing force degree; and under the condition that the accumulated force progress reaches a preset progress, determining that the pressing force degree is greater than or equal to the preset threshold value.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, where the computer program is configured to execute the control method of the virtual prop in any one of the above embodiments when the computer program runs.
According to another aspect of the embodiments of the present invention, there is also provided an electronic apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the control method of the virtual prop in any of the embodiments by using the computer program.
In the embodiment of the invention, the target virtual shooting prop controlled by the target virtual operation object is displayed in the target game application, the pressing force generated by pressing the screen in the target area of the screen is acquired under the condition that the target virtual shooting prop is in a state of allowing use, and the target virtual shooting prop is controlled to execute the shooting operation under the condition that the pressing force is greater than or equal to the preset threshold value, namely, the target virtual shooting prop is controlled by detecting the pressing force, so that the purpose of controlling the use mode of the virtual shooting prop is enriched, the enrichment play method is realized, the technical effect of using experience of a user is optimized, and the technical problems of single mode of controlling the virtual shooting prop and poor user experience are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of an application environment of a control method for a virtual item according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for controlling an optional virtual item according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative control method for a virtual prop, according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another alternative method for controlling a virtual prop, according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of another alternative control method for a virtual prop, according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another alternative control method for a virtual prop, according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another alternative control method for a virtual prop, according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another alternative control method for a virtual prop, according to an embodiment of the present invention;
FIG. 9 is a schematic flow chart of another alternative method for controlling a virtual prop, according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a control device of an optional virtual prop according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial nouns or terms referred to in the embodiments of the present application will be described:
shooting application: including, but not limited to, first person shooter applications, third person shooter applications, etc., all games that use hot arms for remote attacks.
A First-person shooting application (FPS) belongs to a branch of an Action Game (ACT), and as the name suggests, the First-person perspective shooting application is a shooting application that shoots at the subjective perspective of an operator.
A Third person shooter application (TPS), also a type of shooter application, differs from the first person shooter application in that the operator-controlled virtual control object is visible in the application display interface.
3D touch (three-dimensional touch): the utility model provides a three-dimensional touch technology, for the operation of multi-point touch in plane two-dimensional space, 3D touch technology has increased the perception to pressing the pressure degree, can carry out long press operation through different dynamics, and the screen is based on the different touch operation of pressing the pressure degree that senses, feeds back the operation effect that different dynamics correspond.
The invention is illustrated below with reference to examples:
according to an aspect of the embodiment of the present invention, a method for controlling a virtual item is provided, and optionally, in this embodiment, the method for controlling a virtual item may be applied to a hardware environment formed by a server 101 and a user terminal 103 as shown in fig. 1. As shown in fig. 1, a server 101 is connected to a terminal 103 through a network, which may be used to provide services (such as game services, application services, etc.) for a user terminal or a client installed on the user terminal, and a database 105 may be provided on the server or separately from the server, and may be used to provide data storage services for the server 101, and the network includes but is not limited to: the user terminal 103 is not limited to a PC, a mobile phone, a tablet computer, etc. in the wide area network, the metropolitan area network, or the local area network.
In an optional embodiment, a method for controlling a virtual item is provided, fig. 2 is a schematic flow chart of a method for controlling a virtual item according to an embodiment of the present invention, and as shown in fig. 2, the method for controlling a virtual item includes the following steps:
s202, displaying a target virtual shooting prop controlled by a target virtual operation object in a target game application;
s204, under the condition that the target virtual shooting prop is in a state of allowing use, acquiring the pressing force generated by pressing a screen in a target area of the screen, wherein the screen is used for displaying a game picture of a target game application;
and S206, controlling the target virtual shooting prop to execute the shooting operation in the target game application under the condition that the pressing force is greater than or equal to the preset threshold value.
Optionally, in this embodiment, the target game application may include, but is not limited to, a target shooting game application, a target strategy game application, a target fighting game application, a target formation game application, and the like, where, taking the target game application as an example, the target shooting game application includes a first-person shooting game application, a third-person shooting game application, and a shooting game application capable of switching between a first person and a third person, and the like, where fig. 3 is a schematic diagram of a control method of a virtual prop according to an embodiment of the present invention, and as shown in fig. 3, the application display interfaces may be divided into a first-person display interface 301 and a third-person display interface 303, and include, but are not limited to, a display interface for switching between a first person and a third person by using a viewing angle switching key.
Alternatively, in this implementation, the target virtual shooting props may be configured to include, but not limited to, target virtual shooting props triggered to be used in a power-saving manner, such as remote shooting weapons, close combat weapons, throws, and the like, and the target virtual shooting props may be configured as unconventional target shooting props, in other words, target virtual shooting props triggered to be used in a power-saving manner, which are pre-configured or acquired in other manners. The above-mentioned use of the target virtual shooting prop in the form of power storage can realize that different effects of using the target virtual shooting prop can be obtained by storing different energies, and the energies can include but are not limited to realize power storage control by controlling the time of touch operation performed by the virtual operation object, and can also include but not limited to control power storage by sensing different touch pressing pressures through a screen based on 3D touch and detecting the obtained pressing pressures.
Optionally, in this embodiment, the condition that the target virtual shooting prop is in the state of allowing use may include, but is not limited to, controlling the target virtual operation object to set the virtual operation prop in use as the target virtual shooting prop, and the target virtual shooting prop is in the state of allowing use, and the state that the target virtual shooting prop is in allowing use may include, but is not limited to, that the target virtual shooting prop is not in the cooling time, or that the target virtual shooting prop has been activated to the state of allowing use.
Alternatively, in this embodiment, a game interface for controlling a target virtual operation object may be displayed on the screen, the target area may be a display area capable of acquiring a degree of pressing force generated by pressing the screen, for example, the target area may be set as an area where a touch pressing operation is performed based on 3D touch, and the degree of pressing force may be perceived in the target area by a 3D touch technology. The predetermined threshold may be set by the server, or may be set through a setting interface of the terminal, where the pressing force degree is greater than or equal to the predetermined threshold, and the condition of the pressing force degree being greater than or equal to the predetermined threshold may include but is not limited to that the actual size of the detected pressing force degree exceeds a preset pressing force degree threshold, and may also include but is not limited to that the progress bar for identifying the detected pressing force degree reaches a preset position (where, the larger the pressing force degree is, the higher the percentage value of the progress bar is), and a specific manner of setting the predetermined threshold may include but is not limited to one or more of the above-mentioned embodiments.
Through this embodiment, adopt and show the virtual shooting stage property of target of the control of the virtual operation object of target in the target game application, under the condition that the virtual shooting stage property of target is in the state that allows using, obtain by pressing in the target area of screen the degree of pressure that the screen produced, under the condition that the degree of pressure is greater than or equal to predetermined threshold value, the virtual shooting stage property of control target carries out the mode of shooting operation, realize the virtual shooting stage property of control target based on the mode of power storage through detecting the degree of pressure, reached the purpose of abundant control virtual shooting stage property user mode of use, thereby realized abundant play, optimize the technological effect that the user used experience, and then solved control virtual shooting stage property mode singleness, user experience relatively poor technical problem.
In an optional embodiment, after acquiring the pressing force generated by pressing the screen in the target area of the screen, the method further includes: and displaying first prompt information in the target game application under the condition that the pressing force is smaller than a preset threshold, wherein the first prompt information is used for prompting that the target virtual shooting prop is in the accumulated force and cannot execute the shooting operation.
Optionally, in this embodiment, the first prompt message may include, but is not limited to, a prompt message for prompting that the target virtual shooting prop is in the power storage state and cannot perform the shooting operation temporarily, such as multimedia prompt messages including characters, icons, and voices, and may further include, but is not limited to, a pressing force progress bar set according to a pressing force of the user, for example, the user needs to complete the power storage operation when the pressing force is 100 degrees, when the pressing force of the user is 50 degrees, the progress bar displays to stay at a position preset for displaying 50% of progress, when the pressing force is changed, the progress bar changes to be a progress bar for indicating that the pressing force is changed, in other words, the user may determine a state of the current virtual shooting prop by observing whether the progress bar is at a progress position displayed when the power storage is completed. Fig. 4 is a schematic diagram of a control method of a virtual item according to an embodiment of the present invention, as shown in fig. 4, fig. 4 is an application display interface displayed in a terminal, and a ring in the middle of fig. 4 is an example of the first prompt message, where the first prompt message is described aboveThe degree of filling of the ring is used to identify the state of the target virtual shooting prop, the filled part of the ring can be identified by the area of the shaded part in the ring, when the ring part in fig. 4 is not filled, it indicates that the state of the target virtual shooting prop is a state in which the shooting operation cannot be performed temporarily, and the ring is filled based on the pressing force degree of the detection screen, in other words, the pressing force degree is positively correlated with the filled degree of the ring, for example, y ═ ax + b, (where a > 0, b ≧ 0, a is a ratio representing a positive proportional relationship, b is a non-negative number, y is the area of the shaded part of the ring, and x is the pressing force degree), and may also include but not limited to the case where the filled degree of the ring is exponentially and positively correlated with the pressing force degree, for example, y ═ a ≧ ax(wherein a > 1, y is the area of the shaded portion of the circle, and x is the degree of pressing).
Through this embodiment, the user can clearly audio-visually learn the current user state of the target virtual shooting stage property, is favorable to making things convenient for the use of the target virtual shooting stage property, has perfected the use experience that the user used the target virtual shooting stage property, has enriched the play method that the target game was used.
In an alternative embodiment, in the case that the pressing force degree is greater than or equal to the predetermined threshold, controlling the target virtual shooting prop to execute a shooting operation in the target game application includes: under the condition that the pressing force degree is greater than or equal to a preset threshold value, directly controlling the target virtual shooting prop to execute shooting operation in the target game application; or, in the case that the pressing force degree is greater than or equal to the preset threshold, whether the pressing force degree is changed from greater than or equal to the preset threshold to 0 is detected, and in the case that the pressing force degree is detected to be changed from greater than or equal to the preset threshold to 0, the target virtual shooting prop is controlled to execute the shooting operation in the target game application.
Optionally, in this embodiment, in the case that the pressing force degree is greater than or equal to the predetermined threshold, the directly controlling the target virtual shooting prop to perform the shooting operation in the target game application may include, but is not limited to, directly performing a control operation on the target virtual shooting prop when the detected pressing force degree reaches a preset pressing force degree threshold, or may also include, but is not limited to, directly performing a control operation on the target virtual shooting prop when a progress bar for identifying the pressing force degree reaches 100%.
Alternatively, in this embodiment, the detecting that the pressing force degree becomes 0 may include, but is not limited to, that the detected actual pressing force degree becomes 0, or may further include changing a progress bar for identifying the pressing force degree into a progress bar state for displaying that the pressing force degree is 0. The pressing force of 0 may include, but is not limited to, that the user does not press the screen any more, in other words, the user does not press the target area of the screen.
The above is only an example, and the control mode of the target virtual shooting prop may be specifically set according to actual requirements, and the present invention is not limited in any way.
Through this embodiment, the user can press the operation to the target area of screen, accomplishes the use to the virtual shooting stage property of target, has richened the playing method that the target game was used, has optimized user's use and has experienced, can carry out the differentiation of certain degree to user's operation level.
In an optional embodiment, after detecting whether the degree of pressing force becomes 0, the method further includes: and under the condition that the pressing force degree is changed into a value in a target force range, the duration in the target force range exceeds a preset duration, and then the value in the target force range is changed into 0, displaying second prompt information in the target game application, wherein the target force range is more than 0 and less than a preset threshold, and the second prompt information is used for prompting that the target virtual shooting prop finishes power storage and cannot execute shooting operation.
Optionally, in this embodiment, the target strength range may include, but is not limited to, being set by a server, and may also include, but is not limited to, being set by a user in a setting option of a terminal. The preset time period is preset by a system, the detecting that the pressing force is changed from the value in the target force range to 0 may include, but is not limited to, releasing the pressing operation on the target area in the screen, and since the duration of the pressing force in the target force range exceeds the preset time period, it is determined to cancel the control operation on the target virtual shooting prop, which may be the same as or different from the case where the pressing force is less than the preset threshold, the second prompt message may be the same as or different from the first prompt message in the presentation manner, and may be preset according to an actual situation, which is not specifically limited by the present invention.
Optionally, in this embodiment, the second prompt information may also be displayed in the target game application in another manner, for example, a touch button a shown in fig. 4 is provided on the game interface, and after the user performs a touch operation such as "click" on the touch button a, the third prompt information for indicating cancellation of the press operation is displayed on the screen, which may be the same as or different from the first prompt information or the second prompt information. The above is merely an example, and the specific manner for displaying the third prompting message may further include, but is not limited to, one or more combinations of the above.
Through this embodiment, the user can be through when carrying out the control operation to the virtual shooting stage property of target, after the pressing force degree surpassed preset threshold value, can also realize the correction to the control operation through reducing the pressing force degree, because foretell virtual shooting stage property of target is unconventional virtual shooting stage property, consequently, the number of times of use or the live time of foretell virtual shooting stage property of target all have the condition restriction of predetermineeing, revise through the above-mentioned control mode to the virtual shooting stage property of target, the play method that the target game was used can be enriched, promote the utilization ratio of the virtual shooting stage property of target, avoid the virtual shooting stage property of target to be misused or other circumstances that need change control mode.
In an optional embodiment, before acquiring the pressing force generated by pressing the screen in the target area of the screen, the method further includes: and under the condition that the target virtual shooting prop is in the first shooting control mode, canceling to display a virtual firing button in the target game application, wherein the virtual firing button is used for controlling the virtual shooting prop which the target virtual operation object has to execute the shooting operation.
Optionally, in this embodiment, the first shooting control mode may be set by a server, or may be set by a user through a terminal, where the first shooting control module may be associated with a target virtual shooting prop, for example, the first shooting control mode is bound with the target virtual shooting prop, and when the user controls a target virtual operation object to switch a used prop to the target virtual shooting prop, an operation mode of the user is simultaneously switched to the first shooting control mode; furthermore, the first shooting control mode may be associated with a virtual operation object, for example, the first shooting control mode may be bound to the virtual operation object, and the first shooting control mode may be used when the virtual operation object is controlled to operate.
Optionally, in this embodiment, the first shooting control mode may include, but is not limited to, a 3D touch operation mode, a normal touch operation mode, and the like, where the normal touch operation mode requires that control over the target virtual shooting item is completed by touching the virtual firing button, where fig. 5 is a schematic diagram of another virtual item control method according to an embodiment of the present invention, and as shown in fig. 5, control over the target virtual shooting item is achieved by performing touch operation on the virtual firing button in fig. 5. The 3D touch operation mode may delete the virtual firing button, and implement control of the target virtual shooting item based on the 3D touch by performing a pressing operation in a preset area, where fig. 6 is a schematic diagram of another virtual item control method according to an embodiment of the present invention, and as shown in fig. 6, after switching to a first shooting control mode based on the 3D touch, the virtual firing button in fig. 5 is hidden, so as to obtain an operation interface shown in fig. 6, and by performing a pressing operation in the preset area in fig. 6, control of the target virtual shooting item is implemented, for example, the virtual firing button at the position C in fig. 6 disappears, and an area A, B, C is set as a 3D touch area capable of detecting a pressing force degree, an area A, B, C is merely an example, and a specific 3D touch area may be flexibly set according to actual situations, all right half screen areas of the screen display can be set as 3D touch areas, and areas of the right half screen areas except other touch buttons can also be set as 3D touch areas.
Through this embodiment, through hiding virtual firing button for the user can carry out the control operation to the virtual shooting stage property of target based on a plurality of positions of screen, has richened user's user mode, has improved user's operation experience.
In an optional embodiment, the method further includes: acquiring a mode switching instruction in a target game application; responding to the mode switching instruction, and setting the target virtual shooting prop to be in a second shooting control mode; in the event the target virtual shooting prop is in the second shooting control mode, displaying a virtual firing button in the target game application.
Optionally, in this embodiment, the second shooting control mode may include, but is not limited to, the above-mentioned ordinary touch operation mode, the control mode is switched by a mode switching button preset in the game interface, the different shooting control modes may also be switched by "clicking" a touch button used for turning on the first shooting control mode in the setting interface, and the different shooting control modes may also be switched by, but is not limited to, voice triggering, shaking the terminal of the user, and switching according to an application display scene.
Through this embodiment, can carry out the switching operation of different control modes according to different users 'demand, laminate different suitable crowd's demand, reach the technological effect who optimizes user experience.
In an alternative embodiment, acquiring a pressing force degree generated by pressing the screen in the target area of the screen includes: acquiring a pressing force generated by pressing the screen in a right half area of the screen, wherein the target area comprises the right half area, and a display area of the screen is divided into a left half area and a right half area; or acquiring the pressing force generated by pressing the screen in the effective area of the screen, wherein the target area comprises the effective area, the display area of the screen is divided into a left half area and a right half area, and the effective area is the area except the area where the virtual operation button is located in the right half area.
Alternatively, in this embodiment, the target area of the screen may be divided in advance, for example, the display area of the screen may be divided into a left half area and a right half area, or an upper half area and a lower half area, and of course, other dividing methods may also be adopted, for example, a partial area thereof is set as a target area that can be operated based on a 3D touch model, and then a pressing operation is performed based on the target area to detect the pressing force degree of the target area. The target area of the screen may be further divided into areas other than the area where the virtual operation button is located in the target area, for example, an area defined by a circular shaded portion in fig. 6 is an area other than the area where the virtual operation button is located in the target area.
Through the embodiment, the target area operated based on the 3D touch model is selected as the area except the area where the virtual operation button is located in the target area, so that the pressing operation of the user based on the 3D touch model can be enriched on the premise of not influencing the use of the virtual touch button in the current target area, and compared with the 3D touch operation performed on the virtual firing button, the area range capable of performing the 3D touch operation is enlarged, and the use experience of the user is improved.
In an optional embodiment, after controlling the target virtual shooting prop to perform the shooting operation in the target game application, the method further includes: and setting the target virtual shooting prop to be in a cooling state, wherein the time length of the target virtual shooting prop in the cooling state is set to be a preset time length, and the target virtual shooting prop in the cooling state is set to be incapable of executing the shooting operation.
Optionally, in this embodiment, the state of the target virtual shooting prop being cooled may correspond to a state different from the state of the target virtual shooting prop being allowed to be used, the predetermined time period may be set by the server, and the predetermined time periods of different target virtual shooting props may be the same or different.
Optionally, in this embodiment, the target virtual shooting item may be in a cooling state, including but not limited to that shown in fig. 7, fig. 7 is a schematic diagram of another virtual item control method according to an embodiment of the present invention, an icon for displaying the state of the target virtual shooting item is arranged in the game interface, such as an icon a shown in fig. 7, a user may know the current state of the target virtual shooting item (for example, the target virtual shooting item is in a cooling state) by observing the icon a, and may include but not limited to distinguishing different states by a change of the icon a, for example, when the icon a is in a highlight or blinking state, the target virtual shooting item is considered to be in a use-permitted state, when the icon a is in a dark or disappearance state, the target virtual shooting item is in a non-use-permitted state, the target virtual shooting prop may also be indicated in a cooled state by setting a countdown on the icon.
The above is merely an example, and the specific manner for identifying the state of the target virtual shooting prop may include, but is not limited to, one or more combinations of the above, and the present invention is not limited in any way.
Through this embodiment, can distinguish virtual shooting stage property into the state of allowwing to use and the state of not allowwing to use with the virtual shooting stage property of target through the mode of setting up the cooling time length, can further satisfy different users 'demand, improve user's use and experience.
In an optional embodiment, after acquiring the pressing force generated by pressing the screen in the target area of the screen, the method further includes: displaying accumulation progress information in the target game application, wherein the accumulation progress information is used for representing accumulation progress in positive correlation with the pressing force degree; in the case where the force accumulation progress reaches a predetermined progress, it is determined that the degree of pressing force is greater than or equal to a predetermined threshold value.
Alternatively, in this embodiment, the accumulated force progress information may be identified by the accumulated force progress bar, and the positive correlation between the accumulated force progress and the pressing force degree may include, but is not limited to, a proportional relationship, for example, y ═ ax + b, (where a > 1, b > 0, and a is a ratio representing the positive proportional relationshipB is a non-negative number, y is an accumulation schedule, and x is a degree of compression), and may also include, but is not limited to, an exponential positive correlation, e.g., y ═ ax(wherein a > 1, y is the accumulation rate, and x is the degree of pressing force).
The above is merely an example, and the specific positive correlation may include, but is not limited to, one or more of the above, and the present invention is not particularly limited.
Alternatively, in this embodiment, the predetermined rate of progress of the accumulation schedule may include but is not limited to the predetermined rate of progress shown in FIG. 8, wherein, fig. 8 is a schematic view of another control method for a virtual prop according to the embodiment of the present invention, when the power accumulation degree reaches the preset pressing force degree threshold value, the icon for displaying the power accumulation progress changes accordingly (for example, the pressing force degree progress bar shown in fig. 8 includes a circular ring), for identifying that the degree of pressing is greater than or equal to a predetermined threshold, and may include, but is not limited to, setting a preset animation on the virtual shooting prop for indicating that the accumulated force reaches a predetermined level, for identifying that the pressing force is greater than or equal to a predetermined threshold, e.g., the preset pressing force threshold has been reached in fig. 8, then a preset animation which represents that the accumulated force reaches a preset schedule is played in front of the virtual prop, for example, effects of virtual electric light, virtual flame and the like are achieved.
The above is merely an example, and the specific manner for identifying that the pressing force degree is greater than or equal to the predetermined threshold, and the force accumulation progress reaches the predetermined progress may include, but is not limited to, one or more combinations of the above, and the present invention is not limited in this respect.
Through this embodiment, whether the control to the virtual shooting stage property of target can be accomplished in the press operation that the user can understand going on at present, user's operation experience has been enriched, the playing method of perfect application.
The invention is generally illustrated below with reference to specific examples:
fig. 9 is a schematic diagram of a playing method of a target animation according to an embodiment of the present invention, and as shown in fig. 9, a specific flow of the above embodiment includes:
and S902, starting.
In S904, the player (corresponding to the virtual operation object) switches the control mode of the virtual operation object to the 3D touch mode (corresponding to the first shooting control mode).
S906, it is judged whether or not the power storage weapon (corresponding to the virtual shooting prop described above) is activated and used, and if not, the process returns to step S904.
S908, after activation of the power weapon, switches out the power weapon.
S910 determines whether or not the firing area (corresponding to the target area) is pressed (corresponding to the pressing operation), and if the determination result is no, the process returns to step S908.
And S912, calculating the pressing force and displaying a progress bar.
S914 determines whether or not the power accumulation is completed (corresponding to the pressing force degree being greater than or equal to the predetermined threshold), and returns to step S912 if the power accumulation is not completed.
S916, determine whether the player clicks a cancel button (corresponding to the aforementioned touch button triggering the third prompt message indicating the cancellation of the pressing operation), if it is determined that the button is clicked, go to step S918, and if it is determined that the button is not clicked, go to step S920.
And S918, canceling the firing state (corresponding to the control operation for the target virtual shooting prop).
S920, it is determined whether the player is loose (corresponding to the case where the detected pressing force level is changed from the value in the target force range to 0), and if the determination result is negative, the process returns to step S916.
S922, firing (corresponding to the execution of the shooting operation described above).
And S924, ending.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the invention, a control device of the virtual prop is further provided, wherein the control device is used for implementing the control method of the virtual prop. As shown in fig. 10, the apparatus includes:
according to another aspect of the embodiments of the present invention, there is also provided a control device of a virtual item, including: a first display module 1002, configured to display a target virtual shooting prop controlled by a target virtual operation object in a target game application; an obtaining module 1004, configured to obtain, in a case where the target virtual shooting prop is in a state of allowing use, a pressing force generated by pressing a screen in a target area of a screen, where the screen is used to display a game screen of the target game application; and the control module 1006 is used for controlling the target virtual shooting prop to execute the shooting operation in the target game application when the pressing force degree is greater than or equal to the preset threshold value.
In an optional embodiment, the apparatus further comprises: and the second display module is used for displaying first prompt information in the target game application under the condition that the pressing force is smaller than a preset threshold value after the pressing force generated by pressing the screen in the target area of the screen is obtained, wherein the first prompt information is used for prompting that the target virtual shooting prop is in the accumulated force and cannot execute the shooting operation.
In an alternative embodiment, the control module 1006 includes:
the first control unit is used for directly controlling the target virtual shooting prop to execute shooting operation in the target game application under the condition that the pressing force degree is greater than or equal to a preset threshold value; or
And the second control unit is used for detecting whether the pressing force degree is changed from the value which is greater than or equal to the preset threshold value to 0 or not when the pressing force degree is greater than or equal to the preset threshold value, and controlling the target virtual shooting prop to execute the shooting operation in the target game application when the pressing force degree is detected to be changed from the value which is greater than or equal to the preset threshold value to 0.
In an alternative embodiment, the apparatus is further configured to:
and after detecting whether the pressing force degree is changed to 0, displaying second prompt information in the target game application under the conditions that the pressing force degree is changed to a value in a target force degree range, the duration of the pressing force degree in the target force degree range exceeds a preset duration, and then the value in the target force degree range is changed to 0, wherein 0< the target force degree range < a preset threshold value, and the second prompt information is used for prompting that the target virtual shooting prop finishes power storage and cannot execute shooting operation.
In an alternative embodiment, the apparatus is further configured to: and before acquiring the pressing force generated by pressing the screen in the target area of the screen, in the case that the target virtual shooting prop is in the first shooting control mode, canceling to display a virtual firing button in the target game application, wherein the virtual firing button is used for controlling the virtual shooting prop which the target virtual operation object has to execute the shooting operation.
In an alternative embodiment, the apparatus is further configured to: acquiring a mode switching instruction in a target game application;
responding to the mode switching instruction, and setting the target virtual shooting prop to be in a second shooting control mode; in the event the target virtual shooting prop is in the second shooting control mode, displaying a virtual firing button in the target game application.
In an optional embodiment, the obtaining module includes:
a first acquiring unit for acquiring a pressing force generated by pressing the screen in a right half area of the screen, wherein the target area includes the right half area, and a display area of the screen is divided into a left half area and a right half area; alternatively, the first and second electrodes may be,
and a second acquiring unit configured to acquire a degree of pressing force generated by pressing the screen within an effective area of the screen, wherein the target area includes the effective area, a display area of the screen is divided into a left half area and a right half area, and the effective area is an area of the right half area other than an area where the virtual operation button is located.
In an alternative embodiment, the apparatus is further configured to: and after the target virtual shooting prop is controlled to execute the shooting operation in the target game application, setting the target virtual shooting prop to be in a cooling state, wherein the time length of the target virtual shooting prop in the cooling state is set to be a preset time length, and the target virtual shooting prop in the cooling state is set to be incapable of executing the shooting operation.
In an alternative embodiment, the apparatus is further configured to: displaying, in the target game application, accumulated progress information after acquiring a pressing force degree generated by pressing the screen within a target area of the screen, wherein the accumulated progress information is used to indicate an accumulated progress positively correlated with the pressing force degree; in the case where the force accumulation progress reaches a predetermined progress, it is determined that the degree of pressing force is greater than or equal to a predetermined threshold value.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the control method for the virtual prop, the electronic device including a memory and a processor, the memory storing a computer program therein, and the processor being configured to execute the steps in any one of the method embodiments through the computer program.
Optionally, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying the target virtual shooting prop controlled by the target virtual operation object in the target game application;
s2, under the condition that the target virtual shooting prop is in a state of allowing use, acquiring the pressing force generated by pressing the screen in the target area of the screen, wherein the screen is used for displaying the game picture of the target game application;
and S3, controlling the target virtual shooting prop to execute shooting operation in the target game application under the condition that the pressing force is greater than or equal to a preset threshold value.
Alternatively, it can be understood by those skilled in the art that the above structure is merely illustrative, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. For example, the electronic device may include more or fewer components (e.g., network interfaces, etc.) than those described above, or may have a different configuration than those described above.
The memory may be configured to store a software program and a module, such as a program instruction/module corresponding to the method and apparatus for controlling a virtual item in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the software program and the module stored in the memory, that is, implements the method for controlling a virtual item of the virtual item. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory may specifically be, but not limited to, information such as attribute parameters for the virtual attack prop or the virtual skill. As an example, the memory may include, but is not limited to, a first display module 1102, an obtaining module 1104, and a control module 1106 in the control device including the virtual item. In addition, the control of the virtual props can be included but not limited. Other module units in the device are not described in detail in this example.
Optionally, the transmission device is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device includes a network adapter (NIC) that can be connected to the router via a network cable and other network devices to communicate with the internet or a local area network. In one example, the transmission device is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display for displaying a shooting application interface; and a connection bus for connecting the respective module parts in the electronic apparatus.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying the target virtual shooting prop controlled by the target virtual operation object in the target game application;
s2, under the condition that the target virtual shooting prop is in a state of allowing use, acquiring the pressing force generated by pressing the screen in the target area of the screen, wherein the screen is used for displaying the game picture of the target game application;
and S3, controlling the target virtual shooting prop to execute shooting operation in the target game application under the condition that the pressing force is greater than or equal to a preset threshold value.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (15)
1. A control method of a virtual prop is characterized by comprising the following steps:
displaying a target virtual shooting prop controlled by a target virtual operation object in a target game application;
under the condition that the target virtual shooting prop is in a state of allowing use, acquiring the pressing force generated by pressing the screen in a target area of the screen, wherein the screen is used for displaying a game picture of the target game application;
and controlling the target virtual shooting prop to execute a shooting operation in the target game application under the condition that the pressing force is greater than or equal to a preset threshold value.
2. The method according to claim 1, wherein after acquiring a pressing force degree generated by pressing the screen within a target area of the screen, the method further comprises:
and displaying first prompt information in the target game application under the condition that the pressing force is smaller than the preset threshold, wherein the first prompt information is used for prompting that the target virtual shooting prop is in the power storage state and cannot execute the shooting operation.
3. The method of claim 1, wherein controlling the target virtual shooting prop in the target gaming application to perform a shooting operation if the degree of compression is greater than or equal to a predetermined threshold comprises:
under the condition that the degree of pressing is greater than or equal to the preset threshold value, directly controlling the target virtual shooting prop to execute shooting operation in the target game application; or
And if the degree of pressing is greater than or equal to the preset threshold, detecting whether the degree of pressing is changed from being greater than or equal to the preset threshold to 0, and if the degree of pressing is detected to be changed from being greater than or equal to the preset threshold to 0, controlling the target virtual shooting prop to execute shooting operation in the target game application.
4. The method according to claim 3, wherein after detecting whether the degree of pressing becomes 0, the method further comprises:
and displaying second prompt information in the target game application under the condition that the pressing force degree is changed into a value in a target force range, the duration in the target force range exceeds a preset duration, and then the value in the target force range is changed into 0, wherein the target force range is less than 0 and is less than the preset threshold, and the second prompt information is used for prompting that the target virtual shooting prop finishes storing force and cannot execute the shooting operation.
5. The method of claim 1, wherein prior to said obtaining a degree of compression generated by compressing the screen within a target area of the screen, the method further comprises:
and under the condition that the target virtual shooting prop is in a first shooting control mode, canceling to display a virtual firing button in the target game application, wherein the virtual firing button is used for controlling the virtual shooting prop of the target virtual operation object to execute shooting operation.
6. The method of claim 5, further comprising:
acquiring a mode switching instruction in the target game application;
responding to the mode switching instruction, and setting the target virtual shooting prop to be in a second shooting control mode;
displaying the virtual firing button in the target game application if the target virtual firing prop is in the second firing control mode.
7. The method according to any one of claims 1 to 6, wherein the acquiring a degree of pressing force generated by pressing the screen in a target area of the screen comprises:
acquiring a pressing force generated by pressing the screen in a right half area of the screen, wherein the target area includes the right half area, and a display area of the screen is divided into a left half area and the right half area; alternatively, the first and second electrodes may be,
acquiring a pressing force generated by pressing the screen in an effective area of the screen, wherein the target area comprises the effective area, a display area of the screen is divided into a left half area and a right half area, and the effective area is an area except for an area where a virtual operation button is located in the right half area.
8. The method of any one of claims 1-6, wherein after controlling the target virtual shooting prop to perform a shooting operation in the target game application, the method further comprises:
and setting the target virtual shooting prop to be in a cooling state, wherein the time length of the target virtual shooting prop in the cooling state is set to be a preset time length, and the target virtual shooting prop in the cooling state is set to be incapable of executing shooting operation.
9. The method according to any one of claims 1 to 6, characterized in that after said acquiring a pressing force degree generated by pressing the screen within a target area of the screen, the method further comprises:
displaying accumulation progress information in the target game application, wherein the accumulation progress information is used for representing accumulation progress in positive correlation with the pressing degree;
and under the condition that the accumulated force progress reaches a preset progress, determining that the pressing force degree is greater than or equal to the preset threshold value.
10. A control device of a virtual prop, comprising:
the first display module is used for displaying a target virtual shooting prop controlled by a target virtual operation object in a target game application;
the acquisition module is used for acquiring the pressing force generated by pressing the screen in the target area of the screen under the condition that the target virtual shooting prop is in a state of allowing use, wherein the screen is used for displaying a game picture of the target game application;
and the control module is used for controlling the target virtual shooting prop to execute shooting operation in the target game application under the condition that the pressing force degree is greater than or equal to a preset threshold value.
11. The apparatus of claim 10, further comprising:
and the second display module is used for displaying first prompt information in the target game application under the condition that the pressing force degree is smaller than the preset threshold value after the pressing force degree generated by pressing the screen in the target area of the screen is obtained, wherein the first prompt information is used for prompting that the target virtual shooting prop is in the state of power storage and cannot execute the shooting operation.
12. The apparatus of claim 10, wherein the control module comprises:
the first control unit is used for directly controlling the target virtual shooting prop to execute shooting operation in the target game application under the condition that the pressing force degree is greater than or equal to the preset threshold value; or
And the second control unit is used for detecting whether the pressing force is changed from the value which is greater than or equal to the preset threshold value to 0 or not when the pressing force is greater than or equal to the preset threshold value, and controlling the target virtual shooting prop to execute a shooting operation in the target game application when the pressing force is detected to be changed from the value which is greater than or equal to the preset threshold value to 0.
13. The apparatus of claim 12, wherein the apparatus is further configured to:
and after detecting whether the pressing force degree is changed to 0, displaying second prompt information in the target game application under the conditions that the pressing force degree is changed to a value in a target force range, the duration of the pressing force degree in the target force range exceeds a preset duration, and then the value in the target force range is changed to 0, wherein 0< the target force range < the preset threshold value, and the second prompt information is used for prompting that the target virtual shooting prop finishes power storage and cannot execute the shooting operation.
14. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 9.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 9 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911320569.5A CN111111219B (en) | 2019-12-19 | 2019-12-19 | Control method and device of virtual prop, storage medium and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911320569.5A CN111111219B (en) | 2019-12-19 | 2019-12-19 | Control method and device of virtual prop, storage medium and electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111111219A true CN111111219A (en) | 2020-05-08 |
CN111111219B CN111111219B (en) | 2022-02-25 |
Family
ID=70500280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911320569.5A Active CN111111219B (en) | 2019-12-19 | 2019-12-19 | Control method and device of virtual prop, storage medium and electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111111219B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111530065A (en) * | 2020-05-27 | 2020-08-14 | 网易(杭州)网络有限公司 | Game control method and device, computer storage medium and electronic equipment |
CN111659118A (en) * | 2020-07-10 | 2020-09-15 | 腾讯科技(深圳)有限公司 | Prop control method and device, storage medium and electronic equipment |
WO2024139036A1 (en) * | 2022-12-27 | 2024-07-04 | 网易(杭州)网络有限公司 | Method and apparatus for controlling shooting in game, storage medium, and electronic device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183348A (en) * | 2015-08-27 | 2015-12-23 | 广东欧珀移动通信有限公司 | Application role control method and apparatus |
CN105582670A (en) * | 2015-12-17 | 2016-05-18 | 网易(杭州)网络有限公司 | Aimed-firing control method and device |
US20160158641A1 (en) * | 2013-04-25 | 2016-06-09 | Phillip B. Summons | Targeting system and method for video games |
CN107185232A (en) * | 2017-05-25 | 2017-09-22 | 网易(杭州)网络有限公司 | Virtual objects motion control method, device, electronic equipment and storage medium |
CN107970606A (en) * | 2017-12-22 | 2018-05-01 | 重庆森魔科技有限公司 | A kind of shooting game touching gesture control method, operating terminal and storage medium |
CN108031112A (en) * | 2018-01-16 | 2018-05-15 | 北京硬壳科技有限公司 | Game paddle for control terminal |
CN108159704A (en) * | 2017-12-28 | 2018-06-15 | 天脉聚源(北京)科技有限公司 | A kind of gesture operation processing method and processing device |
US10060713B2 (en) * | 2016-06-22 | 2018-08-28 | Rod Ghani | Shooting game for multiple players with dynamic shot position recognition on a paper target |
CN108704308A (en) * | 2018-05-17 | 2018-10-26 | Oppo广东移动通信有限公司 | Control method, device, storage medium and the electronic equipment of shooting game |
CN108744505A (en) * | 2018-05-15 | 2018-11-06 | 努比亚技术有限公司 | A kind of method of rate control, terminal and computer readable storage medium |
US10130878B1 (en) * | 2010-06-14 | 2018-11-20 | Open Invention Network Llc | Advanced gameplay system |
CN110465098A (en) * | 2019-08-08 | 2019-11-19 | 腾讯科技(深圳)有限公司 | Control method, apparatus, equipment and medium that virtual objects use virtual item |
-
2019
- 2019-12-19 CN CN201911320569.5A patent/CN111111219B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10130878B1 (en) * | 2010-06-14 | 2018-11-20 | Open Invention Network Llc | Advanced gameplay system |
US20160158641A1 (en) * | 2013-04-25 | 2016-06-09 | Phillip B. Summons | Targeting system and method for video games |
CN105183348A (en) * | 2015-08-27 | 2015-12-23 | 广东欧珀移动通信有限公司 | Application role control method and apparatus |
CN105582670A (en) * | 2015-12-17 | 2016-05-18 | 网易(杭州)网络有限公司 | Aimed-firing control method and device |
US10060713B2 (en) * | 2016-06-22 | 2018-08-28 | Rod Ghani | Shooting game for multiple players with dynamic shot position recognition on a paper target |
CN107185232A (en) * | 2017-05-25 | 2017-09-22 | 网易(杭州)网络有限公司 | Virtual objects motion control method, device, electronic equipment and storage medium |
CN107970606A (en) * | 2017-12-22 | 2018-05-01 | 重庆森魔科技有限公司 | A kind of shooting game touching gesture control method, operating terminal and storage medium |
CN108159704A (en) * | 2017-12-28 | 2018-06-15 | 天脉聚源(北京)科技有限公司 | A kind of gesture operation processing method and processing device |
CN108031112A (en) * | 2018-01-16 | 2018-05-15 | 北京硬壳科技有限公司 | Game paddle for control terminal |
CN108744505A (en) * | 2018-05-15 | 2018-11-06 | 努比亚技术有限公司 | A kind of method of rate control, terminal and computer readable storage medium |
CN108704308A (en) * | 2018-05-17 | 2018-10-26 | Oppo广东移动通信有限公司 | Control method, device, storage medium and the electronic equipment of shooting game |
CN110465098A (en) * | 2019-08-08 | 2019-11-19 | 腾讯科技(深圳)有限公司 | Control method, apparatus, equipment and medium that virtual objects use virtual item |
Non-Patent Citations (1)
Title |
---|
小菜鸟部落: "和平精英:狙击枪松手开火模式如何取消开火?三指操作玩家有区别", 《和平精英:狙击枪松手开火模式如何取消开火?三指操作玩家有区别,HTTPS://HAOKAN.BAIDU.COM/V?VID=5017748327755497375&PD=BJH&FR=BJHAUTHOR&TYPE=VIDEO》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111530065A (en) * | 2020-05-27 | 2020-08-14 | 网易(杭州)网络有限公司 | Game control method and device, computer storage medium and electronic equipment |
CN111659118A (en) * | 2020-07-10 | 2020-09-15 | 腾讯科技(深圳)有限公司 | Prop control method and device, storage medium and electronic equipment |
CN111659118B (en) * | 2020-07-10 | 2021-04-09 | 腾讯科技(深圳)有限公司 | Prop control method and device, storage medium and electronic equipment |
WO2024139036A1 (en) * | 2022-12-27 | 2024-07-04 | 网易(杭州)网络有限公司 | Method and apparatus for controlling shooting in game, storage medium, and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN111111219B (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111111219B (en) | Control method and device of virtual prop, storage medium and electronic device | |
JP7039635B2 (en) | How to get information processing equipment and users to participate in an application | |
JP6637589B2 (en) | Information processing method, terminal, and computer storage medium | |
JP2021515601A (en) | Information processing methods, devices, storage media and electronic devices | |
CN112516583B (en) | Data processing method and device in game and electronic terminal | |
CN112370781A (en) | Operation control method and apparatus, storage medium, and electronic device | |
CN112107861B (en) | Control method and device of virtual prop, storage medium and electronic equipment | |
CN111298430A (en) | Virtual item control method and device, storage medium and electronic device | |
CN111111185B (en) | Target animation playing method and device, storage medium and electronic device | |
CN110917621B (en) | Position display method and device, storage medium and electronic device | |
CN111104021B (en) | Control method and device of virtual prop, storage medium and electronic device | |
CN112569596B (en) | Video picture display method and device, computer equipment and storage medium | |
WO2023109350A1 (en) | Method and apparatus for prompting obtaining of virtual reward resource and storage medium | |
CN111054065A (en) | Control method and device of virtual prop, storage medium and electronic device | |
CN111494935A (en) | Method and device for controlling virtual object in game | |
CN108310768B (en) | Virtual scene display method and device, storage medium and electronic device | |
CN113648650A (en) | Interaction method and related device | |
CN111569436A (en) | Processing method, device and equipment based on interaction in live broadcast fighting | |
CN110917620B (en) | Virtual footprint display method and device, storage medium and electronic device | |
CN110960860B (en) | Sensitivity setting method and apparatus, storage medium, and electronic apparatus | |
CN116980706A (en) | Video playing method and device, storage medium and electronic equipment | |
WO2023138184A1 (en) | Prompt information display method and apparatus, storage medium and electronic device | |
CN111258489A (en) | Operation method and device of virtual prop and storage medium | |
CN111265864B (en) | Information display method, information display device, storage medium, and electronic device | |
CN113813599B (en) | Virtual character control method and device, storage medium and electronic equipment |
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 |