CN117101144A - Processing method, device, equipment and storage medium for combination key in virtual scene - Google Patents

Processing method, device, equipment and storage medium for combination key in virtual scene Download PDF

Info

Publication number
CN117101144A
CN117101144A CN202210531267.8A CN202210531267A CN117101144A CN 117101144 A CN117101144 A CN 117101144A CN 202210531267 A CN202210531267 A CN 202210531267A CN 117101144 A CN117101144 A CN 117101144A
Authority
CN
China
Prior art keywords
key
virtual
target
combination
positions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210531267.8A
Other languages
Chinese (zh)
Inventor
郑子越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202210531267.8A priority Critical patent/CN117101144A/en
Publication of CN117101144A publication Critical patent/CN117101144A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

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

Abstract

The application provides a processing method, a device, equipment and a computer readable storage medium for a combination key in a virtual scene; the method comprises the following steps: displaying an adding inlet for adding the combination key in a key position editing interface of the virtual scene; receiving a combination key adding instruction triggered based on an adding entry; responding to a combined key adding instruction, and combining at least two key positions to obtain a target combined key, wherein the target combined key is associated with target virtual skills, and the target virtual skills are obtained by combining virtual skill links corresponding to the key positions; and when a skill release instruction triggered based on the target combination key is received, controlling a target virtual object in the virtual scene to release the target virtual skill so as to assist the target virtual object to interact with other virtual objects in the virtual scene. The application can improve the freedom degree of setting the combination key, reduce the memory consumption in the data processing process and save the data storage space.

Description

Processing method, device, equipment and storage medium for combination key in virtual scene
Technical Field
The present application relates to man-machine interaction technology, and in particular, to a method, an apparatus, a device, a computer readable storage medium, and a computer program product for processing a combination key in a virtual scene.
Background
Cloud gaming (Cloud gaming), which may also be referred to as game on demand, is an online gaming technology based on Cloud computing technology. Cloud gaming technology enables lightweight devices with relatively limited graphics processing and data computing capabilities to run high quality games. In a cloud game scene, the game is not run in a player game terminal, but is run in a cloud server, the cloud server renders the game scene into a video and audio stream, and the video and audio stream is transmitted to the player game terminal through a network. The player game terminal does not need to have strong graphic operation and data processing capability, and only needs to have basic streaming media playing capability and the capability of acquiring player input instructions and sending the player input instructions to the cloud server.
In cloud game application, in order to improve the operation skills of players, related technologies generally only support the cloud game project platform project groups to consume manpower to configure some combination keys independently, users need to understand the differences between the combination keys and other different key positions, but cannot change the combination keys, so that the operational degree of freedom is low; in practical application, one set of configuration cannot meet the interaction requirements of all players, if one set of configuration is added for each interaction requirement, a large amount of manpower is consumed, the uploading and downloading flow is consumed additionally, and the storage space is wasted.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment, a computer readable storage medium and a computer program product for processing a combination key in a virtual scene, which can improve the setting freedom degree of the combination key, reduce the memory consumption in the data processing process and save the data storage space.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a processing method of a combination key in a virtual scene, which comprises the following steps:
displaying an adding inlet for adding the combination key in a key position editing interface of the virtual scene;
receiving a combination key addition instruction triggered based on the addition entry, wherein the combination key addition instruction indicates that at least two key positions are combined, and each key position is associated with a corresponding virtual skill;
responding to the combined key adding instruction, and combining the at least two key positions to obtain a target combined key, wherein the target combined key is associated with target virtual skills, and the target virtual skills are obtained by combining virtual skill links corresponding to the key positions;
and when a skill release instruction triggered based on the target combination key is received, controlling a target virtual object in the virtual scene to release the target virtual skill so as to assist the target virtual object to interact with other virtual objects in the virtual scene.
The embodiment of the application provides a processing device for a combination key in a virtual scene, which comprises the following components:
the entry display module is used for displaying an addition entry for adding the combination key in a key position editing interface of the virtual scene;
the instruction receiving module is used for receiving a combined key addition instruction triggered based on the addition entry, the combined key addition instruction indicates to combine at least two key positions, and each key position is associated with a corresponding virtual skill;
the key position combination module is used for responding to the combination key adding instruction and combining the at least two key positions to obtain a target combination key, wherein the target combination key is associated with target virtual skills, and the target virtual skills are obtained by combining virtual skill links corresponding to the key positions;
and the skill release module is used for controlling a target virtual object in the virtual scene to release the target virtual skill when receiving a skill release instruction triggered based on the target combination key so as to assist the target virtual object to interact with other virtual objects in the virtual scene.
In the above solution, when the addition entry is a shared addition entry, the instruction receiving module is further configured to respond to a triggering operation for the shared addition entry, and display at least one candidate combination key that is selectable, where the candidate combination key includes at least two key positions; and receiving the combination key addition instruction in response to a selection operation of a target combination key in the at least one candidate combination key, wherein the combination key addition instruction indicates to add the target combination key for display.
In the above solution, the instruction receiving module is further configured to determine a selection priority of each candidate combination key when the number of candidate combination keys is at least two; and displaying the corresponding candidate combination keys according to the order of the selection priority from high to low.
In the above solution, the instruction receiving module is further configured to display, when the types of the candidate combination keys are at least two, candidate combination keys of a target type in the at least two candidate combination keys by using a first display style, and display candidate combination keys of other types except the target type in the at least two candidate combination keys by using a second display style; wherein the first display style is different from the second display style, and the first display style characterizes the selection priority of the candidate combination keys of the target type higher than the selection priority of the candidate combination keys of the other types.
In the above scheme, the device further includes: the prediction module is used for acquiring the selection reference characteristics of each candidate combination key; wherein the selected reference feature comprises at least one of: the download amount of the candidate combination key, the adaptation degree between the interaction characteristic of the target virtual object and the skill characteristic of the virtual skill associated with the candidate combination key; and calling a machine learning model to conduct prediction processing based on the selection reference characteristics to obtain the selection priority of each candidate combination key.
In the above scheme, the instruction receiving module is further configured to, when the adding inlet is a recording adding inlet, respond to a triggering operation for the recording adding inlet, display a key recording interface of the virtual scene, and display at least two virtual keys in the key recording interface; recording touch operation in the key position recording interface in response to recording operation triggered based on the key position recording interface, so as to obtain virtual key positions with target numbers corresponding to the touch operation; and responding to a recording stopping operation triggered based on the key position recording interface, and receiving the combination key adding instruction, wherein the combination key adding instruction indicates that virtual key positions of the target number are combined.
In the above scheme, the key position combination module is further configured to obtain, in response to the combination key addition instruction, a touch parameter for each virtual key position in the virtual key positions of the target number, where the touch parameter includes at least one of: a touch mode and a touch moment; combining the virtual key positions of the target number based on the touch parameters to obtain a target combined key; and the target virtual skills associated with the target combination key are obtained by combining virtual skill links corresponding to the virtual key positions.
In the above scheme, the instruction receiving module is further configured to, when the addition entry is an edit addition entry, display at least two virtual key positions in response to a trigger operation for the edit addition entry; responding to the selection operation of the target number of virtual keys in the at least two virtual keys, displaying the target number of key bearing bits in the key editing interface, and displaying the target number of virtual keys in the target number of key bearing bits, wherein the key bearing bits are in a corresponding relation with the virtual keys; in response to a setting operation of interaction parameters for each virtual key position in the target number of virtual key positions, displaying the interaction parameters of the corresponding virtual key positions at the associated positions of key bearing positions corresponding to the virtual key positions, wherein the interaction parameters comprise at least one of the following: interaction mode, interaction interval duration; and receiving the combination key addition instruction in response to the determination operation for the interaction parameter, wherein the combination key addition instruction indicates that the virtual key positions of the target number are combined based on the interaction parameter.
In the above solution, the instruction receiving module is further configured to, when the interaction parameter includes an interaction mode, perform, for each virtual key of the target number of virtual keys, the following processing: displaying a mode control for setting the interaction mode of the virtual key at the associated position of the key bearing position; responding to the triggering operation for the mode control, and displaying at least one candidate interaction mode corresponding to the virtual key position; and setting the interaction mode of the virtual key position as the target interaction mode in response to a selection operation of the target interaction mode in the at least one candidate interaction mode, and displaying the target interaction mode at the association position.
In the above scheme, the instruction receiving module is further configured to display a setting prompt message, where the setting prompt message is used to prompt that an auxiliary interaction mode needs to be added to the target interaction mode; and responding to an interaction mode adding operation triggered based on the setting prompt information, combining the target interaction mode with the auxiliary interaction mode to obtain a combined interaction mode, and displaying the combined interaction mode at the association position.
In the above solution, when the interaction parameter includes an interaction interval duration, the instruction receiving module is further configured to perform, for any two adjacent virtual keys in the target number of virtual keys, the following processing: displaying a duration control for setting the interaction interval duration of the adjacent virtual key positions at the associated positions of the two adjacent key bearing positions; and responding to a time length setting operation triggered based on the time length control, taking the target time length indicated to be set by the time length setting operation as the interaction interval time length between the adjacent virtual key positions, and displaying the interaction interval time length at the association position.
In the above scheme, the instruction receiving module is further configured to display, in a first bearing bit of the target number of key bearing bits, a first virtual key bit of the target number of virtual key bits, and display, in other bearing bits of the target number of key bearing bits except for the first bearing bit, other virtual key bits of the target number of virtual key bits except for the first virtual key bit.
In the above scheme, the device further includes: a key position replacing module, configured to control other virtual keys of the at least two virtual keys, except for the first virtual key, to be in a candidate state in response to a triggering operation for the first virtual key; and in response to a selection operation for a target virtual key in a candidate state, replacing the first virtual key displayed in the first bearing position with the target virtual key for display so as to take the target virtual key and the other virtual keys as the virtual keys of the target number.
In the above scheme, the instruction receiving module is further configured to display, at an associated position of the first bearing position, an interaction parameter of the first virtual key position, and display, at an associated position of the other bearing position, an interaction parameter of the other virtual key position; the apparatus further comprises: a key position moving module, configured to control the first virtual key position and an interaction parameter of the first virtual key position to move along a direction indicated by the drag operation in response to the drag operation for the first virtual key position; and responding to the first virtual key position to move to a second bearing position bearing a second virtual key position in the other bearing positions, displaying the first virtual key position in the second bearing position, displaying the interaction parameter of the first virtual key position at the key position of the second bearing position, displaying the second virtual key position in the first bearing position, and displaying the interaction parameter of the second virtual key position at the associated position of the first bearing position.
In the above scheme, the entry display module is further configured to display at least two key bearing bits in a key position editing interface of the virtual scene when the addition entry is an editing addition entry, and use the key bearing bits as an addition entry for adding the combination key; the instruction receiving module is further configured to perform, for each of a target number of key carrying bits of the at least two key carrying bits, the following processing: responding to triggering operation for the key bearing position, and displaying at least two virtual key positions; displaying a target virtual key position in the key bearing position in response to a selection operation for the target virtual key position in the at least two virtual key positions; in response to a setting operation of interaction parameters for the target virtual key, displaying the interaction parameters of the target virtual key at the associated position of the key bearing position, wherein the interaction parameters comprise at least one of the following: interaction mode, interaction interval duration; and receiving the combined key addition instruction in response to the determination operation of the interaction parameters of the target virtual key positions corresponding to each key bearing position in the target number of key bearing positions, wherein the combined key addition instruction indicates that the target virtual key positions in the target number are combined based on the interaction parameters.
In the above scheme, after the at least two key positions are combined to obtain the target combination key, the device further includes: the key position modification module is used for displaying a modification control for modifying the target combination key; responding to the triggering operation for the modification control, and displaying a modification interface comprising at least two virtual key positions; responding to the modification operation triggered by the modification interface, and modifying at least two key positions included in the target combination key through the at least two virtual key positions to obtain at least two modified key positions; and in response to the determination operation for the modified at least two key positions, combining the modified at least two key positions to obtain a new combined key so as to replace the target combined key.
The embodiment of the application provides a terminal device, which comprises:
a memory for storing executable instructions;
and the processor is used for realizing the processing method of the combination key in the virtual scene when executing the executable instructions stored in the memory.
The embodiment of the application provides a computer readable storage medium which stores executable instructions for realizing the processing method of the combination key in the virtual scene provided by the embodiment of the application when being executed by a processor.
The embodiment of the application provides a computer program product, which comprises a computer program or instructions, wherein the computer program or instructions realize the processing method of the combination key in the virtual scene provided by the embodiment of the application when being executed by a processor.
The embodiment of the application has the following beneficial effects:
when the embodiment of the application is applied, when the operation key positions are set, an addition inlet of the self-defined combination key is provided for a user, a plurality of key positions are combined through the addition inlet to obtain the target combination key, the setting freedom degree of the combination key is improved, and compared with a plurality of sets of item groups which are set according to requirements, the setting efficiency is improved, and the resource consumption and the storage space are saved; in addition, as the target virtual skills are obtained by the combination of the virtual skill links corresponding to each key position, the skills are more powerful, and a user can control the target virtual object to release the corresponding target virtual skills through one key of the target combination key, compared with the method that a plurality of independent key positions are operated one by one to realize the corresponding functions, the operation convenience and interaction capability are improved, and the man-machine interaction efficiency is improved.
Drawings
Fig. 1A is an application mode schematic diagram of a method for processing a combination key in a virtual scene according to an embodiment of the present application;
Fig. 1B is an application mode schematic diagram of a method for processing a combination key in a virtual scene according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a terminal device 400 according to an embodiment of the present application;
fig. 3 is a flow chart of a method for processing combination keys in a virtual scene according to an embodiment of the present application;
FIG. 4 is a schematic illustration of adding a combination key according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating the receiving of a combination key addition command according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a method for processing a combination key in a virtual scene according to an embodiment of the present application;
fig. 7 is a flowchart illustrating a method for processing a combination key in a virtual scene according to an embodiment of the present application;
fig. 8 is a schematic diagram of a recording interface according to an embodiment of the present application;
fig. 9 is a flowchart illustrating a method for processing a combination key in a virtual scene according to an embodiment of the present application;
FIG. 10 is an edit schematic diagram of a combination key according to an embodiment of the present application;
FIG. 11 is an edit schematic diagram of a combination key according to an embodiment of the present application;
FIG. 12 is an edit schematic of a combination key according to an embodiment of the present application;
FIG. 13 is a schematic diagram of an edit prompt for a combination key according to an embodiment of the present application;
FIG. 14 is a schematic diagram illustrating a setting of a duration interval associated with a combination key according to an embodiment of the present application;
Fig. 15 is a schematic diagram of adding a combination key according to an embodiment of the present application.
Detailed Description
The present application will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present application more apparent, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the term "first/second …" is merely to distinguish similar objects and does not represent a particular ordering for objects, it being understood that the "first/second …" may be interchanged with a particular order or precedence where allowed to enable embodiments of the present application described herein to be implemented in other than those illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
Before describing embodiments of the present application in further detail, the terms and terminology involved in the embodiments of the present application will be described, and the terms and terminology involved in the embodiments of the present application will be used in the following explanation.
1) And a client, an application program for providing various services, such as a video playing client, a game client, etc., running in the terminal.
2) In response to a condition or state that is used to represent the condition or state upon which the performed operation depends, the performed operation or operations may be in real-time or with a set delay when the condition or state upon which it depends is satisfied; without being specifically described, there is no limitation in the execution sequence of the plurality of operations performed.
3) The virtual scene is a virtual scene displayed (or provided) when the application program runs on the terminal, and the virtual scene can be a simulation environment for a real world, a semi-simulation and 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, the virtual scene may include sky, land, sea, etc., the land may include environmental elements such as desert, city, etc., and the user may control the virtual object to move in the virtual scene.
4) Virtual objects, images of various people and objects in a virtual scene that can interact, or movable objects in a virtual scene. The movable object may be a virtual character, a virtual animal, a cartoon character, etc., such as a character, an animal, etc., displayed in a virtual scene. The virtual object may be an avatar in the virtual scene for representing a user. A virtual scene may include a plurality of virtual objects, each virtual object having its own shape and volume in the virtual scene, occupying a portion of space in the virtual scene.
5) The cloud game is a game mode based on cloud computing, all games are run on a server side, rendered game pictures and sound effects are compressed and then transmitted to a player in a plug-flow (also called cloud game audio/video stream) mode through a network, and the player controls the games on a remote server through the network.
The embodiment of the application provides a processing method, a processing device, terminal equipment, a computer readable storage medium and a computer program product for a combination key in a virtual scene, which can improve the setting degree of freedom, reduce the memory consumption in the data processing process and save the data storage space. In order to facilitate easier understanding of the method for processing the combination key in the virtual scene provided by the embodiment of the present application, first, an exemplary implementation scenario of the method for processing the combination key in the virtual scene provided by the embodiment of the present application is described, where the virtual scene in the method for processing the combination key in the virtual scene provided by the embodiment of the present application may be output based on the terminal device completely, or may be output based on the cooperation of the terminal device and the server. In some embodiments, the virtual scene may be an environment for interaction of game characters, for example, the game characters may fight in the virtual scene, and both parties may interact in the virtual scene by controlling actions of the game characters, so that a user can relax life pressure in the game process.
In an implementation scenario, referring to fig. 1A, fig. 1A is a schematic application mode diagram of a processing method of a combination key in a virtual scenario provided by an embodiment of the present application, which is suitable for some application modes that can complete relevant data calculation of the virtual scenario 100 completely depending on the computing capability of graphics processing hardware of the terminal device 400, for example, a game in a single-machine/offline mode, and output of the virtual scenario is completed through various different types of terminal devices 400 such as a smart phone, a tablet computer, and a virtual reality/augmented reality device. By way of example, the types of graphics processing hardware include central processing units (CPU, central Processing Unit) and graphics processors (GPU, graphics Processing Unit).
When forming the visual perception of the virtual scene 100, the terminal device 400 calculates the data required for display through the graphic computing hardware, and completes loading, analysis and rendering of the display data, and outputs a video frame capable of forming the visual perception for the virtual scene at the graphic output hardware, for example, a two-dimensional video frame is presented on the display screen of the smart phone, or a video frame realizing the three-dimensional display effect is projected on the lens of the augmented reality/virtual reality glasses; in addition, to enrich the perceived effect, the terminal device 400 may also form one or more of auditory perception, tactile perception, motion perception and gustatory perception by means of different hardware.
As an example, the terminal device 400 runs a virtual scenario application (such as a game), outputs a virtual scenario 100 including role playing during the virtual scenario running process, and includes a target virtual object 110, other virtual objects 120 and a target combination key 130 in the virtual scenario 100, where the target virtual object 110 may be a game character controlled by a user (or called a player), i.e., the target virtual object 110 is controlled by a real user, and releases a target virtual skill associated with the target combination key 130 in the virtual scenario in response to an operation of the target combination key 130 by the real user, so as to assist the target virtual object 110 to interact with the other virtual objects 120.
In practical application, a real user is convenient to trigger the target combination key 130, the target combination key 130 can be set before or during the game, and as an example, an adding entry for adding the combination key is displayed in a key position editing interface of the virtual scene; receiving a combination key addition instruction triggered based on an addition entry, wherein the combination key addition instruction instructs at least two key positions to be combined, and each key position is associated with a corresponding virtual skill; responding to a combined key adding instruction, and combining at least two key positions to obtain a target combined key, wherein the target combined key is associated with target virtual skills, and the target virtual skills are obtained by combining virtual skill links corresponding to the key positions; thus, the user can combine a plurality of key positions to obtain the target combination key through the addition inlet of the custom combination key, the setting freedom degree of the combination key is improved, and compared with the setting of a plurality of sets of combination keys according to the requirements of a project group, the setting efficiency is improved, and the resource consumption and the storage space are saved; when a skill release instruction triggered by a target combination key is received, a target virtual object in a virtual scene is controlled to release target virtual skills so as to assist the target virtual object to interact with other virtual objects in the virtual scene, and as the target virtual skills are obtained by combining virtual skill links corresponding to each key, the skill is more powerful, and a user can control the target virtual object to release corresponding target virtual skills through one key by the target combination key.
In another implementation scenario, referring to fig. 1B, fig. 1B is a schematic application mode diagram of a processing method of a combination key in a virtual scenario, which is applied to a terminal device 400 and a server 200 and is applicable to an application mode that completes virtual scenario calculation depending on the computing capability of the server 200 and outputs a virtual scenario at the terminal device 400. Taking the example of forming the visual perception of the virtual scene 100, the server 200 performs calculation of virtual scene related display data (such as scene data) and sends the calculated display data to the terminal device 400 through the network 300, the terminal device 400 finishes loading, analyzing and rendering the calculated display data depending on the graphic calculation hardware, and outputs the virtual scene depending on the graphic output hardware to form the visual perception, for example, a two-dimensional video frame can be presented on a display screen of a smart phone, or a video frame for realizing a three-dimensional display effect can be projected on a lens of an augmented reality/virtual reality glasses; as regards the perception of the form of the virtual scene, it is understood that the auditory perception may be formed by means of the corresponding hardware output of the terminal device 400, for example using a microphone, the tactile perception may be formed using a vibrator, etc.
As an example, the terminal device 400 runs a virtual scenario application (such as a game), outputs a virtual scenario 100 including role playing during the virtual scenario running process, and includes a target virtual object 110, other virtual objects 120 and a target combination key 130 in the virtual scenario 100, where the target virtual object 110 may be a game character controlled by a user (or called a player), i.e., the target virtual object 110 is controlled by a real user, and releases a target virtual skill associated with the target combination key 130 in the virtual scenario in response to an operation of the target combination key 130 by the real user, so as to assist the target virtual object 110 to interact with the other virtual objects 120.
In practical application, a real user is convenient to trigger the target combination key 130, the target combination key 130 can be set before or during the game, and as an example, an adding entry for adding the combination key is displayed in a key position editing interface of the virtual scene; receiving a combination key addition instruction triggered based on an addition entry, wherein the combination key addition instruction instructs at least two key positions to be combined, and each key position is associated with a corresponding virtual skill; responding to a combined key adding instruction, and combining at least two key positions to obtain a target combined key, wherein the target combined key is associated with target virtual skills, and the target virtual skills are obtained by combining virtual skill links corresponding to the key positions; thus, the user can combine a plurality of key positions to obtain the target combination key through the addition inlet of the custom combination key, the setting freedom degree of the combination key is improved, and compared with the setting of a plurality of sets of combination keys according to the requirements of a project group, the setting efficiency is improved, and the resource consumption and the storage space are saved; when a skill release instruction triggered by a target combination key is received, a target virtual object in a virtual scene is controlled to release target virtual skills so as to assist the target virtual object to interact with other virtual objects in the virtual scene, and as the target virtual skills are obtained by combining virtual skill links corresponding to each key, the skill is more powerful, and a user can control the target virtual object to release corresponding target virtual skills through one key by the target combination key.
In some embodiments, the terminal device 400 may implement the method for processing the combination key in the virtual scene provided by the embodiment of the present application by running a computer program, for example, the computer program may be a native program or a software module in an operating system; may be a local (Native) application (APP, APPlication), i.e. a program that needs to be installed in an operating system to run, such as a shooting game APP (i.e. client 410 described above); the method can also be an applet, namely a program which can be run only by being downloaded into a browser environment; but also a game applet that can be embedded in any APP. In general, the computer programs described above may be any form of application, module or plug-in.
Taking a computer program as an example of an application program, in actual implementation, the terminal device 400 installs and runs an application program supporting a virtual scene. The application may be any one of a First person shooter game (FPS), a third person shooter game, a virtual reality application, a three-dimensional map program, a maneuver simulation program, or a multi-person gunfight survival game. The user uses the terminal device 400 to operate a virtual object located in a virtual scene to perform activities including, but not limited to: at least one of body posture adjustment, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, building a virtual building. Illustratively, the virtual object may be a virtual character, such as an emulated persona or a cartoon persona, or the like.
In other embodiments, the embodiments of the present application may also be implemented by means of Cloud Technology (Cloud Technology), which refers to a hosting Technology that unifies serial resources such as hardware, software, networks, etc. in a wide area network or a local area network, so as to implement calculation, storage, processing, and sharing of data.
The cloud technology is a generic term of network technology, information technology, integration technology, management platform technology, application technology and the like based on cloud computing business model application, can form a resource pool, and is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical network systems require a large amount of computing and storage resources.
For example, the server 200 in fig. 1B may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, and basic cloud computing services such as big data and artificial intelligence platforms. The terminal device 400 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc. The terminal device 400 and the server 200 may be directly or indirectly connected through wired or wireless communication, which is not limited in the embodiment of the present application.
The structure of the terminal device 400 shown in fig. 1A is explained below. Referring to fig. 2, fig. 2 is a schematic structural diagram of a terminal device 400 according to an embodiment of the present application, and the terminal device 400 shown in fig. 2 includes: at least one processor 420, a memory 460, at least one network interface 430, and a user interface 440. The various components in terminal device 400 are coupled together by bus system 450. It is understood that bus system 450 is used to implement the connected communications between these components. The bus system 450 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as bus system 450 in fig. 2.
The processor 420 may be an integrated circuit chip with signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, or the like, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
The user interface 440 includes one or more output devices 441 that enable presentation of media content, including one or more speakers and/or one or more visual displays. The user interface 440 also includes one or more input devices 442, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
Memory 460 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 460 optionally includes one or more storage devices physically remote from processor 420.
Memory 460 includes volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a random access Memory (RAM, random Access Memory). The memory 460 described in embodiments of the present application is intended to comprise any suitable type of memory.
In some embodiments, memory 460 is capable of storing data to support various operations, examples of which include programs, modules and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 461 including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
network communication module 462 for reaching other computing devices via one or more (wired or wireless) network interfaces 430, the exemplary network interfaces 430 comprising: bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB, universal Serial Bus), etc.;
A presentation module 463 for enabling presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 441 (e.g., a display screen, speakers, etc.) associated with the user interface 440;
an input processing module 464 for detecting one or more user inputs or interactions from one of the one or more input devices 442 and translating the detected inputs or interactions.
In some embodiments, the processing device for a combination key in a virtual scene provided in the embodiments of the present application may be implemented in software, and fig. 2 shows the processing device 465 for a combination key in a virtual scene stored in the memory 460, which may be software in the form of a program and a plug-in, and includes the following software modules: the entry display module 4651, the instruction receiving module 4652, the key combination module 4653 and the skill release module 4654 are logical, so that any combination or further splitting may be performed according to the functions implemented, and the functions of the respective modules will be described below.
In other embodiments, the processing device for the combination key in the virtual scene provided by the embodiment of the present application may be implemented in hardware, and as an example, the processing device for the combination key in the virtual scene provided by the embodiment of the present application may be a processor in the form of a hardware decoding processor, which is programmed to perform the processing method for the combination key in the virtual scene provided by the embodiment of the present application, for example, the processor in the form of a hardware decoding processor may use one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSP, programmable logic device (PLD, programmable Logic Device), complex programmable logic device (CPLD, complex Programmable Logic Device), field programmable gate array (FPGA, field-Programmable Gate Array), or other electronic components.
The method for processing the combination key in the virtual scene provided by the embodiment of the application is specifically described below with reference to the accompanying drawings. The method for processing the combination key in the virtual scene provided by the embodiment of the application can be independently executed by the terminal device 400 in fig. 1A, or can be cooperatively executed by the terminal device 400 and the server 200 in fig. 1B. Next, a processing method of executing a combination key in a virtual scene provided by the embodiment of the present application by the terminal device 400 in fig. 1A alone will be described as an example. Referring to fig. 3, fig. 3 is a flowchart of a method for processing a combination key in a virtual scene according to an embodiment of the present application, and will be described with reference to the steps shown in fig. 3.
Step 101: and the terminal equipment displays an adding inlet for adding the combination key in a key position editing interface of the virtual scene.
The combination key is a control or button which is used by combining two or more key positions (or keys) together to realize that the virtual skills corresponding to the individual key positions are combined to obtain comprehensive skills, wherein the comprehensive skills are the virtual skills related to the combination key, and the capability of the comprehensive skills is generally higher than the simple superposition of the virtual skills corresponding to the key positions.
In practical application, the user can trigger the combined key editing instruction before, during or after displaying the virtual scene, the terminal presents a key position editing interface after receiving the combined key editing instruction, and an adding entry for adding the combined key is displayed in the key position editing interface, and the user can add the combined key based on the adding entry.
For example, when the virtual scene is a game, the user can trigger a combined key editing instruction before the game starts, during the game or after the game ends, the terminal displays a key editing interface after receiving the combined key editing instruction, and displays an adding entry for adding the combined key in the key editing interface, and the user can add any one or more combined keys based on the adding entry, so that the user can select the proper combined key according to the interaction requirement to release the associated virtual skill in the game process, thereby improving the operation convenience and the interaction capability of the player and improving the man-machine interaction efficiency.
The adding manners of the combination key may be multiple, so that an adding entry corresponding to each adding manner may be displayed, referring to fig. 4, fig. 4 is a schematic adding diagram of the combination key provided in the embodiment of the present application, when a user clicks an editing entry 401, which is a "combination key (macro)" of a menu bar, the terminal device responds to the clicking operation, displays a key editing interface, and displays adding entries corresponding to three adding manners respectively in the key editing interface, for example, an adding entry 402, a recording adding entry 403, and an editing adding entry 404, which are "obtaining the sharing adding entry from the community sharing," recording key "and" editing key ", where the user may select the corresponding adding entry according to the actual requirement to add or construct the combination key.
Step 102: receiving a combination key adding instruction triggered based on an adding entry; wherein the combination key addition instruction instructs to combine at least two key positions, each key position being associated with a respective virtual skill.
In some embodiments, the terminal device may receive the combination key addition instruction based on the addition entry trigger by: when the addition portal is a shared addition portal, responding to a triggering operation for the shared addition portal, and displaying at least one candidate combination key for selection, wherein the candidate combination key comprises at least two key positions; in response to a selection operation for a target combination key in the at least one candidate combination key, a combination key addition instruction is received, the combination key addition instruction indicating to add the target combination key for display.
Referring to fig. 5, fig. 5 is a schematic view of receiving a combination key addition instruction provided in an embodiment of the present application, taking a virtual scenario as an example of a cloud game, when a user clicks the shared addition entry "get from community sharing" shown in fig. 4, the terminal device displays a community combination key list in response to a triggering operation for the shared addition entry, and displays a plurality of candidate combination keys, such as candidate combination key 1, candidate combination key 2, candidate combination key 3 and candidate combination key 4, in the community combination key list, from which a player can select any one of the candidate combination keys to perform addition, such as when the user selects candidate combination key 2, the terminal receives a combination key addition instruction for candidate combination key 2 in response to a selection operation for candidate combination key 2 (i.e. a target combination key), so as to add candidate combination key 2 as a target combination key to an operation control of the player, such as displaying the target combination key 501, such as candidate combination key 2 in a game interface, so that the player releases its associated virtual skill using candidate combination key 2.
It should be noted that, when the target combination key selected from the plurality of candidate combination keys is added to the operation control of the player, the player may also edit and modify the added target combination key, for example, the target combination key is formed by combining "a+b+c+space" and edit and modify the target combination key to be formed by combining "a+d+c+space".
In some embodiments, the terminal device may display the alternative at least one candidate combination key by: when the number of the candidate combination keys is at least two, determining the selection priority of each candidate combination key; the corresponding candidate combination keys are displayed in the order of the selection priority from high to low.
Here, when the number of candidate combination keys is plural (2 or more), the candidate combination keys having different selection priorities may be displayed in a certain order, for example, the candidate combination key having the higher selection priority is arranged before the candidate combination key having the lower selection priority, so that when the user selects the candidate combination key, the user can easily select the candidate combination key having the higher selection priority from among them to trigger the combination key addition instruction for the candidate combination key having the higher selection priority.
In some embodiments, the terminal device may display the alternative at least one candidate combination key by: when the types of the candidate combination keys are at least two types, displaying the candidate combination keys of the target type in the at least two types of candidate combination keys by adopting a first display style, and displaying the candidate combination keys of other types except the target type in the at least two types of candidate combination keys by adopting a second display style; the first display style is different from the second display style, and the first display style represents the selection priority of the candidate combination keys of the target type and is higher than the selection priority of the candidate combination keys of other types.
In practical application, when the number or the kind of the candidate combination keys is a plurality (2 or more), the candidate combination keys with different selection priorities can be displayed in different display modes (such as different colors, different brightness, different indication information and the like), for example, according to the different selection priorities of the candidate combination keys, the corresponding candidate combination keys are displayed in different display modes, and particularly the candidate combination key with the highest selection priority is highlighted, so that when the user selects the candidate combination key, the user is prompted to select the highlighted candidate combination key to trigger a combination key adding instruction for the selected candidate combination key, wherein the highlighting mode comprises at least one of the following display modes: target color display, overlay display, highlighting and tracing display are adopted.
In some embodiments, the terminal device may predict the selection priority of each candidate combination key by: acquiring selection reference characteristics of each candidate combination key; wherein selecting the reference feature comprises at least one of: the download amount of the candidate combination key, the adaptation degree between the interaction characteristic of the target virtual object and the skill characteristic of the virtual skill associated with the candidate combination key; and calling a machine learning model to conduct prediction processing based on the selection reference characteristics, and obtaining the selection priority of each candidate combination key.
The machine learning model is trained based on selection reference characteristics of sample combination keys of the virtual scene and labeled selection priority labels of the sample combination keys. In practical application, the terminal device predicts the selection priority of each candidate combination key according to the obtained download amount of the candidate combination key or the adaptation degree (such as the adaptation degree between the interaction grade, the interaction progress or the interaction habit of the target virtual object and the skill characteristic of the candidate combination key) between the interaction characteristic of the target virtual object and the skill characteristic of the virtual skill associated with the candidate combination key, so as to obtain the selection priority of each candidate combination key, wherein the selection priority is higher for the candidate combination key with the larger download amount or the candidate combination key with the larger adaptation degree.
Therefore, the candidate combination keys (such as the candidate combination keys which are most needed to be adopted under the current interaction level or the current interaction progress or the candidate combination keys which are most suitable for the current interaction habit or the candidate combination keys with the largest downloading amount) which are most needed to be used by the target virtual object are screened out from a plurality of candidate combination keys through the machine learning model based on the artificial intelligence algorithm, so that the screening result is more accurate and more suitable for the current scene, and the candidate combination keys with different selection priorities are displayed in a distinguishing mode based on the screening result. For example, under the current interaction progress, the display priority of the candidate combination key 1 which is most needed to be used by the target virtual object is highest, the candidate combination key 1 is displayed in a highlighted display mode so as to be different from the candidate combination keys with other display priorities, a user is guided to select the candidate combination key corresponding to the most needed virtual skill from among the candidate combination keys to add, after the candidate combination key is added, the target virtual object is controlled to release the virtual skill associated with the candidate combination key, interaction between the target virtual object and other virtual objects in a virtual scene is assisted, and therefore operation convenience and interaction capability are improved, and man-machine interaction efficiency is improved.
It should be noted that, the machine learning model may be a neural network model (such as a convolutional neural network, a deep convolutional neural network, or a fully connected neural network), a decision tree model, a gradient lifting tree, a multi-layer perceptron, a support vector machine, and the like, and the type of the machine learning model is not limited in the embodiment of the present application. It will be appreciated that in embodiments of the present application where the selection of reference features is related data in essence to the user, when the embodiments of the present application are applied to a particular product or technology, user approval or consent is required and the collection, use and processing of the related data is required to comply with relevant laws and regulations and standards of the relevant country and region.
In some embodiments, the terminal device may further receive a combination key addition instruction based on the addition entry trigger by: when the adding inlet is a recording adding inlet, responding to triggering operation for the recording adding inlet, displaying a key recording interface of the virtual scene, and displaying at least two virtual keys in the key recording interface; recording touch operation in the key position recording interface in response to recording operation triggered based on the key position recording interface, so as to obtain virtual key positions of target number corresponding to the touch operation; and responding to the recording stopping operation triggered based on the key position recording interface, and receiving a combination key adding instruction, wherein the combination key adding instruction indicates that virtual key positions of the target number are combined.
As shown in fig. 8, when a user triggers the record adding entry 403 in fig. 4, the terminal device responds to the trigger operation for the record adding entry 403, displays a key recording interface, and displays a plurality of virtual keys 801 in the key recording interface, and starts recording the control 802, when the user triggers the start recording control 802, the terminal device responds to the trigger operation, records the touch operation for the virtual keys received by the key recording interface, and obtains the virtual keys with the target number corresponding to the touch operation, in the recording process, switches the start recording control 802 displayed in the key recording interface to display the stop recording control 803, when the user triggers the stop recording control 803, the terminal device can receive a combination key adding instruction, responds to the combination key adding instruction, combines the virtual keys with the target number to generate a target combination key, and displays the generated target combination key 804 on the game interface for use by the user.
In some embodiments, the terminal device may combine at least two key positions to obtain the target combination key in response to the combination key addition instruction by: in response to the combined key addition instruction, acquiring touch parameters for each virtual key position in the target number of virtual key positions, wherein the touch parameters comprise at least one of the following: a touch mode and a touch moment; combining the virtual key positions of the target number based on the touch parameters to obtain a target combined key; the target virtual skills associated with the target combination key are obtained by combining virtual skill links corresponding to the virtual key positions.
Here, when the target number of virtual keys is combined to generate the target combination key, the target combination key is generated substantially according to the target number of virtual keys touched by the user, touch parameters (such as touch mode and touch time) of each virtual key in the target number of virtual keys, and the like. For example, in the recording process, recording parameters such as which virtual key positions are touched by the user, the touch mode (such as pressing and bouncing) of the touch operation for each touched virtual key position, the touch time, or the touch time interval for each virtual key position are recorded. Assume that the recording parameters received by the terminal device are: the clicking operation for the virtual key 1, the long-pressing operation for the virtual key 2 and the sliding operation for the virtual key 3, wherein the two adjacent operation time intervals are 15ms (milliseconds), and the terminal equipment can generate a target combination key (virtual key 1-virtual key 2-virtual key 3) according to the recording parameters and display the target combination key in a game interface for players to use.
In some embodiments, the terminal device may further receive a combination key addition instruction based on the addition entry trigger by: when the addition entry is an editing addition entry, responding to a trigger operation for the editing addition entry, and displaying at least two virtual key positions; responding to the selection operation of the virtual key positions of the target number in at least two virtual key positions, displaying the key bearing positions of the target number in a key position editing interface, and displaying the virtual key positions of the target number in the key bearing positions of the target number, wherein the key bearing positions and the virtual key positions are in a corresponding relation; in response to a setting operation of interaction parameters for each virtual key position in the target number of virtual key positions, displaying the interaction parameters of the corresponding virtual key position at the associated position of the key bearing position corresponding to each virtual key position, wherein the interaction parameters comprise at least one of the following: interaction mode, interaction interval duration; in response to a determination operation for the interaction parameter, a combination key addition instruction is received, wherein the combination key addition instruction indicates combining a target number of virtual key positions based on the interaction parameter.
Referring to fig. 15, fig. 15 is a schematic diagram illustrating addition of a combination key provided in an embodiment of the present application, when a user triggers the edit addition entry 404, which is an "edit key" shown in fig. 4, the terminal device responds to the trigger operation to display at least two selectable virtual key positions, where the virtual key positions include all operable key positions corresponding to a virtual keyboard and a virtual mouse; when the user selects the virtual key of the target number from among the virtual key of the target number, such as three virtual key A, virtual key B and virtual key C in turn, the key bearing of the target number (such as 3) is displayed in the key editing interface, such as key bearing 1, key bearing 2 and key bearing 3 are displayed in sequence from left to right, and the corresponding virtual key is displayed in the 3 key bearing in turn according to the selection sequence for the virtual key, such as virtual key A is displayed in key bearing 1, virtual key B is displayed in key bearing 2 and virtual key C is displayed in key bearing 3.
Meanwhile, parameter controls (such as mode controls and duration controls) for setting interaction parameters are displayed at the associated positions of the key bearing positions, the interaction parameters of the selected virtual key positions are set through the parameter controls, after the interaction parameters associated with the selected virtual key positions are set, if a user triggers a determination button, a terminal device can receive a combination key adding instruction in response to the determination operation for the interaction parameters, and in response to the combination key adding instruction, the virtual key positions with the target number are combined, for example, the virtual key positions A, the virtual key positions B and the virtual key positions C are combined according to the interaction parameters of the virtual key positions A, the virtual key positions B and the virtual key positions C, so that a target combination key is obtained.
In some embodiments, the terminal device may respond to the setting operation of the interaction parameter for each virtual key in the target number of virtual keys by displaying the interaction parameter of the corresponding virtual key at the associated position of the key bearing bit corresponding to each virtual key: when the interaction parameter includes an interaction pattern, the following is performed for each virtual key of the target number of virtual keys: displaying a mode control for setting the interaction mode of the virtual key at the associated position of the key bearing position; responding to triggering operation for the mode control, and displaying at least one candidate interaction mode corresponding to the virtual key position; in response to a selection operation for a target interaction pattern of the at least one candidate interaction pattern, setting the interaction pattern of the virtual key as the target interaction pattern, and displaying the target interaction pattern at the associated location.
For example, in fig. 11, a mode control is displayed below each key carrying position carrying the selected virtual key position, where the mode control is used to set the interaction mode of the virtual key position carried in the key carrying position, for example, when the interaction mode of the virtual key position a is set, the terminal device responds to the triggering operation of the mode control displayed below the key carrying position 1 to display multiple candidate interaction modes, such as clicking, holding and bouncing, where clicking refers to that the key is immediately sprung after being pressed, holding refers to that the key is not sprung after being pressed, and bouncing refers to that the pressed key is sprung; responding to the selection operation of a target interaction mode (such as clicking) in a plurality of candidate interaction modes, setting the interaction mode of the virtual key position A as clicking, and switching the mode control displayed below the key bearing position 1 into the target interaction mode of displaying clicking; in this way, the interaction mode of the selected other virtual key positions can be set in sequence.
In some embodiments, the terminal device may set the interaction pattern of the virtual key as the target interaction pattern by: displaying setting prompt information, wherein the setting prompt information is used for prompting that an auxiliary interaction mode needs to be added to a target interaction mode; and responding to the interaction mode adding operation triggered based on the setting prompt information, combining the target interaction mode and the auxiliary interaction mode to obtain a combined interaction mode, and displaying the combined interaction mode at the associated position.
In practical application, when an auxiliary interaction mode is required to be added to a selected virtual key position during setting of the interaction mode, for example, when the selected target interaction mode is a "holding" target interaction mode, a pop-up operation is required to be added after the "holding", prompt information for prompting that the auxiliary interaction mode is required to be added to the target interaction mode is displayed, so that a user combines the target interaction mode and the auxiliary interaction mode based on the prompt information, for example, combines the two interaction modes of holding and pop-up to obtain a combined interaction mode, and the obtained combined interaction mode is used as a final interaction mode of the virtual key position to be displayed at an association position.
In some embodiments, the terminal device may respond to the setting operation of the interaction parameter for each virtual key in the target number of virtual keys by displaying the interaction parameter of the corresponding virtual key at the associated position of the key bearing bit corresponding to each virtual key: when the interaction parameter includes an interaction interval duration, the following processing is performed for any two adjacent virtual keys of the target number of virtual keys: displaying a duration control for setting the interaction interval duration of the adjacent virtual key positions at the associated positions of the two adjacent key bearing positions; and responding to a time length setting operation triggered based on the time length control, taking the target time length which is set by the time length setting operation as the interaction interval time length between adjacent virtual key positions, and displaying the interaction interval time length at the associated position.
As shown in fig. 14, when the key carrying bit is not the last one, displaying a duration control on the right side of the key carrying bit carrying the selected virtual key bit, wherein the duration control is used for setting the interaction interval duration between the virtual key bits in two adjacent key carrying bits; taking setting the interaction interval duration between the virtual key position B and the virtual key position C as an example, the terminal equipment responds to the triggering operation of a duration control displayed on the right side of the key bearing position where the virtual key position B is positioned, displays a duration editing frame, edits the interaction interval duration through the duration editing frame, when a completion button is clicked after the edited target duration is 50ms, the terminal equipment receives corresponding duration setting operation, the duration indicated by the duration setting operation is 50ms, and responds to the duration setting operation, the target duration indicated by the duration setting operation is used as the interaction interval duration between the adjacent virtual key positions, and the set interaction interval duration is displayed on the right side of the key bearing position where the virtual key position B is positioned (namely, the middle position of the key bearing position where the virtual key position B and the virtual key position C are positioned).
In some embodiments, the terminal device may display the target number of virtual key positions in the target number of key bearing positions by: and displaying the first virtual key position in the virtual key positions of the target number in the first bearing position in the key bearing positions of the target number, and displaying other virtual key positions except the first virtual key position in the virtual key positions of the target number in the other bearing positions except the first bearing position in the key bearing positions of the target number.
Here, the key bearing positions and the virtual key positions have a one-to-one correspondence, that is, each key bearing position can only bear one virtual key position, for example, a virtual key position a is displayed in the key bearing position 1, a virtual key position B is displayed in the key bearing position 2, a virtual key position C is displayed in the key bearing position 3, and so on.
In some embodiments, the terminal device may control other virtual keys of the at least two virtual keys other than the first virtual key to be in a candidate state in response to a trigger operation for the first virtual key; and in response to the selection operation of the target virtual key in the candidate state, replacing the first virtual key displayed in the first bearing bit with the target virtual key for display so as to take the target virtual key and other virtual keys as the virtual keys of the target number.
In practical application, after the set virtual key a, virtual key B and virtual key C are set, as shown in fig. 14, when the set virtual key (e.g. virtual key a) is replaced, the terminal device responds to the clicking operation for the virtual key a to control multiple virtual keys corresponding to the virtual keyboard and the virtual mouse to be in a candidate state, responds to the selection operation for the virtual key in the candidate state (e.g. virtual key D) to replace the virtual key a with the virtual key D, and at this time, the virtual key D inherits the interaction mode and the interaction interval duration associated with the virtual key a, and of course, the user can also adjust and change the interaction mode and the interaction interval duration associated with the virtual key D.
In some embodiments, the terminal device may display the interaction parameters of the corresponding virtual key positions at the associated positions of the key bearing positions corresponding to the virtual key positions in the following manner: displaying interaction parameters of the first virtual key at the associated position of the first bearing position, and displaying interaction parameters of other corresponding virtual keys at the associated positions of other bearing positions; accordingly, the terminal device may exchange the positions of the virtual key positions by: responding to the dragging operation aiming at the first virtual key, and controlling the first virtual key and the interaction parameter of the first virtual key to move along the direction indicated by the dragging operation; and responding to the first virtual key position to move to a second bearing position bearing a second virtual key position in other bearing positions, displaying the first virtual key position in the second bearing position, displaying the interaction parameter of the first virtual key position at the key position of the second bearing position, displaying the second virtual key position in the first bearing position, and displaying the interaction parameter of the second virtual key position at the associated position of the first bearing position.
In practical application, the user may also exchange the operation sequence between the set virtual key positions, as shown in fig. 14, when the operation sequence between the virtual key position a (corresponding to the key bearing position 1) and the virtual key position B (corresponding to the key bearing position 1) is exchanged, the terminal device responds to the drag operation for the virtual key position a, controls the virtual key position a to move along the direction indicated by the drag operation, and when the drag operation is released by moving the virtual key position a to the key bearing position 2 where the virtual key position B is located, the exchange of the positions of the virtual key position a and the virtual key position B can be realized, that is, the virtual key position B is displayed in the key bearing position 1, the virtual key position a is displayed in the key bearing position 2, and when the positions are exchanged, the respective interaction modes and interaction interval durations may be exchanged or not according to the practical situation.
In addition, the user can replace the set virtual key, as shown in fig. 14, when deleting the set virtual key (such as the virtual key a), the terminal device responds to the deletion operation of the deletion control (x in the lower right corner) associated with the virtual key a, and deletes the virtual key a, and the associated interaction mode and interaction interval duration thereof.
In some embodiments, the terminal device may display an add entry for adding the combination key in the key position editing interface of the virtual scene by: when the adding entry is an editing adding entry, displaying at least two key bearing bits in a key position editing interface of the virtual scene, and taking the key bearing bits as the adding entry for adding the combination key; accordingly, the terminal device may receive the combination key addition instruction based on the addition entry trigger by: the following is performed for each of a target number of key carrying bits of the at least two key carrying bits: responding to triggering operation for the key bearing position, and displaying at least two virtual key positions; displaying a target virtual key position in the key bearing position in response to a selection operation for the target virtual key position in the at least two virtual key positions; in response to a setting operation of the interaction parameters for the target virtual key position, displaying the interaction parameters of the target virtual key position at the associated position of the key bearing position, wherein the interaction parameters comprise at least one of the following: interaction mode, interaction interval duration; and receiving a combined key addition instruction in response to the determining operation of the interaction parameters of the target virtual key positions corresponding to each key bearing position in the target number of key bearing positions, wherein the combined key addition instruction indicates that the target virtual key positions in the target number are combined based on the interaction parameters.
As shown in fig. 10, when the user clicks the edit adding entry 404, which is "edit key" shown in fig. 4, the terminal device displays the key carrying bit 1, the key carrying bit 2, and the newly added control 3 (the newly added control 3 is clicked) in response to the clicking operation, when the user clicks the target key carrying bit (e.g., the key carrying bit 1), pops up a plurality of virtual key bits corresponding to the virtual keyboard and the virtual mouse in the computer terminal for the user to select, and in response to the selecting operation for the target virtual key bit, displays the target virtual key bit in the target key carrying bit, e.g., when the user selects the target virtual key bit, which is "a", from the plurality of virtual key bits, displays the target virtual key bit, which is "a" in the target key carrying bit (e.g., the key carrying bit 1); the interaction parameters of the target virtual key positions can be set by adopting the setting mode of the interaction parameters such as the interaction mode or the interaction interval duration of the selected virtual key positions; thus, the operation setting of the selected one virtual key position is completed. Other virtual key positions can be selected in a similar way, and interaction parameters of the selected other virtual key positions can be set to finish setting of the virtual key positions of the target number, such as finishing setting of three virtual key positions of the virtual key position A, the virtual key position B and the virtual key position C. When the setting of the target number of virtual keys has been completed, a combination key addition instruction indicating to combine the target number of virtual keys may be received.
Step 103: and responding to the combined key adding instruction, and combining at least two key positions to obtain a target combined key, wherein the target combined key is associated with target virtual skills, and the target virtual skills are obtained by combining virtual skill links corresponding to the key positions.
After receiving the combination key addition instruction, the terminal device may respond to the combination key addition instruction to combine at least two key positions indicated by the combination key addition instruction to obtain a target combination key, for example, the combination key addition instruction indicates to combine three virtual key positions, namely, a virtual key position a, a virtual key position B and a virtual key position C, where an interaction mode of the virtual key position a is a single click, an interaction mode of the virtual key position B is a long press (press+release), an interaction mode of the virtual key position 3 is a sliding, and two adjacent operation time intervals are all 15ms, so that the terminal device may combine the virtual key position a, the virtual key position B and the virtual key position C according to interaction parameters of each virtual key position to generate a target combination key (virtual key position a-virtual key position B-virtual key position C), and display the target combination key in an interaction interface (game interface) of a virtual scene for a player to use.
In some embodiments, after the terminal device combines at least two key positions to obtain the target combination key, a modification control for modifying the target combination key may be displayed; responding to a triggering operation for the modification control, and displaying a modification interface comprising at least two virtual key positions; responding to a modification operation triggered based on a modification interface, and modifying at least two key positions included in the target combination key through at least two virtual key positions to obtain at least two modified key positions; in response to a determination operation for the modified at least two key positions, the modified at least two key positions are combined to obtain a new combination key to replace the target combination key.
Here, after the generated target combination key is added, the player may also edit and modify the added target combination key, for example, before modification, the target combination key is formed by combining "a+b+c+space", and edit and modify the target combination key to be formed by combining "a+d+c+space".
Step 104: and when a skill release instruction triggered based on the target combination key is received, controlling a target virtual object in the virtual scene to release the target virtual skill so as to assist the target virtual object to interact with other virtual objects in the virtual scene.
Here, after the player successfully adds the target combination key to the game interface, when the player triggers the combination key, the terminal device may receive a skill release instruction, and in response to the skill release instruction, control the target virtual object (the game character controlled by the current terminal device) to release the target virtual skill associated with the target combination key, so as to assist the target object to interact with other virtual objects (such as enemies) in the game. Wherein, the capacity of the target virtual skill associated with the target combination key is generally equivalent to or higher than the superposition of the virtual skill capacities corresponding to the key positions, and in this way, the continuous skill with high injury, high burst or high control effect can be realized.
In the following, an exemplary application of the embodiment of the present application in a practical application scenario will be described. Taking the cloud game as an example, as shown in fig. 4, when a player clicks an edit entry of a "combination key (macro)" of a menu bar during game play of the cloud game platform, the terminal device responds to the click operation, displays a key editing interface, and displays an add entry for adding the combination key in the key editing interface, wherein the add mode of the combination key can be multiple, so that an add entry corresponding to each add mode can be displayed, for example, an edit add entry of "acquire the share add entry from community sharing," record key "and" edit key ", and then the processing method of the combination key in the virtual scene provided by the embodiment of the application will be described one by one in combination with the three add modes.
Referring to fig. 6, fig. 6 is a flowchart illustrating a method for processing a combination key in a virtual scene according to an embodiment of the present application, where when an add entry is a shared add entry, the method includes:
step 201: the terminal device displays a shared adding entry for adding the combination key in a key position editing interface of the cloud game.
Step 202: and the terminal equipment responds to the triggering operation for the shared adding entrance and sends an acquisition request of the combination key to the middle server.
The middle server is a server between the terminal and the cloud game server, and can provide community sharing service of cloud game service, for example, each player can upload the self-configured combination keys to the middle server for downloading by other players.
Step 203: the center server acquires a plurality of candidate combination keys based on the acquisition request.
Step 204: the middle server returns a plurality of candidate combination keys to the terminal equipment.
Here, the obtaining request carries the game identifier of the cloud game, and the middle server obtains configured candidate combination keys shared by other players for the cloud game based on the game identifier in the obtaining request, and returns the candidate combination keys to the terminal device for display.
Each candidate combination key comprises at least two key positions, and each candidate combination key is associated with a corresponding target virtual skill, wherein the target virtual skill is a continuous skill obtained by connecting and combining the virtual skills associated with each key position included in the candidate combination key according to the operation sequence of each key position.
Step 205: the terminal device displays a plurality of candidate combination keys.
Here, when the number of candidate combination keys is plural (2 or more), each candidate combination key may be displayed in a certain order, as in fig. 4, when plural candidate combination keys are displayed, the download amount of each candidate combination key is determined, and the corresponding candidate combination keys are sequentially displayed in order of the download amount from high to low.
Step 206: the terminal device receives a combination key addition instruction in response to a selection operation for a target combination key of the plurality of candidate combination keys.
Wherein the combination key addition instruction indicates an addition target combination key.
Step 207: and the terminal equipment responds to the combination key adding instruction, and adds the selected target combination key to the operation control of the player for display.
Step 208: and when receiving a skill release instruction triggered based on the target combination key, the terminal equipment controls the target virtual object to release the target virtual skill associated with the target combination key so as to assist the target object to interact with other virtual objects.
Here, after the player successfully adds the target combination key to the game interface, when the player triggers the combination key, the terminal device may receive a skill release instruction, and in response to the skill release instruction, control the target virtual object (the game character controlled by the current terminal device) to release the target virtual skill associated with the target combination key, so as to assist the target object to interact with other virtual objects (such as enemies) in the game.
In the application scenario, after the target combination keys selected from the plurality of candidate combination keys are added to the operation control of the player, the player can also edit and modify the added target combination keys, for example, before modification, the target combination keys are formed by combining 'A+B+C+blank', and the target combination keys are formed by combining 'A+D+C+blank'. The player also uploads the self-configured combination key to the middle server, for example, through an uploading entry of 'i want to upload' shown in fig. 5, and uploads the self-configured combination key to the middle server for downloading by other users.
Through the mode, the excellent key position combination scheme or key position combination schemes under different requirements are shared through the community sharing mechanism, and a user can acquire the required combination keys according to own interaction requirements, so that the setting cost of the combination keys is reduced, and the setting efficiency is improved.
Referring to fig. 7, fig. 7 is a flowchart illustrating a method for processing a combination key in a virtual scene according to an embodiment of the present application, where when an add entry is a record add entry, the method includes:
step 301: and the terminal equipment displays a recording and adding inlet for adding the combination key in a key position editing interface of the cloud game.
Step 302: and the terminal equipment responds to the triggering operation aiming at the recording adding inlet, displays a key recording interface, displays at least two virtual keys in the key recording interface and starts recording control.
Step 303: and the terminal equipment responds to the triggering operation aiming at the start recording control, and records the touch operation aiming at the virtual key in the key recording interface to obtain recording parameters.
The recording parameters include which virtual key positions are touched by the user, a touch mode (such as pressing and bouncing) of touch operation for each touched virtual key position, touch time or touch time interval for each virtual key position, and the like.
Step 304: the terminal equipment sends the recording parameters to the cloud game server.
Step 305: and the cloud game server performs picture rendering based on the recording parameters.
Step 306: and the cloud game server returns the rendered game picture to the terminal equipment for display.
In practical applications, the cloud game server may also send the rendered game frame to other user terminals participating in the cloud game, such as a computer terminal on the side of other virtual objects, that is, display the game frame in the game of the computer terminal.
Step 307: and the terminal equipment responds to the triggering operation aiming at the record stopping control and receives a combination key adding instruction.
Step 308: and the terminal equipment responds to the combination key adding instruction, generates a target combination key based on the recording parameter, and adds the target combination key to an operation control of the player for display.
Referring to fig. 8, fig. 8 is a schematic diagram of a recording interface provided in an embodiment of the present application, when a user triggers the recording adding entry 403 in fig. 4, the terminal device responds to a trigger operation for the recording adding entry 403, displays a key recording interface, and displays a plurality of virtual keys 801 in the key recording interface, and a start recording control 802, when the user triggers the start recording control 802, the terminal device responds to the trigger operation, records the touch operation for the virtual keys received in the key recording interface, and switches the start recording control 802 displayed in the key recording interface to display a stop recording control 803, when the user triggers the stop recording control 803, the terminal device can receive a combination key adding instruction, responds to the combination key adding instruction, generates a target combination key based on recording parameters, and displays the generated target combination key 804 on the game interface.
When generating the target combination key based on the recording parameters, the target combination key is generated substantially according to the virtual key positions of the target number of the user touch and the touch parameters (such as the touch mode and the touch time) of each virtual key position in the virtual key positions of the target number. For example, in the recording process, the terminal device receives the recording parameters as follows: the clicking operation for the virtual key 1, the long-pressing operation for the virtual key 2 and the sliding operation for the virtual key 3, wherein the two adjacent operation time intervals are 15 milliseconds, and the terminal equipment can generate target combination keys (virtual key 1-virtual key 2-virtual key 3) according to the recording parameters and display the target combination keys in a game interface for players to use.
Step 309: and when receiving a skill release instruction triggered based on the target combination key, the terminal equipment controls the target virtual object to release the target virtual skill associated with the target combination key so as to assist the target object to interact with other virtual objects.
Here, after the player successfully adds the target combination key to the game interface, when the player triggers the combination key, the terminal device may receive a skill release instruction, and in response to the skill release instruction, control the target virtual object (the game character controlled by the current terminal device) to release the target virtual skill associated with the target combination key, so as to assist the target object to interact with other virtual objects (such as enemies) in the game.
Similarly, in this application scenario, after adding the target combination key selected from the plurality of candidate combination keys to the operation control of the player, the player may also edit and modify the added target combination key, for example, before modification, the target combination key is formed by combining "a+b+c+space" and edit and modify it to be formed by combining "a+d+c+space".
By the mode, the combination key is manufactured through the touch operation process of the recording key position, the setting cost of the combination key is reduced, and the setting efficiency is improved.
Referring to fig. 9, fig. 9 is a flowchart illustrating a method for processing a combination key in a virtual scene according to an embodiment of the present application, where when an add entry is an edit add entry, the method includes:
step 401: the terminal device displays an edit adding entry for adding the combination key in a key position editing interface of the cloud game.
Step 402: and responding to the triggering operation for the editing addition entry, and displaying a plurality of key bearing bits.
The key bearing bit is used for bearing a virtual key position selected by a user and can also be used as an operation control for adding the virtual key position.
Step 403: in response to a triggering operation for the key carrying bits, a plurality of virtual key bits are displayed.
The virtual key positions herein include all operable key positions corresponding to the virtual keyboard and the virtual mouse.
As shown in fig. 10, fig. 10 is an edit schematic diagram of a combination key provided in an embodiment of the present application, when a user clicks an edit add entry 404, which is an edit button shown in fig. 4, the terminal device responds to the click operation to display a button bearing bit 1, a button bearing bit 2, and an additional control 3 (the button bearing bit can be added by clicking the additional control 3), and when the user clicks a target button bearing bit (e.g. button bearing bit 1), pops up a plurality of virtual key positions corresponding to a virtual keyboard and a virtual mouse in a computer terminal.
Step 404: in response to a selection operation for the target virtual key, the target virtual key is displayed in the target key carrying bit.
For example, in fig. 10, when the user selects the target virtual key of "a" from among the plurality of virtual keys, the target virtual key of "a" is displayed in the target key carrying bit (e.g., key carrying bit 1).
Step 405: and displaying the mode control at a first position associated with the target key bearing position, and displaying the duration control at a second position associated with the target key bearing position.
Referring to fig. 11, fig. 11 is an edit schematic diagram of a combination key provided in an embodiment of the present application, in which a mode control is displayed below a key bearing position 1 (bearing a virtual key position a), and a duration control is displayed on the right; the mode control is used for setting the interaction mode of the target virtual key position carried in the target key carrying position, and when the target key carrying position is not the last one, the duration control is used for setting the interaction interval duration between the target key carrying position and the virtual key position in the next key carrying position adjacent to the target key carrying position.
Step 406: in response to a triggering operation for the mode control, a plurality of candidate interaction modes are displayed.
For example, when the user clicks the mode control in fig. 11, referring to fig. 12, fig. 12 is an edit schematic diagram of the combination key provided in the embodiment of the present application, the terminal device responds to the clicking operation to display a plurality of candidate interaction modes such as clicking, holding, and bouncing as shown in fig. 12, where clicking refers to clicking immediately after pressing a key, holding refers to not clicking after pressing the key, and bouncing refers to bouncing the pressed key.
Step 407: in response to a selection operation for the target interaction mode, the target interaction mode is displayed at a first location associated with the target key bearing bit.
For example, when the user clicks on the target interaction pattern of one click in fig. 12, the target interaction pattern of "one click" is displayed under the key bearing bit 1 (bearing the virtual key bit a).
It should be noted that, if the selected target interaction mode is "press" interaction mode, a pop-up operation is added after pressing, otherwise, prompt information as shown in fig. 13 is displayed when editing is completed, and fig. 13 is an edit prompt schematic diagram of the combination key provided in the embodiment of the present application.
Step 408: and responding to a time length setting operation triggered based on the time length control, taking the target time length which is set by the time length setting operation as the interaction interval time length between adjacent virtual key positions, and displaying the interaction interval time length at a second position.
For example, referring to fig. 14, fig. 14 is a schematic diagram illustrating setting of a duration interval associated with a combination key according to an embodiment of the present application, when a user clicks a duration control on the right side of a key carrying bit carrying a virtual key bit a, a duration editing box is displayed by the terminal device in response to the clicking operation, and an interaction interval duration is displayed on the right side of the key carrying bit carrying the virtual key bit a if the duration of the interaction interval is 25ms by the duration editing box and the target duration of the editing is 25ms.
Through steps 404-408, the setting of the interaction mode and the interaction interval duration associated with the selected target virtual key is realized, so that the operation setting of one virtual key in the target combination key is completed.
Step 409: and judging whether the setting of the virtual key positions of the target number is completed or not.
Here, when the setting of the target number of virtual keys is not completed, step 404 is executed, that is, steps 404 to 408 are circularly executed to set other virtual keys to complete the setting of the target number of virtual keys, such as the setting of three virtual keys, i.e., virtual key a, virtual key B, and virtual key C. When the setting of the target number of virtual keys has been completed, step 410 is performed.
Step 410: in response to a determination operation for a target number of virtual key positions, a combination key addition instruction is received.
Wherein the combination key addition instruction indicates that a target number of virtual key positions are combined.
Step 411: and responding to the combination key adding instruction, combining the virtual key positions of the target number to obtain target combination keys, and adding the target combination keys into the operation control of the player for display.
Step 412: and when a skill release instruction triggered based on the target combination key is received, controlling the target virtual object to release the target virtual skill associated with the target combination key so as to assist the target object to interact with other virtual objects.
Here, after the player successfully adds the target combination key to the game interface, when the player triggers the combination key, the terminal device may receive a skill release instruction, and in response to the skill release instruction, control the target virtual object (the game character controlled by the current terminal device) to release the target virtual skill associated with the target combination key, so as to assist the target object to interact with other virtual objects (such as enemies) in the game.
Similarly, in this application scenario, after adding the target combination key selected from the plurality of candidate combination keys to the operation control of the player, the player may also edit and modify the added target combination key, for example, before modification, the target combination key is formed by combining "a+b+c+space" and edit and modify it to be formed by combining "a+d+c+space".
In practical applications, the user may also delete, replace, or set an operation sequence between the set virtual keys, as shown in fig. 14, after the virtual key a, the virtual key B, and the virtual key C are set, when deleting the set virtual key (e.g., the virtual key a), the terminal device deletes the virtual key a and the related interaction mode and interaction interval duration thereof in response to a delete operation for the deletion control (x in the lower right corner) associated with the virtual key a.
When the set virtual key (such as the virtual key A) is replaced, the terminal equipment responds to clicking operation for the virtual key A, controls a plurality of virtual keys corresponding to the virtual keyboard and the virtual mouse to be in a candidate state, responds to selecting operation for the virtual key (such as the virtual key D) in the candidate state, replaces the virtual key A with the virtual key D, and at the moment, the virtual key D inherits the interaction mode and the interaction interval duration associated with the virtual key A, and the user can adjust and change the interaction mode and the interaction interval duration associated with the virtual key D.
When the operation sequence between the virtual key position A (corresponding to the key bearing position 1) and the virtual key position B (corresponding to the key bearing position 1) is exchanged, the terminal equipment responds to the dragging operation for the virtual key position A, controls the virtual key position A to move along the direction indicated by the dragging operation, and when the dragging operation is released when the virtual key position A moves to the key bearing position 2 where the virtual key position B is positioned, the exchange of the positions of the virtual key position A and the virtual key position B can be realized, namely the virtual key position B is displayed in the key bearing position 1, the virtual key position A is displayed in the key bearing position 2, and the respective interaction modes and interaction interval durations can be exchanged or not exchanged according to actual conditions.
By the mode, the editing flow of the programmed combination key positions is provided, the setting freedom degree of the combination keys is improved, and the fine requirements of high-order players can be met.
Continuing with the description below of an exemplary architecture of the processing device 465 implemented as a software module for a combination key in a virtual scene provided by an embodiment of the present application, in some embodiments, the software modules stored in the processing device 465 for a combination key in a virtual scene of the memory 460 of fig. 2 may include: an entry display module 4651 for displaying an addition entry for adding a combination key in a key position editing interface of the virtual scene; an instruction receiving module 4652, configured to receive a combination key addition instruction triggered based on the addition entry, where the combination key addition instruction indicates that at least two key positions are combined, and each key position is associated with a corresponding virtual skill; a key position combining module 4653, configured to combine the at least two key positions in response to the combined key adding instruction to obtain a target combined key, where the target combined key is associated with a target virtual skill, and the target virtual skill is obtained by combining virtual skill links corresponding to the key positions; and the skill release module 4654 is configured to, when receiving a skill release instruction triggered based on the target combination key, control a target virtual object in the virtual scene to release the target virtual skill so as to assist the target virtual object in interacting with other virtual objects in the virtual scene.
In some embodiments, the instruction receiving module is further configured to, when the add portal is a shared add portal, display at least one candidate combination key that is selectable in response to a trigger operation for the shared add portal, the candidate combination key including at least two key positions; and receiving the combination key addition instruction in response to a selection operation of a target combination key in the at least one candidate combination key, wherein the combination key addition instruction indicates to add the target combination key for display.
In some embodiments, the instruction receiving module is further configured to determine a selection priority of each of the candidate combination keys when the number of candidate combination keys is at least two; and displaying the corresponding candidate combination keys according to the order of the selection priority from high to low.
In some embodiments, the instruction receiving module is further configured to display, when the types of the candidate combination keys are at least two, candidate combination keys of a target type in the at least two candidate combination keys using a first display style, and display candidate combination keys of other types in the at least two candidate combination keys except the target type using a second display style; wherein the first display style is different from the second display style, and the first display style characterizes the selection priority of the candidate combination keys of the target type higher than the selection priority of the candidate combination keys of the other types.
In some embodiments, the apparatus further comprises: the prediction module is used for acquiring the selection reference characteristics of each candidate combination key; wherein the selected reference feature comprises at least one of: the download amount of the candidate combination key, the adaptation degree between the interaction characteristic of the target virtual object and the skill characteristic of the virtual skill associated with the candidate combination key; and calling a machine learning model to conduct prediction processing based on the selection reference characteristics to obtain the selection priority of each candidate combination key.
In some embodiments, the instruction receiving module is further configured to, when the add-on entry is a record add-on entry, display a key recording interface of the virtual scene in response to a trigger operation for the record add-on entry, and display at least two virtual keys in the key recording interface; recording touch operation in the key position recording interface in response to recording operation triggered based on the key position recording interface, so as to obtain virtual key positions with target numbers corresponding to the touch operation; and responding to a recording stopping operation triggered based on the key position recording interface, and receiving the combination key adding instruction, wherein the combination key adding instruction indicates that virtual key positions of the target number are combined.
In some embodiments, the key position combination module is further configured to obtain, in response to the combination key addition instruction, a touch parameter for each virtual key position in the target number of virtual key positions, where the touch parameter includes at least one of: a touch mode and a touch moment; combining the virtual key positions of the target number based on the touch parameters to obtain a target combined key; and the target virtual skills associated with the target combination key are obtained by combining virtual skill links corresponding to the virtual key positions.
In some embodiments, the instruction receiving module is further configured to, when the add entry is an edit add entry, display at least two virtual key positions in response to a trigger operation for the edit add entry; responding to the selection operation of the target number of virtual keys in the at least two virtual keys, displaying the target number of key bearing bits in the key editing interface, and displaying the target number of virtual keys in the target number of key bearing bits, wherein the key bearing bits are in a corresponding relation with the virtual keys; in response to a setting operation of interaction parameters for each virtual key position in the target number of virtual key positions, displaying the interaction parameters of the corresponding virtual key positions at the associated positions of key bearing positions corresponding to the virtual key positions, wherein the interaction parameters comprise at least one of the following: interaction mode, interaction interval duration; and receiving the combination key addition instruction in response to the determination operation for the interaction parameter, wherein the combination key addition instruction indicates that the virtual key positions of the target number are combined based on the interaction parameter.
In some embodiments, the instruction receiving module is further configured to, when the interaction parameter includes an interaction pattern, perform, for each virtual key of the target number of virtual keys, the following: displaying a mode control for setting the interaction mode of the virtual key at the associated position of the key bearing position; responding to the triggering operation for the mode control, and displaying at least one candidate interaction mode corresponding to the virtual key position; and setting the interaction mode of the virtual key position as the target interaction mode in response to a selection operation of the target interaction mode in the at least one candidate interaction mode, and displaying the target interaction mode at the association position.
In some embodiments, the instruction receiving module is further configured to display a setting prompt message, where the setting prompt message is used to prompt that an auxiliary interaction mode needs to be added to the target interaction mode; and responding to an interaction mode adding operation triggered based on the setting prompt information, combining the target interaction mode with the auxiliary interaction mode to obtain a combined interaction mode, and displaying the combined interaction mode at the association position.
In some embodiments, the instruction receiving module is further configured to, when the interaction parameter includes an interaction interval duration, perform the following processing for any two adjacent virtual keys of the target number of virtual keys: displaying a duration control for setting the interaction interval duration of the adjacent virtual key positions at the associated positions of the two adjacent key bearing positions; and responding to a time length setting operation triggered based on the time length control, taking the target time length indicated to be set by the time length setting operation as the interaction interval time length between the adjacent virtual key positions, and displaying the interaction interval time length at the association position.
In some embodiments, the instruction receiving module is further configured to display, in a first bearing bit of the target number of key bearing bits, a first virtual key bit of the target number of virtual key bits, and display, in other bearing bits of the target number of key bearing bits than the first bearing bit, other virtual key bits of the target number of virtual key bits than the first virtual key bit.
In some embodiments, the apparatus further comprises: a key position replacing module, configured to control other virtual keys of the at least two virtual keys, except for the first virtual key, to be in a candidate state in response to a triggering operation for the first virtual key; and in response to a selection operation for a target virtual key in a candidate state, replacing the first virtual key displayed in the first bearing position with the target virtual key for display so as to take the target virtual key and the other virtual keys as the virtual keys of the target number.
In some embodiments, the instruction receiving module is further configured to display, at an associated position of the first bearer, interaction parameters of the first virtual key, and display, at an associated position of the other bearer, interaction parameters of the other virtual key; the apparatus further comprises: a key position moving module, configured to control the first virtual key position and an interaction parameter of the first virtual key position to move along a direction indicated by the drag operation in response to the drag operation for the first virtual key position; and responding to the first virtual key position to move to a second bearing position bearing a second virtual key position in the other bearing positions, displaying the first virtual key position in the second bearing position, displaying the interaction parameter of the first virtual key position at the key position of the second bearing position, displaying the second virtual key position in the first bearing position, and displaying the interaction parameter of the second virtual key position at the associated position of the first bearing position.
In some embodiments, the entry display module is further configured to display at least two key bearing bits in a key position editing interface of the virtual scene when the add entry is an edit add entry, and use the key bearing bits as an add entry for adding a combination key; the instruction receiving module is further configured to perform, for each of a target number of key carrying bits of the at least two key carrying bits, the following processing: responding to triggering operation for the key bearing position, and displaying at least two virtual key positions; displaying a target virtual key position in the key bearing position in response to a selection operation for the target virtual key position in the at least two virtual key positions; in response to a setting operation of interaction parameters for the target virtual key, displaying the interaction parameters of the target virtual key at the associated position of the key bearing position, wherein the interaction parameters comprise at least one of the following: interaction mode, interaction interval duration; and receiving the combined key addition instruction in response to the determination operation of the interaction parameters of the target virtual key positions corresponding to each key bearing position in the target number of key bearing positions, wherein the combined key addition instruction indicates that the target virtual key positions in the target number are combined based on the interaction parameters.
In some embodiments, after combining the at least two key positions to obtain the target combination key, the apparatus further includes: the key position modification module is used for displaying a modification control for modifying the target combination key; responding to the triggering operation for the modification control, and displaying a modification interface comprising at least two virtual key positions; responding to the modification operation triggered by the modification interface, and modifying at least two key positions included in the target combination key through the at least two virtual key positions to obtain at least two modified key positions; and in response to the determination operation for the modified at least two key positions, combining the modified at least two key positions to obtain a new combined key so as to replace the target combined key.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the processing method of the combination key in the virtual scene according to the embodiment of the application.
Embodiments of the present application provide a computer readable storage medium storing executable instructions that, when executed by a processor, cause the processor to perform a method for processing a combination key in a virtual scene provided by embodiments of the present application, for example, a method as shown in fig. 3.
In some embodiments, the computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or, alternatively, distributed across multiple sites and interconnected by a communication network.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims (20)

1. A method for processing a combination key in a virtual scene, the method comprising:
displaying an adding inlet for adding the combination key in a key position editing interface of the virtual scene;
receiving a combination key addition instruction triggered based on the addition entry, wherein the combination key addition instruction indicates that at least two key positions are combined, and each key position is associated with a corresponding virtual skill;
responding to the combined key adding instruction, and combining the at least two key positions to obtain a target combined key, wherein the target combined key is associated with target virtual skills, and the target virtual skills are obtained by combining virtual skill links corresponding to the key positions;
And when a skill release instruction triggered based on the target combination key is received, controlling a target virtual object in the virtual scene to release the target virtual skill so as to assist the target virtual object to interact with other virtual objects in the virtual scene.
2. The method of claim 1, wherein the receiving a combination key addition instruction triggered based on the addition entry comprises:
when the add portal is a shared add portal, displaying at least one candidate combination key which can be selected in response to a triggering operation for the shared add portal, wherein the candidate combination key comprises at least two key positions;
and receiving the combination key addition instruction in response to a selection operation of a target combination key in the at least one candidate combination key, wherein the combination key addition instruction indicates to add the target combination key for display.
3. The method of claim 2, wherein displaying the at least one candidate combination key that is selectable comprises:
when the number of the candidate combination keys is at least two, determining the selection priority of each candidate combination key;
and displaying the corresponding candidate combination keys according to the order of the selection priority from high to low.
4. The method of claim 2, wherein displaying the at least one candidate combination key that is selectable comprises:
when the types of the candidate combination keys are at least two types, displaying the candidate combination keys of the target type in the at least two types of candidate combination keys by adopting a first display style, and displaying the candidate combination keys of other types except the target type in the at least two types of candidate combination keys by adopting a second display style;
wherein the first display style is different from the second display style, and the first display style characterizes the selection priority of the candidate combination keys of the target type higher than the selection priority of the candidate combination keys of the other types.
5. The method of claim 3 or 4, wherein the method further comprises:
acquiring selection reference characteristics of each candidate combination key; wherein the selected reference feature comprises at least one of: the download amount of the candidate combination key, the adaptation degree between the interaction characteristic of the target virtual object and the skill characteristic of the virtual skill associated with the candidate combination key;
and calling a machine learning model to conduct prediction processing based on the selection reference characteristics to obtain the selection priority of each candidate combination key.
6. The method of claim 1, wherein the receiving a combination key addition instruction triggered based on the addition entry comprises:
when the adding inlet is a recording adding inlet, responding to triggering operation for the recording adding inlet, displaying a key recording interface of the virtual scene, and displaying at least two virtual keys in the key recording interface;
recording touch operation in the key position recording interface in response to recording operation triggered based on the key position recording interface, so as to obtain virtual key positions with target numbers corresponding to the touch operation;
and responding to a recording stopping operation triggered based on the key position recording interface, and receiving the combination key adding instruction, wherein the combination key adding instruction indicates that virtual key positions of the target number are combined.
7. The method of claim 6, wherein combining the at least two key positions in response to the combination key addition instruction results in a target combination key, comprising:
responding to the combined key adding instruction, and acquiring touch parameters of each virtual key position in the target number of virtual key positions, wherein the touch parameters comprise at least one of the following: a touch mode and a touch moment;
Combining the virtual key positions of the target number based on the touch parameters to obtain a target combined key;
and the target virtual skills associated with the target combination key are obtained by combining virtual skill links corresponding to the virtual key positions.
8. The method of claim 1, wherein the receiving a combination key addition instruction triggered based on the addition entry comprises:
when the adding portal is an editing adding portal, responding to a triggering operation for the editing adding portal, and displaying at least two virtual key positions;
responding to the selection operation of the target number of virtual keys in the at least two virtual keys, displaying the target number of key bearing bits in the key editing interface, and displaying the target number of virtual keys in the target number of key bearing bits, wherein the key bearing bits are in a corresponding relation with the virtual keys;
in response to a setting operation of interaction parameters for each virtual key position in the target number of virtual key positions, displaying the interaction parameters of the corresponding virtual key positions at the associated positions of key bearing positions corresponding to the virtual key positions, wherein the interaction parameters comprise at least one of the following: interaction mode, interaction interval duration;
And receiving the combination key addition instruction in response to the determination operation for the interaction parameter, wherein the combination key addition instruction indicates that the virtual key positions of the target number are combined based on the interaction parameter.
9. The method of claim 8, wherein the displaying, in response to the setting operation of the interaction parameter for each virtual key of the target number of virtual keys, the interaction parameter for the corresponding virtual key at the associated position of the key bearing corresponding to each virtual key comprises:
when the interaction parameter includes an interaction pattern, the following is performed for each virtual key of the target number of virtual keys:
displaying a mode control for setting the interaction mode of the virtual key at the associated position of the key bearing position;
responding to the triggering operation for the mode control, and displaying at least one candidate interaction mode corresponding to the virtual key position;
and setting the interaction mode of the virtual key position as the target interaction mode in response to a selection operation of the target interaction mode in the at least one candidate interaction mode, and displaying the target interaction mode at the association position.
10. The method of claim 9, wherein setting the interaction pattern of the virtual key location to the target interaction pattern and displaying the target interaction pattern at the associated location comprises:
displaying setting prompt information, wherein the setting prompt information is used for prompting that an auxiliary interaction mode needs to be added to the target interaction mode;
and responding to an interaction mode adding operation triggered based on the setting prompt information, combining the target interaction mode with the auxiliary interaction mode to obtain a combined interaction mode, and displaying the combined interaction mode at the association position.
11. The method of claim 8, wherein the displaying, in response to the setting operation of the interaction parameter for each virtual key of the target number of virtual keys, the interaction parameter for the corresponding virtual key at the associated position of the key bearing corresponding to each virtual key comprises:
when the interaction parameter includes an interaction interval duration, the following processing is executed for any two adjacent virtual keys in the target number of virtual keys:
displaying a duration control for setting the interaction interval duration of the adjacent virtual key positions at the associated positions of the two adjacent key bearing positions;
And responding to a time length setting operation triggered based on the time length control, taking the target time length indicated to be set by the time length setting operation as the interaction interval time length between the adjacent virtual key positions, and displaying the interaction interval time length at the association position.
12. The method of claim 8, wherein displaying the target number of virtual key positions in the target number of key bearing positions comprises:
displaying a first virtual key position in the virtual key positions of the target number in a first bearing position in the key bearing positions of the target number, and
and displaying other virtual key positions except the first virtual key position in the virtual key positions of the target number in other bearing positions except the first bearing position in the key bearing positions of the target number.
13. The method of claim 12, wherein the method further comprises:
controlling other virtual keys of the at least two virtual keys except the first virtual key to be in a candidate state in response to triggering operation for the first virtual key;
and in response to a selection operation for a target virtual key in a candidate state, replacing the first virtual key displayed in the first bearing position with the target virtual key for display so as to take the target virtual key and the other virtual keys as the virtual keys of the target number.
14. The method of claim 12, wherein displaying the interaction parameters of the corresponding virtual key at the associated position of the key bearing bit corresponding to each virtual key comprises:
displaying interaction parameters of the first virtual key at the associated position of the first bearing position, and displaying interaction parameters of the other virtual key at the associated positions of the other bearing positions;
the method further comprises the steps of:
controlling the first virtual key and the interaction parameter of the first virtual key to move along the direction indicated by the dragging operation in response to the dragging operation of the first virtual key;
in response to the first virtual key moving to a second bearing position bearing a second virtual key in the other bearing positions, displaying the first virtual key in the second bearing position, displaying interaction parameters of the first virtual key at key positions of the second bearing position, and
and displaying the second virtual key position in the first bearing position, and displaying the interaction parameter of the second virtual key position at the associated position of the first bearing position.
15. The method of claim 1, wherein displaying an add entry for adding a combination key in a key editing interface of a virtual scene comprises:
When the adding entry is an editing adding entry, displaying at least two key bearing bits in a key position editing interface of the virtual scene, and taking the key bearing bits as the adding entry for adding the combination key;
the receiving a combination key addition instruction triggered based on the addition entry comprises:
performing the following for each of a target number of the at least two key carrying bits:
responding to triggering operation for the key bearing position, and displaying at least two virtual key positions;
displaying a target virtual key position in the key bearing position in response to a selection operation for the target virtual key position in the at least two virtual key positions;
in response to a setting operation of interaction parameters for the target virtual key, displaying the interaction parameters of the target virtual key at the associated position of the key bearing position, wherein the interaction parameters comprise at least one of the following: interaction mode, interaction interval duration;
and receiving the combined key addition instruction in response to the determination operation of the interaction parameters of the target virtual key positions corresponding to each key bearing position in the target number of key bearing positions, wherein the combined key addition instruction indicates that the target virtual key positions in the target number are combined based on the interaction parameters.
16. The method of claim 1, wherein after combining the at least two key positions to obtain a target combination key, the method further comprises:
displaying a modification control for modifying the target combination key;
responding to the triggering operation for the modification control, and displaying a modification interface comprising at least two virtual key positions;
responding to the modification operation triggered by the modification interface, and modifying at least two key positions included in the target combination key through the at least two virtual key positions to obtain at least two modified key positions;
and in response to the determination operation for the modified at least two key positions, combining the modified at least two key positions to obtain a new combined key so as to replace the target combined key.
17. A processing apparatus for a combination key in a virtual scene, the apparatus comprising:
the entry display module is used for displaying an addition entry for adding the combination key in a key position editing interface of the virtual scene;
the instruction receiving module is used for receiving a combined key addition instruction triggered based on the addition entry, the combined key addition instruction indicates to combine at least two key positions, and each key position is associated with a corresponding virtual skill;
The key position combination module is used for responding to the combination key adding instruction and combining the at least two key positions to obtain a target combination key, wherein the target combination key is associated with target virtual skills, and the target virtual skills are obtained by combining virtual skill links corresponding to the key positions;
and the skill release module is used for controlling a target virtual object in the virtual scene to release the target virtual skill when receiving a skill release instruction triggered based on the target combination key so as to assist the target virtual object to interact with other virtual objects in the virtual scene.
18. A terminal device, comprising:
a memory for storing executable instructions;
a processor, configured to implement the method for processing a combination key in a virtual scene according to any one of claims 1 to 16 when executing the executable instructions stored in the memory.
19. A computer readable storage medium storing executable instructions for implementing the method of processing combination keys in a virtual scene according to any one of claims 1 to 16 when executed by a processor.
20. A computer program product comprising a computer program or instructions which, when executed by a processor, implements the method of handling combination keys in a virtual scene as claimed in any one of claims 1 to 16.
CN202210531267.8A 2022-05-16 2022-05-16 Processing method, device, equipment and storage medium for combination key in virtual scene Pending CN117101144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210531267.8A CN117101144A (en) 2022-05-16 2022-05-16 Processing method, device, equipment and storage medium for combination key in virtual scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210531267.8A CN117101144A (en) 2022-05-16 2022-05-16 Processing method, device, equipment and storage medium for combination key in virtual scene

Publications (1)

Publication Number Publication Date
CN117101144A true CN117101144A (en) 2023-11-24

Family

ID=88800740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210531267.8A Pending CN117101144A (en) 2022-05-16 2022-05-16 Processing method, device, equipment and storage medium for combination key in virtual scene

Country Status (1)

Country Link
CN (1) CN117101144A (en)

Similar Documents

Publication Publication Date Title
CN114247141B (en) Method, device, equipment, medium and program product for guiding tasks in virtual scene
CN112076473B (en) Control method and device of virtual prop, electronic equipment and storage medium
CN112402963B (en) Information sending method, device, equipment and storage medium in virtual scene
JP7447299B2 (en) Adaptive display method and device for virtual scenes, electronic equipment, and computer program
TWI793837B (en) Method of controlling virtual object, device, electrical equipment, storage medium, and computer program product
US11803301B2 (en) Virtual object control method and apparatus, device, storage medium, and computer program product
CN112402959A (en) Virtual object control method, device, equipment and computer readable storage medium
CN112711458A (en) Method and device for displaying prop resources in virtual scene
CN112402960A (en) State switching method, device, equipment and storage medium in virtual scene
WO2023109288A1 (en) Method and apparatus for controlling game-opening operation in virtual scene, and device, storage medium and program product
CN112306351A (en) Virtual key position adjusting method, device, equipment and storage medium
CN112669194A (en) Animation processing method, device and equipment in virtual scene and storage medium
CN114210071A (en) Game live broadcast display method and device, storage medium and electronic equipment
JP7232350B2 (en) Virtual key position adjustment method and device, computer device and program
CN117101144A (en) Processing method, device, equipment and storage medium for combination key in virtual scene
CN116688502A (en) Position marking method, device, equipment and storage medium in virtual scene
CN114425159A (en) Motion processing method, device and equipment in virtual scene and storage medium
CN114344920A (en) Data recording method, device, equipment and storage medium based on virtual scene
CN114130011A (en) Object selection method, device, storage medium and program product for virtual scene
CN114210057B (en) Method, device, equipment, medium and program product for picking up and processing virtual prop
CN114219924B (en) Adaptive display method, device, equipment, medium and program product for virtual scene
WO2023221716A1 (en) Mark processing method and apparatus in virtual scenario, and device, medium and product
WO2024060888A1 (en) Virtual scene interaction processing method and apparatus, and electronic device, computer-readable storage medium and computer program product
WO2024012016A1 (en) Information display method and apparatus for virtual scenario, and electronic device, storage medium and computer program product
WO2023168990A1 (en) Performance recording method and apparatus in virtual scene, device, storage medium, and program product

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