WO2021244306A1 - 虚拟对象的选择方法、装置、设备及存储介质 - Google Patents

虚拟对象的选择方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2021244306A1
WO2021244306A1 PCT/CN2021/095034 CN2021095034W WO2021244306A1 WO 2021244306 A1 WO2021244306 A1 WO 2021244306A1 CN 2021095034 W CN2021095034 W CN 2021095034W WO 2021244306 A1 WO2021244306 A1 WO 2021244306A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual object
priority
execution range
range
priority execution
Prior art date
Application number
PCT/CN2021/095034
Other languages
English (en)
French (fr)
Inventor
万钰林
胡勋
粟山东
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to JP2021564717A priority Critical patent/JP7137718B2/ja
Priority to KR1020217033732A priority patent/KR102641337B1/ko
Priority to US17/507,348 priority patent/US12005353B2/en
Publication of WO2021244306A1 publication Critical patent/WO2021244306A1/zh

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/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/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
    • A63F13/426Processing 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 involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • 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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input 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/2145Input 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
    • 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/537Controlling 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 using indicators, e.g. showing the condition of a game character on screen
    • 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/537Controlling 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 using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5372Controlling 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 using indicators, e.g. showing the condition of a game character on screen for tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
    • 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
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • A63F2300/00Features 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/10Features 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/1068Features 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 to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/30Features 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 output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Definitions

  • the embodiments of the present application relate to the field of computer and Internet technologies, and in particular, to a method, device, device, and storage medium for selecting virtual objects.
  • MOBA Multiplayer Online Battle Arena, multiplayer online tactical competitive game
  • users can log in to the client of the MOBA game to control their corresponding virtual objects in the virtual environment.
  • each skill corresponds to an operation button, and the user can actively select the target virtual object by touching the operation button.
  • the embodiments of the present application provide a method, device, terminal, and storage medium for selecting a virtual object.
  • the technical solution is as follows:
  • an embodiment of the present application provides a method for selecting a virtual object, and the method includes:
  • a second virtual object is selected from the priority execution range as the target virtual object corresponding to the first operation.
  • an embodiment of the present application provides a virtual object selection device, the device includes:
  • the user interface display module is configured to display a display screen corresponding to the virtual environment and the first virtual object located in the virtual environment on the user interface;
  • a setting range obtaining module configured to obtain a setting execution range of the first operation of the first virtual object in the virtual environment
  • a priority range determination module configured to determine a priority execution range of the first operation in the virtual environment, where the priority execution range is within the set execution range and smaller than the set execution range;
  • the target object selection module is configured to select a second virtual object from the priority execution range as the target virtual object corresponding to the first operation.
  • an embodiment of the present application provides a terminal.
  • the terminal includes a processor and a memory.
  • the memory stores at least one instruction, at least one program, code set, or instruction set.
  • the at least one piece of program, the code set or the instruction set is loaded and executed by the processor to implement the above-mentioned method for selecting virtual objects.
  • an embodiment of the present application provides a computer-readable storage medium, and the storage medium stores at least one instruction, at least one program, code set, or instruction set, the at least one instruction, the at least one program ,
  • the code set or instruction set is loaded and executed by the processor to implement the above-mentioned method for selecting virtual objects.
  • a computer program product which when the computer program product runs on a terminal, causes the terminal to execute the above-mentioned method for selecting virtual objects.
  • Figure 1 is a schematic diagram of an application running environment provided by an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • Fig. 3 is a flowchart of a method for selecting a virtual object provided by an embodiment of the present application
  • FIG. 4 is a schematic diagram of the operating distance of the first type of operation provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a priority execution range provided by an embodiment of the present application.
  • 6A and 6B are schematic diagrams of the priority execution range provided by another embodiment of the present application.
  • FIG. 7 is a flowchart of a method for selecting a virtual object provided by another embodiment of the present application.
  • FIG. 8 is a schematic diagram of the application of the method for selecting a virtual object according to an embodiment of the application.
  • Fig. 9 is a block diagram of a virtual object selection device provided by an embodiment of the present application.
  • FIG. 10 is a block diagram of a device for selecting virtual objects according to another embodiment of the present application.
  • FIG. 11 is a structural block diagram of a terminal provided by an embodiment of the present application.
  • FIG. 1 shows a schematic diagram of an application running environment provided by an embodiment of the present application.
  • the application running environment may include: a terminal 100 and a server 200.
  • the terminal 100 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, and a PC (Personal Computer, personal computer).
  • the terminal 100 can install an application client.
  • the above-mentioned application program may be any application program that can provide a virtual environment for users to substitute and operate virtual objects in the virtual environment to perform activities in the virtual environment.
  • the application is a game application, such as a Multiplayer Online Battle Arena (MOBA) game, a Battle Royale (BR) game, and a third-person shooting game (Third-Personal Shooting Game, TPS), First-Person Shooting Game (FPS) and multiplayer gun battle survival games, etc.
  • a game application such as a Multiplayer Online Battle Arena (MOBA) game, a Battle Royale (BR) game, and a third-person shooting game (Third-Personal Shooting Game, TPS), First-Person Shooting Game (FPS) and multiplayer gun battle survival games, etc.
  • MOBA Multiplayer Online Battle Arena
  • BR Battle Royale
  • TPS Three-person shooting game
  • FPS First-Person Shooting Game
  • multiplayer gun battle survival games etc.
  • other types of applications can also show virtual objects to users and provide
  • the terminal 100 runs a client of the above-mentioned application program.
  • the above-mentioned application program is an application program developed based on a three-dimensional virtual environment engine.
  • the virtual environment engine is a Unity engine.
  • the virtual environment engine can construct a three-dimensional virtual environment, virtual objects, virtual props, etc., for users Bring a more immersive gaming experience.
  • the above-mentioned virtual environment is a scene displayed (or provided) when the client of an application program (such as a game application) runs on a terminal, and the virtual environment refers to a scene created for virtual objects to perform activities (such as game competition).
  • an application program such as a game application
  • the virtual environment refers to a scene created for virtual objects to perform activities (such as game competition).
  • the virtual environment may be a simulation environment of the real world, a semi-simulation and semi-fictional environment, or a purely fictitious environment.
  • the virtual environment may be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment, which is not limited in the embodiment of the present application.
  • the aforementioned virtual object may be a virtual character controlled by a user account (for example, a user account registered on an application server) in an application program, or a virtual character controlled by a computer program in the application program.
  • the virtual object can be a game character controlled by a user account in the game application, or a game monster controlled by a computer program in the game application.
  • the virtual object may be in the form of a character, an animal, a cartoon, or other forms, which is not limited in the embodiment of the present application.
  • the virtual object can be displayed in a three-dimensional form or in a two-dimensional form, which is not limited in the embodiment of the present application.
  • the virtual object when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional model created based on animation skeleton technology. Each virtual object has its own shape and volume in the three-dimensional virtual environment, and occupies a part of the space in the three-dimensional virtual environment.
  • the terminal 100 may receive the operation of the virtual object, and determine the effective execution range according to the set execution range of the operation and the visible boundary range in the virtual environment, and then select the corresponding operation from the effective execution range.
  • the target virtual object may receive the operation of the virtual object, and determine the effective execution range according to the set execution range of the operation and the visible boundary range in the virtual environment, and then select the corresponding operation from the effective execution range.
  • the aforementioned virtual objects include virtual objects in the same camp and virtual objects in different camps, that is, in the application, the virtual objects are divided into different camps.
  • the virtual objects in the red team and the red team are in the same camp and The relationship is teammates.
  • the virtual objects on the blue side and the blue side are in the same camp and are each other's teammate relationship, while the virtual objects in the red side and the blue side are in different camps and are hostile to each other.
  • the server 200 is used to provide background services for clients of applications in the terminal 100.
  • the server 200 may be a background server of the above-mentioned application program.
  • the server 200 may be one server, a server cluster composed of multiple servers, or a cloud computing service center.
  • the server 200 provides background services for applications in multiple terminals 100 at the same time.
  • the terminal 100 and the server 200 may communicate with each other through the network 300.
  • the network may be a wired network or a wireless network, which is not limited in the embodiment of the present application.
  • the terminal 100 may include a main board 110, an external output/input device 120, a memory 130, an external interface 140, a touch control system 150, and a power supply 160.
  • the motherboard 110 integrates processing elements such as a processor and a controller.
  • the external output/input device 120 may include a display component (such as a display screen), a sound playback component (such as a speaker), a sound collection component (such as a microphone), and various keys; for a PC terminal
  • the external output/input device 120 may include a display component (such as a display screen), a sound playback component (such as a speaker), a sound collection component (such as a microphone), and various keys (such as a mouse and a keyboard).
  • the memory 130 stores program codes and data.
  • the external interface 140 may include an earphone interface, a charging interface, a data interface, and the like.
  • the touch control system 150 may be integrated in the display component or the button of the external output/input device 120, and the touch control system 150 is used to detect the touch operation performed by the user on the display component or the button.
  • the power supply 160 is used to supply power to other components in the terminal 100.
  • the processor in the motherboard 110 can generate a user interface (such as a game interface) by executing or calling program codes and data stored in the memory, and output/output the generated user interface (such as a game interface) through an external device.
  • the input device 120 performs presentation.
  • the touch control system 150 can detect a touch operation performed when the user interacts with the user interface (such as a game interface), and respond to the touch operation.
  • the method for selecting virtual objects can include three levels: presentation layer: it exists on the client side and is used to manage the input of the user interface, transmit data packets to the server, and execute the data transmitted by the logical layer; logical layer: It exists on the client side and is used for data logical operations. After the operation is completed, the data is transmitted to the presentation layer for execution; server: exists on the server side and is used to receive the data transmitted by the presentation layer and synchronize it to the client logic layer.
  • presentation layer it exists on the client side and is used to manage the input of the user interface, transmit data packets to the server, and execute the data transmitted by the logical layer
  • logical layer It exists on the client side and is used for data logical operations. After the operation is completed, the data is transmitted to the presentation layer for execution
  • server exists on the server side and is used to receive the data transmitted by the presentation layer and synchronize it to the client logic layer.
  • presentation layer it exists on the client side and is used to manage the input of the user interface, transmit data packets to the server,
  • FIG. 3 shows a flowchart of a method for selecting a virtual object provided by an embodiment of the present application.
  • This method can be applied to the client terminal of the above-mentioned application program, such as applied to the client terminal installed in the terminal 100 in the application program running environment shown in FIG. 1 (hereinafter referred to as "client").
  • the method may include the following steps (S110 ⁇ S140):
  • step S110 a display screen corresponding to the virtual environment and a first virtual object located in the virtual environment are displayed on the user interface.
  • the user interface refers to the interface of the application displayed to the user on the client.
  • the application program can be a computer program that needs to be downloaded and installed, or it can be a click-to-use computer program.
  • the above-mentioned application program may be any application program capable of providing a virtual environment, such as a game application program; the above-mentioned user interface includes a display screen of the virtual environment.
  • the display screen may include virtual objects and virtual objects, such as virtual characters, virtual buildings, virtual buildings, virtual environments, and virtual maps. The user can control the first virtual object to interact with various virtual items or virtual objects in the virtual environment.
  • the client when it receives the startup instruction of the application triggered by the user, it can control the running of the application and display the user interface corresponding to the application.
  • the aforementioned user interface includes a display screen corresponding to the virtual environment and a first virtual object located in the virtual environment.
  • the first virtual object may be a virtual object controlled by the user.
  • the first virtual object may be in the form of a character, an animal, a cartoon, or other forms, which is not limited in the embodiment of the present application.
  • the first virtual object may be displayed in a three-dimensional form, or may be displayed in a two-dimensional form.
  • Step S120 Acquire the set execution range of the first operation of the first virtual object in the virtual environment.
  • the first operation may refer to any interactive operation between the first virtual object and the aforementioned virtual environment.
  • the first operation is a skill release operation of the first virtual object or a common attack operation of the first virtual object.
  • the action target corresponding to the interactive operation may be a virtual item in the virtual environment or other virtual objects in the virtual environment, which is not limited in the embodiment of the present application.
  • the above-mentioned first operation is triggered by the user controlling the first virtual object.
  • the user can trigger the trigger instruction of the first operation by clicking the corresponding icon on the user interface or pressing the corresponding key position.
  • the client controls the first virtual object to execute the first operation. operate.
  • the above-mentioned first operation is triggered by the computer program controlling the first virtual object.
  • the client can control the first virtual object to perform the above-mentioned first operation according to a preset rule.
  • the aforementioned preset rules can be flexibly set.
  • the aforementioned preset rules include online duration conditions.
  • the client can detect the online duration of the first virtual object, and if the online duration of the first virtual object meets the online duration condition, the first virtual object is controlled to perform the above-mentioned first operation.
  • the aforementioned preset rules include attribute parameter conditions.
  • the client can detect the attribute parameter of the first virtual object, and if one or more attribute parameters of the first virtual object meet the attribute parameter condition, control the first virtual object to perform the above-mentioned first operation.
  • the above attribute parameters may include life value, defense value, or attack speed, etc., which are not limited in the embodiment of the present application.
  • the aforementioned preset rules include operating parameter conditions.
  • the client can detect the operating parameter of the first virtual object, and if the operating parameter of the first virtual object meets the operating parameter condition, control the first virtual object to perform the above-mentioned first operation.
  • the aforementioned operating parameters may be the number of monsters defeated, the number of skill releases, or the number of items used, etc., which are not limited in the embodiment of the present application. It should be noted that the foregoing introduction to the preset rules is only exemplary and explanatory. In actual applications, the foregoing preset rules can be flexibly set according to actual conditions.
  • the setting execution range refers to the scope of the above-mentioned first operation, and the setting execution range corresponding to different first operations may be different.
  • the client after displaying the above-mentioned user interface, the client may obtain the set execution range of the first operation of the first virtual object in the virtual environment.
  • the shape of the setting execution range may be a circle, a sector, a rectangle, a triangle, etc., which is not limited in the embodiment of the present application.
  • the above-mentioned setting execution range is a preset range, and the preset range is set by a designer or a user.
  • the setting execution range can be determined according to the operating range and additional range parameters.
  • the operating range is the Skill Range in the virtual environment corresponding to the first operation, and the additional range parameter is set outside the operating range when searching for virtual objects (for example, virtual objects other than the first virtual object)
  • the setting execution range can be a circular area with the current location of the first virtual object as the center and the sum of the operating range and additional range parameters (Skill Range+Y) as the radius.
  • the position of the aforementioned setting execution range in the virtual environment changes as the position of the first virtual object in the virtual environment changes.
  • the execution range is set as a circular area with the current position of the first virtual object in the virtual environment as the center and the sum of the operating range and additional range parameters (Skill Range+Y) as the radius
  • the position of the first virtual object in the virtual environment changes, the position of the circle center of the setting execution range in the virtual environment also changes, and the position of the setting execution range in the virtual environment also changes.
  • the location in the virtual environment may be mapped to the location on the user interface and/or the display screen.
  • the above-mentioned set execution range is a condition range, and the condition range changes according to different conditions during the running process of the application program.
  • the set execution range of the first operation may have a positive correlation or an anti-correlation relationship with the number of executions of the first operation.
  • the above conditions can be flexibly set according to actual conditions, which are not limited in the embodiment of the present application.
  • the client can obtain the set execution range of the first operation in real time after displaying the user interface, and perform the set execution range according to the change of the position information of the first virtual object. Update; or, after receiving the trigger instruction of the first operation, the client may obtain the set execution range of the first operation, which is not limited in the embodiment of the present application.
  • Step S130 Determine the priority execution range of the first operation in the virtual environment, and the priority execution range is within the set execution range and smaller than the set execution range.
  • a priority execution range is also set, and the priority execution range is smaller than the set execution range.
  • the target virtual object can be selected from the smaller priority execution range to avoid the setting execution range being too large and the final selected target virtual object may exceed the client The displayed user interface, being obscured by icons in the user interface, etc.
  • stricter conditions are set for the selection of the target virtual object, which makes the selection process of the target virtual object more strategic and can save computing resources.
  • the embodiment of the present application does not limit the method for determining the priority execution range.
  • the client terminal determines the priority execution range in real time according to a certain rule.
  • the rule may be preset by the user or by the developer.
  • the client terminal determines the priority execution range according to a quarter of the set execution range.
  • the center position of the priority execution range is the same as the center position of the setting execution range, but the radius of the priority execution range is one-half of the radius of the setting execution range.
  • the user presets at least one priority execution range in the client, and in the process of determining the priority execution range, the client selects a priority execution range from the at least one priority execution range preset by the user.
  • the client randomly selects a priority execution range, or selects a priority execution range according to a certain condition, for example, client selection The scope of the smallest execution priority.
  • the user can set relevant information about the priority execution range, so the above method also includes The following steps:
  • the user interface displayed by the client may include an operation setting button, and the user can touch the operation setting button to trigger the client to display the operation setting interface.
  • the user may also touch the client terminal to display the operation setting interface in other ways, for example, through gestures, voice, etc., which is not limited in the embodiment of the present application.
  • the operation setting interface displayed by the client includes at least one operation control that can be touched by the user, such as a button, a slider, a text box, and the like.
  • the range setting control may be a button, a slider, a text box, and the like.
  • the client can receive the range setting instruction, and the range setting instruction is used to set the priority execution range of the first operation.
  • the range setting instruction may set the priority execution range of a single operation; or, the range setting instruction may be used to set the priority execution range of the first type of operation, which includes the first operation, that is, the range
  • the setting instruction can set the priority execution range of multiple operations under a certain type.
  • the first type of operation refers to an operation whose operating distance is greater than a threshold, and the operating distance is the distance between the first virtual object and the farthest operating point of the first operation.
  • the client has three types of operations: short-range operations, remote operations, and ultra-remote operations.
  • the client has a corresponding threshold.
  • the first type of operation is ultra-remote operation, and the corresponding threshold value is set to 12 meters for the ultra-remote operation client, then the operation distance (the farthest distance between the first virtual object 40 and the first operation) Operations with a distance between operating points greater than 12 meters are all operations of the first type.
  • the operating distance refers to the operating distance in the map of the virtual environment.
  • the client After the client receives the range setting instruction, it can determine the setting information of the priority execution range and store the setting information of the priority execution range for use in the subsequent process of determining the priority execution range.
  • the embodiment of the present application does not limit the content of the setting information of the priority execution range.
  • the setting information of the priority execution range includes at least one of the following: the radius of the priority execution range, the center of the priority execution range, the priority of the priority execution range, and the like.
  • Step S140 Select the second virtual object from the priority execution range as the target virtual object corresponding to the first operation.
  • the client may determine a second virtual object within the priority execution range, and the second virtual object is a virtual object for which the foregoing first operation can take effect.
  • the second virtual object is a friend virtual object of the first virtual object, that is, the second virtual object and the first virtual object are in a teammate relationship with each other; If the operation is an attack and other skills, the second virtual object is an enemy virtual object of the first virtual object, that is, the second virtual object and the first virtual object are in a hostile relationship with each other.
  • the state of the second virtual object in addition to limiting the relationship between the second virtual object and the first virtual object, the state of the second virtual object may also be determined.
  • the form of the second virtual object is limited, which is not limited in the embodiment of the present application.
  • the client may limit the state of the second virtual object as a non-invisible state, or limit the second virtual object as a character form, and so on.
  • the client may select the second virtual object from the priority execution range as the target virtual object corresponding to the first operation.
  • the client in the case where only one second virtual object is included in the priority execution range, the client can directly determine the second virtual object as the target virtual object; in the case where multiple second virtual objects are included in the priority execution range , The client can select the target virtual object from the plurality of second virtual objects.
  • the target virtual object is the virtual object affected by the first operation.
  • the target virtual object is the virtual object attacked by the functional skill.
  • the number of target virtual objects can be one or more.
  • the maximum number of target virtual objects can be set to be different.
  • the maximum number of target virtual objects set for a certain operation is 1, which means that the operation can only act on one target virtual object at most and produce an effect on one target virtual object.
  • the maximum number of target virtual objects set corresponding to a certain operation is x (x is greater than 1), which means that the operation can only act on x target virtual objects at most, and can produce effects on x target virtual objects.
  • the embodiment of the present application provides several ways to determine the target virtual object in view of the different size relationship between the maximum number of target virtual objects and the number of second virtual objects in the priority execution range.
  • the client terminal determines the second virtual objects in the priority execution range as the target virtual objects. For example, if only one second virtual object is included in the priority execution range, and the maximum number of target virtual objects is also one, the client can directly determine the second virtual object as the target virtual object. For another example, if three second virtual objects are included in the priority execution range, and the maximum number of target virtual objects is also three, then the client determines these three second virtual objects as target virtual objects. For another example, if two second virtual objects are included in the priority execution range, but the maximum number of target virtual objects is three, then the client can determine both of these two second virtual objects as target virtual objects.
  • the client selects the target virtual objects from the second virtual objects in the priority execution range. For example, if five second virtual objects are included in the priority execution range, but the maximum number of target virtual objects is three, then the client can select three second virtual objects from the five second virtual objects as the target virtual objects. For another example, if three second virtual objects are included in the priority execution range, but the maximum number of target virtual objects is one, then the client can select one second virtual object from the three second virtual objects as the target virtual object.
  • the number of target virtual objects is 1, if there is and only one second virtual object in the priority execution range, then the 1 second virtual object is determined as the target virtual object; if the priority execution range is There are multiple (that is, more than one) second virtual objects, then one second virtual object is selected from the multiple second virtual objects as the target virtual object.
  • the embodiment of the present application does not limit the manner in which the client selects the target virtual object.
  • the client randomly selects the target virtual object from the second virtual objects included in the priority execution range; or, the client selects the target virtual object from the second virtual objects included in the priority execution range according to a certain rule .
  • the client's selection of the target virtual object please refer to the following method embodiment, which will not be repeated here.
  • step S140 is for the case where the second virtual object is included in the priority execution range.
  • the second virtual object may not be included in the priority execution range.
  • the embodiment of the present application also provides several possible implementation manners of the client, which will be introduced and explained below.
  • the above method further includes: in response to the second virtual object being not included in the priority execution range, selecting the second virtual object from the set execution range as the target virtual object corresponding to the first operation. That is, in the case that the second virtual object is not included in the priority execution range with a smaller range, the client can expand the execution range of the first operation, from the second virtual object included in the set execution range with a larger range
  • the target virtual object is selected to ensure the normal execution of the first operation, and at the same time, it also enriches the selection methods of the target virtual object, making the selection process of the target virtual object more flexible.
  • the above method further includes: in response to the second virtual object being not included in the priority execution range, determining not to perform the first operation. That is, in the case that the second virtual object is not included in the priority execution range with a smaller range, the client does not perform the first operation to avoid the possibility that the client selects the target virtual object based on the larger execution range.
  • the target virtual object is located outside the user interface or on the edge of the user interface, when the first operation has an operation freezing time, it is possible to avoid wasting the resources used in the first operation, where the operation freezing time refers to the preset time
  • the first operation within the range is in an unexecutable state. For example, within one minute after the execution of the first operation, the client cannot execute the first operation again.
  • the technical solution provided by the embodiments of the present application obtains the set execution range of a certain operation of the virtual object controlled by the user, and then determines that the operation is within the set execution range and is smaller than the set execution range.
  • the priority execution range of the execution range and then select the target virtual object of the operation from the priority execution range, because the set execution range and priority execution range are automatically determined by the client according to a certain rule or a certain pre-stored setting Therefore, the user does not need to spend a lot of time touching the operation button corresponding to the operation to select the execution range, which reduces the user's operation time cost and improves the operation efficiency.
  • the client selects the target virtual object based on the priority execution range with a smaller range, which can avoid users whose setting execution range is too large and cause the target virtual object in the final selected virtual environment to exceed the display of the client.
  • the interface located at the edge of the user interface, being obscured by icons in the user interface, etc., improve the effectiveness of the target virtual object and the accuracy of the operation on the target virtual object, and also ensure that the user can watch the operation on the target virtual object The effect of, enhance the display effect of the user interface.
  • the embodiment of the present application sets a priority execution range within the set execution range, which can enrich the selection conditions of the target virtual object, and make the selection process of the target virtual object more flexible.
  • stricter conditions are set for the selection of the target virtual object, which makes the selection process of the target virtual object more strategic and can save computing resources.
  • the technical solution provided by the embodiments of the present application displays an operation setting interface and receives a range setting instruction for setting the priority execution range, and then stores the setting information of the priority execution range according to the range setting instruction, so that the customer
  • the terminal automatically uses the setting information in the process of selecting the target virtual object. Since the setting information of the priority execution range is set independently by the user, it is possible to provide the user with more independent setting space while ensuring that the target virtual object selected by the client based on the priority execution range matches the user's needs.
  • the set execution scope may include one priority execution scope or multiple priority execution scopes.
  • the two cases are respectively introduced and explained below.
  • the set execution range includes a priority execution range; the above step S130 includes: determining a priority execution range as the priority execution range of the first operation in the virtual environment.
  • the client can only determine the priority execution scope as the priority execution scope of the first operation in the virtual environment.
  • the determination method of a priority execution range within the set execution range please refer to the foregoing method embodiment, which will not be repeated here.
  • a priority execution range 20 is included in the setting execution range 10 of the first operation, and the center position of the priority execution range 20 It coincides with the center position of the setting execution range 10, and the radius of the priority execution range 20 is smaller than the radius of the setting execution range 10.
  • the center position of the priority execution range 20 and the center position of the setting execution range 10 are, for example, the position in the virtual environment where the first virtual object 40 is located. Assuming that there is a second virtual object 30 within the priority execution range 20 and within the set execution range 10 outside the priority execution range 20. However, the client selects the target virtual object based on The second virtual object 30 in the range 20 is preferentially executed to select the target virtual object.
  • the set execution range includes n priority execution ranges, and n is an integer greater than 1.
  • the above step S130 includes: from the n priority execution ranges, selecting the one with the highest priority and containing the second virtual object The priority execution range is determined as the priority execution range of the first operation in the virtual environment.
  • the client needs to select one priority execution scope from the multiple priority execution scopes as the priority execution scope of the first operation.
  • the center positions of the multiple priority execution ranges are the same, and the radii are different.
  • the multiple priority execution ranges respectively correspond to priorities. The client selects the priority execution range with the highest priority and containing the second virtual object from the multiple priority execution ranges as the priority execution range of the first operation.
  • the embodiment of the present application does not limit the method for determining the priority corresponding to the multiple priority execution ranges.
  • the priority levels corresponding to the multiple priority execution ranges are independently set by the user; alternatively, the priority levels corresponding to the multiple priority execution ranges are set by the client according to the size of the priority execution range.
  • the size of the priority level and the size of the range exhibit a negative correlation, that is, the smaller the range of the priority execution range, the greater the priority of the priority execution range.
  • the aforementioned n priority execution ranges are in a nested relationship, the i-th priority execution range is within the i+1th priority execution range, and the priority of the i-th priority execution range is higher than the i+th priority execution range.
  • the priority of 1 priority execution range, i is a positive integer.
  • the client first determines whether the second virtual object is included in the first priority execution range with the highest priority. In the case where the second virtual object is included in the first priority execution range, the first priority execution range is determined as the priority execution range of the first operation. In the case that the second virtual object is not included in the first priority execution range, the client further determines whether the second virtual object is included in the priority execution range corresponding to the next smaller priority, that is, determines the second priority Whether the second virtual object is included in the execution range, and so on.
  • the priority of a priority execution range until a certain priority execution range includes the second virtual object, and the priority execution range is determined as the priority execution range of the first operation.
  • the set execution range and the priority execution range are both circular areas
  • there are two priority execution ranges within the set execution range 10 of the first operation which are the priority execution ranges respectively 22 and priority execution range 24.
  • the center positions of the priority execution ranges 22 and 24 coincide with the center positions of the setting execution range 10 (for example, the position in the virtual environment where the first virtual object 40 is located), and the radii of the priority execution ranges 22 and 24 are both It is smaller than the radius of the setting execution range 10.
  • the priority of the priority execution range has a negative correlation with the radius of the priority execution range, as shown in FIGS.
  • the priority of the priority execution range 22 is The priority is greater than the priority of the priority execution range 24.
  • FIG. 6A it is assumed that there is a second virtual object 30 within the priority execution range 22 and outside the priority execution range 22. However, the client selects the target virtual object based on the priority execution range. 22 of the second virtual object 30 to select the target virtual object.
  • FIG. 6B assuming that there is no second virtual object 30 within the priority execution range 22, and that there is a second virtual object 30 within the priority execution range 24 outside the priority execution range 22, the client is based on the priority execution The second virtual object 30 in the range 24 is used to select the target virtual object.
  • the setting execution range and priority execution range are also It may be an elliptical area.
  • the technical solutions provided by the embodiments of the present application directly determine the priority execution range as the priority execution range of the operation by referring to the situation that only one priority execution range is included in the set execution range of a certain operation. , Provides a simple way to determine the priority scope of execution.
  • the technical solution provided by the embodiments of the present application through a situation where multiple priority execution ranges are included in the set execution range of a certain operation, the priority of the multiple priority execution ranges is the highest and the inclusion can take effect for the operation
  • the priority execution range of the virtual object is determined as the priority execution range of the operation, which provides a way to determine the priority execution range of the operation when multiple priority execution ranges are set.
  • the multiple priority execution ranges are in a nested relationship, and the priority execution range with a higher priority is nested in the priority execution range with a lower priority, so as to ensure that the client is selecting the target When a virtual object is selected, the priority execution range with the smallest scope is selected to achieve the final effect that the priority execution scope of the operation is as small as possible, which helps to further improve the effectiveness of the target virtual object.
  • step S140 includes the following steps:
  • the client determines the priority execution range of the first operation and there is a second virtual object in the priority execution range
  • the client can sort the priority of the second virtual object in the priority execution range to obtain the priority ranking result, In order to determine the priority order between the second virtual objects, it is convenient to quickly select the target virtual object.
  • the client can determine the priority of the second virtual object according to certain reference sorting information.
  • the above step (1) includes: obtaining the reference ranking information and the weight value corresponding to the reference ranking information; according to the reference ranking information and the weight value corresponding to the reference ranking information, determining the priority of the second virtual object in the priority execution range Level; sort the priority of the second virtual object in the priority execution range according to the priority.
  • the aforementioned reference ranking information includes at least one of the following: life value, distance value, energy value, level value, and attack state.
  • life value life value
  • distance value energy value
  • level value level value
  • attack state attack state
  • the distance value refers to the distance between the second virtual object and the center position of the priority execution range.
  • the center position of the priority execution range is the position of the first virtual object in the virtual environment
  • the distance value of the second virtual object refers to the distance between the second virtual object and the first virtual object.
  • the center position of the priority execution range is the position where the first operation has the strongest effect. For example, when the first operation is an attacking skill, the center position is the position where the attack is strongest.
  • the level value is used to indicate the operating capability of the user corresponding to the second virtual object.
  • the user corresponding to the second virtual object with a higher level value has stronger operating capabilities.
  • the second virtual object with a lower level value can be preferentially selected as the target virtual object. In this way, when the first operation is an attack skill, etc., it can be avoided that the user corresponding to the second virtual object has a strong operation ability and will promptly perform operations such as counterattack on the first virtual object controlled by the user, or the first operation is In situations such as increased blood skills, blood can be added to the second virtual object with a lower user operation ability in time, so as to prevent the user corresponding to the second virtual object from failing the game due to inability to operate.
  • the attack accepting state refers to whether the second virtual object is currently under attack.
  • the second virtual object currently being attacked is preferentially selected as the target virtual object, which can enhance the operation effect of the first operation; in the first operation, add
  • the second virtual object currently being attacked is preferentially selected as the target virtual object based on the above-mentioned accepting attack status, and the blood volume of the second virtual object can be supplemented in time to ensure the operational effect of the first operation.
  • the weight value may not be set for the reference ranking information, and the priority of the second virtual object may be directly ranked according to the reference ranking information.
  • weight values can be set for the multiple pieces of reference ranking information, and then the priority of the second virtual object is ranked according to the multiple pieces of reference ranking information and the weight values.
  • the weight value of each item of reference ranking information may be the same or different, which is not limited in the embodiment of the present application.
  • the weight value of each item of reference ranking information is randomly set by the client; or, the weight value of each item of reference ranking information is preset by the user, for example, the reference ranking information is a distance value, a rank value, and
  • the user can pre-set the weight value of the distance value to 60%, the weight value of the level value to 20%, and the weight value of the attack state to also be 20%.
  • the sorting result of the priority can be more matched with the needs of the user.
  • the client can determine the target virtual objects according to the obtained priority sorting results.
  • the embodiment of the present application does not limit the manner of determining the target virtual object.
  • the client determines the second virtual object with the highest priority as the target virtual object; or, the client sets the priority higher than the first virtual object of the target priority.
  • the virtual object is determined as the target virtual object; or, the client determines the second virtual object whose priority is within the target range as the target virtual object.
  • the above step (2) includes: acquiring the status information of the first virtual object; determining the target condition for selecting the target virtual object according to the status information; determining the second virtual object whose priority meets the target condition as the target virtual object Object.
  • the state information of the first virtual object includes at least one of the following: life value, energy value, and level value.
  • the client terminal determines the target condition for selecting the target virtual object according to the state information of the first virtual object. For example, in a case where the life value of the first virtual object is weak (for example, lower than a life value threshold), it is determined that the target condition is the highest priority. This can avoid performing the first operation on multiple virtual objects when the life value of the first virtual object is weak. By determining the target condition according to the state information of the first virtual object, it can be ensured that the selected target virtual object matches the current state of the first virtual object, and the immersive experience of the game is improved.
  • the above step (2) includes: obtaining the attribute information corresponding to the first operation; determining the target condition for selecting the target virtual object according to the attribute information; determining the second virtual object whose priority meets the target condition as the target Virtual object.
  • the above attribute information includes execution range and/or operation effect.
  • the client terminal determines the target condition for selecting the target virtual object according to the attribute information corresponding to the first operation. For example, in a case where the execution range of the first operation is relatively large, it may be determined that the target condition is that the priority is greater than the target priority. This can have an effect on multiple virtual objects at the same time and improve the effect of the first operation. By determining the target condition according to the attribute information corresponding to the first operation, it can be ensured that the selected target virtual object matches the first operation, and the effect of the first operation is improved.
  • the user can set the information or conditions used in selecting the target virtual object.
  • the above method further includes: displaying a condition setting interface; receiving an information setting instruction to set information used in the priority ranking process; and generating reference ranking information and reference ranking information according to the information setting instruction Weight value; receiving a condition setting instruction to set the priority of the target virtual object; according to the condition setting instruction, generating a target condition for selecting the target virtual object. That is, for the above-mentioned technical solution of selecting target virtual objects according to the priority ranking results, the user can set the information used in the priority ranking process and the conditions that the target virtual objects need to meet to ensure that the selected target virtual objects meet The needs of users.
  • the technical solution provided by the embodiments of the present application selects target virtual objects based on the priority execution range of a certain operation.
  • the target virtual object is selected from these virtual objects according to the priority ranking result. Since the reference ranking information used in the priority ranking process can be independently set by the user, the target virtual object selected in the embodiment of the present application is more in line with the user's preference.
  • the embodiments of the present application propose to use a variety of reference ranking information and the weight values corresponding to the various reference ranking information to prioritize the priority of these virtual objects from multiple dimensions, so as to fully consider the impact of these virtual objects.
  • the priority factor further improves the matching degree between the target virtual object and the user's needs.
  • FIG. 7 shows a flowchart of a method for selecting a virtual object provided by an embodiment of the present application.
  • This method can be applied to the client terminal of the above-mentioned application program, such as applied to the client terminal installed in the terminal 100 in the application program running environment shown in FIG. 1 (hereinafter referred to as "client").
  • the method can include the following steps (S200 ⁇ S290):
  • step S200 the user interface is displayed.
  • the user interface includes a display screen corresponding to the virtual environment, and a first virtual object located in the virtual environment.
  • the client receives the start instruction of the application triggered by the user, it can control the running of the application and display the user interface corresponding to the application.
  • the aforementioned user interface includes a display screen corresponding to the virtual environment, and a first virtual object located in the virtual environment.
  • the first virtual object may be a virtual object controlled by the user.
  • Step S210 Acquire the set execution range of the first operation of the first virtual object in the virtual environment.
  • the first operation refers to any interactive operation between the first virtual object and the aforementioned virtual environment.
  • the setting execution range refers to the scope of the above-mentioned first operation, and the setting execution range corresponding to different first operations may be different.
  • Step S220 Determine whether the second virtual object is included in the setting execution range. After determining the setting execution range, the client further determines whether the second virtual object is included in the setting execution range, and if the second virtual object is included in the setting execution range, the following step S230 is executed; If the second virtual object is not included in the range, the following step S290 is executed.
  • step S230 it is determined whether the priority execution range is configured. In the case that the second virtual object is included in the set execution range, the client further determines whether a smaller priority execution range is configured, and the priority execution range is within the set execution range and is smaller than the set execution range. If the priority execution range is configured, the following step S240 is executed; if the priority execution range is not configured, the following step S280 is executed.
  • Step S240 Determine the priority execution range of the first operation.
  • the client In the case that the client is configured with a priority execution range, the client needs to determine the priority execution range corresponding to the first operation.
  • step S250 it is determined whether the second virtual object is included in the priority execution range. After the priority execution range corresponding to the first operation is determined, it is further determined whether the second virtual object is included in the priority execution range. If the second virtual object is included in the priority execution range, the following step S260 is executed; If the second virtual object is not included in the range, the following step S280 is executed;
  • Step S260 Sort the priorities of the second virtual objects in the priority execution range.
  • the client may sort the priority of the second virtual object.
  • the client may sort the priority of the second virtual object according to the reference ranking information and the priority of the reference ranking information.
  • Step S270 Select the target virtual object according to the priority ranking result.
  • the client selects the target virtual object according to the priority ranking result.
  • the client determines the second virtual object with the highest priority as the target virtual object; or, the client determines the second virtual object with a priority greater than the target priority as the target virtual object; or, the client determines The second virtual object whose priority is within the target range is determined as the target virtual object.
  • step S280 it is determined not to perform the first operation.
  • the first operation may be determined not to be executed, so as to avoid a situation where resources used by the first operation may be wasted.
  • Step S290 continue to search for the second virtual object.
  • the client can continuously search for the second virtual object within the set execution range.
  • the client performs a search for a preset duration to avoid the large processing overhead caused by endless searching for the second virtual object.
  • FIG. 8 is a schematic diagram of the application of the method for selecting a virtual object according to an embodiment of the application.
  • the skill joystick is usually a virtual button on the game interface.
  • a setting area in the center of the virtual button is set.
  • the quick release operation means, for example, that after the user operates the skill button, the client will actively select a target virtual object in the virtual environment according to the rules, and control the first virtual object corresponding to the user to shoot the target virtual object.
  • the manual aiming operation refers to, for example, that the user manually controls the first virtual object to select a target virtual object in the virtual environment and shoot the target virtual object by operating a skill button by the user.
  • the user's finger 82 presses the setting area 81 in the skill button 80 and does not move out of the setting area 80, it is deemed that the user controls the corresponding first virtual object 84 to perform Quick release operation.
  • the user's finger 82 presses the setting area 81 in the skill button 80 and moves out of the setting area 81, it is deemed that the user has controlled the corresponding first virtual object 84 to perform a manual aiming operation.
  • the client can use the virtual object selection method described in the foregoing embodiment of the present application when the user performs a quick release operation.
  • the client will preferentially search for the second virtual object 85 that is closer to the first virtual object 84, and release the skill corresponding to the quick release operation to it.
  • FIG. 9 shows a block diagram of a virtual object selection device provided by an embodiment of the present application.
  • the device has the function of realizing the above-mentioned method for selecting virtual objects, and the function can be realized by hardware, or by hardware executing corresponding software.
  • the device can be a terminal, or it can be set in the terminal.
  • the device 800 may include: a user interface display module 810, a set range acquisition module 820, a priority range determination module 830, and a target object selection module 840.
  • the user interface display module 810 is configured to display a display screen corresponding to the virtual environment and the first virtual object located in the virtual environment on the user interface.
  • the setting range obtaining module 820 is configured to obtain the setting execution range of the first operation of the first virtual object in the virtual environment.
  • the priority range determining module 830 is configured to determine a priority execution range of the first operation in the virtual environment, where the priority execution range is within the set execution range and smaller than the set execution range.
  • the target object selection module 840 is configured to select a second virtual object from the priority execution range as the target virtual object corresponding to the first operation.
  • the set execution range includes a priority execution range; the priority range determination module 830 is configured to: determine the one priority execution range as the first operation within the The scope of priority execution in the virtual environment.
  • the set execution range includes n priority execution ranges, where n is an integer greater than 1, and the priority range determination module 830 is configured to: In the virtual environment, the selection priority is the highest and the priority execution range of the second virtual object is determined as the priority execution range of the first operation in the virtual environment.
  • the n priority execution ranges are in a nested relationship
  • the i-th priority execution range is within the (i+1)th priority execution range
  • the i-th priority execution range has a high priority
  • the i is a positive integer.
  • the above-mentioned apparatus 800 further includes a first operation determining module 850, configured to determine not to execute the second virtual object in response to the priority execution range not including the second virtual object First operation.
  • the target object selection module 840 includes: a priority sorting unit 842, configured to sort the priorities of the second virtual objects in the priority execution range to obtain the priority The sorting result of the object; the object selection unit 844 is used to determine the target virtual object according to the sorting result of the priority.
  • the above-mentioned priority ranking unit 842 is configured to obtain reference ranking information and a weight value corresponding to the reference ranking information, and the reference ranking information includes at least one of the following: Value, distance value, energy value, level value, attack status; according to the reference ranking information and the weight value corresponding to the reference ranking information, the priority of the second virtual object in the priority execution range is determined; The priority ranks the priorities of the second virtual objects in the priority execution range.
  • the above-mentioned object selection unit 844 is configured to obtain state information of the first virtual object, and the state information includes at least one of the following: life value, energy value, level value Determine a target condition for selecting the target virtual object according to the state information; determine a second virtual object whose priority satisfies the target condition as the target virtual object.
  • the above-mentioned object selection unit 844 is configured to: obtain attribute information corresponding to the first operation, where the attribute information includes an execution range and/or an operation effect; according to the attribute information Determine a target condition for selecting the target virtual object; determine a second virtual object whose priority meets the target condition as the target virtual object.
  • the above-mentioned device 800 further includes: a condition setting display module 860, configured to display a condition setting interface; a first instruction receiving module 862, configured to receive an information setting instruction, so as to The information used in the priority ranking process is set; the reference information generating module 864 is configured to generate reference ranking information and the weight value of the reference ranking information according to the information setting instruction; the second instruction receiving module 866 is configured to receive conditions A setting instruction is used to set the priority of the target virtual object; a target condition generating module 868 is used to generate a target condition for selecting the target virtual object according to the condition setting instruction.
  • the above-mentioned device 800 further includes: an operation setting display module 872, configured to display an operation setting interface; The priority execution range of an operation is set, or the range setting instruction is used to set the priority execution range of the first type of operation, the first type of operation refers to the operation whose operating distance is greater than the threshold; the setting information storage module 876 , Used to store the setting information of the priority execution range according to the range setting instruction.
  • an operation setting display module 872 configured to display an operation setting interface
  • the priority execution range of an operation is set, or the range setting instruction is used to set the priority execution range of the first type of operation, the first type of operation refers to the operation whose operating distance is greater than the threshold
  • the setting information storage module 876 Used to store the setting information of the priority execution range according to the range setting instruction.
  • the technical solution provided by the embodiments of the present application obtains the set execution range of a certain operation of the virtual object controlled by the user, and then determines that the operation is within the set execution range and is smaller than the set execution range.
  • the priority execution range of the execution range and then select the target virtual object of the operation from the priority execution range, because the set execution range and priority execution range are automatically determined by the client according to a certain rule or a certain pre-stored setting Therefore, the user does not need to spend a lot of time touching the operation button corresponding to the operation to select the execution range, which reduces the user's operation time cost and improves the operation efficiency.
  • the client selects the target virtual object based on the priority execution range with a smaller range, which can avoid users whose setting execution range is too large and cause the target virtual object in the final selected virtual environment to exceed the display of the client.
  • the interface located at the edge of the user interface, being blocked by icons in the user interface, etc., improve the effectiveness of the target virtual object and the accuracy of the operation on the target virtual object, and also ensure that the user can watch the operation on the target virtual object The effect of, enhance the display effect of the user interface.
  • the embodiment of the present application sets a priority execution range within the set execution range, which can enrich the selection conditions of the target virtual object, and make the selection process of the target virtual object more flexible.
  • stricter conditions are set for the selection of the target virtual object, which makes the selection process of the target virtual object more strategic and can save computing resources.
  • FIG. 11 shows a structural block diagram of a terminal 1000 according to an embodiment of the present application.
  • the terminal 1000 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia playback device, a wearable device, and a PC.
  • the client running in the terminal can be used to implement the virtual object selection method provided in the foregoing embodiment.
  • the terminal may be the terminal 100 in the application running environment shown in FIG. 1. Specifically:
  • the terminal 1000 includes a processor 1001 and a memory 1002.
  • the processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on.
  • the processor 1001 can be implemented in at least one hardware form among DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), PLA (Programmable Logic Array, Programmable Logic Array) .
  • the processor 1001 may also include a main processor and a coprocessor.
  • the main processor is a processor used to process data in the awake state, also called a CPU (Central Processing Unit, central processing unit); the coprocessor is A low-power processor used to process data in the standby state.
  • the processor 1001 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used to render and draw content that needs to be displayed on the display screen.
  • the processor 1001 may further include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
  • AI Artificial Intelligence
  • the memory 1002 may include one or more computer-readable storage media, which may be non-transitory.
  • the memory 1002 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
  • the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one instruction, at least one program, code set or instruction set, the at least one instruction, at least one program, code set or instruction It is configured to be executed by one or more processors to implement the above-mentioned method for selecting virtual objects.
  • the terminal 1000 may optionally further include: a peripheral device interface 1003 and at least one peripheral device.
  • the processor 1001, the memory 1002, and the peripheral device interface 1003 may be connected by a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1003 through a bus, a signal line, or a circuit board.
  • the peripheral device includes: at least one of a radio frequency circuit 1004, a touch display screen 1005, a camera component 1006, an audio circuit 1007, a positioning component 1008, and a power supply 1009.
  • FIG. 11 does not constitute a limitation on the terminal 1000, and may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
  • a computer-readable storage medium stores at least one instruction, at least one program, a code set, or an instruction set, the at least one instruction, the at least one program
  • the code set or the instruction set is executed by the processor, the method for selecting the virtual object described above is realized.
  • the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State Drives, solid state drive), or optical disk Wait.
  • random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).
  • a computer program product is also provided, which is used to implement the aforementioned method for selecting virtual objects when the computer program product is executed by a processor.
  • the "plurality” mentioned herein refers to two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone.
  • the character "/” generally indicates that the associated objects before and after are in an "or” relationship.
  • the numbering of the steps described in this article only exemplarily shows a possible order of execution among the steps. In some other embodiments, the above steps may also be executed out of the order of numbers, such as two different numbers. The steps are executed at the same time, or the two steps with different numbers are executed in the reverse order to that shown in the figure, which is not limited in the embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种虚拟对象的选择方法、装置、终端及存储介质。该方法包括:在用户界面上显示虚拟环境对应的显示画面,以及位于虚拟环境中的第一虚拟对象(40);获取第一虚拟对象(40)的第一操作在虚拟环境中的设定执行范围(10);确定第一操作在所述虚拟环境中的优先执行范围(20),优先执行范围(20)在设定执行范围(10)之内且小于设定执行范围(10);从优先执行范围(20)内选取第二虚拟对象(30)作为第一操作对应的目标虚拟对象。

Description

虚拟对象的选择方法、装置、设备及存储介质
本申请要求于2020年06月05日提交的申请号为202010507422.3、发明名称为“虚拟对象的选择方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及计算机和互联网技术领域,特别涉及一种虚拟对象的选择方法、装置、设备及存储介质。
背景技术
MOBA(Multiplayer Online Battle Arena,多人在线战术竞技游戏)中,用户可以登录MOBA游戏的客户端,以控制其在虚拟环境中对应的虚拟对象。
相关技术中,用户可以通过控制其对应的虚拟对象释放一定的技能,该技能可以对其所处的虚拟环境中的目标虚拟对象产生伤害等效果。相关技术中,在客户端显示的用户界面中,每一个技能均对应有一个操作按钮,用户可以通过触控该操作按钮主动选取目标虚拟对象。
发明内容
本申请实施例提供了一种虚拟对象的选择方法、装置、终端及存储介质。所述技术方案如下:
一方面,本申请实施例提供了一种虚拟对象的选择方法,所述方法包括:
在用户界面上显示虚拟环境对应的显示画面,以及位于所述虚拟环境中的第一虚拟对象;
获取所述第一虚拟对象的第一操作在所述虚拟环境中的设定执行范围;
确定所述第一操作在所述虚拟环境中的优先执行范围,所述优先执行范围在所述设定执行范围之内且小于所述设定执行范围;
从所述优先执行范围内选取第二虚拟对象作为所述第一操作对应的目标虚拟对象。
另一方面,本申请实施例提供了一种虚拟对象的选择装置,所述装置包括:
用户界面显示模块,用于在用户界面上显示虚拟环境对应的显示画面,以及位于所述虚拟环境中的第一虚拟对象;
设定范围获取模块,用于获取所述第一虚拟对象的第一操作在所述虚拟环境中的设定执行范围;
优先范围确定模块,用于确定所述第一操作在所述虚拟环境中的优先执行范围,所述优先执行范围在所述设定执行范围之内且小于所述设定执行范围;
目标对象选取模块,用于从所述优先执行范围内选取第二虚拟对象作为所述第一操作对应的目标虚拟对象。
再一方面,本申请实施例提供了一种终端,所述终端包括处理器和存储器,所述存储器 中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现上述虚拟对象的选择方法。
又一方面,本申请实施例提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现上述虚拟对象的选择方法。
还一方面,提供了一种计算机程序产品,当所述计算机程序产品在终端上运行时,使得终端执行上述虚拟对象的选择方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请一个实施例提供的应用程序运行环境的示意图;
图2是本申请一个实施例提供的终端的结构示意图;
图3是本申请一个实施例提供的虚拟对象的选择方法的流程图;
图4是本申请一个实施例提供的第一类型操作的操作距离的示意图;
图5是本申请一个实施例提供的优先执行范围的示意图;
图6A和图6B是本申请另一个实施例提供的优先执行范围的示意图;
图7是本申请另一个实施例提供的虚拟对象的选择方法的流程图;
图8为本申请实施例的虚拟对象的选择方法的应用示意图。
图9是本申请一个实施例提供的虚拟对象的选择装置的框图;
图10是本申请另一个实施例提供的虚拟对象的选择装置的框图;
图11是本申请一个实施例提供的终端的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
请参考图1,其示出了本申请一个实施例提供的应用程序运行环境的示意图。该应用程序运行环境可以包括:终端100和服务器200。
终端100可以是诸如手机、平板电脑、游戏主机、电子书阅读器、多媒体播放设备、可穿戴设备、PC(Personal Computer,个人计算机)等电子设备。终端100中可以安装应用程序的客户端。
在本申请实施例中,上述应用程序可以是任何能够提供虚拟环境,以供用户代入和操作的虚拟对象在该虚拟环境中进行活动的应用程序。典型地,该应用程序为游戏应用程序,如多人在线战术竞技(Multiplayer Online Battle Arena,MOBA)游戏、大逃杀生存(Battle Royale,BR)游戏、第三人称射击游戏(Third-Personal Shooting Game,TPS)、第一人称射击游戏 (First-Person Shooting Game,FPS)和多人枪战类生存游戏,等等。当然,除了游戏应用程序之外,其它类型的应用程序中也可以向用户展示虚拟对象,并给虚拟对象提供相应的功能。例如,虚拟现实(Virtual Reality,VR)类应用程序、增强现实(Augmented Reality,AR)类应用程序、三维地图程序、军事仿真程序、社交类应用程序、互动娱乐类应用程序等,本申请实施例对此不作限定。另外,对于不同的应用程序来说,其所提供的虚拟对象的形态也会有所不同,且相应的功能也会有所不同,这都可以根据实际需求预先进行配置,本申请实施例对此不作限定。在一实施例中,终端100中运行有上述应用程序的客户端。在一些实施例中,上述应用程序是基于三维的虚拟环境引擎开发的应用程序,比如该虚拟环境引擎是Unity引擎,该虚拟环境引擎能够构建三维的虚拟环境、虚拟对象和虚拟道具等,给用户带来更加沉浸式的游戏体验。
其中,上述虚拟环境是应用程序(如游戏应用程序)的客户端在终端上运行时显示(或提供)的场景,该虚拟环境是指营造出的供虚拟对象进行活动(如游戏竞技)的场景,如虚拟房屋、虚拟岛屿、虚拟地图和虚拟建筑等。该虚拟环境可以是对真实世界的仿真环境,也可以是半仿真半虚构的环境,还可以是纯虚构的环境。虚拟环境可以是二维虚拟环境,也可以是2.5维虚拟环境,或者是三维虚拟环境,本申请实施例对此不作限定。
上述虚拟对象可以是用户帐号(例如,在应用程序服务器上注册的用户账号)在应用程序中控制的虚拟角色,也可以是由应用程序中的计算机程序控制的虚拟角色。以应用程序为游戏应用程序为例,虚拟对象可以是用户帐号在游戏应用程序中控制的游戏角色,也可以是游戏应用程序中的计算机程序控制的游戏怪物。虚拟对象可以是人物形态,可以是动物、卡通或者其它形态,本申请实施例对此不作限定。虚拟对象可以三维形式展示,也可以二维形式展示,本申请实施例对此不作限定。在一实施例中,当虚拟环境为三维虚拟环境时,虚拟对象是基于动画骨骼技术创建的三维立体模型。每个虚拟对象在三维虚拟环境中具有自身的形状和体积,占据三维虚拟环境中的一部分空间。在本申请实施例中,终端100可以接收虚拟对象的操作,并根据该操作的设定执行范围和虚拟环境中的可视边界范围确定有效执行范围,进而从该有效执行范围中选择上述操作对应的目标虚拟对象。
在一种可能的实施方式中,上述虚拟对象包括处于相同阵营的虚拟对象和处于不同阵营的虚拟对象,即在应用程序中,虚拟对象被划分为不同的阵营。示例性地,以MOBA游戏为例,十名用户进行匹配游戏,分为红方和蓝方两队,即每五个人为一组,此时红方与红方中的虚拟对象处于同一阵营且互为队友关系,蓝方与蓝方中的虚拟对象处于同一阵营且互为队友关系,而红方与蓝方中的虚拟对象处于不同阵营且互为敌对关系。
服务器200用于为终端100中的应用程序的客户端提供后台服务。例如,服务器200可以是上述应用程序的后台服务器。服务器200可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。在一实施例中,服务器200同时为多个终端100中的应用程序提供后台服务。
在一实施例中,终端100和服务器200之间可通过网络300进行互相通信。该网络可以是有线网络,也可以是无线网络,本申请实施例对此不作限定。
请参考图2,其示出了本申请一个实施例提供的终端的结构示意图。该终端100可以包括:主板110、外部输出/输入设备120、存储器130、外部接口140、触控系统150以及电源160。
其中,主板110中集成有处理器和控制器等处理元件。
在一实施例中,对于终端,其外部输出/输入设备120可以包括显示组件(比如显示屏)、声音播放组件(比如扬声器)、声音采集组件(比如麦克风)以及各类按键等;对于PC终端,其外部输出/输入设备120可以包括显示组件(比如显示屏)、声音播放组件(比如扬声器)、声音采集组件(比如麦克风)以及各类按键(比如鼠标和键盘)等。
存储器130中存储有程序代码和数据。
外部接口140可以包括耳机接口、充电接口以及数据接口等。
触控系统150可以集成在外部输出/输入设备120的显示组件或者按键中,触控系统150用于检测用户在显示组件或者按键上执行的触控操作。
电源160用于对终端100中的其它各个部件进行供电。
在本申请实施例中,主板110中的处理器可以通过执行或者调用存储器中存储的程序代码和数据生成用户界面(如游戏界面),并将生成的用户界面(如游戏界面)通过外部输出/输入设备120进行展示。在展示用户界面(如游戏界面)的过程中,可以通过触控系统150检测用户与用户界面(如游戏界面)进行交互时执行的触控操作,并对该触控操作进行响应。
根据本申请实施例的虚拟对象的选择方法,可以包括三个层面:表现层:存在于客户端,用于管理用户界面的输入、传输数据包给服务器、执行逻辑层传输的数据;逻辑层:存在于客户端,用于数据的逻辑运算,运算完后把数据传输给表现层执行;服务器:存在于服务端,用于接收表现层传输的数据并同步给客户端逻辑层。上述三个层面也可以都存在于客户端上,在此不再赘述。
请参考图3,其示出了本申请一个实施例提供的虚拟对象的选择方法的流程图。该方法可应用于上述应用程序的客户端中,如应用于上述图1所示的应用程序运行环境中的终端100中安装的客户端中(以下简称为“客户端”)。该方法可以包括以下几个步骤(S110~S140):
步骤S110,在用户界面上显示虚拟环境对应的显示画面,以及位于虚拟环境中的第一虚拟对象。
用户界面是指在客户端向用户展示的应用程序的界面。该应用程序可以是需要下载安装的计算机程序,也可以是即点即用的计算机程序。在一实施例中,上述应用程序可以是任何能够提供虚拟环境的应用程序,如游戏应用程序;上述用户界面包括该虚拟环境的显示画面。该显示画面中可以包括虚拟物品和虚拟对象,如虚拟人物、虚拟建筑、虚拟建筑、虚拟环境和虚拟地图等。用户可以控制第一虚拟对象与虚拟环境中的各种虚拟物品或虚拟对象进行交互。
在本申请实施例中,客户端在接收到用户触发的应用程序的启动指令时,可以控制该应用程序运行,并显示该应用程序对应的用户界面。其中,上述用户界面中包括虚拟环境对应的显示画面,以及位于该虚拟环境中的第一虚拟对象,第一虚拟对象可以是用户所控制的虚 拟对象。在一实施例中,该第一虚拟对象可以是人物形态,可以是动物、卡通或者其它形态,本申请实施例对此不作限定。在本申请实施例中,第一虚拟对象可以三维形式展示,也可以二维形式展示。
步骤S120,获取第一虚拟对象的第一操作在虚拟环境中的设定执行范围。
第一操作可以是指第一虚拟对象与上述虚拟环境的任意交互操作。如第一操作为第一虚拟对象的技能释放操作或第一虚拟对象的普通攻击操作。在一实施例中,该交互操作对应的作用目标可以是虚拟环境中的虚拟物品,也可以是虚拟环境中的其它虚拟对象,本申请实施例对此不作限定。
在一个示例中,上述第一操作是由用户控制第一虚拟对象触发的。示例性地,用户可以通过点击用户界面上对应的图标或按压对应的键位来触发第一操作的触发指令,进而,客户端在接收到该触发指令之后,控制第一虚拟对象执行上述第一操作。
在另一个示例中,上述第一操作是由计算机程序控制第一虚拟对象触发的。示例性地,客户端在运行上述应用程序之后,可以按照预设规则控制第一虚拟对象执行上述第一操作。
上述预设规则可以进行灵活设置。例如,上述预设规则中包括在线时长条件。客户端可以检测第一虚拟对象的在线时长,若第一虚拟对象的在线时长满足在线时长条件,则控制第一虚拟对象执行上述第一操作。再例如,上述预设规则中包括属性参数条件。客户端可以检测第一虚拟对象的属性参数,若第一虚拟对象的一个或多个属性参数满足属性参数条件,则控制第一虚拟对象执行上述第一操作。上述属性参数可以包括生命值、防御值或攻击速度等,本申请实施例对此不作限定。或者,上述预设规则中包括操作参数条件。客户端可以检测第一虚拟对象的操作参数,若第一虚拟对象的操作参数满足操作参数条件,则控制第一虚拟对象执行上述第一操作。上述操作参数可以是击败怪物数量、技能释放次数或物品使用次数等,本申请实施例对此不作限定。需要说明的一点是,上述对预设规则的介绍只是示例性和解释性的,在实际运用中,可以根据实际情况对上述预设规则进行灵活设置。
设定执行范围是指上述第一操作的作用范围,不同的第一操作对应的设定执行范围可以不同。在本申请实施例中,客户端在显示上述用户界面之后,可以获取第一虚拟对象的第一操作在虚拟环境中的设定执行范围。该设定执行范围的形状可以是圆形、扇形、矩形或三角形等,本申请实施例对此不作限定。
在一个示例中,上述设定执行范围是预设范围,该预设范围由设计人员或用户进行设置。示例性地,该设定执行范围可根据操作射程范围和附加范围参数确定。操作射程范围为第一操作对应的在虚拟环境中的射程范围(Skill Range),附加范围参数为搜索虚拟对象(例如,第一虚拟对象之外的其它虚拟对象)时在操作射程范围之外设定的一个范围参数Y,则设定执行范围可以为以第一虚拟对象当前所在位置为圆心,以操作射程范围和附加范围参数之和(Skill Range+Y)为半径的圆形区域。在一实施例中,上述设定执行范围在虚拟环境中的位置随着第一虚拟对象在虚拟环境中的位置的改变而改变。示例性,在设定执行范围为以第一虚拟对象当前所在虚拟环境中的位置为圆心、以操作射程范围和附加范围参数之和(Skill Range+Y)为半径的圆形区域的情况下,第一虚拟对象在虚拟环境中的位置发生改变,则设 定执行范围的圆心在虚拟环境中的位置也发生改变,进而设定执行范围在虚拟环境中的位置也发生改变。根据本申请实施例,虚拟环境中的位置可以映射为用户界面上和/或显示屏上的位置。
在另一个示例中,上述设定执行范围是条件范围,该条件范围在应用程序的运行过程中根据不同的条件进行变化。示例性地,第一操作的设定执行范围可以与第一操作的执行次数呈正相关关系或反相关关系等。在实际运用中,可以根据实际情况对上述条件进行灵活设置,本申请实施例对此不作限定。
需要说明的一点是,在本申请实施例中,客户端可以在显示用户界面之后,实时获取第一操作的设定执行范围,并根据第一虚拟对象的位置信息的变化对设定执行范围进行更新;或者,客户端可以在接收到第一操作的触发指令之后,获取该第一操作的设定执行范围,本申请实施例对此不作限定。
步骤S130,确定第一操作在所述虚拟环境中的优先执行范围,优先执行范围在设定执行范围之内且小于设定执行范围。
本申请实施例中,在第一操作的设定执行范围之内,还设置有优先执行范围,该优先执行范围小于设定执行范围。在客户端确定虚拟环境中的目标虚拟对象的过程中,可以优先从较小的优先执行范围中选择目标虚拟对象,以避免出现设定执行范围过大而导致最终选择的目标虚拟对象超出客户端显示的用户界面、被用户界面中的图标遮挡等情况。并且,本申请实施例中,由于优先执行范围小于设定执行范围,从而对目标虚拟对象的选择设置了更为严格的条件,使得目标虚拟对象的选择过程更具策略性,可以节省计算资源。
本申请实施例对优先执行范围的确定方式不作限定。在一个示例中,在确定优先执行范围的过程中,客户端按照某种规则实时确定优先执行范围,该规则可以由用户预先设定,也可以由开发人员预先设定。示例性地,客户端按照设定执行范围的四分之一确定优先执行范围。例如,优先执行范围的圆心位置与设定执行范围的圆心位置相同,但优先执行范围的半径为设定执行范围的半径的二分之一。在另一个示例中,用户在客户端中预先设置有至少一个优先执行范围,在确定优先执行范围的过程中,客户端从用户预先设置的至少一个优先执行范围中选择一个优先执行范围。示例性地,针对用户预先设置多个优先执行范围的情况,在确定优先执行范围的过程中,客户端随机选择一个优先执行范围,或者按照某一条件选择一个优先执行范围,例如,客户端选择范围最小的优先执行范围。
在一种可能的实施方式中,为了给用户提供更多自主设置的空间,提升优先执行范围与用户需求之间的匹配度,用户可以对优先执行范围的相关信息进行设置,从而上述方法还包括如下几个步骤:
(1)显示操作设置界面。
本申请实施例中,客户端显示的用户界面中可以包括操作设置按钮,用户触控该操作设置按钮,即可触发客户端显示操作设置界面。当然,用户还可以通过其它方式触控客户端显示操作设置界面,例如,通过手势、语音等方式,本申请实施例对此不作限定。在一实施例中,客户端显示的操作设置界面中包括至少一个可供用户触控的操作控件,如按钮、滑块、 文本框等。
(2)接收范围设置指令。
本申请实施例中,操作设置界面中对应有范围设置控件,该范围设置控件可以为按钮、滑块、文本框等。在用户触控范围设置控件时,客户端即可接收到范围设置指令,该范围设置指令即用于对第一操作的优先执行范围进行设置。该范围设置指令可以对单一操作的优先执行范围进行设置;或者,该范围设置指令用于对第一类型操作的优先执行范围进行设置,该第一类型操作包括第一操作,也即,该范围设置指令可以对某一类型下的多个操作的优先执行范围进行设置。在一实施例中,第一类型操作是指操作距离大于阈值的操作,该操作距离为第一虚拟对象与第一操作的最远操作点之间的距离。例如,基于操作距离,客户端设置有三种类型的操作:近程操作、远程操作和超远程操作,针对每种操作类型,客户端均设置有对应的阈值。示例性地,如图4所示,第一类型操作为超远程操作,针对超远程操作客户端设置有对应的阈值为12米,则操作距离(第一虚拟对象40与第一操作的最远操作点之间的距离)大于12米的操作均为第一类型操作。在一实施例中,操作距离是指在虚拟环境的地图中的操作距离。
(3)根据范围设置指令,存储优先执行范围的设置信息。
客户端接收到范围设置指令后,即可确定优先执行范围的设置信息,并存储该优先执行范围的设置信息,以在后续确定优先执行范围的过程中使用。本申请实施例对优先执行范围的设置信息的内容不作限定。在一实施例中,该优先执行范围的设置信息包括以下至少一项:优先执行范围的半径、优先执行范围的圆心、优先执行范围的优先级等。
步骤S140,从优先执行范围内选取第二虚拟对象作为第一操作对应的目标虚拟对象。
在确定优先执行范围后,客户端可以确定该优先执行范围内的第二虚拟对象,该第二虚拟对象是上述第一操作能够生效的虚拟对象。例如,假设上述第一操作为加血等技能,则第二虚拟对象为第一虚拟对象的友方虚拟对象,也即,第二虚拟对象与第一虚拟对象互为队友关系;假设上述第一操作为攻击等技能,则第二虚拟对象为第一虚拟对象的敌方虚拟对象,也即,第二虚拟对象与第一虚拟对象互为敌对关系。在一实施例中,在确定优先执行范围内的第二虚拟对象的过程中,除了对第二虚拟对象与第一虚拟对象之间的关系进行限定之外,还可以对第二虚拟对象的状态、第二虚拟对象的形态等进行限定,本申请实施例对此不作限定。例如,客户端可以限定第二虚拟对象的状态为非隐身状态,或者限定第二虚拟对象为人物形态等。
响应于优先执行范围内包含第二虚拟对象,客户端可以从优先执行范围内选择第二虚拟对象作为第一操作对应的目标虚拟对象。其中,在优先执行范围内仅包括一个第二虚拟对象的情况下,客户端可以直接将该一个第二虚拟对象确定为目标虚拟对象;在优先执行范围内包括多个第二虚拟对象的情况下,客户端可以从该多个第二虚拟对象中选择目标虚拟对象。
目标虚拟对象是第一操作所作用的虚拟对象。如当第一操作为攻击技能时,目标虚拟对象是该功能技能所攻击的虚拟对象。目标虚拟对象的数量可以是一个,也可以是多个。针对不同的操作(如不同的技能),目标虚拟对象的最大数量可以设定为不同。例如,某一操作 对应设定的目标虚拟对象的最大数量为1,表示该操作最多只能作用于一个目标虚拟对象上,在一个目标虚拟对象上产生效果。又例如,某一操作对应设定的目标虚拟对象的最大数量为x(x大于1),表示该操作最多只能作用于x个目标虚拟对象上,能够在x个目标虚拟对象上产生效果。本申请实施例针对目标虚拟对象的最大数量与优先执行范围内第二虚拟对象的数量之间不同的大小关系,提供了几种确定目标虚拟对象的方式。
示例性地,在目标虚拟对象的最大数量等于或大于优先执行范围内第二虚拟对象的数量的情况下,客户端将优先执行范围内的第二虚拟对象确定为目标虚拟对象。例如,优先执行范围内仅包括一个第二虚拟对象,且目标虚拟对象的最大数量也为一个,那么客户端可以直接将该第二虚拟对象确定为目标虚拟对象。又例如,优先执行范围内包括三个第二虚拟对象,且目标虚拟对象的最大数量也为三个,那么客户端将这三个第二虚拟对象确定为目标虚拟对象。还例如,优先执行范围内包括两个第二虚拟对象,但目标虚拟对象的最大数量为三个,那么客户端可以将这两个第二虚拟对象都确定为目标虚拟对象。
示例性地,在目标虚拟对象的最大数量小于优先执行范围内第二虚拟对象的数量的情况下,客户端从优先执行范围内的第二虚拟对象中选择目标虚拟对象。例如,优先执行范围内包括五个第二虚拟对象,但目标虚拟对象的最大数量为三个,那么客户端可以在这五个第二虚拟对象中选择三个第二虚拟对象作为目标虚拟对象。又例如,优先执行范围内包括三个第二虚拟对象,但是目标虚拟对象的最大数量为一个,那么客户端可以从这三个第二虚拟对象中选择一个第二虚拟对象为目标虚拟对象。
在一个示例中,假设目标虚拟对象的数量为1个,如果优先执行范围内有且只有1个第二虚拟对象,那么将这1个第二虚拟对象确定为目标虚拟对象;如果优先执行范围内有多个(即大于1个)第二虚拟对象,那么从该多个第二虚拟对象中选择1个第二虚拟对象作为目标虚拟对象。
本申请实施例对客户端选择目标虚拟对象的方式不作限定。在一实施例中,客户端从优先执行范围内包含的第二虚拟对象中随机选择目标虚拟对象;或者,客户端按照某种规则从优先执行范围内包含的第二虚拟对象中选择目标虚拟对象。有关客户端选择目标虚拟对象的介绍说明,请参见下述方法实施例,此处不多赘述。
上述步骤S140是针对优先执行范围内包含第二虚拟对象的情况,然而,在某些情况下,优先执行范围内可能不包含第二虚拟对象。针对优先执行范围内不包含第二虚拟对象的情况,本申请实施例也提供了客户端的几种可能的实现方式,下面对此进行介绍说明。
在一个示例中,上述方法还包括:响应于优先执行范围内不包含第二虚拟对象,从设定执行范围内选取第二虚拟对象作为第一操作对应的目标虚拟对象。也即,在范围较小的优先执行范围内不包含第二虚拟对象的情况下,客户端可以扩大第一操作的执行范围,从范围较大的设定执行范围内包含的第二虚拟对象中选择目标虚拟对象,以确保第一操作的正常执行,同时也丰富了目标虚拟对象的选择方式,使得目标虚拟对象的选择过程更具灵活性。
在另一个示例中,上述方法还包括:响应于优先执行范围内不包含第二虚拟对象,确定不执行第一操作。也即,在范围较小的优先执行范围内不包含第二虚拟对象的情况下,客户 端不执行第一操作,以避免出现客户端基于范围较大的设定执行范围选择目标虚拟对象时可能出现目标虚拟对象位于用户界面之外或用户界面的边缘等情况,在第一操作有操作冷冻时间的情况下,可以避免浪费第一操作的使用资源,其中,操作冷冻时间是指在预设时间范围内第一操作处于不可执行的状态,例如,在第一操作执行之后的一分钟之内,客户端不可再次执行该第一操作。
综上所述,本申请实施例提供的技术方案,通过获取用户控制的虚拟对象的某一操作的设定执行范围,然后确定该操作的位于该设定执行范围之内、且小于该设定执行范围的优先执行范围,再从该优先执行范围中选择该操作作用的目标虚拟对象,由于该设定执行范围和优先执行范围是客户端根据某种规则或者预先存储的某种设置自动确定的,从而不需要用户花费大量时间触控该操作对应的操作按钮以选取执行范围,降低了用户的操作时间成本,提升了操作效率。并且,本申请实施例中,客户端基于范围较小的优先执行范围选择目标虚拟对象,可以避免出现设定执行范围过大而导致最终选择的虚拟环境中的目标虚拟对象超出客户端显示的用户界面、位于用户界面的边缘、被用户界面中的图标遮挡等情况,提升了目标虚拟对象的有效性以及对该目标虚拟对象的操作的精准度,同时也确保用户能够观看该操作对目标虚拟对象的作用效果,提升用户界面的显示效果。另外,本申请实施例在设定执行范围之内设定了优先执行范围,可以丰富目标虚拟对象的选择条件,使得目标虚拟对象的选择过程更具灵活性。此外,由于优先执行范围小于设定执行范围,从而对目标虚拟对象的选择设置了更为严格的条件,使得目标虚拟对象的选择过程更具策略性,可以节省计算资源。
另外,本申请实施例提供的技术方案,通过显示操作设置界面,并接收用于对优先执行范围进行设置的范围设置指令,然后根据该范围设置指令,存储优先执行范围的设置信息,以使得客户端在选择目标虚拟对象中的过程中自动使用该设置信息。由于该优先执行范围的设置信息由用户自主设置,从而可以在提供给用户更多自主设置空间的同时,确保客户端基于该优先执行范围选择的目标虚拟对象与用户的需求相匹配。
本申请实施例中,设定执行范围之内可以包括一个优先执行范围,也可以包括多个优先执行范围,下面分别针对这两种情况进行介绍说明。
在一个示例中,设定执行范围之内包括一个优先执行范围;上述步骤S130包括:将一个优先执行范围,确定为第一操作在所述虚拟环境中的优先执行范围。
由于设定执行范围之内仅包括一个优先执行范围,因此,客户端只能将该优先执行范围确定为第一操作在虚拟环境中的优先执行范围。有关设定执行范围之内的一个优先执行范围的确定方式请参见上述方法实施例,此处不多赘述。
例如,如图5所示,假设设定执行范围和优先执行范围均为圆形区域,在第一操作的设定执行范围10之内包括一个优先执行范围20,该优先执行范围20的圆心位置与该设定执行范围10的圆心位置重合,且该优先执行范围20的半径小于该设定执行范围10的半径。所述优先执行范围20的圆心位置与设定执行范围10的圆心位置例如为第一虚拟对象40所在的虚拟环境中的位置。假设在该优先执行范围20之内,以及该优先执行范围20之外该设定执行 范围10之内,均存在第二虚拟对象30,然而,客户端在选择目标虚拟对象的过程中,是基于优先执行范围20中的第二虚拟对象30来选择目标虚拟对象的。
在另一个示例中,设定执行范围之内包括n个优先执行范围,n为大于1的整数;上述步骤S130包括:从n个优先执行范围中,选择优先级最高且包含第二虚拟对象的优先执行范围,确定为第一操作在所述虚拟环境中的优先执行范围。
由于设定执行范围之内包括多个优先执行范围,客户端需要从该多个优先执行范围中选择一个优先执行范围作为第一操作的优先执行范围。在一实施例中,该多个优先执行范围的圆心位置相同,且半径大小不同。在一实施例中,该多个优先执行范围分别对应有优先级。客户端从该多个优先执行范围中选择优先级最高且包含第二虚拟对象的优先执行范围作为第一操作的优先执行范围。
本申请实施例对该多个优先执行范围对应的优先级的确定方式不作限定。在一实施例中,该多个优先执行范围对应的优先级由用户自主设定;或者,该多个优先执行范围对应的优先级由客户端根据优先执行范围的范围大小进行设定,示例性地,该优先级的大小与范围大小呈现负相关关系,也即,优先执行范围的范围越小,该优先执行范围的优先级越大。
在一实施例中,上述n个优先执行范围呈嵌套关系,第i个优先执行范围位于第i+1个优先执行范围之内,且第i个优先执行范围的优先级高于第i+1个优先执行范围的优先级,i为正整数。
在上述n个优先执行范围呈嵌套关系的情况下,客户端最先确定优先级最高的第1个优先执行范围内是否包含第二虚拟对象。在第1个优先执行范围内包含第二虚拟对象的情况下,将第1个优先执行范围确定为第一操作的优先执行范围。在第1个优先执行范围内不包含第二虚拟对象的情况下,客户端进一步确定下一个更小的优先级对应的优先执行范围内是否包含第二虚拟对象,也即,确定第2个优先执行范围内是否包含第二虚拟对象,以此类推。在第i个优先执行范围内不包含第二虚拟对象的情况下,确定第i+1个优先执行范围内是否包含第二虚拟对象,且第i+1个优先执行范围的优先级小于第i个优先执行范围的优先级,直至某一个优先执行范围内包含第二虚拟对象,将该优先执行范围确定为第一操作的优先执行范围。
例如,如图6A和图6B所示,假设设定执行范围和优先执行范围均为圆形区域,在第一操作的设定执行范围10之内包括两个优先执行范围,分别为优先执行范围22和优先执行范围24。该优先执行范围22和24的圆心位置与该设定执行范围10的圆心位置重合(例如,为第一虚拟对象40所在的虚拟环境中的位置),且该优先执行范围22和24的半径均小于该设定执行范围10的半径。假设优先执行范围的优先级与优先执行范围的半径呈负相关关系,如图6A和图6B所示,由于优先执行范围22的半径小于优先执行范围24的半径,因此,优先执行范围22的优先级大于优先执行范围24的优先级。如图6A所示,假设在该优先执行范围22之内,以及该优先执行范围22之外均存在第二虚拟对象30,然而,客户端在选择目标虚拟对象的过程中,是基于优先执行范围22中的第二虚拟对象30来选择目标虚拟对象的。如图6B所示,假设在该优先执行范围22之内不存在第二虚拟对象30,在该优先执行范围22之外该优先执行范围24之内存在第二虚拟对象30,客户端基于优先执行范围24中的第二 虚拟对象30来选择目标虚拟对象。
上述图4、图5、图6A、图6B中的设定执行范围和优先执行范围用圆形区域作为示例,然而,在虚拟环境中,由于透视等因素,设定执行范围和优先执行范围也可能为椭圆形区域。
综上所述,本申请实施例提供的技术方案,通过针对某一操作的设定执行范围之内仅包括一个优先执行范围的情况,直接将该一个优先执行范围确定为该操作的优先执行范围,提供了一种优先执行范围的简便确定方式。
并且,本申请实施例提供的技术方案,通过针对某一操作的设定执行范围之内包括多个优先执行范围的情况,将该多个优先执行范围中优先级最高且包含能够对该操作生效的虚拟对象的优先执行范围,确定为该操作的优先执行范围,从而为设置有多个优先执行范围的情况,提供了一种确定该操作的优先执行范围的方式。另外,本申请实施例中,该多个优先执行范围之间呈嵌套关系,优先级较大的优先执行范围嵌套在优先级较小的优先执行范围中,从而可以确保客户端在选择目标虚拟对象时,从范围最小的优先执行范围开始选取,以达到最终确定的该操作的优先执行范围尽可能小的效果,有助于进一步提升目标虚拟对象的有效性。
下面介绍说明目标虚拟对象的选择过程。
在一种可能的实施方式中,上述步骤S140包括如下几个步骤:
(1)对优先执行范围内的第二虚拟对象的优先级进行排序,得到优先级的排序结果。
客户端在确定第一操作的优先执行范围,且该优先执行范围内存在第二虚拟对象的情况下,可以该优先执行范围的第二虚拟对象的优先级进行排序,得到优先级的排序结果,以确定第二虚拟对象之间的优先级顺序,便于快速选取目标虚拟对象。
在优先级排序的过程中,客户端可以依据一定的参考排序信息来确定第二虚拟对象的优先级。在一个示例中,上述步骤(1)包括:获取参考排序信息以及参考排序信息对应的权重值;根据参考排序信息以及参考排序信息对应的权重值,确定优先执行范围内的第二虚拟对象的优先级;按照优先级对优先执行范围内的第二虚拟对象的优先级进行排序。
其中,上述参考排序信息包括以下至少一项:生命值、距离值、能量值、等级值、接受攻击状态。下面,对参考排序信息中的距离值、等级值和接受攻击状态分别进行介绍说明。
距离值是指第二虚拟对象与优先执行范围的中心位置之间的距离。在一实施例中,优先执行范围的中心位置为第一虚拟对象在虚拟环境中的位置,所述第二虚拟对象的距离值指第二虚拟对象与第一虚拟对象之间的距离。通常情况下,优先执行范围的中心位置为第一操作的操作效果最强的位置。例如,在第一操作为攻击技能的情况下,该中心位置为攻击最强的位置,通过依据上述距离值选择目标虚拟对象,可以确保目标虚拟对象受到第一操作较强的操作效果,进而确保第一操作的有效执行。
等级值用于指示第二虚拟对象对应的用户的操作能力。通常情况下,等级值较高的第二虚拟对象对应的用户的操作能力更强。通过依据上述等级值,可以优先选择等级值较低的第二虚拟对象作为目标虚拟对象。这样,在第一操作为攻击技能等情况下,可以避免因第二虚 拟对象对应的用户的操作能力较强而会及时对用户控制的第一虚拟对象进行反击等操作,或者在第一操作为加血技能等情况下,可以及时对用户操作能力较低的第二虚拟对象进行加血,避免第二虚拟对象对应的用户由于不会操作导致游戏失败等情况。
接受攻击状态是指第二虚拟对象当前是否受到攻击。通过依据上述接受攻击状态选择目标虚拟对象,可以确保第一操作对第二虚拟对象的操作效果与第一虚拟对象对应的用户的需求相匹配。例如,在第一操作为攻击技能的情况下,依据上述接受攻击状态,优先选取当前正受到攻击的第二虚拟对象为目标虚拟对象,可以增强第一操作的操作效果;在第一操作为加血技能的情况下,依据上述接受攻击状态,优先选取当前正受到攻击的第二虚拟对象为目标虚拟对象,可以及时对第二虚拟对象的血量进行补充,确保第一操作的操作效果。
需要说明的一点是,在优先级排序过程中,既可以仅使用一项参考排序信息,如仅使用距离值作为参考排序信息;也可以使用多项参考排序信息,如使用距离值、等级值和接受攻击状态作为参考排序信息。针对仅使用一项参考排序信息的情况,可以不对该参考排序信息设置权重值,而直接依据该参考排序信息对第二虚拟对象的优先级进行排序。针对使用多项参考排序信息的情况,可以对该多项参考排序信息分别设置权重值,然后依据该多项参考排序信息及其权重值,对第二虚拟对象的优先级进行排序。
针对使用多项参考排序信息的情况,各项参考排序信息的权重值可以相同,也可以不相同,本申请实施例对此不作限定。在一实施例中,各项参考排序信息的权重值由客户端随机设定;或者,各项参考排序信息的权重值由用户预先设定,例如,针对参考排序信息为距离值、等级值和接受攻击状态,用户可以预先设定距离值的权重值为60%、等级值的权重值为20%、接受攻击状态的权重值也为20%。通过由用户预先设定各项参考排序信息的权重值,可以使得优先级的排序结果与用户的需求更加匹配。
(2)根据优先级的排序结果确定目标虚拟对象。
客户端在对优先执行范围内的第二虚拟对象的优先级进行排序之后,可以依据得到的优先级的排序结果,确定目标虚拟对象。本申请实施例对确定目标虚拟对象的方式不作限定,在一实施例中,客户端将优先级最高的第二虚拟对象确定为目标虚拟对象;或者,客户端将优先级大于目标优先级的第二虚拟对象确定为目标虚拟对象;或者,客户端将优先级在目标范围内的第二虚拟对象确定为目标虚拟对象。
在一个示例中,上述步骤(2)包括:获取第一虚拟对象的状态信息;根据状态信息确定用于选取目标虚拟对象的目标条件;将优先级满足目标条件的第二虚拟对象确定为目标虚拟对象。
其中,第一虚拟对象的状态信息包括以下至少一项:生命值、能量值、等级值。客户端根据第一虚拟对象的状态信息确定用于选取目标虚拟对象的目标条件。例如,在第一虚拟对象的生命值较弱(例如,低于一个生命值阈值)的情况下,确定目标条件为最高优先级。这样可以避免在第一虚拟对象的生命值较弱的情况下对多个虚拟对象执行第一操作。通过根据第一虚拟对象的状态信息确定目标条件,可以确保选择的目标虚拟对象与第一虚拟对象当前的状态相匹配,提升游戏的沉浸式体验。
在另一个示例中,上述步骤(2)包括:获取第一操作对应的属性信息;根据属性信息确定用于选取目标虚拟对象的目标条件;将优先级满足目标条件的第二虚拟对象确定为目标虚拟对象。
其中,上述属性信息包括执行范围和/或操作效果。客户端根据第一操作对应的属性信息确定用于选取目标虚拟对象的目标条件。例如,在第一操作的执行范围较大的情况下,可以确定目标条件为优先级大于目标优先级。这样可以对多个虚拟对象同时产生作用,提升第一操作的作用效果。通过根据第一操作对应的属性信息确定目标条件,可以确保选择的目标虚拟对象与第一操作相匹配,提升第一操作的作用效果。
需要说明的一点是,实际应用中可以结合使用上述几个示例确定目标条件,以使得选择的目标虚拟对象更为优化,提升游戏的沉浸式体验。需要说明的另一点是,本领域技术人员在了解了本申请的技术方案后,将很容易想到其它选择目标虚拟对象的技术方案。例如,直接确定优先执行范围内第二虚拟对象的优先级,然后根据第二虚拟对象的优先级确定目标虚拟对象等,这些均应属于本申请的保护范围之内。
为了给用户提供更多自主选择的空间,确保选择出的目标虚拟对象与用户的需求相匹配,本申请实施例中,用户可以对选择目标虚拟对象中使用的信息或条件等进行设置。在一种可能的实施方式中,上述方法还包括:显示条件设置界面;接收信息设置指令,以对优先级排序过程使用的信息进行设置;根据信息设置指令,生成参考排序信息以及参考排序信息的权重值;接收条件设置指令,以对目标虚拟对象的优先级进行设置;根据条件设置指令,生成用于选取目标虚拟对象的目标条件。也即,针对上述根据优先级的排序结果选择目标虚拟对象的技术方案,用户可以对优先级排序过程中使用的信息,以及目标虚拟对象需要满足的条件进行设置,以确保选择的目标虚拟对象符合用户的需求。
综上所述,本申请实施例提供的技术方案,通过基于某一操作的优先执行范围选择目标虚拟对象,先是对该优先执行范围内能够对该操作生效的虚拟对象的优先级进行排序,然后根据优先级的排序结果从这些虚拟对象中选择目标虚拟对象,由于优先级排序过程中使用的参考排序信息可以由用户自主设置,从而本申请实施例选择的目标虚拟对象更加符合用户的偏好。并且,本申请实施例提出使用多种参考排序信息以及各种参考排序信息对应的权重值,有侧重性地从多个维度对这些虚拟对象的优先级进行排序,以充分考虑影响这些虚拟对象的优先级的因素,进一步提升目标虚拟对象与用户的需求之间的匹配度。
请参考图7,其示出了本申请一个实施例提供的虚拟对象的选择方法的流程图。该方法可应用于上述应用程序的客户端中,如应用于上述图1所示的应用程序运行环境中的终端100中安装的客户端中(以下简称为“客户端”)。该方法可以包括以下几个步骤(S200~S290):
步骤S200,显示用户界面。用户界面包括虚拟环境对应的显示画面,以及位于虚拟环境中的第一虚拟对象。客户端在接收到用户触发的应用程序的启动指令时,可以控制该应用程序运行,并显示该应用程序对应的用户界面。其中,上述用户界面中包括虚拟环境对应的显示画面,以及位于该虚拟环境中的第一虚拟对象,第一虚拟对象可以是用户所控制的虚拟对 象。
步骤S210,获取第一虚拟对象的第一操作在虚拟环境中的设定执行范围。第一操作是指第一虚拟对象与上述虚拟环境的任意交互操作。设定执行范围是指上述第一操作的作用范围,不同的第一操作对应的设定执行范围可以不同。
步骤S220,确定设定执行范围内是否包含第二虚拟对象。客户端在确定设定执行范围后,进一步确定该设定执行范围内是否包含第二虚拟对象,在设定执行范围内包含第二虚拟对象的情况下,执行下述步骤S230;在设定执行范围内不包含第二虚拟对象的情况下,执行下述步骤S290。
步骤S230,确定是否配置了优先执行范围。在设定执行范围内包含第二虚拟对象的情况下,客户端进一步确定是否配置有范围较小的优先执行范围,该优先执行范围位于设定执行范围之内且小于设定执行范围。在配置优先执行范围的情况下,执行下述步骤S240;在未配置优先执行范围的情况下,执行下述步骤S280。
步骤S240,确定第一操作的优先执行范围。在客户端配置有优先执行范围的情况下,客户端需要确定第一操作对应的优先执行范围。
步骤S250,确定优先执行范围内是否包含第二虚拟对象。在确定了第一操作对应的优先执行范围后,进一步确定该优先执行范围内是否包含第二虚拟对象,在优先执行范围内包含第二虚拟对象的情况下,执行下述步骤S260;在优先执行范围内不包含第二虚拟对象的情况下,执行下述步骤S280;
步骤S260,对优先执行范围内的第二虚拟对象的优先级进行排序。客户端在优先执行范围内包含第二虚拟对象的情况下,可以对第二虚拟对象的优先级进行排序。在一实施例中,客户端可以依据参考排序信息以及参考排序信息的优先级对第二虚拟对象的优先级进行排序。
步骤S270,根据优先级的排序结果选择目标虚拟对象。客户端根据优先级的排序结果选择目标虚拟对象。在一实施例中,客户端将优先级最高的第二虚拟对象确定为目标虚拟对象;或者,客户端将优先级大于目标优先级的第二虚拟对象确定为目标虚拟对象;或者,客户端将优先级在目标范围内的第二虚拟对象确定为目标虚拟对象。
步骤S280,确定不执行第一操作。在优先执行范围内不包含第二虚拟对象的情况下,可以确定不执行第一操作,以避免可能出现的浪费第一操作的使用资源的情况。
步骤S290,持续搜索第二虚拟对象。在设定执行范围内不包含第二虚拟对象的情况下,客户端可以在该设定执行范围内持续搜索第二虚拟对象。在一实施例中,客户端进行预设时长的搜索,以避免无休止地搜索第二虚拟对象带来的较大处理开销。
图8为本申请实施例的虚拟对象的选择方法的应用示意图。
在射击类手机游戏的客户端,技能摇杆通常为游戏界面上的虚拟按键。为了使用户通过一个技能按键(虚拟按键)既能进行快速释放操作,也能进行手动瞄准操作,设置了虚拟按键中心的一个设定区域。通过判断用户在该设定区域的操作,确定用户或其对应的第一虚拟 对象执行的是快速释放操作还是手动瞄准操作。快速释放操作例如是指用户操作技能按键后,客户端会按规则主动选择瞄准虚拟环境中的一个目标虚拟对象,并控制用户对应的第一虚拟对象射击该目标虚拟对象。手动瞄准操作例如是指通过用户操作技能按键,由用户手动控制第一虚拟对象选择瞄准虚拟环境中的一个目标虚拟对象,并射击该目标虚拟对象。
在一个示例中,如图8所示,当用户手指82按在技能按键80中的设定区域81,且没有移出该设定区域80时,视为用户控制其对应的第一虚拟对象84进行了快速释放操作。当用户手指82按下技能按键80中的设定区域81且移出了该设定区域81时,视为用户控制其对应的第一虚拟对象84进行了手动瞄准操作。客户端可以在用户进行了快速释放操作时,使用本申请前述实施例描述的虚拟对象的选择方法。这样,即使是在优先执行范围88内和设定执行范围89内的第二虚拟对象85和第二虚拟对象87(可能被小地图86遮挡)都符合快速释放操作的释放对象的条件,但由于设置了优先执行范围88,客户端会优先搜索到距离第一虚拟对象84更近的第二虚拟对象85,对其释放所述快速释放操作对应的技能。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
请参考图9,其示出了本申请一个实施例提供的虚拟对象的选择装置的框图。该装置具有实现上述虚拟对象的选择方法的功能,所述功能可以由硬件实现,也可以由硬件执行相应的软件实现。该装置可以是终端,也可以设置在终端中。该装置800可以包括:用户界面显示模块810、设定范围获取模块820、优先范围确定模块830和目标对象选取模块840。
用户界面显示模块810,用于在用户界面上显示虚拟环境对应的显示画面,以及位于所述虚拟环境中的第一虚拟对象。
设定范围获取模块820,用于获取所述第一虚拟对象的第一操作在所述虚拟环境中的设定执行范围。
优先范围确定模块830,用于确定所述第一操作在所述虚拟环境中的优先执行范围,所述优先执行范围在所述设定执行范围之内且小于所述设定执行范围。
目标对象选取模块840,用于从所述优先执行范围内选取第二虚拟对象作为所述第一操作对应的目标虚拟对象。
在示例性实施例中,所述设定执行范围之内包括一个优先执行范围;所述优先范围确定模块830,用于:将所述一个优先执行范围,确定为所述第一操作在所述虚拟环境中的优先执行范围。
在示例性实施例中,所述设定执行范围之内包括n个优先执行范围,所述n为大于1的整数;所述优先范围确定模块830,用于:从所述n个优先执行范围中,选择优先级最高且包含第二虚拟对象的优先执行范围,确定为所述第一操作在所述虚拟环境中的优先执行范围。
在示例性实施例中,所述n个优先执行范围呈嵌套关系,第i个优先执行范围位于第i+1个优先执行范围之内,且所述第i个优先执行范围的优先级高于所述第i+1个优先执行范围的优先级,所述i为正整数。
在示例性实施例中,如图10所示,上述装置800还包括第一操作确定模块850,用于:响应于所述优先执行范围内不包含所述第二虚拟对象,确定不执行所述第一操作。
在示例性实施例中,如图10所示,上述目标对象选取模块840包括:优先级排序单元842,用于对所述优先执行范围内的第二虚拟对象的优先级进行排序,得到优先级的排序结果;对象选取单元844,用于根据所述优先级的排序结果确定所述目标虚拟对象。
在示例性实施例中,如图10所示,上述优先级排序单元842,用于:获取参考排序信息以及所述参考排序信息对应的权重值,所述参考排序信息包括以下至少一项:生命值、距离值、能量值、等级值、接受攻击状态;根据所述参考排序信息以及所述参考排序信息对应的权重值,确定所述优先执行范围内的第二虚拟对象的优先级;按照所述优先级对所述优先执行范围内的第二虚拟对象的优先级进行排序。
在示例性实施例中,如图10所示,上述对象选取单元844用于:获取所述第一虚拟对象的状态信息,所述状态信息包括以下至少一项:生命值、能量值、等级值;根据所述状态信息确定用于选取所述目标虚拟对象的目标条件;将优先级满足所述目标条件的第二虚拟对象确定为所述目标虚拟对象。
在示例性实施例中,如图10所示,上述对象选取单元844用于:获取所述第一操作对应的属性信息,所述属性信息包括执行范围和/或操作效果;根据所述属性信息确定用于选取所述目标虚拟对象的目标条件;将优先级满足所述目标条件的第二虚拟对象确定为所述目标虚拟对象。
在示例性实施例中,如图10所示,上述装置800还包括:条件设置显示模块860,用于显示条件设置界面;第一指令接收模块862,用于接收信息设置指令,以对所述优先级排序过程使用的信息进行设置;参考信息生成模块864,用于根据所述信息设置指令,生成参考排序信息以及所述参考排序信息的权重值;第二指令接收模块866,用于接收条件设置指令,以对所述目标虚拟对象的优先级进行设置;目标条件生成模块868,用于根据所述条件设置指令,生成用于选取所述目标虚拟对象的目标条件。
在示例性实施例中,如图10所示,上述装置800还包括:操作设置显示模块872,用于显示操作设置界面;设置指令接收模块874,用于接收范围设置指令,以对所述第一操作的优先执行范围进行设置,或者,所述范围设置指令用于对第一类型操作的优先执行范围进行设置,所述第一类型操作是指操作距离大于阈值的操作;设置信息存储模块876,用于根据所述范围设置指令,存储所述优先执行范围的设置信息。
综上所述,本申请实施例提供的技术方案,通过获取用户控制的虚拟对象的某一操作的设定执行范围,然后确定该操作的位于该设定执行范围之内、且小于该设定执行范围的优先执行范围,再从该优先执行范围中选择该操作作用的目标虚拟对象,由于该设定执行范围和优先执行范围是客户端根据某种规则或者预先存储的某种设置自动确定的,从而不需要用户花费大量时间触控该操作对应的操作按钮以选取执行范围,降低了用户的操作时间成本,提升了操作效率。并且,本申请实施例中,客户端基于范围较小的优先执行范围选择目标虚拟对象,可以避免出现设定执行范围过大而导致最终选择的虚拟环境中的目标虚拟对象超出客 户端显示的用户界面、位于用户界面的边缘、被用户界面中的图标遮挡等情况,提升了目标虚拟对象的有效性以及对该目标虚拟对象的操作的精准度,同时也确保用户能够观看该操作对目标虚拟对象的作用效果,提升用户界面的显示效果。另外,本申请实施例在设定执行范围之内设定了优先执行范围,可以丰富目标虚拟对象的选择条件,使得目标虚拟对象的选择过程更具灵活性。此外,由于优先执行范围小于设定执行范围,从而对目标虚拟对象的选择设置了更为严格的条件,使得目标虚拟对象的选择过程更具策略性,可以节省计算资源。
需要说明的是,上述实施例提供的装置,在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
请参考图11,其示出了本申请一个实施例提供的终端1000的结构框图。该终端1000可以是诸如手机、平板电脑、游戏主机、电子书阅读器、多媒体播放设备、可穿戴设备、PC等电子设备。该终端中运行的客户端可用于实施上述实施例中提供的虚拟对象的选择方法。该终端可以是图1所示应用程序运行环境中的终端100。具体来讲:
通常,终端1000包括有:处理器1001和存储器1002。
处理器1001可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1001可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1001也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1001可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1001还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。
存储器1002可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1002还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。
在一些实施例中,存储器1002中的非暂态的计算机可读存储介质用于存储至少一个指令,至少一段程序、代码集或指令集,所述至少一条指令、至少一段程序、代码集或指令集,且经配置以由一个或者一个以上处理器执行,以实现上述虚拟对象的选择方法。
在一些实施例中,终端1000还可选包括有:外围设备接口1003和至少一个外围设备。处理器1001、存储器1002和外围设备接口1003之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口1003相连。具体地,外围设备包括:射 频电路1004、触摸显示屏1005、摄像头组件1006、音频电路1007、定位组件1008和电源1009中的至少一种。
本领域技术人员可以理解,图11中示出的结构并不构成对终端1000的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。
在示例性实施例中,还提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被处理器执行时以实现上述虚拟对象的选择方法。
在一实施例中,该计算机可读存储介质可以包括:ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取记忆体)、SSD(Solid State Drives,固态硬盘)或光盘等。其中,随机存取记忆体可以包括ReRAM(Resistance Random Access Memory,电阻式随机存取记忆体)和DRAM(Dynamic Random Access Memory,动态随机存取存储器)。
在示例性实施例中,还提供一种计算机程序产品,所述计算机程序产品被处理器执行时,用于实现上述虚拟对象的选择方法。
应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。另外,本文中描述的步骤编号,仅示例性示出了步骤间的一种可能的执行先后顺序,在一些其它实施例中,上述步骤也可以不按照编号顺序来执行,如两个不同编号的步骤同时执行,或者两个不同编号的步骤按照与图示相反的顺序执行,本申请实施例对此不作限定。
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (14)

  1. 一种虚拟对象的选择方法,其特征在于,所述方法包括:
    在用户界面上显示虚拟环境对应的显示画面,以及位于所述虚拟环境中的第一虚拟对象;
    获取所述第一虚拟对象的第一操作在所述虚拟环境中的设定执行范围;
    确定所述第一操作在所述虚拟环境中的优先执行范围,所述优先执行范围在所述设定执行范围之内且小于所述设定执行范围;
    从所述优先执行范围内选取第二虚拟对象作为所述第一操作对应的目标虚拟对象。
  2. 根据权利要求1所述的方法,其特征在于,所述设定执行范围之内包括一个优先执行范围;
    所述确定所述第一操作在所述虚拟环境中的优先执行范围,包括:
    将所述一个优先执行范围,确定为所述第一操作在所述虚拟环境中的优先执行范围。
  3. 根据权利要求1所述的方法,其特征在于,所述设定执行范围之内包括n个优先执行范围,所述n为大于1的整数;
    所述确定所述第一操作在所述虚拟环境中的优先执行范围,包括:
    从所述n个优先执行范围中,选择优先级最高且包含第二虚拟对象的优先执行范围,确定为所述第一操作在所述虚拟环境中的优先执行范围。
  4. 根据权利要求3所述的方法,其特征在于,所述n个优先执行范围呈嵌套关系,第i个优先执行范围位于第i+1个优先执行范围之内,且所述第i个优先执行范围的优先级高于所述第i+1个优先执行范围的优先级,所述i为正整数。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于所述优先执行范围内不包含所述第二虚拟对象,确定不执行所述第一操作。
  6. 根据权利要求1所述的方法,其特征在于,所述从所述优先执行范围内选取第二虚拟对象作为所述第一操作对应的目标虚拟对象,包括:
    对所述优先执行范围内的第二虚拟对象的优先级进行排序,得到优先级的排序结果;
    根据所述优先级的排序结果确定所述目标虚拟对象。
  7. 根据权利要求6所述的方法,其特征在于,所述对所述优先执行范围内的第二虚拟对象的优先级进行排序,包括:
    获取参考排序信息以及所述参考排序信息对应的权重值,所述参考排序信息包括以下至少一项:生命值、距离值、能量值、等级值、接受攻击状态;
    根据所述参考排序信息以及所述参考排序信息对应的权重值,确定所述优先执行范围内的第二虚拟对象的优先级;
    按照所述优先级对所述优先执行范围内的第二虚拟对象的优先级进行排序。
  8. 根据权利要求6所述的方法,其特征在于,所述根据所述优先级的排序结果确定所述目标虚拟对象,包括:
    获取所述第一虚拟对象的状态信息,所述状态信息包括以下至少一项:生命值、能量值、等级值;
    根据所述状态信息确定用于选取所述目标虚拟对象的目标条件;
    将优先级满足所述目标条件的第二虚拟对象确定为所述目标虚拟对象。
  9. 根据权利要求6所述的方法,其特征在于,所述根据所述优先级的排序结果确定所述目标虚拟对象,包括:
    获取所述第一操作对应的属性信息,所述属性信息包括执行范围和/或操作效果;
    根据所述属性信息确定用于选取所述目标虚拟对象的目标条件;
    将优先级满足所述目标条件的第二虚拟对象确定为所述目标虚拟对象。
  10. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    显示条件设置界面;
    接收信息设置指令,以对所述优先级排序过程使用的信息进行设置;
    根据所述信息设置指令,生成参考排序信息以及所述参考排序信息的权重值;
    接收条件设置指令,以对所述目标虚拟对象的优先级进行设置;
    根据所述条件设置指令,生成用于选取所述目标虚拟对象的目标条件。
  11. 根据权利要求1至10任一项所述的方法,其特征在于,所述方法还包括:
    显示操作设置界面;
    接收范围设置指令,以对所述第一操作的优先执行范围进行设置,或者,对第一类型操作的优先执行范围进行设置,所述第一类型操作是指操作距离大于阈值的操作;
    根据所述范围设置指令,存储所述优先执行范围的设置信息。
  12. 一种虚拟对象的选择装置,其特征在于,所述装置包括:
    用户界面显示模块,用于在用户界面上显示虚拟环境对应的显示画面,以及位于所述虚拟环境中的第一虚拟对象;
    设定范围获取模块,用于获取所述第一虚拟对象的第一操作在所述虚拟环境中的设定执行范围;
    优先范围确定模块,用于确定所述第一操作在所述虚拟环境中的优先执行范围,所述优先执行范围在所述设定执行范围之内且小于所述设定执行范围;
    目标对象选取模块,用于从所述优先执行范围内选取第二虚拟对象作为所述第一操作对应的目标虚拟对象。
  13. 一种终端,其特征在于,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由所述处理器加载并执行以实现如权利要求1至11任一项所述的虚拟对象的选择方法。
  14. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如权利要求1至11任一项所述的虚拟对象的选择方法。
PCT/CN2021/095034 2020-06-05 2021-05-21 虚拟对象的选择方法、装置、设备及存储介质 WO2021244306A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2021564717A JP7137718B2 (ja) 2020-06-05 2021-05-21 仮想オブジェクトの選択方法、装置、機器及びコンピュータプログラム
KR1020217033732A KR102641337B1 (ko) 2020-06-05 2021-05-21 가상 객체 선택 방법 및 장치, 디바이스 및 저장 매체
US17/507,348 US12005353B2 (en) 2020-06-05 2021-10-21 Virtual object selection method and apparatus, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010507422.3A CN111672113B (zh) 2020-06-05 2020-06-05 虚拟对象的选择方法、装置、设备及存储介质
CN202010507422.3 2020-06-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/507,348 Continuation US12005353B2 (en) 2020-06-05 2021-10-21 Virtual object selection method and apparatus, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021244306A1 true WO2021244306A1 (zh) 2021-12-09

Family

ID=72435206

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/095034 WO2021244306A1 (zh) 2020-06-05 2021-05-21 虚拟对象的选择方法、装置、设备及存储介质

Country Status (5)

Country Link
US (1) US12005353B2 (zh)
JP (1) JP7137718B2 (zh)
KR (1) KR102641337B1 (zh)
CN (1) CN111672113B (zh)
WO (1) WO2021244306A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111672113B (zh) 2020-06-05 2022-03-08 腾讯科技(深圳)有限公司 虚拟对象的选择方法、装置、设备及存储介质
CN111672117B (zh) * 2020-06-05 2021-07-09 腾讯科技(深圳)有限公司 虚拟对象的选择方法、装置、设备及存储介质
CN113599829B (zh) * 2021-08-06 2023-08-22 腾讯科技(深圳)有限公司 虚拟对象的选择方法、装置、终端及存储介质
CN116688503A (zh) * 2022-02-28 2023-09-05 腾讯科技(深圳)有限公司 虚拟对象的控制方法、装置、终端、存储介质及程序产品
CN117547838A (zh) * 2022-08-05 2024-02-13 腾讯科技(成都)有限公司 社交互动的方法、装置、设备、可读存储介质及程序产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005224281A (ja) * 2004-02-10 2005-08-25 Namco Ltd プログラム、情報記憶媒体及びゲーム装置
CN105194873A (zh) * 2015-10-10 2015-12-30 腾讯科技(深圳)有限公司 一种信息处理方法、终端及计算机存储介质
CN107398071A (zh) * 2017-07-19 2017-11-28 网易(杭州)网络有限公司 游戏目标选择方法及装置
CN108310772A (zh) * 2018-01-22 2018-07-24 腾讯科技(深圳)有限公司 攻击操作的执行方法和装置以及存储介质、电子装置
CN111672113A (zh) * 2020-06-05 2020-09-18 腾讯科技(深圳)有限公司 虚拟对象的选择方法、装置、设备及存储介质

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003079952A (ja) 2001-09-14 2003-03-18 Square Co Ltd ビデオゲームのプログラムを記録したコンピュータ読み取り可能な記録媒体及びビデオゲームのプログラム及びビデオゲーム処理方法及びビデオゲーム処理装置
JP5019897B2 (ja) 2007-02-07 2012-09-05 任天堂株式会社 ゲームプログラムおよびゲーム装置
JP5349853B2 (ja) * 2008-06-27 2013-11-20 株式会社タイトー ロックオン条件設定プログラム及びゲーム機
JP5677395B2 (ja) * 2012-10-11 2015-02-25 株式会社スクウェア・エニックス ゲーム装置
US20150375110A1 (en) * 2014-06-30 2015-12-31 AlternativaPlatform Ltd. Systems and methods for shooting in online action games using automatic weapon aiming
CN104915117B (zh) 2015-06-16 2017-03-22 深圳市腾讯计算机系统有限公司 控制与虚拟目标进行交互的方法和装置
CN105335065A (zh) * 2015-10-10 2016-02-17 腾讯科技(深圳)有限公司 一种信息处理方法、终端及计算机存储介质
KR101869819B1 (ko) * 2016-04-11 2018-06-21 (주) 덱스인트게임즈 사용자 캐릭터의 자동 공격 제어 방법
JP7245605B2 (ja) * 2018-02-13 2023-03-24 株式会社バンダイナムコエンターテインメント ゲームシステム、ゲーム提供方法及びプログラム
CN110170168B (zh) 2019-05-30 2022-05-27 腾讯科技(深圳)有限公司 虚拟对象射击控制方法、装置、电子设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005224281A (ja) * 2004-02-10 2005-08-25 Namco Ltd プログラム、情報記憶媒体及びゲーム装置
CN105194873A (zh) * 2015-10-10 2015-12-30 腾讯科技(深圳)有限公司 一种信息处理方法、终端及计算机存储介质
CN107398071A (zh) * 2017-07-19 2017-11-28 网易(杭州)网络有限公司 游戏目标选择方法及装置
CN108310772A (zh) * 2018-01-22 2018-07-24 腾讯科技(深圳)有限公司 攻击操作的执行方法和装置以及存储介质、电子装置
CN111672113A (zh) * 2020-06-05 2020-09-18 腾讯科技(深圳)有限公司 虚拟对象的选择方法、装置、设备及存储介质

Also Published As

Publication number Publication date
US20220043562A1 (en) 2022-02-10
KR102641337B1 (ko) 2024-02-27
US12005353B2 (en) 2024-06-11
JP7137718B2 (ja) 2022-09-14
CN111672113B (zh) 2022-03-08
KR20210151839A (ko) 2021-12-14
CN111672113A (zh) 2020-09-18
JP2022533920A (ja) 2022-07-27

Similar Documents

Publication Publication Date Title
WO2021244306A1 (zh) 虚拟对象的选择方法、装置、设备及存储介质
JP2022533321A (ja) 仮想オブジェクトの制御方法、装置、デバイス及びコンピュータプログラム
WO2021043069A1 (zh) 虚拟对象的受击提示方法、装置、终端及存储介质
WO2021244307A1 (zh) 虚拟对象的选择方法、装置、设备及存储介质
CN111905363B (zh) 虚拟对象的控制方法、装置、终端及存储介质
US20220032188A1 (en) Method for selecting virtual objects, apparatus, terminal and storage medium
US20220040574A1 (en) Virtual object control method and apparatus, computer device, and storage medium
CN111265872A (zh) 虚拟对象的控制方法、装置、终端及存储介质
CN110801629B (zh) 虚拟对象生命值提示图形的显示方法、装置、终端及介质
CN113617033B (zh) 虚拟角色的选择方法、装置、终端及存储介质
CN111643895B (zh) 操作响应方法、装置、终端及存储介质
CN111905380B (zh) 虚拟对象的控制方法、装置、终端及存储介质
CN111298438B (zh) 虚拟对象的控制方法、装置、设备和存储介质
US20220054944A1 (en) Virtual object control method and apparatus, terminal, and storage medium

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20217033732

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2021564717

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21818248

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 25-04-2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21818248

Country of ref document: EP

Kind code of ref document: A1