Virtual environment screen display method, device, terminal, and computer program

JP7652519B2Active Publication Date: 2025-03-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023571704
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-08-19
Filing Date
2022-06-29
Publication Date
2025-03-27
Estimated Expiration
2042-06-29

AI Technical Summary

Benefits of technology

【0012】 本出願の実施例が提供する技術案は以下の有益な効果を具備し、 第1の機能コントロールに対する第1のタッチ操作によって、第1の機能コントロールに対応する行為を実行するように仮想オブジェクトを制御し、そして、第1のタッチ操作のタッチ位置で、第1の位置から第1の機能コントロールの応答領域外にある第2の位置に移動した場合、仮想オブジェクトを第1の視野角から第2の視野角に調整して、第2の視野角を基準として、第2の仮想環境画面を表示し、つまり、同一タッチ操作では、対応する行為を実行するように仮想オブジェクトを制御できるとともに、タッチ位置の変化に基づいて仮想環境画面を調整でき、ある行為を実行するように仮想オブジェクトを制御する場合、ユーザーは指をスライドさせれば、仮想オブジェクトの視野角を調整して、さらに、表示される仮想環境画面を調整し、ユーザーが手放していなくでも、クライアントは依然的にユーザーのスライド操作に応答でき、ユーザー操作を簡略化して、行為を実行するように仮想オブジェクトを制御するとともに、仮想環境画面の調整効率を向上する。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007652519000002
    Figure 0007652519000002
  • Figure 0007652519000003
    Figure 0007652519000003
  • Figure 0007652519000004
    Figure 0007652519000004
Patent Text Reader

Abstract

This application discloses a method, device, terminal and storage medium for displaying a virtual environment screen, which belongs to the technical fields of computers and Internet. The method includes the steps of: displaying a first virtual environment screen; controlling a virtual object to perform an action corresponding to a first functional control in response to a first touch operation on a first functional control; and displaying a second virtual environment screen in response to a touch position of the first touch operation moving from a first position to a second position outside the response area of ​​the first functional control. In this application, the same touch operation can control a virtual object to perform a corresponding action and adjust the virtual environment screen based on the change in the touch position, and when controlling a virtual object to perform a certain action, a user only needs to slide his / her finger to adjust the viewing angle of the virtual object and further adjust the displayed virtual environment screen, simplifying the user's operation to control the virtual object to perform an action and improving the adjustment efficiency of the virtual environment screen.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application was filed with the China Patent Office on August 19, 2021, bearing application number 202110956123.2, and claims priority to a Chinese patent application entitled "Virtual environment screen display method, device, terminal and storage medium", all of the contents of which are incorporated herein by reference.

[0002] FIELD OF THE DISCLOSURE This application relates to the technical fields of computers and the Internet, and in particular to displaying virtual environment screens. [Background technology]

[0003] In a shooting game, a user can observe a virtual environment by performing sliding actions on the screen.

[0004] In the related art, a user interface displays a function control and a virtual environment screen. A user clicks on the function control to control a virtual object to perform a corresponding action, and the user further adjusts the viewing angle of the virtual object by performing a sliding operation on the screen, causing the user interface to display a different virtual environment screen. The click operation on the operation control and the sliding operation on the screen are mutually independent operations, and the sliding operation on the screen can be triggered and generated only when the user releases the operation control after clicking it. That is, if the user does not release the operation control after clicking it, the client cannot detect the sliding operation on the screen even if the user slides his finger on the screen. Summary of the Invention [Problem to be solved by the invention]

[0005] However, in the above related art, the sliding operation on the screen can be triggered and generated only when the user releases the operation control after clicking it, which makes the operation inconvenient.

[0006] The embodiments of the present application provide a method, device, terminal, medium and program product for displaying a virtual environment screen, which simplifies user operation, controls virtual objects to perform actions, and improves the adjustment efficiency of the virtual environment screen. The technical solutions are as follows: [Means for solving the problem]

[0007] According to one aspect of an embodiment of the present application, there is provided a method for displaying a virtual environment screen executed by a terminal, the method comprising: displaying a first virtual environment view, the first virtual environment view being a view of the virtual environment from a first viewing angle of a virtual object; controlling the virtual object in response to a first touch operation on a first functional control to perform an action corresponding to the first functional control, wherein a touch start position of the first touch operation is a first position within a response area of ​​the first functional control; and displaying a second virtual environment screen in response to a touch position of the first touch operation moving from the first position to a second position, the second position being a position outside a response area of ​​the first function control, the second virtual environment screen being a screen for observing the virtual environment at a second viewing angle of the virtual object, the second viewing angle having an orientation different from that of the first viewing angle.

[0008] According to one aspect of an embodiment of the present application, there is provided a display device for a virtual environment screen, the device comprising: a screen display module for displaying a first virtual environment view, the first virtual environment view being a view of the virtual environment at a first viewing angle of a virtual object; an object control module that controls the virtual object in response to a first touch operation on a first functional control to execute an action corresponding to the first functional control, the object control module being configured such that a touch start position of the first touch operation is a first position within a response area of ​​the first functional control; and a screen adjustment module that displays a second virtual environment screen in response to a touch position of the first touch operation moving from the first position to a second position, the second position being a position outside a response area of ​​the first function control, the second virtual environment screen being a screen for observing the virtual environment at a second viewing angle of the virtual object, the second viewing angle having an orientation different from that of the first viewing angle.

[0009] According to one aspect of an embodiment of the present application, a terminal is provided, the terminal including a processor and a memory, the memory storing 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 the processor to realize the method for displaying a virtual environment screen of the above aspect.

[0010] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, the computer program being stored in the readable storage medium, and the computer program being executed to realize the method for displaying a virtual environment screen of the above aspect.

[0011] According to one aspect of the embodiment of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium, a processor of a server reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the server to perform the above-mentioned virtual object selection method, and a processor of a terminal reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the terminal to perform the above-mentioned aspect of the virtual environment screen display method. Effect of the Invention

[0012] The technical solutions provided by the embodiments of this application have the following beneficial effects: A first touch operation on a first function control controls a virtual object to perform an action corresponding to the first function control; and when the touch position of the first touch operation moves from the first position to a second position outside the response area of ​​the first function control, the virtual object is adjusted from a first viewing angle to a second viewing angle, and a second virtual environment screen is displayed based on the second viewing angle; that is, with the same touch operation, the virtual object can be controlled to perform a corresponding action, and the virtual environment screen can be adjusted based on the change in the touch position; when the virtual object is controlled to perform a certain action, the user can slide his / her finger to adjust the viewing angle of the virtual object and further adjust the displayed virtual environment screen; even if the user does not release the finger, the client can still respond to the user's sliding operation, simplifying the user operation to control the virtual object to perform an action, and improving the adjustment efficiency of the virtual environment screen. [Brief description of the drawings]

[0013] [Figure 1] 1 is a schematic diagram of a virtual screen display system provided by one embodiment of the present application. [Diagram 2] FIG. 2 is an exemplary schematic diagram of a display scheme for a virtual environment screen. [Diagram 3] 1 is a flowchart of a method for displaying a virtual environment screen provided by an embodiment of the present application. [Figure 4] FIG. 2 is an exemplary schematic diagram of a user interface. [Diagram 5] FIG. 2 is an exemplary schematic diagram of a configuration interface. [Figure 6] 13 is an exemplary schematic diagram of another virtual environment screen display scheme. FIG. [Figure 7] 13 is an exemplary schematic diagram of another virtual environment screen display scheme. FIG. [Figure 8] FIG. 2 is an exemplary schematic diagram of a control scheme for a virtual object. [Figure 9] FIG. 13 is an exemplary schematic diagram of a control scheme for another virtual object. [Figure 10] FIG. 2 is an exemplary schematic diagram of a touch method for a first function control. [Figure 11] FIG. 2 is a block diagram of a display device for a virtual environment screen provided by one embodiment of the present application. [Figure 12] FIG. 2 is a block diagram of a display device for a virtual environment screen provided by another embodiment of the present application. [Figure 13] FIG. 2 is a structural block diagram of a terminal provided by one embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] In order to make the objectives, technical solutions and advantages of the present application more comprehensible, the following describes the embodiments of the present application in more detail in conjunction with the drawings.

[0015] 1 is a schematic diagram of a virtual screen display system provided by an embodiment of the present application. The virtual screen display system includes a terminal 10 and a server 20.

[0016] The terminal 10 may be, for example, an electronic device such as a smartphone, a tablet, a game host, an e-book reader, a media player, a wearable device, or a PC (Personal Computer). A client of an application program (e.g., a game application program) is installed on the terminal 10. Optionally, the application program may be a downloaded and installed application program or a quick-run application program, which is not limited to the embodiments of the present application.

[0017] In the embodiment of the present application, the application program is any application program that provides a virtual environment and allows a virtual character operated by a user to act in the virtual environment. Typically, the application program may be a game application program, such as a TPS (Third-Personal Shooting Game), an FPS (First-person Shooting Game), a BR (Battle Royale) game, a MOBA (Multiplayer Online Battle Arena) game, a multiplayer gunfight survival game, etc. Of course, application programs other than game application programs can also display virtual objects to users and provide functions corresponding to the virtual objects. For example, the application programs may be VR (Virtual Reality) type application programs, AR (Augmented Reality) type application programs, 3D map programs, military simulation programs, social application programs, interactive entertainment application programs, etc., which are not limited to the embodiments of the present application. In addition, different application programs provide different virtual object forms and different corresponding functions, which may be pre-configured based on actual needs, which are not limited in the embodiments of the present application. Optionally, the terminal 10 runs a client of the above application program. In some embodiments, the above application program is an application program developed based on a three-dimensional virtual environment engine, for example, the virtual environment engine is a Unity engine, which can build three-dimensional virtual environments, virtual objects, virtual props, etc., to provide users with a more immersive game experience.

[0018] The virtual environment is a scenario displayed (or provided) when a client of an application program (e.g., a game application program) is executed on a terminal, and the virtual environment is a scenario created for a virtual object to act (e.g., play a game), such as a virtual house, a virtual island, a virtual map, etc. The virtual environment may be a simulation environment for the real world, a semi-simulation semi-virtual environment, or even a full virtual environment. The virtual environment may be a 2D virtual environment, a 2.5D virtual environment, or a 3D virtual environment, which is not limited to the embodiments of the present application.

[0019] The above virtual object may be a virtual character controlled by a user account in an application program, or a virtual character controlled by a computer program in an application program. For example, the application program is a game application program, and the virtual object may be a game character controlled by a user account in a game application program, or a game monster controlled by a computer program in a game application program. The virtual object may be in the form of a person, an animal, an animation, or other aspects, which is not limited in the embodiment of the present application. The virtual object may be displayed in a three-dimensional form, or in a two-dimensional form, which is not limited in the embodiment of the present application. Optionally, when the virtual environment is a three-dimensional virtual environment, the virtual object is a three-dimensional solid model established based on an animation skeleton technology. In the three-dimensional virtual environment, each virtual object has its own shape and volume, and occupies a part of the space of the three-dimensional virtual environment.

[0020] Optionally, in an embodiment of the present application, when controlling the virtual object to perform an action in the process of executing an application program on the terminal 10, the user may adjust the viewing angle of the virtual object in the virtual environment. Exemplarily, as shown in Fig. 2, in the process of executing the application program, the terminal 10 displays a first function control and a first virtual environment screen on a user interface, and further determines whether a first touch operation on the first function control is detected, and if the first touch operation on the first function control is detected, controls the virtual object to perform an action corresponding to the first function control, and if the first touch operation on the first function control is not detected, keeps the viewing angle of the virtual object as it is. Furthermore, when a first touch operation on the first function control is detected, the terminal 10 determines whether the touch position of the first touch operation has moved from within the first function control to outside the first function control, and if the touch position of the first touch operation has moved from within the first function control to outside the first function control, adjusts the viewing angle of the virtual object based on the position change status of the touch position and converts the first virtual environment screen into a second virtual environment screen based on the adjusted viewing angle, and if the touch position of the first touch operation has not moved from within the first function control to outside the first function control, maintains the viewing angle of the virtual object as it is.

[0021] The server 20 provides background services to clients of the application program on the terminal 10. For example, the server 20 may be a background server of the above-mentioned game application program. The server 20 may be one server, a server cluster consisting of multiple servers, or a cloud computing service center. Optionally, the server 20 provides background services to application programs on multiple terminals 10 simultaneously.

[0022] Optionally, the terminal 10 and the server 20 communicate with each other via a network.

[0023] Referring to Figure 3, it is a flowchart of a method for displaying a virtual environment screen provided by one embodiment of the present application. The method is applied to the terminal 10 of the virtual screen display system of Figure 1, for example, the execution body of each step is a client of an application program installed in the terminal 10. The method includes the following steps (301 to 303).

[0024] Step 301: Display a first virtual environment screen.

[0025] The virtual environment view is a display view of the virtual environment presented to the user in the user interface. The virtual environment view may be a view captured by a virtual camera from the virtual environment. In a possible embodiment, the virtual camera captures the virtual environment view from a third-person viewing angle of the virtual object. Optionally, the virtual camera is positioned diagonally above the virtual object, and the virtual camera allows the client to observe the virtual environment with the virtual object at its center, and captures and displays the virtual environment view with the virtual object at its center. In another possible embodiment, the virtual camera captures the virtual environment view from a first-person viewing angle of the virtual object. Optionally, the virtual camera is positioned directly in front of the virtual object, and the virtual camera allows the client to observe the virtual environment with the virtual object at its first-person viewing angle, and captures and displays the virtual environment view with the virtual object at its first-person viewing angle.

[0026] In the embodiment of the present application, in the process of executing the application program, the client displays a first virtual environment screen. The first virtual environment screen is a screen for observing the virtual environment at a first viewing angle of a virtual object, the virtual object being a virtual object controlled by a user in the application program, and the first viewing angle is an arbitrary viewing angle of the virtual object. Here, the first viewing angle is not limited to the first person viewing angle and the third person viewing angle, but represents the orientation of the virtual object when observing the virtual environment. Optionally, the first viewing angle may be an arbitrary viewing angle in the first person viewing angle or an arbitrary viewing angle in the third person viewing angle, which is not limited in the embodiment of the present application.

[0027] Optionally, in the embodiment of the present application, the orientation of the virtual camera can be adjusted in real time, that is, the user can adjust the viewing angle of the virtual object based on the actual situation. For example, the user can adjust the orientation of the virtual camera by sliding the user interface to adjust the viewing angle of the virtual object. Of course, in the exemplary embodiment, the placement position of the virtual camera can be adjusted in real time. For example, the user can use a joystick to control the virtual object to move in the virtual environment, change the position of the virtual object in the virtual environment, and further change the placement position of the virtual camera in the virtual environment. Also, for example, the user can click a position on the map display control to set the position as the adjusted placement position of the virtual camera. The map display control is a control for displaying a global map in a shooting application.

[0028] Step 302: In response to a first touch operation on a first functional control, a virtual object is controlled to perform an action corresponding to the first functional control.

[0029] The functional control controls the virtual object to perform a corresponding operation, and the actions corresponding to different functional controls are different. Optionally, in the embodiment of the present application, the user interface includes at least one functional control. In a possible embodiment, the functional control is directly displayed in the user interface, and optionally, the user displays the first virtual environment screen, and at the same time, displays at least one functional control provided by the application program to the user in the user interface. In another possible embodiment, the functional control is displayed in a hidden manner in the user interface, and optionally, the first virtual environment screen is displayed in the user interface, and from the user interface, a response area of ​​the at least one functional control provided by the application program to the user is determined, and the at least one functional control is not displayed in the user interface to ensure the cleanliness of the user interface. In another possible embodiment, the functional control is displayed in a semi-hidden manner in the user interface, and optionally, the first virtual environment screen is displayed in the user interface, and a response area of ​​at least one functional control provided to the user by the application program is determined from the user interface, and when any touch operation by the user on the response area of ​​a certain functional control is detected, the functional control is displayed in the user interface, and the user determines whether the functional control is a required functional control.

[0030] The touch operation is an operation triggered and generated by a user. Optionally, the touch operation can be an operation on any position in the user interface. The above touch operation can be a single-click operation, a double-click operation, a slide operation, etc., to which the embodiments of the present application are not limited. Optionally, the touch operations corresponding to different positions in the user interface are different. Exemplarily, the touch operation corresponding to a function control in the user interface is a single-click operation, and the user single-clicks the function control to control the virtual object to perform an action corresponding to the function control; the touch operation corresponding to the display area of ​​the virtual environment screen in the user interface is a slide operation, and the user adjusts the viewing angle of the virtual object by a slide operation on the display area to display a new virtual environment screen in the user interface.

[0031] The first touch operation is a touch operation on a first functional control, and the first functional control is any one of the at least one functional control. In an embodiment of the present application, after displaying the first virtual environment screen, the client detects a user interface, and when detecting a first touch operation on the first functional control, controls a virtual object to perform an action corresponding to the first functional control. A touch start position of the first touch operation is a first position within a response area of ​​the first functional control, and the first position is an arbitrary position in the response area of ​​the first functional control.

[0032] Optionally, the response area of ​​said first functional control is an optional area in the user interface.

[0033] In a possible embodiment, the first function control is displayed on the user interface directly or half-hidden. Optionally, the response area of ​​the first function control is a region centered on the display area of ​​the first function control and has an area equal to or larger than the display area. Exemplarily, the response area of ​​the first function control is the display area of ​​the first function control. Optionally, the shape of the response area of ​​the first function control may be the same as or different from the shape of the display area of ​​the first function control, and the embodiments of the present application are not limited thereto.

[0034] In another possible embodiment, the first function control is displayed in a hidden manner in the user interface. Optionally, the response area of ​​the first function control is an area that the designer sets based on the user's habits. For example, since the user is accustomed to controlling a virtual object to move with the left hand and controlling the virtual object to release a skill with the right hand, the designer places the response area of ​​the function control for controlling the virtual object to move on the left side of the user interface, and places the response area of ​​the function control for controlling the virtual object to release a skill on the right side of the user interface.

[0035] Optionally, the above actions may be any actions, such as an object use action, a posture change action, a skill use action, etc., to which the embodiments of the present application are not limited.

[0036] In a possible embodiment, the action is an action of using an object. Optionally, when detecting a first touch operation on the first function control, the client determines a virtual object corresponding to the first function control, and controls the virtual object to use the virtual object. In an exemplary embodiment, the virtual object may be called a virtual weapon, such as a virtual gun, a virtual bullet, a virtual explosive, etc. Optionally, in an embodiment of the present application, the function controls corresponding to different virtual objects are different, or the function controls corresponding to different virtual objects are similar but the corresponding touch operations are different.

[0037] In another possible embodiment, the action is a posture change action. Optionally, when detecting the first touch operation on the first functional control, the client determines a posture corresponding to the first functional control, and controls the virtual object to change from a current posture to a posture corresponding to the first functional control. The posture of the virtual object includes a standing posture, a crouching posture, a prone posture, a jumping posture, etc., which are not limited to the embodiment of the present application. Optionally, in the embodiment of the present application, the functional controls corresponding to different postures are different, or the functional controls corresponding to different postures are similar but the corresponding touch operations are different.

[0038] In another possible embodiment, the operation is a skill release operation. Optionally, when detecting a first touch operation on the first functional control, the client determines a skill corresponding to the first functional control, and controls a virtual object to release the skill corresponding to the first functional control. Optionally, in the embodiment of the present application, the functional controls corresponding to different skills are different, or the functional controls corresponding to different skills are similar but the corresponding touch operations are different.

[0039] Step 303: In response to the touch position of the first touch operation moving from the first position to the second position, a second virtual environment screen is displayed.

[0040] The second position is a position outside the response area of ​​the first function control, that is, in the embodiment of the present application, after detecting the first touch operation, the client detects the touch position of the first touch operation, and displays a second virtual environment screen when the touch position of the first touch operation moves from the first position to a second position outside the response area of ​​the first function control. The second position is any position outside the response area of ​​the first function control, and the second virtual environment screen is a screen for observing the virtual environment at a second viewing angle of the virtual object, and the second viewing angle has a different orientation from the first viewing angle. Similar to the first viewing angle, the second viewing angle does not limit the first person viewing angle and the third person viewing angle, but simply represents the orientation of the virtual object when observing the virtual environment.

[0041] Here, since the change process of the touch position of the first touch operation is continuous, the first touch operation is also called a slide operation during the change process of the touch position. Exemplarily, taking a shooting application as an example, as shown in FIG. 4, the user interface 40 includes a first virtual environment screen and a first function control 41 (shooting button), when the user clicks the first function control 41 with his / her finger, the client determines that the first touch operation on the first function control 41 is detected, and controls the virtual object to shoot the enemy virtual object 43 using a virtual weapon 42, and when the user's finger slides from within the response area of ​​the first function control 41 to outside the response area of ​​the first function control 41, the client determines that the first touch operation includes a slide operation, adjusts the direction of the viewing angle of the virtual object based on the slide operation, and further displays a second virtual environment screen on the user interface 40. The second virtual environment screen includes a newly appeared virtual object 44.

[0042] As described above, in the technical solution provided by the embodiments of the present application, a first touch operation on a first functional control controls a virtual object to perform an action corresponding to the first functional control; when the touch position of the first touch operation moves from the first position to a second position outside the response area of ​​the first functional control, the virtual object is adjusted from a first viewing angle to a second viewing angle, and a second virtual environment screen is displayed based on the second viewing angle; that is, with the same touch operation, the virtual object can be controlled to perform a corresponding action, and the virtual environment screen can be adjusted according to the change in the touch position; when the virtual object is controlled to perform an action, the user only needs to slide his / her finger to adjust the viewing angle of the virtual object and adjust the displayed virtual environment screen; even if the user does not let go of the finger, the client can still respond to the user's sliding operation, which simplifies the user's operation to control the virtual object to perform an action, and improves the adjustment efficiency of the virtual environment screen.

[0043] The display method of the second virtual environment screen mentioned above will be introduced below.

[0044] In an exemplary embodiment, the above step 303 includes the following steps: 1. Obtain the touch position of the first touch operation. The touch position is a current contact position between the first touch operation and the user interface. For example, if the first touch operation is a click operation, the touch position is a click position of the click operation, and if the first touch operation is a slide operation, the touch position is a current slide end position of the slide operation. In an embodiment of the present application, after detecting the first touch operation, the client detects the touch position of the first touch operation in real time, and obtains the touch position of the first touch operation. 2. Calculate the distance between the touch position of the first touch operation and the reference position of the first functional control. In an embodiment of the present application, after obtaining the touch position, the client calculates a distance between the touch position of the first touch operation and a reference position of the first functional control, where the reference position is the center position of the first functional control. 3. If the distance is greater than a threshold, determine that the touch position is outside the response area of ​​the first function control, and display a second virtual environment screen with the touch position as the second position.

[0045] In an embodiment of the present application, after obtaining the distance between the touch position and the reference position, the client compares the distance with a threshold value. Further, if the distance is greater than the threshold value, the client displays a second virtual environment screen with the current touch position as a second position, and if the distance is equal to or less than the threshold value, the client keeps the orientation of the first viewing angle of the virtual object as it is. The threshold value is equal to or greater than the maximum distance between the center position of the first functional control and the edge position of the first functional control.

[0046] By using the distance between the current touch position and the reference position as the judgment basis, it is possible to accurately determine whether the current touch position is already outside the response area of ​​the first function control, thereby improving the response speed and accuracy of the adjustment to the viewing angle.

[0047] Optionally, in an embodiment of the present application, if it is determined that the distance is greater than a threshold, the client determines that the touch position of the first touch operation has moved from within the response area of ​​the first function control to outside the response area of ​​the first function control, and further obtains directional information of the touch position of the first touch operation relative to a reference position, determines an orientation of the second field of view angle based on the directional information, and displays the second virtual environment screen based on the orientation of the second field of view angle.

[0048] The directional information of the second position relative to the reference position can intuitively represent the orientation of the current touch position relative to the first functional control, allowing the user to accurately control the adjustment of the viewing angle direction based on the orientation, thereby improving the accuracy of the viewing angle adjustment.

[0049] Here, the virtual environment screen can also be changed by the movement of a virtual object, so even if the orientation of the first viewing angle of the virtual object is maintained, the first virtual environment screen may change due to the movement of the virtual object in the virtual environment.

[0050] Of course, in an exemplary embodiment, the above reference position may also be an edge point of the first function control through which the first touch operation is performed during the position movement process, and correspondingly, the above threshold value is any numerical value greater than zero.

[0051] Optionally, the above directional information includes a movement direction and a movement distance, and the client determines an orientation change direction of the first field of view angle based on the movement direction of the touch position relative to a reference position, determines an orientation change angle of the first field of view angle based on the movement distance of the touch position relative to the reference position, and further adjusts the first field of view angle to a second field of view angle based on the orientation change direction and the orientation change angle.

[0052] Optionally, in the embodiment of the present application, the user performs custom adjustment to the adjustment rule corresponding to the virtual environment screen (i.e., the following custom operation rule) according to the actual situation, and the specific steps are as follows: 1. Get custom operation rules. The custom operation rule is an operation rule selected from a plurality of candidate operation rules. Optionally, the plurality of candidate operation rules includes a first operation rule. The first operation rule is an operation rule that, for a touch operation whose touch start position is within the response area of ​​the function control, cannot trigger a direction change when the touch position of the touch operation moves within the response area of ​​the function control, and can trigger a direction change when the touch position of the touch operation moves outside the response area of ​​the function control. Of course, in an exemplary embodiment, the plurality of candidate operation rules further includes at least one of a second operation rule and a third operation rule. The second operation rule is an operation rule that, for a touch operation whose touch start position is within the response area of ​​the function control, cannot trigger a direction change when the touch position of the touch operation moves, and the third operation rule is an operation rule that, for a touch operation whose touch start position is within the response area of ​​the function control, triggers a direction change when the touch position of the touch operation moves. Here, the direction change is a change in orientation relative to the viewing angle of the virtual object.

[0053] For illustrative purposes, taking the first function control as an example, and combining Table 1, the above three operation rules and the trigger conditions for changing the direction of the virtual object are introduced. [Table 1] Note that the trigger position in Table 1 is the trigger position of the first touch operation for the first function control, and the response area is the response area of ​​the first function control.

[0054] In the embodiment of the present application, the client obtains the above-mentioned custom operation rule through a user's selection operation in a configuration interface. Optionally, when the above-mentioned custom operation rule is obtained, the client first displays a configuration interface, in which the configuration interface includes options corresponding to the above-mentioned multiple candidate operation rules, and when detecting an operation on an option corresponding to a target operation rule in the above-mentioned multiple candidate operation rules, the client sets the target operation rule to the custom operation rule. Here, the operation on the option is also called a selection operation.

[0055] The configuration interface can intuitively display selectable candidate operation rules, allowing the user to accurately select the desired candidate operation rule.

[0056] Of course, in an exemplary embodiment, the above-mentioned configuration interface further includes other content options, such as a response area option of the function control, a display rule option of the function control, a display area option of the function control, an action operation rule of the function control, etc. Illustratively, as shown in Fig. 5, the configuration interface 50 includes an adjustment rule 51 of the virtual environment screen, an action operation rule 52 of the first function control, and a display rule 53 of each function control. The adjustment rule 51 of the virtual environment screen includes a first operation rule, a second operation rule, and a third operation rule, the action operation rule 52 of the first function control includes an action execution after pressing and an action execution after releasing, and the display rule of each function control includes a direct display, a hidden display, and a half hidden display. An option 54 is included in front of each selectable rule.

[0057] 2. If the custom operation rule is a first operation rule, execute step 303 of displaying a second virtual environment screen in response to the touch position of the first touch operation moving from the first position to the second position. The display method of the virtual environment screen corresponding to the first operation rule is the display method of the virtual environment screen introduced in the above embodiment of Figure 3, and specifically, refer to the embodiment of Figure 3, and no detailed description will be given here. The above-mentioned custom operation rules allow users to select appropriate custom operation rules according to their own usage habits, which improves the flexibility of operation.

[0058] 3. When the custom operation rule is the second operation rule, in response to a movement of the touch position of the first touch operation, the virtual object is controlled so as to maintain the first viewing angle as it is.

[0059] Optionally, in an embodiment of the present application, when the above custom operation is a second operation rule, after detecting a first touch operation of the above first function control, the client controls the virtual object to perform an action corresponding to the first function control, and further, when detecting that the touch position of the first touch operation has moved, the client controls the virtual object to maintain the first viewing angle.

[0060] Here, when the client controls the virtual object to maintain the first viewing angle, the orientation of the first viewing angle is simply maintained, so in this case, when the virtual object moves and the position of the virtual object changes, the first virtual environment screen also changes to correspond to the change in position of the virtual object.

[0061] Optionally, in the embodiment of the present application, after controlling the virtual object to perform an action corresponding to the first functional control, the client accepts a second touch operation. The touch start position of the second touch operation is a third position outside the response area of ​​the first functional control. Furthermore, if the custom operation rule is the second operation rule, when the touch position of the second touch operation is detected and moved from the third position to a fourth position, the client displays a third virtual environment screen. The third virtual environment screen is a screen for observing the virtual environment at a third viewing angle of the virtual object. The third viewing angle has a different orientation from the second viewing angle. Similar to the first viewing angle, the third viewing angle does not limit the first person viewing angle and the third person viewing angle, but simply represents the orientation when the virtual object observes the virtual environment.

[0062] Optionally, the third position may be any position outside the response area of ​​the first functional control, or any position in the target area, which may be a part of the remaining area of ​​the user interface excluding the response area of ​​each functional control, or may be the entire remaining area of ​​the user interface excluding the response area of ​​each functional control.

[0063] Optionally, the fourth position may be any position outside the response area of ​​the first functional control except the third position, or may be any position in the target area except the third position, or may be any position in the user interface except the third position.

[0064] The target area may be a part of the remaining area of ​​the user interface excluding the response area of ​​each function control, or may be the entire remaining area of ​​the user interface excluding the response area of ​​each function control.

[0065] Here, since the change process of the touch position of the second touch operation is continuous, during the change process of the touch position, the second touch operation is also called a slide operation.

[0066] In this way, in the embodiment of the present application, the user can further conveniently control the viewing angle orientation of the first virtual object based on a sliding operation without touching the first functional control, which simplifies the operation.

[0067] For example, referring to FIG. 6 in combination, the second operation rule will introduce a virtual environment screen display method, the specific steps of which are as follows: Step 601: Display a first virtual environment screen; Step 602: In response to a first touch operation on a first function control, control a virtual object to perform an action corresponding to the first function control; Step 603: In response to the movement of the touch position of the first touch operation, control the virtual object so as to maintain the first viewing angle; Step 604: in response to a second touch operation whose touch start position is outside the response area of ​​the first function control, obtain a position change status of the second touch operation; Step 605: adjusting the virtual object from the first viewing angle to a third viewing angle according to a position change situation of the touch position of the second touch operation; Step 606: Adjust the first virtual environment view based on the third viewing angle.

[0068] 4. When the custom operation rule is the third operation rule, in response to the touch position of the first touch operation moving from the first position to a fifth position within the response area of ​​the first function control, a fourth virtual environment screen is displayed.

[0069] Optionally, in the embodiment of the present application, when the above custom operation rule is a third operation rule, after detecting a first touch operation of the above first function control, the client controls the virtual object to perform an action corresponding to the first function control, and when detecting a touch position of the first touch operation, moves from the first position to a fifth position within the response area of ​​the first function control to display a fourth virtual environment screen. The fourth virtual environment screen is a screen for observing the virtual environment at a fourth viewing angle of the virtual object, and the fourth viewing angle has an orientation different from that of the first viewing angle, and the fifth position is any position except the first position. Similar to the first viewing angle, the fourth viewing angle does not limit the first person viewing angle and the third person viewing angle, but merely represents the orientation of the virtual object when observing the virtual environment.

[0070] Here, in the above-mentioned third operation rule, when the touch position of the first touch operation is detected and moved from the first position to any position excluding the first position, the client can adjust the first viewing angle of the virtual object to adjust the first virtual environment screen.

[0071] For example, referring to FIG. 7 in combination, the third operation rule introduces a virtual environment screen display method, the specific steps of which are as follows: Step 701: Display a first virtual environment screen; Step 702: In response to a first touch operation on a first function control, control a virtual object to perform an action corresponding to the first function control; Step 703: in response to the touch position of the first touch operation moving, obtain a position change status of the touch position of the first touch operation; Step 704: Adjust the virtual object from the first viewing angle to a fourth viewing angle according to a position change situation of the first touch operation; Step 705: Adjust the first virtual environment view based on the fourth viewing angle.

[0072] Here, unless otherwise specified in this application, the adjustment to the first viewing angle is not limited to a position adjustment to the first viewing angle, but is merely an orientation adjustment to the first viewing angle. Optionally, when the virtual object moves, the position of the virtual camera changes with the position of the virtual object, in which case the position of the first viewing angle of the virtual object is changed.

[0073] Below, the method for controlling a virtual object according to the present application will be introduced from the perspective of action execution.

[0074] Referring to FIG. 8, it is a flowchart of a virtual object control method provided by one embodiment of the present application. The method is applied to the terminal 10 of the virtual screen display system of FIG. 1, for example, the execution body of each step may be a client of an application program installed in the terminal 10. The method includes the following steps (801 to 803): Step 801: Display a first virtual environment screen. Step 802: In response to a first touch operation on a first functional control, a virtual object is controlled to perform an action corresponding to the first functional control. The above steps 801 and 802 are similar to steps 301 and 302 in the embodiment of FIG. 3, so please refer to the embodiment of FIG. 3 specifically and no further description will be given here. Step 803: In response to the touch position of the first touch operation moving from the first position to a sixth position within the response area of ​​the second function control, the virtual object is controlled to perform an action corresponding to the second function control.

[0075] In an embodiment of the present application, after detecting the first touch operation, the client detects a touch position of the first touch operation, and when the touch position of the first touch operation moves from the first position to a sixth position within a response area of ​​a second function control, controls the virtual object to perform an action corresponding to the second function control, where the second function control is any one of the at least one function control except the first function control, and the sixth position is any position within the response area of ​​the second function control.

[0076] In other words, by controlling a virtual object so that a user performs multiple actions with a single touch operation, for example an action corresponding to a first function control and an action corresponding to a second function control, the number of touches is effectively reduced and the difficulty of control is simplified.

[0077] Optionally, in an embodiment of the present application, before controlling the virtual object to perform an action corresponding to the second touch operation, the client needs to determine an action corresponding to the second touch operation and an action corresponding to the first function control. If the action corresponding to the second function control and the action corresponding to the first function control are not mutually exclusive actions, when it is detected that the touch position of the first touch operation has moved from the first position to the sixth position, the client controls the virtual object to perform the action corresponding to the second function control; if the action corresponding to the second function control and the action corresponding to the first function control are mutually exclusive actions, when it is detected that the touch position of the first touch operation has moved from the first position to the sixth position, the client controls the virtual object not to perform the action corresponding to the second function control.

[0078] Mutually exclusive actions are two actions that cannot be executed consecutively. For example, in a posture changing action of a virtual object, a prone posture can be changed to a standing posture, a standing posture can be changed to a jumping posture, and a prone posture cannot be changed to a jumping posture. In this case, the prone posture changing action and the jumping posture changing action are mutually exclusive actions, and when a first function control instructs a virtual object to change to a prone posture and a second function control instructs a virtual object to change to a jumping posture, if it is detected that the touch position of the first touch operation has moved from the first position to the above-mentioned sixth position, the client cannot control the virtual object to change to a jumping posture.

[0079] As described above, in the technical solution provided by the embodiments of the present application, by moving the touch position of the first touch operation, after performing an action corresponding to a first function control, the virtual object can be controlled to subsequently perform an action corresponding to a second function control, thereby improving the control efficiency of the virtual object.

[0080] In the embodiment of FIG. 3 , after the touch position of the first touch operation is moved to control the virtual object to perform an action corresponding to the first function control, the first viewing angle of the virtual object is adjusted to observe the virtual environment. In this case, while observing the virtual environment, based on the actual situation, the user continuously moves the touch position of the first touch operation to the response area of ​​the second function control, so as to control the virtual object to perform an action corresponding to the second function control, thereby improving the efficiency of performing the action of the virtual object and simplifying the user operation, so that the action of the virtual object is more continuous.

[0081] Referring to FIG. 9, it is a flowchart of a virtual object control method provided by another embodiment of the present application. The method is applied to the terminal 10 of the virtual screen display system of FIG. 1, for example, the execution body of each step may be a client of an application program installed in the terminal 10. The method includes the following steps (901-905): Step 901: Display a first virtual environment screen. Step 902: In response to a first touch operation on a first functional control, a virtual object is controlled to perform an action corresponding to the first functional control.

[0082] The above steps 901 and 902 are similar to steps 301 and 302 in the embodiment of FIG. 3, and specific details may be referred to the embodiment of FIG. 3, and will not be described here.

[0083] Step 903: In response to the touch position of the first touch operation moving from the first position to a second position outside the response area of ​​the first function control, a location area of ​​the second position is obtained.

[0084] In an embodiment of the present application, after detecting the above-mentioned first touch operation, the client detects the touch position of the first touch operation, and when the touch position of the first touch operation moves from the first position to a second position outside the response area of ​​the first function control, obtains the location area of ​​the second position.

[0085] Optionally, in an embodiment of the present application, the first functional control is associated with an extended response area, and the extended response area of ​​the first functional control surrounds the response area of ​​the first functional control.

[0086] Step 904: If the second position is within the extended response area of ​​the first functional control, periodically control the virtual object to perform an action corresponding to the first functional control.

[0087] Optionally, in an embodiment of the present application, when the above-mentioned second position is within an extended response area of ​​the first functional control, when detecting that the touch position of the first touch operation moves from the first position to the second position, the client periodically controls the virtual object to perform an action corresponding to the first functional control.

[0088] Step 905: If the second position is outside the extended response area of ​​the first functional control, control the virtual object not to perform an action corresponding to the first functional control.

[0089] Optionally, in an embodiment of the present application, when detecting that the touch position of the first touch operation moves from the first position to the second position, if the second position is outside the extended response area of ​​the first functional control, the client controls the virtual object not to perform an action corresponding to the first functional control.

[0090] Optionally, in the embodiment of the present application, the above virtual environment is a virtual environment in a shooting application. Illustratively, take the first function control as an example that the shooting button is a shooting button, as shown in FIG. 10, when the touch position of the first touch operation is a position 101 (initial touch position) in the response area (display area) of the shooting button 100, the client controls the virtual object to shoot, and when the touch position of the first touch operation moves from the position 101 to a position 102 in the extended response area of ​​the shooting button 100, the client adjusts the viewing angle of the virtual object and periodically controls the virtual object to shoot, and when the touch position of the first touch operation moves from the position 102 to a position 103 outside the extended response area of ​​the shooting button 100, the client simply adjusts the viewing angle of the virtual object and controls the virtual object not to shoot.

[0091] As described above, in the technical solution provided by the embodiments of the present application, when the touch position of the first function control is within the extended response area of ​​the first function control, the virtual object is periodically controlled to perform an action corresponding to the first function control, so that the action execution manner of the virtual object becomes more flexible and the flexibility when the user controls the virtual object to perform actions is improved.

[0092] In the embodiment of FIG. 3 , the virtual object is controlled to perform an action corresponding to the first function control by moving the touch position of the first touch operation, and then the first viewing angle of the virtual object is adjusted to observe the virtual environment, in which the user controls the virtual object to observe the virtual environment, and appropriately slides the touch position of the first touch operation into the extended response area of ​​the first function control based on the actual situation, thereby timely controlling the virtual object to respond to the virtual environment and perform the action corresponding to the first function control.

[0093] The following are apparatus embodiments for implementing the method embodiments of the present application. For details not disclosed in the apparatus embodiments of the present application, please refer to the method embodiments of the present application.

[0094] Referring to FIG. 11, there is shown a block diagram of a virtual environment screen display device provided in one embodiment of the present application. The device has a function of implementing the above-mentioned virtual environment screen display method, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be a terminal or can be disposed in a terminal. The device 1000 includes: a screen display module 1110 for displaying a first virtual environment view, the first virtual environment view being a view of the virtual environment at a first viewing angle of a virtual object; an object control module 1120 that controls the virtual object to perform an action corresponding to a first functional control in response to a first touch operation on the first functional control, the object control module 1120 having a touch start position of the first touch operation being a first position within a response area of ​​the first functional control; and a screen adjustment module 1130 that displays a second virtual environment screen in response to a touch position of the first touch operation moving from the first position to a second position, the second position being a position outside a response area of ​​the first function control, the second virtual environment screen being a screen for observing the virtual environment at a second viewing angle of the virtual object, the second viewing angle having an orientation different from that of the first viewing angle.

[0095] In an exemplary embodiment, the screen adjustment module 1130 obtains a touch position of the first touch operation, calculates a distance between the touch position of the first touch operation and a reference position of the first function control, and if the distance is greater than a threshold, determines that the touch position is outside a response area of ​​the first function control, and displays the second virtual environment screen with the touch position as the second position.

[0096] In an exemplary embodiment, the screen adjustment module 1130 obtains directional information of the second touch position relative to the reference position, determines an orientation of the second field of view based on the directional information, and displays the second virtual environment screen based on the orientation of the second field of view.

[0097] In an exemplary embodiment, as shown in FIG. 12, the device 1100 includes: The rule acquisition module 1140 further includes a custom operation rule acquisition module 1140, where the custom operation rule is an operation rule selected from a plurality of candidate operation rules, the plurality of candidate operation rules including a first operation rule, and the plurality of candidate operation rules further including at least one of a second operation rule and a third operation rule, where the first operation rule is an operation rule that, for a touch operation whose touch start position is within a response area of ​​a functional control, when the touch position of the touch operation moves within the response area of ​​the functional control, cannot trigger a direction change, and can trigger a direction change when the touch position of the touch operation moves outside the response area of ​​the functional control, the second operation rule is an operation rule that, for a touch operation whose touch start position is within the response area of ​​a functional control, cannot trigger a direction change, when the touch position of the touch operation moves, and the third operation rule is an operation rule that, for a touch operation whose touch start position is within the response area of ​​a functional control, when the touch position of the touch operation moves, triggers a direction change.

[0098] The screen adjustment module 1130 further performs a step of displaying a second virtual environment screen in response to the touch position of the first touch operation moving from the first position to a second position when the custom operation rule is the first operation rule.

[0099] In an exemplary embodiment, as shown in FIG. 12, the device 1100 includes: When the custom operation rule is the second operation rule, the display device further includes a viewing angle maintenance module 1150 that controls the virtual object to maintain the first viewing angle in response to a movement of a touch position of the first touch operation.

[0100] In an exemplary embodiment, as shown in FIG. 12, the device 1100 includes: The operation receiving module 1160 further includes: an operation receiving module 1160 for receiving a second touch operation, where a touch start position of the second touch operation is a third position outside a response area of ​​the first function control.

[0101] The screen adjustment module 1130 further displays a third virtual environment screen in response to the touch position of the second touch operation moving from the third position to a fourth position when the custom operation rule is the second operation rule, the third virtual environment screen being a screen for observing the virtual environment at a third viewing angle of the virtual object, the third viewing angle having an orientation different from that of the second viewing angle.

[0102] In an exemplary embodiment, when the custom operation rule is the third operation rule, the screen adjustment module 1130 further displays a fourth virtual environment screen in response to the touch position of the first touch operation moving from the first position to a fifth position within the response area of ​​the first function control, the fourth virtual environment screen being a screen for observing the virtual environment at a fourth viewing angle of the virtual object, the fourth viewing angle having an orientation different from that of the first viewing angle.

[0103] In an exemplary embodiment, the rule acquisition module 1140 displays a placement interface, which includes options corresponding to the plurality of candidate operation rules, and in response to an operation on an option corresponding to a target operation rule in the plurality of candidate operation rules, installs the target operation rule to the custom operation rule.

[0104] In an exemplary embodiment, the object control module 1120 further controls the virtual object to perform an action corresponding to the second function control in response to the touch position of the first touch operation moving from the first position to a sixth position within a response area of ​​a second function control.

[0105] In an exemplary embodiment, the object control module 1120 further performs a step of controlling the virtual object to perform an action corresponding to the second function control if the action corresponding to the second function control and the action corresponding to the first function control are not mutually exclusive actions, or controls the virtual object not to perform the action corresponding to the second function control if the action corresponding to the second function control and the action corresponding to the first function control are mutually exclusive actions.

[0106] In an exemplary embodiment, the object control module 1020 further periodically controls the virtual object to perform an action corresponding to the first functional control when the second position is within an extended response area of ​​the first functional control, or controls the virtual object not to perform an action corresponding to the first functional control when the second position is outside the extended response area of ​​the first functional control, wherein the extended response area of ​​the first functional control surrounds the response area of ​​the first functional control.

[0107] In an exemplary embodiment, the virtual environment is a virtual environment in a shooting application.

[0108] As described above, in the technical solution provided by the embodiments of the present application, a first touch operation on a first functional control controls a virtual object to perform an action corresponding to the first functional control; when the touch position of the first touch operation moves from the first position to a second position outside the response area of ​​the first functional control, the virtual object is adjusted from a first viewing angle to a second viewing angle, and a second virtual environment screen is displayed based on the second viewing angle; that is, with the same touch operation, the virtual object can be controlled to perform a corresponding action, and the virtual environment screen can be adjusted according to the change in the touch position; when the virtual object is controlled to perform an action, the user only needs to slide his / her finger to adjust the viewing angle of the virtual object and adjust the displayed virtual environment screen; even if the user does not let go of the client, the client can still respond to the user's sliding operation, which simplifies the user's operation to control the virtual object to perform an action, and improves the adjustment efficiency of the virtual environment screen.

[0109] Here, for the device provided in the above embodiment, when implementing its functions, the partition of each of the above functional modules is merely described as an example, and in actual application, the above functions are allocated to be completed by different functional modules according to needs, that is, the internal structure of the device is partitioned into different functional modules to achieve all or part of the above functions. In addition, the device provided in the above embodiment and the method embodiment belong to the same concept, and the specific implementation process can be referred to the method embodiment, and no further description is made here.

[0110] Referring to Fig. 13, there is shown a structural block diagram of a terminal 1300 provided by an embodiment of the present application. The terminal 1300 may be an electronic device such as a smartphone, a tablet, a game host, an e-book reader, a media player, a wearable device, a PC, etc. The terminal implements the method for displaying a virtual environment screen provided by the above embodiment. The terminal may be the terminal 10 in the game driving environment of Fig. 1. Specifically, the terminal 1300 includes a processor 1301 and a memory 1302.

[0111] The processor 1301 includes one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 is implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), or a PLA (Programmable Logic Array). The processor 1301 includes a processor that processes data in a wake-up state, a main processor also called a CPU (Central Processing Unit), and a co-processor that is a low-power consumption processor that processes data in a standby state. In some embodiments, the processor 1301 is integrated with a GPU (Graphics Processing Unit), which renders and draws content to be displayed on the display. In some embodiments, the processor 1301 further includes an AI (Artificial Intelligence) processor, which processes computing operations related to machine learning.

[0112] The memory 1302 includes one or more computer readable storage media, which are non-transitory. The memory 1302 may further include high speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices, flash storage devices, etc. In some embodiments, the non-transitory computer readable storage media in the memory 1302 stores at least one instruction, at least one program, code set, or set of instructions, which is configured to be executed by one or more processors to implement the method for displaying a virtual environment screen described above.

[0113] In some embodiments, the terminal 1300 preferably further includes a peripheral interface 1303 and at least one peripheral device. The processor 1301, the memory 1302, and the peripheral device interface 1303 are coupled together via a bus or signal lines. Each peripheral device is coupled to the peripheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1304, a display 1305, a camera component 1306, an audio circuit 1307, a positioning component 1308, and a power supply 1309.

[0114] As will be appreciated by those skilled in the art, the structure of FIG. 13 does not limit terminal 1300, which may include more or fewer components than shown, or may combine some components, or may be configured using different components.

[0115] Moreover, the embodiments of the present application further provide a storage medium, the storage medium stores a computer program, and the computer program executes the method provided by the above embodiments.

[0116] An embodiment of the present application further provides a computer program product including instructions, which when run on a computer, cause the computer to perform the methods provided by the above embodiments.

[0117] Optionally, the computer-readable storage medium includes ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or optical disks, etc. The random access memory includes ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0118] In an exemplary embodiment, a computer program product is further provided, which, when executed by a processor, implements the above-mentioned method for displaying a virtual environment screen.

[0119] Here, "multiple" referred to in this specification refers to two or more than two. "And / or" describes the relation between related objects and indicates that there are three relations, for example, A and / or B indicates three situations, that A exists alone, that A and B exist simultaneously, and that B exists alone. The symbol " / " generally indicates that the objects related before and after are in an "or" relation. In addition, the step numbers described in this specification merely exemplify the possible order of execution between steps, and in some other embodiments, the above steps may not be executed in order according to the numbers, for example, two different numbered steps may be executed simultaneously or may be executed according to the order opposite to that of the drawings, which is not limited to the embodiments of the present application.

[0120] The above does not limit the present application, but is merely an illustrative embodiment of the present application, and any modifications, equivalent replacements, improvements, etc. completed within the spirit and principles of the present application should fall within the protection scope of the present application. [Explanation of symbols]

[0121] 10 Terminal 20 Servers 40 User Interface 41 First Function Control 42 Virtual Weapons 43 Enemy Virtual Objects 44 Virtual Objects 50 Configuration Interface 51 Adjustment Rules 52 Action Manipulation Rules 53 Display Rules 54 Choices 100 shooting buttons 101~103 position 1000 devices 1020 Object Control Module 1100 equipment 1110 Screen display module 1120 Object Control Module 1130 Screen Adjustment Module 1140 Rule Acquisition Module 1150 Viewing Angle Retention Module 1160 Module 1300 terminals 1301 Processor 1302 Memory 1303 Peripheral Device Interface 1304 Radio Frequency Circuits 1305 Display 1306 Camera Component 1307 Audio Circuit 1308 Components 1309 Power supply

Claims

1. A method for displaying a virtual environment screen executed by a terminal, comprising: displaying a first virtual environment view, the first virtual environment view being a view of the virtual environment from a first viewing angle of a virtual object; a step of acquiring a custom operation rule, the custom operation rule being an operation rule selected from a plurality of candidate operation rules, the plurality of candidate operation rules including a first operation rule, and the plurality of candidate operation rules further including a second operation rule, the first operation rule being an operation rule that, for a touch operation whose touch start position is within a response area of ​​a first functional control, when the touch position of the touch operation moves within the response area of ​​the first functional control, cannot trigger a direction change, and can trigger a direction change when the touch position of the touch operation moves outside the response area of ​​the first functional control, and the second operation rule being an operation rule that, for a touch operation whose touch start position is within the response area of ​​the first functional control, cannot trigger a direction change when the touch position of the touch operation moves; A step of controlling the virtual object in response to a first touch operation on the first function control so as to execute an action corresponding to the first function control, wherein a touch start position of the first touch operation is a first position within a response area of ​​the first function control; If the custom operation rule is the first operation rule, the method includes a step of displaying a second virtual environment screen in response to a touch position of the first touch operation moving from the first position to a second position, the second position being a position outside a response area of ​​the first function control, the second virtual environment screen being a screen for observing the virtual environment at a second viewing angle of the virtual object, the second viewing angle having an orientation different from the first viewing angle.

2. displaying a second virtual environment screen in response to the touch position of the first touch operation moving from the first position to a second position, acquiring a touch position of the first touch operation; Calculating a distance between a touch position of the first touch operation and a reference position of the first function control; and if the distance is greater than a threshold, determining that the touch location is outside a response area of ​​the first functional control and displaying the second virtual environment screen with the touch location as the second location.

3. displaying the second virtual environment screen with the touch location as the second location, obtaining direction information of the second position relative to the reference position; determining an orientation of the second viewing angle based on the directional information; and displaying the second virtual environment view based on an orientation of the second viewing angle.

4. The method comprises:

2. The method of claim 1, further comprising: a step of obtaining custom operation rules, the custom operation rules further including a third operation rule, the third operation rule being an operation rule that triggers a direction change when a touch position of a touch operation moves for a touch operation whose touch start position is within a response area of ​​the first function control.

5. In response to a first touch operation on the first function control, the virtual object is controlled to perform an action corresponding to the first function control; The method according to claim 1 , further comprising: controlling the virtual object to maintain the first viewing angle in response to a movement of a touch position of the first touch operation when the custom operation rule is the second operation rule.

6. The method comprises: receiving a second touch operation, the touch start position of the second touch operation being a third position outside a response area of ​​the first function control; 5. The method of claim 4, further comprising: when the custom operation rule is the second operation rule, in response to a touch position of the second touch operation moving from the third position to a fourth position, displaying a third virtual environment screen, the third virtual environment screen being a screen for observing the virtual environment at a third viewing angle of the virtual object, the third viewing angle having an orientation different from that of the second viewing angle.

7. The method comprises:

5. The method of claim 4, further comprising the steps of: when the custom operation rule is the third operation rule, in response to a touch position of the first touch operation being moved from the first position to a fifth position within a response area of ​​the first function control, displaying a fourth virtual environment screen, the fourth virtual environment screen being a screen for observing the virtual environment at a fourth viewing angle of the virtual object, the fourth viewing angle having an orientation different from that of the first viewing angle.

8. The step of obtaining the custom operation rule includes: displaying a configuration interface, the configuration interface including options corresponding to the plurality of candidate operation rules; and in response to an operation on an option corresponding to a target operation rule in the plurality of candidate operation rules, installing the target operation rule in the custom operation rule.

9. In response to a first touch operation on the first function control, the virtual object is controlled to perform an action corresponding to the first function control; The method according to any one of claims 1 to 8, further comprising the step of controlling the virtual object to perform an action corresponding to the second function control in response to a touch position of the first touch operation moving from the first position to a sixth position within a response area of ​​a second function control.

10. before controlling the virtual object to perform an action corresponding to the second functional control; executing a step of controlling the virtual object to perform the action corresponding to the second functional control when the action corresponding to the second functional control and the action corresponding to the first functional control are not mutually exclusive actions; Or, The method according to claim 9 , further comprising: controlling the virtual object not to execute the action corresponding to the second functional control when the action corresponding to the second functional control and the action corresponding to the first functional control are mutually exclusive actions.

11. The method comprises: periodically controlling the virtual object to perform an action corresponding to the first functional control when the second position is within an extended response area of ​​the first functional control; Or, If the second position is outside an extended response area of ​​the first functional control, controlling the virtual object not to perform an action corresponding to the first functional control; The method according to any one of claims 1 to 8, wherein the extended response area of ​​the first function control surrounds the response area of ​​the first function control.

12. The method according to any one of claims 1 to 8, wherein the virtual environment is a virtual environment in a shooting application.

13. 1. A display device for a virtual environment screen, comprising: a screen display module for displaying a first virtual environment view, the first virtual environment view being a view of the virtual environment at a first viewing angle of a virtual object; a rule acquisition module for acquiring a custom operation rule, the custom operation rule being an operation rule selected from a plurality of candidate operation rules, the plurality of candidate operation rules including a first operation rule, and the plurality of candidate operation rules further including a second operation rule, the first operation rule being an operation rule that, for a touch operation whose touch start position is within a response area of ​​a first functional control, when the touch position of the touch operation moves within the response area of ​​the first functional control, cannot trigger a direction change, and can trigger a direction change when the touch position of the touch operation moves outside the response area of ​​the first functional control, and the second operation rule being an operation rule that, for a touch operation whose touch start position is within the response area of ​​the first functional control, cannot trigger a direction change when the touch position of the touch operation moves; an object control module that controls the virtual object in response to a first touch operation on a first functional control to execute an action corresponding to the first functional control, the object control module having a touch start position of the first touch operation being a first position within a response area of ​​the first functional control; and a screen adjustment module that displays a second virtual environment screen in response to a touch position of the first touch operation moving from the first position to a second position when the custom operation rule is the first operation rule, the second position being a position outside a response area of ​​the first function control, the second virtual environment screen being a screen for observing the virtual environment at a second viewing angle of the virtual object, the second viewing angle having an orientation different from that of the first viewing angle.

14. A terminal comprising a processor and a memory, the memory storing 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 the processor to realize the method for displaying a virtual environment screen according to any one of claims 1 to 12.

15. A computer program comprising instructions which, when executed on a computer, cause the computer to carry out a method for displaying a virtual environment screen according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Game control method and device and electronic equipment

    CN112206504A

  • Method for controlling virtual shooting character, apparatus, program, storage medium, and electronic device

    JP2019058659A

  • Game device and game program

    JP2019154668A

  • Virtual character processing method, virtual character processing device, electronic apparatus and storage medium

    US20210146248A1