Displaying method of virtual environment view, apparatus, and computer program
Patent Information
- Application Number
- JP2024067203
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-08-26
- Filing Date
- 2024-04-18
- Publication Date
- 2024-11-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The layout of user interface controls (UI controls) in virtual environment screens is often complex and inefficient, leading to low human-computer interaction efficiency, especially when the number of controls is large.
A method and apparatus for combining and splitting UI controls on virtual environment screens based on user configuration operations, allowing users to merge rarely used or frequently combined controls into a single control, and vice versa, thereby simplifying the layout and improving interaction efficiency.
This approach simplifies the control process for users, enhances human-computer interaction efficiency, and allows for a more intuitive and flexible control layout that matches user preferences and habits.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] This application claims priority to a Chinese patent application filed on August 26, 2020, bearing application number 202010870309.1 and entitled "Virtual environment screen display method, apparatus, device and storage medium," the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the field of human-computer interaction, and in particular to a method, an apparatus, a device and a storage medium for displaying a virtual environment screen. [Background technology]
[0003] In an application program based on a virtual environment, for example a first-person shooter game, a user can control a virtual object to perform actions such as crouching, lying prone, shooting, running, etc.
[0004] When the game is executed, a virtual environment screen is displayed, and a plurality of user interface controls (UI controls) are displayed on the virtual environment screen, the plurality of UI controls are distributed on the virtual environment screen according to a certain layout, and each UI control realizes controlling a virtual object to perform one action, for example, UI control 1 controls the virtual object to perform a crouching action, and UI control 2 controls the virtual object to perform a prone action.
[0005] In the above technical solutions, when the number of UI controls is large, the layout of the UI controls on the virtual environment screen is generally complicated, resulting in low human-computer interaction efficiency. Summary of the Invention [Problem to be solved by the invention]
[0006] The embodiments of the present application provide a method, apparatus, device and storage medium for displaying a virtual environment screen, and change the layout of UI controls on a virtual environment screen to improve the efficiency of human-computer interaction. [Means for solving the problem]
[0007] According to one aspect of the present application, there is provided a method for displaying a virtual environment screen executed by a computing device, the method comprising: displaying a virtual environment screen, wherein a first control and a second control are displayed on the virtual environment screen, the first control and the second control belonging to different control types; receiving a binding setup operation for the first control and the second control; and binding the first control and the second control to a third control based on the binding setting operation.
[0008] According to another aspect of the present application, there is provided a display device for a virtual environment screen, the device comprising: a display module for displaying a virtual environment screen, the display module displaying a first control and a second control on the virtual environment screen, the first control and the second control belonging to different control types; a receiving module for receiving a binding setting operation for the first control and the second control; and a processing module that binds the first control and the second control to a third control based on the binding setting operation.
[0009] According to another aspect of the present application, there is provided a computing device including a processor and a memory, wherein at least one instruction, at least one program, code set or instruction set is stored in the memory, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to realize the method for displaying a virtual environment screen described in the above aspect.
[0010] According to another aspect of the present application, there is provided a computer-readable storage medium having stored therein at least one instruction, at least one program, code set or instruction set, the at least one instruction, the at least one program, code set or instruction set being loaded and executed by a processor to realize the method for displaying a virtual environment screen described in the above aspect.
[0011] According to another aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium, the computer instructions being read by a processor of a computing device from the computer readable storage medium and executed by the processor to cause the computing device to perform the method for displaying a virtual environment screen according to the above aspect. Effect of the Invention
[0012] The advantageous effects obtained by the technical means according to the embodiments of the present application include at least the following:
[0013] By combining different types of controls displayed on the virtual environment screen according to the received combination setting operation, the user can independently set to combine UI controls that are rarely used into the same UI control, or combine UI controls that need to be used in combination into the same UI control. Combining the UI controls simplifies the layout of the UI controls on the virtual environment screen, thereby simplifying the process for the user to control virtual objects, and improving the efficiency of human-computer interaction. [Brief description of the drawings]
[0014] In order to more clearly describe the technical means in the embodiments of the present application, the drawings that need to be used in the description of the embodiments are briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings without creative labor.
[0015] [Figure 1] FIG. 1 is a block diagram of a computer system according to an exemplary embodiment of the present application. [Diagram 2] FIG. 2 is a schematic diagram of a state synchronization technique according to an exemplary embodiment of the present application; [Diagram 3] FIG. 2 is a schematic diagram of a frame synchronization technique according to an exemplary embodiment of the present application; [Figure 4] 2 is a flowchart of a method for displaying a virtual environment screen according to an exemplary embodiment of the present application. [Diagram 5] 4 is a flowchart of a method for displaying a virtual environment screen according to another exemplary embodiment of the present application. [Figure 6] FIG. 2 is a schematic diagram of a virtual environment screen before binding a control according to an exemplary embodiment of the present application. [Figure 7] FIG. 2 is a schematic diagram of a setting interface corresponding to a binding setting operation according to an exemplary embodiment of the present application; [Figure 8] FIG. 13 is a schematic diagram of an updated virtual environment screen according to an exemplary embodiment of the present application; [Figure 9] 4 is a flowchart of a method for displaying a virtual environment screen according to another exemplary embodiment of the present application. [Figure 10] 4 is a flowchart of a method for displaying a virtual environment screen according to another exemplary embodiment of the present application. [Figure 11] FIG. 2 is a schematic diagram of splitting controls according to an exemplary embodiment of the present application; [Figure 12] FIG. 13 is a schematic diagram of an updated virtual environment screen according to another exemplary embodiment of the present application; [Figure 13] 4 is a flowchart of a method for displaying a virtual environment screen according to another exemplary embodiment of the present application. [Figure 14] 4 is a flow chart of a method of binding setup operation according to an exemplary embodiment of the present application. [Figure 15] 1 is a flowchart of a method for determining a state of a virtual object according to an exemplary embodiment of the present application; [Figure 16] FIG. 2 is a block diagram of a display device for a virtual environment screen according to an exemplary embodiment of the present application. [Figure 17] FIG. 1 is a schematic diagram of a computing device according to an exemplary embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] In order to make the objectives, technical means and advantages of the present application clearer, the embodiments of the present application are described in more detail below with reference to the drawings.
[0017] First, the nouns used in the embodiments of the present application will be interpreted.
[0018] A virtual environment is a virtual environment that is displayed (or provided) when an application program is executed on a terminal. The virtual environment may be a simulation environment of the real world, a semi-simulated / semi-fictional environment, or a purely fictional environment. The virtual environment may be any one of a 2D virtual environment, a 2.5D virtual environment, and a 3D virtual environment, and the present application is not limited thereto. In the following embodiment, the virtual environment is described as a 3D virtual environment.
[0019] A virtual object is a movable object in a virtual environment. The movable object may be a virtual character, a virtual animal, an animated character, etc., such as a character, an animal, a plant, a drum, a wall, a stone, etc. displayed in a three-dimensional virtual environment. Preferably, the virtual object is a three-dimensional solid model constructed based on animation skeleton technology. Each virtual object has its shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment. A virtual object broadly refers to one or more virtual objects in a virtual environment.
[0020] A User Interface (UI) control refers to any visible control or element that appears on the user interface of an application program, such as an image, an input box, a text box, a button, a tag, etc. Some of the UI controls respond to user operations, for example, a user can input characters into an input box, and the user interacts with the user interface through the UI controls.
[0021] The method according to the present application can be applied to virtual reality application programs, 3D map programs, military simulation programs, First-Person Shooting Games (FPS) games, Multiplayer Online Battle Arena Games (MOBA), Battle Royale type shooting games, Virtual Reality (VR) application programs, Augmented Reality (AR), etc., and the following embodiments will be described using the application to games as an example.
[0022] A game based on a virtual environment is composed of one or more game world maps, and the virtual environment in the game simulates a scene in the real world. A user can control a virtual object in the game to perform actions such as walking, running, jumping, shooting, fighting, driving, being attacked by other virtual objects, being injured by the virtual environment, attacking other virtual objects, using obstruction-type throwing tools, and rescuing teammates on the same team in the virtual environment, which is highly interactive, and multiple users can form a team online to play competitive games. A virtual environment screen corresponding to the game is displayed on a terminal used by a user, and the virtual environment screen is obtained by observing the virtual environment from the visual angle of the virtual object controlled by the user. A plurality of UI controls are displayed on the virtual environment screen to form a user interface, and each UI control controls the virtual object to perform a different action. For example, when a user triggers UI control 1, the user controls the virtual object to run forward.
[0023] 1 shows a block diagram of a computer system according to an exemplary embodiment of the present application. The computer system 100 includes a first terminal 120, a server 140, and a second terminal 160.
[0024] An application program supporting the virtual environment is installed and executed on the first terminal 120. The first terminal 120 is a terminal used by a first user, and the first user uses the first terminal 120 to control the movement of a first virtual object located in the virtual environment. The movement includes, but is not limited to, at least one of adjusting a body posture, walking, running, jumping, riding, aiming, picking up, using a throwing tool, and attacking another virtual object. Exemplarily, the first virtual object is a first virtual character, for example, a simulation character object or an animation character object.
[0025] The first terminal 120 is connected to the server 140 via a wireless network or a wired network.
[0026] The server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Exemplarily, the server 140 includes a processor 144 and a memory 142. The memory 142 further includes a receiving module 1421, a control module 1422, and a sending module 1423. The receiving module 1421 receives a request sent from a client, for example, a team building request, the control module 1422 controls the rendering of a virtual environment screen, and the sending module 1423 sends a response to the client, for example, sending notification information to the client that the team building has been successful. The server 140 provides background services to application programs supporting the three-dimensional virtual environment. Preferably, the server 140 is responsible for the main calculation tasks, and the first terminal 120 and the second terminal 160 are responsible for the sub-calculation tasks, or the server 140 is responsible for the sub-calculation tasks, and the first terminal 120 and the second terminal 160 are responsible for the main calculation tasks, or the server 140, the first terminal 120 and the second terminal 160 adopt a distributed computing architecture to perform collaborative calculations.
[0027] The server 140 can adopt a synchronization technique to match screen presentations among multiple clients. Illustratively, the synchronization technique adopted by the server 140 includes a state synchronization technique or a frame synchronization technique.
[0028] State Synchronization Technology In a preferred embodiment based on Fig. 1, the server 140 adopts state synchronization technology to synchronize among multiple clients. As shown in Fig. 2, the battle logic is executed on the server 140 side. When a state change occurs to a virtual object in the virtual environment, the server 140 will send the state synchronization result to all clients, for example, from client 1 to client 10.
[0029] In one example, when client 1 sends a request to server 140, which requests virtual object 1 to perform an action of attacking virtual object 2, server 140 determines whether virtual object 1 can attack virtual object 2 and the remaining hit points of virtual object 2 after virtual object 1 performs the attack action. Server 140 synchronizes the remaining hit points of virtual object 2 to all clients, and all clients update their local data and interface representations based on the remaining hit points of virtual object 2.
[0030] Frame Synchronization Technology In a preferred embodiment based on Fig. 1, the server 140 adopts frame synchronization technology to perform synchronization among multiple clients. As shown in Fig. 3, the combat logic is executed on each client side. A client sends a frame synchronization request to the server, and the frame synchronization request carries the changes of the client's local data. After the server 140 receives a frame synchronization request, it forwards the frame synchronization request to all clients. After receiving the frame synchronization request, each client processes the frame synchronization request according to the local combat logic and updates its local data and interface representation.
[0031] An application program supporting the virtual environment is installed and executed on the second terminal 160. The second terminal 160 is a terminal used by a second user, and the second user uses the second terminal 160 to control the movement of a second virtual object located in the virtual environment. The movement includes, but is not limited to, at least one of adjusting a body posture, walking, running, jumping, riding, aiming, picking up, using a throwing tool, and attacking another virtual object. Exemplarily, the second virtual object is a second virtual character, for example, a simulation character object or an animation character object.
[0032] Preferably, the first virtual object and the second virtual object are in the same virtual environment. Preferably, the first virtual object and the second virtual object may belong to the same team, organization, camp, have a friendship relationship, or have temporary communication rights, or the first virtual character object and the second virtual character object may belong to different camps, teams, organizations, or have an enemy relationship.
[0033] Preferably, the application programs installed on the first terminal 120 and the second terminal 160 are the same, or the application programs installed on the two terminals are the same type of application programs on different operating system platforms (Android or IOS). The first terminal 120 generally refers to one of a plurality of terminals, and the second terminal 160 generally refers to one of a plurality of terminals, and this embodiment will be described by exemplifying only the first terminal 120 and the second terminal 160. The device types of the first terminal 120 and the second terminal 160 are the same or different, and the device types include at least one of a smartphone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer. The following embodiment will be described by exemplifying that the terminal includes a smartphone.
[0034] As can be understood by those skilled in the art, the number of the terminals may be more or less. For example, the terminal may be only one, or the terminal may be tens or hundreds, or more. The embodiment of the present application does not limit the number and device type of the terminals.
[0035] 4 shows a flowchart of a method for displaying a virtual environment screen according to an exemplary embodiment of the present application. The method can be applied to a computer device, and will be described by taking as an example that the computer device is realized as the first terminal 120 or the second terminal 160 shown in FIG. 1, or another terminal in the computer system 100. The method includes the following steps 401 to 403.
[0036] In step 401, a virtual environment screen is displayed, a first control and a second control, where the first control and the second control belong to different control types.
[0037] In some embodiments, the first control controls the first virtual object to perform a first action and the second control controls the first virtual object to perform a second action, where the first action and the second action belong to different types of actions or the first action and the second action are different actions.
[0038] Illustratively, the first control controls the first virtual object to make a first expression in the virtual environment, or the first control controls the first virtual object to use a first tool in the virtual environment, or the first control controls the first virtual object to trigger a first skill, or the first control controls the first virtual object to be in a first moving state. Similarly, the second action corresponding to the second control includes a second expression, use of a second tool, triggering a second skill, maintaining a second moving state, etc., and the present embodiment does not limit the control action of the first control and the second control.
[0039] An application program supporting a virtual environment is executed on a terminal used by a user, such as a first-person shooter game. Taking a game application program as an example, when the game application program is executed, a virtual environment screen is displayed, and the virtual environment screen is a screen obtained by observing the virtual environment from the viewing angle of a first virtual object. In some embodiments, the virtual environment displayed on the virtual environment screen includes at least one of the following forms: mountains, rivers, plains, streams, lakes, oceans, deserts, skies, vegetation, buildings, and transportation facilities.
[0040] The control type of the UI control mainly indicates the function type of the trigger corresponding to the UI control. The UI control is displayed on the virtual environment screen, and illustratively, the UI control includes at least one of an assist type UI control, a movement type UI control, an aim type UI control, and a state switching type UI control.
[0041] The assist type UI control assists the action of the virtual object. In some embodiments, the assist type UI control controls the virtual object to assist the action using an assist type virtual tool, or the assist type UI control controls the virtual object to trigger an assist type skill to assist the action, for example, a sight use control belongs to the assist type UI control and controls the virtual object to aim at a target using the sight tool when performing a shooting action. The movement type UI control controls the virtual object to move in the virtual environment, for example, a directional movement control belongs to the movement type UI control, and when the directional movement control is triggered, the virtual object moves forward, backward, left, and right in the virtual environment. The aim type UI control is a UI control corresponding to the case where the virtual object uses a virtual tool. In some embodiments, the aim type UI control is a UI control corresponding to the case where the virtual object uses an attack tool, for example, a shooting control belongs to the aim type UI control, and when the shooting control is triggered, the virtual object shoots at a target. A state-switching type UI control switches the posture of a virtual object in a virtual environment, for example, a crouching control belongs to a state-switching type UI control, and when the crouching control is triggered, the virtual object is switched from a standing state to a crouching state, or from another posture to a crouching state.
[0042] In step 402, a set binding operation for a first control and a second control is received.
[0043] When a user uses a terminal having a touch display, a UI control is generally displayed on the touch display of the terminal, such as a smartphone or a tablet computer. Illustratively, the user performs a binding setting operation by triggering a UI control corresponding to the binding setting operation, or the user performs a gesture operation corresponding to the binding setting operation on the touch display, such as a single tap operation, a long press operation, a double tap operation (including at least one of a one-finger double tap operation and a multi-finger double tap operation), a hover operation, a drag operation, and combination operations thereof.
[0044] When the terminal used by the user is a terminal to which an external input device is connected, the terminal can further execute a binding setting operation through the external input device. Exemplarily, the terminal is realized as a notebook computer to which a mouse is connected, and the user executes the binding setting operation by moving the mouse pointer to a UI control corresponding to the binding setting operation and clicking the mouse. In some embodiments, the user can further execute the binding setting operation by pressing a key on the keyboard and clicking the mouse.
[0045] In some embodiments, the virtual environment view displays a UI control corresponding to the binding configuration operation alone, where the UI control is termed a binding UI control. In other embodiments, the virtual environment view includes a configuration page for configuring a game application program, where the configuration page includes a UI control corresponding to the binding configuration operation.
[0046] In step 403, the first control and the second control are bound to a third control in response to a binding setting operation.
[0047] Preferably, the third control controls the first virtual object to perform a first action (corresponding to the first control) and a second action (corresponding to the second control), or alternatively, the third control controls the first virtual object to perform a third action independent of the first action and the second action.
[0048] The combination means that at least two controls are synthesized into one control, and only the combined control is displayed on the virtual environment screen, and the combined control also has the functions of the controls before the combination. After receiving the combination setting operation, a third control is displayed on the virtual environment screen, and the display of the first control and the second control is canceled. The third control also has the functions corresponding to the first control and the functions corresponding to the second control, and the user can realize the control of the first virtual object to perform the first action and the second action by triggering the third control.
[0049] Exemplarily, when the user clicks the third control, the first virtual object executes a first action. When the user presses and holds the third control, the first virtual object executes a second action. Alternatively, when the user clicks the third control, the first virtual object executes a first action, and when the user clicks the third control again, the game application program determines that the first virtual object is executing the first action and controls the first virtual object to execute the second action at the same time. Alternatively, when the user clicks the third control, the first virtual object executes a first action, and when the user clicks the third control again, the game application program determines that the first virtual object has already executed the first action (the first action has already been executed), controls the first virtual object to execute the second action.
[0050] Preferably, the UI control has a corresponding control identifier in the application program, and when receiving a binding setting operation, determines a control identifier corresponding to the first control and the second control, determines a control identifier corresponding to a third control based on the control identifiers corresponding to the first control and the second control, and when rendering the interface, renders the third control based on the control identifier of the third control, and cancels the rendering for the first control and the second control.
[0051] As can be seen, a user performs a single binding operation to bind at least two controls.
[0052] As described above, the method of this embodiment combines different types of controls displayed on the virtual environment screen in accordance with the received combination setting operation, allowing the user to independently set and combine UI controls that are rarely used into the same UI control, or combine UI controls that need to be used in combination into the same UI control, and by changing the layout of the UI controls on the virtual environment screen, the process of the user controlling virtual objects is simplified and the efficiency of human-computer interaction is improved.
[0053] Preferably, a combination setting operation is performed on the virtual environment screen to combine at least two controls, or a split setting operation is performed on the virtual environment screen to divide one control into at least two controls. A game application program is taken as an example to describe the process of combining controls and the process of splitting controls according to a user interface in the game application program.
[0054] 1. The process of binding controls
[0055] 5 shows a flowchart of a method for displaying a virtual environment screen according to another exemplary embodiment of the present application. The method can be applied to a computer device, which is realized as the first terminal 120 or the second terminal 160 shown in FIG. 1, or other terminals in the computer system 100. The method includes the following steps 501 to 505.
[0056] In step 501, a virtual environment screen is displayed, and a first control and a second control are displayed on the virtual environment screen, where the first control and the second control belong to different control types.
[0057] The first control controls the first virtual object to perform a first action, and the second control controls the first virtual object to perform a second action.
[0058] 6, a first control 11 and a second control 12 are displayed on the virtual environment screen. The first control 11 is a crouch control, the second control 12 is an aim control, the first control 11 belongs to a state switching type control, the second control 12 belongs to a movement type control, and the first control 11 and the second control 12 are located on the right side of the virtual environment screen.
[0059] In step 502, a set binding operation for a first control and a second control is received.
[0060] Exemplarily, the binding setting operation is realized as an operation of dragging the controls to be bound to the same position. For example, the user drags the first control 11 to the position of the second control 12, or the user drags the second control 12 to the position of the first control 11.
[0061] Exemplarily, as shown in FIG. 7, the binding setting operation is an operation performed by a user in a setting interface, and the user can bind a first control 11 and a second control 12 in a game application program by activating a control 20 corresponding to the binding setting operation.
[0062] In step 503, a first control type of the first control and a second control type of the second control are obtained.
[0063] Illustratively, the game application program obtains the control types of the first control and the second control based on the control selected by the user when dragging.
[0064] Illustratively, a control type for binding a control is obtained based on a user's operation on a setting interface.
[0065] In some embodiments, a user's operation on the configuration interface may combine all controls of the same type, or may combine controls of predefined types (e.g., combining a shooting type control with a movement type control), or may combine predefined controls (e.g., combining a crouch control with a prone control).
[0066] At step 504, the first control and the second control are coupled to a third control in response to the first control type and the second control type satisfying a preset condition.
[0067] The preset conditions are: A condition in which the first control type is an assist type and the second control type is a sight type, for example, the first control is a sight-using control (a control that uses the sight of a virtual tool of a firearm) and the second control is a shooting control; A condition in which the first control type is an assist type and the second control type is a movement type, for example, a condition in which the first control is a sight-using control and the second control is a directional movement control (including a leftward movement control, a rightward movement control, a forward movement control, and a backward movement control); A condition in which the first control type is a movement type and the second control type is an aiming type, for example, a condition in which the first control is a directional movement control and the second control is a shooting control, or the first control is a directional movement control and the second control is a throwing control (a control using a throwing-type virtual tool); A condition in which the first control type is a movement type and the second control type is a state switching type, for example, a condition in which the first control is a directional movement control and the second control is a crouching control; A condition in which the first control type is a state switching type and the second control type is an assist type, and, for example, the first control is a prone control (a control that controls a virtual object to assume a prone position) and the second control is a control using a sight; A condition in which the first control type is a state switching type and the second control type is an aim type, exemplarily, the first control is a crouch control and the second control is a shooting control; It includes at least one of the following.
[0068] If the type of the first control and the type of the second control are the above types, the game application program binds the first control and the second control.
[0069] In step 505, a third control is updated to replace the first control and the second control.
[0070] The third control is updated and displayed in the virtual environment screen, so that the updated virtual environment screen does not include the first control or the second control.
[0071] When a user performs a binding setup operation, the game application program identifies a user account corresponding to the binding setup operation, and updates a virtual environment screen corresponding to the user account based on the user account.
[0072] As shown in Fig. 8, the third control 13 is displayed on the updated virtual environment screen. For example, in Fig. 8, the control identifier of the first control 11 shown in Fig. 6 is taken as the control identifier of the currently updated third control 13. Preferably, the control identifier of the second control may be taken as the control identifier of the third control, or a new control identifier may be generated as the control identifier of the third control, which is different from the control identifier of the first control and the control identifier of the second control.
[0073] When the third control is used to control the first virtual object to perform an action, as shown in FIG. 9, at least one of the following cases 1 to 3 is included.
[0074] In case 1, the action performed by the first virtual object is related to the operation received by the third control.
[0075] In step 507a, in response to a first operation on a third control, the first virtual object is controlled to perform a first action.
[0076] The first operation includes at least one of a single tap operation, a long press operation, a swipe operation, a hovering operation, a drag operation, a double tap operation (including at least one of a one-finger double tap operation and a multiple-finger double tap operation), and a combination thereof.
[0077] In one example, in response to receiving a long press operation on the third control, the first virtual object is controlled to execute a running action.
[0078] At step 508a, in response to a second operation on the third control, the first virtual object is controlled to perform a second action.
[0079] The second operation includes at least one of a single tap operation, a long press operation, a swipe operation, a hovering operation, a drag operation, a double tap operation (including at least one of a one-finger double tap operation and a multiple-finger double tap operation), and a combination thereof. The first operation is different from the second operation.
[0080] In one example, in response to receiving a double-tap operation on the third control, the first virtual object is controlled to perform a sight-using action.
[0081] The third control generates a control command based on the received operation type to control the first virtual object to perform a different action. Step 507a may be performed before step 507b, or step 507b may be performed before step 507a. In some embodiments, when the first virtual object performs an action a, when the third control receives an execution operation corresponding to the action b, the first virtual object performs the action a and simultaneously performs the action b. In one example, in response to receiving a double tap operation on the third control, the first virtual object performs a running action, and in response to receiving a long press operation on the third control while the first virtual object is running, the first virtual object performs a sight use action while running.
[0082] In case 2, the first virtual object simultaneously performs an action corresponding to a third control.
[0083] In step 507b, in response to a third operation on the third control, the first virtual object is controlled to simultaneously perform the first action and the second action.
[0084] The third operation includes at least one of a single tap operation, a long press operation, a swipe operation, a hovering operation, a drag operation, a double tap operation (including at least one of a one-finger double tap operation and a multiple-finger double tap operation), and a combination thereof.
[0085] In one example, in response to receiving a drag operation on the third control, the game application program controls the first virtual object to simultaneously perform a running motion and a magazine swap motion.
[0086] In case 3, the first virtual object performs an action based on the action priority.
[0087] In step 507c, in response to a fourth operation on the third control, the priority of the first action and the second action is obtained.
[0088] The fourth operation includes at least one of a single tap operation, a long press operation, a swipe operation, a hovering operation, a drag operation, a double tap operation (including at least one of a one-finger double tap operation and a multiple-finger double tap operation), and a combination thereof.
[0089] In one example, in response to receiving a long press operation on the third control, the game application program obtains a priority of the action corresponding to the third control. Illustratively, the priority ranking is: running action>shooting action (or throwing action)>crouching action (or prone action)>sights use action (magazine change action).
[0090] In step 508c, the first virtual object is controlled so as to execute the first action and the second action in accordance with a preset order based on the priority.
[0091] For example, in response to a long press operation on the third control, upon obtaining that the priority of the first action is lower than the priority of the second action, the game application program controls the first virtual object to first perform the second action and then perform the first action.
[0092] As described above, the method of this embodiment combines different types of controls displayed on the virtual environment screen in accordance with the received combination setting operation, allowing the user to independently set and combine UI controls that are not frequently used into the same UI control, or combine UI controls that need to be used in combination into the same UI control, and by changing the layout of the UI controls on the virtual environment screen, the process of the user controlling virtual objects is simplified and the efficiency of human-computer interaction is improved.
[0093] When it is determined that the first control type of the first control and the second control type of the second control satisfy the preset condition, the first control and the second control are bound to a third control, so that the user can bind different types of controls through a binding setting operation, thereby making the layout of the UI controls on the virtual environment screen more flexible.
[0094] By enumerating the types of UI controls that satisfy preset conditions, the user determines the types of UI controls that can be combined, and flexibly combines the UI controls.
[0095] After the first control and the second control are combined, the virtual environment screen is updated and displayed, and the combined third control is displayed on the updated virtual environment screen, allowing the user to control the virtual object more intuitively through the updated virtual environment screen.
[0096] When the third control receives different operations, the virtual object is controlled to perform different actions according to different rules, so that the control manner of the virtual object becomes more flexible and diverse, and helps the user set a layout of UI controls that meets his / her preferences or suits his / her usage habits.
[0097] As can be understood, the above three cases can be implemented either alone or in combination.
[0098] 2. The process of dividing control
[0099] As shown in Figure 10, the process of splitting the control includes the following three cases:
[0100] In case 1, the split controls belong to different types of controls.
[0101] In response to a first split setting operation on the third control, the third control is split into the first control and the second control.
[0102] In step 511a, in response to the first split setting operation on the third control, an action type corresponding to the third control is obtained.
[0103] To distinguish it from the combine set operation, the split set operation may be the reverse of the embodiment of the combine set operation, for example, the combine set operation is a leftward drag operation and the split set operation is a rightward drag operation, and for example, the combine set operation is dragging a first control onto a second control to form a third control, and the split set operation starts from the third control 13 and drags a control outward from the third control 13 to become the first control 11 or the second control 12, and the arrows indicate the drag direction as shown in FIG. 11.
[0104] The action type corresponds to the control type of the control. For example, if the control type of control 1 is the assist type, when control 1 is triggered, the virtual object performs an assist type action, and for example, if control 1 is a sight-using control, when the sight-using control is triggered, the virtual object performs a sight-using action, and the action type of the sight-using action is the assist type.
[0105] Since the third control is a combined control, the third control has the functions of at least two kinds of controls. In some embodiments, in response to receiving a split setting operation on the virtual environment screen, the game application program obtains an action list corresponding to the third control, and the action list provides a control configuration status of the third control. For example, when a combined control exists on the virtual environment screen, the game application program or the background server establishes an action list corresponding to the combined control, and binds the action list to the combined control. Preferably, the action list stores a control identifier of the third control and control identifiers corresponding to at least two controls having a split relationship with the third control, so that when the third control needs to be split, the interface rendering process cancels the rendering for the third control, and renders at least two controls corresponding to the control identifier of the third control in the list.
[0106] In step 512a, the third control is divided into a first control and a second control based on the action type.
[0107] In one example, if the action list corresponding to the third control includes a crouch action and a sight use action, the third control is divided into a crouch control and a sight use control.
[0108] In case 2, the split controls belong to the same type of control.
[0109] In response to a second split setting operation on the third control, the third control is split into a fourth control and a fifth control, the fourth control and the fifth control belonging to the same type of control.
[0110] In step 511b, in response to a second split setting operation on the third control, a correlation between at least two actions corresponding to the third control is obtained.
[0111] The correlation refers to the hierarchical relationship between the actions performed by the virtual object when the third control is triggered. Illustratively, the action corresponding to the third control is a posture switching action, and there is a hierarchical relationship between each posture switching action, for example, when the third control is triggered, the virtual object is controlled to perform a full crouching action (both knees are bent and both legs approach the buttocks) and a half crouching action (one kneeling state), and a hierarchical relationship is obtained between the full crouching action and the half crouching action.
[0112] In step 512b, the third control is divided into a fourth control and a fifth control based on the correlation.
[0113] In one example, the third control is divided into a full crouching control and a semi-crouching control based on the correlation, while in another example, the game application program divides the third control into a crouching control and a prone control based on the correlation, while in another example, the game application program divides the third control into a high magnification sight use control and a low magnification sight use control based on the correlation.
[0114] In case 3, we split based on the number of virtual objects.
[0115] Illustratively, the virtual environment screen is a screen obtained by observing the virtual environment at the viewing angle of the first virtual object, and generally, a camera model is bound to the first virtual object, and the virtual environment is photographed by the camera model to obtain the virtual environment screen. The third control is divided based on the number of virtual objects in the virtual environment screen.
[0116] Illustratively, in response to at least two second virtual objects being within a visual angle of the first virtual object, the third control is divided based on the number of second virtual objects.
[0117] In step 511c, in response to at least two second virtual objects being within the viewing angle of the first virtual object, a number of second virtual objects is obtained.
[0118] The first virtual object and the second virtual object are in the same virtual environment, and the first virtual object can see the second virtual object in the virtual environment while operating in the virtual environment. Illustratively, the second virtual object and the first virtual object have a teammate relationship. In one example, there are three second virtual objects in the viewing angle of the first virtual object, and the game application program binds the number of the second virtual objects with the virtual environment screen that the first virtual object observes.
[0119] Step 512c divides the third control based on the number of second virtual objects.
[0120] Illustratively, the third control is divided into three controls based on the three virtual objects, for example, the third control is divided into control 1, control 2 and control 3, where control 1 is for attacking virtual object 1, control 2 is for attacking virtual object 2, and control 3 is for attacking virtual object 3.
[0121] In some embodiments, in response to the second virtual object using the virtual tool, the third control is split based on the second virtual object and the virtual tool used by the second virtual object. For example, if the virtual tool used by the second virtual object is a shield (which reduces damage to the virtual object), the third control is split into two controls, one control for destroying the virtual tool (shield) used by the second virtual object and the other control for attacking the second virtual object. In some embodiments, the duration of the control for destroying the virtual tool is longer than the duration of the control for attacking the second virtual object.
[0122] As can be understood, the above three cases can be implemented either alone or in combination.
[0123] In step 513, after splitting the third control, at least two split controls are updated to replace the third control.
[0124] Illustratively, after splitting the third control, the corresponding at least two split controls are updated and displayed, and the updated virtual environment screen does not include the third control.
[0125] When a user performs a split setting operation, the game application program identifies a user account corresponding to the split setting operation, and updates the virtual environment screen corresponding to the user account based on the user account.
[0126] As shown in FIG. 12, the divided fourth control 14 and fifth control 15 are displayed on the updated virtual environment screen, and the fourth control 14 (full crouching control) and the fifth control 15 (half crouching control) are obtained after dividing the crouching control 13. The crouching control 13 (schematically shown in the figure) is not displayed on the updated virtual environment screen. Exemplarily, the control identifiers of the fourth control 14 and the fifth control 15 are newly generated control identifiers, and these two control identifiers are different from the control identifier of the third control 13. Alternatively, the control identifier of the third control 13 is the control identifier of the fourth control 14, and the control identifier of the fifth control 15 is the newly generated control identifier. Alternatively, the control identifier of the third control 13 is the control identifier of the fifth control 15, and the control identifier of the fourth control 14 is the newly generated control identifier.
[0127] When the control after dividing the third control is used to control the first virtual object to perform an action, as shown in FIG. 13, the following two cases are included.
[0128] In case 1, the first virtual object performs at least two actions simultaneously.
[0129] At step 516a, in response to a first operation on the first control, a first virtual object is controlled to perform a first action.
[0130] The control type of the first control and the control type of the second control are different.
[0131] In step 517a, in response to a second operation on the second control, the second virtual object is controlled to perform the first action and at the same time perform a second action.
[0132] Illustratively, in response to receiving a long press operation on the second control while the first virtual object is performing a throwing action (the throwing action has not yet ended), the game application program controls the first virtual object to throw the virtual tool while performing a crouching action. The user can control the first virtual object to accurately hit the target based on the crouching angle.
[0133] In case 2, the first virtual object performs at least two actions depending on the order.
[0134] In step 516b, in response to a third operation on the fourth control, the first virtual object is controlled to perform a fourth action.
[0135] Illustratively, the fourth control is a prone control, and in response to receiving a drag operation on the prone control, the game application program controls the first virtual object to perform a prone motion.
[0136] In step 517b, in response to a fourth operation on the fifth control, the first virtual object is controlled to perform a fifth action, the fourth action and the fifth action being correlated with each other.
[0137] As can be appreciated, the third and fourth operations may be the same or different.
[0138] The correlation refers to a certain hierarchical relationship between the actions, and they belong to the same type of action. Illustratively, the fifth control is a crawling control (controlling the first virtual object to crawl forward), and in response to receiving a double tap operation on the crawling control, the game application program controls the first virtual object to crawl in the virtual environment. As can be understood, step 516b may be performed before step 517b, and step 517b may be performed before step 516b.
[0139] As described above, the method provided by this embodiment splits the third control into the same type of control or different type of control upon receiving the split setting operation, allowing the user to intentionally split the controls for different battle situations, which is suited to the user's operating habits and at the same time ensures that the battle efficiency of the virtual objects controlled by the user is improved.
[0140] By dividing the third control based on the corresponding action type when the third control is triggered, the divided control can realize functions corresponding to different types of actions, and it is easy for the user to divide the third control based on different functions.
[0141] By dividing the third control based on the correlation between at least two actions corresponding to when the third control is triggered, the divided control can realize different hierarchies of the same type of action, making it easier for the user to perform actions of different hierarchies based on different battle situations, which is helpful in improving the operational efficiency of the virtual object.
[0142] By dividing the third control based on the number of second virtual objects within the field of view of the first virtual object, the divided control can conduct attacks on different virtual objects, which helps to improve the operational efficiency of the virtual objects.
[0143] After splitting the third control, the virtual environment screen is updated to display the split control on the updated virtual environment screen, allowing the user to control the virtual object more intuitively through the updated virtual environment screen.
[0144] When different operations are received in the divided controls, the virtual objects can be controlled to perform different operations, which makes the control manner of the virtual objects more flexible and diverse, and helps users set the layout of UI controls that meets their preferences or suits their usage habits.
[0145] As can be understood, the above two cases can be implemented either alone or in combination.
[0146] In one example, as shown in FIG. 14, the binding of controls includes the following steps 1401-1405.
[0147] Start at step 1401.
[0148] In step 1402, it is determined whether the user performs a binding setting operation.
[0149] If the user performs a binding setting operation, the process proceeds to step 1403a, and if the user does not perform a binding setting operation, the process proceeds to step 1403b.
[0150] In step 1403a, the time to trigger the prone control exceeds a time threshold.
[0151] When a user performs a combination setting operation, the game application program combines the first control and the second control to obtain a third control. Illustratively, the first control is a crouching control, and the second control is a prone control. The control identifier of the first control (crouching control) is set as the control identifier of the third control, and the control identifier of the second control (prone control) is hidden and displayed.
[0152] Illustratively, the time threshold is 0.5 seconds and the trigger operation received on the third control exceeds 0.5 seconds.
[0153] In step 1404a, the prone control is hidden and displayed.
[0154] In this case, the condition for executing the prone motion is met, but the original second control (prone control) is not displayed on the virtual environment screen.
[0155] In step 1405a, prone state notification of the crouch control is turned on.
[0156] In this case, the third control after the combination has two functions of supporting a crouching action and a prone action. For example, the crouching control is notified to the user in a form of being highlighted, and the crouching control at this time controls the first virtual object to perform a prone action. If the crouching control is not in a highlighted state, the crouching control controls the first virtual object to perform a crouching action.
[0157] Step 1403b turns off triggering a prone operation by pressing and holding the crouch control.
[0158] If the user does not perform the binding setting operation, the first control (crouching control) and the second control (prone control) are not bound at this time.
[0159] Step 1404b displays the prone control.
[0160] The prone control appears alone on the virtual environment screen.
[0161] In step 1405b, the prone state notification of the crouch control is turned off.
[0162] The crouching control controls the first virtual object to perform a crouching action, and the prone control controls the first virtual object to perform a prone action. The functions of the two types of controls are not combined.
[0163] In one game, the above steps 1402 to 1405a (step 1405b) can be repeatedly performed until the game ends.
[0164] In one example, after binding the control, the game application program determines whether the user's operation controls the first virtual object to perform a prone motion or a crouching motion, and includes the following steps 1051 to 1057, as shown in FIG. 15 .
[0165] Start at step 1501.
[0166] In step 1502, it is determined whether or not the combined control is to be triggered.
[0167] After the user sets the combining operation, the game application program combines the first control and the second control to obtain a third control. If the user triggers the third control, proceed to step 1503a; if the user does not trigger the third control, proceed to step 1503b.
[0168] In step 1503a, the initial time Δt=0 is recorded.
[0169] A third control is triggered and the game application program records the initial time and the time T corresponding to the triggering process.
[0170] In step 1503b, the virtual environment screen does not change.
[0171] The third control is not triggered and the virtual environment screen does not change.
[0172] In step 1504, Δt=Δt+T is calculated.
[0173] Calculate the total time between the initial trigger time Δt and the trigger time T.
[0174] In step 1505, it is determined whether the user releases his / her hand.
[0175] The game application program determines whether or not the user releases his / her hand, and if the user releases his / her hand, proceeds to step 1506, and if the user does not release his / her hand, returns to step 1504 (continues to calculate time).
[0176] In step 1506, it is determined whether Δt>0.5 is satisfied.
[0177] The game application program determines whether the time when the third control is triggered exceeds a time threshold, and if the time when the third control is triggered does not exceed the time threshold, proceeds to step 1507a, and if the time when the third control is triggered exceeds the time threshold, proceeds to step 1507b.
[0178] Step 1507a triggers a crouching motion.
[0179] If the time during which the third control is triggered does not exceed the time threshold, the game application program controls the first virtual object to perform a crouching action.
[0180] Step 1507b triggers a prone motion.
[0181] When the time during which the third control is triggered exceeds a time threshold, the game application program controls the first virtual object to perform a prone motion.
[0182] In addition, each time the user modifies an operation option, the current option setting is recorded in memory, the primary key value is SettingKeys.HideProneBtn, and the value content is the current option state (true or false). This part of the information is stored in the local data of the computer device corresponding to the user, and when the user re-logins into the game using the computer device or restarts the game, the value of the option is obtained from the local data, thereby maintaining the consistency of the user's operation settings.
[0183] In one game, the above steps 1502 to 1507a (step 1507b) can be repeatedly performed until the game ends.
[0184] The above embodiment describes the method based on a game application scenario, and the following will exemplarily describe the method in a military simulation application scenario.
[0185] Simulation technology is a modeling technique that uses software and hardware to mimic real-world experiments and reflect the behavior or process of a system.
[0186] A military simulation program is a program specially constructed for military purposes using simulation technology. It quantitatively analyzes operational elements such as sea, land, and air, the performance of weapons and equipment, and operational actions, and accurately simulates the battlefield environment, presents battlefield situations, and supports the evaluation and decision-making of operational systems.
[0187] In one example, a soldier builds a virtual battlefield on a terminal having a military simulation program, and competes in the form of a team. The soldier controls the virtual objects in the battlefield virtual environment to perform at least one of the following actions in the battlefield virtual environment: standing, crouching, sitting, lying on one's back, lying on one's back, lying on one's side, walking, running, climbing, driving, shooting, throwing, attacking, wounding, scouting, and close combat. The virtual environment of the battlefield includes at least one natural form of plains, mountains and rivers, plateaus, basins, deserts, rivers, lakes, oceans, and vegetation, as well as location forms such as buildings, transportation facilities, ruins, and training grounds. The virtual objects include virtual characters, virtual animals, animated characters, and the like, and each virtual object has its shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment.
[0188] Based on the above situation, in one example, soldier A controls virtual object a, soldier B controls virtual object b, soldier C controls virtual object c, soldier A and soldier B are soldiers in the same team, and soldier C and soldier A and soldier B do not belong to the same team. Looking at virtual object a and virtual object b in the visual angle of virtual object c, soldier c sets a split operation in the military simulation program, and splits the fire control into two fire controls, which are fire control 1 and fire control 2, respectively, fire control 1 is for attacking virtual object 1, and fire control 2 is for attacking virtual object 2, and when fire control 1 and fire control 2 are triggered, the duration of fire control 1 is longer than the duration of fire control 2 (because the protective virtual tool is worn on virtual object 1, it needs to attack for a longer time).
[0189] As described above, in this embodiment, the above-mentioned virtual environment screen display method is applied to a military simulation program, and soldiers can combine or divide controls according to the tactical layout, so that the control layout suits their personal usage habits, thereby improving the efficiency of human-computer interaction of soldiers, providing a more realistic simulation of the actual battlefield, and allowing soldiers to be better trained.
[0190] The following is an embodiment of the apparatus of the present application. For details not described in detail in the embodiment of the apparatus, reference may be made to the corresponding description in the embodiment of the method described above, and description will be omitted in this specification.
[0191] 16 shows a schematic diagram of a display device for a virtual environment screen according to an exemplary embodiment of the present application. The device can be realized as a whole or part of a terminal by software, hardware or a combination of both, and the device includes: a display module 1610 for displaying a virtual environment screen, a first control, and a second control, the first control and the second control belonging to different control types; a receiving module 1620 for receiving a binding setting operation for the first control and the second control; and a processing module 1630 for binding the first control and the second control to the third control in response to a binding setting operation. In a preferred embodiment, the apparatus includes an acquisition module 1640, The acquisition module 1640 acquires a first control type of the first control and a second control type of the second control in response to the binding setting operation, and the processing module 1630 binds the first control and the second control to a third control in response to the first control type and the second control type satisfying a preset condition.
[0192] In a preferred embodiment, the preset condition is: a condition in which the first control type is an assist type and the second control type is an aim type; A condition in which the first control type is an assist type and the second control type is a movement type; a condition in which the first control type is a movement type and the second control type is an aim type; A condition in which the first control type is a movement type and the second control type is a state switching type; A condition in which the first control type is a state switching type and the second control type is an assist type; a condition in which the first control type is a state switching type and the second control type is an aiming type; It includes at least one of the following.
[0193] In a preferred embodiment, the display module 1610 updates and displays the third control to replace the first control and the second control.
[0194] In a preferred embodiment, the first control controls a first virtual object to perform a first action; The second control controls the first virtual object to perform a second action; The third control controls the first virtual object to perform the first action and the second action.
[0195] In a preferred embodiment, the processing module 1630 controls the first virtual object to perform a first action in response to a first operation on the third control, controls the first virtual object to perform a second action in response to a second operation on the third control, or controls the first virtual object to simultaneously perform the first action and the second action in response to a third operation on the third control, or obtains a priority of the first action and the second action, and controls the first virtual object to perform the first action and the second action according to a preset order based on the priority in response to a fourth operation on the third control.
[0196] In a preferred embodiment, the processing module 1630 splits the third control into a first control and a second control in response to a first split setting operation on the third control, or splits the third control into a fourth control and a fifth control in response to a second split setting operation on the third control, the fourth control and the fifth control belonging to the same type of control.
[0197] In a preferred embodiment, the acquisition module 1640 acquires an action type corresponding to the third control in response to a first split setting operation on the third control, and the processing module 1630 splits the third control into a first control and a second control based on the action type.
[0198] In a preferred embodiment, the acquisition module 1640 acquires a correlation between at least two operations corresponding to the third control in response to a second split setting operation on the third control, and the processing module 1630 splits the third control into a fourth control and a fifth control based on the correlation.
[0199] In a preferred embodiment, the virtual environment view is a view obtained by observing the virtual environment at a viewing angle of the first virtual object; The acquisition module 1640 acquires a number of second virtual objects in response to at least two second virtual objects being within a visual angle of the first virtual object, and the processing module 1630 divides the third control based on the number of second virtual objects.
[0200] In a preferred embodiment, the display module 1610 updates and displays at least two split controls to replace the third control after splitting the third control.
[0201] In a preferred embodiment, the processing module 1630 controls a first virtual object to perform a first action in response to a first operation on a first control, and controls the first virtual object to perform a second action while performing the first action in response to a second operation on a second control, or controls the first virtual object to perform a fourth action in response to a third operation on a fourth control, and controls the first virtual object to perform a fifth action in response to a fourth operation on a fifth control, wherein the fourth action and the fifth action are correlated.
[0202] As described above, the device of this embodiment combines different types of controls displayed on the virtual environment screen in accordance with the received combination setting operation, allowing the user to independently set and combine UI controls that are rarely used into the same UI control, or combine UI controls that need to be used in combination into the same UI control, and by changing the layout of the UI controls on the virtual environment screen, the process of the user controlling virtual objects is simplified and the efficiency of human-computer interaction is improved.
[0203] After determining whether the first control type of the first control and the second control type of the second control satisfy a preset condition, the first control and the second control are bound to a third control, allowing a user to bind different types of controls through a binding setting operation, thereby making the layout of UI controls on the virtual environment screen more flexible.
[0204] By enumerating the types of UI controls that satisfy preset conditions, the user determines the types of UI controls that can be combined, and flexibly combines the UI controls.
[0205] After the first control and the second control are combined, the virtual environment screen is updated and displayed, and the combined third control is displayed on the updated virtual environment screen, allowing the user to control the virtual object more intuitively through the updated virtual environment screen.
[0206] When the third control receives different operations, the virtual object is controlled to perform different actions according to different rules, so that the control manner of the virtual object becomes more flexible and diverse, and helps the user set a layout of UI controls that meets his / her preferences or suits his / her usage habits.
[0207] Upon receiving the split setting operation, the third control is split into the same type of control or different type of control, so that the user can intentionally split the control for different battle situations, which is suited to the user's operation habits and at the same time ensures that the battle efficiency of the virtual object controlled by the user is improved.
[0208] By dividing the third control based on the corresponding action type when the third control is triggered, the divided control can realize functions corresponding to different types of actions, and it is easy for the user to divide the third control based on different functions.
[0209] By dividing the third control based on the correlation between at least two actions corresponding to when the third control is triggered, the divided control can realize different hierarchies of the same type of action, making it easier for the user to perform actions of different hierarchies based on different battle situations, which is helpful in improving the operational efficiency of the virtual object.
[0210] By dividing the third control based on the number of second virtual objects within the field of view of the first virtual object, the divided control can conduct attacks on different virtual objects, which helps to improve the operational efficiency of the virtual objects.
[0211] After splitting the third control, the virtual environment screen is updated to display the split control on the updated virtual environment screen, allowing the user to control the virtual object more intuitively through the updated virtual environment screen.
[0212] When different operations are received in the divided controls, the virtual objects can be controlled to perform different operations, which makes the control manner of the virtual objects more flexible and diverse, and helps users set the layout of UI controls that meets their preferences or suits their usage habits.
[0213] It should be noted that the above embodiment of the virtual environment screen display device is merely described by taking the division of each of the above functional modules as an example, and in actual application, the above functions can be distributed to be completed by different functional modules as necessary, that is, the internal structure of the device can be divided into different functional modules to complete some or all of the above functions. In addition, the above embodiment of the virtual environment screen display device belongs to the same concept as the embodiment of the virtual environment screen display method, and the specific implementation process can be referred to the embodiment of the method, and a detailed description will be omitted here.
[0214] As shown in FIG. 17, a block diagram of a computer device 1700 according to an exemplary embodiment of the present application is shown. The computer device 1700 may be a portable mobile terminal such as a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), or an MP4 (Moving Picture Experts Group Audio Layer IV) player. The computer device 1700 may also be called a user device, a mobile terminal, or other names.
[0215] Generally, the computing device 1700 includes a processor 1701 and a memory 1702 .
[0216] The processor 1701 may include one or more processing cores, such as, for example, a 4-core processor, an 8-core processor, etc.
[0217] The memory 1702 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1702 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices, etc. In some embodiments, the non-transitory computer-readable storage media in the memory 1702 stores at least one instruction that is executed by the processor 1701 to implement a method for displaying a virtual environment screen according to an embodiment of the present application.
[0218] In some embodiments, computing device 1700 may preferably further include a peripheral interface 1703 and at least one peripheral device. Specifically, the peripheral devices include at least one of radio frequency circuitry 1704, a touch display 1705, a camera component 1706, an audio circuitry 1707, a positioning component 1708, and a power source 1709.
[0219] The peripheral device interface 1703 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1701 and the memory 1702 .
[0220] The radio frequency circuitry 1704 transmits and receives RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1704 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuitry 1704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals.
[0221] The touch display 1705 displays a UI (User Interface).
[0222] The camera component 1706 collects images or video. The audio circuitry 1707 provides an audio interface between a user and the computing device 1700. The audio circuitry 1707 may include a microphone and a speaker.
[0223] The positioning component 1708 determines the current geographic location of the computing device 1700 to provide navigation or location based services (LBS).
[0224] A power supply 1709 provides power to each component in the computing device 1700 .
[0225] In some embodiments, computing device 1700 further includes one or more sensors 1710, including, but not limited to, an acceleration sensor 1711, a gyro sensor 1712, a pressure sensor 1713, a fingerprint sensor 1714, an optical sensor 1715, and a proximity sensor 1716.
[0226] As will be appreciated by those skilled in the art, the structure shown in FIG. 17 is not intended to limit computing device 1700, which may include more or fewer components than shown, combine some components, or employ different component arrangements.
[0227] An embodiment of the present application further provides a computing device including a processor and a memory, wherein at least one instruction, at least one program, code set or instruction set is stored in the memory, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to realize a method for displaying a virtual environment screen according to the embodiments of each of the above methods.
[0228] An embodiment of the present application further provides a computer-readable storage medium, storing at least one instruction, at least one program, code set or instruction set, which is loaded and executed by a processor to realize a method for displaying a virtual environment screen according to the embodiments of the above methods.
[0229] An embodiment of the present application further provides a computer program product or a computer program, the computer program product or the computer program including computer instructions stored in a computer readable storage medium, a processor of a computing device reading the computer instructions from the computer readable storage medium, and the processor executing the computer instructions to cause the computing device to perform the method for displaying a virtual environment screen according to the above aspect.
[0230] As will be understood, "multiple" as referred to herein refers to two or more than two. "And / or" is for describing the correlation of the correlated objects, and indicates that three relationships may exist, for example, "A and / or B" may indicate three situations: "A exists independently", "A and B exist simultaneously", and "B exists independently". The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0231] Those skilled in the art can understand that all or part of the steps for realizing the above embodiments may be completed by hardware, or may be completed by instructing related hardware with a program, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disk, etc.
[0232] The above are only selectable examples of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included within the scope of protection of the present application.
Claims
1. 1. A method for displaying a virtual environment screen executed by a computing device, comprising: displaying a virtual environment screen on the computing device, and displaying a first control and a second control on the virtual environment screen, the first control controlling a first virtual object to perform a first action and the second control controlling the first virtual object to perform a second action different from the first action; receiving a binding set operation for the first control and the second control; binding the first control and the second control to a third control in response to the binding setting operation; updating and displaying the third control in place of the first control and the second control; the third control controls the first virtual object to perform the first action and the second action, and one of the first action or the second action is triggered when an operation on the third control exceeds a predetermined time threshold.
2. The step of binding the first control and the second control to a third control in response to the binding setting operation includes: and binding the first control and the second control to the third control in response to the first control and the second control satisfying a preset condition.
3. The predetermined condition is: a condition in which the first control is an assist type control that assists a motion of a virtual object, and the second control is an aim type control for allowing the virtual object to use a virtual tool; a condition in which the first control is the assist type control and the second control is a movement type control that controls a virtual object to move; the first control is the movement-type control and the second control is the aim-type control; a condition in which the first control is the movement type control and the second control is a state switching type control that switches a posture of a virtual object; a condition in which the first control is the state-switching type control and the second control is the assist type control; a condition in which the first control is the state-switching type control and the second control is the aim-type control; The method of claim 2, comprising at least one of:
4. A step of controlling so that when an operation on the third control exceeds the predetermined time threshold, one of the first action or the second action is executed, and when the operation on the third control does not exceed the predetermined time threshold, the other of the first action or the second action is executed. The method of claim 1 further comprising:
5. A step of dividing the third control into the first control and the second control in response to a first split setting operation on the third control; Or, The method according to any one of claims 1 to 3, further comprising the step of splitting the third control into a fourth control and a fifth control in response to a second split setting operation on the third control, the split fourth control and the fifth control realizing functions of different hierarchies of the same type of operation.
6. The step of dividing the third control into the first control and the second control in response to a first division setting operation on the third control includes: obtaining a type of action corresponding to the third control in response to a first split setting operation on the third control; and dividing the third control into the first control and the second control based on the type of the action.
7. The step of dividing the third control into the fourth control and the fifth control in response to a second division setting operation on the third control includes: In response to a second split setting operation on the third control, obtaining a correlation between at least two actions corresponding to the third control, the correlation indicating a hierarchical relationship between the at least two actions performed by the first virtual object when the third control is triggered; and dividing the third control into the fourth control and the fifth control based on the correlation.
8. The virtual environment screen is a screen obtained by observing the virtual environment from a visual angle of a first virtual object, The method comprises:
6. The method of claim 5, further comprising, in response to at least two second virtual objects being within a visual angle of the first virtual object, dividing the third control based on a number of the second virtual objects.
9. The method of claim 5, further comprising the step of updating and displaying at least two split controls by replacing the third control after splitting the third control.
10. After dividing the third control into the first control and the second control, The method further includes controlling the first virtual object to execute the first action in response to a first operation on the first control, and controlling the first virtual object to execute the first action and at the same time execute a third action in response to a second operation on the second control; Or, After dividing the third control into the fourth control and the fifth control, The method further includes the steps of: controlling the first virtual object to perform a fourth action in response to a third operation on the fourth control; and controlling the first virtual object to perform a fifth action in response to a fourth operation on the fifth control; The method of claim 5 , wherein the fourth action and the fifth action are correlated.
11. The binding setting operation is performed by a user in a setting interface. The method of claim 1.
12. A method for displaying a virtual environment screen executed by a computing device, comprising: displaying a virtual environment screen on the computing device, and displaying a first control and a second control on the virtual environment screen, the first control controlling a first virtual object to perform a first action and the second control controlling the first virtual object to perform a second action different from the first action; receiving a binding set operation for the first control and the second control; binding the first control and the second control to a third control in response to the binding setting operation; updating and displaying the third control in place of the first control and the second control; controlling the first virtual object to simultaneously execute the first action and the second action in response to an operation on the third control; A method for displaying a virtual environment screen, including:
13. A method for displaying a virtual environment screen executed by a computing device, comprising: displaying a virtual environment screen on the computing device, and displaying a first control and a second control on the virtual environment screen, the first control controlling a first virtual object to perform a first action and the second control controlling the first virtual object to perform a second action different from the first action; receiving a binding set operation for the first control and the second control; binding the first control and the second control to a third control in response to the binding setting operation; updating and displaying the third control in place of the first control and the second control; controlling the first virtual object to perform the first action in response to a first operation on the third control, and to perform the second action in response to a second operation on the third control; wherein the first operation is different from the second operation.
14. A display module that displays a virtual environment screen and displays a first control and a second control on the virtual environment screen, wherein the first control controls a first virtual object to perform a first action and the second control controls the first virtual object to perform a second action different from the first action; a receiving module for receiving a binding setting operation for the first control and the second control; a processing module for binding the first control and the second control to a third control in response to the binding setting operation; A display device for a virtual environment screen, wherein the display module updates and displays the third control in place of the first control and the second control, the third control controls the first virtual object to perform the first action and the second action, and one of the first action or the second action is triggered when an operation on the third control exceeds a predetermined time threshold.
15. A display module that displays a virtual environment screen and displays a first control and a second control on the virtual environment screen, wherein the first control controls a first virtual object to perform a first action and the second control controls the first virtual object to perform a second action different from the first action; a receiving module for receiving a binding setting operation for the first control and the second control; a processing module for binding the first control and the second control to a third control in response to the binding setting operation; the display module updates and displays the third control in place of the first control and the second control; A display device for a virtual environment screen, wherein the processing module controls the first virtual object to simultaneously perform the first action and the second action in response to an operation on the third control.
16. A display module that displays a virtual environment screen and displays a first control and a second control on the virtual environment screen, wherein the first control controls a first virtual object to perform a first action and the second control controls the first virtual object to perform a second action different from the first action; a receiving module for receiving a binding setting operation for the first control and the second control; a processing module for binding the first control and the second control to a third control in response to the binding setting operation; the display module updates and displays the third control in place of the first control and the second control; The processing module controls the first virtual object to perform the first action in response to a first operation on the third control, and the first virtual object to perform the second action in response to a second operation on the third control, the first operation being different from the second operation.
17. A computer program that causes a computer to implement the method for displaying a virtual environment screen described in any one of claims 1 to 13.
