Display method, device and equipment for turn combat, medium and product
By switching to turn-based combat mode in turn-based games and using different display methods, the problem of the main subject not being prominent in the combat scene is solved, and the player's attention to important information and combat immersion are enhanced.
Patent Information
- Application Number
- CN202411140609.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-10-29
AI Technical Summary
In turn-based games, the random generation of battle scene locations means that the main subject may appear in a non-visual focal point position, making it difficult for players to capture important information in the virtual world in time, which affects the immersion in battle and operational efficiency.
By controlling the main virtual character to explore the virtual world and respond to turn-based combat trigger conditions, players can switch to turn-based combat mode, adopt different combat behavior modes, and use different display methods to highlight the target subject, including changes in viewing angle and control layout, to ensure that players focus on important information.
It effectively highlights the main target in the battle scene, increases the player's attention to important information, enhances the immersion in the battle and the ease of operation, and ensures that the player can capture key information in a timely manner.
Smart Images

Figure CN118846509A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of human-computer interaction, and in particular to a display method, device, equipment, medium and product for turn-based combat. Background Art
[0002] A turn-based game means that in non-combat scenarios, the main control virtual character moves in the world map. In combat scenarios, the main control virtual character controls the captured pet virtual character in the battle map and engages in turn-based combat with enemy units (monsters or pet virtual characters captured by other characters).
[0003] In a typical turn-based game, when a battle begins, the server will calculate and set a fixed perspective that should cover the key areas in the battle scene. The client will present the fixed perspective to the player, and the player will control the pet virtual character to fight through the main virtual character under the fixed perspective.
[0004] However, since the location of the battle scene is randomly generated in the world map, the subject may appear in a non-visual focus position in the current virtual world screen, resulting in the problem of the subject not being prominent, and the player's vision cannot immediately capture important information in the current virtual world screen. Summary of the invention
[0005] The present application provides a method, device, equipment, medium and product for displaying turn-based combat, and the technical solution is as follows.
[0006] According to one aspect of the present application, a method for displaying a turn-based battle is provided, the method comprising:
[0007] Controlling a main control virtual character to explore in a virtual world, wherein the main control virtual character has at least one pet character;
[0008] In response to satisfying a turn-based combat trigger condition, switching from a virtual world exploration state to a turn-based combat state, and controlling the pet character of the party to fight with the enemy pet character in the turn-based combat state;
[0009] In response to a combat behavior mode selection operation, switching between multiple combat behavior modes is performed, and a target subject located in a combat scene is displayed in different display modes in different combat behavior modes;
[0010] Wherein, the target subject includes at least one of the main control virtual character, the own pet character and the enemy pet character.
[0011] According to one aspect of the present application, a display device for turn-based combat is provided, the device comprising:
[0012] A control module, used for controlling a main control virtual character to explore in a virtual world, wherein the main control virtual character has at least one pet character;
[0013] A switching module, for switching from a virtual world exploration state to a turn-based combat state in response to satisfying a turn-based combat trigger condition, and controlling the pet character of the own party to fight with the pet character of the enemy in the turn-based combat state;
[0014] A display module is used to switch between multiple combat behavior modes in response to a combat behavior mode selection operation, and to display a target subject located in the combat scene in different display modes in different combat behavior modes;
[0015] Wherein, the target subject includes at least one of the main control virtual character, the own pet character and the enemy pet character.
[0016] According to another aspect of the present application, a computer device is provided, which includes: a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the turn-based combat display method described above.
[0017] According to another aspect of the present application, a computer storage medium is provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the method for displaying turn-based combat as described above.
[0018] According to another aspect of the present application, a computer program product is provided, which includes a computer program stored in a computer-readable storage medium; the computer program is read and executed from the computer-readable storage medium by a processor of a computer device, so that the computer device executes the method for displaying turn-based combat as described above.
[0019] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0020] In a turn-based game, the main virtual character in the virtual world is controlled to explore the virtual world. After the turn-based battle trigger conditions are met, the virtual world exploration state is switched to the turn-based battle state, and the world scene is switched to the battle scene (also called the turn-based battle scene), and the pet character of the party and the enemy pet character are controlled to perform turn-based battles. In the battle scene, the main virtual character can enter different combat behavior modes. For different combat behavior modes in the battle scene, the corresponding display mode of the virtual world screen is different. Each combat behavior mode has a corresponding display mode, and the target subject in the battle scene can be displayed according to different display modes. This method of determining the display mode according to different combat behavior modes can highlight the target subject in the current virtual world screen, which helps players focus on the current more important information. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 A schematic diagram of a virtual world provided by an exemplary embodiment is shown;
[0023] Figure 2 A schematic diagram of a virtual world provided by an exemplary embodiment is shown;
[0024] Figure 3 A structural block diagram of a computer system provided by an exemplary embodiment is shown;
[0025] Figure 4 A schematic diagram showing an observation viewing angle display in the related art provided by an exemplary embodiment is shown;
[0026] Figure 5 A schematic diagram showing an observation viewing angle display in the related art provided by an exemplary embodiment is shown;
[0027] Figure 6 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0028] Figure 7 A flowchart of a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0029] Figure 8 A flowchart of a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0030] Fig. 9 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0031] Fig.10 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0032] Fig.11 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0033] Fig.12 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0034] Fig.13 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0035] Fig.14 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0036] Fig.15 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0037] Fig.16 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0038] Fig.17 A flowchart of a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0039] Fig.18 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0040] Fig.19 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0041] Fig. 20 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0042] Fig.21 A schematic diagram showing a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0043] Fig. 22 A flowchart of a method for displaying turn-based combat provided by an exemplary embodiment is shown;
[0044] Fig.23is a structural block diagram of a display device for turn-based combat provided by an embodiment of the present application;
[0045] Fig.24 It is a schematic diagram of the structure of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0047] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0048] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0049] It should be understood that, although the terms first, second, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0050] It should be noted that before collecting relevant data of users and during the process of collecting relevant data of users, this application can display a prompt interface, pop-up window or output voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that its relevant data is currently being collected, so that this application only starts to execute the relevant steps of obtaining relevant data of users after obtaining the confirmation operation issued by the user to the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user to the prompt interface or pop-up window is not obtained), the relevant steps of obtaining relevant data of users are terminated, that is, the relevant data of users are not obtained. In other words, all user data collected by this application are collected with the consent and authorization of the user, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of relevant countries and regions.
[0051] First, the relevant terms involved in this application are introduced:
[0052] Virtual world: is a virtual world displayed (or provided) when an application is running on a terminal. The virtual world can be a simulation of the real world, a semi-simulation and semi-fictitious three-dimensional world, or a purely fictitious three-dimensional world. The virtual world can be any one of a two-dimensional virtual world, a 2.5-dimensional virtual world, and a three-dimensional virtual world, which is not limited in this application. Optionally, the virtual world is also used for a virtual environment battle between at least two virtual characters, and there are virtual resources in the virtual world that can be used by at least two virtual characters.
[0053] The main virtual character refers to the movable object played by the player in the virtual world. The main virtual character can be a virtual person, a virtual animal, an animated character, etc., such as a person or an animal displayed in a three-dimensional virtual world. Optionally, the main virtual character is a three-dimensional model created based on animation skeleton technology. Each main virtual character has its own shape and volume in the three-dimensional virtual world and occupies a part of the space in the three-dimensional virtual world.
[0054] Optionally, the main control virtual character is a virtual character that plays an attacking role in the game. Optionally, the main control virtual character can be a virtual character controlled by a player, or the main control virtual character is a virtual character controlled by artificial intelligence (AI). The embodiment of the present application is described by taking the main control virtual character as a virtual character controlled by a player as an example.
[0055] Pet virtual characters: refers to movable objects in the virtual world. Pet virtual characters can be virtual creatures, virtual animals, virtual monsters, virtual elves, virtual pets, etc., for example: movable objects in the form of animals or other forms displayed in a three-dimensional virtual world. Pet virtual characters can be captured, raised, upgraded, etc. by the main virtual character. Pet virtual characters can assist the main virtual character in performing at least one of the interactive operations such as collecting, fighting, changing plots, etc.
[0056] Optionally, the pet virtual characters include friendly pet characters and enemy pet characters.
[0057] The pet character of the party is the pet character that has been successfully captured by the main virtual character. The main virtual character is the virtual character controlled by the current player. The pet character of the party that has been successfully captured can be controlled by the current player; or the current player can specify the battle strategy, and then the AI will control it based on the battle strategy, which is not limited in this application.
[0058] The enemy pet character is a pet virtual character that does not belong to the camp of the main virtual character. The enemy pet character includes: at least one of a monster controlled by an NPC (Non-Player Character), a wild monster, a monster controlled by an AI, a pet character that was not successfully captured, and a pet character captured by a virtual character controlled by another player.
[0059] Spring arm component: In the game engine, the spring arm component is a component used to connect the observed target and the virtual camera model. The terminal device displays the virtual world through the virtual world screen. The virtual world screen is a screen that observes the virtual world through the observation angle corresponding to the virtual camera model. For example, if the observed target is the main virtual character, when the virtual world is observed from a third-person perspective, the virtual camera model can be located behind the main virtual character and bound to the main virtual character through the spring arm component.
[0060] In an embodiment of the present application, a spring arm component is a component for a virtual reference axis and a virtual camera model. Optionally, the spring arm component starts from the virtual reference axis and ends at the virtual camera model. The virtual reference axis is used to indicate the position of the target subject in the battle scene, and is a virtual axis connecting the target subject in the current combat behavior mode. The spring arm component allows the virtual camera model to dynamically move and rotate around the target subject while maintaining a certain distance. The spring arm component can automatically shrink or lengthen, and dynamically adjust the length as needed to avoid the virtual camera model being blocked by objects in the virtual world, ensuring the smoothness of the player's field of view. The spring arm component can be configured with various parameters, such as length, rotation limit, collision detection, etc., to meet different game design requirements.
[0061] Turn-based role-playing game (RPG): A type of game in which the player plays a virtual character in a realistic or virtual world. The turn-based RPG provides two types of maps: world map and battle map. In non-combat scenarios, the virtual character moves in the world map, such as playing, capturing pet virtual characters, collecting treasure chests, collecting virtual props, etc.; in combat scenarios, the virtual character controls the captured pet virtual character (first pet virtual character) in the battle map and engages in turn-based combat with the enemy unit (second pet virtual character), for example, the enemy unit is an NPC (Non-Player character) in the game, a monster controlled by AI, or a pet virtual character captured by other characters.
[0062] World Map: The world map includes multiple plots. Each plot is a polygonal plot. The polygonal plot is any one of square, rectangle, and hexagon. For example, each plot is a 50 cm x 50 cm square. Each plot has its own surface attributes. Surface attributes include grass, stone, water, etc. In addition, the multiple plots included in the world map can be of the same type or a combination of different types.
[0063] Optionally, the time of the open world game is controlled by a TOD (Time of Day, 24 hours time) system. Under the control of the TOD system, the world map will have time-related factors such as weather, day and night, four seasons, festivals, etc.
[0064] Battle map: Optionally, the battle map is a partial map of the world map. It is understandable that when entering a turn-based battle, the battle map in the battle scene and the world map in the world scene use the same map data. Optionally, when not entering a turn-based battle, the world server loads the map data of the world map, and when entering a turn-based battle, the battle server loads the data of a partial map of the world map, so that the battle map and the partial map share the same map data. Figure 1 and Figure 2 As shown, in the virtual world 10, when the first pet virtual character 12 encounters the second pet virtual character 14 at a certain location in the world map and enters into a battle, one or more plots within a certain range centered on the reference location determined by the first pet virtual character 12 in the world map are determined as the battle location. Fig.16 The reference position is the position of the first pet virtual character 12, or the nearest suitable battle position to the first pet virtual character 12. In some embodiments, the battle position Fig.16It includes all plots within a circular range with a reference position as the center and a predetermined length as the radius; in some embodiments, the battle area Fig.16 Includes all plots within a rectangle of a predetermined length and width centered at the reference location.
[0065] World scene: refers to the scene corresponding to the world map. When the world scene is displayed in the user interface, one or more plots in the world map may be displayed in the user interface. For example, the user interface displays one or more plots where the main virtual character or pet virtual character is currently located in the world map, as well as some interface elements related to the above-mentioned displayed plots, main virtual characters, pet virtual characters, etc.
[0066] Battle scene: refers to the scene corresponding to the battle map. When the battle scene is displayed in the user interface, the battle map can be displayed in the user interface, such as displaying all or part of the plots contained in the battle map. For example, the user interface displays one or more plots where the main virtual character or pet virtual character is currently located in the battle map, as well as some interface elements related to the above-mentioned displayed plots, main virtual characters, pet virtual characters, etc. Optionally, the world scene and the battle scene can be switched, for example, from the world scene to the battle scene, or from the battle scene to the world scene. Optionally, the world scene is also called a non-battle scene, and the turn-based battle scene is also called a battle scene.
[0067] Figure 3 FIG. 1 is a block diagram of a computer system provided by an exemplary embodiment of the present application. The computer system 100 includes: a first terminal 120 , a server 140 , a second terminal 160 and a third terminal 180 .
[0068] The first terminal 120 installs and runs a client of an application that supports the virtual world. Among them, the application can be any one of a three-dimensional map program, a virtual reality (VR) application, an augmented reality (AR) program, an RPG program, a turn-based game program, and a turn-based RPG program. The first terminal 120 is a terminal used by a first user. The first user uses the first terminal 120 to control the first virtual character in the virtual world to perform activities. The first virtual character is used as the main virtual character. The activities include but are not limited to: adjusting body posture, walking, running, jumping, riding, driving, aiming, picking, capturing enemy pet characters, controlling one's own pet characters, raising one's own pet characters, using one's own pet characters to pick, using one's own pet characters to fight, using throwing props, and attacking other virtual characters. Exemplarily, the first virtual character is a first virtual character, such as a simulated character object or an animated character object. Exemplarily, the first user controls the first virtual character to perform activities through the UI controls on the virtual world screen, and the first user controls the first virtual character to throw the own pet character through the UI controls on the virtual world screen.
[0069] The first terminal 120 is connected to the server 140 via a wireless network or a wired network.
[0070] 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, and the memory 142 includes a receiving module 1421, a control module 1422, and a sending module 1423. The receiving module 1421 is used to receive a request sent by a client, such as a request to view the location of an enemy virtual character; the control module 1422 is used to control the rendering of a virtual world screen; and the sending module 1423 is used to send a response to the client, such as sending the location of a third virtual character to the client. The server 140 is used to provide background services for applications that support a three-dimensional virtual world. Optionally, the server 140 undertakes the main computing work, and the first terminal 120, the second terminal 160, and the third terminal 180 undertake the secondary computing work; or, the server 140 undertakes the secondary computing work, and the first terminal 120, the second terminal 160, and the third terminal 180 undertake the main computing work; or, the server 140, the first terminal 120, the second terminal 160, and the third terminal 180 adopt a distributed computing architecture for collaborative computing.
[0071] The second terminal 160 is installed with and runs a client of an application supporting the virtual world. The second terminal 160 is a terminal used by a second user, who uses the second terminal 160 to control a second virtual character in the virtual world to perform activities, and the second virtual character also serves as a master virtual character. The third terminal 180 is installed with and runs an application supporting the virtual world. The third terminal 180 is a terminal used by a third user, who uses the third terminal 180 to control a third virtual character in the virtual world to perform activities.
[0072] Optionally, the first virtual character, the second virtual character and the third virtual character are in the same virtual world. The first virtual character and the second virtual character belong to different camps, and the second virtual character and the third virtual character belong to the same camp.
[0073] Optionally, the applications installed on the first terminal 120, the second terminal 160 and the third terminal 180 are the same, or the applications installed on the three terminals are the same type of applications on different operating system platforms (Android or IOS). The first terminal 120 may refer to one of a plurality of terminals, the second terminal 160 may refer to one of a plurality of terminals, and the third terminal 180 may refer to one of a plurality of terminals. This embodiment is only illustrated by the first terminal 120, the second terminal 160 and the third terminal 180. The device types of the first terminal 120, the second terminal 160 and the third terminal 180 are the same or different, and the device types include: at least one of a smart phone, a smart watch, a smart TV, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer and a desktop computer. The following embodiments are illustrated by taking the terminal including a smart phone as an example.
[0074] Those skilled in the art will appreciate that the number of the above terminals may be more or less. For example, the above terminal may be only one, or the above terminals may be dozens or hundreds, or more. The embodiment of the present application does not limit the number of terminals and device types.
[0075] Figure 4 The following is a schematic diagram of the viewing angle display in the related art provided by an exemplary embodiment of the present application. In the related art, when displaying the world scene, the virtual camera model shoots the world scene from the perspective of the main virtual character, for example, using the first-person perspective or the third-person perspective to shoot the world scene. Figure 4As shown, in the virtual world picture 200 of the world scene, it is shown that the pet character 201 of the party and the pet character 202 of the enemy are located in the virtual world picture 200. Wherein, the pet character 201 of the party is located in the focal position of the visual area, and the pet character 202 of the enemy is located in the non-focal position of the visual area. However, since the position of the battle scene is randomly generated in the world map (satisfying the turn-based battle triggering condition), the turn-based battle is entered at this time, and the server loads the data of the partial map of the world map, so that the battle map and the partial map share the same map data. When the battle scene is displayed, the pet character 202 of the enemy is still in the non-focal position of the visual area, and there is a problem that the main body is not prominent.
[0076] In the related art, in order to solve the problem that the main body is not prominent, the player can control the virtual character to move freely, such as Figure 5 As shown, after entering the turn-based battle, the virtual world screen 300 is displayed. In the virtual world screen 300, the player can control the movement of the main virtual character 301 and the enemy pet character 302 to be located in the middle of the battle screen, so that the main virtual character 301 and the enemy pet character 302 are both in the focal position of the visual area. However, this method of manually controlling the movement by the player will reduce the immersion of the battle.
[0077] Based on this, an embodiment of the present application provides a method for displaying turn-based combat. Figure 6 A schematic diagram of a method for displaying turn-based combat provided by an exemplary embodiment of the present application is shown, and the method is described by taking the method executed by a client of an application supporting a virtual world as an example.
[0078] Exemplary, with reference to Figure 6 , controlling a main virtual character 401 in a virtual world 400, the main virtual character 401 is used to explore in the virtual world 400, and control a pet character 402 and an enemy pet character 403 to perform turn-based combat. The main virtual character 401 is a virtual character controlled by a player, the pet character 402 is a virtual character subordinate to the main virtual character 401, and the enemy pet character is a virtual character that does not belong to the main virtual character camp, for example, the enemy pet character 403 is a virtual character that is hostile to the main virtual character 401.
[0079] In some embodiments, a mode control list 404 is displayed on the virtual world screen, and the mode control list 404 displays at least one mode control. Figure 6As shown in part (a) of the figure, the mode controls in the mode control list 404 include "skill control", "change control", "capture control", "backpack control" and "escape control". Optionally, each mode control corresponds to a combat behavior mode, and the mode control is used to trigger the main control virtual character 401 to enter the combat behavior mode. For example, the combat behavior mode corresponding to the "skill control" is the combat skill selection mode; the combat behavior mode corresponding to the "change control" is the pet character selection mode of the party; the combat behavior mode corresponding to the "capture control" is the enemy pet character capture mode; the combat behavior mode corresponding to the "backpack control" is the prop use mode; and the combat behavior mode corresponding to the "escape control" is the escape mode.
[0080] In some embodiments, the terminal device displays the virtual world through a virtual world screen. The virtual world screen is a screen that observes the virtual world through the observation angle corresponding to the virtual camera model. In response to the main control virtual character 401 being in different combat behavior modes, the target subject in the combat scene is displayed in different display modes. Optionally, the display mode includes at least one of the observation angle and the control layout.
[0081] In some embodiments, the display mode is an observation perspective. In response to the main control virtual character 401 being in different combat behavior modes, the target subject in the combat scene is displayed with the observation perspective corresponding to the current combat behavior mode. Among them, the target subject includes but is not limited to at least one of the main control virtual character 401, the pet character 402 of the party, and the enemy pet character 403. Optionally, for different combat behavior modes in the combat scene, the observation perspective corresponding to the virtual world screen is different, and each combat behavior mode has an observation perspective that matches it. Optionally, in different combat behavior modes, the displayed target subject is different, that is, the visual focus displayed in the virtual world screen is different.
[0082] For example, Figure 6As shown in the figure (a) in part, in response to the selection operation for changing the control 404a, the current combat behavior mode is determined to be the own pet character selection mode. In the own pet character selection mode, it is determined that the target subject located in the combat scene is the main control virtual character 401 and the own pet character 402. Optionally, in the own pet character selection mode, the target subject located in the combat scene is highlighted based on the observation angle corresponding to the own pet character selection mode. At this time, the selection operation of the main control virtual character 401 on the own pet character 402 is mainly highlighted. Optionally, the main control virtual character 401 is used as the main focus object, and the current observation angle is determined with the own pet character 402 as the secondary focus object, for example, the current observation angle is located at a position slightly to the left of the middle of the main control virtual character 401 and the own pet character 402 (highlighting the selection operation of the main control virtual character 401 on the own pet character 402), that is, the virtual camera model at this time is located at a position slightly to the left of the middle of the main control virtual character 401 and the own pet character 402.
[0083] For example, Figure 6 As shown in the part (b) of the figure, in response to the selection operation for the capture control 404b, the current combat behavior mode is determined to be the enemy pet character capture mode. In the enemy pet character capture mode, the target subjects located in the combat scene are determined to be the main control virtual character 401 and the enemy pet character 403. Optionally, in the enemy pet character capture mode, the capture operation of the main control virtual character 401 on the enemy pet character 403 is mainly highlighted. At this time, the current observation angle is determined with the main control virtual character 401 and the enemy pet character 403 as the main focus objects, for example, the current observation angle is located in the middle position of the main control virtual character 401 and the enemy pet character 403, that is, the virtual camera model at this time is located in the middle position of the main control virtual character 401 and the enemy pet character 403.
[0084] In some embodiments, the display mode is a control layout. In response to the main control virtual character 401 being in different combat behavior modes, the target subject in the combat scene is displayed in the control layout corresponding to the current combat behavior mode. Optionally, for different combat behavior modes in the combat scene, the control layout corresponding to the virtual world screen is different.
[0085] For example, Figure 6As shown in the figure (a), when the current combat behavior mode is the own pet character selection mode, the target subject located in the combat scene is highlighted based on the control layout corresponding to the own pet character selection mode. The target subject at this time includes the main control virtual character 401 and the own pet character 402, mainly highlighting the selection operation of the main control virtual character 401 on the own pet character 402. In the own pet character selection mode, multiple interface controls 405 are displayed as pet list controls, and the pet list controls mainly highlight the selection operation of the main control virtual character 401 on the own pet character 402. At this time, multiple interface controls 405 are displayed and arranged around the main control virtual character 401 in a surrounding form. The display position of the multiple interface controls 405 is related to the main control virtual character 401, and the main control virtual character 401 is located on the left side of the virtual world screen. The multiple interface controls 405 are arranged around the left side of the main control virtual character 401 in a surrounding form. This display method can occupy the middle position of the virtual world screen as little as possible, ensure the simplicity of the interface, and enhance the immersive experience of the animation.
[0086] Figure 7 FIG. 1 is a flow chart of a method for displaying turn-based combat provided by an exemplary embodiment of the present application. Figure 3 Taking the first terminal 120 and / or the second terminal 160 and / or the third terminal 180 shown, or a client supporting a virtual world installed on the first terminal 120 and / or the second terminal 160 and / or the third terminal 180 as an example, the method includes at least step 210, step 220 and step 230.
[0087] Step 210: controlling the main virtual character to explore in the virtual world, the main virtual character having at least one pet character;
[0088] In some embodiments, a client supporting a virtual environment is running in the terminal device, and a scene screen of a master virtual character is displayed on the game interface of the client. The master virtual character is a virtual character that plays an offensive role in the game. Optionally, the master virtual character can be a virtual character controlled by a player, or the master virtual character is a virtual character controlled by AI. The embodiment of the present application is described by taking the master virtual character as a virtual character controlled by a player as an example.
[0089] Optionally, the player explores the virtual world by manipulating the main virtual character. For example, the main virtual character walks, runs, jumps, collects resources, discovers new places, completes tasks, solves puzzles, captures monsters, raises a pet character, uses the pet character to pick, uses the pet character to fight, uses throwing props, attacks other virtual characters, and other activities in the virtual world.
[0090] In some embodiments, the main virtual character has at least one pet character of its own. The pet character of its own is a pet character that has been successfully captured by the main virtual character. The main virtual character is a virtual character controlled by the current player. The successfully captured pet character of its own can be controlled by the current player; or the current player can specify a battle strategy, and then the AI can control it based on the battle strategy, which is not limited in this application.
[0091] Step 220: In response to satisfying the turn-based combat triggering condition, switching from the virtual world exploration state to the turn-based combat state, and controlling the pet character of the party to fight with the enemy pet character in the turn-based combat state;
[0092] The enemy pet character is a pet virtual character that does not belong to the camp of the main virtual character. The enemy pet character includes: at least one of: a monster controlled by an NPC, a wild monster, a monster controlled by AI, a pet character that was not successfully captured, and a pet character captured by a virtual character controlled by another player. The embodiment of the present application does not limit the type of the enemy pet character, for example, the enemy pet character is a monster controlled by AI.
[0093] In some embodiments, the main control virtual character explores the world scene with the pet character of the party, and switches from the virtual world exploration state to the turn-based combat state after the turn-based combat triggering condition is met. Optionally, the current scene screen switches from the world scene to the combat scene, and in the combat scene, the main control virtual character controls the pet character of the party and the enemy pet character to perform turn-based combat.
[0094] In some embodiments, the turn-based combat trigger condition is used to trigger the switching between the virtual world exploration state and the turn-based combat state. Alternatively, the turn-based combat trigger condition is a condition for triggering the pet character of the party and the enemy pet character to perform turn-based combat. Among them, the virtual world exploration state refers to the state in which the main control virtual character freely explores and interacts in the virtual world. The turn-based combat state refers to the main control virtual character controlling the pet character of the party and the enemy pet character to perform turn-based combat.
[0095] In some embodiments, turn-based combat refers to a combat mode in which the two combatants take turns to attack or defend or improve attributes according to the order of turns. For example, the two combatants are the pet character of the own side and the pet character of the enemy. Unlike the real-time combat mode, turn-based combat pays more attention to the order in the combat process. Optionally, a complete turn in the turn-based combat refers to the active operation of the pet character of the own side and the pet character of the enemy taking turns to perform the attack or defense or attribute improvement.
[0096] For example, a complete round in a turn-based battle may mean that the pet character of the own side and the pet character of the enemy side attack each other once respectively; or, a complete round may also mean that the pet character of the own side continuously attacks the pet character of the enemy side; a complete round may also mean that the pet character of the own side and the pet character of the enemy side take turns to attack until one of the fighting sides fails or escapes.
[0097] In one possible implementation, the turn-based combat trigger condition is manually triggered by the current player. For example, the current player controls the main virtual character to aim a container prop at an uncaught enemy pet character, and then throws the container prop to the enemy pet character, thereby triggering the turn-based combat trigger condition.
[0098] In another possible implementation, the turn-based combat trigger condition is manually triggered by other players. For example, one player (the opposing player) may challenge another player (the player on the other side), thereby triggering the turn-based combat trigger condition.
[0099] In another possible implementation, the turn-based combat trigger condition is triggered by a terminal device or a server. For example, when the main control virtual character approaches a wild monster, the distance between the main control virtual character and the wild monster character is less than a threshold, and the terminal device or server automatically triggers the turn-based combat trigger condition based on the AI control logic. This application does not limit the triggering method of the turn-based combat trigger condition.
[0100] In some embodiments, the turn-based combat triggering conditions include but are not limited to at least one of the following:
[0101] The main virtual character and / or the pet character of the team meets the enemy pet character on the world map;
[0102] The distance between the main virtual character and / or the pet character of the party and the pet character of the enemy is less than a first threshold;
[0103] The main virtual character throws container props to the enemy pet character;
[0104] The main virtual character uses magic on the enemy pet character;
[0105] The main virtual character performs interactive operations on the enemy pet character, such as initiating a battle, feeding, and petting;
[0106] Your pet character encounters an enemy pet character, and at least one of them is in a combat state;
[0107] · Your pet character encounters an enemy pet character, and at least one of them has combat attributes;
[0108] When your pet character encounters an enemy pet character, their attributes counteract each other;
[0109] The main virtual character or the pet character of the team is attacked by the enemy pet character;
[0110] At least one of the first master virtual character and the second master virtual character confirms to fight.
[0111] The first main virtual character is the main virtual character controlled by the first player (eg, our player), and the second main virtual character can be the main virtual character controlled by the second player (eg, the opponent player), or can be an NPC set in the game.
[0112] It should be noted that the above are merely illustrative examples and do not constitute a limitation on the triggering conditions of turn-based combat.
[0113] In some embodiments, the turn-based combat trigger condition is actively triggered, and the turn-based combat will be triggered after the detection condition is met.
[0114] Optionally, the detection conditions include at least one of the following:
[0115] The camps where the main virtual character and / or the pet character of the team and the enemy pet character are in are hostile camps;
[0116] The main virtual character and / or the pet character of the team and the enemy pet character are in the combat zone in the world scene;
[0117] The time your pet character and the enemy pet character are in the world scene is the combat time.
[0118] It should be noted that the above are merely illustrative examples and do not constitute a limitation on the detection conditions.
[0119] Step 230: In response to the combat behavior mode selection operation, switching between multiple combat behavior modes is performed, and the target subject located in the combat scene is displayed in different display modes in different combat behavior modes.
[0120] In some embodiments, after the turn-based combat triggering condition is met, the pet character of the party and the pet character of the enemy are controlled to perform turn-based combat, and the current virtual world screen is switched from the world scene to the combat scene. Optionally, there are multiple different combat behavior modes in the combat scene. Among them, the combat behavior mode refers to different operation or decision-making modes in the current combat stage.
[0121] In some embodiments, the combat behavior mode includes but is not limited to at least one of the following:
[0122] ·Combat skill selection mode;
[0123] ·Our pet character selection mode;
[0124] ·Enemy pet character capture mode;
[0125] ·Enemy pet character selection mode;
[0126] ·Props usage mode;
[0127] Escape mode
[0128] Group mode.
[0129] Among them, the combat skill selection mode is a mode for controlling the main virtual character to select the skills of the own pet character to release; the own pet character selection mode is a mode for controlling the main virtual character to select the replacement of the own pet character to be fought; the enemy pet character capture mode is a mode for controlling the main virtual character to capture the enemy pet character; the enemy pet character selection mode is a mode for controlling the main virtual character to select the enemy pet character for this battle; the prop use mode is a mode for controlling the main virtual character to select the props to act on the own pet character; the escape mode is a mode for controlling the main virtual character to end the current battle and escape; the group mode is a mode for making decisions on multiple own pet characters and multiple enemy pet characters.
[0130] In some embodiments, the combat behavior mode selection operation is performed based on the mode control. Optionally, after entering the combat scene, at least one mode control is displayed on the game interface, and the mode control is used to trigger the main control virtual character or the pet character of the party to enter the combat behavior mode. Among them, the mode control refers to the interface interaction element used to trigger the main control virtual character to enter the combat behavior state in the game interface. Optionally, the mode control is usually presented in the form of an icon, button, text or other form, which is not limited in this application.
[0131] In some embodiments, a mode control list is displayed on the game interface, and the mode control list includes at least one mode control. The mode control list is a collection of multiple mode controls. In one possible implementation, the mode control list has different layouts. Optionally, the layout of the mode control list includes but is not limited to at least one of an arrangement layout, a card layout, a sliding tab layout, and a carousel layout.
[0132] Exemplarily, the layout of the mode control list is an arrangement layout, which arranges at least one mode control in sequence into rows or columns, or displays it in a grid form; the layout of the mode control list is a card layout, each mode control is displayed in the form of a card, including an icon, a name and a brief description, each mode control is placed in a card-like container, and different mode controls have a certain spacing and borders to make them visually clearer; the layout of the mode control list is a sliding tab layout, each mode control is displayed in the form of a sliding tab, each sliding tab represents a different type of mode control, and the user can switch between different categories of mode controls by sliding or clicking the sliding tab; the layout of the mode control list is a carousel layout, the mode controls are displayed in a carousel, and the user can view different mode controls by sliding left and right or automatically carousel.
[0133] In some embodiments, a plurality of combat behavior modes are switched through combat behavior mode selection operations. For example, a plurality of different combat behavior modes are switched through selection operations on different mode controls, and a main control virtual character or a pet character of the party is selected to enter a preset combat behavior mode, and the main control virtual character or the pet character of the party is displayed in different combat behavior modes.
[0134] The above selection operation for the mode control may be performed by a touch operation on the touch screen. The method may also be applied to a client connected to a mouse and a keyboard, or to a client connected to a handle.
[0135] Exemplarily, the selection operation of the mode control can be triggered by a touch operation on the touch screen, such as directly touching the mode control displayed on the game interface; or, by a click operation on the mouse, such as directly clicking the mode control with the mouse; or, by a key operation on the pre-associated number keys on the keyboard, for example, the combat behavior mode corresponding to the mode control is associated with the number keys 1 to 7 on the keyboard, respectively, and pressing the number key 7 can trigger entering the escape mode; or, by moving the directional joystick on the handle and clicking the OK key, for example, moving the directional joystick upward can select the control corresponding to the escape mode, and then clicking the OK key to enter the escape mode. The implementation of this application is not limited to this.
[0136] In some embodiments, in response to the combat behavior mode selection operation, the target subject in the combat scene is displayed in different display modes in different combat behavior modes, wherein the target subject includes at least one of the main control virtual character, the own pet character, and the enemy pet character.
[0137] Optionally, the display mode includes at least one of an observation perspective and a control layout. In different combat behavior modes, the target subject located in the combat scene is displayed with different observation perspectives; or, in different combat behavior modes, the target subject located in the combat scene is displayed with different control layouts; or, in different combat behavior modes, the target subject located in the combat scene is displayed with different observation perspectives and control layouts. Among them, the observation perspective is the perspective from which the virtual world is observed through a virtual camera model. Optionally, the virtual camera model will not be actually displayed in the virtual environment, that is, the camera model is not displayed in the virtual environment displayed in the game interface. Among them, the control layout refers to the visual arrangement and organization of interface controls (such as buttons, information boxes, indicators, etc.) on the game interface.
[0138] In summary, the method provided by the present embodiment, in a turn-based game, by controlling the main control virtual character located in the virtual world to explore in the virtual world, after satisfying the turn-based battle trigger condition, switching from the virtual world exploration state to the turn-based battle state, switching from the world scene to the battle scene (also referred to as the turn-based battle scene), and controlling the pet character of the party and the enemy's pet character to perform turn-based battle. In the battle scene, the main control virtual character can enter different battle behavior modes. For different battle behavior modes in the battle scene, the display mode corresponding to the virtual world screen is different, and each battle behavior mode has a display mode corresponding thereto, and the target subject located in the battle scene can be displayed according to different display modes. This method of determining the display mode according to different battle behavior modes can highlight the target subject in the current virtual world screen, which helps to help the player focus on the information with a higher current importance level.
[0139] Display the target subject in the battle scene from different observation angles
[0140] In some embodiments, in response to the combat behavior mode selection operation, the target subject in the combat scene is displayed in different display modes in different combat behavior modes, wherein the display mode includes an observation angle.
[0141] Figure 8 2 is a flow chart of a method for displaying turn-based combat provided by an exemplary embodiment of the present application. The above step 230 can be replaced by steps 231 and 232.
[0142] Step 231: In response to a combat behavior mode selection operation, determining a current combat behavior mode among a plurality of combat behavior modes;
[0143] Optionally, there are multiple different combat behavior modes in the combat scenario, wherein the combat behavior mode refers to different operation or decision-making modes in the current combat phase.
[0144] In some embodiments, the combat behavior mode includes but is not limited to at least one of the following:
[0145] ·Combat skill selection mode;
[0146] ·Our pet character selection mode;
[0147] ·Enemy pet character capture mode;
[0148] ·Enemy pet character selection mode;
[0149] ·Props usage mode;
[0150] Escape mode
[0151] Group mode.
[0152] Among them, the combat skill selection mode is a mode for controlling the main virtual character to select the skills of the own pet character to release; the own pet character selection mode is a mode for controlling the main virtual character to select the replacement of the own pet character to be fought; the enemy pet character capture mode is a mode for controlling the main virtual character to capture the enemy pet character; the enemy pet character selection mode is a mode for controlling the main virtual character to select the enemy pet character for this battle; the prop use mode is a mode for controlling the main virtual character to select the props to act on the own pet character; the escape mode is a mode for controlling the main virtual character to end the current battle and escape; the group mode is a mode for making decisions on multiple own pet characters and multiple enemy pet characters.
[0153] In some embodiments, a combat behavior mode is selected from a plurality of combat behavior selection operations as the current combat behavior mode. Optionally, the combat behavior mode selection operation is performed based on a mode control, and each combat behavior mode corresponds to a mode control.
[0154] In some embodiments, the selection operation of the combat behavior mode is determined based on a selection factor, wherein the selection factor is a reference factor for determining which combat behavior mode is selected as the current combat behavior mode.
[0155] Optionally, the selection factors include, but are not limited to, at least one of the following: environmental factors, attribute factors, behavioral factors, and conditional factors.
[0156] Exemplarily, the selection factor is an environmental factor, and the current combat behavior mode is determined from a plurality of combat behavior modes based on the environmental factor. For example, after the turn-based combat triggering condition is met, the main control virtual character and the pet character of the party carried in the virtual world for exploration enter the turn-based combat state, the current environment is a night environment, and the pet character of the party entering the combat scene is a light-type pet character, and the combat capability of the light-type pet character in the night environment is relatively poor, while the vision of the dark-type pet character at night is enhanced and the combat capability is relatively strong. At this time, the light-type pet character is selected to be replaced by the dark-type pet character, which will have a greater combat advantage, that is, the current combat behavior mode is determined from a plurality of combat behavior modes as the pet character selection mode of the party, and this mode is used to select and replace the pet character of the party to be fought.
[0157] Exemplarily, the selection factor is an attribute factor, and the current combat behavior mode is determined from multiple combat behavior modes based on the attribute factor. For example, after the turn-based combat triggering condition is met, the main control virtual character and the pet character of the party carried in the virtual world for exploration enter the turn-based combat state. The attribute of the pet character of the party is the grass attribute, and the attribute of the enemy pet character is the fire attribute. At this time, replacing the pet character with the grass attribute with a pet character with the water attribute will have more combat advantages, that is, the current combat behavior mode is determined from multiple combat behavior modes as the pet character selection mode of the party, and this mode is used to select and replace the pet character of the party to be fought.
[0158] Exemplarily, the selection factor is a behavior factor, and the current combat behavior mode is determined from a plurality of combat behavior modes based on the behavior factor. For example, after the turn-based combat triggering condition is met, the main control virtual character and the pet character of the party carried in the virtual world for exploration enter the turn-based combat state. In the combat scene, the enemy pet character shows extreme aggressive behavior and actively attacks the main control virtual character and the pet character of the party. At this time, the current combat behavior mode can be selected as the combat skill selection mode, so that the pet character of the party directly fights with the enemy pet character; or the current combat behavior mode can be selected as the enemy pet character capture mode, so that the enemy pet character is directly captured.
[0159] Exemplarily, the selection factor is a conditional factor, and the current combat behavior mode is determined from a plurality of combat behavior modes based on environmental factors. For example, after the turn-based combat triggering condition is met, the main control virtual character and the pet character of the party carried in the virtual world for exploration enter the turn-based combat state. In the combat scene, the enemy pet character directly releases fatal skills to the main control virtual character or the pet character of the party. The main control virtual character does not have the capture condition or the combat condition, and the current combat behavior mode can be selected as the escape mode.
[0160] It should be noted that the above is only an exemplary description of the selection factors, and this application does not limit the selection factors for determining the current combat behavior mode.
[0161] Step 232: Highlight the target subject in the battle scene based on the observation angle corresponding to the current battle behavior mode.
[0162] In some embodiments, for different combat behavior modes in a combat scene, different combat behavior modes have different corresponding observation angles. Optionally, each combat behavior mode has a matching observation angle. Optionally, a current combat behavior mode is determined from a plurality of combat behavior modes, and a target subject in the combat scene is highlighted based on the observation angle corresponding to the current combat behavior mode. The target subject includes at least one of a main control virtual character, a pet character of the own side, and a pet character of the enemy.
[0163] In some embodiments, the viewing angle is a viewing angle for observing the virtual world through a virtual camera model. Optionally, the virtual camera model will not be actually displayed in the virtual environment, that is, the camera model is not displayed in the virtual environment displayed in the game interface.
[0164] In some embodiments, the terminal device displays the virtual world through a virtual world screen. The virtual world screen is a screen that observes the virtual world through an observation angle corresponding to a virtual camera model. Optionally, the observation angle determines the content of the virtual world screen that the player can see.
[0165] In the related art, the observation angle is the angle at which the main virtual character is observed through a virtual camera model in the virtual world. The observation angle in the related art is generally a fixed angle. When the first-person angle is adopted, the virtual camera model is located near the head of the main virtual character or at the head of the main virtual character; when the third-person angle is adopted, the virtual camera model can be located behind the main virtual character and bound to the main virtual character, or it can be located at any position at a preset distance from the main virtual character. The main virtual character in the virtual environment can be observed from different angles through the virtual camera model. Optionally, in addition to the first-person angle and the third-person angle, the angle also includes other angles, such as a bird's-eye view; when the bird's-eye view is adopted, the virtual camera model can be located above the head of the main virtual character, and the bird's-eye view is the angle of view from the air to observe the virtual environment. With regard to the method of using a fixed angle as the observation angle in the related art, there will be a problem that the subject in the virtual world screen is not prominent.
[0166] In an embodiment of the present application, the virtual world screen has different corresponding observation perspectives for different combat behavior modes in the combat scene, that is, the observation perspective can automatically change according to different combat behavior modes. Each combat behavior mode has a matching observation perspective, and the target subject in the combat scene can be displayed according to different observation perspectives.
[0167] In some embodiments, the observation angle is the angle of view of the virtual camera model observing the virtual world. Optionally, the terminal device first obtains the virtual reference axis of the virtual camera model, and the virtual reference axis is used to indicate the position of the target subject in the battle scene; secondly, based on the virtual reference axis, the starting point of the spring arm component is determined, and the spring arm component is a component used to connect the virtual reference axis and the virtual camera model, and the starting point of the spring arm component is used to determine the orientation of the virtual camera model; then, the configuration content of the virtual camera model in the current combat behavior mode is obtained, and the parameters of the spring arm component are determined according to the configuration content, and the configuration content is used to indicate the camera parameters of the virtual camera model; finally, based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters, the observation angle corresponding to the current combat behavior mode is jointly determined.
[0168] Among them, the camera parameters include at least one of a configuration name, a target subject, a rotation angle, an offset relative to the target subject, a length relative to the target subject, a field of view angle, a camera depth of field, a camera position transition, and parameter control.
[0169] In some embodiments, when there are environmental variables in the current virtual world, the viewing angle can be changed based on the environmental variables. Optionally, the parameters of the spring arm assembly are corrected based on the environmental variables, and the changed viewing angle is determined according to the parameters of the spring arm assembly. Optionally, the camera parameters of the virtual camera model are corrected based on the environmental variables, and the changed viewing angle is determined according to the camera parameters of the virtual camera model. Optionally, the camera parameters of the virtual camera model are corrected based on the parameters of the spring arm assembly and the environmental variables, and the changed viewing angle is determined according to the parameters of the spring arm assembly and the camera parameters of the virtual camera model.
[0170] In some embodiments, the environmental variables include the size of the pet character, the height of the terrain where the pet character is located, etc. Optionally, the environmental variables are battlefield data obtained by the terminal device from the server when the turn-based battle begins.
[0171] In some embodiments, the player can actively adjust the viewing angle, and a touch sensor is provided in the terminal device. In response to the adjustment operation on the virtual world screen, the adjustment offset for the virtual world screen is determined, and the viewing angle is changed based on the adjustment offset. Optionally, in response to the upward sliding operation on the virtual world screen, the upward sliding offset for the virtual world screen is determined, and the viewing angle is adjusted upward based on the upward sliding offset; in response to the downward sliding operation on the virtual world screen, the downward sliding offset for the virtual world screen is determined, and the viewing angle is adjusted downward based on the downward sliding offset; in response to the left sliding operation on the virtual world screen, the left sliding offset for the virtual world screen is determined, and the viewing angle is adjusted to the left based on the left sliding offset; in response to the right sliding operation on the virtual world screen, the right sliding offset for the virtual world screen is determined, and the viewing angle is adjusted to the right based on the right sliding offset.
[0172] In summary, the method provided by this embodiment has multiple combat behavior modes in the combat scene (also referred to as the turn-based combat scene), and the main control virtual character or the pet character of the party can enter different combat behavior modes. For different combat behavior modes, the observation angles corresponding to the virtual world screen are different, and each combat behavior mode has an observation angle that matches it, and the target subject in the combat scene can be displayed according to different observation angles. This display method of determining the observation angle according to different combat behavior modes can not only cover the key areas in the combat scene, but also highlight the target subject in the current virtual world screen, which can ensure that the player can observe the target subject in the current combat scene in the most intuitive way. This instant feedback and personalized adjustment greatly enhance the user's immersion and ease of operation.
[0173] In some embodiments, in response to the combat behavior mode selection operation, the target subject located in the combat scene is displayed in different display modes in different combat behavior modes. Optionally, the display mode includes an observation perspective.
[0174] The following is an introduction to displaying the target subject in the battle scene from different observation perspectives under different combat behavior modes.
[0175] The current combat behavior mode is combat skill selection mode
[0176] The combat skill selection mode is a mode in which the main virtual character is controlled to select the skills of his own pet character.
[0177] In some embodiments, when the current combat behavior mode is in the combat skill selection mode, the first target subject in the combat scene is highlighted based on the first observation angle corresponding to the combat skill selection mode. The first target subject includes the pet character of the own party and the pet character of the enemy, and the first observation angle is an observation angle with the pet character of the own party as the first focus object and the pet character of the enemy as the second focus object. The first focus object and the second focus object are used to indicate the importance of the pet character of the own party and the pet character of the enemy in the combat skill selection mode, respectively. Optionally, the importance of the first focus object is higher than that of the second focus object.
[0178] In some embodiments, the first focus object refers to the target subject that is mainly concerned in the first observation perspective, that is, the target subject that is preferentially displayed and emphasized in the first observation perspective. The second focus object refers to the target subject that is secondary concerned in the first observation perspective, that is, the target subject that is displayed and emphasized in the first observation perspective after the first focus object. Optionally, in the combat skill selection mode, the visual priority of the pet character of the party is higher than that of the enemy pet character. That is, in the first observation perspective, at least the pet character of the party is the main observation perspective and the enemy pet character is the secondary observation perspective.
[0179] In some embodiments, the observation angle is determined based on the emphasis ratio of the target subject in the current combat behavior mode. In the case where there are emphasis objects with different emphasis levels in the target subject, the emphasis ratios of the emphasis objects with different emphasis levels are different. Wherein, the reference factors of the emphasis ratio include the importance of the target subject in the current combat behavior mode. Optionally, the reference factors of the emphasis ratio also include environmental variables in the virtual world screen (such as the size of the pet character, the terrain height where the pet character is located). Optionally, the observation offset degree of the observation angle is determined by the emphasis ratio difference between the emphasis objects with different emphasis levels.
[0180] In some embodiments, in the combat skill selection mode, the own pet character is the first focus object, and the enemy pet character is the second focus object. The first observation perspective is determined based on the focus ratio of the own pet character and the enemy pet character, and the observation offset degree of the first observation perspective is determined based on the difference in focus ratio between the own pet character and the enemy pet character.
[0181] For example, in the combat skill selection mode, the current virtual world screen shows that the pet character of the party and the enemy pet character are performing a turn-based battle, mainly highlighting the combat skills released by the pet character of the party against the enemy pet character. At this time, the pet character of the party is the first focus object, and the enemy pet character is the second focus object. For example, at this time, the focus ratio of the pet character of the party is 55%, and the focus ratio of the enemy pet character is 45%. At this time, it is determined that the first observation perspective is at the center of the pet character of the party and the enemy pet character, slightly biased towards the position of the pet character of the party.
[0182] In some embodiments, the difference in emphasis ratio is positively correlated with the degree of observation offset, that is, the degree of observation offset increases with the increase in the difference in emphasis ratio, and decreases with the decrease in the difference in emphasis ratio.
[0183] Exemplarily, in the combat skill selection mode, the pet character of the party is used as the first focus object, and the pet character of the enemy is used as the second focus object. For example, at this time, the focus ratio of the pet character of the party is 55%, the focus ratio of the enemy pet character is 45%, and the difference in the focus ratio between the pet character of the party and the enemy pet character is 10%. At this time, it is determined that the first observation angle is slightly biased towards the first offset of the pet character of the party at the center of the pet character of the party and the enemy pet character. For another example, at this time, the focus ratio of the pet character of the party is 60%, the focus ratio of the enemy pet character is 40%, and the difference in the focus ratio between the pet character of the party and the enemy pet character is 20%. At this time, it is determined that the first observation angle is slightly biased towards the second offset of the pet character of the party at the center of the pet character of the party and the enemy pet character. Among them, the second offset is greater than the first offset. That is, as the focus ratio of the pet character of the party increases, the importance of the first observation angle with the pet character of the party as the main observation angle increases, and the position of the virtual camera model will be more biased towards the pet character of the party.
[0184] In some embodiments, the first observation angle is the angle of view of the virtual camera model observing the virtual world in the combat skill selection mode. Optionally, in the combat skill selection mode, the terminal device first obtains the first virtual reference axis of the virtual camera model, and the first virtual reference axis at this time is determined by the line connecting the center points of the pet character of the party and the enemy pet character. After determining the first virtual reference axis, the virtual world and the virtual camera model are connected by the spring arm component with the first virtual reference axis as the starting point and the virtual camera model as the end point. The specific position of the spring arm component at the first virtual reference axis corresponds to the degree of observation offset of the first observation angle. Optionally, the starting point of the spring arm component is used to determine the orientation of the virtual camera model. Then, the configuration content of the virtual camera model in the combat skill selection mode is obtained, and the parameters of the spring arm component are determined according to the configuration content, and the configuration content is used to indicate the camera parameters of the virtual camera model. Finally, the first observation angle corresponding to the combat skill selection mode is determined based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters.
[0185] For example, Fig. 9 As shown, a virtual world screen 500 corresponding to the combat skill selection mode is displayed. Optionally, a selection operation of the combat skill selection mode is performed based on the mode control. For example, based on the trigger operation of the "skill" control 501, the current combat behavior mode is determined to be the combat skill selection mode. In the combat skill selection mode, the target subjects in the virtual world screen 500 are the pet character 502 of the party and the pet character 503 of the enemy. In the combat skill selection mode, the combat skills released by the pet character 502 of the party against the pet character 503 of the enemy are mainly highlighted. The pet character 502 of the party is the first focus object, for example, the focus ratio of the pet character 502 of the party is 55%, and the pet character 502 of the party is the second focus object, for example, the focus ratio of the enemy pet character 503 is 45%. At this time, the first observation angle is slightly biased toward the position of the pet character 502 of the party at the center of the pet character 502 and the enemy pet character 503. Optionally, the line connecting the friendly pet character 502 and the enemy pet character 503 is the first virtual reference axis, the center of the first virtual reference axis is point a, and the first observation angle is slightly biased toward the position of the friendly pet character 502 at the center, that is, the first observation angle is at point b.
[0186] In the embodiment of the present application, the first observation angle is determined with the pet character of the party as the first focus object and the pet character of the enemy as the second focus object, and the position of the virtual camera model is adjusted to ensure that the target subject in the current virtual world screen is displayed in the combat skill selection mode. The first observation angle takes the pet character of the party as the main focus and the pet character of the enemy as the secondary focus. This design helps the player focus on the most important pet character of the party, while also maintaining awareness of the overall situation of the battlefield.
[0187] The current combat behavior mode is the pet character selection mode
[0188] The own pet character selection mode is a mode for controlling the main control virtual character to select and replace the own pet character to be fought.
[0189] In some embodiments, when the current combat behavior mode is the own pet character selection mode, the second target subject in the combat scene is highlighted based on the second observation angle corresponding to the own pet character selection mode. The second target subject includes the main control virtual character and the own pet character, and the second observation angle is an observation angle with the main control virtual character as the third focus object and the own pet character as the fourth focus object. The third focus object and the fourth focus object are respectively used to indicate the importance of the main control virtual character and the own pet character in the combat skill selection mode. Optionally, the importance of the third focus object is higher than that of the fourth focus object.
[0190] In some embodiments, the third focus object refers to the target subject that is mainly focused on in the second observation perspective, that is, the target subject that is preferentially displayed and emphasized in the second observation perspective. The fourth focus object refers to the target subject that is secondary focused on in the second observation perspective, that is, the target subject that is displayed and emphasized after the third focus object in the second observation perspective. Optionally, in the own pet character selection mode, the visual priority of the main control virtual character is higher than that of the own pet character. That is, in the second observation perspective, at least the main control virtual character is the main observation perspective and the own pet character is the secondary observation perspective.
[0191] In some embodiments, in the own pet character selection mode, the main virtual character is the third focus object, the own pet character is the fourth focus object, the second observation perspective is determined according to the focus ratio of the main virtual character and the own pet character, and the observation offset degree of the second observation perspective is determined according to the difference in focus ratio between the main virtual character and the own pet character.
[0192] For example, in the own pet character selection mode, the current virtual world screen displays the own pet character selected by the main control virtual character to perform turn-based combat, mainly highlighting the main control virtual character's selection operation on the own pet character. At this time, the main control virtual character is the third focus object, and the own pet character is the fourth focus object. For example, at this time, the focus ratio of the main control pet character is 55%, and the focus ratio of the own pet character is 45%. At this time, the second observation perspective is determined to be at the center of the main control virtual character and the own pet character, slightly biased towards the main control virtual character.
[0193] In some embodiments, the difference in emphasis ratio is positively correlated with the degree of observation offset, that is, the degree of observation offset increases with the increase in the difference in emphasis ratio, and decreases with the decrease in the difference in emphasis ratio.
[0194] Exemplarily, in the pet character selection mode of the party, the main control virtual character is used as the third focus object, and the pet character of the party is used as the fourth focus object. For example, at this time, the focus ratio of the main control virtual character is 55%, the focus ratio of the pet character of the party is 45%, and the focus ratio difference between the main control virtual character and the pet character of the party is 10%. At this time, it is determined that the second observation angle is slightly biased towards the first offset of the main control virtual character at the center of the main control virtual character and the pet character of the party. For another example, at this time, the focus ratio of the main control virtual character is 60%, the focus ratio of the pet character of the party is 40%, and the focus ratio difference between the main control virtual character and the pet character of the party is 20%. At this time, it is determined that the second observation angle is slightly biased towards the second offset of the main control virtual character at the center of the main control virtual character and the pet character of the party. Among them, the second offset is greater than the first offset. That is, as the focus ratio of the main control virtual character increases, the importance of the second observation angle with the main control virtual character as the main observation angle increases, and the position of the virtual camera model will be more biased towards the main control virtual character.
[0195] In some embodiments, the second observation angle is the angle of view of the virtual camera model observing the virtual world in the pet character selection mode of the party. Optionally, in the pet character selection mode of the party, the terminal device first obtains the second virtual reference axis of the virtual camera model, and the second virtual reference axis at this time is determined by the line connecting the center points of the main virtual character and the pet character of the party. After determining the second virtual reference axis, the virtual world and the virtual camera model are connected by the spring arm component with the second virtual reference axis as the starting point and the virtual camera model as the end point. The specific position of the spring arm component in the second virtual reference axis corresponds to the degree of observation offset of the second observation angle. Optionally, the starting point of the spring arm component is used to determine the orientation of the virtual camera model. Then, the configuration content of the virtual camera model in the pet character selection mode of the party is obtained, and the parameters of the spring arm component are determined according to the configuration content, and the configuration content is used to indicate the camera parameters of the virtual camera model. Finally, the second observation angle corresponding to the pet character selection mode of the party is determined based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters.
[0196] For example, Fig.10As shown, the virtual world screen 600 corresponding to the own pet character selection mode is displayed. Optionally, the selection operation of the own pet character selection mode is performed based on the mode control. For example, based on the trigger operation of the "change" control 601, the current combat behavior mode is determined to be the own pet character selection mode. In the own pet character selection mode, the target subjects in the virtual world screen 600 are the main control virtual character 602 and the own pet character 603. In the own pet character selection mode, the main control character 602 mainly highlights the replacement selection operation of the own pet character 603. The main control virtual character 602 is the third focus object, for example, the focus ratio of the main control virtual character 602 is 55%, and the own pet character 603 is the fourth focus object, for example, the focus ratio of the own pet character 603 is 45%. At this time, the second observation angle is slightly biased towards the position of the main control virtual character 602 at the center of the main control virtual character 602 and the own pet character 603. Optionally, the line connecting the main virtual character 602 and the pet character 603 is the second virtual reference axis, the center of the second virtual reference axis is point c, and the second observation perspective is slightly biased toward the position of the main virtual character 602 at the center, that is, the second observation perspective is at point d.
[0197] In the embodiment of the present application, the second observation angle is determined with the main control virtual character as the third focus object and the pet character of the party as the fourth focus object, and the position of the virtual camera model is adjusted to ensure that the target subject in the current virtual world screen is displayed in the pet character selection mode of the party. The second observation angle takes the main control virtual character as the main focus and the pet character of the party as the secondary focus. This design helps the player focus on the most important main control virtual character, while also maintaining awareness of the overall situation of the battlefield.
[0198] The current combat behavior mode is the enemy pet character capture mode
[0199] The enemy pet character capture mode is a mode for controlling the main control virtual character to capture the enemy pet character.
[0200] In some embodiments, when the current combat behavior mode is the enemy pet character capture mode, the third target subject in the combat scene is highlighted based on the third observation angle corresponding to the enemy pet character capture mode. The third target subject includes the main control virtual character and the enemy pet character, and the third observation angle is an observation angle that takes the main control virtual character and the enemy pet character as the fifth focus object. The fifth focus object is used to indicate the importance of the main control virtual character and the enemy pet character in the enemy pet character capture mode.
[0201] In some embodiments, the fifth focus object refers to the target subject that is mainly focused on in the third observation perspective, that is, the target subject that is preferentially displayed and emphasized in the third observation perspective. Optionally, in the enemy pet character capture mode, the visual priority of the main control virtual character and the visual priority of the enemy pet character are at the same priority. That is, in the third observation perspective, at least the main control virtual character and the enemy pet character are the main observation perspectives.
[0202] In some embodiments, in the enemy pet character capture mode, the main virtual character and the enemy pet character are simultaneously used as the fifth focus object, the third observation perspective is determined according to the focus ratio of the main virtual character and the enemy pet character, and the observation offset degree of the third observation perspective is determined according to the difference in focus ratio between the main virtual character and the enemy pet character.
[0203] For example, in the enemy pet character capture mode, the current virtual world screen shows the operation of the main control virtual character capturing the enemy pet character, and the main control virtual character and the enemy pet character are both used as the fifth focus object. For example, at this time, the focus ratio of the main control pet character is 50%, and the focus ratio of the enemy pet character is 50%. At this time, the third observation perspective is determined to be at the center position of the main control virtual character and the enemy pet character.
[0204] In some embodiments, the third observation angle is the angle of view of the virtual camera model observing the virtual world in the enemy pet character capture mode. Optionally, in the enemy pet character capture mode, the terminal device first obtains the third virtual reference axis of the virtual camera model, and the third virtual reference axis at this time is determined by the line connecting the center points of the main control virtual character and the enemy pet character. After determining the third virtual reference axis, the virtual world and the virtual camera model are connected by the spring arm component with the third virtual reference axis as the starting point and the virtual camera model as the end point. The specific position of the spring arm component on the third virtual reference axis corresponds to the degree of observation offset of the third observation angle. Optionally, the starting point of the spring arm component is used to determine the orientation of the virtual camera model. Then, the configuration content of the virtual camera model in the enemy pet character capture mode is obtained, and the parameters of the spring arm component are determined according to the configuration content, and the configuration content is used to indicate the camera parameters of the virtual camera model. Finally, the third observation angle corresponding to the enemy pet character capture mode is determined based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters.
[0205] In a possible implementation, the behavior patterns of non-target subjects in the battle scene will also affect the viewing angle. For example, in the enemy pet character capture mode, the target subjects in the virtual world screen corresponding to the battle scene are the main control virtual character and the enemy virtual character, and the non-target subjects in the virtual world screen are the pet characters of the party. In the enemy pet character capture mode, the pet characters of the party can dodge to the left, away from the center of the virtual world screen, and the overall visual center focuses from the main control virtual character to the enemy pet character, highlighting that the target subjects in the enemy pet character capture mode are the main control virtual character and the enemy pet character.
[0206] For example, Fig.11 As shown, a virtual world screen 700 corresponding to the enemy pet character capture mode is displayed. Optionally, a selection operation of the enemy pet character capture mode is performed based on the mode control. For example, based on the trigger operation of the "capture" control 701, the current combat behavior mode is determined to be the enemy pet character capture mode. In the enemy pet character capture mode, the target subjects in the virtual world screen 700 are the main control virtual character 702 and the enemy pet character 703. In the enemy pet character capture mode, the main control virtual character 702 and the enemy pet character 703 are both fifth focus objects. For example, the focus ratio of the main control virtual character 702 and the enemy pet character 703 is 50%, and the third observation angle is at the center of the main control virtual character 702 and the enemy pet character 703. Optionally, the line connecting the main control virtual character 702 and the enemy pet character 703 is the third virtual reference axis, and the center of the third virtual reference axis is point e, that is, the position of the third observation angle at point e.
[0207] In the embodiment of the present application, the second observation angle is determined with the main control virtual character as the third focus object and the pet character of the party as the fourth focus object, and the position of the virtual camera model is adjusted to ensure that the target subject in the current virtual world screen is displayed in the pet character selection mode of the party. The second observation angle takes the main control virtual character as the main focus and the pet character of the party as the secondary focus. This design helps the player focus on the most important main control virtual character, while also maintaining awareness of the overall situation of the battlefield.
[0208] The current combat behavior mode is the prop use mode
[0209] The prop use mode is a mode that controls the main virtual character to select props that act on the pet character of the party.
[0210] In some embodiments, when the current combat behavior mode is in the prop use mode, the fourth target subject in the combat scene is highlighted based on the fourth observation angle corresponding to the prop use mode. Among them, the fourth target subject includes the main control virtual character and the pet character of the party, and the fourth observation angle is an observation angle with the main control virtual character as the sixth focus object and the pet character of the party as the seventh focus object. The sixth focus object and the seventh focus object are respectively used to indicate the importance of the main control virtual character and the pet character of the party in the prop use mode. Optionally, the importance of the sixth focus object is higher than that of the seventh focus object.
[0211] In some embodiments, the sixth focus object refers to the target subject that is mainly focused on in the fourth observation perspective, that is, the target subject that is preferentially displayed and emphasized in the fourth observation perspective. The seventh focus object refers to the target subject that is secondary focused on in the fourth observation perspective, that is, the target subject that is displayed and emphasized after the sixth focus object in the fourth observation perspective. Optionally, in the prop usage mode, the visual priority of the main control virtual character is higher than that of the pet character of the party. That is, in the fourth observation perspective, at least the main control virtual character is the main observation perspective and the pet character of the party is the secondary observation perspective.
[0212] In some embodiments, in the prop usage mode, the main virtual character is the sixth focus object, and the own pet character is the seventh focus object. The fourth observation perspective is determined based on the focus ratio of the main virtual character and the own pet character, and the observation offset degree of the fourth observation perspective is determined based on the difference in focus ratio between the main virtual character and the own pet character.
[0213] For example, in the prop use mode, the current virtual world screen displays the props selected by the main control virtual character to act on the pet character of the party, mainly highlighting that the main control virtual character acts on the pet character of the party, and the main control virtual character is the sixth focus object, and the pet character of the party is the seventh focus object. For example, at this time, the focus ratio of the main control pet character is 55%, and the focus ratio of the pet character of the party is 45%. At this time, the fourth observation perspective is determined to be at the center of the main control virtual character and the pet character of the party, slightly biased towards the main control virtual character.
[0214] In some embodiments, the difference in emphasis ratio is positively correlated with the degree of observation offset, that is, the degree of observation offset increases with the increase in the difference in emphasis ratio, and decreases with the decrease in the difference in emphasis ratio.
[0215] Exemplarily, in the prop use mode, the main control virtual character is used as the sixth focus object, and the pet character of the party is used as the seventh focus object. For example, at this time, the focus ratio of the main control virtual character is 55%, the focus ratio of the pet character of the party is 45%, and the focus ratio difference between the main control virtual character and the pet character of the party is 10%. At this time, the fourth observation angle is determined to be slightly biased towards the first offset of the main control virtual character at the center of the main control virtual character and the pet character of the party. For another example, at this time, the focus ratio of the main control virtual character is 60%, the focus ratio of the pet character of the party is 40%, and the focus ratio difference between the main control virtual character and the pet character of the party is 20%. At this time, the fourth observation angle is determined to be slightly biased towards the second offset of the main control virtual character at the center of the main control virtual character and the pet character of the party. Among them, the second offset is greater than the first offset. That is, as the focus ratio of the main control virtual character increases, the importance of the fourth observation angle with the main control virtual character as the main observation angle increases, and the position of the virtual camera model will be more biased towards the main control virtual character.
[0216] In some embodiments, the fourth observation angle is the angle of view of the virtual camera model observing the virtual world in the prop use mode. Optionally, in the prop use mode, the terminal device first obtains the fourth virtual reference axis of the virtual camera model, and the fourth virtual reference axis at this time is determined by the line connecting the center points of the main control virtual character and the pet character of the party. After determining the fourth virtual reference axis, the virtual world and the virtual camera model are connected by the spring arm component with the fourth virtual reference axis as the starting point and the virtual camera model as the end point. The specific position of the spring arm component on the fourth virtual reference axis corresponds to the degree of observation offset of the fourth observation angle. Optionally, the starting point of the spring arm component is used to determine the orientation of the virtual camera model. Then, the configuration content of the virtual camera model in the prop use mode is obtained, and the parameters of the spring arm component are determined according to the configuration content, and the configuration content is used to indicate the camera parameters of the virtual camera model. Finally, the fourth observation angle corresponding to the prop use mode is determined based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters.
[0217] For example, Fig.12As shown, a virtual world screen 800 corresponding to the prop use mode is displayed. Optionally, a prop use mode selection operation is performed based on the mode control. For example, based on the trigger operation of the "backpack" control 801, the current combat behavior mode is determined to be the prop use mode. In the prop use mode, the target subjects in the virtual world screen 800 are the main control virtual character 802 and the pet character 803. In the prop use mode, the main control character 802 selects the props that act on the pet character 803. The main control virtual character 802 is the sixth focus object, for example, the focus of the main control virtual character 802 accounts for 55%, and the pet character 803 is the seventh focus object, for example, the focus of the pet character 803 accounts for 45%. At this time, the fourth observation angle is slightly biased towards the main control virtual character 802 at the center of the main control virtual character 802 and the pet character 803. Optionally, the line connecting the main control virtual character 802 and the pet character 803 is the fourth virtual reference axis, the center of the fourth virtual reference axis is point f, and the fourth observation perspective is slightly biased toward the position of the main control virtual character 802 at the center, that is, the fourth observation perspective is at point g.
[0218] In some embodiments, the prop use mode includes a secondary mode, and in response to the main virtual character being in the secondary mode, the action posture of the main virtual character using the target prop is magnified and displayed. The secondary mode is a mode in which the main virtual character uses the target prop.
[0219] Optionally, the target item is a type of item owned by the main virtual character, and is an item used to enhance the attributes of the pet character. The main virtual character enhances at least one of the life value, magic value, defense power, attack power, combat speed, combat intensity or other combat-related attributes of the pet character based on the target item.
[0220] Optionally, the target item may be obtained by at least one of the following methods:
[0221] Obtained by completing designated tasks based on the master virtual character;
[0222] Unlocked based on the master virtual character reaching the preset level;
[0223] ·Based on the master virtual character picking up and obtaining in the virtual world;
[0224] Obtained through interaction between the main virtual character and the pet character of the party;
[0225] ·Acquired from pet characters of enemies defeated by the main virtual character;
[0226] ·Acquire raw materials based on the master virtual character for production.
[0227] In some embodiments, the target prop is a type of prop owned by the main virtual character. For example, the target prop is a special prop that can only be used once in each turn-based battle. Optionally, when the main virtual character enters the secondary mode, that is, when the target prop is used to strengthen the pet character of the main virtual character, the current observation angle will magnify the action posture of the main virtual character using the target prop. Optionally, by shortening the length of the spring arm assembly used to connect the fourth virtual reference axis and the virtual camera model, the position between the fourth virtual reference axis and the virtual camera model is brought closer, so as to show the action of the main virtual character using the target prop more closely.
[0228] For example, Fig.13 As shown in FIG. 8( a ), a virtual world screen 800 corresponding to the prop usage mode is displayed. Fig.13 As shown in FIG. (b), the virtual world screen 900 corresponding to the secondary mode is displayed. Optionally, in response to the trigger operation for the target prop control 901, in the secondary mode, the target subjects in the virtual world screen 900 are displayed as the main control virtual character 902 and the own pet character 903. In the secondary mode, the main control character 902 is mainly highlighted to use the target prop 904 to strengthen the own pet character 903. In the prop use mode, the fourth observation angle is slightly biased toward the main control virtual character 902 at the center of the main control virtual character 902 and the own pet character 903. In the secondary mode corresponding to the prop use mode, the fourth observation angle will magnify the action posture of the main control virtual character 902 using the target prop 904. At this time, the fourth observation angle is slightly biased toward the i point position of the main control virtual character 902 at the center h point of the line connecting the main control virtual character 902 and the own pet character 903. In this secondary mode, the main control virtual character 902 is shown to use the target prop 904 to strengthen the own pet character 903 at a close distance.
[0229] In the embodiment of the present application, there is a secondary mode in the prop use mode, and the secondary mode is a mode in which the main virtual character uses the target prop. When the player chooses to control the main virtual character to use the target prop, the lens of the virtual camera model will automatically adjust and zoom in to show the action of the main virtual character more closely, including special animations and other visual effects. By giving a close-up of the action, the ritual sense of using the target prop is strengthened, so that the player can feel the importance and influence of this action.
[0230] In the embodiment of the present application, the fourth observation angle is determined with the main control virtual character as the sixth focus object and the pet character of the party as the seventh focus object, and the position of the virtual camera model is adjusted to ensure that the target subject in the current virtual world screen is displayed in the prop use mode. The fourth observation angle takes the main control virtual character as the main focus and the pet character of the party as the secondary focus. This design helps players focus on the most important main control virtual character, while also maintaining awareness of the overall battlefield.
[0231] The current combat behavior mode is escape mode
[0232] The escape mode is a mode in which the main virtual character is controlled to end the battle and escape.
[0233] In some embodiments, when the current combat behavior mode is the escape mode, the fifth target subject in the combat scene is highlighted based on the fifth observation angle corresponding to the escape mode. The fifth target subject includes the main control virtual character, and the fifth observation angle is an observation angle with the main control virtual character as the eighth focus object.
[0234] In some embodiments, the eighth focus object refers to the target subject that is mainly focused on in the fifth observation perspective, that is, the target subject that is preferentially displayed and emphasized in the fifth observation perspective. Optionally, in the fifth observation perspective corresponding to the escape mode, at least the main control virtual character is the main observation perspective.
[0235] In some embodiments, the fifth observation angle is the angle of view of the virtual camera model observing the virtual world in the escape mode. Optionally, in the escape mode, the terminal device first obtains the fifth virtual reference axis of the virtual camera model, and the fifth virtual reference axis at this time is determined by the main control virtual character, that is, the fifth virtual reference axis is the main control virtual character. After determining the fifth virtual reference axis, the virtual world and the virtual camera model are connected by the spring arm component with the fifth virtual reference axis (at this time, the main control virtual character) as the starting point and the virtual camera model as the end point. Optionally, the starting point of the spring arm component is used to determine the orientation of the virtual camera model. Then, the configuration content of the virtual camera model in the escape mode is obtained, and the parameters of the spring arm component are determined according to the configuration content, and the configuration content is used to indicate the camera parameters of the virtual camera model. Finally, the fifth observation angle corresponding to the escape mode is determined based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters.
[0236] For example, Fig.14As shown, the virtual world screen 1000 corresponding to the escape mode is displayed. Optionally, the escape mode selection operation is performed based on the mode control. For example, based on the trigger operation of the "escape" control 1001, the current combat behavior mode is determined to be the escape mode. In the escape mode, the target subject in the virtual world screen 1000 is the main control virtual character 1002. In the escape mode, the main control virtual character 1002 is the eighth focus object. At this time, the third observation perspective is at the center position of the main control virtual character 1002, that is, the third observation perspective is at the j point position.
[0237] In the embodiment of the present application, the fifth observation angle is determined with the main control virtual character as the eighth focus object, and the position of the virtual camera model is adjusted to ensure that the target subject in the current virtual world screen is displayed in the escape mode. The fifth observation angle takes the main control virtual character as the main focus. This design helps players focus on the most important main control virtual character.
[0238] The current combat behavior mode is the enemy pet character selection mode
[0239] The enemy pet character selection mode is a mode for controlling the main control virtual character to select the enemy pet character for this battle. Optionally, the enemy pet character selection mode belongs to a group mode.
[0240] In some embodiments, when the current combat behavior mode is the enemy pet character selection mode, the sixth target subject in the combat scene is highlighted based on the sixth observation angle corresponding to the enemy pet character selection mode. The sixth target subject includes multiple enemy pet characters, and the sixth observation angle is an observation angle with the multiple enemy pet characters as the ninth focus object. The ninth focus object is used to indicate the importance of the multiple enemy pet characters in the enemy pet character selection mode.
[0241] In some embodiments, the ninth emphasis object refers to the target subject that is mainly focused on in the sixth observation perspective, that is, the target subject that is preferentially displayed and emphasized in the sixth observation perspective. Optionally, in the enemy pet character selection mode, the visual priorities of multiple enemy pet characters are all at the same priority. That is, in the sixth observation perspective, at least multiple enemy pet characters are used as the main observation perspective.
[0242] In some embodiments, in the enemy pet character selection mode, multiple enemy pet characters are the ninth focus objects at the same time, the sixth observation perspective is determined based on the focus ratios of the multiple enemy pet characters, and the observation offset degree of the sixth observation perspective is determined based on the difference in focus ratios between the multiple enemy pet characters.
[0243] Exemplarily, in the enemy pet character selection mode, the current virtual world screen displays multiple enemy pet characters to be selected, and the multiple enemy pet characters are simultaneously used as the ninth focus object. For example, in the enemy pet character selection mode, there are two enemy pet characters, and the focus ratios of enemy pet character A and enemy pet character B are 50% respectively. At this time, the sixth observation perspective is determined to be at the center position of enemy pet character A and enemy pet character B.
[0244] In some embodiments, the sixth observation angle is the angle of view of the virtual camera model observing the virtual world in the enemy pet character selection mode. Optionally, in the enemy pet character selection mode, the terminal device first obtains the sixth virtual reference axis of the virtual camera model, and the sixth virtual reference axis at this time is determined by the connection line of the center points of multiple enemy pet characters. After determining the sixth virtual reference axis, the virtual world and the virtual camera model are connected by the spring arm component with the sixth virtual reference axis as the starting point and the virtual camera model as the end point. The specific position of the spring arm component on the sixth virtual reference axis corresponds to the observation offset degree of the sixth observation angle. Optionally, the starting point of the spring arm component is used to determine the orientation of the virtual camera model. Then, the configuration content of the virtual camera model in the enemy pet character selection mode is obtained, and the parameters of the spring arm component are determined according to the configuration content, and the configuration content is used to indicate the camera parameters of the virtual camera model. Finally, the sixth observation angle corresponding to the enemy pet character selection mode is determined based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters.
[0245] For example, Fig.15 As shown, a virtual world screen 1100 corresponding to the enemy pet character selection mode is displayed. In the enemy pet character selection mode, the target subjects in the virtual world screen 1100 are enemy pet characters 1101 and enemy pet characters 1102. In the enemy pet character selection mode, enemy pet characters 1101 and enemy pet characters 1102 are both ninth focus objects. For example, the focus ratio of enemy pet characters 1101 and enemy pet characters 1102 is 50%, and the sixth observation angle is at the center of enemy pet characters 1101 and enemy pet characters 1102. Optionally, the line connecting enemy pet characters 1101 and enemy pet characters 1102 is the sixth virtual reference axis, and the center of the sixth virtual reference axis is point k, that is, the sixth observation angle is at the position of point k.
[0246] In the embodiment of the present application, the sixth observation angle is determined with multiple enemy pet characters as the ninth focus object, and the position of the virtual camera model is adjusted to ensure that the target subject in the current virtual world screen is displayed in the enemy pet character selection mode. The sixth observation angle uses multiple enemy pet characters as the main focus and highlights the enemy pet characters to be selected. This design helps players focus on the most important enemy pet characters at the moment.
[0247] Viewing angles in other group modes
[0248] In some embodiments, the group mode is a mode for making decisions for multiple pet characters of the same party and multiple pet characters of the enemy. Optionally, the group mode includes but is not limited to a selection mode of the enemy pet character, a multi-pet character combat mode, and a combat skill selection mode of multiple pet characters of the same party.
[0249] When the group mode is the enemy pet character selection mode, the method of determining the observation angle corresponding to the enemy pet character selection mode is as described above (sixth observation angle).
[0250] When the group mode is a multi-party pet battle mode, the corresponding observation angle of the multi-party pet battle mode is determined to highlight the target subjects in the battle scene as multiple pet characters of the own party and multiple enemy pet characters. In the multi-party pet battle mode, the visual priorities of multiple pet characters of the own party and multiple enemy pet characters are at the same priority. In the multi-party pet battle mode, the corresponding observation angle is the center position of multiple pet characters of the own party and multiple enemy pet characters.
[0251] Exemplarily, in the case where two pet characters of our side fight against two enemy pet characters, for example, pet character A of our side fights against pet character A of the enemy side, and pet character B of our side fights against pet character B of the enemy side, the target subjects in the battle scene are pet character A of our side, pet character B of our side, pet character A of the enemy side, and pet character B of the enemy side. At this time, the corresponding observation angle in the multi-party pet battle mode is the observation angle determined by taking pet character A of our side, pet character B of our side, pet character A of the enemy side, and pet character B of the enemy side as the objects of equal emphasis. Optionally, the line connecting the center points of pet character A of our side and pet character A of the enemy side is the virtual reference axis A, and the line connecting the center points of pet character B of our side and pet character B of the enemy side is the virtual reference axis B. At this time, the corresponding observation angle is the center position after connecting the center points of virtual reference axis A and virtual reference axis B.
[0252] like Fig.16As shown, a virtual world screen 1200 corresponding to a multi-party pet battle mode is displayed. In the multi-party pet battle mode, the own pet character 1201 and the own pet character 1202, the enemy pet character 1203 and the enemy pet character 1204 are displayed, wherein the own pet character 1201 fights with the enemy pet character 1203, and the own pet character 1202 fights with the enemy pet character 1204. For example, the emphasis proportion of the own pet character 1201 and the own pet character 1202, the enemy pet character 1203 and the enemy pet character 1204 is 25%, and the observation angle at this time is located at the center position of the own pet character 1201 and the own pet character 1202, the enemy pet character 1203 and the enemy pet character 1204. Optionally, the line connecting the friendly pet character 1201 and the enemy pet character 1203 is the virtual reference axis A, the center of the virtual reference axis A is point m, the line connecting the friendly pet character 1202 and the enemy pet character 1204 is the virtual reference axis B, the center of the virtual reference axis B is point n, and the center point o of the line between points m and n is the observation angle at this time.
[0253] The observation angles of other many-to-many combat modes (such as three friendly pet characters versus three enemy pet characters) are similar and will not be described in detail in this application.
[0254] When the group mode is the combat skill selection mode of multiple pet characters of the party, the observation perspective corresponding to the combat skill selection mode of multiple pet characters of the party is determined in the same way as the first observation perspective. That is, multiple pet characters of the party are taken as the first focus object, and multiple enemy pet characters are taken as the second focus object, mainly highlighting the combat skills released by multiple pet characters of the party against multiple enemy pet characters. For specific content, please refer to the introduction of the relevant section of "The current combat behavior mode is the combat skill selection mode", which will not be repeated here.
[0255] Displays target entities in combat scenarios with different control layouts
[0256] In some embodiments, in response to the combat behavior mode selection operation, the target subject in the combat scene is displayed in different display modes in different combat behavior modes, wherein the display mode includes a control layout.
[0257] Fig.17 2 is a flow chart of a method for displaying turn-based combat provided by an exemplary embodiment of the present application. The above step 230 can be replaced by steps 231 and 233.
[0258] Step 231: In response to a combat behavior mode selection operation, determining a current combat behavior mode among a plurality of combat behavior modes;
[0259] Optionally, there are multiple different combat behavior modes in the combat scenario, wherein the combat behavior mode refers to different operation or decision-making modes in the current combat phase.
[0260] In some embodiments, the combat behavior mode includes but is not limited to at least one of the following:
[0261] ·Combat skill selection mode;
[0262] ·Our pet character selection mode;
[0263] ·Enemy pet character capture mode;
[0264] ·Enemy pet character selection mode;
[0265] ·Props usage mode;
[0266] Escape mode
[0267] Group mode.
[0268] Among them, the combat skill selection mode is a mode for controlling the main virtual character to select the skills of the own pet character to release; the own pet character selection mode is a mode for controlling the main virtual character to select the replacement of the own pet character to be fought; the enemy pet character capture mode is a mode for controlling the main virtual character to capture the enemy pet character; the enemy pet character selection mode is a mode for controlling the main virtual character to select the enemy pet character for this battle; the prop use mode is a mode for controlling the main virtual character to select the props to act on the own pet character; the escape mode is a mode for controlling the main virtual character to end the current battle and escape; the group mode is a mode for making decisions on multiple own pet characters and multiple enemy pet characters.
[0269] In some embodiments, a combat behavior mode is selected from a plurality of combat behavior selection operations as the current combat behavior mode. Optionally, the combat behavior mode selection operation is performed based on a mode control. Each combat behavior mode corresponds to a mode control.
[0270] In some embodiments, the selection operation of the combat behavior mode is determined based on a selection factor, wherein the selection factor is a reference factor for determining which combat behavior mode is selected as the current combat behavior mode.
[0271] Optionally, the selection factors include, but are not limited to, at least one of the following: environmental factors, attribute factors, behavioral factors, and conditional factors.
[0272] Exemplarily, the selection factor is an environmental factor, and the current combat behavior mode is determined from a plurality of combat behavior modes based on the environmental factor. For example, after the turn-based combat triggering condition is met, the main control virtual character and the pet character of the party carried in the virtual world for exploration enter the turn-based combat state, the current environment is a night environment, and the pet character of the party entering the combat scene is a light-type pet character, and the combat capability of the light-type pet character in the night environment is relatively poor, while the vision of the dark-type pet character at night is enhanced and the combat capability is relatively strong. At this time, the light-type pet character is selected to be replaced by the dark-type pet character, which will have a greater combat advantage, that is, the current combat behavior mode is determined from a plurality of combat behavior modes as the pet character selection mode of the party, and this mode is used to select and replace the pet character of the party to be fought.
[0273] Exemplarily, the selection factor is an attribute factor, and the current combat behavior mode is determined from multiple combat behavior modes based on the attribute factor. For example, after the turn-based combat triggering condition is met, the main control virtual character and the pet character of the party carried in the virtual world for exploration enter the turn-based combat state. The attribute of the pet character of the party is the grass attribute, and the attribute of the enemy pet character is the fire attribute. At this time, replacing the pet character with the grass attribute with a pet character with the water attribute will have more combat advantages, that is, the current combat behavior mode is determined from multiple combat behavior modes as the pet character selection mode of the party, and this mode is used to select and replace the pet character of the party to be fought.
[0274] Exemplarily, the selection factor is a behavior factor, and the current combat behavior mode is determined from a plurality of combat behavior modes based on the behavior factor. For example, after the turn-based combat triggering condition is met, the main control virtual character and the pet character of the party carried in the virtual world for exploration enter the turn-based combat state. In the combat scene, the enemy pet character shows extreme aggressive behavior and actively attacks the main control virtual character and the pet character of the party. At this time, the current combat behavior mode can be selected as the combat skill selection mode, so that the pet character of the party directly fights with the enemy pet character; or the current combat behavior mode can be selected as the enemy pet character capture mode, so that the enemy pet character is directly captured.
[0275] Exemplarily, the selection factor is a conditional factor, and the current combat behavior mode is determined from a plurality of combat behavior modes based on environmental factors. For example, after the turn-based combat triggering condition is met, the main control virtual character and the pet character of the party carried in the virtual world for exploration enter the turn-based combat state. In the combat scene, the enemy pet character directly releases fatal skills to the main control virtual character or the pet character of the party. The main control virtual character does not have the capture condition or the combat condition, and the current combat behavior mode can be selected as the escape mode.
[0276] It should be noted that the above is only an exemplary description of the selection factors, and this application does not limit the selection factors for determining the current combat behavior mode.
[0277] Step 233: Highlight the target subject in the battle scene based on the control layout corresponding to the current battle behavior mode.
[0278] In some embodiments, for different combat behavior modes in a combat scene, different combat behavior modes have different corresponding control layouts. Optionally, each combat behavior mode has a control layout that matches it. Optionally, a current combat behavior mode is determined from a plurality of combat behavior modes, and a target subject in the combat scene is highlighted based on the control layout corresponding to the current combat behavior mode. The target subject includes at least one of a main control virtual character, a pet character of one's own side, and a pet character of an enemy side.
[0279] In some embodiments, the control layout refers to the visual arrangement and organization of the interface controls on the game interface. In different combat behavior modes, the control layout can adopt different layout methods. Optionally, the layout method of the control layout includes but is not limited to at least one of an arc layout, a vertical layout, a horizontal layout, a fan layout, an overlay layout, a floating button layout, a pop-up menu layout, and a custom layout. This application does not limit the layout method of the control layout.
[0280] In some embodiments, in different combat behavior modes, the display interface controls are arranged and displayed in a surrounding form around the target subject in the combat scene according to a preset layout on the target area. The target area is related to the display position of the target subject, and the target area is an area away from the center of the screen relative to the target subject, and the center of the screen is the center position of the virtual world screen. The surrounding form refers to the interface controls being arranged in a circle or other ring shape around a target subject.
[0281] By displaying the interface controls in a surrounding form around the target subject in an area far from the center of the screen, on the one hand, by displaying the interface controls in a surrounding form around the target subject, the target subject in the current battle scene can be highlighted; on the other hand, by displaying the interface controls in an area far from the center of the screen, the middle position of the game screen can be occupied as little as possible, thereby ensuring the simplicity of the game interface.
[0282] In some embodiments, the target area is related to the display position of the target subject, and the target area is an area away from the center of the screen relative to the target subject. Optionally, the target subject is displayed at the left position on the virtual world screen, and the target area is the left side of the target subject, that is, the interface control will be displayed on the left side of the target subject; or, the target subject is displayed at the right position on the virtual world screen, and the target area is the right side of the target subject, that is, the interface control will be displayed on the right side of the target subject; or, the target subject is displayed at the upper position on the virtual world screen, and the target area is the upper side of the target subject, that is, the interface control will be displayed on the upper side of the target subject; or, the target subject is displayed at the lower position on the virtual world screen, and the target area is the lower side of the target subject, that is, the interface control will be displayed on the lower side of the target subject. By determining the display position of the interface control by the display position of the target subject, the target subject can be highlighted in a targeted manner, while reducing the display redundancy of the center position of the game interface.
[0283] In summary, the method provided in the embodiment of the present application has multiple combat behavior modes in the combat scene (also called turn-based combat scene), and the main control virtual character or the pet character of the party can enter different combat behavior modes. For different combat behavior modes, the control layout corresponding to the virtual world screen is different, and each combat behavior mode has a control layout that matches it, and the target subject located in the combat scene can be displayed according to different control layouts. By adjusting the control layout according to different combat behavior modes, the interaction needs of the player in the current combat behavior mode can be met.
[0284] In some embodiments, in response to the combat behavior mode selection operation, the target subject in the combat scene is displayed in different display modes in different combat behavior modes. Optionally, the display mode includes a control layout.
[0285] The following introduces how to display the target subject in the battle scene with different control layouts in different combat behavior modes.
[0286] The current combat behavior mode is combat skill selection mode
[0287] The combat skill selection mode is a mode in which the main control virtual character is controlled to select the pet character of the party to release skills. The target subject in the combat skill selection mode at least includes the pet character of the party.
[0288] In some embodiments, when the current combat behavior mode is the combat skill selection mode, a plurality of first interface controls are determined based on the combat skill selection mode, and the plurality of first interface controls are controlled to be arranged and displayed in a target area in a surrounding form around the pet character of the party in the combat scene. The target area is related to the display position of the pet character of the party.
[0289] In some embodiments, the first interface control is a combat skill control, and the player can use the first interface control to select the skill released by the pet character of the player's own side in the battle with the enemy pet character. Optionally, the components of the first interface control include but are not limited to at least one of a skill button, a combat skill icon, and a skill name.
[0290] In some embodiments, in the combat skill selection mode, a first interface control list is displayed, and the first interface control list includes multiple first interface controls. The multiple first interface controls can adopt different layout methods. Optionally, the layout method adopted by the multiple first interface controls includes but is not limited to at least one of an arc layout, a vertical layout, a horizontal layout, a fan layout, an overlay layout, a floating button layout, a pop-up menu layout, and a custom layout.
[0291] In some embodiments, multiple first interface controls can be arranged and displayed in a surrounding form around the pet character of the party in the battle scene in a target area using different layout methods. The target area is an area away from the center of the screen relative to the pet character of the party. The surrounding form refers to multiple first interface controls being arranged in a ring around the pet character of the party. For example, multiple first interface controls are arranged and displayed around the target body in a surrounding form based on an arc layout, and for another example, multiple first interface controls are arranged and displayed around the target body in a surrounding form based on a vertical layout.
[0292] In some embodiments, the target area is related to the display position of the pet character of the party, and the target area is an area away from the center of the screen relative to the pet character of the party. Optionally, the pet character of the party is displayed at the left position on the virtual world screen, and the target area is the left side of the pet character of the party, that is, the first interface control will be displayed on the left side of the pet character of the party; or, the pet character of the party is displayed at the right position on the virtual world screen, and the target area is the right side of the pet character of the party, that is, the first interface control will be displayed on the right side of the pet character of the party; or, the pet character of the party is displayed at the upper position on the virtual world screen, and the target area is the upper side of the pet character of the party, that is, the first interface control will be displayed on the upper side of the pet character of the party; or, the pet character of the party is displayed at the lower position on the virtual world screen, and the target area is the lower side of the pet character of the party, that is, the first interface control will be displayed on the lower side of the pet character of the party.
[0293] For example, Fig.18As shown, a virtual world screen 1300 corresponding to the combat skill selection mode is displayed, and the corresponding target subject in the combat skill selection mode includes at least the own pet character 1301. Among them, the own pet character 1301 is displayed on the left side of the virtual world screen, and multiple first interface controls 1302 are displayed based on an arc layout in a surrounding form around the own pet character 1301 in the battle scene, and multiple first interface controls 1302 are displayed on the left side of the own pet character 1301.
[0294] In the embodiment of the present application, the display position of the first interface control is determined by the display position of the pet character of the own party, so that the pet character of the own party can be highlighted in a targeted manner, while reducing the display redundancy of the center position of the game interface.
[0295] The current combat behavior mode is the pet character selection mode
[0296] The own pet character selection mode is a mode for controlling the main control virtual character to select and replace the own pet character to be fought. The target subject in the own pet character selection mode at least includes the main control virtual character.
[0297] In some embodiments, when the current combat behavior mode is the own pet character selection mode, a plurality of second interface controls are determined based on the own pet character selection mode, and the plurality of second interface controls are controlled to be arranged and displayed in a target area in a surrounding form around the main control virtual character in the combat scene. The target area is related to the display position of the main control virtual character.
[0298] In some embodiments, in the pet character selection mode, a second interface control list is displayed, and the second interface control list includes multiple second interface controls. The multiple second interface controls can adopt different layout methods. Optionally, the layout method adopted by the multiple second interface controls includes but is not limited to at least one of arc layout, vertical layout, horizontal layout, fan layout, superposition layout, floating button layout, pop-up menu layout, and custom layout.
[0299] In some embodiments, multiple second interface controls can be arranged and displayed in a target area in a surrounding form around the main virtual character in the battle scene using different layout methods. The target area is an area away from the center of the screen relative to the main virtual character. The surrounding form refers to multiple second interface controls being arranged in a ring around the main virtual character. For example, multiple second interface controls are arranged and displayed around the target subject in a surrounding form based on an arc layout, and for another example, multiple second interface controls are arranged and displayed around the target subject in a surrounding form based on a vertical layout.
[0300] In some embodiments, the target area is related to the display position of the master virtual character, and the target area is an area away from the center of the screen relative to the master virtual character. Optionally, the master virtual character is displayed at the left position on the virtual world screen, and the target area is the left side of the master virtual character, that is, the second interface control will be displayed on the left side of the master virtual character; or, the master virtual character is displayed at the right position on the virtual world screen, and the target area is the right side of the master virtual character, that is, the second interface control will be displayed on the right side of the master virtual character; or, the master virtual character is displayed at the upper position on the virtual world screen, and the target area is the upper side of the master virtual character, that is, the second interface control will be displayed on the upper side of the master virtual character; or, the master virtual character is displayed at the lower position on the virtual world screen, and the target area is the lower side of the master virtual character, that is, the second interface control will be displayed on the lower side of the master virtual character.
[0301] For example, Fig.19 As shown, a virtual world screen 1400 corresponding to the own pet character selection mode is displayed, and the corresponding target subject in the own pet character selection mode includes at least a master virtual character 1401. The master virtual character 1401 is displayed on the left side of the virtual world screen, and multiple second interface controls 1402 are arranged and displayed around the master virtual character 1401 in the battle scene based on an arc layout in a surrounding form, and the multiple second interface controls 1402 are displayed on the left side of the master virtual character 1401.
[0302] In the embodiment of the present application, the display position of the second interface control is determined by the display position of the main virtual character, so that the main virtual character can be highlighted in a targeted manner and the display redundancy of the center position of the game interface can be reduced.
[0303] The current combat behavior mode is the prop use mode
[0304] The prop use mode is a mode for controlling the main virtual character to select props to act on the pet character of the party. The target subject in the prop use mode at least includes the main virtual character.
[0305] In some embodiments, when the current combat behavior mode is the prop use mode, a plurality of third interface controls are determined based on the prop use mode, and the plurality of third interface controls are controlled to be arranged and displayed in a surrounding form around the main control virtual character in the combat scene in a target area, wherein the target area is related to the display position of the main control virtual character.
[0306] In some embodiments, in the prop use mode, a third interface control list is displayed, and the third interface control list includes multiple third interface controls. Multiple third interface controls can adopt different layout methods. Optionally, the layout method adopted by multiple third interface controls includes but is not limited to at least one of arc layout, vertical layout, horizontal layout, fan layout, superposition layout, floating button layout, pop-up menu layout, and custom layout.
[0307] In some embodiments, multiple third interface controls can be arranged and displayed in a surround form around the main virtual character in the battle scene in a target area using different layout methods. The target area is an area away from the center of the screen relative to the main virtual character. The surround form refers to multiple third interface controls being arranged in a ring around the main virtual character. For example, multiple third interface controls are arranged and displayed around the target subject in a surround form based on an arc layout, and for another example, multiple third interface controls are arranged and displayed around the target subject in a surround form based on a vertical layout.
[0308] In some embodiments, the target area is related to the display position of the master virtual character, and the target area is an area away from the center of the screen relative to the master virtual character. Optionally, the master virtual character is displayed at the left position on the virtual world screen, and the target area is the left side of the master virtual character, that is, the third interface control will be displayed on the left side of the master virtual character; or, the master virtual character is displayed at the right position on the virtual world screen, and the target area is the right side of the master virtual character, that is, the third interface control will be displayed on the right side of the master virtual character; or, the master virtual character is displayed at the upper position on the virtual world screen, and the target area is the upper side of the master virtual character, that is, the third interface control will be displayed on the upper side of the master virtual character; or, the master virtual character is displayed at the lower position on the virtual world screen, and the target area is the lower side of the master virtual character, that is, the third interface control will be displayed on the lower side of the master virtual character.
[0309] For example, Fig. 20 As shown, a virtual world screen 1500 corresponding to the prop use mode is displayed, and the corresponding target subject in the prop use mode includes at least a master virtual character 1501. The master virtual character 1501 is displayed on the left side of the virtual world screen, and multiple third interface controls 1502 are arranged and displayed around the master virtual character 1501 in the battle scene based on an arc layout in a surrounding form, and the multiple third interface controls 1502 are displayed on the left side of the master virtual character 1501.
[0310] In the embodiment of the present application, the display position of the third interface control is determined by the display position of the main virtual character, so that the main virtual character can be highlighted in a targeted manner and the display redundancy of the center position of the game interface can be reduced.
[0311] In some embodiments, in response to the combat behavior mode selection operation, the target subject located in the combat scene is displayed in different display modes in different combat behavior modes. Optionally, the display mode includes at least one of an observation perspective and a control layout.
[0312] In different combat behavior modes, the target subject in the combat scene is displayed with different observation angles; or, in different combat behavior modes, the target subject in the combat scene is displayed with different control layouts; or, in different combat behavior modes, the target subject in the combat scene is displayed with different observation angles and control layouts.
[0313] It should be noted that the above embodiments introduce that in different combat behavior modes, the target subject in the combat scene is displayed with different observation angles or control layouts. Optionally, in different combat behavior modes, the target subject in the combat scene is displayed with different observation angles and control layouts at the same time, that is, the above embodiments can be combined into a new embodiment.
[0314] Exemplarily, the observation perspective corresponding to the combat skill selection mode and the control layout corresponding to the combat skill selection mode are combined into a new embodiment; or, the observation perspective corresponding to the own pet character selection mode and the control layout corresponding to the own pet character selection mode are combined into a new embodiment; or, the observation perspective corresponding to the prop usage mode and the control layout corresponding to the prop usage mode are combined into a new embodiment, and so on, which will not be elaborated in this application.
[0315] In some embodiments, after the turn-based combat triggering conditions are met, the master virtual character brings the pet character to switch from the world scene to the battle scene, and the master virtual character controls the pet character to perform turn-based combat (referred to as combat) with the enemy pet character.
[0316] Combined with reference Fig.21 , which shows a schematic diagram of switching between different combat behavior modes provided by an exemplary embodiment of the present application. The combat behavior modes include but are not limited to at least one of the following: combat skill selection mode; own pet character selection mode; enemy pet character capture mode; enemy pet character selection mode; prop use mode; escape mode. Optionally, after the battle begins, switching between different combat behavior modes, the switching step includes at least one of the following:
[0317] 1. The battle begins;
[0318] Optionally, after combat begins, enter combat skill selection mode by default.
[0319] 2. Start releasing skills;
[0320] Optionally, after entering the combat skill selection mode, the main control virtual character can control the pet character of the party to release combat skills.
[0321] 3. Skill release ends;
[0322] After the main control virtual character selects the combat skills that his pet character needs to use in battle, it enters the execution mode, that is, his pet character releases the combat skills to the enemy pet character. After the combat skills are released, it returns to the combat skill selection mode again, and the main control virtual character can control his pet character to release the next round of combat skills.
[0323] 4. The player triggers other mode controls;
[0324] Optionally, the player can trigger other mode controls to enter other combat behavior modes, and other combat behavior modes include at least one of the following: own pet character selection mode; enemy pet character capture mode; enemy pet character selection mode; prop use mode; escape mode. Among them, the prop use mode also includes a secondary mode.
[0325] Optionally, by triggering different mode controls, you can switch between different combat behavior modes.
[0326] 5. Issue action instructions;
[0327] In response to the player's triggering operation on other mode controls, that is, in response to the player's selection operation on other combat behavior modes, an action instruction is issued to the client, that is, the current combat behavior mode is determined to be selected. For example, in response to the selection operation on the escape control, the current combat behavior mode is determined to be the escape mode, and an escape mode instruction is issued to the client, and the client will display the virtual world screen in the escape mode.
[0328] 6. The battle is over.
[0329] Fig. 22 The flowchart of the method for displaying turn-based combat provided by an exemplary embodiment of the present application is shown. The execution subject of each step of the method may be Figure 3 The first terminal 120 and / or the second terminal 160 and / or the third terminal 180 shown, or a client supporting a virtual world installed on the first terminal 120 and / or the second terminal 160 and / or the third terminal 180.
[0330] Optionally, the step of determining the viewing angle includes at least one of the following:
[0331] Step 1: Get the configuration content under the current combat behavior mode;
[0332] The configuration content is used to indicate the camera parameters of the virtual camera model. The camera parameters include but are not limited to at least one of the configuration name, target subject, rotation angle, offset relative to the target subject, length relative to the target subject, field of view angle, camera depth of field, camera position transition, and parameter control.
[0333] For example, the current combat behavior mode is the combat skill selection mode. In the combat skill selection mode, the configuration content corresponding to the camera parameters is as follows:
[0334]
[0335]
[0336] It should be noted that the above-mentioned "Target" is the endpoint parameter for configuring the virtual reference axis, and it can also be understood that "Target" is used to connect the target subject corresponding to the virtual reference axis in the current combat behavior mode. For example, in the combat skill selection mode, the virtual reference axis is the axis used to connect the pet character of our side and the pet character of the enemy. At this time, the two endpoints of the virtual reference axis are the pet character of our side and the pet character of the enemy. For another example, in the enemy pet character capture mode, the virtual reference axis is the axis used to connect the main control virtual character and the enemy pet character. At this time, the two endpoints of the virtual reference axis are the main control virtual character and the enemy pet character.
[0337] In some embodiments, the field of view (Fov) is the field of view of the virtual camera model, which determines the size of the picture that the virtual camera model can see. Optionally, as the field of view increases, the virtual camera model sees more content in the picture, and a single object occupies less space in the picture.
[0338] Step 2: Obtain the target subject and the virtual reference axis;
[0339] In some embodiments, in different combat behavior modes, the target subject in the current virtual world screen is displayed differently, the target subject is determined according to the current combat behavior mode, and the virtual reference axis is determined based on the target subject. Optionally, the virtual reference axis is determined based on the line connecting the center points of the target subjects.
[0340] Exemplarily, in the combat skill selection mode, the target subject includes the pet character of the party and the pet character of the enemy. The virtual reference axis is determined by the line connecting the center points of the pet character of the party and the pet character of the enemy.
[0341] Step 3: Determine the starting point of the spring arm assembly according to the virtual reference axis;
[0342] In some embodiments, after the first virtual reference axis is determined, the virtual world and the virtual camera model are connected by a spring arm assembly with the first virtual reference axis as a starting point and the virtual camera model as an end point. The specific position of the spring arm assembly on the first virtual reference axis corresponds to the degree of observation offset of the first observation angle. Optionally, the starting point of the spring arm assembly is used to determine the orientation of the virtual camera model.
[0343] Step 4: Calculate the parameters of the spring arm assembly;
[0344] In some embodiments, the parameters of the spring arm component are calculated according to the configuration content corresponding to the current combat behavior mode. The spring arm component starts from the first virtual reference axis and ends at the virtual camera model, connecting the virtual world and the virtual camera model.
[0345] Step 5: Add environment variables;
[0346] In some embodiments, when there are environmental variables in the current combat behavior mode, the observation angle can be changed based on the environmental variables. Optionally, the parameters of the spring arm assembly and / or the camera parameters of the virtual camera model are corrected based on the environmental variables, and the changed observation angle is determined according to the parameters of the spring arm assembly and / or the camera parameters of the virtual camera model.
[0347] Step 6: Whether the player manually adjusts the screen;
[0348] In some embodiments, the player can actively adjust the viewing angle. Manual adjustment of the screen by the player is equivalent to adjusting the viewing angle of the virtual world screen.
[0349] Step 7: If adjustment is required, add the adjustment offset;
[0350] The terminal device is provided with a touch sensor, and in response to an adjustment operation on the virtual world picture, an adjustment offset for the virtual world picture is determined, and the observation angle is changed based on the adjustment offset.
[0351] Step 8: Output the final result.
[0352] Optionally, the observation angle corresponding to the current combat behavior mode is determined based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters.
[0353] Fig.23 The structure block diagram of a display device for turn-based combat provided by an embodiment of the present application is shown. The device has the function of realizing the display example of the above turn-based combat, and the function can be realized by hardware, or by hardware executing corresponding software. The device can be the server described above, or it can be set in the server. Fig.23As shown, the device 1700 may include: a control module 1710 , a switching module 1720 and a display module 1730 .
[0354] The control module 1710 is used to control the main virtual character to explore in the virtual world, and the main virtual character has at least one pet character;
[0355] The switching module 1720 is used for switching from the virtual world exploration state to the turn-based combat state in response to satisfying the turn-based combat trigger condition, and controlling the pet character of the own party to fight with the pet character of the enemy in the turn-based combat state;
[0356] Display module 1730, for switching between multiple combat behavior modes in response to a combat behavior mode selection operation, and displaying a target subject located in the combat scene in different display modes in different combat behavior modes;
[0357] Wherein, the target subject includes at least one of the main control virtual character, the own pet character and the enemy pet character.
[0358] In some embodiments, the display module 1730 also includes a determination submodule and a display submodule.
[0359] In an optional example, the display mode includes an observation perspective;
[0360] a determination submodule, configured to determine a current combat behavior mode among the plurality of combat behavior modes in response to the combat behavior mode selection operation;
[0361] The display submodule is used to highlight the target subject located in the combat scene based on the observation angle corresponding to the current combat behavior mode.
[0362] In some embodiments, the display submodule further includes a display unit.
[0363] In an optional example, the current combat behavior mode is a combat skill selection mode, and the combat skill selection mode is a mode for controlling the main control virtual character to select the pet character of the party to release skills;
[0364] A display unit, configured to highlight a first target subject in the combat scene based on a first observation angle corresponding to the combat skill selection mode;
[0365] Among them, the first target subject includes the own pet character and the enemy pet character, the first observation perspective is an observation perspective with the own pet character as the first focus object and the enemy pet character as the second focus object, and the importance of the first focus object is higher than that of the second focus object.
[0366] In an optional example, the current combat behavior mode is a pet character selection mode, and the pet character selection mode is a mode for controlling the master virtual character to select and replace the pet character to be fought;
[0367] A display unit, used for highlighting a second target subject in the battle scene based on a second observation angle corresponding to the pet character selection mode of the own party;
[0368] Among them, the second target subject includes the main virtual character and the own pet character, the second observation perspective is an observation perspective with the main virtual character as the third focus object and the own pet character as the fourth focus object, and the importance of the third focus object is higher than that of the fourth focus object.
[0369] In an optional example, the current combat behavior mode is an enemy pet character capture mode, and the enemy pet character capture mode is a mode for controlling the master virtual character to capture the enemy pet character;
[0370] A display unit, configured to highlight a third target subject in the battle scene based on a third observation angle corresponding to the enemy pet character capture mode;
[0371] Wherein, the third target subject includes the main control virtual character and the enemy pet character, and the third observation perspective is an observation perspective that takes the main control virtual character and the enemy pet character as the fifth focus object at the same time.
[0372] In an optional example, the current combat behavior mode is a prop use mode, and the prop use mode is a mode for controlling the main control virtual character to select a prop to act on the pet character of the own party;
[0373] A display unit, configured to highlight a fourth target subject in the battle scene based on a fourth observation angle corresponding to the prop usage mode;
[0374] Among them, the fourth target subject includes the main virtual character and the own pet character, the fourth observation perspective is an observation perspective with the main virtual character as the sixth focus object and the own pet character as the seventh focus object, and the importance of the sixth focus object is higher than that of the seventh focus object.
[0375] In an optional example, the prop use mode includes a secondary mode, and the secondary mode is a mode in which the main control virtual character uses the target prop;
[0376] The display unit is used for, in response to the main control virtual character being in the secondary mode, enlarging and displaying the action posture of the main control virtual character using the target prop.
[0377] In an optional example, the current combat behavior mode is an escape mode, and the escape mode is a mode for controlling the master virtual character to end the current combat and escape;
[0378] A display unit, configured to highlight a fifth target subject in the battle scene based on a fifth observation angle corresponding to the escape mode;
[0379] Among them, the fifth target subject includes the main controlling virtual character, and the fifth observation perspective is an observation perspective with the main controlling virtual character as the eighth focus object.
[0380] In an optional example, the current battle behavior mode is an enemy pet character selection mode, and the enemy pet character selection mode is a mode for controlling the master virtual character to select an enemy pet character for this battle;
[0381] A display unit, configured to highlight a sixth target subject in the battle scene based on a sixth observation angle corresponding to the enemy pet character selection mode;
[0382] Among them, the sixth target subject includes multiple enemy pet characters, and the sixth observation perspective is an observation perspective with the multiple enemy pet characters as the ninth focus object.
[0383] In some embodiments, the apparatus 1700 further includes an acquisition module and a determination module.
[0384] In an optional example, the observation perspective is the perspective of a virtual camera model observing the virtual world;
[0385] An acquisition module, used for acquiring a virtual reference axis of the virtual camera model, wherein the virtual reference axis is used for indicating the position of the target subject in the battle scene;
[0386] a determination module, configured to determine a starting point of a spring arm component based on the virtual reference axis, wherein the spring arm component is a component used to connect the virtual reference axis and the virtual camera model, and the starting point of the spring arm component is used to determine the orientation of the virtual camera model;
[0387] An acquisition module, used for acquiring configuration content of the virtual camera model in the current combat behavior mode, and a determination module, used for determining parameters of the spring arm assembly according to the configuration content, wherein the configuration content is used for indicating camera parameters of the virtual camera model;
[0388] A determination module is used to determine the observation angle corresponding to the current combat behavior mode based on the orientation of the virtual camera model, the parameters of the spring arm component and the camera parameters.
[0389] In an optional example, the acquisition module is used to acquire environmental variables in the virtual world and correct the observation angle based on the environmental variables, wherein the environmental variables are related to parameters of the spring arm assembly or camera parameters of the virtual camera model.
[0390] In an optional example, the display mode includes a control layout;
[0391] a determination submodule, configured to determine a current combat behavior mode among the plurality of combat behavior modes in response to the combat behavior mode selection operation;
[0392] The display submodule is used to highlight the target subject located in the battle scene based on the control layout corresponding to the current battle behavior mode.
[0393] In an optional example, the current combat behavior mode is a combat skill selection mode, and the combat skill selection mode is a mode for controlling the main control virtual character to select the own pet character to release skills, and the target subject includes the own pet character;
[0394] The display unit is used to determine multiple first interface controls based on the combat skill selection mode, and control the multiple first interface controls to be arranged and displayed in a target area in a surrounding form around the pet character of the own side in the combat scene, and the target area is related to the display position of the pet character of the own side.
[0395] In an optional example, the current combat behavior mode is a pet character selection mode, which is a mode for controlling the master virtual character to select and replace the pet character to be fought, and the target subject includes the master virtual character;
[0396] The display unit is used to determine multiple second interface controls based on the pet character selection mode, and control the multiple second interface controls to be arranged and displayed in the target area in the surrounding form around the main virtual character in the battle scene, and the target area is related to the display position of the main virtual character.
[0397] In an optional example, the current combat behavior mode is a prop use mode, and the prop use mode is a mode for controlling the master virtual character to select a prop to act on the pet character of the party, and the target subject includes the master virtual character;
[0398] The display unit is used to determine multiple third interface controls based on the pet character selection mode, and control the multiple third interface controls to be arranged and displayed in the target area in the surround form around the main virtual character in the battle scene, and the target area is related to the display position of the main virtual character.
[0399] In an optional example, the target area is an area far away from the center of the screen relative to the target subject, and the center of the screen is the central position of the virtual world screen.
[0400] In an optional example, the target subject is displayed at the left position on the virtual world screen, and the target area is the left side of the target subject; or,
[0401] The target subject is displayed at the right position on the virtual world screen, and the target area is the right side of the target subject; or,
[0402] The target subject is displayed at the upper side of the virtual world screen, and the target area is the upper side of the target subject; or,
[0403] The target body is displayed at a lower position on the virtual world screen, and the target area is the lower side of the target body.
[0404] It should be noted that the specific limitations in the embodiments of the one or more turn-based combat display devices provided above can refer to the limitations of the turn-based combat display method above, and will not be repeated here. Each module of the above device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor of the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0405] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0406] An embodiment of the present application also provides a computer device, which includes: a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the turn-based combat display method provided by the above-mentioned method embodiments.
[0407] Fig.24The block diagram of the structure of a computer device 1800 provided by an exemplary embodiment of the present application is shown. The computer device 1800 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player. The computer device 1800 may also be called a user device, a portable terminal, or other names. Generally, the computer device 1800 includes a processor 1801 and a memory 1802.
[0408] The processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1801 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1801 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0409] The memory 1802 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1802 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1802 is used to store at least one instruction, which is used to be executed by the processor 1801 to implement the method for using the virtual throwing props provided in the embodiments of the present application.
[0410] In some embodiments, the computer device 1800 may also optionally include: a peripheral device interface 1803 and at least one peripheral device. The processor 1801, the memory 1802 and the peripheral device interface 1803 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1803 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1804, a touch display screen 1805, a camera assembly 1806, an audio circuit 1807 and a power supply 1808.
[0411] The peripheral device interface 1803 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1801 and the memory 1802. In some embodiments, the processor 1801, the memory 1802, and the peripheral device interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1801, the memory 1802, and the peripheral device interface 1803 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0412] The radio frequency circuit 1804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1804 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1804 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 1804 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a Wi-Fi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1804 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0413] The touch display screen 1805 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 1805 also has the ability to collect touch signals on the surface or above the surface of the touch display screen 1805. The touch signal may be input to the processor 1801 as a control signal for processing. The touch display screen 1805 is used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the touch display screen 1805 may be one, and the front panel of the computer device 1800 is set; in other embodiments, the touch display screen 1805 may be at least two, which are respectively set on different surfaces of the computer device 1800 or are folded; in some embodiments, the touch display screen 1805 may be a flexible display screen, which is set on the curved surface or folded surface of the computer device 1800. Even, the touch display screen 1805 can also be set as a non-rectangular irregular shape, that is, a special-shaped screen. The touch display screen 1805 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
[0414] The camera assembly 1806 is used to capture images or videos. Optionally, the camera assembly 1806 includes a front camera and a rear camera. Typically, the front camera is used to realize video calls or selfies, and the rear camera is used to realize the shooting of photos or videos. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, and a wide-angle camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, and the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR shooting functions. In some embodiments, the camera assembly 1806 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0415] The audio circuit 1807 is used to provide an audio interface between the user and the computer device 1800. The audio circuit 1807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1801 for processing, or input them into the radio frequency circuit 1804 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the computer device 1800. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1801 or the radio frequency circuit 1804 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1807 may also include a headphone jack.
[0416] The power supply 1808 is used to power various components in the computer device 1800. The power supply 1808 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1808 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0417] In some embodiments, the computer device 1800 further includes one or more sensors 1809 , including but not limited to: an acceleration sensor 1810 , a gyroscope sensor 1811 , a pressure sensor 1812 , an optical sensor 1813 , and a proximity sensor 1814 .
[0418] The acceleration sensor 1810 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the computer device 1800. For example, the acceleration sensor 1810 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1801 can control the touch display screen 1805 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1810. The acceleration sensor 1810 can also be used to collect the motion data of the game or the user. The gyroscope sensor 1811 can detect the body direction and rotation angle of the computer device 1800, and the gyroscope sensor 1811 can cooperate with the acceleration sensor 1810 to collect the user's 3D action on the computer device 1800. The processor 1801 can implement the following functions based on the data collected by the gyroscope sensor 1811: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0419] The pressure sensor 1812 can be set on the side frame of the computer device 1800 and / or the lower layer of the touch display screen 1805. When the pressure sensor 1812 is set on the side frame of the computer device 1800, it can detect the user's grip signal of the computer device 1800, and perform left and right hand recognition or shortcut operations according to the grip signal. When the pressure sensor 1812 is set on the lower layer of the touch display screen 1805, it can control the operability controls on the UI interface according to the user's pressure operation on the touch display screen 1805. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0420] The optical sensor 1813 is used to collect the ambient light intensity. In one embodiment, the processor 1801 can control the display brightness of the touch display screen 1805 according to the ambient light intensity collected by the optical sensor 1813. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1805 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1805 is reduced. In another embodiment, the processor 1801 can also dynamically adjust the shooting parameters of the camera assembly 1806 according to the ambient light intensity collected by the optical sensor 1813.
[0421] The proximity sensor 1814, also called a distance sensor, is usually arranged on the front of the computer device 1800. The proximity sensor 1814 is used to collect the distance between the user and the front of the computer device 1800. In one embodiment, when the proximity sensor 1814 detects that the distance between the user and the front of the computer device 1800 is gradually decreasing, the processor 1801 controls the touch display screen 1805 to switch from the screen-on state to the screen-off state; when the proximity sensor 1814 detects that the distance between the user and the front of the computer device 1800 is gradually increasing, the processor 1801 controls the touch display screen 1805 to switch from the screen-off state to the screen-on state.
[0422] Those skilled in the art will appreciate that the above structure does not constitute a limitation on the computer device 1800 , and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0423] An embodiment of the present application also provides a computer-readable storage medium, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor to implement the turn-based combat display method provided by the above-mentioned method embodiments.
[0424] An embodiment of the present application also provides a computer program product, which includes at least one computer program, and the at least one computer program is stored in a computer-readable storage medium; the at least one computer program is read and executed from the computer-readable storage medium by a processor of a computer device, so that the computer device executes the turn-based combat display method provided by the above-mentioned method embodiments.
[0425] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.
[0426] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0427] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent switching, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for displaying turn-based combat, characterized in that: The method comprises: Controlling a master virtual character to explore in a virtual world, wherein the master virtual character has at least one pet character; In response to satisfying a turn-based combat trigger condition, switching from a virtual world exploration state to a turn-based combat state, and controlling the pet character of the party to fight with the enemy pet character in the turn-based combat state; In response to a combat behavior mode selection operation, switching between multiple combat behavior modes is performed, and a target subject located in a combat scene is displayed in different display modes in different combat behavior modes; Wherein, the target subject includes at least one of the main control virtual character, the own pet character and the enemy pet character.
2. The method according to claim 1, characterized in that The display mode includes an observation angle; In response to the combat behavior mode selection operation, switching between multiple combat behavior modes is performed, and the target subject located in the combat scene is displayed in different display modes in different combat behavior modes, including: In response to the combat behavior mode selection operation, determining a current combat behavior mode among the plurality of combat behavior modes; The target subject in the battle scene is highlighted based on the observation angle corresponding to the current battle behavior mode.
3. The method according to claim 2, characterized in that The current combat behavior mode is a combat skill selection mode, and the combat skill selection mode is a mode for controlling the main control virtual character to select the skills of the pet character of the party to release; The highlighting of the target subject in the battle scene based on the observation angle corresponding to the current battle behavior mode includes: Highlighting a first target subject in the battle scene based on a first observation angle corresponding to the battle skill selection mode; Among them, the first target subject includes the own pet character and the enemy pet character, the first observation perspective is an observation perspective with the own pet character as the first focus object and the enemy pet character as the second focus object, and the importance of the first focus object is higher than that of the second focus object.
4. The method according to claim 2, characterized in that: The current combat behavior mode is a pet character selection mode, which is a mode for controlling the master virtual character to select and replace the pet character to be fought; The highlighting of the target subject in the battle scene based on the observation angle corresponding to the current battle behavior mode includes: Highlighting a second target subject in the battle scene based on a second observation angle corresponding to the pet character selection mode of the party; Among them, the second target subject includes the main virtual character and the own pet character, the second observation perspective is an observation perspective with the main virtual character as the third focus object and the own pet character as the fourth focus object, and the importance of the third focus object is higher than that of the fourth focus object.
5. The method according to claim 2, characterized in that: The current combat behavior mode is an enemy pet character capture mode, and the enemy pet character capture mode is a mode for controlling the master virtual character to capture the enemy pet character; The highlighting of the target subject in the battle scene based on the observation angle corresponding to the current battle behavior mode includes: Highlighting a third target subject in the battle scene based on a third observation angle corresponding to the enemy pet character capture mode; Wherein, the third target subject includes the main control virtual character and the enemy pet character, and the third observation perspective is an observation perspective that takes the main control virtual character and the enemy pet character as the fifth focus object at the same time.
6. The method according to claim 2, characterized in that The current combat behavior mode is a prop use mode, and the prop use mode is a mode for controlling the master virtual character to select props to act on the pet character of the party; The highlighting of the target subject in the battle scene based on the observation angle corresponding to the current battle behavior mode includes: Highlighting a fourth target subject in the battle scene based on a fourth observation angle corresponding to the prop usage mode; Among them, the fourth target subject includes the main virtual character and the own pet character, the fourth observation perspective is an observation perspective with the main virtual character as the sixth focus object and the own pet character as the seventh focus object, and the importance of the sixth focus object is higher than that of the seventh focus object.
7. The method according to claim 6, characterized in that The prop use mode includes a secondary mode, and the secondary mode is a mode in which the master virtual character uses the target prop. The method further includes: In response to the main control virtual character being in the secondary mode, an action posture of the main control virtual character using the target prop is magnified and displayed.
8. The method according to claim 2, characterized in that: The current combat behavior mode is an escape mode, and the escape mode is a mode in which the master virtual character is controlled to end the current combat and escape; The highlighting of the target subject in the battle scene based on the observation angle corresponding to the current battle behavior mode includes: Highlighting a fifth target subject in the battle scene based on a fifth observation angle corresponding to the escape mode; Among them, the fifth target subject includes the main controlling virtual character, and the fifth observation perspective is an observation perspective with the main controlling virtual character as the eighth focus object.
9. The method according to claim 2, characterized in that: The current battle behavior mode is an enemy pet character selection mode, and the enemy pet character selection mode is a mode for controlling the master virtual character to select an enemy pet character for this battle; The highlighting of the target subject in the battle scene based on the observation angle corresponding to the current battle behavior mode includes: Highlighting a sixth target subject in the battle scene based on a sixth observation angle corresponding to the enemy pet character selection mode; Among them, the sixth target subject includes multiple enemy pet characters, and the sixth observation perspective is an observation perspective with the multiple enemy pet characters as the ninth focus object.
10. The method according to any one of claims 2 to 9, characterized in that: The observation angle is the angle of view of the virtual camera model observing the virtual world, and the method further includes: Acquire a virtual reference axis of the virtual camera model, where the virtual reference axis is used to indicate the position of the target subject in the battle scene; Determining a starting point of a spring arm component based on the virtual reference axis, wherein the spring arm component is a component used to connect the virtual reference axis and the virtual camera model, and the starting point of the spring arm component is used to determine the orientation of the virtual camera model; Acquire the configuration content of the virtual camera model in the current combat behavior mode, and determine the parameters of the spring arm component according to the configuration content, wherein the configuration content is used to indicate the camera parameters of the virtual camera model; The observation angle corresponding to the current combat behavior mode is jointly determined based on the orientation of the virtual camera model, the parameters of the spring arm assembly and the camera parameters.
11. The method according to any one of claims 1 to 10, characterized in that: The display mode includes control layout; In response to the combat behavior mode selection operation, switching between multiple combat behavior modes is performed, and the target subject located in the combat scene is displayed in different display modes in different combat behavior modes, including: In response to the combat behavior mode selection operation, determining a current combat behavior mode among the plurality of combat behavior modes; The target subject in the battle scene is highlighted based on the control layout corresponding to the current battle behavior mode.
12. The method according to claim 11, characterized in that The current combat behavior mode is a combat skill selection mode, which is a mode for controlling the main control virtual character to select the pet character of the party to release skills, and the target subject includes the pet character of the party; The highlighting of the target subject in the battle scene based on the control layout corresponding to the current battle behavior mode includes: Based on the combat skill selection mode, a plurality of first interface controls are determined, and the plurality of first interface controls are controlled to be arranged and displayed in a surrounding form around the pet character of the own side in the combat scene in a target area, and the target area is related to the display position of the pet character of the own side.
13. The method according to claim 11, characterized in that The current combat behavior mode is a pet character selection mode, which is a mode for controlling the master virtual character to select and replace the pet character to be fought, and the target subject includes the master virtual character; The highlighting of the target subject in the battle scene based on the control layout corresponding to the current battle behavior mode includes: Based on the pet character selection mode, multiple second interface controls are determined, and the multiple second interface controls are controlled to be arranged and displayed in the target area in the surrounding form around the main virtual character in the battle scene, and the target area is related to the display position of the main virtual character.
14. The method according to claim 11, characterized in that The current combat behavior mode is a prop use mode, which is a mode for controlling the master virtual character to select props to act on the pet character of the party, and the target subject includes the master virtual character; The highlighting of the target subject in the battle scene based on the control layout corresponding to the current battle behavior mode includes: Based on the pet character selection mode, multiple third interface controls are determined, and the multiple third interface controls are controlled to be arranged and displayed in the target area in the surrounding form around the main virtual character in the battle scene, and the target area is related to the display position of the main virtual character.
15. The method according to any one of claims 12 to 14, characterized in that: The target area is an area far from the center of the screen relative to the target subject, and the center of the screen is the central position of the virtual world screen.
16. The method according to claim 15, characterized in that The target subject is displayed at the left position on the virtual world screen, and the target area is the left side of the target subject; or, The target subject is displayed at the right position on the virtual world screen, and the target area is the right side of the target subject; or, The target subject is displayed at the upper side of the virtual world screen, and the target area is the upper side of the target subject; or, The target body is displayed at a lower position on the virtual world screen, and the target area is the lower side of the target body.
17. A display device for turn-based combat, characterized in that: The device comprises: A control module, used for controlling a main control virtual character to explore in a virtual world, wherein the main control virtual character has at least one pet character; A switching module, for switching from the virtual world exploration mode to a turn-based combat state in response to satisfying a turn-based combat trigger condition, and controlling the pet character of the own party to fight with the pet character of the enemy in the turn-based combat state; A display module is used to switch between multiple combat behavior modes in response to a combat behavior mode selection operation, and to display a target subject located in the combat scene in different display modes in different combat behavior modes; Wherein, the target subject includes at least one of the main control virtual character, the own pet character and the enemy pet character.
18. A computer device, characterized in that: The computer device comprises: a processor and a memory, wherein at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor to implement the turn-based combat display method according to any one of claims 1 to 16.
19. A computer storage medium, characterized in that: At least one computer program is stored in the computer-readable storage medium, and the at least one computer program is loaded and executed by the processor to implement the turn-based combat display method according to any one of claims 1 to 16.
20. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium; the computer program is read and executed from the computer-readable storage medium by a processor of a computer device, so that the computer device executes the turn-based combat display method as described in any one of claims 1 to 16.
Citation Information
Cited By
Virtual character capturing method, device and equipment and computer readable storage medium
CN119925932A
Virtual role capturing method, device, equipment and computer readable storage medium
CN119925932B
Turn-based battle display method and apparatus, and device, medium and product
WO2026040672A1
Virtual world-based capture method and apparatus, device, medium, and product
WO2026138235A1
Method and apparatus for capturing virtual character, device, and computer-readable storage medium
WO2026200559A1
