Interaction method and device based on virtual world, equipment, medium and program product
By introducing a mobile terrain platform into the virtual world, allowing players to independently change the terrain and interact with other virtual characters, the problem of terrain in the existing technology is solved and the gameplay is enriched.
Patent Information
- Application Number
- CN202311245978.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, players cannot independently change the terrain during the battle in a multiplayer battle scene, resulting in a single online gameplay.
By displaying at least two terrain platforms, at least one of which is a mobile platform, the terrain is changed in response to the player's permission acquisition and movement control operations, and virtual characters are allowed to interact on these terrains.
It realizes the ability of players to independently change the terrain of the virtual world, enriches the gameplay, and increases the strategy and diversity of combat.
Smart Images

Figure CN119680192A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of human-computer interaction, and in particular to an interaction method, device, equipment, medium and program product based on a virtual world. Background Art
[0002] In an online game based on a virtual world, multiple players can enter a copy at the same time to engage in multiplayer combat.
[0003] In the related art, the terrain in the multiplayer battle scene does not change during the entire battle process. Or, the player can only change the terrain by using some virtual props, for example: using some virtual props to generate some obstacles in the multiplayer battle scene, and changing the terrain in the multiplayer battle scene through these obstacles.
[0004] However, in the related art, players cannot independently change the terrain in the multiplayer battle scene during the battle, which results in a relatively simple gameplay of the online game. Summary of the invention
[0005] The present application provides an interactive method, device, equipment, medium and program product based on a virtual world. The technical solution is as follows:
[0006] According to one aspect of the present application, a virtual world-based interaction method is provided, the method comprising:
[0007] Displaying at least two terrain platforms located in the virtual world, wherein the at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one of the at least two terrain platforms is a mobile platform;
[0008] In response to the permission acquisition operation, controlling the first virtual character to acquire the control permission of the mobile platform;
[0009] In response to a movement control operation on the mobile platform, controlling the mobile platform to move in the virtual world to change the terrain formed by the at least two terrain platforms;
[0010] In response to a character control operation on the first virtual character, the first virtual character is controlled to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms.
[0011] According to another aspect of the present application, a virtual world-based interactive device is provided, the device comprising:
[0012] A display module, used for displaying at least two terrain platforms located in the virtual world, wherein the at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one of the at least two terrain platforms is a mobile platform;
[0013] A control module, configured to control the first virtual character to obtain control authority of the mobile platform in response to an authority acquisition operation;
[0014] The control module is used to control the mobile platform to move in the virtual world in response to a movement control operation on the mobile platform, so as to change the terrain formed by the at least two terrain platforms;
[0015] The control module is used to control the first virtual character to interact with other virtual characters among the at least two virtual characters on the terrain formed by the at least two terrain platforms in response to a character control operation on the first virtual character.
[0016] According to another aspect of the present application, a computer device is provided, comprising: a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above-mentioned virtual world-based interaction method.
[0017] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the virtual world-based interaction method as described above.
[0018] According to another aspect of the present application, a computer program product is provided, which includes computer instructions, wherein the computer instructions are stored in a computer-readable storage medium, and a processor obtains the computer instructions from the computer-readable storage medium, so that the processor loads and executes the computer instructions to implement the virtual world-based interaction method as described above.
[0019] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0020] By displaying at least two terrain platforms in the virtual world, at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one of the at least two terrain platforms is a mobile platform; in response to the permission acquisition operation, the first virtual character is controlled to obtain the control authority of the mobile platform; in response to the movement control operation of the mobile platform, the mobile platform is controlled to move in the virtual world to change the terrain formed by the at least two terrain platforms; in response to the character control operation of the first virtual character, the first virtual character is controlled to interact with other virtual characters in the at least two virtual characters on the terrain formed by the at least two terrain platforms. The above scheme designs a game copy gameplay, which gives the player the movement control right of the mobile platform in the virtual world, so that the player can move the mobile platform through the movement control operation to realize the terrain transformation of the virtual world, allowing the player to give full play to the subjective initiative to deal with the combat mechanism in the virtual world, enriching the gameplay of the game. 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 structural block diagram of a computer system provided by an exemplary embodiment is shown;
[0023] Figure 2 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0024] Figure 3 A flowchart of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0025] Figure 4 A flowchart of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0026] Figure 5 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0027] Figure 6 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0028] Figure 7 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0029] Figure 8A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0030] Fig. 9 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0031] Fig.10 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0032] Fig.11 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0033] Fig.12 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0034] Fig.13 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0035] Fig.14 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0036] Fig.15 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0037] Fig.16 A flowchart of an interactive method based on a virtual world provided by an exemplary embodiment is shown;
[0038] Fig.17 A block diagram of an interactive device based on a virtual world provided by an exemplary embodiment is shown;
[0039] Fig.18 A structural block diagram of a computer device provided by an exemplary embodiment is shown. DETAILED DESCRIPTION
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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".
[0044] It should be noted that before collecting relevant user data (such as relevant information of user accounts, permission information, permission acquisition operations, mobile control operations and role control operations, etc.) and during the process of collecting relevant user data, 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 user-related data after obtaining the user's confirmation operation on the prompt interface or pop-up window, otherwise (that is, when the user's confirmation operation on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining user-related data are terminated, that is, the user's relevant data is not obtained. In other words, all user data collected by this application are collected with the user's consent and authorization, 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.
[0045] First, the nouns involved in the embodiments of the present application are briefly introduced:
[0046] 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-simulated and semi-fictional three-dimensional world, or a purely fictional 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. Optionally, the virtual world is also used for virtual world battles between at least two virtual characters, and the virtual world has virtual resources that can be used by at least two virtual characters. Optionally, the virtual world includes symmetrical lower left and upper right corner areas, and virtual characters belonging to two hostile camps occupy one of the areas respectively.
[0047] A virtual character is an movable object in a virtual world. The movable object may be at least one of a virtual person, a virtual animal, and a cartoon character. Optionally, when the virtual world is a three-dimensional virtual world, the virtual character may be a three-dimensional virtual model, and each 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. Optionally, the virtual character is a three-dimensional character constructed based on three-dimensional human skeleton technology, and the virtual character achieves different external images by wearing different skins. In some implementations, the virtual character may also be implemented using a 2.5-dimensional or 2-dimensional model, which is not limited in the embodiments of the present application.
[0048] In response to: used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed may be executed.
[0049] Terrain platform: refers to the platform that carries virtual characters in the virtual world, that is, the virtual characters can stand on the terrain platform. Each terrain platform 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.
[0050] Exemplarily, the terrain platform of this embodiment includes a mobile platform and a fixed platform. The fixed platform is a fixed terrain platform, and its location cannot be moved. The mobile platform refers to a movable terrain platform, and its location can be moved. When the mobile platform is set to move in this embodiment, the virtual objects and virtual characters located on the mobile platform will be moved together, similar to an elevator or conveyor belt in a real scene.
[0051] Figure 1 The structure block diagram of a computer system 100 provided by an exemplary embodiment of the present application is shown. The computer system 100 can be a system architecture for implementing an interactive method based on a virtual world. The computer system 100 includes: a first terminal 120 , a server 140 and a second terminal 160 .
[0052] The first terminal 120 is provided with an application program supporting a virtual world installed and running. Exemplarily, the application program may be any one of a battle royale shooting game, a virtual reality (VR) application program, an augmented reality (AR) program, a three-dimensional map program, a virtual reality game, an augmented reality game, a first-person shooting game (FPS), a third-person shooting game (TPS), a multiplayer online tactical competitive game (MOBA), and a simulation game (SLG).
[0053] The first terminal 120 is a terminal used by the first user. The first user uses the first terminal 120 to control the first virtual character in the virtual world, and the control includes but is not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building virtual buildings. The first user can use the first terminal 120 to interact with non-player characters (NPCs) in the virtual world, and can also use the first terminal 120 to control the movement of a mobile platform in the virtual world.
[0054] The first terminal 120 is connected to the server 140 via a wireless network or a wired network.
[0055] The server 140 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services, cloud database, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and cloud servers providing basic cloud computing services such as big data and artificial intelligence platforms. The server 140 includes at least one server, multiple servers, a cloud computing platform, and a virtualization center.
[0056] Exemplarily, the server 140 includes a processor 144 and a memory 142, and the memory 142 further 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 at least one of the number, position, and attribute of an enemy virtual character, or a request to verify whether the virtual character is located on a mobile platform; the control module 1422 is used to control the rendering of the virtual world screen; and the sending module 1423 is used to send a response to the client, such as sending at least one of the number, position, and attribute value of the enemy virtual character to the client, or sending a verification result of whether the virtual character is located on a mobile platform to the client. The server 140 is used to provide background services for the applications of the first terminal 120 and the second terminal 160.
[0057] Optionally, the server 140 undertakes the main computing work, and the first terminal 120 and the second terminal 160 undertake the secondary computing work; or, the server 140 undertakes the secondary computing work, and the first terminal 120 and the second terminal 160 undertake the main computing work; or, a distributed computing architecture is used among the server 140, the first terminal 120 and the second terminal 160 for collaborative computing.
[0058] The second terminal 160 has an application program supporting a virtual world installed and running. The application program may be any one of a battle royale shooting game, a virtual reality (VR) application program, an augmented reality (AR) program, a three-dimensional map program, a virtual reality game, an augmented reality game, a first-person shooting game (FPS), a third-person shooting game (TPS), a multiplayer online tactical competitive game (MOBA), and a simulation game (SLG).
[0059] The second terminal 160 is a terminal used by the second user. The second user uses the second terminal 160 to control the second virtual character in the virtual world, and the control includes but is not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and building virtual buildings. The second user can use the second terminal 160 to interact with the NPC in the virtual world, and can also use the second terminal 160 to control the movement of the mobile platform in the virtual world.
[0060] The virtual characters controlled by the first user through the first terminal 120 and the second user through the second terminal 160 are located at different positions in the same virtual world, that is, the first user and the second user are in the same battle.
[0061] Optionally, the applications installed on the first terminal 120 and the second terminal 160 are the same, or the applications installed on the two terminals are the same type of applications on different control system platforms. The embodiment of the present application does not limit the form of the applications installed on the first terminal 120 and the second terminal 160, including but not limited to App (Application, application), applet, etc. installed in the first terminal 120 and the second terminal 160, and can also be in the form of a web page. The first terminal 120 can refer to one of multiple terminals, and the second terminal 160 can refer to one of multiple terminals. This embodiment only uses the first terminal 120 and the second terminal 160 as an example. The device type of the first terminal 120 and the second terminal 160 is the same or different, and the device type includes: at least one of a smart phone, a tablet computer, a wearable device, a PC (Personal Computer, personal computer), an e-book reader, a digital player, a laptop portable computer and a desktop computer. The following embodiment is illustrated by taking the terminal including a smart phone as an example.
[0062] Those skilled in the art will appreciate that the number of terminals may be more or less. For example, there may be only one terminal (i.e., a user plays against an artificial intelligence), or there may be eight terminals (1v1v1v1v1v1v1v1, with eight users playing against each other in a cycle and eliminating each other, ultimately determining the winner), or more. The embodiments of the present application do not limit the number of terminals and device types.
[0063] The embodiment of the present application provides an interactive method based on a virtual world, which is executed by a computer device. Optionally, the computer device may be Figure 1 The first terminal 120 or the second terminal 160 shown. The first terminal 120 and the second terminal 160 are respectively installed and run with an application supporting a virtual world.
[0064] Figure 2 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment of the present application is shown. Taking the computer device as the first terminal 120 as an example, the steps are briefly described as follows:
[0065] 1. A computer device displays at least two terrain platforms in a virtual world, wherein the at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one of the at least two terrain platforms is a mobile platform.
[0066] like Figure 2As shown in the schematic diagram (1) and the top view (a) in the figure, nine terrain platforms are arranged within the boundary line 204 of the virtual world, namely, terrain platform 11, terrain platform 12, terrain platform 13, terrain platform 14, terrain platform 15, terrain platform 16, terrain platform 17, terrain platform 18 and terrain platform 19. Among them, terrain platform 11, terrain platform 13, terrain platform 17 and terrain platform 19 are mobile platforms, distributed at four corners; terrain platform 12, terrain platform 14, terrain platform 15, terrain platform 16 and terrain platform 18 are fixed platforms, distributed in a cross shape. In other embodiments, the above nine terrain platforms can all be mobile platforms. The first virtual character 10 is a virtual character controlled by the first user through the first terminal 120, and the first virtual character 10 is located on the fixed platform 18. In this embodiment, the mobile platform can be arranged to move in at least two directions of east, west, south, north, up and down.
[0067] 2. In response to the permission acquisition operation, the computer device controls the first virtual character to acquire control authority of the mobile platform.
[0068] The control authority is the authority for controlling the movement of the mobile platform, and specifically, the authority for controlling the movement of the mobile platform in a certain direction. When the first virtual character 10 obtains the control authority of the mobile platform, the first user can control the movement of the mobile platform through the first virtual character 10.
[0069] 3. The computer device controls the mobile platform to move in the virtual world in response to the movement control operation on the mobile platform to change the terrain formed by at least two terrain platforms.
[0070] For example, the control permission is used to control the mobile platform to move westward, and the movement control operation is to move the mobile platform one cell westward. Figure 2 As shown in the schematic diagram (2) and the top view (a), the first terminal 120 controls the terrain platform 11, the terrain platform 13, the terrain platform 17 and the terrain platform 19 to move one cell westward respectively, wherein the terrain platform 11 moves to become the terrain platform 111, and the terrain platform 17 moves to become the terrain platform 171. Since the terrain platforms 17 and 19 are blocked, they remain unchanged.
[0071] 4. The computer device controls the first virtual character to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms in response to the character control operation on the first virtual character.
[0072] The first terminal 120 also controls the first virtual character 10 to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms in response to the character control operation on the first virtual character 10. The interaction includes at least one of shooting, attacking, throwing, talking, and fighting.
[0073] In summary, the embodiment of the present application designs a copy gameplay of the game, which gives the player the control of the movement of the mobile platform in the virtual world, allowing the player to give full play to his or her autonomy and initiative. Through cooperation between multiple players and by utilizing the terrain changes caused by the movement of the mobile platform in the virtual world, the player can respond to the combat mechanism in the online game and explore the fun of copy combat in a space with a high degree of freedom. It is a copy gameplay that combines decryption and combat, thereby enriching the gameplay.
[0074] Figure 3 A flowchart of an interactive method based on a virtual world provided by an exemplary embodiment of the present application is shown. The method is applied to a computer device, which may be Figure 1 The first terminal 120 or the second terminal 160 shown, the method includes steps 220, 240, 260 and 280:
[0075] Step 220 , displaying at least two terrain platforms in the virtual world, wherein the at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one of the at least two terrain platforms is a mobile platform.
[0076] The virtual world is a three-dimensional virtual activity space provided by an application installed and running on a computer device during its operation, in which virtual characters can perform various activities.
[0077] A terrain platform refers to a platform used to carry virtual characters in a virtual world.
[0078] Optionally, the virtual world includes at least two terrain platforms, that is, at least two terrain platforms are used to form the terrain of the virtual world. The shape of the at least two terrain platforms can be at least one of a rectangle, a square, a circle, and an irregular shape. The shapes and volumes of different terrain platforms can be the same or different, which is not limited in this embodiment. In the initial state, the at least two terrain platforms in the virtual world are located on the same horizontal plane.
[0079] A mobile platform is a movable terrain platform.
[0080] Optionally, at least one of the at least two terrain platforms is a mobile platform. In an initial state, the mobile platform in the virtual world is located at a preset initial position. For example, the at least two terrain platforms in the virtual world include five fixed platforms and four mobile platforms. In an initial state, the five fixed platforms are distributed in a cross shape, and the four mobile platforms are distributed at the four corners of the fixed platforms.
[0081] Exemplarily, the computer device displays a virtual world entrance, and in response to a trigger operation on the virtual world entrance, the computer device displays at least two terrain platforms located in the virtual world. The trigger operation includes at least one of a click operation, a double-click operation, a long press operation, and a touch operation.
[0082] Step 240: In response to the permission acquisition operation, control the first virtual character to acquire the control permission of the mobile platform.
[0083] The permission acquisition operation refers to an operation of acquiring the control permission of the mobile platform. The control permission is the permission for controlling the movement of the mobile platform, and specifically, it can be the permission for controlling the movement of the mobile platform in a certain direction.
[0084] Exemplarily, in response to the permission acquisition operation, the computer device controls the first virtual character to acquire the control permission of the mobile platform.
[0085] Optionally, the computer device displays a permission acquisition button, and the permission acquisition operation includes a trigger operation on the permission acquisition button. The trigger operation includes at least one of a click operation, a double-click operation, a long press operation, and a touch operation. Then, in response to the trigger operation on the permission acquisition button, the computer device controls the first virtual character to obtain the control permission of the mobile platform.
[0086] Optionally, the virtual world includes non-player characters, which are game characters that are not controlled by players. The non-player characters are used to indicate the control authority over the mobile platform, and the authority acquisition operation includes an interactive operation between the first virtual character and the non-player character. Then, the computer device controls the first virtual character to obtain the control authority over the mobile platform in response to the interactive operation between the first virtual character and the non-player character. The interactive operation includes at least one of having a conversation with the player character, exchanging props with the non-player character, and approaching the non-player character.
[0087] Optionally, the virtual character is pre-set to be able to control the mobile platform on which it is currently located. The permission acquisition operation includes a displacement operation of the first virtual character to the mobile platform. The computer device controls the first virtual character to obtain the control permission of the mobile platform in response to the displacement operation of the first virtual character to the mobile platform.
[0088] In some embodiments, after controlling the first virtual character to obtain control authority of the mobile platform, the computer device displays a quick response event button (QTE button) in the skill area to indicate the control authority obtained by the first virtual character.
[0089] Step 260 , in response to the movement control operation on the mobile platform, control the mobile platform to move in the virtual world to change the terrain formed by at least two terrain platforms.
[0090] The movement control operation refers to an operation of controlling the movement of the mobile platform, and specifically may be an operation of controlling the movement of the mobile platform in a certain direction.
[0091] Exemplarily, the computer device controls the mobile platform to move in the virtual world in response to a movement control operation on the mobile platform, so as to change the terrain formed by at least two terrain platforms.
[0092] Step 280 , in response to the character control operation on the first virtual character, controlling the first virtual character to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms.
[0093] The character control operation refers to the control operation on the first virtual character.
[0094] Optionally, the character control operation includes at least one of moving, releasing skills, adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, throwing, and fighting.
[0095] The other virtual characters refer to virtual characters other than the first virtual character among the at least two virtual characters.
[0096] Optionally, the other virtual characters include at least one of a teammate virtual character, an enemy virtual character, and a non-player character. The interaction with the other virtual characters of the at least two virtual characters includes at least one of shooting, attacking, throwing, talking, and fighting.
[0097] In summary, the method provided by the embodiment of the present application is that the computer device displays at least two terrain platforms located in the virtual world, at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one terrain platform of the at least two terrain platforms is a mobile platform; in response to the permission acquisition operation, the first virtual character is controlled to obtain the control authority of the mobile platform; in response to the mobile control operation of the mobile platform, the mobile platform is controlled to move in the virtual world to change the terrain formed by the at least two terrain platforms; in response to the role control operation of the first virtual character, the first virtual character is controlled to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms. The above scheme can enable the player to autonomously change the position of the terrain platform in the virtual world, thereby realizing the terrain transformation of the virtual world, and can give the mobile control right of the mobile platform in the virtual world to the player, so that the player can give full play to his or her autonomous initiative, and can respond to the combat mechanism in the online game through the cooperation between multiple players and the terrain transformation generated by the movement of the mobile platform in the virtual world, and explore the fun of dungeon combat in a higher degree of freedom space, which is a dungeon gameplay combining decryption and combat, thereby enriching the gameplay.
[0098] Mobile control for mobile platforms
[0099] Figure 4 A flowchart of an interactive method based on a virtual world provided by an exemplary embodiment of the present application is shown. Step 260 performed by the computer device may be optionally implemented as step 262:
[0100] Step 262, in response to a movement control operation for controlling the mobile platform to move in a first direction, controls the mobile platform to move one cell in the virtual world, where a cell is a step unit of the mobile platform when moving; wherein the first direction is one of at least two directions, and the at least two directions include at least two of east, west, south, north, up, and down.
[0101] Optionally, the moving direction of the mobile platform is set to include at least two directions, and the at least two directions include at least two of east, west, south, north, up (also called floating or floating up), and down (also called sinking or sinking).
[0102] The first direction is one of the at least two directions.
[0103] Optionally, the first direction is indicated by the control authority obtained by the first virtual character. For example, if the control authority is the authority to control the mobile platform to move westward, the first direction refers to west.
[0104] The movement control operation refers to an operation of controlling the mobile platform to move one cell in a first direction.
[0105] Optionally, in this embodiment, the mobile platform is set to move one cell at a time. A cell is a step unit of the mobile platform when it moves. The size of the cell can be determined according to the size of the three-dimensional space of the virtual world. For example: Please refer to Figure 2 The top view (a) of the mobile platform. Each square in the top view (a) represents a cell, and the mobile platform moves one cell at a time.
[0106] Exemplarily, in response to a movement control operation of controlling the mobile platform to move in a first direction, the computer device controls the mobile platform to move one cell in the virtual world.
[0107] In this embodiment, the movement control operation is used to move the mobile platform in a first direction, and the computer device controls the mobile platform to move one cell in the virtual world in response to the movement control operation of controlling the mobile platform to move in the first direction. Through this movement control operation of moving one cell in a certain direction, not only can the player control the movement of the mobile platform and realize the terrain transformation in the virtual world, but also the difficulty of movement control can be simplified and the calculation amount of the computer device can be reduced.
[0108] In some embodiments, the mobile platform includes at least two. Figure 4 , step 262 can be further implemented as step 264:
[0109] Step 264, in response to the movement control operation of controlling the mobile platform to move in the first direction, control the mobile platform that meets the movement condition among at least two mobile platforms to move one cell in the virtual world; wherein, the mobile platform that does not meet the movement condition among at least two mobile platforms remains unchanged in the virtual world.
[0110] The moving condition refers to the condition that the moving platform needs to meet in order to successfully move in the first direction this time.
[0111] Optionally, the movement condition is determined based on the expected movement position of the mobile platform. The expected movement position includes at least one of a movement end position and a movement intermediate position. The movement intermediate position is a position on the movement path during the movement of the mobile platform. When the expected movement position is the movement end position, when the mobile platform is successfully moved to the expected movement position, the expected movement position may also be referred to as a post-movement position.
[0112] For example: Assuming that the mobile platform 1 is moved from the starting position A to the end position B, the expected moving position includes the end position B. When the mobile platform 1 is successfully moved to the end position B, the end position B is also called the position after the move, and the starting position A is also called the position before the move. Assuming that the mobile platform 2 is moved from the starting position A to the end position B, the positions on the moving path are: starting position A, middle position D, middle position E, and end position B. The expected moving position includes the middle position D, middle position E, and end position B. When the mobile platform 2 is successfully moved to the middle position D and the middle position E in sequence, it can finally move successfully to the end position B.
[0113] In some embodiments, the mobile platform that meets the mobile condition includes at least one of the following:
[0114] at least one mobile platform whose desired moving position is not blocked by a virtual obstacle;
[0115] at least one mobile platform whose desired mobile position is not blocked by other terrain platforms;
[0116] At least one mobile platform whose expected moving position does not exceed the boundary line;
[0117] At least one mobile platform that is not currently moving.
[0118] In some embodiments, the virtual obstacle includes at least one of a fixed platform, a virtual building, and a virtual wall. Taking the virtual obstacle as an example, since the position of the fixed platform in the virtual world is unchanged, when there is a fixed platform at the desired moving position, the mobile platform cannot move to the desired moving position. Exemplarily, in response to a movement control operation of controlling the mobile platform to move in a first direction, the computer device controls the mobile platform of at least two mobile platforms whose expected moving position is not blocked by the virtual obstacle to move one cell in the virtual world, and the mobile platform whose expected moving position is blocked by the virtual obstacle remains unchanged in the virtual world.
[0119] In some embodiments, other terrain platforms refer to mobile platforms that cannot continue to move during this movement, or refer to fixed platforms that cannot move themselves. For example: the west side of mobile platform 1 is tangent to the boundary line, and the east side is adjacent to mobile platform 2. In the case that this movement is to move one cell to the west, mobile platform 1 cannot move westward. At this time, there is already a mobile platform 1 at the expected moving position of mobile platform 2, and mobile platform 2 cannot move westward due to the obstruction of mobile platform 1. Exemplarily, in response to a movement control operation to control the mobile platform to move in a first direction, the computer device controls at least two mobile platforms, and the mobile platform whose expected moving position is not blocked by other terrain platforms moves one cell in the virtual world, and the mobile platform whose expected moving position is blocked by other terrain platforms remains unchanged in the virtual world.
[0120] In some embodiments, the boundary line refers to a pre-set boundary. That is, the mobile platform can only move within the range of the boundary line and cannot exceed the boundary line. When the expected moving position of the mobile platform exceeds the boundary line, the mobile platform cannot move to the expected moving position. Exemplarily, in response to the movement control operation of controlling the mobile platform to move in a first direction, the computer device controls the mobile platform of at least two mobile platforms whose expected moving position does not exceed the boundary line to move one cell in the virtual world, and the mobile platform whose expected moving position exceeds the boundary line remains unchanged in the virtual world.
[0121] In some embodiments, it is set that when the mobile platform is in a moving state, the mobile platform cannot be controlled by a movement control operation. Exemplarily, in response to a movement control operation to control the mobile platform to move in a first direction, the computer device controls the mobile platform that is not in a moving state to move one cell in the virtual world, and the mobile platform in a moving state to keep the moving state unchanged in the virtual world.
[0122] In this embodiment, the computer device only moves the mobile platforms that meet the movement conditions, and the mobile platforms that do not meet the movement conditions remain unchanged, which can effectively avoid the occurrence of mold penetration and improve the accuracy of movement control of the mobile platforms.
[0123] In some embodiments, the movement control operation refers to an operation of controlling the mobile platform to move one cell in a first direction, and the control authority acquired by the first virtual character is a first control authority, which is an authority for controlling the mobile platform to move in the first direction.
[0124] Exemplarily, the above step 240 may be implemented as follows: in response to the first virtual character approaching the first non-player character, the computer device controls the first virtual character to obtain a first control authority indicated by the first non-player character, where the first control authority is an authority for controlling the mobile platform to move in a first direction.
[0125] Optionally, the first non-player character is one of at least two non-player characters in the virtual world, and the at least two non-player characters correspond one-to-one to the at least two directions.
[0126] Exemplarily, the computer device displays at least two non-player characters in the virtual world. The first non-player character is one of the at least two non-player characters in the virtual world, and the at least two non-player characters correspond to at least two directions. The first non-player character can be approached by the player according to the desired moving direction, and approaching means that the distance between the first virtual character and the non-player character is less than or equal to a distance threshold.
[0127] In this embodiment, by setting up multiple non-player characters in the virtual world, the player can obtain the corresponding control authority after interacting with a non-player character. This can not only improve the player's sense of game participation, but also give the player the right to choose the control authority, so that the player can independently choose to obtain the authority to control the mobile platform to move in a certain direction, making the game more playable and enriching the gameplay.
[0128] For ease of understanding, the above embodiments are described below with reference to schematic diagrams:
[0129] Figure 5 , Figure 6 and Figure 7 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment of the present application is shown.
[0130] For example, the first virtual character obtains control of the mobile platform by approaching the non-player character. Figure 5 As shown in the schematic diagram (1) in FIG. 1 , the computer device displays a first virtual character 201 currently logged in, and a non-player character 202 in the virtual world, wherein the first virtual character 201 is displayed in a physical state, and the non-player character 202 is displayed in a phantom state. A prompt message may be displayed above the non-player character 202, and the prompt message is used to instruct the first virtual character 201 to interact with the non-player character 202 to obtain control authority of the mobile platform. In response to the first virtual character 201 approaching the non-player character 202, the computer device controls the first virtual character 201 to obtain control authority of the mobile platform. Figure 5 As shown in the schematic diagram (2) in the figure, the computer device can also optionally prompt the first virtual character 201 to obtain the control authority of the mobile platform in the form of a QTE button 203 in the player skill panel.
[0131] like Figure 6As shown in the schematic diagram (1) in , the computer device displays at least two terrain platforms located in the virtual world, wherein the at least two terrain platforms include a fixed platform and a mobile platform; wherein the fixed platform is in a physical state, including: terrain platform 12, terrain platform 14, terrain platform 15, terrain platform 16, terrain platform 18, and the fixed platforms are arranged in a cross shape. The fixed platforms can be used as the main combat platform during combat and as virtual obstacles when the mobile platforms move; the mobile platforms are displayed in a phantom state, including: terrain platform 11, terrain platform 13, terrain platform 17, terrain platform 19, and the mobile platforms are distributed at the four corners of the fixed platforms. Optionally, the computer device can first display at least two terrain platforms located in the virtual world, and then control the first virtual character 201 to obtain the control authority of the mobile platform. Or, the computer device can also first control the first virtual character 201 to obtain the control authority of the mobile platform, and then display at least two terrain platforms slowly rising in the virtual world.
[0132] In some embodiments, the movement of the mobile platform complies with the following points: the movement control operation is used to control the mobile platform to move one unit grid in the first direction indicated by the movement control operation; the movement control operation only controls the movement of the mobile platform that meets the movement conditions. When the mobile platform is blocked by a virtual obstacle or other immovable terrain platform or reaches the boundary line, the movement condition is not met and the mobile platform cannot move; when a mobile platform is in a moving state, the movement condition is not met and the movement control operation cannot be performed on it.
[0133] like Figure 6 The schematic diagram (1) in FIG. 1 shows the initial positions of the fixed platform and the mobile platform in the virtual world displayed by the computer device. Figure 6 As shown in the schematic diagram (2) in FIG, in response to the movement control operation of moving the mobile platform westward, the computer device attempts to move all the mobile platforms one cell westward, then the mobile platform 11 moves one cell westward to become the mobile platform 111, and the mobile platform 17 moves one cell westward to become the mobile platform 171. Since the mobile platforms 13 and 19 are blocked by the fixed platform, they do not move this time and their positions remain unchanged. Figure 6 As shown in the schematic diagram (3) in FIG. 1 , in response to the movement control operation of moving the mobile platform upward, the computer device attempts to move all the mobile platforms upward by one cell, so that the mobile platform 111 moves upward by one cell to become the mobile platform 112, the mobile platform 171 moves upward by one cell to become the mobile platform 172, the mobile platform 13 moves upward by one cell to become the mobile platform 131, and the mobile platform 19 moves upward by one cell to become the mobile platform 191. Figure 7As shown in the schematic diagram (4) in FIG. 1 , in response to the movement control operation of moving the mobile platform westward, the computer device attempts to move all the mobile platforms one cell westward, then the mobile platform 131 moves one cell westward to become the mobile platform 132, and the mobile platform 191 moves one cell westward to become the mobile platform 192. Since the mobile platforms 112 and 172 have reached the boundary line 204 in the last movement, they do not move this time and their positions remain unchanged. Figure 7 As shown in the schematic diagram (5) in FIG. 1 , the computer device responds to the movement control operation of moving the mobile platform downward and attempts to move all the mobile platforms downward by one cell. Then, the mobile platform 112 moves downward by one cell to become the mobile platform 113, and the mobile platform 172 moves downward by one cell to become the mobile platform 173. Since the mobile platforms 132 and 192 are blocked by the fixed platform, they do not move this time and their positions remain unchanged. At this point, the movement of the mobile platforms ends. Optionally, the computer device responds to the character control operation of the first virtual character 201 and controls the first virtual character 201 to interact with other virtual characters on the terrain formed by at least two terrain platforms.
[0134] Mobile settings for mobile platforms
[0135] In some embodiments, when the mobile platform is set to move, all virtual characters, non-player characters, and virtual items on the mobile platform may be moved together.
[0136] Exemplarily, in response to the first virtual character being located on the mobile platform, the computer device displays the first virtual character moving along with the mobile platform.
[0137] In this embodiment, when the first virtual character is located on the mobile platform, the first virtual character can move along with the mobile platform, thereby enriching the gameplay of the player's movement.
[0138] In some embodiments, when the virtual character is on the mobile platform, the movement of the virtual character is regarded as following the movement of the mobile platform, rather than being regarded as the autonomous movement of the virtual character. For example, the virtual character is in a fixed state, which means that it cannot use any movement skills, but the virtual character can still follow the movement of the mobile platform.
[0139] Exemplarily, the first virtual character is in a fixed state, which means that no skills can be used. In response to the first virtual character being located on the mobile platform, the computer device displays the first virtual character in the fixed state moving with the mobile platform.
[0140] In this embodiment, when the first virtual character is located on the mobile platform, even if the first virtual character is in a fixed state, it can move along with the mobile platform, thus enriching the gameplay of the player's movement.
[0141] In some embodiments, the first virtual character includes gain skills; the gain skills include at least one of charging skills, increasing health skills, and purchasing virtual props. When the virtual character releases a gain skill, the skill release will be interrupted if the virtual character moves. When the virtual character is on a mobile platform, when the gain skill is released on the mobile platform, the virtual character can move with the mobile platform, and the skill release will not be interrupted. The above-mentioned gain skills can also be optionally replaced with at least one of attack skills, shooting skills, and combat skills for attacking enemy virtual characters.
[0142] Exemplarily, in response to the first virtual character being on the mobile platform and the first virtual character releasing a gain skill, the computer device displays a release animation of the gain skill that moves with the mobile platform, wherein if the release animation does not stop, it means that the skill release is not interrupted.
[0143] In this embodiment, when the first virtual character is on the mobile platform and releases a skill, the first virtual character can move with the mobile platform and the skill will not be interrupted, which enriches the gameplay of player movement and player skill release.
[0144] In some embodiments, when a virtual character releases a skill on a mobile platform, the range of the skill effect corresponding to the skill also moves with the mobile platform, and the skill release will not be interrupted. This embodiment is also applicable to the case where an enemy virtual character releases an enemy skill on a mobile platform to attack the virtual character. The virtual character can control the position of the mobile platform through mobile control operations so that the virtual character is outside the attack range of the enemy skill released by the enemy virtual character.
[0145] Exemplarily, the other virtual characters may include an enemy virtual character, the enemy virtual character includes enemy skills, and the enemy virtual character is located on the mobile platform. In response to the enemy virtual character being located on the mobile platform and the enemy virtual character releasing the enemy skill, the computer device displays the release animation and attack range of the enemy skill that moves with the mobile platform.
[0146] In this embodiment, when the enemy virtual character is on a mobile platform and releases an enemy skill, the enemy virtual character can also move with the mobile platform and the skill will not be interrupted, which is beneficial for the player to use this method to defeat the enemy virtual character when fighting with the enemy virtual character, thereby enriching the gameplay.
[0147] In some embodiments, since the virtual character itself can be displaced (moved) by a short-distance instantaneous displacement operation (or a long-distance instantaneous transmission operation), and the virtual character can also move with the mobile platform, in order to reduce the possibility of position errors of the computer device, when the virtual character is on the mobile platform, it can also be set to prohibit the virtual character from performing short-distance instantaneous displacement operations (or long-distance instantaneous transmission operations) on the mobile platform, while operations such as crawling, walking, running, riding, and jumping are not affected. Through the above embodiments, the possibility of position errors of the computer device can be reduced.
[0148] In some embodiments, the mobile platform can also move autonomously along a specified path, for example, the battle scene where the first virtual character is located is moving. Alternatively, the mobile platform can also move according to certain rules and is not controlled by the first virtual character, for example, the first virtual character breaks the ground to cause the mobile platform to collapse, thereby causing the terrain to change to counter the battle mechanism.
[0149] As an example, Figure 8 , Fig. 9 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment of the present application is shown.
[0150] like Figure 8 As shown in the schematic diagram (1), the first virtual character 205 is located on the mobile platform 17, and the first virtual character 205 can be moved together when the mobile platform 17 moves. Figure 8 As shown in the schematic diagram (2), the mobile platform 17 moves one cell westward to become the mobile platform 174. The computer device will respond to the first virtual character 205 being located on the mobile platform 17 and display the first virtual character 205 moving along with the mobile platform 17.
[0151] like Fig. 9 As shown in the schematic diagram (1), the enemy virtual character 206 is located on the mobile platform 13, and the enemy virtual character 206 releases an enemy skill. At this time, the attack range of the enemy skill is range 207. Then, when the mobile platform 13 moves, the enemy virtual character 206 can be moved together, and the attack range also moves with the mobile platform, and the skill release will not be interrupted. Fig. 9 As shown in the schematic diagram (2), the mobile platform 13 moves one cell to the east to become the mobile platform 133. In response to the enemy virtual character 206 being located on the mobile platform 13 and the enemy virtual character 206 releasing the enemy skill, the computer device displays the release animation and attack range of the enemy skill that follows the movement of the mobile platform 13. When the mobile platform 13 moves one cell to the east to become the mobile platform 133, the attack range of the enemy skill is range 208.
[0152] · Combat mechanism based on mobile settings for mobile platforms
[0153] In some embodiments, the other virtual characters include enemy virtual characters, the enemy virtual characters include enemy skills, and the enemy virtual characters are located on a mobile platform. Since the mobile platform has a moving direction, the player can control the virtual character to move in the opposite direction of the moving direction to avoid being attacked by the enemy virtual character. Step 280 can be optionally replaced by the following step 281:
[0154] Step 281, in response to the character control operation on the first virtual character, control the first virtual character to move in the opposite direction of the moving direction corresponding to the moving platform, so as to keep the first virtual character away from the attack range of the enemy's skills.
[0155] Exemplarily, in response to the character control operation on the first virtual character, the computer device controls the first virtual character to move in a direction opposite to the movement direction corresponding to the mobile platform, so as to keep the first virtual character away from the attack range of the enemy's skills.
[0156] Fig.10 FIG. 1 is a schematic diagram showing an interactive method based on a virtual world provided by an exemplary embodiment of the present application. Fig.10 As shown in the schematic diagram (a), the fixed platform includes terrain platform 12, terrain platform 14, terrain platform 15, terrain platform 16, and terrain platform 18, and the mobile platform includes terrain platform 11, terrain platform 13, terrain platform 17, and terrain platform 19. The enemy virtual character 50 is located on the mobile platform 13, and the attack range of the enemy skill released by the enemy virtual character 50 is range 51. Fig.10 As shown in the schematic diagram (b), the mobile platform 13 moves and becomes the mobile platform 13A. The attack range of the enemy virtual character 50 and the enemy skills released by it moves with the movement of the mobile platform 13. At this time, the attack range of the enemy skills released by the enemy virtual character 50 is range 52.
[0157] The combat mechanism at this time is: all virtual characters move in the opposite direction of the moving direction of the mobile platform to leave the attack range. Then the computer device responds to the character control operation of the first virtual character and controls the first virtual character to move in the opposite direction of the moving direction corresponding to the mobile platform, so that the first virtual character is away from the attack range of the enemy's skills.
[0158] In some embodiments, it is assumed that the first virtual character is currently located on a fixed platform. The other virtual characters include teammate virtual characters, and the first virtual character is hit by an enemy skill, and the enemy skill is used to put the fixed platform where the first virtual character is currently located in a negative skill state, and the negative skill state spreads to the adjacent terrain platform. Then, if the negative skill state has not completely spread to the adjacent terrain platform, the player can control the first virtual character to move away from the combat area where the teammate virtual character is located to avoid the teammate virtual character being affected by the negative skill state. Step 280 can be optionally replaced by the following step 282:
[0159] Step 282, in response to the character control operation on the first virtual character, control the first virtual character to move to the mobile platform, so that the first virtual character moves with the mobile platform and moves away from the battle area where the teammate virtual character is located.
[0160] Exemplarily, in response to the character control operation on the first virtual character, the computer device controls the first virtual character to move to the mobile platform, so that the first virtual character moves with the mobile platform and moves away from the battle area where the teammate virtual character is located.
[0161] In some embodiments, it is assumed that the first virtual character is currently located on a mobile platform. The other virtual characters include teammate virtual characters, and the first virtual character is hit by an enemy skill, and the enemy skill is used to put the mobile platform where the first virtual character is currently located in a negative skill state, and the negative skill state spreads to an adjacent terrain platform. If the negative skill state has not completely spread to the adjacent terrain platform, the player can control the mobile platform to move away from the combat area where the teammate virtual character is located through mobile control operations to avoid the teammate virtual character being affected by the negative skill state.
[0162] Exemplarily, in response to the first virtual character being located on the mobile platform and being hit by an enemy skill, the computer device displays the first virtual character moving with the mobile platform to move the first virtual character away from the combat area where the teammate virtual character is located.
[0163] Fig.11 FIG. 1 is a schematic diagram showing an interactive method based on a virtual world provided by an exemplary embodiment of the present application. Fig.11 As shown in the schematic diagram (a), the enemy virtual character designates virtual character 61 and virtual character 62 to put down the ice sword, which will turn the mobile platform 17 where virtual character 61 is located and the mobile platform 19 where virtual character 62 is located into a frost state, and the frost state will spread to the adjacent terrain platforms.
[0164] The battle mechanism at this time is: the mobile platform where the virtual character hit by the enemy skill is located is far away from the battle area where the teammate's virtual character is located. Fig.11As shown in the schematic diagram (b), the computer device responds to the mobile control operation, controls the mobile platform 17 to move and become the mobile platform 17D, and controls the mobile platform 19 to move and become the mobile platform 19A, so that the mobile platforms 17 and 19 are away from the main battlefield.
[0165] In some embodiments, the other virtual characters include enemy virtual characters, the enemy virtual characters include enemy skills, and the enemy skills have skill flaw positions. Optionally, the skill flaw position is also called a safe position. The skill flaw position can be determined by the player, or the computer device can also display prompt information for the skill flaw position. The player can control the first virtual character to move to the skill flaw position to avoid being attacked. Step 280 can be optionally replaced by the following step 283:
[0166] Step 283, in response to the character control operation on the first virtual character, control the first virtual character to move to the mobile platform, so that the first virtual character follows the mobile platform to move to the skill flaw position.
[0167] Exemplarily, in response to a character control operation on the first virtual character, the computer device controls the first virtual character to move onto the mobile platform, so that the first virtual character follows the mobile platform to move to a skill flaw position.
[0168] Fig.12 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment of the present application is shown. The enemy virtual character gradually slows down all virtual characters to a fixed position, and then a skill flaw position (safe zone position) appears. After a period of time, the enemy virtual character releases the enemy skill, which can seriously injure the player who is not at the skill flaw position. The combat mechanism at this time is: before the virtual character is completely fixed, the virtual character is moved to a mobile platform, and the mobile platform is used to send the virtual character to the skill flaw position.
[0169] like Fig.12 As shown in the schematic diagram (a), position 64 is the skill flaw position of the enemy skill of the enemy virtual character, then the computer device responds to the character control operation of the first virtual character 63, controls the first virtual character 63 to move to the mobile platform 17, as shown in FIG. Fig.12 As shown in the schematic diagram (b), the first virtual character 63 follows the mobile platform 17 to move to the skill flaw position 64, that is, the mobile platform 17 moves and becomes the mobile platform 17E.
[0170] In some embodiments, the other virtual characters include at least two avatar characters corresponding to the enemy virtual character, and at least two avatar characters include a knockback skill. When the knockback skill is released, the first virtual character will retreat one cell when hit. In this embodiment, it is set that the first virtual character is located exactly at the center of the combat area after being knocked back. Therefore, the first virtual character can be moved to a suitable position according to the position of the avatar character, so that the first virtual character is located exactly at the center of the combat area after being knocked back. Step 280 can be optionally replaced by the following step 284:
[0171] Step 284, in response to the character control operation on the first virtual character, control the first virtual character to move to a first position, where the first position refers to a position where the first virtual character is repelled from the first position to the center of the combat area after at least two avatar characters release repulse skills respectively.
[0172] Exemplarily, the computer device controls the first virtual character to move to a first position in response to a character control operation on the first virtual character, where the first position refers to a position where the first virtual character is repelled from the first position to the center of the combat area after at least two avatar characters release knockback skills respectively.
[0173] Optionally, in a case where at least two avatar characters are respectively located on at least two mobile platforms, the computer device also displays at least two avatar characters moving with the at least two mobile platforms in response to the at least two avatar characters being respectively located on the at least two mobile platforms, so that after the at least two avatar characters release repulse skills at their respective moved positions, the first virtual character is repelled from the current position to the regional center of the combat area.
[0174] Fig.13 FIG. 1 is a schematic diagram showing an interactive method based on a virtual world provided by an exemplary embodiment of the present application. Fig.13 As shown in the schematic diagram (a) in FIG. 1 , the enemy virtual character includes two avatar positions, namely the first avatar character 66 and the second avatar character 67. The first avatar character 66 and the second avatar character 67 can release knockback skills respectively. In this embodiment, it is set that the first virtual character 65 is located at the center of the combat area 15 after being knocked back by the first avatar character 66 and the second avatar character 67 in sequence. Fig.13As shown in the schematic diagram (b) in FIG. 1 , in response to the first clone character 66 being located on the mobile platform 19 and the second clone character 67 being located on the mobile platform 13, the computer device displays the first clone character 66 following the mobile platform 19 and the second clone character 67 following the mobile platform 13, so that the first clone character 66 moves to the position of the mobile platform 19B and the second clone character 67 moves to the position of the mobile platform 13B. The computer device also controls the first virtual character 65 to move to the position of the fixed platform 18 in response to the character control operation on the first virtual character 65, and after the first clone character 66 releases the knockback skill, the first virtual character 65 is repelled from the position of the fixed platform 18 to the position of the fixed platform 16, and after the second clone character 67 releases the knockback skill, the first virtual character 65 is repelled from the position of the fixed platform 16 to the position of the fixed platform 15, that is, the regional center of the combat area.
[0175] In some embodiments, the other virtual characters include enemy virtual characters; the enemy virtual characters may include multiple, or one enemy virtual character may include multiple avatar characters. The player may control each virtual character to move to the position of an enemy virtual character or an avatar character to attack the enemy virtual character. Step 280 may be optionally replaced by the following step 285:
[0176] Step 285, in response to the character control operation on the first virtual character, control the first virtual character to move to the mobile platform, so that the first virtual character follows the mobile platform to move to the location of the enemy virtual character and interact with the enemy virtual character.
[0177] Exemplarily, in response to a character control operation on the first virtual character, the computer device controls the first virtual character to move to the mobile platform, so that the first virtual character follows the mobile platform to move to the location of the enemy virtual character and interacts with the enemy virtual character.
[0178] Fig.14 A schematic diagram of an interactive method based on a virtual world provided by an exemplary embodiment of the present application is shown. The enemy virtual character summons the avatar character in the entire battle space and accumulates power. After a period of time, if there are still avatar characters remaining, all virtual characters will be killed directly. The combat mechanism at this time is: the virtual characters are scattered on various mobile platforms, moved to the location of the avatar character and killed. In order to ensure the killing efficiency, it is necessary to keep as many mobile platforms as possible to reach the location of the avatar character at the same time.
[0179] like Fig.14As shown in the schematic diagram (a) in FIG. 1 , the enemy virtual characters include avatar characters 81, avatar characters 82, avatar characters 83, and avatar characters 84. Our virtual characters include virtual characters 71, virtual characters 72, virtual characters 73, and virtual characters 74. Fig.14 As shown in the schematic diagram (b) in FIG. 1 , the computer device responds to the character control operation, so that the virtual character 71 moves to the mobile platform 11, the virtual character 72 moves to the mobile platform 13, the virtual character 73 moves to the mobile platform 17, and the virtual character 74 moves to the mobile platform 19. Then the virtual character 71 follows the mobile platform 11 to move to the position of the avatar character 81 and kills it, the virtual character 72 follows the mobile platform 13 to move to the position of the avatar character 82 and kills it, the virtual character 73 follows the mobile platform 17 to move to the position of the avatar character 83 and kills it, and the virtual character 74 follows the mobile platform 19 to move to the position of the avatar character 84 and kills it.
[0180] In some embodiments, the above-mentioned enemy virtual character may be a "boss" (BOSS) character in the virtual world, or an enemy virtual character in a different team from the first virtual character. When multiple virtual characters fight by driving virtual items with a mobile function, the virtual items with a mobile function may also be regarded as a mobile platform. For example, a player drives a virtual spaceship to engage in air combat, or moves to a desired location by a hot air balloon, pumice, etc.
[0181] In the above embodiments, a variety of combat mechanisms based on the mobile settings of the mobile platform are provided, which allow players to give full play to their autonomy and initiative. Through cooperation between multiple players and by utilizing the terrain changes caused by the movement of the mobile platform in the virtual world, they can cope with the combat mechanisms in the online game, thereby enriching the gameplay.
[0182] Basic expression of mobile platform
[0183] 1. Collision expression of mobile platform
[0184] In some embodiments, the collision point of the mobile platform is set to the platform center of the mobile platform. When the virtual character is not on the mobile platform, the computer device uses the world coordinates to move the virtual character and the mobile platform. When the virtual character is on the mobile platform, the computer device uses the relative coordinates to move on the corresponding mobile platform.
[0185] Optionally, in response to the first virtual character not being located on the mobile platform, the computer device controls the first virtual character to move in the virtual world according to the world coordinates of the first virtual character in a world coordinate system, where the world coordinate system is a coordinate system established based on the virtual world.
[0186] Optionally, in response to the first virtual character being located on the mobile platform, the computer device controls the first virtual character to move in the virtual world according to the relative coordinates of the first virtual character in the relative coordinate system, where the relative coordinate system is a coordinate system established based on the mobile platform where the first virtual character is currently located.
[0187] 2. Determination of virtual characters entering and exiting mobile platforms
[0188] In some embodiments, in order to dynamically determine whether the virtual character enters the mobile platform (is located on the mobile platform), a geometric body that wraps the mobile platform is used as a determination area. Fig.15 A schematic diagram of a mobile platform provided by an exemplary embodiment of the present application is shown, wherein a geometric body 85 represents the mobile platform, and a geometric body 86 is a three-dimensional area corresponding to the mobile platform, that is, a determination area.
[0189] In some embodiments, the terminal determines whether the virtual character enters the three-dimensional area corresponding to the mobile platform in each frame. When the virtual character is not located on the mobile platform, the terminal controls the mobile platform and the virtual character to move in the virtual world according to the world coordinates, without server verification, and the movement judgment of the virtual character and the mobile platform is based on the terminal; when the virtual character is located on the mobile platform, the terminal sends a verification request to the server, and the server verifies the position of the virtual character based on the verification request. This allows the computational complexity of both the terminal and the server to be effectively controlled.
[0190] Exemplarily, in response to the first virtual character entering the three-dimensional area corresponding to the mobile platform, the computer device obtains the relative coordinates of the first virtual character in the relative coordinate system; sends a verification request to the server, the verification request carries the relative coordinates, and the server is used to verify the position of the first virtual character based on the relative coordinates; and controls the movement of the first virtual character in the virtual world based on the verification result returned by the server.
[0191] 3. Movement of relative coordinates
[0192] In some embodiments, the interval for the server to update the collision of the mobile platform is 500ms, that is, it is updated twice in 1s, and the terminal needs to update every frame in order to accurately determine the position of the mobile platform and the virtual character. Generally, 1 second can include 24 frames. When the virtual character is located on the mobile platform, since the server updates the position of the virtual character slowly and the terminal updates the position of the virtual character quickly, and the virtual character also moves with the mobile platform, and runs and jumps on the mobile platform, when the server updates the data, if the terminal uses world coordinates to inform the server of the position of the virtual character, the position error of the virtual character may be large, and the position drag may be triggered frequently. When the terminal uses relative coordinates relative to the mobile platform to inform the server of the position of the virtual character, the position error of the virtual character may become very small. In this embodiment, the combat mechanism based on the mobile platform also supports the terminal to use relative coordinates to determine the position of the virtual character.
[0193] Mobile implementation logic for mobile platforms
[0194] In some embodiments, the computer device may generate marker points for all movable positions corresponding to the mobile platform in the virtual world. By marking the marker points as occupied or unoccupied, it is possible to determine whether the mobile platform can move to the movable position.
[0195] Exemplarily, in response to the fact that the mark point corresponding to the expected moving position of the mobile platform is not in an occupied state, the computer device controls the mobile platform to move to the expected moving position; unmarks the mark point corresponding to the position of the mobile platform before movement as occupied, and marks the mark point corresponding to the expected moving position of the mobile platform as occupied.
[0196] In some embodiments, the mobile implementation logic of the mobile platform mainly includes the following points:
[0197] 1. Players form a team and enter the dungeon scene. After obtaining control over the mobile platform's movement in all directions, the mobile platform is displayed in the dungeon scene.
[0198] 2. Generate marking points for the movable positions corresponding to all mobile platforms in the copy scene.
[0199] 3. Mark the mark point where the mobile platform's initial position is located as occupied.
[0200] 4. When the player releases the movement control operation, all mobile platforms will detect the expected moving position in the expected moving direction. If the mark point corresponding to the expected moving position is not in an occupied state, the occupied state of the mark point corresponding to the current position will be deleted, and the platform will move one unit grid in the expected moving direction to the expected moving position.
[0201] 5. After the mobile platform finishes moving, the mark point corresponding to its current position is marked as occupied.
[0202] Among them, the above steps 1, 2, and 3 are initialization steps, which are only executed once after the copy scene is generated, and the above steps 4 and 5 are executed once each time the mobile control operation is released. When it is necessary to increase the movable position corresponding to the mobile platform, it is sufficient to increase and mark the mark point corresponding to the movable position, which has high scalability.
[0203] Fig.16 The flowchart of an interactive method based on a virtual world provided by an exemplary embodiment of the present application is shown. Exemplarily, the mobile platforms include four, namely mobile platform 1, mobile platform 2, mobile platform 3 and mobile platform 4. The mobile implementation logic of the mobile platform is briefly described as follows:
[0204] 1. The player enters the dungeon scene;
[0205] 2. Generate skill interaction points based on the locations of non-player characters in the dungeon scene;
[0206] 3. The player approaches the first non-player character to obtain the control authority indicated by the first non-player character for moving the mobile platform one cell in a first direction; in this embodiment, the first direction is set to east;
[0207] 4. After the control authority for the mobile platform to move east, west, south, north, up, and down is obtained, the slowly rising mobile platform is displayed in the dungeon scene;
[0208] 5. Generate markers based on the movable positions corresponding to all mobile platforms;
[0209] 6. Mark the mark point where the mobile platform's initial position is located as occupied;
[0210] 7. In response to the player releasing the movement control operation, the movement control operation is used to move the mobile platform one cell eastward; for mobile platform 1, steps 8-1, 9-1, 10-1, 11-1 and 12-1 are executed in sequence, and for mobile platform 4, steps 8-4, 9-4, 10-4, 11-4 and 12-4 are executed in sequence, wherein the steps executed for each mobile platform are only numbered differently;
[0211] Taking mobile platform 1 as an example, 8-1. Determine that the current moving platform is mobile platform 1;
[0212] 9-1. Conduct testing to the east;
[0213] 10-1. Check that the mark point corresponding to the expected moving position (since one cell is moved each time, the expected moving position is the adjacent position of the current position) is not in an occupied state;
[0214] 11-1. If the mark point corresponding to the desired moving position is not in an occupied state, delete the occupied state of the mark point corresponding to the current position;
[0215] 12-1. Move one unit to the east;
[0216] 13. Mark the mark point corresponding to the current position of the mobile platform as occupied;
[0217] This completes the move.
[0218] Fig.17 A block diagram of an interactive device 900 based on a virtual world provided by an exemplary embodiment of the present application is shown. The interactive device 900 based on a virtual world includes:
[0219] A display module 910 is used to display at least two terrain platforms located in the virtual world, wherein the at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one of the at least two terrain platforms is a mobile platform;
[0220] A control module 920, configured to control the first virtual character to obtain control authority of the mobile platform in response to the authority obtaining operation;
[0221] The control module 920 is used to control the mobile platform to move in the virtual world in response to a movement control operation on the mobile platform, so as to change the terrain formed by the at least two terrain platforms;
[0222] The control module 920 is used to control the first virtual character to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms in response to a character control operation on the first virtual character.
[0223] In some embodiments, the control module 920 is used to control the mobile platform to move one cell in the virtual world in response to a movement control operation of controlling the mobile platform to move in a first direction, where the cell is a step unit of the mobile platform when moving;
[0224] The first direction is one of at least two directions, and the at least two directions include at least two of east, west, south, north, up, and down.
[0225] In some embodiments, there are at least two mobile platforms;
[0226] The control module 920 is configured to control the mobile platform that meets the movement condition among the at least two mobile platforms to move one cell in the virtual world in response to the movement control operation of controlling the mobile platform to move in the first direction;
[0227] Among them, the mobile platform that does not meet the movement condition among the at least two mobile platforms remains unchanged in the virtual world.
[0228] In some embodiments, the mobile platform that meets the mobile condition includes at least one of the following:
[0229] at least one mobile platform whose desired moving position is not blocked by a virtual obstacle;
[0230] at least one mobile platform whose desired mobile position is not blocked by other terrain platforms;
[0231] at least one mobile platform where the expected moving position does not exceed the boundary line;
[0232] At least one mobile platform that is not currently moving.
[0233] In some embodiments, the display module 910 is configured to display the first virtual character moving along with the mobile platform in response to the first virtual character being located on the mobile platform.
[0234] In some embodiments, the first virtual character is in a fixed state, and the fixed state refers to a state in which no skills can be used;
[0235] The display module 910 is configured to display the first virtual character in the fixed state moving with the mobile platform in response to the first virtual character being located on the mobile platform.
[0236] In some embodiments, the first virtual character includes a gain-type skill;
[0237] The display module 910 is used for displaying a release animation of the gain-type skill that moves with the mobile platform in response to the first virtual character being located on the mobile platform and the first virtual character releasing the gain-type skill.
[0238] In some embodiments, the other virtual characters include enemy virtual characters, the enemy virtual characters include enemy skills, and the enemy virtual characters are located on the mobile platform;
[0239] The display module 910 is used for displaying the release animation and attack range of the enemy skill that moves with the mobile platform in response to the enemy virtual character being located on the mobile platform and the enemy virtual character releasing the enemy skill.
[0240] In some embodiments, the other virtual characters include enemy virtual characters, the enemy virtual characters include enemy skills, and the enemy virtual characters are located on the mobile platform;
[0241] The control module 920 is used to control the first virtual character to move in the opposite direction of the moving direction corresponding to the mobile platform in response to the character control operation on the first virtual character, so as to keep the first virtual character away from the attack range of the enemy's skills.
[0242] In some embodiments, the other virtual characters include teammate virtual characters, the first virtual character is hit by an enemy skill, the enemy skill is used to put the fixed platform where the first virtual character is currently located in a negative skill state, and the negative skill state spreads to an adjacent terrain platform;
[0243] The control module 920 is used to control the displacement of the first virtual character to the mobile platform in response to the character control operation on the first virtual character, so that the first virtual character moves with the mobile platform and moves away from the combat area where the teammate virtual character is located.
[0244] In some embodiments, the other virtual characters include enemy virtual characters, the enemy virtual characters include enemy skills, and the enemy skills have skill flaw positions;
[0245] The control module 920 is used to control the first virtual character to move to the mobile platform in response to the character control operation on the first virtual character, so that the first virtual character follows the mobile platform to move to the skill flaw position.
[0246] In some embodiments, the other virtual characters include at least two avatar characters corresponding to the enemy virtual character, and the at least two avatar characters include a knockback skill;
[0247] The control module 920 is used to control the first virtual character to move to a first position in response to a character control operation on the first virtual character, wherein the first position refers to a position where the first virtual character is repelled from the first position to the center of the combat area after the at least two avatar characters release the repulse skills respectively.
[0248] In some embodiments, the other virtual characters include enemy virtual characters;
[0249] The control module 920 is used to control the displacement of the first virtual character to the mobile platform in response to the character control operation on the first virtual character, so that the first virtual character follows the mobile platform to move to the location of the enemy virtual character and interact with the enemy virtual character.
[0250] In some embodiments, the control module 920 is used to control the first virtual character to obtain a first control authority indicated by the first non-player character in response to the first virtual character approaching the first non-player character, wherein the first control authority is an authority for controlling the mobile platform to move in the first direction;
[0251] The first non-player character is one of at least two non-player characters in the virtual world, and the at least two non-player characters correspond to the at least two directions in a one-to-one manner.
[0252] In some embodiments, the control module 920 is used to:
[0253] In response to the mark point corresponding to the expected moving position of the mobile platform being not in an occupied state, controlling the mobile platform to move to the expected moving position;
[0254] The mark point corresponding to the position of the mobile platform before movement is unmarked as occupied, and the mark point corresponding to the expected movement position of the mobile platform is marked as occupied.
[0255] In some embodiments, the control module 920 is used to:
[0256] In response to the first virtual character not being located on the mobile platform, controlling the first virtual character to move in the virtual world according to the world coordinates of the first virtual character in a world coordinate system, wherein the world coordinate system is a coordinate system established based on the virtual world;
[0257] In response to the first virtual character being located on the mobile platform, the first virtual character is controlled to move in the virtual world according to the relative coordinates of the first virtual character in a relative coordinate system, wherein the relative coordinate system is a coordinate system established based on the mobile platform where the first virtual character is currently located.
[0258] In some embodiments, the control module 920 is used to:
[0259] In response to the first virtual character entering the three-dimensional area corresponding to the mobile platform, acquiring the relative coordinates of the first virtual character in the relative coordinate system;
[0260] Sending a verification request to a server, the verification request carrying the relative coordinates, and the server being configured to verify the position of the first virtual character based on the relative coordinates;
[0261] Based on the verification result returned by the server, the first virtual character is controlled to move in the virtual world.
[0262] It should be noted that the specific limitations in the embodiments of the one or more virtual world-based interactive devices 900 provided above can refer to the limitations of the virtual world-based interactive methods described 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 a processor of a computer device in the form of hardware, or can be stored in a memory of a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0263] Fig.18 A structural block diagram of a computer device 1000 provided by an exemplary embodiment of the present application is shown.
[0264] The computer device 1000 may be a portable mobile terminal, which is also referred to as a mobile terminal in this embodiment. For example, a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), or an MP4 player (Moving Picture Experts Group Audio Layer IV). The computer device 1000 may also be referred to as a user device, a portable terminal, or other names.
[0265] Typically, the computer device 1000 includes a processor 1001 and a memory 1002 .
[0266] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 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 1001 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 1001 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 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0267] The memory 1002 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1002 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 1002 is used to store at least one instruction, which is used to be executed by the processor 1001 to implement the virtual world-based interaction method provided in the embodiments of the present application.
[0268] In some embodiments, the computer device 1000 may further include: a peripheral device interface 1003 and at least one peripheral device. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1004 , a touch display screen 1005 , a camera 1006 , an audio circuit 1007 and a power supply 1008 .
[0269] The peripheral device interface 1003 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0270] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1004 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 1004 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 WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1004 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0271] The touch display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the touch display screen 1005. The touch signal may be input to the processor 1001 as a control signal for processing. The touch display screen 1005 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 1005 may be one, and the front panel of the computer device 1000 is set; in other embodiments, the touch display screen 1005 may be at least two, which are respectively set on different surfaces of the computer device 1000 or are folded; in some embodiments, the touch display screen 1005 may be a flexible display screen, which is set on a curved surface or a folded surface of the computer device 1000. Even, the touch display screen 1005 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The touch display screen 1005 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode, organic light-emitting diode).
[0272] The camera assembly 1006 is used to capture images or videos. Optionally, the camera assembly 1006 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 panoramic shooting and VR (Virtual Reality) shooting functions. In some embodiments, the camera assembly 1006 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.
[0273] The audio circuit 1007 is used to provide an audio interface between the user and the computer device 1000. The audio circuit 1007 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 1001 for processing, or input them into the radio frequency circuit 1004 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 1000. 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 1001 or the radio frequency circuit 1004 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 distance measurement. In some embodiments, the audio circuit 1007 may also include a headphone jack.
[0274] The power supply 1008 is used to power various components in the computer device 1000. The power supply 1008 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1008 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.
[0275] In some embodiments, the computer device 1000 further includes one or more sensors 1009 , including but not limited to: an acceleration sensor 1010 , a gyroscope sensor 1011 , a pressure sensor 1012 , an optical sensor 1013 , and a proximity sensor 1014 .
[0276] The acceleration sensor 1010 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the computer device 1000. For example, the acceleration sensor 1010 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1001 can control the touch display screen 1005 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1010. The acceleration sensor 1010 can also be used to collect motion data of games or users.
[0277] The gyro sensor 1011 can detect the body direction and rotation angle of the computer device 1000, and the gyro sensor 1011 can cooperate with the acceleration sensor 1010 to collect the user's 3D actions on the computer device 1000. The processor 1001 can implement the following functions based on the data collected by the gyro sensor 1011: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0278] The pressure sensor 1012 can be set on the side frame of the computer device 1000 and / or the lower layer of the touch display screen 1005. When the pressure sensor 1012 is set on the side frame of the computer device 1000, it can detect the user's grip signal of the computer device 1000, and perform left and right hand recognition or shortcut operation according to the grip signal. When the pressure sensor 1012 is set on the lower layer of the touch display screen 1005, it can control the operability control on the UI interface according to the user's pressure operation on the touch display screen 1005. The operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0279] The optical sensor 1013 is used to collect the ambient light intensity. In one embodiment, the processor 1001 can control the display brightness of the touch display screen 1005 according to the ambient light intensity collected by the optical sensor 1013. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1005 is reduced. In another embodiment, the processor 1001 can also dynamically adjust the shooting parameters of the camera assembly 1006 according to the ambient light intensity collected by the optical sensor 1013.
[0280] The proximity sensor 1014, also called a distance sensor, is usually arranged on the front of the computer device 1000. The proximity sensor 1014 is used to collect the distance between the user and the front of the computer device 1000. In one embodiment, when the proximity sensor 1014 detects that the distance between the user and the front of the computer device 1000 is gradually decreasing, the processor 1001 controls the touch display screen 1005 to switch from the screen-on state to the screen-off state; when the proximity sensor 1014 detects that the distance between the user and the front of the computer device 1000 is gradually increasing, the processor 1001 controls the touch display screen 1005 to switch from the screen-off state to the screen-on state.
[0281] Those skilled in the art will understand that Fig.18 The structure shown in the figure does not constitute a limitation on the computer device 1000, and the computer device 1000 may include more or less components than those shown in the figure, or combine some components, or adopt a different arrangement of components.
[0282] Those skilled in the art will understand that Fig.18 The structure shown in the figure does not constitute a limitation on the computer device 1000, and the computer device 1000 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0283] In an exemplary embodiment, the present application provides a chip, which includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement the virtual world-based interaction method provided by the above method embodiment.
[0284] The present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the virtual world-based interaction method provided by the above method embodiment.
[0285] The present application provides a computer program product or a computer program, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the processor of the computer device loads and executes to implement the virtual world-based interaction method provided by the above method embodiment.
[0286] 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.
[0287] 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 computer-readable storage medium may be a read-only memory, a disk or an optical disk, etc.
[0288] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0289] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, 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. An interactive method based on a virtual world, characterized in that: The method comprises: Displaying at least two terrain platforms located in the virtual world, wherein the at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one of the at least two terrain platforms is a mobile platform; In response to the permission acquisition operation, controlling the first virtual character to acquire the control permission of the mobile platform; In response to a movement control operation on the mobile platform, controlling the mobile platform to move in the virtual world to change the terrain formed by the at least two terrain platforms; In response to a character control operation on the first virtual character, the first virtual character is controlled to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms.
2. The method according to claim 1, characterized in that In response to the movement control operation on the mobile platform, controlling the mobile platform to move in the virtual world includes: In response to a movement control operation of controlling the mobile platform to move in a first direction, controlling the mobile platform to move one cell in the virtual world, wherein the cell is a step length unit of the mobile platform when moving; The first direction is one of at least two directions, and the at least two directions include at least two of east, west, south, north, up, and down.
3. The method according to claim 2, characterized in that There are at least two mobile platforms; In response to the movement control operation of controlling the mobile platform to move in a first direction, controlling the mobile platform to move one cell in the virtual world comprises: In response to a movement control operation of controlling the mobile platform to move in the first direction, controlling a mobile platform among the at least two mobile platforms that meets the movement condition to move one cell in the virtual world; Among them, the mobile platform that does not meet the movement condition among the at least two mobile platforms remains unchanged in the virtual world.
4. The method according to claim 3, characterized in that The mobile platform that meets the mobile conditions includes at least one of the following: at least one mobile platform whose desired moving position is not blocked by a virtual obstacle; at least one mobile platform whose desired mobile position is not blocked by other terrain platforms; at least one mobile platform where the expected moving position does not exceed the boundary line; At least one mobile platform that is not currently moving.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to the first virtual character being located on the mobile platform, the first virtual character is displayed to follow the movement of the mobile platform.
6. The method according to claim 5, characterized in that The first virtual character is in a fixed state, and the fixed state refers to a state in which no skills can be used; In response to the first virtual character being located on the mobile platform, displaying the first virtual character following the movement of the mobile platform comprises: In response to the first virtual character being located on the mobile platform, the first virtual character in the fixed state is displayed to move along with the mobile platform.
7. The method according to any one of claims 1 to 4, characterized in that: The first virtual character includes a gain-type skill; The method further comprises: In response to the first virtual character being located on the mobile platform and the first virtual character releasing the gain-type skill, a release animation of the gain-type skill that follows the movement of the mobile platform is displayed.
8. The method according to any one of claims 1 to 4, characterized in that: The other virtual characters include enemy virtual characters, the enemy virtual characters include enemy skills, and the enemy virtual characters are located on the mobile platform; The method further comprises: In response to the enemy virtual character being located on the mobile platform and the enemy virtual character releasing the enemy skill, a release animation and an attack range of the enemy skill that follow the movement of the mobile platform are displayed.
9. The method according to any one of claims 1 to 4, characterized in that: The other virtual characters include enemy virtual characters, the enemy virtual characters include enemy skills, and the enemy virtual characters are located on the mobile platform; In response to the character control operation on the first virtual character, controlling the first virtual character to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms includes: In response to the character control operation on the first virtual character, the first virtual character is controlled to move in a direction opposite to the moving direction corresponding to the moving platform, so that the first virtual character is away from the attack range of the enemy's skill.
10. The method according to any one of claims 1 to 4, characterized in that: The other virtual characters include teammate virtual characters, the first virtual character is hit by an enemy skill, the enemy skill is used to put the fixed platform where the first virtual character is currently located in a negative skill state, and the negative skill state spreads to adjacent terrain platforms; In response to the character control operation on the first virtual character, controlling the first virtual character to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms includes: In response to the character control operation on the first virtual character, the first virtual character is controlled to move to the mobile platform so that the first virtual character moves with the mobile platform and away from the battle area where the teammate virtual character is located.
11. The method according to any one of claims 1 to 4, characterized in that: The other virtual characters include enemy virtual characters, the enemy virtual characters include enemy skills, and the enemy skills have skill flaw positions; In response to the character control operation on the first virtual character, controlling the first virtual character to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms includes: In response to a character control operation on the first virtual character, the first virtual character is controlled to move onto the mobile platform, so that the first virtual character follows the mobile platform to move to the skill flaw position.
12. The method according to any one of claims 1 to 4, characterized in that: The other virtual characters include at least two avatar characters corresponding to the enemy virtual character, and the at least two avatar characters include a knockback skill; In response to the character control operation on the first virtual character, controlling the first virtual character to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms includes: In response to a character control operation on the first virtual character, the first virtual character is controlled to move to a first position, wherein the first position refers to a position where the first virtual character is repelled from the first position to the center of a combat area after the at least two avatar characters release the repulse skills respectively.
13. The method according to any one of claims 1 to 4, characterized in that: The other virtual characters include enemy virtual characters; In response to the character control operation on the first virtual character, controlling the first virtual character to interact with other virtual characters of the at least two virtual characters on the terrain formed by the at least two terrain platforms includes: In response to the character control operation on the first virtual character, the first virtual character is controlled to move onto the mobile platform, so that the first virtual character follows the mobile platform to move to the location of the enemy virtual character and interacts with the enemy virtual character.
14. The method according to any one of claims 1 to 13, characterized in that: In response to the permission acquisition operation, controlling the first virtual character to acquire the control permission of the mobile platform includes: In response to the first virtual character approaching a first non-player character, the first virtual character is controlled to obtain a first control authority indicated by the first non-player character, where the first control authority is an authority for controlling the mobile platform to move in the first direction.
15. The method according to any one of claims 1 to 13, characterized in that: In response to the movement control operation on the mobile platform, controlling the mobile platform to move in the virtual world includes: In response to the mark point corresponding to the expected moving position of the mobile platform being not in an occupied state, controlling the mobile platform to move to the expected moving position; The mark point corresponding to the position of the mobile platform before movement is unmarked as occupied, and the mark point corresponding to the expected movement position of the mobile platform is marked as occupied.
16. The method according to any one of claims 1 to 13, characterized in that: The method further comprises: In response to the first virtual character not being located on the mobile platform, controlling the first virtual character to move in the virtual world according to the world coordinates of the first virtual character in a world coordinate system, wherein the world coordinate system is a coordinate system established based on the virtual world; In response to the first virtual character being located on the mobile platform, the first virtual character is controlled to move in the virtual world according to the relative coordinates of the first virtual character in a relative coordinate system, wherein the relative coordinate system is a coordinate system established based on the mobile platform where the first virtual character is currently located.
17. The method according to claim 16, characterized in that The method further comprises: In response to the first virtual character entering the three-dimensional area corresponding to the mobile platform, acquiring the relative coordinates of the first virtual character in the relative coordinate system; Sending a verification request to a server, the verification request carrying the relative coordinates, and the server being configured to verify the position of the first virtual character based on the relative coordinates; Based on the verification result returned by the server, the first virtual character is controlled to move in the virtual world.
18. An interactive device based on a virtual world, characterized in that: The device comprises: A display module, used for displaying at least two terrain platforms located in the virtual world, wherein the at least two terrain platforms are platforms for carrying at least two virtual characters, and at least one of the at least two terrain platforms is a mobile platform; A control module, configured to control the first virtual character to obtain control authority of the mobile platform in response to an authority acquisition operation; The control module is used to control the mobile platform to move in the virtual world in response to a movement control operation on the mobile platform, so as to change the terrain formed by the at least two terrain platforms; The control module is used to control the first virtual character to interact with other virtual characters among the at least two virtual characters on the terrain formed by the at least two terrain platforms in response to a character control operation on the first virtual character.
19. A computer device, characterized in that: The computer device comprises: a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the virtual world-based interaction method according to any one of claims 1 to 17.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the virtual world-based interaction method according to any one of claims 1 to 17.
21. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor obtains the computer instructions from the computer-readable storage medium, so that the processor loads and executes them to implement the virtual world-based interaction method as described in any one of claims 1 to 17.