CN118001735A - Game interaction method, game interaction device, computer equipment and computer readable storage medium - Google Patents

Game interaction method, game interaction device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN118001735A
CN118001735A CN202410269681.5A CN202410269681A CN118001735A CN 118001735 A CN118001735 A CN 118001735A CN 202410269681 A CN202410269681 A CN 202410269681A CN 118001735 A CN118001735 A CN 118001735A
Authority
CN
China
Prior art keywords
virtual
shelter
rocker
chassis
virtual character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410269681.5A
Other languages
Chinese (zh)
Inventor
苗浩琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202410269681.5A priority Critical patent/CN118001735A/en
Publication of CN118001735A publication Critical patent/CN118001735A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a game interaction method, a game interaction device, computer equipment and a computer readable storage medium, comprising the following steps: switching the mobile rocker to a shelter rocker for display in response to the master virtual character entering the virtual shelter; and responding to the movement operation of the rocker slider, determining a target position of the main control virtual character relative to the virtual shelter after moving based on the display position of the rocker slider relative to the chassis when the movement operation is finished, and controlling the main control virtual character to move to the target position. In the embodiment of the application, the position of the virtual character relative to the virtual shelter can be quickly adjusted, so that the game interaction efficiency is improved; the player can intuitively know the hiding range of the virtual shelter, so that the player can fully know the corresponding safety range of the virtual shelter when the virtual character is continuously controlled to move to other surfaces in the virtual shelter, and the game experience of the player is improved.

Description

Game interaction method, game interaction device, computer equipment and computer readable storage medium
Technical Field
The present application relates to the field of game technologies, and in particular, to a game interaction method, a game interaction device, a computer device, and a computer readable storage medium.
Background
In order to meet the pursuit of people for mental life, entertainment games capable of being operated on terminals have been developed, for example, types of games such as role-playing games, tactical game games, shooting game games, or massively multiplayer online role-playing games developed based on client or server architecture. In the game, the player can operate the virtual characters in the screen to play the game, and can perform related operations such as walking, running, jumping, prop picking, fight and the like in a game scene (namely the virtual scene) based on the first view angle or the third view angle of the characters operated by the player, so that the player can experience visual impact brought by the game in an immersive manner, and the initiative and the sense of reality of the game are greatly enhanced.
In current games, when a player controls a virtual character to move in a virtual scene and to move near a virtual shelter, the virtual character may automatically enter the virtual shelter, or the player may click an enter shelter button, controlling the virtual character to squat near the virtual shelter. When the virtual character is squat and nearby the virtual shelter, the player can control the virtual character to turn in the virtual shelter, for example, when the player controls the virtual character to be in the virtual shelter, the player controls the virtual character to move leftwards to the edge of the virtual shelter, and if the player continues to control the virtual character to move leftwards, the player is triggered to move leftwards to the other side of the virtual shelter, so that the virtual character turns in the shelter. However, in the prior art, when a player controls a virtual character to perform a virtual shelter turning operation, the player needs to move the virtual character to the edge of one side of the virtual shelter, and then continues to control the movement of the virtual character for a certain period of time to trigger the turning to the other side of the virtual shelter, so that the operation of controlling the movement of the virtual character in the shelter by the player is complex and complicated, the time required to be consumed is long, and the game interaction efficiency is low; in addition, the player lacks visual knowledge of the overall size proportion of the virtual shelter, so that judgment of the corresponding safety range of the virtual shelter is lacking when the virtual character is controlled to move to other surfaces in the virtual shelter, and the game experience of the player is affected.
Disclosure of Invention
The embodiment of the application provides a game interaction method, a game interaction device, computer equipment and a computer readable storage medium, when a player controls a virtual character to enter a virtual shelter, a conventional movable rocker can be switched to a shelter rocker matched with the shape of the virtual shelter, and the player can quickly adjust the position of the virtual character relative to the virtual shelter by adjusting the display position of a rocker slider on the shelter rocker relative to a chassis, so that the operation steps of the player for controlling the virtual character to move in the shelter are simplified, the operation time is saved, and the game interaction efficiency is improved; and the conventional movable rocker is switched to the shelter rocker matched with the shape of the virtual shelter, so that a player can intuitively know the hiding range of the virtual shelter, and the player can fully know the corresponding safety range of the virtual shelter when continuously controlling the virtual character to move to other surfaces in the virtual shelter, and the game experience of the player is improved.
The embodiment of the application provides a game interaction method, which comprises the steps of providing a graphical user interface through terminal equipment, wherein the graphical user interface comprises at least partial virtual scenes, virtual shelters positioned in the virtual scenes, main control virtual roles controlled by the terminal equipment and a movable rocker, and the movable rocker is used for controlling the main control virtual roles to move in the virtual scenes, and the method comprises the following steps:
Switching the movable rocker to a shelter rocker for display in response to the master virtual character entering the virtual shelter, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the master virtual character and the virtual shelter;
And responding to the movement operation of the rocker slider, determining a target position of the main control virtual character relative to the virtual shelter after moving based on the display position of the rocker slider relative to the chassis when the movement operation is finished, and controlling the main control virtual character to move to the target position.
Correspondingly, the embodiment of the application also provides a game interaction device, which comprises:
the first response unit is used for responding to the main control virtual character entering the virtual shelter and switching the movable rocker into a shelter rocker for displaying, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the main control virtual character and the virtual shelter;
and the second response unit is used for responding to the movement operation of the rocker slider, determining the target position of the main control virtual character relative to the virtual shelter after moving based on the display position of the rocker slider relative to the chassis when the movement operation is finished, and controlling the main control virtual character to move to the target position.
Correspondingly, the embodiment of the application also provides computer equipment, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes any step of a game interaction method when being executed by the processor.
Accordingly, embodiments of the present application also provide a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of any of the game interaction methods.
The embodiment of the application provides a game interaction method, a game interaction device, computer equipment and a computer readable storage medium, wherein the mobile rocker is switched to a shelter rocker for display by responding to the entering of a main control virtual character into a virtual shelter, the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the main control virtual character and the virtual shelter; then, in response to a movement operation for the rocker slider, a target position of the master virtual character with respect to the virtual shelter after movement is determined based on a display position of the rocker slider with respect to the chassis at the end of the movement operation, and the master virtual character is controlled to move to the target position. In the embodiment of the application, when a player controls the virtual character to enter the virtual shelter, the conventional movable rocker can be switched to the shelter rocker matched with the shape of the virtual shelter, and the player can quickly adjust the position of the virtual character relative to the virtual shelter by adjusting the display position of the rocker sliding block on the shelter rocker relative to the chassis, so that the operation steps of the player for controlling the virtual character to move in the shelter are simplified, the operation time is saved, and the game interaction efficiency is improved; and the conventional movable rocker is switched to the shelter rocker matched with the shape of the virtual shelter, so that a player can intuitively know the hiding range of the virtual shelter, and the player can fully know the corresponding safety range of the virtual shelter when continuously controlling the virtual character to move to other surfaces in the virtual shelter, and the game experience of the player is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a game interaction system according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a game interaction method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of an application scenario of a game interaction method according to an embodiment of the present application.
Fig. 4 is a schematic diagram of another application scenario of the game interaction method provided by the embodiment of the application.
Fig. 5 is a schematic diagram of another application scenario of the game interaction method provided by the embodiment of the present application.
Fig. 6 is a schematic diagram of another application scenario of the game interaction method provided by the embodiment of the application.
Fig. 7a is a schematic diagram of another application scenario of the game interaction method according to the embodiment of the present application.
Fig. 7b is a schematic diagram of another application scenario of the game interaction method according to the embodiment of the present application.
Fig. 7c is a schematic diagram of another application scenario of the game interaction method according to the embodiment of the present application.
Fig. 8a is a schematic diagram of another application scenario of the game interaction method according to the embodiment of the present application.
Fig. 8b is a schematic diagram of another application scenario of the game interaction method according to the embodiment of the present application.
Fig. 9a is a schematic diagram of another application scenario of the game interaction method according to the embodiment of the present application.
Fig. 9b is a schematic diagram of another application scenario of the game interaction method according to the embodiment of the present application.
Fig. 10 is a schematic diagram of another application scenario of the game interaction method provided by the embodiment of the application.
Fig. 11 is a schematic diagram of another application scenario of the game interaction method provided by the embodiment of the application.
Fig. 12 is a schematic diagram of another application scenario of the game interaction method provided by the embodiment of the application.
Fig. 13 is a schematic structural diagram of a game interaction device according to an embodiment of the present application.
Fig. 14 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a game interaction method, a game interaction device, computer equipment and a computer readable storage medium. Specifically, the game interaction method of the embodiment of the application can be executed by a computer device, wherein the computer device can be a terminal or a server. The terminal may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a Personal computer (PC, personal Computer), a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), and the like, and the terminal may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligent platforms.
For example, when the game interaction method is run on the terminal, the terminal device stores a game application and is used to present a virtual scene in a game screen. The terminal device is used for interacting with a user through a graphical user interface, for example, the terminal device downloads and installs a game application program and runs the game application program. The way in which the terminal device presents the graphical user interface to the user may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device, or presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a graphical user interface including game screens and receiving operation instructions generated by a user acting on the graphical user interface, and a processor for running the game, generating the graphical user interface, responding to the operation instructions, and controlling the display of the graphical user interface on the touch display screen.
For example, the game interaction method may be a cloud game when running on a server. Cloud gaming refers to a game style based on cloud computing. In the running mode of the cloud game, a running main body of the game application program and a game picture presentation main body are separated, and the storage and running of the game interaction method are completed on a cloud game server. The game image presentation is completed at a cloud game client, which is mainly used for receiving and sending game data and presenting game images, for example, the cloud game client may be a display device with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, etc., near a user side, but the terminal device for processing game data is a cloud game server in the cloud. When playing the game, the user operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the cloud game client through a network, and finally decodes the data through the cloud game client and outputs the game pictures.
Referring to fig. 1, fig. 1 is a schematic view of a game interaction system according to an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. A terminal is any device having computing hardware capable of supporting and executing a software product corresponding to a game. In addition, when the system includes a plurality of terminals, a plurality of servers, and a plurality of networks, different terminals may be connected to each other through different networks, through different servers. The network may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, the different terminals may be connected to other terminals or to a server or the like using their own bluetooth network or hotspot network. For example, multiple users may be online through different terminals to connect and synchronize with each other through an appropriate network to support multiplayer games. In addition, the system may include multiple databases coupled to different servers and information related to the gaming environment may be continuously stored in the databases as different users play multiplayer games online.
The embodiment of the application provides a game interaction method which can be executed by a terminal or a server. The embodiment of the application is described by taking a game interaction method executed by a terminal as an example. The terminal may include a touch display screen and a processor (of course, the terminal may also use peripheral devices such as a mouse and a keyboard as input devices, which are only illustrated here by using the touch display screen as an example), where the touch display screen is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. When a user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instruction, and can also control the content of the opposite-end server by responding to the received operation instruction. For example, the user-generated operational instructions for the graphical user interface include instructions for launching the gaming application, and the processor is configured to launch the gaming application after receiving the user-provided instructions for launching the gaming application. Further, the processor is configured to render and draw a graphical user interface associated with the game on the touch-sensitive display screen. A touch display screen is a multi-touch-sensitive screen capable of sensing touch or slide operations performed simultaneously by a plurality of points on the screen. The user performs touch operation on the graphical user interface by using a finger, and when the graphical user interface detects the touch operation, the graphical user interface controls different virtual objects in the graphical user interface of the game to perform actions corresponding to the touch operation. For example, the game may be any one of a leisure game, an action game, a role playing game, a strategy game, a sports game, a educational game, and the like. Wherein the game may comprise a virtual scene of the game drawn on a graphical user interface. Further, one or more virtual objects, such as virtual characters, controlled by a user (or player) may be included in the virtual scene of the game. In addition, one or more obstacles, such as rails, ravines, walls, etc., may also be included in the virtual scene of the game to limit movement of the virtual object, e.g., to limit movement of the one or more objects to a particular area within the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, scores, character health status, energy, etc., to provide assistance to the player, provide virtual services, increase scores related to the player's performance, etc. In addition, the graphical user interface may also present one or more indicators to provide indication information to the player. For example, a game may include a player controlled virtual object and one or more other virtual objects (such as enemy characters). In one embodiment, one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects may be computer controlled, such as a robot using an Artificial Intelligence (AI) algorithm, implementing a human-machine engagement mode. For example, virtual objects possess various skills or capabilities that a game player uses to achieve a goal. For example, the virtual object may possess one or more weapons, props, tools, etc. that may be used to eliminate other objects from the game. Such skills or capabilities may be activated by the player of the game using one of a plurality of preset touch operations with the touch display screen of the terminal. The processor may be configured to present a corresponding game screen in response to an operation instruction generated by a touch operation of the user.
It should be noted that, the schematic view of the game interaction system shown in fig. 1 is only an example, and the game interaction system and the scene described in the embodiment of the present application are for more clearly describing the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided by the embodiment of the present application, and those skilled in the art can know that, with the appearance of the new service scene, the technical solution provided by the embodiment of the present application is equally applicable to similar technical problems.
Based on the above problems, embodiments of the present application provide a game interaction method, apparatus, computer device, and computer readable storage medium, which can enable a player to quickly move in a virtual shelter, thereby improving game interaction efficiency. The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The embodiment of the application provides a game interaction method which can be executed by a terminal or a server, and the embodiment of the application is explained by taking the game interaction method as an example of the execution of the terminal, and a graphical user interface can be provided through terminal equipment, wherein the graphical user interface comprises at least part of virtual scenes and master virtual roles which are positioned in the virtual scenes and controlled by the terminal equipment. The virtual angle scene is determined according to the visual angle of the master virtual role controlled by the terminal equipment, the graphic user interface can also display the virtual roles, the virtual roles are virtual roles displayed in the virtual scene, the virtual roles can be friend virtual roles which are same as the master virtual role in battle, enemy virtual roles which are opposite to the master virtual role in battle, and other common virtual roles without battle.
In an embodiment of the present application, the virtual scene is a virtual environment that an application program displays (or provides) while running on the terminal. The virtual environment can be a simulation environment for the real world, a semi-simulation and semi-fictional three-dimensional environment, or a pure fictional three-dimensional environment. The virtual environment is used for virtual environment combat between at least two virtual characters, and virtual resources available for the at least two virtual characters are provided in the virtual environment. One or more virtual characters can be displayed in the virtual scene, wherein the virtual characters can be master virtual characters controlled by a player through a terminal, can be friend virtual characters which are in the same battle as the master virtual characters, can be enemy virtual characters which are in hostile battle with the master virtual characters, or can be common virtual characters which are in other battles which are in hostile relation with the master virtual characters. Master virtual characters, friend virtual characters, common virtual characters, and hostile virtual characters may coexist in a virtual scene, which is illustrated herein and not by way of limitation.
A virtual character (or hero) refers to a movable object in a virtual environment. A virtual character refers to a virtual object in a game that a user or player controls through a terminal. In the embodiment of the application, the master virtual character refers to a virtual object in a game controlled by a current player through a terminal, namely, a virtual character controlled by a player at a home terminal. The friend virtual character and the adversary virtual character refer to virtual objects in the game controlled by other players through terminals, namely virtual characters controlled by other players.
Referring to fig. 2, fig. 2 is a schematic flow chart of a game interaction method according to an embodiment of the present application, and the specific flow of the game interaction method may be as follows:
And 101, responding to the main control virtual character entering the virtual shelter, and switching the movable rocker into a shelter rocker for displaying, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the main control virtual character and the virtual shelter.
The movable rocker is used for controlling the main control virtual character to move in the virtual scene, the shelter rocker is used for controlling the main control virtual character to move nearby the virtual shelter, the shape of the shelter rocker is matched with that of the shelter of the virtual shelter, the shelter rocker comprises a chassis and a rocker slider, and the position of the rocker slider on the chassis indicates the position of the main control virtual character relative to the virtual shelter.
Alternatively, in order to allow a player to intuitively understand the hidden area of the virtual shelter through the shelter rocker, the shape of the chassis of the shelter rocker is matched with the contour of the virtual shelter, specifically, the contour of the virtual shelter is the contour of the virtual shelter in a top view. Further, the virtual shelter may be a cuboid, and the chassis includes a plurality of sides, each side being respectively used to characterize a face of the virtual shelter.
Specifically, referring to fig. 3 and 4 together, the computer device may provide a graphical user interface including at least a portion of a virtual scene, a virtual shelter located in the virtual scene, a master virtual character controlled by the terminal device, and a movement rocker for controlling movement of the master virtual character in the virtual scene. Further, the player can execute a triggering operation on the shelter entering control through the graphic user interface, the computer equipment responds to the triggering operation on the shelter entering control to control the main control virtual character to squat on the virtual shelter, the movable rocker is switched to the shelter rocker to display, the shelter rocker is used for controlling the main control virtual character to move nearby the virtual shelter, the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the main control virtual character and the virtual shelter. For example, referring to fig. 4, the shape of the chassis of the shelter rocker is matched with the shape of the top view outline of the virtual shelter, at this time, the virtual shelter is rectangular, the shape of the chassis is the outline of the rectangular in top view, that is, the rectangle, and the side edge and the left side of the rocker slider under the chassis are mapped to the corresponding side and the left side of the virtual shelter, so as to represent that the master virtual character squats or stands.
102, In response to a movement operation for the rocker slider, determining a target position of the master virtual character relative to the virtual shelter after movement based on a display position of the rocker slider relative to the chassis at the end of the movement operation, and controlling the master virtual character to move to the target position.
In an embodiment, the step of determining the target position of the master virtual character relative to the virtual shelter after moving based on the display position of the rocker slider relative to the chassis at the end of the moving operation, and controlling the master virtual character to move to the target position includes:
Determining a target edge of the rocker slider on the chassis when the moving operation is finished, wherein the target edge is one edge of the chassis;
Determining a target surface of the virtual shelter represented by the target edge, wherein the target surface is one surface of the virtual shelter;
And controlling the master control virtual role to move to the area associated with the target surface.
In another embodiment, the step of "the moving operation for the rocker slider is responsive to determining a target position of the master virtual character with respect to the virtual shelter after moving, and controlling the master virtual character to move to the target position" based on a display position of the rocker slider with respect to the chassis at the end of the moving operation, the method may include:
and responding to the movement operation of the rocker slider along the chassis edge, determining a target position of the main control virtual character relative to the virtual shelter after the movement of the main control virtual character based on the position of the rocker slider on the chassis edge when the movement operation is finished, and controlling the main control virtual character to move to the target position.
For example, referring to fig. 5, a player may perform a movement operation on a rocker slider through a graphical user interface, a computer device determines a target position relative to the virtual shelter after movement of the master virtual character based on a display position of the rocker slider relative to the chassis at the end of the movement operation in response to the movement operation on the rocker slider, and controls the movement of the master virtual character to the target position. Specifically, the rocker slider is initially at a side edge below the chassis and is located at a left position, the computer equipment responds to a moving operation for the rocker slider to move the rocker slider at the side edge below the chassis and at a right position, and then the master control virtual character is moved to a squat position at the side corresponding to the virtual shelter and at the left position at the side corresponding to the virtual shelter.
In an embodiment, the method further comprises:
And after the main control virtual character is controlled to move to the target position, rotating the shelter rocker so that the rocker slider is positioned at the lower side of the chassis.
For another example, referring to fig. 6, a player may perform a movement operation on a rocker slider through a graphical user interface, a computer device may determine a target position relative to the virtual shelter after movement of the master virtual character based on a display position of the rocker slider relative to the chassis at the end of the movement operation in response to the movement operation on the rocker slider, and control the movement of the master virtual character to the target position. Specifically, the rocker slider is initially located at a side edge below the chassis and located at a left side, the computer device responds to a moving operation for the rocker slider, moves the rocker slider to a position located at a side edge on the right side of the chassis and located at a middle position, at the moment, the target edge is the side edge on the right side of the chassis, a target surface of a virtual shelter represented by the target edge is determined, the target surface is one surface of the virtual shelter, then the master control virtual role is controlled to move to an area associated with the target surface, specifically, the master control virtual role is located at a position located at a side corresponding to the virtual shelter and located at a left side and is moved to a position located at a middle side and associated with the target surface of the target edge corresponding to the virtual shelter. The virtual scene displayed by the graphical user interface is accompanied by the operation of moving the virtual character to the other side of the shelter, so that the lens of the virtual camera is synchronously adjusted. Meanwhile, the shelter rocker can synchronously rotate, and the position of the rocker slider is always kept to be the bottom edge of the rectangle corresponding to the chassis.
In summary, the embodiment of the present application provides a game interaction method, in which the moving rocker is switched to a shelter rocker for displaying in response to the master virtual character entering the virtual shelter, where the shelter rocker includes a chassis and a rocker slider, and a relative positional relationship between the rocker slider and the chassis is used to characterize a relative positional relationship between the master virtual character and the virtual shelter. Then, in response to a movement operation for the rocker slider, a target position of the master virtual character with respect to the virtual shelter after movement is determined based on a display position of the rocker slider with respect to the chassis at the end of the movement operation, and the master virtual character is controlled to move to the target position. In the embodiment of the application, when a player controls the virtual character to enter the virtual shelter, the conventional movable rocker can be switched to the shelter rocker matched with the shape of the virtual shelter, and the player can quickly adjust the position of the virtual character relative to the virtual shelter by adjusting the display position of the rocker sliding block on the shelter rocker relative to the chassis, so that the operation steps of the player for controlling the virtual character to move in the shelter are simplified, the operation time is saved, and the game interaction efficiency is improved; and the conventional movable rocker is switched to the shelter rocker matched with the shape of the virtual shelter, so that a player can intuitively know the hiding range of the virtual shelter, and the player can fully know the corresponding safety range of the virtual shelter when continuously controlling the virtual character to move to other surfaces in the virtual shelter, and the game experience of the player is improved.
In light of the foregoing, the game interaction method of the present application will be further described below by way of example, with specific embodiments of the game interaction method being as follows.
In one embodiment, in order for the player to preview the path the virtual character is about to move, the method further comprises:
and displaying first prompt information on the chassis based on the initial position of the rocker slider on the chassis and the position of the rocker slider on the edge of the chassis when the moving operation is finished, wherein the first prompt information is used for representing the moving track of the rocker slider.
Specifically, the computer device responds to the movement operation of the rocker slider, if the rocker slider is located at a first target display position on the chassis when the movement operation is finished, the first target position and a first character action relative to the virtual shelter after the main control virtual character moves are determined based on the first target display position, at the moment, the first character action is a squat gesture, and the main control virtual character is controlled to move to the target position in the squat gesture.
Further, referring to fig. 7a, 7b and 7c, the computer device may respond to the movement operation for the rocker slider, if the rocker slider is located on any one side on the chassis to determine a target side at the end of the movement operation, the rocker slider is displayed on the target side, so as to obtain an updated shelter rocker, and a first prompt message is displayed on the shelter rocker to characterize the movement track of the rocker slider. The first prompt information is the shortest moving path between the initial position of the rocker slider on the chassis and the position of the rocker slider on the edge of the chassis when the movement operation is finished.
Specifically, the computer device responds to the movement operation of the rocker slider, if the rocker slider is located at a second target display position on the graphical user interface when the movement operation is finished, a second target position and a second role action relative to the virtual shelter after the main control virtual role moves are determined based on the second target display position, the main control virtual role is controlled to move to the second target position through the second role action, at the moment, the second role action is a crossing action, the main control virtual role is controlled to move from above the virtual shelter to the second target position through crossing action, and the second target display position is a display position outside the shelter rocker and within a preset range determined based on the display position of the shelter rocker.
Further, referring to fig. 8a and 8b, the computer device may respond to the movement operation of the rocker slider, and if the rocker slider is located at a second target display position on the gui (i.e. not displayed on the chassis and the relative distance between the rocker slider and the chassis is less than a preset threshold value) at the end of the movement operation, the rocker slider is displayed on the chassis based on the second target display position, so as to obtain the updated shelter rocker.
In an embodiment, the method further comprises:
and in response to a moving operation for the rocker slider, when the rocker slider is separated from the chassis, controlling the master virtual character to be separated from the virtual shelter, and switching the shelter rocker to a moving rocker.
Optionally, the computer device responds to a movement operation for the rocker slider, if the rocker slider is located at a third target display position on the graphical user interface when the movement operation is finished, determining a third target position of the main control virtual character relative to the virtual shelter after moving based on the third target display position, and controlling the main control virtual character to separate from the virtual shelter and move to the third target position, wherein the third target display position is a display position on the graphical user interface except for the shelter rocker and the preset range.
For example, referring to fig. 9a and 9b together, in response to a movement operation for the rocker slider, if the rocker slider is located at a third target display position on the gui (i.e., not displayed on the chassis and the relative distance from the chassis is greater than a preset threshold) at the end of the movement operation, the computer device determines a third target position of the master avatar relative to the virtual shelter after moving based on the third target display position, and controls the master avatar to depart from the virtual shelter and move to the third target position.
In a specific embodiment, the first prompting information may be determined based on an initial position of the rocker slider on the chassis and a position of the rocker slider on an edge of the chassis when the rocker slider moves to an end of the movement operation, where the first prompting information is used to characterize a movement track of the rocker slider, and may also indicate a movement direction corresponding to a movement operation to be performed by the master virtual character.
For example, referring to fig. 10, the computer device may obtain an initial position of the rocker slider on the chassis, and move to a position of the rocker slider on the edge of the chassis when the moving operation is finished, and determine the first hint information based on the initial position of the rocker slider on the chassis, and move to the position of the rocker slider on the edge of the chassis when the moving operation is finished, where the first hint information may point from the initial position of the rocker slider to the position of the rocker slider on the edge of the chassis when the moving operation is finished through an arrow. Specifically, the rocker slider is initially at a position below the chassis and at a position to the left, the computer device needs to move the rocker slider to a position to the right side of the chassis and at a position to the middle in response to a movement operation for the rocker slider, and the first prompt information can point from an initial position of the rocker slider (i.e., a position below the chassis and at the left) to a position of the rocker slider on the edge of the chassis (i.e., a position to the right side and at the middle of the shelter rocker) at the end of the movement operation through an arrow.
In an embodiment, the method further comprises:
Determining a moving track of the master control virtual character to the target position according to the target position;
And displaying second prompt information in the virtual scene, wherein the second prompt information is used for representing the movement track.
For example, referring to fig. 11, the computer device may acquire a current position and a target position of a master virtual character, and determine a movement track of the master virtual character to the target position according to the target position; and determining second prompt information based on the movement track, and then displaying the second prompt information in the virtual scene, wherein the second prompt information is used for representing the movement track. Specifically, the current position of the master virtual character is a position of the first surface of the virtual shelter near the left side, and the target position is a middle position of the second surface of the virtual shelter, so that the second prompt information (i.e. the indication arrow in fig. 11) can be determined based on the two positions to indicate the movement track corresponding to the movement operation to be performed by the master virtual character. And then, controlling the master virtual character to move to the target position along the moving track.
In an embodiment, the step of determining the movement track of the master avatar to the target location according to the target location includes:
Determining a shortest path for the master virtual character to move from a current position to the target position;
and taking the moving track corresponding to the shortest path as the moving track of the master control virtual character to the target position.
In order that the player-controlled avatar may move to a target location at the fastest speed, the computer device may determine the shortest path for the master avatar to move from the current location to the target location; and taking the moving track corresponding to the shortest path as the moving track of the master control virtual character to the target position.
In order to conform to the game habit, the display picture of the master virtual character after moving to the area corresponding to the other surface of the virtual shelter conforms to the game habit of the player, and the method further comprises the following steps:
and when the master control virtual character is controlled to move to the target position, the virtual lens is adjusted.
Optionally, the method further comprises:
in response to a sliding operation continuous with the moving operation, when it is detected that a sliding distance value of the sliding operation reaches a target distance value, the moving operation for the rocker slider is canceled.
The shape of the shelter control is matched with the shape of the top view outline of the virtual shelter.
In one embodiment, after the step of switching the mobile rocker to a shelter rocker for display in response to the master avatar squatting down to the virtual shelter, the method may comprise:
Determining a display position of the rocker slider relative to a chassis in response to a movement operation for the rocker slider and a long-press operation continuous with the movement operation, determining a target throwing position relative to the virtual shelter in the virtual scene according to the display position, and displaying a virtual item page, wherein the virtual item page comprises a plurality of candidate virtual item identifications;
Determining a target virtual article corresponding to the target virtual article identifier in response to a selection operation for the target virtual article identifier in the candidate virtual article identifiers;
and controlling the master virtual character to throw the target virtual article to the target throwing position.
For example, referring to fig. 12, in response to a movement operation for the rocker slider and a long press operation continuous with the movement operation, a computer device determines a display position of the rocker slider relative to a chassis, determines a target throwing position relative to the virtual shelter in the virtual scene according to the display position, and displays a virtual item page, wherein the virtual item page includes a plurality of candidate virtual item identifications including a first item identification, a second item identification, a third item identification, and a fourth item identification. The first article identifier corresponds to a first virtual article, the second article identifier corresponds to a second virtual article, the third article identifier corresponds to a third virtual article, and the fourth article identifier corresponds to a fourth virtual article. The computer equipment responds to the selection operation of the target virtual article identification in the candidate virtual article identifications, determines the target virtual article corresponding to the target virtual article identification, and determines that the target virtual article identification is a third article identification at the moment, and determines that the third virtual article corresponding to the third article identification is the target virtual article; computer equipment controls the master virtual character to throw the target virtual article to the target throwing position.
In another embodiment, after the step of switching the mobile rocker to a shelter rocker for display in response to the master avatar squatting down to the virtual shelter, the method may comprise:
Determining a display position of the rocker slider relative to a chassis in response to a movement operation for the rocker slider and a gesture operation continuous with the movement operation, determining a target marker position relative to the virtual shelter in the virtual scene according to the display position;
And responding to the ending operation of the gesture operation, generating position prompt information based on the position information of the target mark position, and sending the position prompt information to the terminal equipment of the friend virtual character so as to display the position prompt information at the target mark position in the virtual scene displayed by the graphical user interface of the second virtual character, wherein the friend virtual character is a virtual character with the same camp as the master virtual character.
In yet another embodiment, after the step of switching the mobile rocker to a shelter rocker for display in response to the master avatar squatting down to the virtual shelter, the method may comprise:
Responsive to a movement operation for the rocker slider, determining a target position relative to the virtual shelter after movement of the master virtual character based on a display position of the rocker slider relative to the chassis at an end of the movement operation;
Responsive to a touch operation continuous with the movement operation, displaying a gesture selection list, wherein the gesture selection list comprises a plurality of candidate character gesture identifications;
Responding to the selection operation of the target character gesture identification in the candidate character gesture identifications, and determining the target character gesture corresponding to the target character gesture identification;
And controlling the master virtual character to move to the target position, and switching the current character posture of the master virtual character to the target character posture when the master virtual character is detected to move to the target position.
For example, the character pose of the master virtual character at the current display position is a squat pose, and the computer device is responsive to a movement operation for the rocker slider to determine a target position relative to the virtual shelter after the master virtual character moves based on the display position of the rocker slider relative to the chassis at the end of the movement operation; in response to a touch operation that is continuous with the movement operation, displaying a gesture selection list, wherein the gesture selection list includes a plurality of candidate character gesture identifications including a standing gesture identification, a standing aim gesture identification, a squat identification, and a squat aim gesture identification, the standing gesture identification corresponding to a standing gesture of the associated virtual character, the standing aim gesture identification corresponding to a standing aim gesture of the associated virtual character, the squat identification corresponding to a squat gesture of the associated virtual character, and the squat aim gesture identification corresponding to a squat aim gesture of the associated virtual character, the user operable to perform a selection operation on the standing aim gesture identification, the computer device determining a standing aim gesture corresponding to the standing aim gesture identification in response to the selection operation for the standing aim gesture identification; then, the master virtual character is controlled to move to the target position, and when the master virtual character is detected to move to the target position, the current character posture of the master virtual character is set to be a standing aiming posture.
In summary, the embodiment of the application provides a game interaction method, when a player controls a virtual character to enter a virtual shelter, a conventional movable rocker can be switched to a shelter rocker matched with the shape of the virtual shelter, and the player can quickly adjust the position of the virtual character relative to the virtual shelter by adjusting the display position of a rocker slider on the shelter rocker relative to a chassis, so that the operation steps of the player for controlling the virtual character to move in the shelter are simplified, the operation time is saved, and the game interaction efficiency is improved; and the conventional movable rocker is switched to the shelter rocker matched with the shape of the virtual shelter, so that a player can intuitively know the hiding range of the virtual shelter, and the player can fully know the corresponding safety range of the virtual shelter when continuously controlling the virtual character to move to other surfaces in the virtual shelter, and the game experience of the player is improved.
In order to facilitate better implementation of the game interaction method provided by the embodiment of the application, the embodiment of the application also provides a game interaction device based on the game interaction method. Where the meaning of nouns is the same as in the game interaction method described above, specific implementation details may be referred to in the description of the method embodiments.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a game interaction device according to an embodiment of the present application, where the device includes:
a first response unit 201, configured to switch the mobile rocker to a shelter rocker for displaying in response to the master virtual character entering the virtual shelter, where the shelter rocker includes a chassis and a rocker slider, and a relative positional relationship between the rocker slider and the chassis is used to characterize a relative positional relationship between the master virtual character and the virtual shelter;
And a second response unit 202, configured to determine a target position of the master virtual character relative to the virtual shelter after moving, based on a display position of the rocker slider relative to the chassis at the end of the moving operation, and control the master virtual character to move to the target position, in response to the moving operation for the rocker slider.
In some embodiments, the game interaction device comprises a processing subunit for:
Determining a target edge of the rocker slider on the chassis when the moving operation is finished, wherein the target edge is one edge of the chassis;
Determining a target surface of the virtual shelter represented by the target edge, wherein the target surface is one surface of the virtual shelter;
And controlling the master control virtual role to move to the area associated with the target surface.
In some embodiments, the game interaction device comprises a processing subunit for:
and responding to the movement operation of the rocker slider along the chassis edge, determining a target position of the main control virtual character relative to the virtual shelter after the movement of the main control virtual character based on the position of the rocker slider on the chassis edge when the movement operation is finished, and controlling the main control virtual character to move to the target position.
In some embodiments, the game interaction device comprises a processing subunit for:
and displaying first prompt information on the chassis based on the initial position of the rocker slider on the chassis and the position of the rocker slider on the edge of the chassis when the moving operation is finished, wherein the first prompt information is used for representing the moving track of the rocker slider.
In some embodiments, the game interaction device comprises a processing subunit for:
Determining a moving track of the master control virtual character to the target position according to the target position;
And displaying second prompt information in the virtual scene, wherein the second prompt information is used for representing the movement track.
In some embodiments, the game interaction device comprises a processing subunit for:
Determining a shortest path for the master virtual character to move from a current position to the target position;
and taking the moving track corresponding to the shortest path as the moving track of the master control virtual character to the target position.
In some embodiments, the game interaction device comprises a processing subunit for:
and when the master control virtual character is controlled to move to the target position, the virtual lens is adjusted.
In some embodiments, the game interaction device comprises a processing subunit for:
And after the main control virtual character is controlled to move to the target position, rotating the shelter rocker so that the rocker slider is positioned at the lower side of the chassis.
In some embodiments, the game interaction device comprises a processing subunit for:
and in response to a moving operation for the rocker slider, when the rocker slider is separated from the chassis, controlling the master virtual character to be separated from the virtual shelter, and switching the shelter rocker to a moving rocker.
The embodiment of the application discloses a game interaction device, which responds to the entering of a main control virtual character into a virtual shelter through a first response unit 201, and switches a movable rocker into a shelter rocker for display, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the main control virtual character and the virtual shelter; the second response unit 202 determines a target position with respect to the virtual shelter after the movement of the master virtual character based on a display position of the rocker slider with respect to the chassis at the end of the movement operation in response to the movement operation for the rocker slider, and controls the movement of the master virtual character to the target position. In the embodiment of the application, when a player controls the virtual character to enter the virtual shelter, the conventional movable rocker can be switched to the shelter rocker matched with the shape of the virtual shelter, and the player can quickly adjust the position of the virtual character relative to the virtual shelter by adjusting the display position of the rocker sliding block on the shelter rocker relative to the chassis, so that the operation steps of the player for controlling the virtual character to move in the shelter are simplified, the operation time is saved, and the game interaction efficiency is improved; and the conventional movable rocker is switched to the shelter rocker matched with the shape of the virtual shelter, so that a player can intuitively know the hiding range of the virtual shelter, and the player can fully know the corresponding safety range of the virtual shelter when continuously controlling the virtual character to move to other surfaces in the virtual shelter, and the game experience of the player is improved.
Correspondingly, the embodiment of the application also provides a computer device which can be a terminal or a server, wherein the terminal can be a terminal device such as a smart phone, a tablet Personal computer, a notebook computer, a touch screen, a game console, a Personal computer (PC, personal Computer), a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA) and the like. Fig. 14 is a schematic structural diagram of a computer device according to an embodiment of the present application, as shown in fig. 14. The computer device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer readable storage media, and a computer program stored on the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. It will be appreciated by those skilled in the art that the computer device structure shown in the figures is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
Processor 301 is a control center of computer device 300 and utilizes various interfaces and lines to connect various portions of the overall computer device 300, and to perform various functions of computer device 300 and process data by running or loading software programs and/or modules stored in memory 302 and invoking data stored in memory 302, thereby performing overall monitoring of computer device 300.
In the embodiment of the present application, the processor 301 in the computer device 300 loads the instructions corresponding to the processes of one or more application programs into the memory 302 according to the following steps, and the processor 301 executes the application programs stored in the memory 302, so as to implement various functions:
Switching the movable rocker to a shelter rocker for display in response to the master virtual character entering the virtual shelter, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the master virtual character and the virtual shelter;
And responding to the movement operation of the rocker slider, determining a target position of the main control virtual character relative to the virtual shelter after moving based on the display position of the rocker slider relative to the chassis when the movement operation is finished, and controlling the main control virtual character to move to the target position.
In an embodiment, the shape of the chassis matches the contour of the virtual shelter, which is the contour of the virtual shelter in a top view.
In one embodiment, the chassis includes a plurality of sides, each side representing a respective one of the faces of the virtual shelter.
In an embodiment, the determining, based on the display position of the rocker slider relative to the chassis at the end of the moving operation, a target position of the master virtual character relative to the virtual shelter after moving, and controlling the master virtual character to move to the target position includes:
Determining a target edge of the rocker slider on the chassis when the moving operation is finished, wherein the target edge is one edge of the chassis;
Determining a target surface of the virtual shelter represented by the target edge, wherein the target surface is one surface of the virtual shelter;
And controlling the master control virtual role to move to the area associated with the target surface.
In an embodiment, the determining, in response to the movement operation for the rocker slider, a target position of the master virtual character relative to the virtual shelter after the movement of the master virtual character based on a display position of the rocker slider relative to the chassis at an end of the movement operation, and controlling the movement of the master virtual character to the target position includes:
and responding to the movement operation of the rocker slider along the chassis edge, determining a target position of the main control virtual character relative to the virtual shelter after the movement of the main control virtual character based on the position of the rocker slider on the chassis edge when the movement operation is finished, and controlling the main control virtual character to move to the target position.
In an embodiment, the method further comprises:
and displaying first prompt information on the chassis based on the initial position of the rocker slider on the chassis and the position of the rocker slider on the edge of the chassis when the moving operation is finished, wherein the first prompt information is used for representing the moving track of the rocker slider.
In an embodiment, the method further comprises:
Determining a moving track of the master control virtual character to the target position according to the target position;
And displaying second prompt information in the virtual scene, wherein the second prompt information is used for representing the movement track.
In an embodiment, the determining the movement track of the master virtual character to the target position according to the target position includes:
Determining a shortest path for the master virtual character to move from a current position to the target position;
and taking the moving track corresponding to the shortest path as the moving track of the master control virtual character to the target position.
In an embodiment, the method further comprises:
and when the master control virtual character is controlled to move to the target position, the virtual lens is adjusted.
In an embodiment, the method further comprises:
And after the main control virtual character is controlled to move to the target position, rotating the shelter rocker so that the rocker slider is positioned at the lower side of the chassis.
In an embodiment, the method further comprises:
and in response to a moving operation for the rocker slider, when the rocker slider is separated from the chassis, controlling the master virtual character to be separated from the virtual shelter, and switching the shelter rocker to a moving rocker.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 14, the computer device 300 further includes: a touch display 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch display 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art will appreciate that the computer device structure shown in FIG. 14 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
The touch display 303 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display 303 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 301, and can receive and execute commands sent from the processor 301. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 301 to determine the type of touch event, and the processor 301 then provides a corresponding visual output on the display panel in accordance with the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 303 to realize the input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch-sensitive display 303 may also implement an input function as part of the input unit 306.
In an embodiment of the present application, a graphical user interface is generated on touch screen 303 by processor 301 executing a gaming application. The touch display 303 is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface.
The radio frequency circuitry 304 may be used to transceive radio frequency signals to establish wireless communications with a network device or other computer device via wireless communications.
The audio circuit 305 may be used to provide an audio interface between a user and a computer device through a speaker, microphone. The audio circuit 305 may transmit the received electrical signal after audio data conversion to a speaker, and convert the electrical signal into a sound signal for output by the speaker; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 305 and converted into audio data, which are processed by the audio data output processor 301 for transmission to, for example, another computer device via the radio frequency circuit 304, or which are output to the memory 302 for further processing. The audio circuit 305 may also include an ear bud jack to provide communication of the peripheral ear bud with the computer device.
The input unit 306 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 307 is used to power the various components of the computer device 300. Alternatively, the power supply 307 may be logically connected to the processor 301 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 307 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 14, the computer device 300 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which will not be described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the above, in the computer device provided in this embodiment, the moving rocker is switched to a shelter rocker for displaying by responding to the master virtual character entering the virtual shelter, where the shelter rocker includes a chassis and a rocker slider, and a relative positional relationship between the rocker slider and the chassis is used to characterize a relative positional relationship between the master virtual character and the virtual shelter; then, in response to a movement operation for the rocker slider, a target position of the master virtual character with respect to the virtual shelter after movement is determined based on a display position of the rocker slider with respect to the chassis at the end of the movement operation, and the master virtual character is controlled to move to the target position. In the embodiment of the application, when a player controls the virtual character to enter the virtual shelter, the conventional movable rocker can be switched to the shelter rocker matched with the shape of the virtual shelter, and the player can quickly adjust the position of the virtual character relative to the virtual shelter by adjusting the display position of the rocker sliding block on the shelter rocker relative to the chassis, so that the operation steps of the player for controlling the virtual character to move in the shelter are simplified, the operation time is saved, and the game interaction efficiency is improved; and the conventional movable rocker is switched to the shelter rocker matched with the shape of the virtual shelter, so that a player can intuitively know the hiding range of the virtual shelter, and the player can fully know the corresponding safety range of the virtual shelter when continuously controlling the virtual character to move to other surfaces in the virtual shelter, and the game experience of the player is improved.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium having stored therein a plurality of computer programs that can be loaded by a processor to perform steps in any of the game interaction methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
Switching the movable rocker to a shelter rocker for display in response to the master virtual character entering the virtual shelter, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the master virtual character and the virtual shelter;
And responding to the movement operation of the rocker slider, determining a target position of the main control virtual character relative to the virtual shelter after moving based on the display position of the rocker slider relative to the chassis when the movement operation is finished, and controlling the main control virtual character to move to the target position.
In an embodiment, the shape of the chassis matches the contour of the virtual shelter, which is the contour of the virtual shelter in a top view.
In one embodiment, the chassis includes a plurality of sides, each side representing a respective one of the faces of the virtual shelter.
In an embodiment, the determining, based on the display position of the rocker slider relative to the chassis at the end of the moving operation, a target position of the master virtual character relative to the virtual shelter after moving, and controlling the master virtual character to move to the target position includes:
Determining a target edge of the rocker slider on the chassis when the moving operation is finished, wherein the target edge is one edge of the chassis;
Determining a target surface of the virtual shelter represented by the target edge, wherein the target surface is one surface of the virtual shelter;
And controlling the master control virtual role to move to the area associated with the target surface.
In an embodiment, the determining, in response to the movement operation for the rocker slider, a target position of the master virtual character relative to the virtual shelter after the movement of the master virtual character based on a display position of the rocker slider relative to the chassis at an end of the movement operation, and controlling the movement of the master virtual character to the target position includes:
and responding to the movement operation of the rocker slider along the chassis edge, determining a target position of the main control virtual character relative to the virtual shelter after the movement of the main control virtual character based on the position of the rocker slider on the chassis edge when the movement operation is finished, and controlling the main control virtual character to move to the target position.
In an embodiment, the method further comprises:
and displaying first prompt information on the chassis based on the initial position of the rocker slider on the chassis and the position of the rocker slider on the edge of the chassis when the moving operation is finished, wherein the first prompt information is used for representing the moving track of the rocker slider.
In an embodiment, the method further comprises:
Determining a moving track of the master control virtual character to the target position according to the target position;
And displaying second prompt information in the virtual scene, wherein the second prompt information is used for representing the movement track.
In an embodiment, the determining the movement track of the master virtual character to the target position according to the target position includes:
Determining a shortest path for the master virtual character to move from a current position to the target position;
and taking the moving track corresponding to the shortest path as the moving track of the master control virtual character to the target position.
In an embodiment, the method further comprises:
and when the master control virtual character is controlled to move to the target position, the virtual lens is adjusted.
In an embodiment, the method further comprises:
And after the main control virtual character is controlled to move to the target position, rotating the shelter rocker so that the rocker slider is positioned at the lower side of the chassis.
In an embodiment, the method further comprises:
and in response to a moving operation for the rocker slider, when the rocker slider is separated from the chassis, controlling the master virtual character to be separated from the virtual shelter, and switching the shelter rocker to a moving rocker.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Thanks to the computer program stored in the storage medium, the mobile rocker can be switched to a shelter rocker for display by responding to the entry of the master virtual character into the virtual shelter, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the master virtual character and the virtual shelter; then, in response to a movement operation for the rocker slider, a target position of the master virtual character with respect to the virtual shelter after movement is determined based on a display position of the rocker slider with respect to the chassis at the end of the movement operation, and the master virtual character is controlled to move to the target position. In the embodiment of the application, when a player controls the virtual character to enter the virtual shelter, the conventional movable rocker can be switched to the shelter rocker matched with the shape of the virtual shelter, and the player can quickly adjust the position of the virtual character relative to the virtual shelter by adjusting the display position of the rocker sliding block on the shelter rocker relative to the chassis, so that the operation steps of the player for controlling the virtual character to move in the shelter are simplified, the operation time is saved, and the game interaction efficiency is improved; and the conventional movable rocker is switched to the shelter rocker matched with the shape of the virtual shelter, so that a player can intuitively know the hiding range of the virtual shelter, and the player can fully know the corresponding safety range of the virtual shelter when continuously controlling the virtual character to move to other surfaces in the virtual shelter, and the game experience of the player is improved.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The above describes in detail a game interaction method, a game interaction device, a game interaction computer device and a game interaction computer readable storage medium provided by the embodiments of the present application, and specific examples are applied to illustrate the principles and implementations of the present application, where the descriptions of the above embodiments are only used to help understand the technical solution and core ideas of the present application; those of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (14)

1. A game interaction method, characterized in that a graphical user interface is provided by a terminal device, the graphical user interface comprising at least a part of a virtual scene, a virtual shelter located in the virtual scene, a master virtual character controlled by the terminal device, and a mobile rocker for controlling the master virtual character to move in the virtual scene, the method comprising:
Switching the movable rocker to a shelter rocker for display in response to the master virtual character entering the virtual shelter, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the master virtual character and the virtual shelter;
And responding to the movement operation of the rocker slider, determining a target position of the main control virtual character relative to the virtual shelter after moving based on the display position of the rocker slider relative to the chassis when the movement operation is finished, and controlling the main control virtual character to move to the target position.
2. The method of claim 1, wherein the shape of the chassis matches a contour of the virtual shelter, the contour of the virtual shelter being a contour of the virtual shelter from a top view.
3. The method of claim 2, wherein the chassis includes a plurality of sides, each side being used to characterize a respective one of the faces of the virtual shelter.
4. The method of claim 3, wherein the determining a target position of the master avatar relative to the virtual shelter after movement based on the display position of the rocker slider relative to the chassis at the end of the movement operation, and controlling the master avatar to move to the target position, comprises:
Determining a target edge of the rocker slider on the chassis when the moving operation is finished, wherein the target edge is one edge of the chassis;
Determining a target surface of the virtual shelter represented by the target edge, wherein the target surface is one surface of the virtual shelter;
And controlling the master control virtual role to move to the area associated with the target surface.
5. The method of claim 1, wherein the determining a target position relative to the virtual shelter after movement of the master avatar and controlling movement of the master avatar to the target position based on a display position of the rocker slider relative to the chassis at an end of the movement operation in response to the movement operation for the rocker slider comprises:
And responding to the movement operation of the rocker slider along the chassis edge, determining a target position of the main control virtual character relative to the virtual shelter after the movement of the main control virtual character based on the position of the rocker slider on the chassis edge when the movement operation is finished, and controlling the main control virtual character to move to the target position.
6. The method of claim 5, wherein the method further comprises:
and displaying first prompt information on the chassis based on the initial position of the rocker slider on the chassis and the position of the rocker slider on the edge of the chassis when the moving operation is finished, wherein the first prompt information is used for representing the moving track of the rocker slider.
7. The method according to claim 1, wherein the method further comprises:
Determining a moving track of the master control virtual character to the target position according to the target position;
And displaying second prompt information in the virtual scene, wherein the second prompt information is used for representing the movement track.
8. The method of claim 7, wherein the determining a movement trajectory of the master avatar to the target location based on the target location comprises:
Determining a shortest path for the master virtual character to move from a current position to the target position;
and taking the moving track corresponding to the shortest path as the moving track of the master control virtual character to the target position.
9. The method according to claim 1, wherein the method further comprises:
and when the master control virtual character is controlled to move to the target position, the virtual lens is adjusted.
10. The method according to claim 1, wherein the method further comprises:
And after the main control virtual character is controlled to move to the target position, rotating the shelter rocker so that the rocker slider is positioned at the lower side of the chassis.
11. The method according to claim 1, wherein the method further comprises:
and in response to a moving operation for the rocker slider, when the rocker slider is separated from the chassis, controlling the master virtual character to be separated from the virtual shelter, and switching the shelter rocker to a moving rocker.
12. A game interaction device, characterized in that a graphical user interface is provided by a terminal device, the graphical user interface comprising at least a part of a virtual scene, a virtual shelter located in the virtual scene, a master virtual character controlled by the terminal device, and a mobile rocker, the mobile rocker being used for controlling the master virtual character to move in the virtual scene, comprising:
the first response unit is used for responding to the main control virtual character entering the virtual shelter and switching the movable rocker into a shelter rocker for displaying, wherein the shelter rocker comprises a chassis and a rocker slider, and the relative position relationship between the rocker slider and the chassis is used for representing the relative position relationship between the main control virtual character and the virtual shelter;
and the second response unit is used for responding to the movement operation of the rocker slider, determining the target position of the main control virtual character relative to the virtual shelter after moving based on the display position of the rocker slider relative to the chassis when the movement operation is finished, and controlling the main control virtual character to move to the target position.
13. A computer device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps in the game interaction method of any of claims 1 to 11.
14. A computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps in the game interaction method of any of claims 1 to 11.
CN202410269681.5A 2024-03-08 2024-03-08 Game interaction method, game interaction device, computer equipment and computer readable storage medium Pending CN118001735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410269681.5A CN118001735A (en) 2024-03-08 2024-03-08 Game interaction method, game interaction device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410269681.5A CN118001735A (en) 2024-03-08 2024-03-08 Game interaction method, game interaction device, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN118001735A true CN118001735A (en) 2024-05-10

Family

ID=90945167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410269681.5A Pending CN118001735A (en) 2024-03-08 2024-03-08 Game interaction method, game interaction device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN118001735A (en)

Similar Documents

Publication Publication Date Title
CN113398590B (en) Sound processing method, device, computer equipment and storage medium
CN113426124A (en) Display control method and device in game, storage medium and computer equipment
JP2023526219A (en) Method, apparatus, device, medium and computer program for selecting virtual object interaction mode
CN113332721B (en) Game control method, game control device, computer equipment and storage medium
CN114159789A (en) Game interaction method and device, computer equipment and storage medium
CN115645912A (en) Game element display method and device, computer equipment and storage medium
CN115999153A (en) Virtual character control method and device, storage medium and terminal equipment
CN115869623A (en) Virtual weapon processing method and device, computer equipment and storage medium
CN115212572A (en) Control method and device of game props, computer equipment and storage medium
CN116139483A (en) Game function control method, game function control device, storage medium and computer equipment
CN114225412A (en) Information processing method, information processing device, computer equipment and storage medium
CN118001735A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN113398564B (en) Virtual character control method, device, storage medium and computer equipment
CN116850594A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN117861213A (en) Game skill processing method, game skill processing device, computer equipment and storage medium
CN117482523A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN117462949A (en) Game skill processing method, game skill processing device, computer equipment and storage medium
CN118179012A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN117643723A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN118022318A (en) Game control processing method and device, computer equipment and storage medium
CN117482516A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN118253093A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN116099199A (en) Game skill processing method, game skill processing device, computer equipment and storage medium
CN117160031A (en) Game skill processing method, game skill processing device, computer equipment and storage medium
CN116328301A (en) Information prompting method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination