CN108579089B - Virtual item control method and device, storage medium and electronic equipment - Google Patents

Virtual item control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN108579089B
CN108579089B CN201810437102.8A CN201810437102A CN108579089B CN 108579089 B CN108579089 B CN 108579089B CN 201810437102 A CN201810437102 A CN 201810437102A CN 108579089 B CN108579089 B CN 108579089B
Authority
CN
China
Prior art keywords
virtual object
virtual
candidate
object identifier
sliding
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.)
Active
Application number
CN201810437102.8A
Other languages
Chinese (zh)
Other versions
CN108579089A (en
Inventor
吴志武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810437102.8A priority Critical patent/CN108579089B/en
Publication of CN108579089A publication Critical patent/CN108579089A/en
Application granted granted Critical
Publication of CN108579089B publication Critical patent/CN108579089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/533Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game for prompting the player, e.g. by displaying a game menu
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The present disclosure relates to the field of human-computer interaction technologies, and in particular, to a method and an apparatus for controlling a virtual property, a storage medium, and an electronic device. The method comprises the following steps: responding to the triggering operation acted on the virtual prop control, and determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule; detecting a sliding operation continuous with the triggering operation, and changing the candidate virtual object identification in the virtual object list according to the sliding direction of the sliding operation; and responding to the continuous release operation of the sliding operation, determining the virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and releasing the virtual prop corresponding to the virtual prop control to the target virtual object. The method and the device enable the user to select the target virtual object independently, the selection of the target virtual object is more extensive and flexible, in addition, the operation steps are simple and smooth, and the user experience is better.

Description

Virtual item control method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of human-computer interaction technologies, and in particular, to a method and an apparatus for controlling a virtual property in a racing game, a storage medium, and an electronic device.
Background
With the rapid development of mobile communication technology, more and more game applications are appearing on touch terminals. In the running process of the game application, the touch terminal displays various virtual objects according to a certain layout so as to present game scenes to a user and provide a game operation interface.
At present, in a touch terminal game application capable of releasing a virtual item to a virtual object, a commonly adopted method for releasing the virtual item is as follows: and when the user clicks the virtual prop control again, the virtual prop corresponding to the virtual prop control is released to the target virtual object. It should be noted that the system can only select the target virtual object among the virtual objects located in front of the user-controlled virtual object, and may not select the virtual object located out of the field of view of the user-controlled virtual object.
Obviously, in the above manner, on one hand, since the target virtual object for releasing the virtual prop is selected by the touch terminal, and the touch terminal can only select the target virtual object from the virtual objects located in front of the virtual object controlled by the user, and may not select the virtual object located outside the visual field of the virtual object controlled by the user, the user cannot select the object autonomously, and the selection of the target virtual object has limitations; on the other hand, the user can release the virtual prop to the target virtual object only by two click operations, and the operation steps are complex; on the other hand, the operation of releasing the virtual prop cannot be cancelled, and the user experience is poor.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a method and an apparatus for controlling a virtual property in a racing game, a storage medium, and an electronic device, so as to overcome, at least to a certain extent, the problems that a user cannot autonomously select a target virtual object, the operation steps for releasing the virtual property are complicated, and the operation for releasing the virtual property cannot be cancelled.
According to an aspect of the present disclosure, a method for controlling a virtual item in a racing game is provided, which is applied to a touch terminal capable of presenting at least one virtual item control and a virtual object list, where the virtual object list includes a plurality of virtual object identifiers, and the method for controlling the virtual item includes:
responding to the triggering operation acted on the virtual prop control, and determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule;
detecting a sliding operation continuous with the triggering operation, and changing the candidate virtual object identification in the virtual object list according to the sliding direction of the sliding operation;
and responding to the continuous release operation of the sliding operation, determining the virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and releasing the virtual prop corresponding to the virtual prop control to the target virtual object.
In an exemplary embodiment of the present disclosure, the determining, according to a preset rule, at least one virtual object identifier in the virtual object list as a candidate virtual object identifier includes:
and determining at least one virtual object identifier in the virtual object list as the candidate virtual object identifier according to the type of the virtual prop control.
In an exemplary embodiment of the present disclosure, the method further comprises:
and acquiring the name information of each virtual object, and generating the virtual object list according to the name information of each virtual object.
In an exemplary embodiment of the present disclosure, the determining, according to a preset rule, at least one virtual object id in the virtual object list as a candidate virtual object id further includes:
displaying the candidate virtual object identifications distinctively in the virtual object list.
In an exemplary embodiment of the present disclosure, the changing the candidate virtual object identifier in the virtual object list according to the sliding direction of the sliding operation includes:
acquiring the sliding direction and the sliding distance of the sliding operation in real time, and determining a reference candidate virtual object identifier in the candidate virtual object identifiers;
and changing the candidate virtual object identification in the virtual object list according to the sliding direction and the sliding distance and based on the reference candidate virtual object identification.
In an exemplary embodiment of the present disclosure, the sliding direction includes a first sliding direction and a second sliding direction;
said altering said candidate virtual object identification in said virtual object list according to said sliding direction and sliding distance and based on said reference candidate virtual object identification comprises:
if the sliding direction is the first sliding direction, changing the candidate virtual object identifier in the virtual object identifier arranged in front of the reference candidate virtual object identifier according to the sliding distance;
and if the sliding direction is the second sliding direction, changing the candidate virtual object identifier in the virtual object identifiers arranged behind the reference candidate virtual object identifier according to the sliding distance.
In an exemplary embodiment of the present disclosure, the changing the candidate virtual object identifier in the virtual object list according to the sliding direction of the sliding operation further includes:
and distinctively displaying the changed candidate virtual object identification.
In an exemplary embodiment of the disclosure, the distinctively displaying the changed candidate virtual object identifier further includes:
and controlling the touch terminal to execute preset prompt operation.
In an exemplary embodiment of the present disclosure, the method further comprises:
when the sliding operation continuous with the triggering operation is not detected and the releasing operation continuous with the triggering operation is detected, determining the virtual object corresponding to the candidate virtual object identifier as a target virtual object, and releasing the virtual prop corresponding to the virtual prop control to the target virtual object.
In an exemplary embodiment of the present disclosure, the method further comprises:
detecting whether the touch point of the sliding operation moves into a preset cancel area or not;
and if the touch point of the sliding operation moves into a preset cancellation area, canceling the release of the virtual prop corresponding to the virtual prop control.
According to an aspect of the present disclosure, a virtual item control device in a racing game is provided, which is applied to a touch terminal capable of presenting at least one virtual item control and a virtual object list, where the virtual object list includes a plurality of virtual object identifiers, and the virtual item control device includes:
the determining module is used for responding to the triggering operation acted on the virtual prop control and determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule;
a changing module, configured to detect a sliding operation that is continuous with the triggering operation, and change the candidate virtual object identifier in the virtual object list according to a sliding direction of the sliding operation;
and the release module is used for responding to the continuous release operation of the sliding operation, determining the virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and releasing the virtual prop corresponding to the virtual prop control to the target virtual object.
According to an aspect of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the virtual item control method in a racing game described in any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the method for controlling virtual items in the racing game by executing the executable instructions.
The invention discloses a method and a device for controlling virtual props in a competitive game, a storage medium and electronic equipment. Responding to a trigger operation acted on the virtual prop control, determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule, changing the candidate virtual object identifier according to a sliding direction of sliding operation continuous with the trigger operation, responding to a release operation continuous with the sliding operation, determining a virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and releasing the virtual prop corresponding to the virtual prop control to the target virtual object. On one hand, the candidate virtual object identification is changed in the virtual object list according to the sliding direction of the sliding operation, so that a user can conveniently and quickly lock a target virtual object in a changed game environment and release a virtual prop to the target virtual object, the operation efficiency is improved, and the operation fluency is improved; on the other hand, as the candidate virtual object identifications are changed in the virtual object list so as to determine the target virtual object according to the changed candidate virtual object identifications instead of selecting the target virtual object only in the virtual objects positioned in front of the virtual object controlled by the user, the selection range of the target virtual object is increased, so that the selection of the target virtual object is wider; on the other hand, the candidate virtual object identification is changed through sliding operation, and the changing operation is simple and flexible; on the other hand, the determination of the candidate virtual object identifier, the change of the candidate virtual object identifier, the determination of the target virtual object and the release of the virtual prop to the target virtual object can be realized through the trigger operation, the sliding operation continuous with the trigger operation and the release operation continuous with the sliding operation.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
FIG. 1 is a flow chart of a method for controlling virtual items in a racing game according to the present disclosure;
FIG. 2 is a first schematic diagram illustrating a method for determining candidate virtual object identifiers provided in an exemplary embodiment of the present disclosure;
FIG. 3 is a first schematic diagram illustrating an alteration of a candidate virtual object identifier provided in an exemplary embodiment of the present disclosure;
FIG. 4 is a second schematic diagram illustrating an alteration of a candidate virtual object identifier provided in an exemplary embodiment of the present disclosure;
FIG. 5 is a third schematic diagram illustrating an alteration of a candidate virtual object identifier provided in an exemplary embodiment of the present disclosure;
FIG. 6 is a fourth schematic diagram illustrating an alteration of a candidate virtual object identifier provided in an exemplary embodiment of the present disclosure;
FIG. 7 is a diagram two illustrating the determination of candidate virtual object identifiers provided in an exemplary embodiment of the present disclosure;
FIG. 8 is a fifth exemplary illustration of altering a candidate virtual object identifier provided in an exemplary embodiment of the present disclosure;
FIG. 9 is a sixth schematic representation of altering candidate virtual object identifications provided in an exemplary embodiment of the present disclosure;
FIG. 10 is a block diagram of a virtual item control device in a racing game according to the present disclosure;
FIG. 11 is a block diagram illustration of an electronic device in an exemplary embodiment of the disclosure;
FIG. 12 is a schematic diagram illustrating a program product in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the embodiments of the disclosure can be practiced without one or more of the specific details, or with other methods, components, materials, devices, steps, and so forth. In other instances, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in the form of software, or in one or more software-hardened modules, or in different networks and/or processor devices and/or microcontroller devices.
The exemplary embodiment first discloses a virtual item control method in a competitive game, which is applied to a touch terminal capable of presenting at least one virtual item control and a virtual object list, wherein the virtual object list comprises a plurality of virtual object identifiers. The touch terminal may be, for example, various electronic devices with a touch screen, such as a mobile phone, a tablet computer, a notebook computer, a game machine, and a PDA. The virtual prop controls correspond to the virtual props one by one. The shape of each virtual prop control may be set by a developer, for example, the shape of the corresponding virtual prop control may be set according to the shape of the virtual prop, the shape of the corresponding virtual prop control may also be set according to the release effect of the virtual prop, and the like, which is not limited in this exemplary embodiment. The virtual prop control can comprise a virtual prop control corresponding to a virtual prop which can be released to a virtual object which is in a teammate relationship with a virtual object controlled by a user, a virtual prop control corresponding to a virtual prop which can be released to a virtual object which is in an enemy relationship with a virtual object controlled by a user, and the like. The game application can control the touch screen of the touch terminal to present a virtual object and at least one virtual prop control, a virtual object list, a virtual battle scene, a virtual natural environment and the like through an application program interface of the touch terminal.
Referring to fig. 1, the virtual item control method may include the following steps:
step S110, responding to a trigger operation acted on the virtual prop control, and determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule;
step S120, detecting a sliding operation continuous with the triggering operation, and changing the candidate virtual object identifier in the virtual object list according to the sliding direction of the sliding operation;
step S130, responding to the continuous release operation with the sliding operation, determining the virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and releasing the virtual prop corresponding to the virtual prop control to the target virtual object.
According to the virtual item control method in the exemplary embodiment, on one hand, the candidate virtual object identifiers are changed in the virtual object list according to the sliding direction of the sliding operation, so that a user can conveniently and quickly lock a target virtual object and release a virtual item to the target virtual object in a changed game environment, the operation efficiency is improved, and the operation fluency is improved; on the other hand, as the candidate virtual object identifications are changed in the virtual object list so as to determine the target virtual object according to the changed candidate virtual object identifications instead of selecting the target virtual object only in the virtual objects positioned in front of the virtual object controlled by the user, the selection range of the target virtual object is increased, so that the selection of the target virtual object is wider; on the other hand, the candidate virtual object identification is changed through sliding operation, and the changing operation is simple and flexible; on the other hand, the determination of the candidate virtual object identifier, the change of the candidate virtual object identifier, the determination of the target virtual object and the release of the virtual prop to the target virtual object can be realized through the trigger operation, the sliding operation continuous with the trigger operation and the release operation continuous with the sliding operation.
Next, referring to fig. 1, a method for controlling a virtual item in the present exemplary embodiment will be further described.
In step S110, in response to a trigger operation acting on the virtual item control, at least one virtual object identifier in the virtual object list is determined as a candidate virtual object identifier according to a preset rule.
In the present exemplary embodiment, the trigger operation may be, for example, a tap operation, a heavy tap operation, and the like, and this exemplary embodiment is not particularly limited in this regard. The user can determine a virtual prop control to be triggered in the virtual prop controls according to specific requirements, and trigger operation is executed on the virtual prop controls through fingers, a touch pen and the like; when the touch control terminal receives a trigger operation acting on the virtual prop control, responding to the trigger operation acting on the virtual prop control, and determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule.
The determining, according to a preset rule, at least one virtual object identifier in the virtual object list as a candidate virtual object identifier may include: and determining at least one virtual object identifier in the virtual object list as the candidate virtual object identifier according to the type of the virtual prop control.
In the exemplary embodiment, the types of the virtual prop control can comprise an offensive virtual prop control and a protective virtual prop control. For example, when an offensive virtual item control is triggered, virtual object identifiers corresponding to all virtual objects in the virtual object list, which are in an enemy relationship with the virtual object controlled by the user, may be determined as candidate virtual object identifiers; or determining the virtual object identifier corresponding to the virtual object with the highest ranking in the virtual objects which are in the enemy relationship with the virtual object controlled by the user in the virtual object list as the candidate virtual object identifier, and the like. For another example, when the protective virtual prop control is triggered, virtual object identifiers corresponding to all virtual objects in the virtual object list, which are in a teammate relationship with the virtual object controlled by the user, may be determined as candidate virtual object identifiers; or determining the virtual object identifier corresponding to the virtual object with the front rank in the virtual object list which is in the teammate relationship with the virtual object controlled by the user as the candidate virtual object identifier, and the like.
Obviously, the number of candidate virtual object identifiers may be, for example, 1, 2, 3, and the like, which is not particularly limited in this exemplary embodiment. It should be noted that the above-mentioned manner for determining the candidate virtual object identifier is only exemplary, and is not intended to limit the present invention. For example, in response to a trigger operation acting on the virtual item control, any one virtual object identifier in the virtual object list is determined as a candidate virtual object identifier.
Next, a process of generating the virtual object list will be described. For example, the ranking information of each of the virtual objects may be acquired, and the virtual object list may be generated according to the ranking information of each of the virtual objects. That is, the ranking information of all virtual objects in the game is obtained, and the virtual object identifications corresponding to the virtual objects are sorted according to the ranking order of the ranking information of all virtual objects to obtain a virtual object list.
It should be noted that, since the ranking information of each virtual object may change during the game battle, after the ranking information of a virtual object changes, the position of the virtual object identifier corresponding to the virtual object in the virtual object list also changes correspondingly.
The generation process of the virtual object list is only exemplary and is not intended to limit the present invention. For example, the virtual object identifiers corresponding to all the virtual objects in the game may be sorted according to the initial letters of the names of all the virtual objects in the game to generate a virtual object list, or the virtual object identifiers corresponding to all the virtual objects in the game may be randomly arranged to generate the virtual object list.
The arrangement direction of the virtual object identifiers in the virtual object list may be a horizontal direction or a vertical direction, which is not particularly limited in this exemplary embodiment. The display mode of each virtual object identifier in the virtual object list may be an avatar of each corresponding virtual object and/or a name of each virtual object.
In order to enable a user to intuitively and quickly identify a candidate virtual object identifier, determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule may further include: displaying the candidate virtual object identifications distinctively in the virtual object list.
In this exemplary embodiment, after determining the candidate virtual object identifier, the candidate virtual object identifier may be displayed in a highlighted form in the virtual object list, or may be displayed in a form in which an outline is deepened in the virtual object list, or may be displayed in a semi-transparent form in the virtual object list, and the like, which is not particularly limited in this exemplary embodiment.
In step S120, a sliding operation continuous to the triggering operation is detected, and the candidate virtual object identifier is changed in the virtual object list according to the sliding direction of the sliding operation.
In this exemplary embodiment, after the triggering operation acting on the virtual item control is responded, the sliding operation continuous with the triggering operation is detected in real time, and the candidate virtual object identifier is changed in the virtual object list according to the sliding direction of the sliding operation, that is, the user may re-determine the candidate virtual object identifier according to the specific requirement in the plurality of virtual object identifiers in the virtual object list according to the sliding operation.
The changing the candidate virtual object identification in the virtual object list according to the sliding direction of the sliding operation may include: acquiring the sliding direction and the sliding distance of the sliding operation in real time, and determining a reference candidate virtual object identifier in the candidate virtual object identifiers; and changing the candidate virtual object identification in the virtual object list according to the sliding direction and the sliding distance and based on the reference candidate virtual object identification.
In the exemplary embodiment, the sliding direction and the sliding distance of the sliding operation may be acquired in real time by an acquisition module. The sliding direction may be a direction of a vector formed from a start point of the sliding operation to an end point of the sliding operation. The sliding direction may include, for example, left, right, up, down, etc., and the present exemplary embodiment is not particularly limited thereto. The sliding distance may be a distance between a start point of the sliding operation and an end point of the sliding operation.
When a plurality of candidate virtual object identifiers are provided, the candidate virtual object identifier with the highest rank in the candidate virtual object identifiers can be determined as the reference candidate virtual object identifier; any one of the candidate virtual object identifiers may also be determined as a reference candidate virtual object identifier, and the like. And when one candidate virtual object identifier is provided, the candidate virtual object identifier is the reference candidate virtual object identifier. By determining the benchmark candidate virtual object identifier, a reference point is provided for changing the candidate virtual object identifier, and a basis is provided for changing the candidate virtual object identifier.
When the candidate virtual object identifier is changed in the virtual object list according to the sliding direction and the sliding distance, it may be determined first according to the sliding direction whether the candidate virtual object identifier is changed in the virtual object identifier arranged before the reference candidate virtual object identifier or the candidate virtual object identifier is changed in the virtual object identifier arranged after the reference candidate virtual object identifier, that is, whether the candidate virtual object identifier is re-determined in the virtual object identifier arranged before the reference candidate virtual object identifier or the candidate virtual object identifier is re-determined in the virtual object identifier arranged after the reference candidate virtual object identifier; and then, changing the candidate virtual object identifier in the virtual object identifiers arranged before or after the reference candidate virtual object identifier according to the sliding distance, specifically, setting a preset sliding distance, and changing the candidate virtual object identifier into the virtual object identifier adjacent to the reference candidate virtual object identifier when the sliding distance of the sliding operation meets the preset sliding distance. Namely, the user can change the candidate virtual object identifier according to the multiple relation between the sliding distance and the preset sliding distance. The preset sliding distance may be set by a developer, for example, may be 0.5 cm or may also be 1 cm, and this exemplary embodiment is not particularly limited in this respect.
For example, when the sliding direction includes a first sliding direction and a second sliding direction, the changing the candidate virtual object identifier in the virtual object list according to the sliding direction and the sliding distance and based on the reference candidate virtual object identifier may include:
and if the sliding direction is the first sliding direction, changing the candidate virtual object identifier in the virtual object identifiers arranged in front of the reference candidate virtual object identifier according to the sliding distance. Specifically, when the sliding direction and the sliding distance of the sliding operation are obtained, firstly, whether the sliding direction is a first sliding direction or a second sliding direction is judged; when the sliding direction is the first sliding direction, determining that the candidate virtual object identifier is changed in the virtual object identifiers arranged in front of the reference candidate virtual object identifier in the virtual object list; and then, changing the candidate virtual object identifier in the virtual object identifiers arranged in front of the reference candidate virtual object identifier according to the integral multiple relation between the sliding distance and the preset sliding distance.
And if the sliding direction is the second sliding direction, changing the candidate virtual object identifier in the virtual object identifiers arranged behind the reference candidate virtual object identifier according to the sliding distance. Specifically, when the sliding direction and the sliding distance of the sliding operation are obtained, firstly, whether the sliding direction is a first sliding direction or a second sliding direction is judged; when the sliding direction is a second sliding direction, determining that the candidate virtual object identifier is changed in the virtual object identifiers arranged behind the reference candidate virtual object identifier in the virtual object list; and then, changing the candidate virtual object identifier in the virtual object identifiers arranged behind the reference candidate virtual object identifier according to the integral multiple relation between the sliding distance and the preset sliding distance.
The first sliding direction and the second sliding direction are different. For example, the first sliding direction is left, the second sliding direction is right, and for example, the first sliding direction is up, the second sliding direction is down. It should be noted that the first sliding direction and the second sliding direction in the present exemplary embodiment are not limited thereto.
The following describes the above process in detail by taking the first sliding direction as up, the second sliding direction as down, the virtual object list including 5 virtual object identifiers, the 5 virtual object identifiers being arranged in a vertical direction, and the preset sliding distance being 0.5 cm as an example. It should be noted that the 5 virtual object identifiers are a first virtual object identifier 201, a second virtual object identifier 202, a third virtual object identifier 203, a fourth virtual object identifier 204, and a fifth virtual object identifier 205, respectively.
As shown in fig. 2, when the user performs a trigger operation on the virtual item control 206, the touch terminal determines the third virtual object identifier 203 as a candidate virtual object identifier. In order to visually represent the candidate virtual object identifiers, the boundary of the third virtual object identifier 203 is represented in a bold form. It should be noted that, since the number of the candidate virtual object identifiers is 1, the third virtual object identifier 203 is a reference candidate virtual object identifier.
On the basis of fig. 2, when the user performs the sliding operation upwards and the sliding distance of the sliding operation reaches a preset sliding distance, that is, 0.5 cm, as shown in fig. 3, the touch terminal changes the candidate virtual object identifier from the third virtual object identifier 203 to the second virtual object identifier 202, that is, the candidate virtual object identifier is the second virtual object identifier 202. In order to more intuitively display the changed candidate virtual object identifier, the boundary of the second virtual object identifier 202 is displayed in a bold manner, and the display state of the candidate virtual object identifier before the change (i.e., the third virtual object identifier 203) is restored.
On the basis of fig. 2, when the user performs the sliding operation upwards and the sliding distance of the sliding operation reaches two preset sliding distances, that is, 1 cm, as shown in fig. 4, the touch terminal changes the candidate virtual object identifier from the third virtual object identifier 203 to the second virtual object identifier 202, and then changes the candidate virtual object identifier from the second virtual object identifier 202 to the first virtual object identifier 201, that is, the candidate virtual object identifier is the first virtual object identifier 201 at this time. In order to more intuitively display the changed candidate virtual object identifier, the boundary of the first virtual object identifier 201 is displayed in a bold manner, and the display state of the candidate virtual object identifier before being changed (i.e., the third virtual object identifier 203) is restored.
On the basis of fig. 2, when the user performs the sliding operation downwards and the sliding distance of the sliding operation reaches a preset sliding distance, that is, 0.5 cm, as shown in fig. 5, the touch terminal changes the candidate virtual object identifier from the third virtual object identifier 203 to the fourth virtual object identifier 204, that is, the candidate virtual object identifier is the fourth virtual object identifier 204. In order to more intuitively display the changed candidate virtual object identifier, the boundary of the fourth virtual object identifier 204 is displayed in a bold manner, and the display state of the candidate virtual object identifier before being changed (i.e., the third virtual object identifier 203) is restored.
On the basis of fig. 2, when the user performs the sliding operation downwards and the sliding distance of the sliding operation reaches two preset sliding distances, that is, 1 cm, as shown in fig. 6, the touch terminal changes the candidate virtual object identifier from the third virtual object identifier 203 to the fourth virtual object identifier 204, and then changes the candidate virtual object identifier from the fourth virtual object identifier 204 to the fifth virtual object identifier 205, that is, the candidate virtual object identifier is the fifth virtual object identifier 205 at this time. In order to more intuitively display the changed candidate virtual object, the boundary of the fifth virtual object identifier 205 is displayed in a bold manner, and the display state of the candidate virtual object identifier before being changed (i.e., the third virtual object identifier 203) is restored.
As shown in fig. 7, when the user performs a trigger operation on virtual item control 206, the touch terminal determines second virtual object identifier 202 and third virtual object identifier 203 as candidate virtual object identifiers. For visually presenting the candidate virtual object identifiers, the boundaries of the second virtual object identifier 202 and the third virtual object identifier 203 are presented in a bold form. It should be noted that, since the number of candidate virtual object identifiers is 2, the second virtual object identifier 202 is determined as the reference candidate virtual object identifier.
On the basis of fig. 7, when the user performs the sliding operation upwards and the sliding distance of the sliding operation reaches a preset sliding distance, that is, 0.5 cm, as shown in fig. 8, the touch terminal changes the candidate virtual object identifier from the second virtual object identifier 202 and the third virtual object identifier 203 to the first virtual object identifier 201, that is, the candidate virtual object identifier is the first virtual object identifier 201 at this time. In order to more intuitively display the changed candidate virtual object identifiers, the boundary of the first virtual object identifier 201 is displayed in a bold manner, and the display states of the candidate virtual object identifiers before being changed (i.e., the second virtual object identifier 202 and the third virtual object identifier 203) are restored.
On the basis of fig. 7, when the user performs the sliding operation downwards and the sliding distance of the sliding operation reaches a preset sliding distance, that is, 0.5 cm, as shown in fig. 9, the touch terminal changes the candidate virtual object identifier from the second virtual object identifier 202 and the third virtual object identifier 203 to the third virtual object identifier 203, that is, the candidate virtual object identifier is the third virtual object identifier 203. In order to more intuitively display the changed candidate virtual object identifier, the boundary of the third virtual object identifier 203 is displayed in a bold manner, and the display state of the candidate virtual object identifier before being changed (here, only the second virtual object identifier 202) is restored.
It should be noted that the above-mentioned manner of changing the candidate virtual object identifier in the virtual object identifiers arranged before or after the reference candidate virtual object identifier according to the sliding distance is merely exemplary, and is not intended to limit the present invention. For example, changing the candidate virtual object identifier in the virtual object identifiers ranked before or after the reference candidate virtual object identifier according to the sliding distance may also be: and dividing the sliding distance into a plurality of sliding distance sections according to the difference of the sliding distance, and establishing the one-to-one corresponding relation between each virtual object identifier and each sliding distance section. When the candidate virtual object identifier is changed according to the sliding distance, the sliding distance may be matched with each sliding distance segment, and the virtual object identifier corresponding to the sliding distance segment successfully matched may be determined as the candidate virtual object identifier again.
Obviously, for the virtual object list generated according to the ranking information of each virtual object, the candidate virtual object identification can be changed in the virtual object list according to the sliding direction of the sliding operation, for example, a virtual object with the ranking before the virtual object controlled by the user is selected by sliding upwards, a virtual object with the ranking after the virtual object controlled by the user is selected by sliding downwards, namely, the user wants to attack the front opponent in the game process, or protects the front teammates, and slides upwards after selecting the corresponding virtual prop, so that the thinking cost is reduced, the operation efficiency is improved, in addition, the user can form muscle memory, the target virtual object can be quickly locked and the virtual prop can be released in the changed game environment, the operation efficiency is improved, and the smoothness of the operation is improved.
In order to enable a user to intuitively and quickly identify a changed candidate virtual object identifier, the changing the candidate virtual object identifier in the virtual object list according to the sliding direction of the sliding operation may further include: and distinctively displaying the changed candidate virtual object identification.
In the present exemplary embodiment, when the candidate virtual object identifier is changed, the changed candidate virtual object identifier may be displayed in a highlighted form in the virtual object list, the changed candidate virtual object identifier may be displayed in a darkened form in the virtual object list, the changed candidate virtual object identifier may be displayed in a semi-transparent form in the virtual object list, and the like, which is not particularly limited in the present exemplary embodiment. After the changed candidate virtual object marker is distinctively displayed, the display state of the candidate virtual object marker before the change can be restored.
In order to further prompt the user that the candidate virtual object identifier has been changed, the distinctively displaying the changed candidate virtual object identifier may further include: and controlling the touch terminal to execute preset prompt operation. In this exemplary embodiment, the preset prompting operation may be an operation of controlling the touch terminal to vibrate, an operation of controlling a flash lamp on the touch terminal to flash, and the like, and this is not particularly limited in this exemplary embodiment. It should be noted that, displaying the changed candidate virtual object identifier distinctively and controlling the touch terminal to execute the preset prompting operation may be completed simultaneously.
In step S130, in response to the release operation continuous with the sliding operation, determining the virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and applying a virtual item corresponding to the virtual item control to the target virtual object.
In the present exemplary embodiment, the release operation may be an operation of moving a finger, a stylus pen, or the like away from an interactive interface of the touch terminal. The user can send an instruction for releasing the virtual prop to the touch terminal through the continuous release operation with the sliding operation. When the touch control terminal receives the instruction for releasing the virtual prop, the virtual object corresponding to the changed candidate virtual object identifier is determined as a target virtual object, and the virtual prop corresponding to the virtual prop control is released to the target virtual object. For example, when the virtual prop corresponding to the virtual prop control is an acceleration prop, the target virtual object is controlled to advance in an accelerated manner when the acceleration prop is released to the target virtual object. When the virtual prop corresponding to the virtual prop control is a bomb prop, a bomb can be thrown to the target virtual object and the bomb explosion is controlled when the bomb prop is released to the target virtual object.
The candidate virtual object id after the change in step S130 is the candidate virtual object id that was changed last. That is, after the user performs multiple changes to the candidate virtual object identifier through the sliding operation, when the user performs a release operation continuous to the sliding operation, the virtual object corresponding to the candidate virtual object identifier that has been changed last is determined as the target virtual object.
In summary, the candidate virtual object identifiers are changed in the virtual object list according to the sliding direction of the sliding operation, so that the user can quickly lock the target virtual object and release the virtual item to the target virtual object in the changed game environment, the operation efficiency is improved, and the operation fluency is improved; in addition, as the candidate virtual object identifications are changed in the virtual object list so as to determine the target virtual object according to the changed candidate virtual object identifications instead of only selecting the target virtual object from the virtual objects positioned in front of the virtual object controlled by the user, the selection range of the target virtual object is increased, so that the selection of the target virtual object is wider; in addition, the candidate virtual object identification is changed through sliding operation, and the changing operation is simple and flexible; in addition, the determination of the candidate virtual object identifier, the change of the candidate virtual object identifier, the determination of the target virtual object and the release of the virtual prop to the target virtual object can be realized through the trigger operation, the sliding operation continuous with the trigger operation and the release operation continuous with the sliding operation.
In addition, when the sliding operation continuous with the triggering operation is not detected and the releasing operation continuous with the triggering operation is detected, the virtual object corresponding to the candidate virtual object identifier is determined as a target virtual object, and the virtual prop corresponding to the virtual prop control is released to the target virtual object. In the present exemplary embodiment, the release operation has been described above, and is not described here again. When a user executes a trigger operation on a virtual prop control, a touch terminal determines at least one virtual object identifier in a virtual object list as a candidate virtual object identifier according to a preset rule, and when the candidate virtual object identifier is an intention virtual object identifier of the user, the user can determine a virtual object corresponding to the candidate virtual object identifier as a target virtual object through continuous release operation with the trigger operation, and release a virtual prop corresponding to the virtual prop control to the target virtual object. It should be noted that the number of target virtual objects is the same as the number of candidate virtual object identifiers.
It should be noted that, when the user performs the sliding operation continuous to the trigger operation, but the sliding operation does not reach the condition for changing the candidate virtual object identifier, for example, when the distance of the sliding operation does not reach a preset sliding distance, that is, when the candidate virtual object identifier determined by the touch terminal is not changed, if the user performs the release operation continuous to the sliding operation, the touch terminal determines the virtual object corresponding to the candidate virtual object identifier determined by the touch terminal as the target virtual object, and releases the virtual item corresponding to the virtual item control to the target virtual object.
In order to avoid the misoperation, the fault tolerance rate is improved, and thus the user experience is improved, the method may further include: detecting whether the touch point of the sliding operation moves into a preset cancel area or not; and if the touch point of the sliding operation moves into a preset cancellation area, canceling the release of the virtual prop corresponding to the virtual prop control.
In this exemplary embodiment, the preset cancellation area may be set at any position in the interactive interface of the touch terminal, for example, when the candidate virtual object identifier is changed through a sliding operation in an up-down direction, the preset cancellation area may be set on the left or right of the virtual item control. For another example, when the candidate virtual object identifier is changed by a sliding operation in the left-right direction, the preset cancel area may be set above or below the virtual item control. It is to be noted that the position of the preset cancellation area in the present exemplary embodiment is not limited thereto.
The shape of the preset cancellation area may be set by a developer, for example, it may be a rectangle, a square, a circle, a triangle, an irregular shape, and the like, and this exemplary embodiment is not particularly limited thereto. The display state of the preset cancellation area may be, for example, a semi-transparent display state, an opaque display state, a highlighted display state, and the like, which is not particularly limited in this exemplary embodiment. The size of the preset cancellation region can be set by a developer, for example, when the preset cancellation region is rectangular and is set on the left side of the virtual prop control, if a user changes the candidate virtual object identifier through a sliding operation in the up-down direction, the length of the preset cancellation region can be equal to the sum of the distance that the sliding operation can slide upwards and the distance that the sliding operation can slide downwards, the width of the preset cancellation region can be set by the developer, and at this time, if the user changes the candidate virtual object identifier through a sliding operation in the up-down direction, the virtual prop corresponding to the virtual prop control can be cancelled through the sliding operation that slides to the preset cancellation region to the left.
It should be noted that the coordinates of the touch point of the sliding operation can be obtained in real time, whether the coordinates of the touch point of the sliding operation move to the coordinate range of the preset cancel area or not is judged, and the release of the virtual prop corresponding to the virtual prop control is cancelled when the coordinates of the touch point of the sliding operation move to the coordinate range of the preset cancel area.
By setting the preset cancellation area, no matter the user executes the trigger operation on the virtual prop control or changes the candidate virtual object identifier through the sliding operation, the user can execute the sliding operation and control the touch point of the sliding operation to move to the preset cancellation area so as to cancel the release of the virtual prop corresponding to the virtual prop control.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In an exemplary embodiment of the present disclosure, there is further provided a virtual item control apparatus in a racing game, which is applied to a touch terminal capable of presenting at least one virtual item control and a virtual object list, where the virtual object list includes a plurality of virtual object identifiers, as shown in fig. 10, the virtual item control apparatus 1000 may include: a determination module 1001, a change module 1002, and a release module 1003. Wherein:
a determining module 1001, configured to determine, in response to a trigger operation acting on the virtual item control, at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule;
a changing module 1002, configured to detect a sliding operation that is continuous with the triggering operation, and change the candidate virtual object identifier in the virtual object list according to a sliding direction of the sliding operation;
a releasing module 1003, configured to respond to a releasing operation that is continuous with the sliding operation, determine the virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and release the virtual item corresponding to the virtual item control to the target virtual object.
The specific details of each virtual prop control device module are already described in detail in the corresponding virtual prop control method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the apparatus for performing are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 1100 according to this embodiment of the invention is described below with reference to fig. 11. The electronic device 1100 shown in fig. 11 is only an example and should not bring any limitations to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 11, electronic device 1100 is embodied in the form of a general purpose computing device. The components of the electronic device 1100 may include, but are not limited to: the at least one processing unit 1110, the at least one memory unit 1120, a bus 1130 connecting different system components (including the memory unit 1120 and the processing unit 1110), and a display unit 1140.
Wherein the storage unit stores program code that is executable by the processing unit 1110 to cause the processing unit 1110 to perform steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification. For example, the processing unit 1110 may execute step S110 shown in fig. 1, and determine, in response to a trigger operation applied to the virtual item control, at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule; step S120, detecting a sliding operation continuous with the triggering operation, and changing the candidate virtual object identifier in the virtual object list according to the sliding direction of the sliding operation; step S130, responding to the continuous release operation with the sliding operation, determining the virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and releasing the virtual prop corresponding to the virtual prop control to the target virtual object.
The storage unit 1120 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)11201 and/or a cache memory unit 11202, and may further include a read only memory unit (ROM) 11203.
Storage unit 1120 may also include a program/utility 11204 having a set (at least one) of program modules 11205, such program modules 11205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1130 may be representative of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1100 may also communicate with one or more external devices 1170 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1100, and/or any devices (e.g., router, modem, etc.) that enable the electronic device 1100 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 1150. Also, the electronic device 1100 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1160. As shown, the network adapter 1160 communicates with the other modules of the electronic device 1100 over the bus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
Referring to fig. 12, a program product 1200 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (12)

1. A virtual item control method in a racing game is applied to a touch terminal capable of presenting at least one virtual item control and a virtual object list, wherein the virtual object list comprises a plurality of virtual object identifications, and the virtual item control method comprises the following steps:
responding to the triggering operation acted on the virtual prop control, and determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule;
detecting a sliding operation continuous with the triggering operation, and changing the candidate virtual object identification in the virtual object list according to the sliding direction of the sliding operation;
responding to a release operation continuous with the sliding operation, determining a virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and releasing a virtual prop corresponding to the virtual prop control to the target virtual object;
wherein, determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule includes: determining at least one virtual object identifier in the virtual object list as the candidate virtual object identifier according to the type of the virtual prop control; or, determining any virtual object identifier in the virtual object list as the candidate virtual object identifier.
2. The virtual prop control method according to claim 1, characterized in that the method further comprises:
and acquiring the name information of each virtual object, and generating the virtual object list according to the name information of each virtual object.
3. The method for controlling the virtual item according to claim 1, wherein the determining at least one virtual object id in the virtual object list as a candidate virtual object id according to a preset rule further comprises:
displaying the candidate virtual object identifications distinctively in the virtual object list.
4. The virtual item control method according to claim 1, wherein the changing the candidate virtual object identifier in the virtual object list according to the sliding direction of the sliding operation includes:
acquiring the sliding direction and the sliding distance of the sliding operation in real time, and determining a reference candidate virtual object identifier in the candidate virtual object identifiers;
and changing the candidate virtual object identification in the virtual object list according to the sliding direction and the sliding distance and based on the reference candidate virtual object identification.
5. The virtual prop control method according to claim 4, wherein the sliding direction includes a first sliding direction and a second sliding direction;
said altering said candidate virtual object identification in said virtual object list according to said sliding direction and sliding distance and based on said reference candidate virtual object identification comprises:
if the sliding direction is the first sliding direction, changing the candidate virtual object identifier in the virtual object identifier arranged in front of the reference candidate virtual object identifier according to the sliding distance;
and if the sliding direction is the second sliding direction, changing the candidate virtual object identifier in the virtual object identifiers arranged behind the reference candidate virtual object identifier according to the sliding distance.
6. The virtual item control method according to claim 1, wherein the changing the candidate virtual object identifier in the virtual object list according to the sliding direction of the sliding operation further comprises:
and distinctively displaying the changed candidate virtual object identification.
7. The virtual item control method of claim 6, wherein said distinctively displaying the changed candidate virtual object identifier further comprises:
and controlling the touch terminal to execute preset prompt operation.
8. The virtual prop control method according to claim 1, characterized in that the method further comprises:
when the sliding operation continuous with the triggering operation is not detected and the releasing operation continuous with the triggering operation is detected, determining the virtual object corresponding to the candidate virtual object identifier as a target virtual object, and releasing the virtual prop corresponding to the virtual prop control to the target virtual object.
9. The virtual prop control method according to claim 1, characterized in that the method further comprises:
detecting whether the touch point of the sliding operation moves into a preset cancel area or not;
and if the touch point of the sliding operation moves into a preset cancellation area, canceling the release of the virtual prop corresponding to the virtual prop control.
10. A virtual item control device in a racing game is applied to a touch control terminal capable of presenting at least one virtual item control and a virtual object list, wherein the virtual object list comprises a plurality of virtual object identifications, and the virtual item control device comprises:
the determining module is used for responding to the triggering operation acted on the virtual prop control and determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule;
a changing module, configured to detect a sliding operation that is continuous with the triggering operation, and change the candidate virtual object identifier in the virtual object list according to a sliding direction of the sliding operation;
a release module, configured to respond to a release operation that is continuous with the sliding operation, determine a virtual object corresponding to the changed candidate virtual object identifier as a target virtual object, and release a virtual prop corresponding to the virtual prop control to the target virtual object;
wherein, determining at least one virtual object identifier in the virtual object list as a candidate virtual object identifier according to a preset rule includes: determining at least one virtual object identifier in the virtual object list as the candidate virtual object identifier according to the type of the virtual prop control; or, determining any virtual object identifier in the virtual object list as the candidate virtual object identifier.
11. A computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the virtual item control method in a racing game according to any one of claims 1 to 9.
12. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the method for controlling the virtual item in the racing game according to any one of claims 1-9 through executing the executable instruction.
CN201810437102.8A 2018-05-09 2018-05-09 Virtual item control method and device, storage medium and electronic equipment Active CN108579089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810437102.8A CN108579089B (en) 2018-05-09 2018-05-09 Virtual item control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810437102.8A CN108579089B (en) 2018-05-09 2018-05-09 Virtual item control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108579089A CN108579089A (en) 2018-09-28
CN108579089B true CN108579089B (en) 2021-11-12

Family

ID=63636478

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810437102.8A Active CN108579089B (en) 2018-05-09 2018-05-09 Virtual item control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108579089B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427231B (en) * 2018-12-12 2022-07-12 网易(杭州)网络有限公司 Property throwing method and device, electronic equipment and storage medium
CN110585712A (en) * 2019-09-20 2019-12-20 腾讯科技(深圳)有限公司 Method, device, terminal and medium for throwing virtual explosives in virtual environment
CN110721468B (en) * 2019-09-30 2020-09-15 腾讯科技(深圳)有限公司 Interactive property control method, device, terminal and storage medium
CN110929132B (en) * 2019-11-14 2023-10-20 北京有竹居网络技术有限公司 Information interaction method, device, electronic equipment and computer readable storage medium
CN111249725B (en) * 2020-01-17 2021-08-20 腾讯科技(深圳)有限公司 Control method and device for virtual scene object
CN111596838B (en) 2020-04-24 2021-06-18 腾讯科技(深圳)有限公司 Service processing method and device, computer equipment and computer readable storage medium
CN112044071B (en) 2020-09-04 2021-10-15 腾讯科技(深圳)有限公司 Virtual article control method, device, terminal and storage medium
CN112263830B (en) * 2020-09-28 2023-04-07 上海米哈游天命科技有限公司 Virtual target locking method, device, equipment and medium
CN113476845A (en) * 2021-07-08 2021-10-08 网易(杭州)网络有限公司 Interactive control method and device in game, electronic equipment and computer medium
CN113827970A (en) * 2021-09-28 2021-12-24 网易(杭州)网络有限公司 Information display method and device, computer readable storage medium and electronic equipment
CN116920379A (en) * 2022-04-08 2023-10-24 腾讯科技(深圳)有限公司 Virtual prop processing method, device, terminal, medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012120782A (en) * 2010-12-10 2012-06-28 Konami Digital Entertainment Co Ltd Game device and game control program
WO2015159747A1 (en) * 2014-04-14 2015-10-22 株式会社コナミデジタルエンタテインメント Message input reception device, message system, program, and information storage medium
CN105260100A (en) * 2015-09-29 2016-01-20 腾讯科技(深圳)有限公司 Information processing method, terminal and computer storage medium
CN105335064A (en) * 2015-09-29 2016-02-17 腾讯科技(深圳)有限公司 Information processing method, terminal, and computer storage medium
CN107899241A (en) * 2017-11-22 2018-04-13 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012120782A (en) * 2010-12-10 2012-06-28 Konami Digital Entertainment Co Ltd Game device and game control program
WO2015159747A1 (en) * 2014-04-14 2015-10-22 株式会社コナミデジタルエンタテインメント Message input reception device, message system, program, and information storage medium
CN105260100A (en) * 2015-09-29 2016-01-20 腾讯科技(深圳)有限公司 Information processing method, terminal and computer storage medium
CN105335064A (en) * 2015-09-29 2016-02-17 腾讯科技(深圳)有限公司 Information processing method, terminal, and computer storage medium
CN107899241A (en) * 2017-11-22 2018-04-13 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment

Also Published As

Publication number Publication date
CN108579089A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN108579089B (en) Virtual item control method and device, storage medium and electronic equipment
CN108287657B (en) Skill applying method and device, storage medium and electronic equipment
CN107551537B (en) Method and device for controlling virtual character in game, storage medium and electronic equipment
EP3273334B1 (en) Information processing method, terminal and computer storage medium
CN108037888B (en) Skill control method, skill control device, electronic equipment and storage medium
CN108379839B (en) Control response method and device and terminal
JP6875346B2 (en) Information processing methods and devices, storage media, electronic devices
JP2020036907A (en) Information processing method, terminal, and computer storage medium
US11752432B2 (en) Information processing device and method of causing computer to perform game program
CN108159697B (en) Virtual object transmission method and device, storage medium and electronic equipment
CN104364734B (en) Remote session control using multi-touch inputs
CN109460179B (en) Virtual object control method and device, electronic equipment and storage medium
CN109960558B (en) Virtual object control method and device, computer storage medium and electronic equipment
CN107329690B (en) Virtual object control method and device, storage medium and electronic equipment
CN107656620B (en) Virtual object control method and device, electronic equipment and storage medium
CN109260713B (en) Virtual object remote assistance operation method and device, storage medium and electronic equipment
CN109939433B (en) Operation control method and device of virtual card, storage medium and electronic equipment
CN110090444B (en) Game behavior record creating method and device, storage medium and electronic equipment
CN107185232B (en) Virtual object motion control method and device, electronic equipment and storage medium
US11099723B2 (en) Interaction method for user interfaces
CN110624241A (en) Information processing method and device, electronic equipment and storage medium
JP2016134052A (en) Interface program and game program
CN109542323B (en) Interaction control method and device based on virtual scene, storage medium and electronic equipment
CN108434731B (en) Virtual object control method and device, storage medium and electronic equipment
CN110075519A (en) Information processing method and device, storage medium and electronic equipment in virtual reality

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