CN113398572A - Virtual item switching method, skill switching method and virtual object switching method - Google Patents

Virtual item switching method, skill switching method and virtual object switching method Download PDF

Info

Publication number
CN113398572A
CN113398572A CN202110576116.XA CN202110576116A CN113398572A CN 113398572 A CN113398572 A CN 113398572A CN 202110576116 A CN202110576116 A CN 202110576116A CN 113398572 A CN113398572 A CN 113398572A
Authority
CN
China
Prior art keywords
area
virtual
skill
angle
prop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110576116.XA
Other languages
Chinese (zh)
Other versions
CN113398572B (en
Inventor
吴月
睢佳晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110576116.XA priority Critical patent/CN113398572B/en
Publication of CN113398572A publication Critical patent/CN113398572A/en
Application granted granted Critical
Publication of CN113398572B publication Critical patent/CN113398572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/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/55Controlling game characters or game objects based on the game progress

Abstract

The application provides a virtual item switching method, a skill switching method, a virtual object switching method, a device, a terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying a first virtual scene, wherein the first virtual scene is displayed with a first virtual object and a prop switching control; responding to the triggering operation of the prop switching control, and displaying a prop display area and a first rocker control area corresponding to the prop switching control; displaying the selected target virtual prop based on the dragging operation of the rocker in the first rocker control area; and controlling the first virtual object to use the target virtual prop. According to the scheme, the rocker in the rocker control area is dragged to realize the switching of the virtual props, so that a terminal user does not need to transfer a sight line and interrupt the current operation, the virtual props can be quickly selected by continuously operating the rocker, the switching of the virtual props is completed, and the switching efficiency and the human-computer interaction efficiency of the virtual props are remarkably improved.

Description

Virtual item switching method, skill switching method and virtual object switching method
Technical Field
The present application relates to the field of computer technologies, and in particular, to a virtual item switching method, a skill switching method, a virtual object switching method, an apparatus, a terminal, and a storage medium.
Background
With the development of terminal technology, more and more game programs running on terminals appear. In the game process, the first virtual object controlled by the terminal user can interact with the virtual scene or other virtual objects in the virtual scene through the virtual prop. Because the first virtual object needs to use different virtual props under different conditions, how to enable the virtual props to be conveniently and reasonably used is a problem of virtual solution.
At present, the virtual prop of the first virtual object is usually displayed in a backpack page, when the first virtual object is controlled to switch the virtual prop, a terminal user needs to open the backpack page, then selects the virtual prop to be used from a plurality of virtual props of the backpack page, and then closes the backpack page to complete the switching of the virtual prop.
The problem that above-mentioned technical scheme exists is, need terminal user to interrupt current operation when switching virtual stage property, accomplish the switching of virtual stage property through loaded down with trivial details step again, lead to the switching efficiency of virtual stage property not high to human-computer interaction inefficiency.
Disclosure of Invention
The embodiment of the application provides a virtual prop switching method, a skill switching method, a virtual object switching method, a device, a terminal and a storage medium, so that a terminal user can quickly select a virtual prop in a prop display area to complete the switching of the virtual prop without transferring a sight line and interrupting the current operation, and the switching efficiency and the human-computer interaction efficiency of the virtual prop are remarkably improved. The technical scheme is as follows:
in one aspect, a method for switching virtual items is provided, where the method includes:
displaying a first virtual scene, wherein the first virtual scene is displayed with a first virtual object and a prop switching control, and the prop switching control is used for switching among different props;
responding to the triggering operation of the prop switching control, displaying a prop display area and a first rocker control area corresponding to the prop switching control, wherein at least one virtual prop is displayed in the prop display area;
displaying the selected target virtual prop based on dragging operation of a rocker in the first rocker control area, wherein the position of the target virtual prop in the prop display area corresponds to the position of the rocker in the first rocker control area;
and controlling the first virtual object to use the target virtual prop.
In another aspect, a skill switching method is provided, the method comprising:
displaying a second virtual scene, wherein a second virtual object and a skill switching control are displayed in the second virtual scene, and the skill switching control is used for switching among different skills;
responding to the triggering operation of the skill switching control, displaying a skill display area and a second rocker control area corresponding to the skill switching control, wherein at least one skill icon is displayed in the skill display area;
displaying a selected target skill icon based on the dragging operation of the rocker in the second rocker control area, wherein the position of the target skill icon in the skill display area corresponds to the position of the rocker in the rocker control area;
and controlling the second virtual object to use the skill corresponding to the target skill icon.
In some embodiments, the second virtual scene further displays a skill presentation control, the skill presentation control presenting the target skill icon;
the controlling the second virtual object to use the skill corresponding to the target skill icon includes:
and responding to the triggering operation of the skill display control, and controlling the first virtual object to use the skill corresponding to the target skill icon.
In some embodiments, the method further comprises:
displaying a historical skill icon in the skill display control, wherein the historical skill icon corresponds to a historical skill, and the historical skill is a skill used by the second virtual object before using the skill corresponding to the target skill icon;
and responding to the triggering operation of the skill display control, controlling the second virtual object to display the target skill icon in the prop display control by using the historical skill.
In another aspect, a virtual object switching method is provided, and the method includes:
displaying a third virtual scene, wherein a third virtual object and a virtual object switching control are displayed in the third virtual scene, and the virtual object switching control is used for switching between different virtual objects;
responding to the triggering operation of the virtual object switching control, displaying a virtual object display area and a third rocker control area corresponding to the virtual object switching control, wherein at least one virtual object is displayed in the virtual object display area;
displaying the selected target virtual object based on the dragging operation of the rocker in the third rocker control area, wherein the position of the target virtual object in the virtual object display area corresponds to the position of the rocker in the third rocker control area;
switching the third virtual object to the target virtual object.
In some embodiments, the displaying the selected target virtual object based on the drag operation of the joystick in the third joystick control region includes:
determining a fifth angle area corresponding to the position of the rocker in the third rocker control area based on the dragging operation of the rocker in the third rocker control area, wherein the fifth angle area is any one of a plurality of angle areas divided by the third rocker control area according to angles;
determining a sixth angle area corresponding to the fifth angle area in the virtual object display area, wherein the angle area division mode of the virtual object display area is the same as that of the third rocker control area, and one angle area corresponds to one virtual object;
and displaying the virtual object in the sixth angle area as the selected target virtual object.
In some embodiments, the determining a fifth angular region corresponding to a position of the joystick in the third joystick control region based on the drag operation of the joystick in the third joystick control region includes:
determining a third position of the rocker in the third rocker control region based on a drag operation of the rocker in the third rocker control region;
determining a fifth angle area according to a third angle range and fifth angle information, wherein the third angle range is an angle range where a connection line of the third position and the center position of the third rocker control area is located, the fifth angle information is used for indicating the angle range of each angle area in the third rocker control area, and the angle area in the third rocker control area is a sector area with the center position of the third rocker control area as a vertex.
In some embodiments, before the displaying the third virtual scene, the determining, in the virtual object display area, a sixth angle area corresponding to the fifth angle area includes:
according to the sixth angle information, determining an angle area in the virtual object display area, which is the same as an angle area corresponding to the fifth angle area, as the sixth angle area, wherein the sixth angle information is used for indicating the angle area of each angle area in the virtual object display area, and the angle area in the virtual object display area is a sector area with the central position of the virtual object display area as a vertex.
In some embodiments, the determining, in the virtual object presentation area, a sixth angle area corresponding to the fifth angle area includes:
according to third corresponding information, determining an angle area corresponding to the fifth angle area in the virtual object display area as the sixth angle area, wherein the third corresponding information is used for indicating the corresponding relation between the virtual object display area and each angle area in the third rocker control area.
In some embodiments, before the displaying the third virtual scene, the method further comprises:
displaying a virtual object setting page, wherein the virtual object setting page is displayed with a plurality of virtual object setting areas, and the virtual object setting areas are used for setting the virtual objects displayed in the virtual object display areas;
responding to the trigger operation of any virtual object setting area, and displaying a virtual object selection page, wherein the virtual object selection page is used for displaying at least one virtual object;
setting the selected virtual object in the any virtual object setting area based on a virtual object selection operation on the virtual object selection page.
In some embodiments, the third virtual scene further displays a virtual object display control, and the prop display control displays the target virtual object;
the switching the third virtual object to the target virtual object includes:
and switching the third virtual object to the target virtual object in response to the triggering operation of the virtual object display control.
In some embodiments, the method further comprises:
displaying the third virtual object in the virtual object display control;
and responding to the triggering operation of the virtual object display control, switching the target virtual object into the third virtual object, and displaying the target virtual object in the virtual object display control.
In another aspect, a virtual item switching apparatus is provided, the apparatus including:
the system comprises a prop scene display module, a prop switching control module and a display module, wherein the prop scene display module is used for displaying a first virtual scene, the first virtual scene displays a first virtual object and the prop switching control, and the prop switching control is used for switching among different props;
the prop area display module is used for responding to the triggering operation of the prop switching control, displaying a prop display area and a first rocker control area corresponding to the prop switching control, wherein at least one virtual prop is displayed in the prop display area;
the prop display module is used for displaying the selected target virtual prop based on the dragging operation of the rocker in the first rocker control area, and the position of the target virtual prop in the prop display area corresponds to the position of the rocker in the first rocker control area;
and the prop using module is used for controlling the first virtual object to use the target virtual prop.
In some embodiments, the prop display module is configured to determine, based on a dragging operation on a rocker in the first rocker control region, a first angle region corresponding to a position of the rocker in the first rocker control region, where the first angle region is any one of a plurality of angle regions that are divided by an angle in the first rocker control region; determining a second angle area corresponding to the first angle area in the prop display area, wherein the prop display area is divided into angle areas in the same way as the first rocker control area, and one angle area corresponds to one virtual prop; and displaying the virtual prop in the second angle area as the selected target virtual prop.
In some embodiments, the prop display module is configured to determine a first position of the joystick in the first joystick control region based on a drag operation of the joystick in the first joystick control region; determining the first angle area according to a first angle range and first angle information, wherein the first angle range is an angle range where a connection line between the first position and the center position of the first rocker control area is located, the first angle information is used for indicating the angle range of each angle area in the first rocker control area, and the angle area in the first rocker control area is a sector area taking the center position of the first rocker control area as a vertex.
In some embodiments, the prop display module is configured to determine, as the second angle region, an angle region in the prop display region, which has a same angle range as that of the first angle region, according to second angle information, where the second angle information is used to indicate an angle range of each angle region in the prop display region, and the angle region in the prop display region is a sector region with a center position of the prop display region as a vertex.
In some embodiments, the prop display module is configured to determine, according to first corresponding information, an angle region corresponding to the first angle region in the prop display region as the second angle region, where the first corresponding information is used to indicate a corresponding relationship between the prop display region and each angle region in the first joystick control region.
In some embodiments, the apparatus further comprises:
the prop setting module is used for displaying a prop setting page, the prop setting page is provided with a plurality of prop setting areas, and the prop setting areas are used for setting the virtual props displayed in the prop display areas;
the system comprises a prop selection module, a display module and a display module, wherein the prop selection module is used for responding to the triggering operation of any prop setting area and displaying a prop selection page, and the prop selection page is used for displaying at least one virtual prop;
and the prop setting module is also used for setting the selected virtual prop in any prop setting area based on the prop selection operation on the prop selection page.
In some embodiments, the first virtual scene further displays a property display control that displays the target virtual property;
the prop using module is further configured to control the first virtual object to use the target virtual prop in response to a triggering operation on the prop display control.
In some embodiments, the item usage module is further configured to display a historical virtual item in the item display control, where the historical virtual item is a virtual item used by the first virtual object before the target virtual item is used; and responding to the triggering operation of the prop display control, controlling the first virtual object to use the historical virtual prop, and displaying the target virtual prop in the prop display control.
In another aspect, there is provided a skill switching apparatus, the apparatus comprising:
the skill scene display module is used for displaying a second virtual scene, wherein a second virtual object and a skill switching control are displayed in the second virtual scene, and the skill switching control is used for switching among different skills;
the skill area display module is used for responding to the triggering operation of the skill switching control and displaying a skill display area and a second rocker control area corresponding to the skill switching control, and at least one skill icon is displayed in the skill display area;
the skill icon display module is used for displaying a selected target skill icon based on the dragging operation of the rocker in the second rocker control area, and the position of the target skill icon in the skill display area corresponds to the position of the rocker in the rocker control area;
and the skill using module is used for controlling the second virtual object to use the skill corresponding to the target skill icon.
In some embodiments, the skill icon display module is configured to determine, based on a dragging operation on a joystick in the second joystick control region, a third angle region corresponding to a position of the joystick in the second joystick control region, where the third angle region is any one of a plurality of angle regions divided by angles in the second joystick control region; determining a fourth angle area corresponding to the third angle area in the skill display area, wherein the angle area division mode of the skill display area is the same as that of the second rocker control area, and one angle area corresponds to one skill icon; and displaying the skill icon in the fourth angle area as the selected target skill icon.
In some embodiments, the apparatus further comprises:
the first skill information module is used for determining a second position of the rocker in the second rocker control area based on the dragging operation of the rocker in the second rocker control area; and determining a third angle area according to a second angle range and third angle information, wherein the second angle range is an angle range where a connecting line of the second position and the center position of the second rocker control area is located, the third angle information is used for indicating the angle range of each angle area in the second rocker control area, and the angle area in the second rocker control area is a sector area taking the center position of the second rocker control area as a vertex.
In some embodiments, the skill icon display module is configured to determine, as the fourth angle area, an angle area in the skill display area, which has a same angle range as that of the third angle area, according to the fourth angle information, where the fourth angle information is used to indicate an angle range of each angle area in the skill display area, and the angle area in the skill display area is a sector area with a center position of the skill display area as a vertex.
In some embodiments, the skill icon display module is configured to determine, as the fourth angle area, an angle area corresponding to the third angle area in the skill display area according to the second corresponding information, where the second corresponding information is used to indicate a corresponding relationship between the skill display area and each angle area in the second joystick control area.
In some embodiments, the apparatus further comprises:
the skill setting module is used for displaying a skill setting page, the skill setting page is displayed with a plurality of skill setting areas, and the skill setting areas are used for setting skill icons displayed in the skill display areas;
the skill selection module is used for responding to triggering operation of any skill setting area and displaying a skill selection page, and the skill selection page is used for displaying at least one skill icon;
and the skill setting module is further used for setting the selected skill icon in any skill setting area based on the skill selection operation on the skill selection page.
In some embodiments, the second virtual scene further displays a skill presentation control, the skill presentation control presenting the target skill icon;
and the skill using module is used for responding to the triggering operation of the skill display control and controlling the first virtual object to use the skill corresponding to the target skill icon.
In some embodiments, the skill use module is further configured to display a historical skill icon in the skill display control, where the historical skill icon corresponds to a historical skill, and the historical skill is a skill used by the second virtual object before using the skill corresponding to the target skill icon; and responding to the triggering operation of the skill display control, controlling the second virtual object to display the target skill icon in the prop display control by using the historical skill.
In another aspect, there is provided a virtual object switching apparatus, the apparatus including:
the object scene display module is used for displaying a third virtual scene, wherein the third virtual scene displays a third virtual object and a virtual object switching control, and the virtual object switching control is used for switching between different virtual objects;
the object area display module is used for responding to the triggering operation of the virtual object switching control and displaying a virtual object display area and a third rocker control area corresponding to the virtual object switching control, and at least one virtual object is displayed in the virtual object display area;
the object display module is used for displaying the selected target virtual object based on the dragging operation of the rocker in the third rocker control area, and the position of the target virtual object in the virtual object display area corresponds to the position of the rocker in the third rocker control area;
and the object switching module is used for switching the third virtual object into the target virtual object.
In some embodiments, the object display module is configured to determine, based on a dragging operation on a joystick in the third joystick control region, a fifth angle region corresponding to a position of the joystick in the third joystick control region, where the fifth angle region is any one of a plurality of angle regions into which the third joystick control region is divided by angles; determining a sixth angle area corresponding to the fifth angle area in the virtual object display area, wherein the angle area division mode of the virtual object display area is the same as that of the third rocker control area, and one angle area corresponds to one virtual object; and displaying the virtual object in the sixth angle area as the selected target virtual object.
In some embodiments, the object display module is configured to determine a third position of the joystick in the third joystick control region based on a drag operation of the joystick in the third joystick control region; determining a fifth angle area according to a third angle range and fifth angle information, wherein the third angle range is an angle range where a connection line of the third position and the center position of the third rocker control area is located, the fifth angle information is used for indicating the angle range of each angle area in the third rocker control area, and the angle area in the third rocker control area is a sector area with the center position of the third rocker control area as a vertex.
In some embodiments, the object display module is configured to determine, according to sixth angle information, an angle region in the virtual object display region, which is the same as an angle range corresponding to the fifth angle region, as the sixth angle region, where the sixth angle information is used to indicate an angle range of each angle region in the virtual object display region, and the angle region in the virtual object display region is a sector region with a center position of the virtual object display region as a vertex.
In some embodiments, the object display module is configured to determine, according to third corresponding information, an angle region corresponding to the fifth angle region in the virtual object display region as the sixth angle region, where the third corresponding information is used to indicate a corresponding relationship between the virtual object display region and each angle region in the third joystick control region.
In some embodiments, the apparatus further comprises:
the virtual object setting module is used for displaying a virtual object setting page, the virtual object setting page is displayed with a plurality of virtual object setting areas, and the virtual object setting areas are used for setting the virtual objects displayed in the virtual object display areas;
the virtual object selection module is used for responding to triggering operation of any virtual object setting area and displaying a virtual object selection page, and the virtual object selection page is used for displaying at least one virtual object;
the object setting module is further configured to set a selected virtual object in any of the virtual object setting areas based on a virtual object selection operation on the virtual object selection page.
In some embodiments, the third virtual scene further displays a virtual object display control, and the prop display control displays the target virtual object;
the object switching module is configured to switch the third virtual object to the target virtual object in response to a trigger operation on the virtual object display control.
In some embodiments, the object switching module is further configured to display the third virtual object in the virtual object display control; and responding to the triggering operation of the virtual object display control, switching the target virtual object into the third virtual object, and displaying the target virtual object in the virtual object display control.
In another aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory is used to store at least one piece of computer program, where the at least one piece of computer program is loaded and executed by the processor to implement the operations performed in the virtual item switching method in the embodiment of the present application, or is loaded and executed by the processor to implement the operations performed in the skill switching method in the embodiment of the present application, or is loaded and executed by the processor to implement the operations performed in the virtual object switching method in the embodiment of the present application.
In another aspect, a computer-readable storage medium is provided, where at least one piece of computer program is stored, and is loaded and executed by a processor to implement the operations performed in the virtual item switching method in the embodiment of the present application, or is loaded and executed by a processor to implement the operations performed in the skill switching method in the embodiment of the present application, or is loaded and executed by a processor to implement the operations performed in the virtual object switching method in the embodiment of the present application.
In another aspect, a computer program product is provided that includes computer program code stored in a computer readable storage medium. The processor of the terminal reads the computer program code from the computer-readable storage medium, and executes the computer program code, so that the terminal executes the virtual item switching method provided in the various alternative implementations of the above aspects, or executes the skill switching method provided in the various alternative implementations of the above aspects, or executes the virtual object switching method provided in the various alternative implementations of the above aspects.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
in the embodiment of the application, a novel switching mode of the virtual props is provided, the switching of the virtual props is realized by dragging a rocker in a rocker control area, so that a terminal user does not need to transfer a sight line and interrupt the current operation, and only needs to continuously operate the rocker in the rocker control area, the virtual props in the prop display area can be quickly selected, the switching of the virtual props is completed, and the switching efficiency and the human-computer interaction efficiency of the virtual props are remarkably improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided according to an embodiment of the application;
fig. 2 is a flowchart of a virtual item switching method according to an embodiment of the present application;
fig. 3 is a flowchart of another virtual item switching method provided according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a first virtual scene provided in accordance with an embodiment of the present application;
fig. 5 is a schematic diagram of a control for triggering item switching according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a first rocker control region being partitioned according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a stage property display area division provided according to an embodiment of the present application;
FIG. 8 is a schematic view of a fixture arrangement provided in accordance with an embodiment of the present application;
fig. 9 is a schematic diagram of a switch of a road furniture provided in an embodiment of the present application;
fig. 10 is a flowchart of another virtual item switching method provided according to an embodiment of the present application;
fig. 11 is a flowchart of a skill switching method provided according to an embodiment of the present application;
fig. 12 is a flowchart of another skill switching method provided according to an embodiment of the present application;
fig. 13 is a flowchart of a virtual object switching method according to an embodiment of the present application;
fig. 14 is a flowchart of another virtual object switching method provided in an embodiment of the present application;
fig. 15 is a block diagram of a virtual item switching device according to an embodiment of the present application;
fig. 16 is a block diagram of another virtual item switching device provided according to an embodiment of the present application;
fig. 17 is a block diagram of a skill switching device provided according to an embodiment of the present application;
fig. 18 is a block diagram of another skill switching device provided according to an embodiment of the present application;
fig. 19 is a block diagram of a virtual object switching apparatus according to an embodiment of the present application;
fig. 20 is a block diagram of another virtual object switching apparatus provided in accordance with an embodiment of the present application;
fig. 21 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution.
The term "at least one" in this application means one or more, and the meaning of "a plurality" means two or more.
Hereinafter, terms related to the present application are explained.
Virtual scene: is a virtual scene that is displayed (or provided) by an application program when the application program runs on a terminal. The virtual scene may be a simulation environment of a real world, a semi-simulation semi-fictional virtual environment, or a pure fictional virtual environment. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene, and the dimension of the virtual scene is not limited in the embodiment of the present application. For example, a virtual scene may include sky, land, ocean, etc., the land may include environmental elements such as deserts, cities, etc., and a user may control a virtual object to move in the virtual scene. Optionally, the virtual scene may also be used for virtual scene engagement between at least two virtual objects, in which virtual resources are available for use by the at least two virtual objects.
Virtual object: refers to a movable object in a virtual scene. The movable object can be a virtual character, a virtual animal, an animation character, etc., such as: characters, animals, plants, oil drums, walls, stones, etc. displayed in the virtual scene. The virtual object may be an avatar in the virtual scene that is virtual to represent the user. A plurality of virtual objects may be included in the virtual scene, each virtual object having its own shape and volume in the virtual scene, occupying a portion of the space in the virtual scene. Optionally, when the virtual scene is a three-dimensional virtual scene, optionally, the virtual object may be a three-dimensional stereo model, the three-dimensional stereo model may be a three-dimensional character constructed based on a three-dimensional human skeleton technology, and the same virtual object may exhibit different external images by wearing different skins. In some embodiments, the virtual object may also be implemented by using a 2.5-dimensional or 2-dimensional model, which is not limited in this application.
Virtual props: refers to a prop used when a virtual object interacts in a virtual scene. For example, in a shooting game, the virtual prop may be a throwing virtual weapon such as a grenade, a cluster mine, a viscous grenade (abbreviated as "viscous grenade"), a shooting virtual weapon such as a machine gun, a pistol, a rifle, a bow, an arrow, a javelin, a sickle, and the like, and the type of the virtual prop is not specifically limited in the present application.
Skill: refers to an attribute possessed by virtual objects, and the virtual objects can interact with each other by using skills. For example, in role-playing games, skill types of skills may include attack skills, defense skills, treatment skills, assistance skills, chop skills, etc., each virtual object may have a respective fixed skill or skills, while different virtual objects typically have different skills that may produce different effects. For example, if the virtual object release attack skill hits an enemy virtual object, a certain damage to the virtual object by the enemy is usually expressed by deducting a part of a virtual life value of the enemy virtual object, and for example, if the virtual object release treatment skill hits an friend virtual object, a certain treatment is generated on the friend virtual object, which is usually expressed by replying a part of the virtual life value of the friend virtual object, and other various skills can generate corresponding effects, which are not listed one by one.
The virtual item switching method provided by the embodiment of the application can be executed by the terminal. An implementation environment of the virtual item switching method provided in the embodiment of the present application is described below, and fig. 1 is a schematic diagram of the implementation environment provided in the embodiment of the present application. Referring to fig. 1, the implementation environment includes a terminal 101 and a server 102, and the implementation environment can be used to execute a virtual item switching method, and can also be used to execute a skill switching method and a virtual object switching method provided in the embodiments of the present application, where the virtual item switching method is described as an example below.
The terminal 101 and the server 102 can be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
Optionally, the terminal 101 is a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal 101 is installed and operated with an application program supporting a virtual scene. The application program may be any one of a First-Person shooter game (FPS), a third-Person shooter game, a Multiplayer Online Battle Arena game (MOBA), a virtual reality application program, a three-dimensional map program, a military simulation program, or a Multiplayer gunfight type live game. Illustratively, the terminal 101 is a terminal used by a user, and the user uses the terminal 101 to operate a first virtual object located in a first virtual scene for activities, including but not limited to: adjusting at least one of body posture, crawling, walking, running, riding, jumping, driving, picking, shooting, attacking, throwing. Illustratively, the first virtual object is a virtual character, such as a simulated character or an animated character.
Optionally, the server 102 is an independent physical server, or a server cluster or distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, Content Delivery Network (CDN), big data and artificial intelligence platform, and the like. The server 102 is used for providing background services for the application programs supporting the virtual scenes. Alternatively, the server 102 may undertake primary computational tasks and the terminal 101 may undertake secondary computational tasks; or, the server 102 undertakes the secondary computing work, and the terminal 101 undertakes the primary computing work; alternatively, the server 102 and the terminal 101 perform cooperative computing by using a distributed computing architecture.
Optionally, the virtual object controlled by the terminal 101 (hereinafter referred to as the first virtual object) and the virtual object controlled by the other terminal 101 (hereinafter referred to as the other virtual object) are in the same virtual scene, and the first virtual object can interact with the other virtual object in the virtual scene. In some embodiments, the first virtual object and the other virtual objects may be in a hostile relationship, for example, the first virtual object and the other virtual objects may belong to different teams and organizations, and the hostile virtual objects may interact antagonistically by releasing skills of each other.
Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals may be only one, or several tens or hundreds of the terminals, or more. The number of terminals and the type of the device are not limited in the embodiments of the present application.
The embodiment of the application provides a novel switching method which can be used for switching virtual props, skills, virtual objects and the like. According to the switching method, the rocker control area corresponds to the display area, so that when a user drags a rocker in the rocker control area, the terminal can determine the switched virtual prop, skill icon or virtual object in the display area according to the position of the rocker, the user does not need to shift sight and interrupt the current operation, the switching can be rapidly completed only by continuously operating the rocker in the rocker control area, and the switching efficiency and the human-computer interaction efficiency are remarkably improved. The following describes the three cases.
First, taking switching of a virtual item as an example, fig. 2 is a flowchart of a method for switching a virtual item according to an embodiment of the present application, and as shown in fig. 2, in the embodiment of the present application, description is given by taking a terminal as an example. The virtual item switching method comprises the following steps:
201. the terminal displays a first virtual scene, the first virtual scene displays a first virtual object and a prop switching control, and the prop switching control is used for switching among different props.
In the embodiment of the application, the terminal is provided with an application program supporting a virtual scene, and the terminal displays the first virtual scene after running the application program. The first virtual scene at least displays the following contents: the system comprises a first virtual object controlled by a first user account and a prop switching control used for switching props, wherein the first user account is an account currently logged in by the terminal.
202. Responding to the triggering operation of the prop switching control, displaying a prop display area and a first rocker control area corresponding to the prop switching control by the terminal, wherein at least one virtual prop is displayed in the prop display area.
In the embodiment of the application, if the terminal detects the triggering operation of the prop switching control, the terminal displays a prop display area and a first rocker control area. At least one virtual item, namely at least one switchable virtual item, is displayed in the item display area. A rocker is displayed in the first rocker area, and the terminal can determine a target virtual prop in the prop display area according to dragging operation of the rocker.
203. And the terminal displays the selected target virtual prop based on the dragging operation of the rocker in the first rocker control area, wherein the position of the target virtual prop in the prop display area corresponds to the position of the rocker in the first rocker control area.
In this embodiment of the application, if the terminal detects a dragging operation on a rocker in a first rocker control area, the terminal determines a position of the rocker in the first rocker control area according to the dragging operation, then determines another position corresponding to the position in a prop display area based on the position, a virtual prop at the another position is a selected target virtual prop, and the terminal displays the target virtual prop.
204. The terminal controls the first virtual object to use the target virtual prop.
In this embodiment, if the terminal detects a use operation of the target virtual item, if the joystick in the first joystick control area is released, the terminal controls the first virtual object to use the target virtual item.
For example, the target virtual prop is a hoe, and if the first virtual object uses a sword at present, the terminal controls the first virtual object to switch the sword to the hoe; or the first virtual object does not use any virtual prop currently, the terminal controls the first virtual object to directly use the hoe.
The scheme that this application embodiment provided provides a novel virtual stage property switching mode, realize the switching of virtual stage property through dragging the rocker in the rocker control area for the terminal user need not shift the sight, also need not interrupt current operation, only need through last operation rocker in rocker control area, the virtual stage property that shows in the region to the stage property that can be quick selects, in order to accomplish the switching of virtual stage property, the improvement that is showing virtual stage property's switching efficiency and human-computer interaction efficiency.
Fig. 2 illustrates a main flow of the virtual item switching method provided in the embodiment of the present application by way of example, and the virtual item switching method is described in more detail below based on fig. 3. Fig. 3 is a flowchart of another virtual item switching method provided according to an embodiment of the present application, and as shown in fig. 3, the embodiment of the present application is described by being executed by a terminal as an example. The virtual item switching method comprises the following steps:
301. the terminal displays a first virtual scene, the first virtual scene displays a first virtual object and a prop switching control, and the prop switching control is used for switching among different props.
In the embodiment of the application, a first virtual scene is displayed on the terminal. The first virtual scene is any one of the following scenes: the method comprises the steps that a game scene corresponding to a game program supporting a virtual scene is installed and operated on a terminal; or, the cloud game server returns a cloud game scene according to the cloud game start request sent by the terminal, which is not limited in the embodiment of the present application.
The first virtual scene at least displays the following contents: the system comprises a first virtual object controlled by a first user account and a prop switching control used for switching a virtual prop. The first user account is a user account for logging in by a terminal.
For example, referring to fig. 4, fig. 4 is a schematic diagram of a first virtual scene provided according to an embodiment of the present application. As shown in fig. 4, the first virtual scene is displayed with a first virtual object 401 and a prop switching control 402.
302. Responding to the triggering operation of the prop switching control, displaying a prop display area and a first rocker control area corresponding to the prop switching control by the terminal, wherein at least one virtual prop is displayed in the prop display area.
In this embodiment of the application, the first user account can check the virtual props available for switching by triggering the prop switching control, and can also switch the virtual props by triggering the prop switching control. And if the terminal detects the triggering operation of the prop switching control, the terminal displays a prop display area and a first rocker control area.
Wherein, the item display area displays at least one virtual item which can be selected. Optionally, the prop display area may be a quadrilateral area, a circular area, or an annular area. Optionally, the prop display area may be a transparent area, a translucent area, or an opaque area. Optionally, the at least one virtual item may be distributed in a matrix form in the item display area, or may be distributed in an annular form.
The first rocker control area corresponds to the prop switching control. Optionally, the first rocker control area is an annular area displayed around the prop switching control, and an initial position of a rocker in the first rocker control area is located at a position where the prop switching control is located.
For example, referring to fig. 5, fig. 5 is a schematic diagram illustrating a control for triggering prop switching according to an embodiment of the present application. As shown in fig. 5 (a), the user triggers the prop switching control. As shown in fig. 5 (b), the terminal displays a prop display area 501 and a first stick control area 502. The property display area 501 is a transparent circular area, and 8 virtual properties arranged in an annular shape are displayed in the property display area 501. The first rocker control region 502 is a translucent annular region.
In some embodiments, the terminal can also display the item icon in the item display area, that is, the virtual item is not directly displayed, but the item icon is used to replace the virtual item. Because the volume of the prop icon is small, the corresponding virtual props can be represented, so that the sheltering of the first virtual scene can be reduced on the premise of not influencing the selection of the virtual props by displaying the prop icon, and the information in the first virtual scene can be prevented from being missed by the user, so that the human-computer interaction efficiency and the use experience of the user are improved.
303. The terminal determines a first angle area corresponding to the position of the rocker in the first rocker control area based on the dragging operation of the rocker in the first rocker control area, wherein the first angle area is any one of a plurality of angle areas divided by the first rocker control area according to angles.
In an embodiment of the present application, the first rocker control region is angularly divided into a plurality of angular regions. If the terminal detects the dragging operation of the rocker in the first rocker control area, the terminal can acquire the position of the dragged rocker in the first rocker control area, and then determine a first angle area corresponding to the position. Wherein, a plurality of angle areas in the first rocker control area are divided by the server, or a plurality of angle areas in the first rocker control area are divided by the terminal.
In some embodiments, the plurality of angle zones in the first rocker control zone are divided into the example by the server, and the server sends first angle information to the terminal, wherein the first angle information is used for indicating the angle range of each angle zone in the first rocker control zone, and the angle zones in the first rocker control zone are fan-shaped zones taking the central position of the first rocker control zone as a vertex. The terminal determines a first position of the rocker in the first rocker control area based on dragging operation of the rocker in the first rocker control area, and then the terminal determines a first angle area according to a first angle range and the first angle information, wherein the first angle range is an angle range where a connection line of the first position and the center position of the first rocker control area is located. Because each angle area corresponds to different angle scope in the first rocker control area for the terminal can be according to the position at rocker place, and the efficiency in the terminal definite angle area has been improved to the corresponding angle area of quick definite.
For example, referring to fig. 6, fig. 6 is a schematic diagram illustrating a first rocker control area according to an embodiment of the present disclosure. As shown in fig. 6, the first joystick control area is an annular area, and the first joystick control area is divided into 8 angle areas, and each angle area corresponds to a part of one sector area except for the prop switching control. The angle ranges of the 8 angle regions are respectively as follows: -a region of 22.5 ° to 22.5 °, a region of 22.5 ° to 67.5 °, a region of 67.5 ° to 112.5 °, a region of 112.5 ° to 157.5 °, a region of 157.5 ° to-157.5 °, a region of-157.5 ° to-112.5 °, a region of-112.5 ° to-67.5 °, and a region of-67.5 ° to-22.5 °.
In some embodiments, for example, the terminal divides a plurality of angle regions in the first joystick control region into a plurality of angle regions, the terminal obtains a first division angle before displaying the first virtual scene, and then the terminal equally divides the first joystick control region into the plurality of angle regions according to the first division angle, wherein the plurality of angle regions are fan-shaped regions taking the center of the first joystick control region as a vertex and the first division angle is a central angle. Optionally, the sector area does not include a portion that coincides with the prop switching control. Because each angle area corresponds to different angle scope in the first rocker control area for the terminal can be according to the position at rocker place, and the efficiency in the terminal definite angle area has been improved to the corresponding angle area of quick definite.
It should be noted that, in the embodiments of the present application, the first rocker control area is divided equally into two equal parts, and in some embodiments, the first rocker control area can also be divided unequally, that is, the first rocker control area is divided into angle areas with different sizes, so that the triggering efficiency of a larger angle area can be improved.
304. The terminal determines a second angle area corresponding to the first angle area in the prop display area, the prop display area is divided into angle areas in the same mode as the first rocker control area, and one angle area corresponds to one virtual prop.
In this embodiment, the prop display area is divided into a plurality of angle areas according to angles, and after the terminal determines the first angle area in the first rocker control area, the terminal determines a second angle area corresponding to the first angle area from the prop display area according to the first angle area. The prop display area is divided into angle areas in the same manner as the first rocker control area. And the angle areas in the prop display area correspond to the angle areas in the first rocker control area one to one. The plurality of angle areas in the item display area are divided by the server, or the plurality of angle areas in the item display area are divided by the terminal.
In some embodiments, the plurality of angle areas in the prop display area are divided by the server, and the server divides the first rocker control area in the same manner as the prop display area, so that each angle area of the first rocker control area and each angle area of the prop display area have a mapping relationship.
And the server sends second angle information to the terminal, wherein the second angle information is used for indicating the angle range of each angle area in the prop display area, and the angle area in the prop display area is a fan-shaped area taking the central position of the prop display area as a vertex. And the terminal determines the angle area with the same angle range as the angle area corresponding to the first angle area in the prop display area as a second angle area according to the second angle information. Because the angle ranges of the angle regions in the prop display region correspond to the angle ranges of the angle regions in the first rocker control region, namely, a mapping relation exists between the rocker control region and the prop display region, based on the mapping relation, a user can directly and simply operate based on the displayed rocker region without moving the user on an operation interface, the switching target can be determined and the switching is triggered, and the human-computer interaction efficiency is obviously improved.
For example, referring to fig. 7, fig. 7 is a schematic diagram of dividing a prop display area according to an embodiment of the present application, and as shown in fig. 7, the prop display area is a circular area, the prop display area is divided into 8 angle areas, and a virtual prop is displayed in each angle area. The angle ranges corresponding to the 8 angle regions are respectively as follows: -a region of 22.5 ° to 22.5 °, a region of 22.5 ° to 67.5 °, a region of 67.5 ° to 112.5 °, a region of 112.5 ° to 157.5 °, a region of 157.5 ° to-157.5 °, a region of-157.5 ° to-112.5 °, a region of-112.5 ° to-67.5 °, and a region of-67.5 ° to-22.5 °.
In some embodiments, a plurality of angle areas in the prop display area are divided by a server, and the terminal determines a second angle area corresponding to the first angle area according to first corresponding information sent by the server, where the first corresponding information is used to indicate a corresponding relationship between the prop display area and each angle area in the first joystick control area. And the terminal determines an angle area corresponding to the first angle area in the prop display area as a second angle area according to the first corresponding information. By acquiring the corresponding information, the terminal can quickly determine the second angle area according to the corresponding relation between the angle areas, so that the execution efficiency is improved.
For example, after the prop display area and the first rocker control area are divided, the server numbers each angle area, and the angle areas with the same number correspond to each other, that is, the angle area numbered 1 in the prop display area corresponds to the angle area numbered 1 in the first rocker control area; the angle area with the number of 3 in the prop display area corresponds to the angle area with the number of 3 in the first rocker control area, and so on.
In some embodiments, a plurality of angle regions in the property display region are divided by the terminal, and the virtual properties in the property display region are arranged in an equally-spaced annular manner, for example, before the terminal displays a first virtual scene, the terminal obtains a first division angle, and then the terminal equally divides the property display region into the plurality of angle regions according to the first division angle, wherein the plurality of angle regions are fan-shaped regions using the center of the property display region as a vertex, and the first division angle is a central angle. The prop display area is equally divided into a plurality of angle areas in the same mode as the first rocker control area, so that the terminal can rapidly determine the corresponding angle area in the prop display area and the virtual prop in the angle area according to the position of the rocker.
It should be noted that the terminal or the server may also be configured to partition the item display area first, and then map the partition result to the first rocker control area, that is, partition the item display area first according to the position of each virtual item in the item display area, and then partition the corresponding area in the first rocker control area according to the partition result.
In some embodiments, the terminal further provides a prop setting page, and the prop setting page is used for setting the virtual props displayed in the prop display area. Correspondingly, the terminal displays a prop setting page, the prop setting page is displayed with a plurality of prop setting areas, and the prop setting areas are used for setting the virtual props displayed in the prop display areas. Responding to the triggering operation of any item setting area, and displaying an item selection page on the terminal, wherein the item selection page is used for displaying at least one virtual item. And the terminal sets the selected virtual prop in any prop setting area based on the prop selection operation on the prop selection page. Optionally, the positions of the prop setting areas in the prop setting page correspond to the positions of the virtual props in the prop display areas one to one. Through providing the stage property setting page for the user can set up virtual stage property according to the use habit, and has known as the palm to the position of virtual stage property in stage property show area, and then the user can be through dragging the rocker in the first rocker control area, and quick switching is the virtual stage property of expectation, has improved stage property switching efficiency and human-computer interaction efficiency.
For example, referring to fig. 8, fig. 8 is a schematic view of a track set provided according to an embodiment of the present application. As shown in fig. 8 (a), a prop setting page 801 displays 8 prop setting areas. In response to a trigger operation on any item setting area, as shown in fig. 8 (b), an item selection page 802 is displayed, on which 3 virtual items are displayed: prop A, prop B and prop C. As shown in fig. 8 (c), the terminal sets the selected virtual item in any item setting area.
It should be noted that, for any item setting area where the virtual item is not set, when the terminal displays the item display area, displaying "null" in the angle area corresponding to the item setting area, which indicates that the virtual item is not set in the angle area.
305. And the terminal displays the virtual prop in the second angle area as the selected target virtual prop.
In this embodiment of the application, after determining the second angle area, the terminal displays the virtual prop in the second angle area as a selected state. Optionally, the selected state may be a highlight, or an arrow indication, which is not limited in this embodiment of the application.
306. The terminal controls the first virtual object to use the target virtual prop.
In this embodiment, if the terminal detects an operation of releasing the joystick, the terminal controls the first virtual object to use the target virtual item. The use means that the first virtual object is provided with the target virtual item, or interaction is performed through the target virtual item.
For example, the target virtual prop is a hoe for digging a mine, and the terminal controls the first virtual object to equip the hoe so that the first virtual object can dig the mine through the hoe. If the target virtual prop is a flying knife for throwing, the terminal controls the first virtual object to throw the flying knife to other virtual objects, so that the first virtual object can interact with each other through the flying knife.
In some embodiments, the first virtual scene further displays a property display control, where the property display control displays the target virtual property, that is, after the target virtual property is determined, the terminal displays the target virtual property based on the property display control, and then controls the first virtual object to use the target virtual property in response to a trigger operation of the property display control. Through setting up stage property show controlling part for the user can switch the controlling part based on the stage property in advance and select the virtual stage property of target that will use from stage property show region according to the demand, then when this virtual stage property of target needs to be used, rethread trigger stage property show controlling part uses, and improvement that can show uses the rate of accuracy of the virtual stage property of target, has improved human-computer interaction efficiency.
Correspondingly, the terminal can also display a historical virtual item in an item display control, the historical virtual item is a virtual item used by the first virtual object before the target virtual item is used, and then in response to the trigger operation of the item display control, the terminal controls the first virtual object to use the historical virtual item and displays the target virtual item in the item display control. Through showing the historical virtual props in the prop showing control, a user can quickly switch between the historical virtual props and the target virtual props based on the prop showing control, and the prop switching efficiency and the human-computer interaction efficiency are improved.
For example, referring to fig. 9, fig. 9 is a schematic diagram of a switch of a road furniture according to an embodiment of the present application. As shown in fig. 9 (a), the virtual item currently displayed by the item display control 901 is an item 4, and the terminal determines that the target virtual item is an item 3 according to the dragging operation of the first rocker control area, as shown in fig. 9 (b), the terminal displays the item 3 on the item display control 901. The virtual item currently used by the terminal is item 0, and in response to the trigger operation on the item display control, the terminal controls the first virtual object to use the item 3, and then displays the item 0 as a historical virtual item in the item display control, as shown in (c) in fig. 9.
It should be noted that, the above steps 301 to 306 are optional implementation manners of the virtual item switching method provided in the embodiment of the present application, and as shown in fig. 10, fig. 10 is a flowchart of another virtual item switching method provided in the embodiment of the present application, and as shown in fig. 10, the method includes the following steps: 1001. and detecting that the property switching key is pressed. 1002. And dividing a first rocker control area according to the number of the virtual props and the positions of the virtual props. 1003. And matching according to the angle ranges of the rocker and the virtual prop from respective circle centers. 1004. And detecting that the prop switching key is released. 1005. And replacing the prop of the first virtual object with the matched virtual prop.
The scheme that this application embodiment provided provides a novel virtual stage property switching mode, realize the switching of virtual stage property through dragging the rocker in the rocker control area for the terminal user need not shift the sight, also need not interrupt current operation, only need through last operation rocker in rocker control area, the virtual stage property that shows in the region to the stage property that can be quick selects, in order to accomplish the switching of virtual stage property, the improvement that is showing virtual stage property's switching efficiency and human-computer interaction efficiency. In addition, because the mapping relation exists between the rocker control area and the prop display area, based on the mapping relation, a user does not need to move the rocker control area and the prop display area on an operation interface, and can directly carry out simple operation based on the displayed rocker area, so that the switching target can be determined and the switching can be triggered, and the man-machine interaction efficiency is obviously improved.
Next, taking a switching skill as an example, fig. 11 is a flowchart of a skill switching method provided in the embodiment of the present application, and as shown in fig. 11, the embodiment of the present application is described by taking an example of being executed by a terminal. The skill switching method comprises the following steps:
1101. the terminal displays a second virtual scene, wherein the second virtual scene displays a second virtual object and a skill switching control, and the skill switching control is used for switching between different skills.
In the embodiment of the application, the terminal is provided with an application program supporting a virtual scene, and the terminal displays the first virtual scene after running the application program. The first virtual scene at least displays the following contents: the terminal comprises a second virtual object controlled by a second user account and a skill switching control used for switching skills, wherein the second user account is an account which is currently logged in by the terminal.
1102. Responding to the triggering operation of the skill switching control, the terminal displays a skill display area and a second rocker control area corresponding to the skill switching control, wherein at least one skill icon is displayed in the skill display area.
In the embodiment of the application, if the terminal detects the triggering operation of the skill switching control, the terminal displays a skill display area and a second rocker control area. At least one skill icon, namely at least one icon of a skill available for switching, is displayed in the skill display area. A rocker is displayed in the second rocker area, and the terminal determines a target skill icon in the skill display area according to the dragging operation of the rocker.
1103. And the terminal displays the selected target skill icon based on the dragging operation of the rocker in the second rocker control area, wherein the position of the target skill icon in the skill display area corresponds to the position of the rocker in the rocker control area.
In the embodiment of the application, if the terminal detects the dragging operation of the rocker in the second rocker control area, the terminal determines the position of the rocker in the second rocker control area according to the dragging operation, then determines another position corresponding to the position in the skill display area based on the position, the skill icon at the other position is the selected target skill icon, and the terminal displays the selected target skill icon.
1104. And the terminal controls the second virtual object to use the skill corresponding to the target skill icon.
In this embodiment, if the terminal detects a use operation on the target skill icon, if the joystick in the second joystick control area is released, the terminal controls the first virtual object to use the skill corresponding to the target skill icon.
The technical scheme provided by the embodiment of the application provides a novel skill switching mode, and the switching of the skill icons is realized by dragging the rocker in the rocker control area, so that a terminal user does not need to transfer a sight line and interrupt the current operation, and only needs to continuously operate the rocker in the rocker control area, the skill icons in the skill display area can be quickly selected to complete the release of the skills, and the use efficiency and the man-machine interaction efficiency of the skills are obviously improved.
Fig. 11 illustrates a main flow of a skill switching method provided in an embodiment of the present application, and the skill switching method is described in more detail below based on fig. 12. Fig. 12 is a flowchart of another skill switching method provided in the embodiment of the present application, and as shown in fig. 12, the embodiment of the present application is described as being executed by a terminal as an example. The skill switching method comprises the following steps:
1201. the terminal displays a second virtual scene, wherein the second virtual scene displays a second virtual object and a skill switching control, and the skill switching control is used for switching between different skills.
In this embodiment of the application, the manner of displaying the second virtual scene in this step is the same as the manner of displaying the first virtual scene by the terminal in step 301, which is shown in step 301 and is not described herein again.
1202. Responding to the triggering operation of the skill switching control, the terminal displays a skill display area and a second rocker control area corresponding to the skill switching control, wherein at least one skill icon is displayed in the skill display area.
In this embodiment of the application, the terminal displays the skill display area and the second joystick control area based on the trigger operation on the skill switching control, which is the same as the method for displaying the prop display area and the first joystick control area based on the trigger operation on the prop switching control in step 302, see step 302, and is not described herein again.
1203. And the terminal determines a third angle area corresponding to the position of the rocker in the second rocker control area based on the dragging operation of the rocker in the second rocker control area, wherein the third angle area is any one of a plurality of angle areas divided by the second rocker control area according to angles.
In the embodiment of the present application, the method of determining the first angle region in the step 303 is the same as that in the step 301, and is not described herein again.
In some embodiments, the server divides a plurality of angle regions in the second joystick control region into an example, and the server sends third angle information to the terminal, where the third angle information is used to indicate an angle range of each angle region in the second joystick control region, and the angle regions in the second joystick control region are fan-shaped regions with a center position of the second joystick control region as a vertex. The terminal determines a second position of the rocker in the second rocker control area based on dragging operation of the rocker in the second rocker control area, and then the terminal determines the third angle area according to a second angle range and the third angle information, wherein the second angle range is an angle range where a connecting line of the second position and the center position of the second rocker control area is located. Because each angle area corresponds to different angle scope in the second rocker control area for the terminal can be according to the position at rocker place, the angle area that corresponds of quick definite, improved the efficiency that the terminal confirmed the angle area.
In some embodiments, the terminal divides a plurality of angle regions in the second joystick control region into the example, the terminal obtains a second division angle before displaying the second virtual scene, and then the terminal equally divides the second joystick control region into a plurality of angle regions according to the second division angle, wherein the plurality of angle regions are fan-shaped regions taking the center of the second joystick control region as a vertex and the second division angle is a central angle. Optionally, the sector area does not include a portion that coincides with the skill switching control. Because each angle area corresponds to different angle scope in the second rocker control area for the terminal can be according to the position at rocker place, the angle area that corresponds of quick definite, improved the efficiency that the terminal confirmed the angle area.
The manner of dividing the second joystick control area is described with reference to the manner of dividing the first joystick control area in fig. 6, and is not illustrated here.
It should be noted that, in the embodiments of the present application, the second joystick control area is equally divided into examples, and in some embodiments, the terminal can also divide the second joystick control area into different angular areas, that is, divide the second joystick control area into different angular areas, so that the triggering efficiency of a larger angular area can be improved.
1204. The terminal determines a fourth angle area corresponding to the third angle area in the skill display area, the angle area division mode of the skill display area is the same as that of the second rocker control area, and one angle area corresponds to one skill icon.
In this embodiment, the manner of determining the fourth angle region in this step is the same as the manner of dividing the prop display region in step 304, which is shown in step 304 and is not described herein again.
In some embodiments, the plurality of angle areas in the skill display area are divided by the server, and the server divides the second rocker control area in the same manner as the skill display area, so that each angle area of the second rocker control area and each angle area of the skill display area have a mapping relationship.
And the server sends fourth angle information to the terminal, wherein the fourth angle information is used for indicating the angle range of each angle area in the skill display area, and the angle area in the skill display area is a fan-shaped area taking the central position of the skill display area as a vertex. And the terminal determines an angle area in the skill display area, which has the same angle range as the angle area corresponding to the third angle area, as the fourth angle area according to the fourth angle information. Because the angle ranges of the angle areas in the display area correspond to the angle ranges of the angle areas in the second rocker control area, namely the rocker control area and the skill display area have a mapping relation, based on the mapping relation, a user can directly and simply operate based on the displayed rocker area without moving the rocker control area on an operation interface, the switching target can be determined and the switching is triggered, and the human-computer interaction efficiency is obviously improved.
In some embodiments, the plurality of angle areas in the skill display area are divided by the server, and the terminal determines a fourth angle area corresponding to the third angle area according to the second corresponding information sent back by the server. The second corresponding information is used for indicating the corresponding relation between the skill display area and each angle area in the second rocker control area. And the terminal determines an angle area corresponding to the third angle area in the skill display area as a fourth angle area according to the second corresponding information. By acquiring the corresponding information, the terminal can rapidly determine the fourth angle area according to the corresponding relation between the angle areas, so that the execution efficiency is improved.
In some embodiments, a plurality of angle areas in the skill display area are divided by the terminal, for example, the skill icons in the skill display area are arranged in an equally-spaced annular manner, the terminal acquires a second division angle before displaying the first virtual scene, and then the terminal equally divides the skill display area into the plurality of angle areas according to the second division angle, wherein the plurality of angle areas are fan-shaped areas with the center of the skill display area as a vertex and the second division angle being a central angle. The skill display area is equally divided into a plurality of angle areas in the same mode as the second rocker control area, so that the terminal can quickly determine the corresponding angle area and the skill icon in the angle area according to the position of the rocker.
In some embodiments, the terminal further provides a skill setting page for setting a skill icon presented in the skill presentation area. Correspondingly, the terminal displays a skill setting page, the skill setting page is displayed with a plurality of skill setting areas, and the skill setting areas are used for setting the skill icons displayed in the skill display areas. In response to the triggering operation of any skill setting area, the terminal displays a skill selection page, and the skill selection page is used for displaying at least one skill icon. The terminal sets the selected skill icon in the any skill setting area based on the skill selection operation on the skill selection page. Optionally, the positions of the skill setting areas in the skill setting page correspond to the positions of the skill icons in the skill display area one to one. Through providing skill setting page for the user can set up the skill icon according to the use habit, and has known the palm to the position of skill icon in skill show zone, and then the user can be through dragging the rocker in the second rocker control area, and quick use expectation's skill has improved skill availability factor and human-computer interaction efficiency.
It should be noted that, for any skill setting area where no skill icon is set, when the terminal displays the skill display area, a "null" is displayed in the angle area corresponding to the any skill setting area, which indicates that no skill icon is set in the angle area.
1205. And the terminal displays the skill icon in the fourth angle area as the selected target skill icon.
In the embodiment of the application, after the terminal determines the fourth angle area, the terminal displays the skill icon in the fourth angle area as a selected state. Optionally, the selected state may be a highlight, or an arrow indication, which is not limited in this embodiment of the application.
1206. And the terminal controls the second virtual object to use the skill corresponding to the target skill icon.
In the embodiment of the application, if the terminal detects that the rocker is released, the terminal controls the first virtual object to use the skill corresponding to the target skill icon.
In some embodiments, the second virtual scene also displays a skill exposure control exposed with the target skill icon. Correspondingly, after the terminal determines the target skill icon, the terminal displays the target skill icon based on the skill display control, and then controls the first virtual object to use the skill corresponding to the target skill icon in response to the triggering operation of the skill display control. Through setting the skill display control, a user can select a target skill icon of a target skill to be used from the skill display area according to requirements based on the skill switching control in advance, and then when the target skill needs to be used, the skill display control is triggered to be used, so that the accuracy of the target skill can be obviously improved, and the man-machine interaction efficiency is improved.
Correspondingly, the terminal can also display a historical skill icon in the skill display control, the historical skill icon corresponds to a historical skill, the historical skill is a skill used by the second virtual object before the skill corresponding to the target skill icon is used, and then in response to the triggering operation of the skill display control, the terminal controls the second virtual object to use the historical skill to display the target skill icon in the skill display control. Through the display of the historical skill icon in the skill display control, a user can use the historical skill and the target skill at intervals based on the skill display control, and the skill switching efficiency and the man-machine interaction efficiency are improved.
The technical scheme provided by the embodiment of the application provides a novel skill switching mode, and the switching of the skill icons is realized by dragging the rocker in the rocker control area, so that a terminal user does not need to transfer a sight line and interrupt the current operation, and only needs to continuously operate the rocker in the rocker control area, the skill icons in the skill display area can be quickly selected to complete the release of the skills, and the use efficiency and the man-machine interaction efficiency of the skills are obviously improved. In addition, because the mapping relation exists between the rocker control area and the skill display area, based on the mapping relation, a user does not need to move the rocker control area on an operation interface, and can directly carry out simple operation based on the displayed rocker area, so that the switching target can be determined and the switching can be triggered, and the man-machine interaction efficiency is obviously improved.
Again, taking switching of a virtual object as an example, fig. 13 is a flowchart of a virtual object switching method provided in the embodiment of the present application, and as shown in fig. 13, the embodiment of the present application is described by taking a terminal as an example. The virtual object switching method comprises the following steps:
1301. the terminal displays a third virtual scene, wherein the third virtual scene displays a third virtual object and a virtual object switching control, and the virtual object switching control is used for switching between different virtual objects.
In the embodiment of the application, the terminal is provided with an application program supporting a virtual scene, and after the terminal runs the application program, the terminal displays a third virtual scene. The third virtual scene at least displays the following contents: a third virtual object controlled by a third user account and a virtual object switching control used for switching the virtual object, wherein the third user account is an account currently logged in by the terminal.
1302. Responding to the triggering operation of the virtual object switching control, the terminal displays a virtual object display area and a third rocker control area corresponding to the virtual object switching control, and at least one virtual object is displayed in the virtual object display area.
In the embodiment of the application, if the terminal detects the trigger operation on the virtual object switching control, the terminal displays a virtual object display area and a third rocker control area. At least one virtual object, that is, at least one virtual object available for switching, is displayed in the virtual object display area. A rocker is displayed in the third rocker area, and the terminal determines a target virtual object in the virtual object display area according to the dragging operation of the rocker.
1303. And the terminal displays the selected target virtual object based on the dragging operation of the rocker in the third rocker control area, wherein the position of the target virtual object in the virtual object display area corresponds to the position of the rocker in the third rocker control area.
In the embodiment of the application, if the terminal detects a dragging operation on a rocker in a third rocker control area, the terminal determines the position of the rocker in the third rocker control area according to the dragging operation, then determines another position corresponding to the position in a virtual object display area based on the position, the virtual object at the another position is the selected target virtual object, and the terminal displays the target virtual object.
1304. And the terminal switches the third virtual object into the target virtual object.
In this embodiment, if the terminal detects a use operation of the target virtual object, if the joystick in the third joystick control area is released, the terminal switches the third virtual object to the target virtual object, that is, displays the target virtual object in the third virtual scene.
The scheme provided by the embodiment of the application provides a novel virtual object switching mode, and the switching of the virtual object is realized by dragging the rocker in the rocker control area, so that a terminal user does not need to transfer a sight line and interrupt the current operation, and only needs to continuously operate the rocker in the rocker control area, so that the virtual object in the virtual object display area can be quickly selected, the switching of the virtual object is completed, and the switching efficiency and the human-computer interaction efficiency of the virtual object are obviously improved.
Fig. 13 illustrates a main flow of the virtual object switching method provided in the embodiment of the present application, and the virtual object switching method is described in more detail below based on fig. 14. Fig. 14 is a flowchart of another virtual object switching method provided in the embodiment of the present application, and as shown in fig. 14, the embodiment of the present application is described as an example executed by a terminal. The virtual object switching method comprises the following steps:
1401. the terminal displays a third virtual scene, wherein the third virtual scene displays a third virtual object and a virtual object switching control, and the virtual object switching control is used for switching between different virtual objects.
In this embodiment of the application, a manner of displaying the third virtual scene in this step is the same as a manner of displaying the first virtual scene by the terminal in step 301, which is shown in step 301 and is not described herein again.
1402. Responding to the triggering operation of the virtual object switching control, the terminal displays a virtual object display area and a third rocker control area corresponding to the virtual object switching control, and at least one virtual object is displayed in the virtual object display area.
In this embodiment of the application, the terminal displays the virtual object display area and the third rocker control area based on the trigger operation on the virtual object switching control, which is the same as the method for displaying the prop display area and the first rocker control area based on the trigger operation on the prop switching control in step 302, see step 302, and is not described herein again.
In some embodiments, the terminal is further capable of displaying a virtual object icon in the virtual object presentation area, i.e. not displaying the virtual object directly, but replacing the virtual object with the virtual object icon. Because the virtual object icon has a small volume and can represent the corresponding virtual object, the shielding of the third virtual scene can be reduced on the premise of not influencing the selection of the virtual object by displaying the virtual object icon, the information in the third virtual scene is prevented from being missed by a user, and the human-computer interaction efficiency and the use experience of the user are improved.
1403. And the terminal determines a fifth angle area corresponding to the position of the rocker in the third rocker control area based on the dragging operation of the rocker in the third rocker control area, wherein the fifth angle area is any one of a plurality of angle areas divided by the second rocker control area according to angles.
In the embodiment of the present application, the method of determining the first angle region in the step 303 is the same as that in the step 301, and is not described herein again.
In some embodiments, the server divides a plurality of angle regions in the third joystick control region into an example, and the server sends fifth angle information to the terminal, where the fifth angle information is used to indicate an angle range of each angle region in the third joystick control region, and the angle region in the third joystick control region is a sector region with a center position of the third joystick control region as a vertex. The terminal determines a third position of the rocker in the third rocker control area based on dragging operation of the rocker in the third rocker control area, and then the terminal determines the fifth angle area according to a third angle range and the fifth angle information, wherein the third angle range is an angle range where a connecting line of the third position and the center position of the third rocker control area is located.
In some embodiments, the terminal divides a plurality of angle regions in the third joystick control region into the example, the terminal obtains a third division angle before displaying a third virtual scene, and then the terminal equally divides the third joystick control region into a plurality of angle regions according to the third division angle, wherein the plurality of angle regions are fan-shaped regions taking the center of the third joystick control region as a vertex and the third division angle is a central angle. Optionally, the sector area does not include a portion that coincides with the virtual object toggle control. The third rocker control area is equally divided into a plurality of angle areas, so that the terminal can quickly determine the corresponding angle area according to the position of the rocker, and the corresponding angle area and the virtual object in the angle area can be conveniently determined in the virtual object display area subsequently.
The manner of dividing the third rocker control area is described with reference to the manner of dividing the first rocker control area in fig. 6, and is not illustrated here.
It should be noted that, in the embodiments of the present application, the third joystick control area is equally divided into examples, and in some embodiments, the terminal can also divide the third joystick control area into different angular areas, that is, the third joystick control area is divided into angular areas of different sizes, so that the triggering efficiency of a larger angular area can be improved.
1404. And the terminal determines a sixth angle area corresponding to the fifth angle area in the virtual object display area, the angle area division mode of the virtual object display area is the same as that of the third rocker control area, and one angle area corresponds to one virtual object.
In this embodiment, the manner of determining the sixth angle area in this step is the same as the manner of dividing the item display area in step 304, which is shown in step 304 and is not described herein again.
In some embodiments, the plurality of angle regions in the virtual object display region are divided by the server, and the server divides the third rocker control region in the same manner as the virtual object display region, so that each angle region of the third rocker control region and each angle region of the virtual object display region have a mapping relationship.
The server sends sixth angle information to the terminal, wherein the sixth angle information is used for indicating the angle range of each angle area in the virtual object display area, and the angle area in the virtual object display area is a fan-shaped area taking the center position of the virtual object display area as a vertex. And the terminal determines an angle area in the virtual object display area, which corresponds to the fifth angle area and has the same angle range, as the sixth angle area according to the sixth angle information. Because the angle ranges of the angle areas in the object display area correspond to the angle ranges of the angle areas in the third rocker control area, namely the rocker control area and the virtual object display area have a mapping relation, based on the mapping relation, a user can directly and simply operate based on the displayed rocker area without moving the rocker control area on an operation interface, the switching target can be determined and the switching is triggered, and the human-computer interaction efficiency is obviously improved.
In some embodiments, the plurality of angle areas in the virtual object display area are divided by the server, and the terminal determines a sixth angle area corresponding to the fifth angle area according to third correspondence information sent by the server. The third corresponding information is used for indicating the corresponding relation between the virtual object display area and each angle area in the third rocker control area. And then the terminal determines the angle area corresponding to the fifth angle area in the virtual object display area as a sixth angle area according to the third corresponding information. By acquiring the corresponding information, the terminal can rapidly determine the sixth angle area according to the corresponding relation between the angle areas, so that the execution efficiency is improved.
In some embodiments, for example, the plurality of angle regions in the virtual object display region are divided by the terminal, and the virtual object icons in the virtual object display region are arranged in an equally-spaced ring shape, the terminal obtains a third division angle before displaying a third virtual scene, and then the terminal equally divides the virtual object display region into the plurality of angle regions according to the third division angle, where the plurality of angle regions are fan-shaped regions with the center of the virtual object display region as a vertex, and the third division angle is a central angle. The virtual object display area is equally divided into a plurality of angle areas in the same way as the third rocker control area, so that the terminal can quickly determine the corresponding angle area in the virtual object display area and the virtual object in the angle area according to the position of the rocker.
In some embodiments, the terminal further provides a virtual object setup page for setting the virtual object presented in the virtual object presentation area. Correspondingly, the terminal displays a virtual object setting page, the virtual object setting page displays a plurality of virtual object setting areas, and the virtual object setting areas are used for setting the virtual objects displayed in the virtual object display areas. And responding to the triggering operation of any virtual object setting area, and displaying a virtual object selection page by the terminal, wherein the virtual object selection page is used for displaying at least one virtual object. The terminal sets the selected virtual object in the arbitrary virtual object setting area based on the virtual object selection operation on the virtual object selection page. Optionally, the positions of the virtual object setting areas in the virtual object setting page correspond to the positions of the virtual objects in the virtual object display area one to one. Through providing virtual object setting page for the user can set up virtual object according to the use habit, and has just done the finger to the position of virtual object in virtual object show area, and then the user can be through dragging the rocker in the second rocker control area, and the virtual object of quick use expectation has improved virtual object and has switched efficiency and man-machine interaction efficiency.
In any virtual object setting region in which a virtual object is not set, when the terminal displays the virtual object display region, a "null" is displayed in the angle region corresponding to the virtual object setting region, indicating that no virtual object is set in the angle region.
1405. And the terminal displays the virtual object in the sixth-degree area as the selected target virtual object.
In the embodiment of the application, after determining the sixth angle area, the terminal displays the virtual object in the sixth angle area as a selected state. Optionally, the selected state may be a highlight, or an arrow indication, which is not limited in this embodiment of the application.
1406. And the terminal switches the third virtual object to the target virtual object.
In this embodiment, if the terminal detects an operation of releasing the joystick, the terminal controls the third virtual object to switch to the target virtual object.
In some embodiments, the second virtual scene also displays a virtual object presentation control that presents the target virtual object. Correspondingly, after the terminal determines the target virtual object, the terminal displays the target virtual object based on the virtual object display control. Optionally, the virtual object display control displays the reduced target virtual object, and then controls the first virtual object to use a virtual object corresponding to the target virtual object in response to a trigger operation on the virtual object display control. By setting the virtual object display control, a user can select a target virtual object of a target virtual object to be used from the virtual object display area in advance based on the virtual object switching control according to requirements, and then when the target virtual object needs to be used, the virtual object display control is triggered to be used, so that the accuracy of using the target virtual object can be obviously improved, and the human-computer interaction efficiency is improved.
Correspondingly, the terminal can also display the third virtual object in the virtual object display control, and then in response to the triggering operation of the virtual object display control, the terminal switches the target virtual object to the third virtual object and displays the target virtual object in the virtual object display control. By displaying the historical virtual object icons in the virtual object display control, a user can rapidly switch and use a third virtual object and a target virtual object based on the virtual object display control, and the virtual object switching efficiency and the human-computer interaction efficiency are improved.
The scheme provided by the embodiment of the application provides a novel virtual object switching mode, and the switching of the virtual object is realized by dragging the rocker in the rocker control area, so that a terminal user does not need to transfer a sight line and interrupt the current operation, and only needs to continuously operate the rocker in the rocker control area, so that the virtual object in the virtual object display area can be quickly selected, the switching of the virtual object is completed, and the switching efficiency and the human-computer interaction efficiency of the virtual object are obviously improved. In addition, because the mapping relation exists between the rocker control area and the virtual object display area, based on the mapping relation, a user does not need to move the rocker control area on an operation interface, and can directly carry out simple operation based on the displayed rocker area, so that the switching target can be determined and the switching can be triggered, and the human-computer interaction efficiency is obviously improved.
Fig. 15 is a block diagram of a virtual item switching device according to an embodiment of the present application. The device is used for executing the steps in the above virtual item switching method, referring to fig. 15, the device includes: a prop scene display module 1501, a prop area display module 1502, a prop display module 1503, and a prop usage module 1504.
The property scene display module 1501 is configured to display a first virtual scene, where the first virtual scene displays a first virtual object and a property switching control, and the property switching control is used to switch between different properties;
a property display module 1502, configured to display, in response to a trigger operation on the property switching control, a property display area and a first rocker control area corresponding to the property switching control, where the property display area displays at least one virtual property;
the prop display module 1503 is used for displaying the selected target virtual prop based on the dragging operation of the rocker in the first rocker control area, and the position of the target virtual prop in the prop display area corresponds to the position of the rocker in the first rocker control area;
a prop usage module 1504, configured to control the first virtual object to use the target virtual prop.
In some embodiments, the prop display module 1503 is configured to determine, based on a dragging operation of a joystick in the first joystick control region, a first angle region corresponding to a position of the joystick in the first joystick control region, where the first angle region is any one of a plurality of angle regions divided by angles of the first joystick control region; determining a second angle area corresponding to the first angle area in the prop display area, wherein the prop display area is divided into angle areas in the same way as the first rocker control area, and one angle area corresponds to one virtual prop; and displaying the virtual prop in the second angle area as the selected target virtual prop.
In some embodiments, the prop display module 1503 is configured to determine a first position of the joystick in the first joystick control region based on a drag operation of the joystick in the first joystick control region; determining the first angle area according to a first angle range and first angle information, wherein the first angle range is an angle range where a connecting line of the first position and the center position of the first rocker control area is located, the first angle information is used for indicating the angle range of each angle area in the first rocker control area, and the angle area in the first rocker control area is a sector area taking the center position of the first rocker control area as a vertex.
In some embodiments, the prop display module 1503 is configured to determine, as the second angle region, an angle region in the prop display region, which has the same angle range as that of the first angle region, according to second angle information, where the second angle information is used to indicate an angle range of each angle region in the prop display region, and the angle region in the prop display region is a sector region with a center position of the prop display region as a vertex.
In some embodiments, the prop display module 1503 is configured to determine, as the second angle region, an angle region corresponding to the first angle region in the prop display region according to first corresponding information, where the first corresponding information is used to indicate a corresponding relationship between the prop display region and each angle region in the first joystick control region.
In some embodiments, referring to fig. 16, fig. 16 is a block diagram of another virtual item switching device provided according to an embodiment of the present application. As shown in fig. 16, the apparatus further includes:
the property setting module 1505 is used for displaying a property setting page, the property setting page is displayed with a plurality of property setting areas, and the property setting areas are used for setting the virtual properties displayed in the property display areas;
the item selection module 1506 is used for responding to the triggering operation of any item setting area and displaying an item selection page, and the item selection page is used for displaying at least one virtual item;
the item setting module 1505 is further configured to set a selected virtual item in any item setting area based on an item selection operation on the item selection page.
In some embodiments, the first virtual scene further displays a property presentation control, the property presentation control presenting the target virtual property;
the item using module 1504 is further configured to control the first virtual object to use the target virtual item in response to a triggering operation of the item presentation control.
In some embodiments, the item usage module 1504 is further configured to display a historical virtual item in the item display control, the historical virtual item being a virtual item used by the first virtual object before using the target virtual item; and responding to the triggering operation of the prop display control, controlling the first virtual object to use the historical virtual prop, and displaying the target virtual prop in the prop display control.
The scheme that this application embodiment provided provides a novel virtual stage property switching mode, realize the switching of virtual stage property through dragging the rocker in the rocker control area for the terminal user need not shift the sight, also need not interrupt current operation, only need through last operation rocker in rocker control area, the virtual stage property that shows in the region to the stage property that can be quick selects, in order to accomplish the switching of virtual stage property, the improvement that is showing virtual stage property's switching efficiency and human-computer interaction efficiency.
It should be noted that: the virtual item switching device provided in the above embodiment is exemplified by only the division of the above functional modules when switching a virtual item, and in practical applications, the function distribution may be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions. In addition, the virtual item switching device and the virtual item switching method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 17 is a block diagram of a skill switching device provided according to an embodiment of the present application. The apparatus is used for executing the steps in the skill switching method described above, referring to fig. 17, the apparatus comprises: a skill scenario display module 1701, a skill area display module 1702, a skill icon display module 1703, and a skill usage module 1704.
A skill scene display module 1701, configured to display a second virtual scene, where the second virtual scene displays a second virtual object and a skill switching control, and the skill switching control is used to switch between different skills;
a skill area display module 1702, configured to display, in response to a triggering operation on the skill switching control, a skill display area and a second rocker control area corresponding to the skill switching control, where the skill display area displays at least one skill icon;
a skill icon display module 1703, configured to display a selected target skill icon based on a dragging operation of a joystick in the second joystick control area, where a position of the target skill icon in the skill display area corresponds to a position of the joystick in the joystick control area;
a skill using module 1704, configured to control the second virtual object to use the skill corresponding to the target skill icon.
In some embodiments, the skill icon display module 1703 is configured to determine, based on a dragging operation of a joystick in the second joystick control area, a third angle area corresponding to a position of the joystick in the second joystick control area, where the third angle area is any one of a plurality of angle areas divided by angles of the second joystick control area; determining a fourth angle area corresponding to the third angle area in the skill display area, wherein the angle area division mode of the skill display area is the same as that of the second rocker control area, and one angle area corresponds to one skill icon; and displaying the skill icon in the fourth angle area as the selected target skill icon.
In some embodiments, the skill icon display module 1703 is configured to determine a second position of the joystick in the second joystick control region based on a drag operation of the joystick in the second joystick control region; and determining the third angle area according to a second angle range and third angle information, wherein the second angle range is an angle range where a connecting line of the second position and the center position of the second rocker control area is located, the third angle information is used for indicating the angle range of each angle area in the second rocker control area, and the angle area in the second rocker control area is a sector area taking the center position of the second rocker control area as a vertex.
In some embodiments, the skill icon display module 1703 is configured to determine, as the fourth angle region, an angle region in the skill display region, which has the same angle range as that of the third angle region, according to fourth angle information, where the fourth angle information is used to indicate an angle range of each angle region in the skill display region, and the angle region in the skill display region is a sector region with a center position of the skill display region as a vertex.
In some embodiments, the skill icon display module 1703 is configured to determine an angle area corresponding to the third angle area in the skill display area as the fourth angle area according to second corresponding information, where the second corresponding information is used to indicate a corresponding relationship between the skill display area and each angle area in the second joystick control area.
In some embodiments, referring to fig. 18, fig. 18 is a block diagram of another skill switching apparatus provided according to an embodiment of the present application, and as shown in fig. 18, the apparatus further includes:
a skill setting module 1705 configured to display a skill setting page, where the skill setting page is displayed with a plurality of skill setting areas, and the skill setting areas are used to set the skill icons displayed in the skill display areas;
a skill selection module 1706, configured to, in response to a trigger operation on any skill setting area, display a skill selection page, where the skill selection page is used to display at least one skill icon;
the skill setting module 1705 is further configured to set a selected skill icon in the any skill setting area based on a skill selection operation on the skill selection page.
In some embodiments, the second virtual scene also displays a skill presentation control that presents the target skill icon;
the skill using module 1704 is configured to control the first virtual object to use the skill corresponding to the target skill icon in response to the triggering operation of the skill showing control.
In some embodiments, the skill use module 1704 is further configured to present a historical skill icon in the skill presentation control, the historical skill icon corresponding to a historical skill used by the second virtual object prior to using the skill corresponding to the target skill icon; and controlling the second virtual object to use the historical skill to display the target skill icon in the prop display control in response to the triggering operation of the skill display control.
The technical scheme provided by the embodiment of the application provides a novel skill switching mode, and the switching of the skill icons is realized by dragging the rocker in the rocker control area, so that a terminal user does not need to transfer a sight line and interrupt the current operation, and only needs to continuously operate the rocker in the rocker control area, the skill icons in the skill display area can be quickly selected to complete the release of the skills, and the use efficiency and the man-machine interaction efficiency of the skills are obviously improved.
It should be noted that: in the skill switching device provided in the above embodiment, only the division of the functional modules is illustrated when performing the skill switching, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the skill switching device and the skill switching method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 19 is a block diagram of a virtual object switching apparatus according to an embodiment of the present application. The apparatus is used for executing the steps in the above virtual object switching method, referring to fig. 19, the apparatus includes: an object scene display module 1901, an object region display module 1902, an object display module 1903, and an object switching module 1904.
An object scene display module 1901, configured to display a third virtual scene, where the third virtual scene displays a third virtual object and a virtual object switching control, and the virtual object switching control is used to switch between different virtual objects;
an object region display module 1902, configured to, in response to a trigger operation on the virtual object switching control, display a virtual object display region and a third rocker control region corresponding to the virtual object switching control, where the virtual object display region displays at least one virtual object;
an object display module 1903, configured to display a selected target virtual object based on a dragging operation on a joystick in the third joystick control area, where a position of the target virtual object in the virtual object display area corresponds to a position of the joystick in the third joystick control area;
an object switching module 1904, configured to switch the third virtual object to the target virtual object.
In some embodiments, the object display module 1903 is configured to determine, based on a dragging operation on a joystick in the third joystick control region, a fifth angle region corresponding to a position of the joystick in the third joystick control region, where the fifth angle region is any one of a plurality of angle regions divided by angles of the third joystick control region; determining a sixth angle area corresponding to the fifth angle area in the virtual object display area, wherein the angle area of the virtual object display area is divided into angle areas in the same manner as the third rocker control area, and one angle area corresponds to one virtual object; and displaying the virtual object in the sixth angle area as the selected target virtual object.
In some embodiments, the object display module 1903 is configured to determine a third position of the joystick in the third joystick control region based on a drag operation of the joystick in the third joystick control region; and determining the fifth angle area according to a third angle range and fifth angle information, wherein the third angle range is an angle range in which a connecting line of the third position and the central position of the third rocker control area is located, the fifth angle information is used for indicating the angle range of each angle area in the third rocker control area, and the angle area in the third rocker control area is a sector area taking the central position of the third rocker control area as a vertex.
In some embodiments, the object display module 1903 is configured to determine, as the sixth angle region, an angle region in the virtual object display region, which is the same as an angle range corresponding to the fifth angle region, according to sixth angle information, where the sixth angle information is used to indicate an angle range of each angle region in the virtual object display region, and the angle region in the virtual object display region is a sector region with a center position of the virtual object display region as a vertex.
In some embodiments, the object display module 1903 is configured to determine an angle region corresponding to the fifth angle region in the virtual object display region as the sixth angle region according to third correspondence information, where the third correspondence information is used to indicate a correspondence between the angle regions in the virtual object display region and the third joystick control region.
In some embodiments, referring to fig. 20, fig. 20 is a block diagram of another virtual object switching apparatus provided in an embodiment of the present application, and as shown in fig. 20, the apparatus further includes:
an object setting module 1905, configured to display a virtual object setting page, where the virtual object setting page displays a plurality of virtual object setting areas, and the virtual object setting areas are used to set virtual objects displayed in the virtual object display areas;
an object selection module 1906, configured to, in response to a trigger operation on any virtual object setting region, display a virtual object selection page, where the virtual object selection page is used to display at least one virtual object;
the object setting module 1905 is further configured to set the selected virtual object in the any virtual object setting area based on a virtual object selection operation on the virtual object selection page.
In some embodiments, the third virtual scene further displays a virtual object display control, and the prop display control displays the target virtual object;
the object switching module 1904 is configured to switch the third virtual object to the target virtual object in response to a triggering operation on the virtual object exposing control.
In some embodiments, the object switching module 1904 is further configured to expose the third virtual object in the virtual object exposure control; and responding to the triggering operation of the virtual object display control, switching the target virtual object to the third virtual object, and displaying the target virtual object in the virtual object display control.
The scheme provided by the embodiment of the application provides a novel virtual object switching mode, and the switching of the virtual object is realized by dragging the rocker in the rocker control area, so that a terminal user does not need to transfer a sight line and interrupt the current operation, and only needs to continuously operate the rocker in the rocker control area, so that the virtual object in the virtual object display area can be quickly selected, the switching of the virtual object is completed, and the switching efficiency and the human-computer interaction efficiency of the virtual object are obviously improved.
It should be noted that: in the virtual object switching apparatus provided in the above embodiment, only the division of the functional modules is illustrated when switching the virtual object, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. In addition, the virtual object switching apparatus provided in the foregoing embodiments and the virtual object switching method embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 21 is a block diagram of a terminal according to an embodiment of the present application. The terminal 2100 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 2100 may also be referred to as a user equipment, portable terminal, laptop terminal, desktop terminal, or other name.
In general, the terminal 2100 includes: a processor 2101 and a memory 2102.
The processor 2101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 2101 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 2101 may also include a main processor and a coprocessor, the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 2101 may be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 2101 may also include an AI (Artificial Intelligence) processor to process computational operations related to machine learning.
The memory 2102 may include one or more computer-readable storage media, which may be non-transitory. The memory 2102 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 2102 is used for storing at least one computer program for being executed by the processor 2101 to implement the virtual item switching method provided by the method embodiments in the present application, or to implement the skill switching method provided by the method embodiments in the present application, or to implement the virtual object switching method provided by the method embodiments in the present application.
In some embodiments, the terminal 2100 may further optionally include: a peripheral interface 2103 and at least one peripheral. The processor 2101, memory 2102 and peripheral interface 2103 may be connected by buses or signal lines. Each peripheral may be connected to peripheral interface 2103 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 2104, display screen 2105, camera head assembly 2106, audio circuitry 2107, positioning assembly 2108, and power source 2109.
The peripheral interface 2103 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 2101 and the memory 2102. In some embodiments, the processor 2101, memory 2102 and peripheral interface 2103 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 2101, the memory 2102 and the peripheral interface 2103 may be implemented on separate chips or circuit boards, which is not limited by this embodiment.
The Radio Frequency circuit 2104 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 2104 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 2104 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuitry 2104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 2104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 2104 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 2105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 2105 is a touch display screen, the display screen 2105 also has the ability to capture touch signals on or over the surface of the display screen 2105. The touch signal may be input as a control signal to the processor 2101 for processing. At this point, the display 2105 may also be used to provide virtual buttons and/or virtual keyboards, also known as soft buttons and/or soft keyboards. In some embodiments, the display 2105 can be one, disposed on a front panel of the terminal 2100; in other embodiments, the display 2105 can be at least two, each disposed on a different surface of the terminal 2100 or in a folded design; in other embodiments, the display 2105 can be a flexible display disposed on a curved surface or a folded surface of the terminal 2100. Even the display screen 2105 may be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 2105 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
The camera assembly 2106 is used to capture images or video. Optionally, camera head assembly 2106 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera head assembly 2106 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 2107 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals into the processor 2101 for processing, or inputting the electric signals into the radio frequency circuit 2104 to realize voice communication. The microphones may be provided in plural, at different locations of the terminal 2100, for stereo sound acquisition or noise reduction purposes. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert the electrical signals from the processor 2101 or the radio frequency circuit 2104 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 2107 may also include a headphone jack.
The positioning component 2108 is used to locate the current geographic position of the terminal 2100 for navigation or LBS (Location Based Service). The Positioning component 2108 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, or the russian galileo System.
Power supply 2109 is used to provide power to various components in terminal 2100. The power source 2109 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 2109 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 2100 also includes one or more sensors 2110. The one or more sensors 2110 include, but are not limited to: acceleration sensor 2111, gyro sensor 2112, pressure sensor 2113, fingerprint sensor 2114, optical sensor 2115, and proximity sensor 2116.
The acceleration sensor 2111 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 2100. For example, the acceleration sensor 2111 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 2101 may control the display screen 2105 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 2111. The acceleration sensor 2111 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 2112 may detect the body direction and the rotation angle of the terminal 2100, and the gyro sensor 2112 may cooperate with the acceleration sensor 2111 to acquire the 3D motion of the user on the terminal 2100. The processor 2101 may implement the following functions according to the data collected by the gyro sensor 2112: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 2113 may be provided on the side frames of terminal 2100 and/or underneath display screen 2105. When the pressure sensor 2113 is disposed at the side frame of the terminal 2100, a user's grip signal on the terminal 2100 can be detected, and the processor 2101 performs left-right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 2113. When the pressure sensor 2113 is arranged at the lower layer of the display screen 2105, the processor 2101 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 2105. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 2114 is configured to collect a fingerprint of a user, and the processor 2101 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 2114, or the fingerprint sensor 2114 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 2101 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, payment, and changing settings, etc. The fingerprint sensor 2114 may be provided on the front, back, or side of the terminal 2100. When a physical button or vendor Logo is provided on the terminal 2100, the fingerprint sensor 2114 may be integrated with the physical button or vendor Logo.
The optical sensor 2115 is used to collect the ambient light intensity. In one embodiment, the processor 2101 may control the display brightness of the display screen 2105 based on the ambient light intensity collected by the optical sensor 2115. Specifically, when the ambient light intensity is high, the display brightness of the display screen 2105 is increased; when the ambient light intensity is low, the display brightness of the display screen 2105 is reduced. In another embodiment, processor 2101 may also dynamically adjust the shooting parameters of camera head assembly 2106 based on the intensity of ambient light collected by optical sensor 2115.
A proximity sensor 2116, also called a distance sensor, is typically provided on the front panel of the terminal 2100. The proximity sensor 2116 is used to collect the distance between the user and the front face of the terminal 2100. In one embodiment, the display 2105 is controlled by the processor 2101 to switch from the bright screen state to the dark screen state when the proximity sensor 2116 detects that the distance between the user and the front face of the terminal 2100 is gradually reduced; when the proximity sensor 2116 detects that the distance between the user and the front surface of the terminal 2100 is gradually increased, the display 2105 is controlled by the processor 2101 to switch from the sniff state to the lighted state.
Those skilled in the art will appreciate that the configuration shown in fig. 21 is not intended to be limiting with respect to terminal 2100, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The embodiment of the present application further provides a computer-readable storage medium, where at least one segment of computer program is stored in the computer-readable storage medium, and the at least one segment of computer program is loaded and executed by a processor of the terminal to implement the operation executed by the terminal in the virtual item switching method according to the foregoing embodiment. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present application further provides a computer-readable storage medium, where at least one piece of computer program is stored in the computer-readable storage medium, and the at least one piece of computer program is loaded and executed by a processor of a terminal to implement the operations performed by the terminal in the skill switching method of the foregoing embodiment. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
The embodiment of the present application further provides a computer-readable storage medium, where at least one segment of computer program is stored in the computer-readable storage medium, and the at least one segment of computer program is loaded and executed by a processor of a terminal to implement the operations executed by the terminal in the virtual object switching method according to the foregoing embodiment. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Embodiments of the present application also provide a computer program product comprising computer program code stored in a computer readable storage medium. The processor of the terminal reads the computer program code from the computer-readable storage medium, and executes the computer program code, so that the terminal executes the virtual item switching method provided in the various optional implementation manners, or so that the terminal executes the skill switching method provided in the various optional implementation manners, or so that the terminal executes the virtual object switching method provided in the various optional implementation manners.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (20)

1. A virtual item switching method is characterized by comprising the following steps:
displaying a first virtual scene, wherein the first virtual scene is displayed with a first virtual object and a prop switching control, and the prop switching control is used for switching among different props;
responding to the triggering operation of the prop switching control, displaying a prop display area and a first rocker control area corresponding to the prop switching control, wherein at least one virtual prop is displayed in the prop display area;
displaying the selected target virtual prop based on dragging operation of a rocker in the first rocker control area, wherein the position of the target virtual prop in the prop display area corresponds to the position of the rocker in the first rocker control area;
and controlling the first virtual object to use the target virtual prop.
2. The method of claim 1, wherein displaying the selected target virtual prop based on a drag operation on a joystick in the first joystick control region comprises:
determining a first angle area corresponding to the position of the rocker in the first rocker control area based on the dragging operation of the rocker in the first rocker control area, wherein the first angle area is any one of a plurality of angle areas divided by the first rocker control area according to angles;
determining a second angle area corresponding to the first angle area in the prop display area, wherein the prop display area is divided into angle areas in the same way as the first rocker control area, and one angle area corresponds to one virtual prop;
and displaying the virtual prop in the second angle area as the selected target virtual prop.
3. The method of claim 2, wherein determining the first angular region corresponding to the position of the rocker in the first rocker control region based on the drag operation on the rocker in the first rocker control region comprises:
determining a first position of the rocker in the first rocker control region based on a drag operation of the rocker in the first rocker control region;
determining the first angle area according to a first angle range and first angle information, wherein the first angle range is an angle range where a connection line between the first position and the center position of the first rocker control area is located, the first angle information is used for indicating the angle range of each angle area in the first rocker control area, and the angle area in the first rocker control area is a sector area taking the center position of the first rocker control area as a vertex.
4. The method of claim 2, wherein prior to displaying the first virtual scene, the method further comprises:
receiving the prop display area and second angle information returned by the server;
the determining, in the prop display area, a second angle area corresponding to the first angle area includes:
according to second angle information, determining an angle area, which is the same as an angle range corresponding to the first angle area, in the prop display area as the second angle area, wherein the second angle information is used for indicating the angle range of each angle area in the prop display area, and the angle area in the prop display area is a fan-shaped area taking the central position of the prop display area as a vertex.
5. The method of claim 2, wherein the determining, in the item display area, a second angle area corresponding to the first angle area comprises:
according to first corresponding information, determining an angle area corresponding to the first angle area in the prop display area as the second angle area, wherein the first corresponding information is used for indicating the corresponding relation between the prop display area and each angle area in the first rocker control area.
6. The method of claim 1, wherein prior to displaying the first virtual scene, the method further comprises:
displaying a prop setting page, wherein the prop setting page is displayed with a plurality of prop setting areas, and the prop setting areas are used for setting the virtual props displayed in the prop display areas;
responding to the triggering operation of any item setting area, and displaying an item selection page, wherein the item selection page is used for displaying at least one virtual item;
and setting the selected virtual prop in any prop setting area based on prop selection operation on the prop selection page.
7. The method of claim 1, wherein the first virtual scene further displays a prop presentation control, the prop presentation control presenting the target virtual prop;
the controlling the first virtual object to use the target virtual prop includes:
and responding to the triggering operation of the prop display control, and controlling the first virtual object to use the target virtual prop.
8. The method of claim 7, further comprising:
displaying a historical virtual item in the item display control, wherein the historical virtual item is a virtual item used before the target virtual item is used by the first virtual object;
and responding to the triggering operation of the prop display control, controlling the first virtual object to use the historical virtual prop, and displaying the target virtual prop in the prop display control.
9. A skill switching method, comprising:
displaying a second virtual scene, wherein a second virtual object and a skill switching control are displayed in the second virtual scene, and the skill switching control is used for switching among different skills;
responding to the triggering operation of the skill switching control, displaying a skill display area and a second rocker control area corresponding to the skill switching control, wherein at least one skill icon is displayed in the skill display area;
displaying a selected target skill icon based on the dragging operation of the rocker in the second rocker control area, wherein the position of the target skill icon in the skill display area corresponds to the position of the rocker in the rocker control area;
and controlling the second virtual object to use the skill corresponding to the target skill icon.
10. The method of claim 9, wherein displaying the selected target skill icon based on a drag operation on a rocker in the second rocker control region comprises:
determining a third angle area corresponding to the position of the rocker in the second rocker control area based on the dragging operation of the rocker in the second rocker control area, wherein the third angle area is any one of a plurality of angle areas divided by the second rocker control area according to angles;
determining a fourth angle area corresponding to the third angle area in the skill display area, wherein the angle area division mode of the skill display area is the same as that of the second rocker control area, and one angle area corresponds to one skill icon;
and displaying the skill icon in the fourth angle area as the selected target skill icon.
11. The method of claim 10, wherein determining a third angular region corresponding to a position of the rocker in the second rocker control region based on a drag operation on the rocker in the second rocker control region comprises:
determining a second position of the rocker in the second rocker control region based on a drag operation of the rocker in the second rocker control region;
and determining a third angle area according to a second angle range and third angle information, wherein the second angle range is an angle range where a connecting line of the second position and the center position of the second rocker control area is located, the third angle information is used for indicating the angle range of each angle area in the second rocker control area, and the angle area in the second rocker control area is a sector area taking the center position of the second rocker control area as a vertex.
12. The method according to claim 10, wherein the determining a fourth angular region corresponding to the third angular region in the skill presentation region comprises:
and according to the fourth angle information, determining an angle area in the skill display area, which has the same angle range as the third angle area, as the fourth angle area, wherein the fourth angle information is used for indicating the angle range of each angle area in the skill display area, and the angle area in the skill display area is a fan-shaped area with the central position of the skill display area as a vertex.
13. The method according to claim 10, wherein the determining a fourth angular region corresponding to the third angular region in the skill presentation region comprises:
and determining an angle area corresponding to the third angle area in the skill display area as the fourth angle area according to the second corresponding information, wherein the second corresponding information is used for indicating a corresponding relationship between the skill display area and each angle area in the second rocker control area.
14. The method of claim 9, wherein prior to said displaying the second virtual scene, the method further comprises:
displaying a skill setting page, wherein the skill setting page is displayed with a plurality of skill setting areas, and the skill setting areas are used for setting skill icons displayed in the skill display areas;
responding to the triggering operation of any skill setting area, and displaying a skill selection page, wherein the skill selection page is used for displaying at least one skill icon;
setting a selected skill icon in any of the skill setting areas based on a skill selection operation on the skill selection page.
15. A virtual object switching method, characterized in that the method comprises:
displaying a third virtual scene, wherein a third virtual object and a virtual object switching control are displayed in the third virtual scene, and the virtual object switching control is used for switching between different virtual objects;
responding to the triggering operation of the virtual object switching control, displaying a virtual object display area and a third rocker control area corresponding to the virtual object switching control, wherein at least one virtual object is displayed in the virtual object display area;
displaying the selected target virtual object based on the dragging operation of the rocker in the third rocker control area, wherein the position of the target virtual object in the virtual object display area corresponds to the position of the rocker in the third rocker control area;
switching the third virtual object to the target virtual object.
16. A virtual item switching apparatus, the apparatus comprising:
the system comprises a prop scene display module, a prop switching control module and a display module, wherein the prop scene display module is used for displaying a first virtual scene, the first virtual scene displays a first virtual object and the prop switching control, and the prop switching control is used for switching among different props;
the prop area display module is used for responding to the triggering operation of the prop switching control, displaying a prop display area and a first rocker control area corresponding to the prop switching control, wherein at least one virtual prop is displayed in the prop display area;
the prop display module is used for displaying the selected target virtual prop based on the dragging operation of the rocker in the first rocker control area, and the position of the target virtual prop in the prop display area corresponds to the position of the rocker in the first rocker control area;
and the prop using module is used for controlling the first virtual object to use the target virtual prop.
17. A skill switching apparatus, characterized in that the apparatus comprises:
the skill scene display module is used for displaying a second virtual scene, wherein a second virtual object and a skill switching control are displayed in the second virtual scene, and the skill switching control is used for switching among different skills;
the skill area display module is used for responding to the triggering operation of the skill switching control and displaying a skill display area and a second rocker control area corresponding to the skill switching control, and at least one skill icon is displayed in the skill display area;
the skill icon display module is used for displaying a selected target skill icon based on the dragging operation of the rocker in the second rocker control area, and the position of the target skill icon in the skill display area corresponds to the position of the rocker in the rocker control area;
and the skill using module is used for controlling the second virtual object to use the skill corresponding to the target skill icon.
18. An apparatus for switching a virtual object, the apparatus comprising:
the object scene display module is used for displaying a third virtual scene, wherein the third virtual scene displays a third virtual object and a virtual object switching control, and the virtual object switching control is used for switching between different virtual objects;
the object area display module is used for responding to the triggering operation of the virtual object switching control and displaying a virtual object display area and a third rocker control area corresponding to the virtual object switching control, and at least one virtual object is displayed in the virtual object display area;
the object display module is used for displaying the selected target virtual object based on the dragging operation of the rocker in the third rocker control area, and the position of the target virtual object in the virtual object display area corresponds to the position of the rocker in the third rocker control area;
and the object switching module is used for switching the third virtual object into the target virtual object.
19. A terminal, characterized in that the terminal comprises a processor and a memory, the memory is used for storing at least one piece of computer program, the at least one piece of computer program is loaded by the processor and executes the virtual prop switching method according to any one of claims 1 to 8, or the skill switching method according to any one of claims 9 to 14, or the virtual object switching method according to claim 15.
20. A computer-readable storage medium, characterized in that the computer-readable storage medium is used for storing at least one piece of computer program for executing the virtual item switching method of any one of claims 1 to 8, or for executing the skill switching method of any one of claims 9 to 14, or for executing the virtual object switching method of claim 15.
CN202110576116.XA 2021-05-26 2021-05-26 Virtual item switching method, skill switching method and virtual object switching method Active CN113398572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110576116.XA CN113398572B (en) 2021-05-26 2021-05-26 Virtual item switching method, skill switching method and virtual object switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110576116.XA CN113398572B (en) 2021-05-26 2021-05-26 Virtual item switching method, skill switching method and virtual object switching method

Publications (2)

Publication Number Publication Date
CN113398572A true CN113398572A (en) 2021-09-17
CN113398572B CN113398572B (en) 2022-08-09

Family

ID=77675067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110576116.XA Active CN113398572B (en) 2021-05-26 2021-05-26 Virtual item switching method, skill switching method and virtual object switching method

Country Status (1)

Country Link
CN (1) CN113398572B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296597A (en) * 2021-12-01 2022-04-08 腾讯科技(深圳)有限公司 Object interaction method, device, equipment and storage medium in virtual scene
CN114721566A (en) * 2022-04-11 2022-07-08 网易(杭州)网络有限公司 Virtual object control method and device, storage medium and equipment
WO2023231553A1 (en) * 2022-06-02 2023-12-07 腾讯科技(深圳)有限公司 Prop interaction method and apparatus in virtual scene, electronic device, computer readable storage medium, and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110115838A (en) * 2019-05-30 2019-08-13 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the storage medium of mark information are generated in virtual environment
CN111589125A (en) * 2020-04-22 2020-08-28 腾讯科技(深圳)有限公司 Virtual object control method and device, computer equipment and storage medium
CN111672122A (en) * 2020-05-29 2020-09-18 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN112755517A (en) * 2021-01-29 2021-05-07 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110115838A (en) * 2019-05-30 2019-08-13 腾讯科技(深圳)有限公司 Method, apparatus, equipment and the storage medium of mark information are generated in virtual environment
CN111589125A (en) * 2020-04-22 2020-08-28 腾讯科技(深圳)有限公司 Virtual object control method and device, computer equipment and storage medium
CN111672122A (en) * 2020-05-29 2020-09-18 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN112755517A (en) * 2021-01-29 2021-05-07 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114296597A (en) * 2021-12-01 2022-04-08 腾讯科技(深圳)有限公司 Object interaction method, device, equipment and storage medium in virtual scene
CN114721566A (en) * 2022-04-11 2022-07-08 网易(杭州)网络有限公司 Virtual object control method and device, storage medium and equipment
CN114721566B (en) * 2022-04-11 2023-09-29 网易(上海)网络有限公司 Virtual object control method and device, storage medium and equipment
WO2023231553A1 (en) * 2022-06-02 2023-12-07 腾讯科技(深圳)有限公司 Prop interaction method and apparatus in virtual scene, electronic device, computer readable storage medium, and computer program product

Also Published As

Publication number Publication date
CN113398572B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN111589131B (en) Control method, device, equipment and medium of virtual role
CN110413171B (en) Method, device, equipment and medium for controlling virtual object to perform shortcut operation
CN109529319B (en) Display method and device of interface control and storage medium
CN109614171B (en) Virtual item transfer method and device, electronic equipment and computer storage medium
CN111589128B (en) Operation control display method and device based on virtual scene
CN113398571B (en) Virtual item switching method, device, terminal and storage medium
CN110694273A (en) Method, device, terminal and storage medium for controlling virtual object to use prop
CN113398572B (en) Virtual item switching method, skill switching method and virtual object switching method
CN111467802B (en) Method, device, equipment and medium for displaying picture of virtual environment
CN111589146A (en) Prop operation method, device, equipment and storage medium based on virtual environment
CN110585695B (en) Method, apparatus, device and medium for using near-war property in virtual environment
CN112494955A (en) Skill release method and device for virtual object, terminal and storage medium
CN110448908B (en) Method, device and equipment for applying sighting telescope in virtual environment and storage medium
CN111596838B (en) Service processing method and device, computer equipment and computer readable storage medium
CN113577765B (en) User interface display method, device, equipment and storage medium
CN111589127A (en) Control method, device and equipment of virtual role and storage medium
CN111921194A (en) Virtual environment picture display method, device, equipment and storage medium
CN111672106B (en) Virtual scene display method and device, computer equipment and storage medium
CN111603770A (en) Virtual environment picture display method, device, equipment and medium
CN113289331A (en) Display method and device of virtual prop, electronic equipment and storage medium
CN111273780A (en) Animation playing method, device and equipment based on virtual environment and storage medium
CN111325822A (en) Method, device and equipment for displaying hot spot diagram and readable storage medium
CN111589141A (en) Virtual environment picture display method, device, equipment and medium
CN111013137A (en) Movement control method, device, equipment and storage medium in virtual scene
CN111672115B (en) Virtual object control method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40052281

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant