Game interaction method and device, storage medium and electronic device

By displaying the target path and view control controls in the game interface, and controlling the virtual camera to move along the path, the problem of cumbersome path viewing is solved, achieving convenient path viewing and improved game interaction efficiency.

CN119971493BActive Publication Date: 2025-12-12NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510213910.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-25
Publication Date
2025-12-12
Estimated Expiration
2045-02-25

AI Technical Summary

Technical Problem

In existing game interaction methods, the path-finding operation is cumbersome, resulting in low efficiency in both path-finding and game interaction.

Method used

By displaying a graphical user interface, the target path and its view control controls are displayed in the interface in response to path setting operations, and the virtual camera is controlled to move along the target path in response to the triggering operation of the view control controls, so as to conveniently display a virtual scene map.

Benefits of technology

The path viewing process has been simplified, improving its efficiency and thus enhancing game interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119971493B_ABST
    Figure CN119971493B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a game interaction method and device, a storage medium and an electronic device. A graphical user interface is displayed, the graphical user interface including at least part of a virtual scene map. In response to a path setting operation, at least part of a target path and a view angle control control corresponding to the target path are displayed in the graphical user interface. In response to a first trigger operation on the view angle control control, a virtual camera is controlled to move along the target path, so that a virtual scene map captured by the virtual camera after movement is displayed in the graphical user interface. In this way, by triggering the view angle control control corresponding to the target path, the virtual camera is controlled to move along the target path, so that the virtual scene map captured by the virtual camera after movement is displayed in the graphical user interface, the path viewing operation is simplified, the path viewing efficiency is effectively improved, and the game interaction efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the game technical field, and in particular to a game interaction method and device, a storage medium and an electronic device. BACKGROUND

[0002] With the rapid development of life and technology, people often entertain through game applications. In some strategy games (Strategy Game, SLG for short), players often need to view a large world map in the game to observe the situation of each player, each team or each region in the game to make game decisions. If the situation on a path in the large world map needs to be observed (for example, observing the situation of the path between my city and the enemy city to decide whether to send troops to attack), the player needs to move the view angle by sliding the screen to observe all the situations on the path.

[0003] In the research and practice of the prior art, it is found that in the existing game interaction method, if a long path needs to be observed, the player needs to move the view angle by constantly sliding the screen, which is a relatively cumbersome viewing operation, resulting in low path viewing efficiency and poor game interaction efficiency. SUMMARY

[0004] The embodiments of the present application provide a game interaction method and device, a storage medium and an electronic device, which can simplify the path viewing operation, effectively improve the path viewing efficiency, and further improve the game interaction efficiency.

[0005] The embodiments of the present application provide a game interaction method, which comprises:

[0006] displaying a graphical user interface, wherein the graphical user interface comprises at least part of a virtual scene map;

[0007] in response to a path setting operation, displaying at least part of a target path and a view angle control control in the graphical user interface, wherein the target path corresponds to the view angle control control;

[0008] in response to a first trigger operation on the view angle control control, controlling a virtual camera to move along the target path, so as to display the virtual scene map captured by the virtual camera after moving in the graphical user interface.

[0009] Correspondingly, the embodiments of the present application provide a game interaction device, which comprises:

[0010] a first display unit configured to display a graphical user interface, wherein the graphical user interface comprises at least part of a virtual scene map;

[0011] a second display unit, configured to display, in response to a path setting operation, at least a part of a target path and a view angle control control corresponding to the target path in the graphical user interface;

[0012] a view angle moving unit, configured to control the virtual camera to move along the target path in response to a first trigger operation on the view angle control control, so as to display a virtual scene map captured by the virtual camera after moving in the graphical user interface.

[0013] In addition, an embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is adapted to be loaded by a processor to execute steps in any one of the game interaction methods provided by the embodiments of the present application.

[0014] In addition, an embodiment of the present application further provides an electronic device, which comprises a processor and a memory, the memory stores an application program, and the processor is used to run the application program in the memory to implement the game interaction method provided by the embodiments of the present application.

[0015] An embodiment of the present application further provides a computer program product, which comprises a computer program stored in a computer readable storage medium; when a processor of an electronic device reads the computer program from the computer readable storage medium, the processor executes the computer program, so that the electronic device executes steps in the game interaction method provided by the embodiments of the present application.

[0016] An embodiment of the present application displays a graphical user interface, the graphical user interface comprises at least a part of a virtual scene map; in response to a path setting operation, at least a part of a target path and a view angle control control corresponding to the target path are displayed in the graphical user interface; in response to a first trigger operation on the view angle control control, the virtual camera is controlled to move along the target path, so as to display a virtual scene map captured by the virtual camera after moving in the graphical user interface. In this way, at least a part of a target path and a view angle control control corresponding to the target path are displayed in the graphical user interface in response to a path setting operation, so that the virtual camera can be controlled to move along the target path based on a trigger operation on the view angle control control, a virtual scene map captured by the virtual camera after moving is displayed in the graphical user interface in a convenient operation, a game view angle is moved along the target path, the path viewing operation is simplified, the path viewing efficiency is effectively improved, and the game interaction efficiency is further improved. BRIEF DESCRIPTION OF DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

[0018] Figure 1 is a game interaction method implementation scene schematic diagram provided by an embodiment of the present application;

[0019] Figure 2 is a flowchart of a game interaction method provided by an embodiment of the present application;

[0020] Figure 3a is a path setting schematic diagram of a game interaction method provided by an embodiment of the present application;

[0021] Figure 3b is a path display schematic diagram of a game interaction method provided by an embodiment of the present application;

[0022] Figure 3c is another path display schematic diagram of a game interaction method provided by an embodiment of the present application;

[0023] Figure 3d is a path editing schematic diagram of a game interaction method provided by an embodiment of the present application;

[0024] Figure 4 is a path viewing schematic diagram of a game interaction method provided by an embodiment of the present application;

[0025] Figure 5 is a structural schematic diagram of a game interaction device provided by an embodiment of the present application;

[0026] Figure 6 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0028] The present application provides a game interaction method, device, storage medium and electronic device. The game interaction device can be integrated in an electronic device, which can be a server, a terminal or other devices.

[0029] The server can be a standalone physical server, a server cluster composed of multiple physical servers, or a distributed system, and can also be 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, content delivery network (CDN), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal can include but is not limited to a mobile phone, a computer, a smart voice interaction device, a smart home appliance, a vehicle-mounted terminal, an aircraft, and the like. The terminal and the server can be connected directly or indirectly through wired or wireless communication, which is not limited in the present application.

[0030] Please refer to Figure 1 , for example, the game interaction device is integrated in an electronic device, Figure 1 The implementation scenario of the game interaction method provided by the embodiments of the present application is shown in the figure, wherein the electronic device can be a terminal, the electronic device can display a graphical user interface, and the graphical user interface includes at least part of a virtual scene map; in response to a path setting operation, at least part of a target path and a view angle control control in the graphical user interface are displayed, and the target path corresponds to the view angle control control; in response to a first trigger operation for the view angle control control, the virtual camera is controlled to move along the target path, so that the virtual scene map captured by the virtual camera after moving is displayed in the graphical user interface.

[0031] It should be noted that Figure 1 The implementation environment scenario of the game interaction method shown in the figure is only an example, and the implementation environment scenario of the game interaction method described in the embodiments of the present application is used to more clearly illustrate the technical solutions of the embodiments of the present application, and does not constitute a limitation on the technical solutions provided by the embodiments of the present application. Those skilled in the art can know that the technical solutions provided by the present application are also applicable to similar technical problems as data processing evolves and new business scenarios appear.

[0032] The scheme provided by the embodiments of the present application is specifically described by the following embodiments. It should be noted that the description order of the following embodiments does not limit the preferred order of the embodiments.

[0033] This embodiment will be described from the perspective of a game interaction device, which can be integrated in an electronic device, which can be a terminal and / or a server, which is not limited in the present application.

[0034] Please refer to Figure 2 , Figure 2 The flowchart of the game interaction method provided by the embodiments of the present application is shown in the figure. The game interaction method includes:

[0035] In step 101, a graphical user interface is displayed.

[0036] The graphical user interface can include at least a partial virtual scene map.

[0037] The graphical user interface can be obtained by executing a software application on a processor of a terminal device and rendering the interface on a display. The graphical user interface can be a display screen interface of the terminal device. The graphical user interface can present the entire virtual scene or only a partial virtual scene. The virtual scene can also be referred to as a game scene. The virtual scene can be a virtual scene displayed (or provided) by a game application when the game application is running on a terminal or a server. A player can play a game in the virtual scene by controlling a game object. Alternatively, the virtual scene is a simulated environment of a real world, or a semi-simulated and semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be any one of a two-dimensional virtual scene and a three-dimensional virtual scene. The virtual environment can be a sky, a land, a sea, or a venue existing independently in the virtual scene for a game battle, and the like. Embodiments of the present application do not limit the virtual scene and the virtual environment. The virtual scene map can be a map-type virtual scene, for example, a large world map in a game.

[0038] In step 102, in response to a path setting operation, at least a partial path of a target path and a perspective control control corresponding to the target path are displayed in the graphical user interface.

[0039] The path setting operation can be an operation of setting a path. The target path can be a path set on the virtual scene map. The target path can be used to indicate a route in the virtual scene map, for example, a path from one location to another location in the virtual scene map. The perspective control control can be a control for controlling a game perspective for observing the target path. The game perspective can be an angle at which a player observes and operates a game world in a game. In embodiments of the present application, the game perspective can be a perspective at which the player observes the virtual scene map under the target path. The virtual camera can be a main camera in the game scene, and can be used to control the game perspective in the game scene.

[0040] The way in which at least a partial path of the target path is displayed in the graphical user interface in response to the path setting operation can be various. For example, in response to the path setting operation, a starting point and an ending point of the path can be determined. The target path can be generated in the virtual scene map based on the starting point and the ending point. At least a partial path of the target path can be displayed in the graphical user interface.

[0041] The start point and the end point of the path can be determined in various manners in response to the path setting operation. For example, the start point and the end point of the path can be determined based on the positions of the two position points in the virtual scene map in response to a second trigger operation of the two position points in the virtual scene map.

[0042] The position points can be points in the virtual scene map, and the second trigger operation can be a trigger operation of the two position points, which can include clicking, double-clicking, long pressing, pressing, sliding, or the like. For example, the second trigger operation can include double-clicking, clicking, or pressing the two position points simultaneously.

[0043] Optionally, the second trigger operation can include double-clicking the two position points simultaneously.

[0044] For example, as shown in FIG. 1, a player can click two position points a and b in a virtual scene map to set a target path. Figure 3a , Figure 3a FIG. 1 is a path setting schematic diagram of a game interaction method provided by an embodiment of the present application. A player can zoom the virtual scene map, so that the zoom ratio of the virtual scene map is such that the start point and the end point of the target path to be set can be displayed simultaneously in a graphical user interface. Thus, assuming that the two position points include position point a and position point b, the player can double-click the position point a and the position point b as the start point and the end point of the target path simultaneously by two fingers, so that at least part of the target path and the view angle control control corresponding to the target path can be displayed in the graphical user interface.

[0045] For example, as shown in FIG. 2, a player can double-click two position points a and b in a virtual scene map to set a target path. Figure 3b , Figure 3b FIG. 2 is a path display schematic diagram of a game interaction method provided by an embodiment of the present application. After the player double-clicks the start point and the end point of the target path simultaneously, a visible line can be formed between the two position points, that is, the target path. Meanwhile, a view angle control control corresponding to the target path can be displayed on one side of the user interface, for example, in the form of a sliding bar.

[0046] The start point and the end point of the path can be determined in various manners based on the positions of the two position points in the virtual scene map. For example, the position information of a current game object in the virtual scene map can be acquired, and the distances between the two position points and the current game object can be determined according to the position information, so that the position point closer to the current game object can be determined as the start point of the path to be generated, and the position point farther from the current game object can be determined as the end point of the path to be generated. For example, as shown in FIG. 3, a player can double-click two position points a and b in a virtual scene map to set a target path. Figure 3a For example, as shown in FIG. 3, assuming that the position of the current game object is close to the position point a, the position point a can be determined as the start point of the path, and the position point b can be determined as the end point of the path.

[0047] Optionally, the position information can include a position of the current game object in the virtual scene map, or can include a position of a camp in which the current game object is located in the virtual scene map, etc. The current game object can be a game object controlled by a current player.

[0048] In an embodiment, the second triggering operation can include double-clicking, long-pressing, clicking, etc. on two position points in sequence. In this way, the position point triggered first can be determined as a starting point of the path, and the position point triggered last can be determined as an ending point of the path.

[0049] In the graphical user interface, at least part of the target path can be displayed in a variety of ways. For example, at least part of the target path can be displayed in the graphical user interface in response to a zooming operation on the virtual scene map.

[0050] The zooming operation can be an operation of zooming in or out on the virtual scene map. After zooming in or out on the virtual scene map, the target path can not be displayed in the graphical user interface in its entirety, and only part of the target path can be displayed in the graphical user interface.

[0051] Optionally, the view control control can be updated based on the zoomed virtual scene map. For example, a position of the target path that is at the center of the field of view of the virtual camera, i.e., a position of the target path that is at the center of the current game view, can be displayed in a central region of the graphical user interface. After zooming in or out on the virtual scene map, if only part of the target path is displayed in the graphical user interface, a position of the target path that is at the center of the field of view of the virtual camera can be determined, and then the view control control can be updated according to the correspondence between the target path and the view control control, so that a position indicated by the view control control currently matches the position of the target path that is at the center of the field of view of the virtual camera.

[0052] The position of the target path that is at the center of the field of view of the virtual camera can be determined in a variety of ways. For example, a position of the target path that is closest to the center of the graphical user interface can be determined as the position of the target path that is at the center of the field of view of the virtual camera. Optionally, a center position of part of the target path displayed in the graphical user interface can also be determined as the position of the target path that is at the center of the field of view of the virtual camera, etc.

[0053] In an embodiment, the view control control can be a slider control. For example, please continue to refer to Figure 3b , and please refer to Figure 3c , Figure 3cis another path display schematic diagram of a game interaction method provided in embodiments of the present application. The sliding bar control can include a sliding track and a slider. Each position in the sliding track has a mapping relationship with each position in the target path. The position of the slider on the sliding track indicates the position in the target path that is at the center of the field of view of the virtual camera. Thus, after zooming in or out of the virtual scene map, the position in the target path that is at the center of the field of view of the virtual camera will change, and thus the position of the slider in the perspective control control needs to be updated accordingly. For example, before zooming in or out of the virtual scene map, the center of the field of view of the virtual camera is at the starting point of the target path. Thus, Figure 3b the position of the slider in the target path is at the starting point, and after zooming in or out of the virtual scene map, the center of the field of view of the virtual camera changes, i.e., the position of the center of the field of view of the virtual camera in the target path changes, Figure 3c the position of the slider in the target path moves up to indicate the position of the center of the field of view of the changed virtual camera in the target path.

[0054] In an embodiment, the starting point and the ending point of the target path can also be determined by inputting information such as the coordinates or the location name of the starting point and the ending point of the path to be set, so as to display the target path and the perspective control control corresponding to the target path in the graphical user interface.

[0055] Optionally, a more flexible observation path can be set based on actual needs to improve the accuracy and flexibility of path setting, and thus the path viewing efficiency can be improved. Specifically, in response to a movement operation on a first position point in the target path, a moved first position point can be determined, and the moved first position point can be taken as a turning point of the target path to obtain an updated target path.

[0056] The first position point can be a position point in the target path, the movement operation can be an operation of moving the first position point, and the turning point can be a position point in the target path at which the path turns.

[0057] Optionally, the movement operation can include an operation of clicking and dragging the first position point.

[0058] For example, please refer to Figure 3d , Figure 3d is a path editing schematic diagram of a game interaction method provided in embodiments of the present application. A player can click and drag a first position point in the target path to move the first position point to obtain a moved first position point, which is taken as a turning point in the target path to make the originally straight target path turn. Through such an operation, a more winding and flexible observation path can be set to improve the path viewing effect.

[0059] Optionally, the view angle control control can also be updated based on the turning point, so that the player can move the game view angle more intuitively, accurately and conveniently based on the view angle control control, and the path viewing efficiency is improved. For example, the view angle control control can be updated based on the turning point, so that the view angle control control includes the indication information corresponding to the turning point, the indication information includes the identifier indicating the turning point, and / or the shape of the view angle control control matches the direction of the updated target path.

[0060] The indication information can be information indicating the turning point, which is used to indicate the position of the turning point existing in the target path on the view angle control control. For example, the indication information can include an identifier indicating the turning point, such as a point identifier or a circular identifier.

[0061] In an embodiment, it is assumed that the view angle control control is a slider control, and each position in the sliding track of the slider control has a mapping relationship with each position in the target path. Therefore, the corresponding position in the sliding track can be determined according to the position of the turning point in the target path, and the indication information corresponding to the turning point can be displayed on the corresponding position of the sliding track.

[0062] In an embodiment, the shape of the view angle control control can be adjusted according to the direction of the target path. For example, it is assumed that a turning point exists at the midpoint of the target path. A turning point can be set at the middle position of the view angle control control, so that the shape of the view angle control control matches the direction of the updated target path.

[0063] In step 103, in response to a first trigger operation on the view angle control control, the virtual camera is controlled to move along the target path, so as to display the virtual scene map captured by the virtual camera after moving in the graphical user interface.

[0064] The first trigger operation can be a trigger operation on the view angle control control, for example, a sliding operation, a clicking operation, etc. The virtual camera can be a main camera in the game scene, which can be used to control the game view angle in the game scene. The game view angle can refer to the angle at which the player observes and operates the game world in the game. In the embodiments of the present application, the game view angle can be the view angle at which the player observes the virtual scene map under the target path. The virtual camera can be located above the target path to capture specific scene information of the target path. Controlling the virtual camera to move along the target path can control the game view angle to move on the target path, that is, the center of the field of view of the virtual camera moves on the target path.

[0065] In response to a first triggering operation on the view angle control control, the virtual camera can be controlled to move along the target path in a variety of ways. For example, the view angle control control can include a sliding track and a slider. In response to a sliding operation on the slider on the sliding track, the virtual camera can be controlled to move along the target path according to the sliding operation.

[0066] For example, assume that the length of the sliding track is L and the length of the target path is 5L. If the slider is slid by 1 unit of distance on the sliding track, the virtual camera can be controlled to move by 5 units of distance, i.e., the position of the center of the field of view of the virtual camera on the target path also moves by 5 units of distance. For details, please refer to Figure 3c For example, assume that the lowest point of the sliding track corresponds to the left starting point of the target path and the highest point of the sliding track corresponds to the right end point of the target path. If the slider is slid upward by 0.5 unit of distance on the sliding track, the virtual camera can be controlled to move rightward by 2.5 units of distance, i.e., the position of the center of the field of view of the virtual camera on the target path also moves rightward by 2.5 units of distance.

[0067] In response to a first triggering operation on the view angle control control, the virtual camera can be controlled to move along the target path in a variety of ways. For example, the view angle control control can include a sliding track and a slider. In response to a sliding operation on the slider on the sliding track, the virtual camera can be controlled to move along the target path according to the sliding operation.

[0068] The position to which the virtual camera is to be moved can be determined according to the position of the slider on the sliding track. For example, the target position on the target path corresponding to the position of the slider on the sliding track can be determined according to the mapping relationship between the positions on the sliding track and the positions on the target path. Then, the virtual camera can be controlled to move in the direction of the target position, so that the virtual camera is located directly above the target position after moving, i.e., the center of the field of view of the virtual camera is located at the target position on the target path.

[0069] For example, please refer to Figure 4 , Figure 4is a path viewing schematic diagram of a game interaction method provided by an embodiment of the present application. The view angle control control includes a sliding track and a slider. In the mapping relationship, the starting point of the target path corresponds to one end point of the sliding track, for example, the lower end point. The terminal point of the target path corresponds to another end point of the sliding track, for example, the upper end point. The midpoint of the target path corresponds to the center point of the sliding track. In this way, the position of the sliding operation on the sliding track in the target path can be determined based on the mapping relationship. In this way, the player can control the game view angle to move on the target path by sliding the sliding track on the view angle control control, thereby realizing convenient viewing of the target path in the large map.

[0070] In an embodiment, in response to the first trigger operation on the view angle control control, the manner of controlling the virtual camera to move along the target path can also be various. For example, the view angle control control can include at least one direction control. In this way, in response to the first trigger operation on a target direction control in the direction control, the moving direction can be determined based on the target direction control, and the moving distance can be determined based on the interaction parameter of the first trigger operation. The virtual camera is controlled to move along the target path based on the moving direction and the moving distance.

[0071] The direction control can be a control indicating a direction. For example, the direction control can include a direction control indicating a positive direction and a direction control indicating a negative direction. The direction control can also include a direction control indicating a left direction and a direction control indicating a right direction. The direction control can also include a direction control indicating an upward direction and a direction control indicating a downward direction. The target direction control can be the direction control operated by the first trigger operation. In this way, the direction indicated by the target direction control is the moving direction. The interaction parameter can include the operation time or the operation times of the target direction control. When the first trigger operation is a click operation, the interaction parameter can be the operation times, that is, the click times. When the first trigger operation is a long press operation, the interaction parameter can be the long press time, that is, the operation time.

[0072] In an embodiment, when the virtual camera is moved based on the target path, a control for displaying specific scene information of the position in the target path at the center of the field of view of the virtual camera can be provided. In this way, the player can more intuitively and conveniently observe the specific situation in the target path, thereby improving the path viewing efficiency. For example, a scene viewing control can be displayed based on the observation position in the target path corresponding to the moved virtual camera. The scene viewing control is used to display the specific scene information of the observation position.

[0073] The observation position can be a position on the target path that is at the center of the field of view of the virtual camera after movement. The scene viewing control can be a control for viewing specific scene information of the observation position. The specific scene information can be scene details of a virtual scene map at the observation position.

[0074] Optionally, the scene viewing control can be used to display the specific scene information of the observation position after being triggered. The specific scene information of the observation position can be directly displayed in a manner similar to a magnifying glass.

[0075] Optionally, the specific scene information of the observation position can also be directly displayed at the corresponding observation position on the target path in the game view. This allows the player to more intuitively and conveniently observe the specific situation on the target path and improves the path viewing efficiency. For example, a scene magnifying glass control can be displayed based on the observation position on the target path corresponding to the game view after movement. The specific scene information of the observation position can be displayed in the scene magnifying glass control.

[0076] In some SLG games, the player often needs to view a large world map in the game to observe the situation of each player, each team, or each region in the game to make game decisions. If the situation on a route needs to be observed in real time (for example, observing the situation on the path from the player's city to the enemy's city to decide whether to send troops to attack), if the route is very long, the player cannot see all the situations on the route in a suitable map zoom ratio. The player can only move the view by constantly sliding the screen, which is relatively cumbersome to operate. Sometimes, the player needs to frequently observe the route back and forth, and the player needs to move the view by sliding the screen back and forth. This viewing operation is relatively cumbersome, the path viewing efficiency is low, and the game interaction efficiency is poor.

[0077] Therefore, an embodiment of the present application provides a game interaction method. The starting point and the ending point of a route to be observed are set. A view control control is displayed in a graphical user interface. The player can move a slider in the view control control on a sliding track to control the game view to move on the route. The player can conveniently observe the situation on the route on the large map under the self-defined route, and the path viewing efficiency is effectively improved. In addition, the player can set the route as a curved route including multiple turning points to set a more flexible and more accurate observation route and improve the game interaction efficiency.

[0078] It can be known from the above that, by displaying the graphical user interface, the graphical user interface includes at least part of the virtual scene map; in response to the path setting operation, at least part of the target path and the view angle control control corresponding to the target path are displayed in the graphical user interface; in response to the first trigger operation on the view angle control control, the virtual camera is controlled to move along the target path, so that the virtual scene map captured by the virtual camera after moving is displayed in the graphical user interface. In this way, by displaying at least part of the target path and the view angle control control corresponding to the target path in the graphical user interface in response to the path setting operation, the virtual camera can be controlled to move along the target path based on the trigger operation on the view angle control control, so that the virtual scene map captured by the virtual camera after moving is displayed in the graphical user interface in a convenient operation, the game view is moved along the target path, the path viewing operation is simplified, the path viewing efficiency is effectively improved, and the game interaction efficiency is further improved.

[0079] In order to better implement the above method, the embodiment of the application further provides a game interaction device, which can be integrated in an electronic device, and the electronic device can be a terminal.

[0080] For example, as shown in Figure 5 Fig. 1 is a structural schematic diagram of a game interaction device provided by an embodiment of the application, which can include a first display unit 201, a second display unit 202 and a view angle moving unit 203, as follows:

[0081] The first display unit 201 is configured to display a graphical user interface, and the graphical user interface includes at least part of a virtual scene map.

[0082] The second display unit 202 is configured to display at least part of a target path and a view angle control control corresponding to the target path in the graphical user interface in response to a path setting operation.

[0083] The view angle moving unit 203 is configured to control a virtual camera to move along the target path in response to a first trigger operation on the view angle control control, so that the virtual scene map captured by the virtual camera after moving is displayed in the graphical user interface.

[0084] In some embodiments, the second display unit 202 is configured to:

[0085] determine a starting point and an ending point of the path in response to the path setting operation;

[0086] generate the target path in the virtual scene map based on the starting point and the ending point;

[0087] display at least part of the target path in the graphical user interface.

[0088] In some embodiments, the step of determining the start point and the end point of the path in response to the path setting operation, is specifically used for:

[0089] In response to a second trigger operation on the two position points in the virtual scene map, determining the start point and the end point of the path based on the positions of the two position points in the virtual scene map.

[0090] In some embodiments, the second trigger operation includes a double-click operation on the two position points simultaneously.

[0091] In some embodiments, the step of displaying at least part of the target path in the graphical user interface, is specifically used for:

[0092] In response to a zoom operation on the virtual scene map, displaying at least part of the target path in the graphical user interface.

[0093] In some embodiments, the view angle control control includes a sliding track and a slider; the view angle moving unit 203 includes:

[0094] In response to a sliding operation on the slider on the sliding track, controlling the virtual camera to move along the target path according to the sliding operation, wherein the moving direction and the moving distance of the virtual camera are determined according to the moving direction and the moving distance of the sliding operation, respectively.

[0095] In some embodiments, the step of controlling the virtual camera to move along the target path according to the sliding operation on the slider on the sliding track, is specifically used for:

[0096] In response to a sliding operation of sliding the slider to the first end point of the sliding track, controlling the virtual camera to move along the target path so that the start point of the target path falls into the center of the current field of view.

[0097] In response to a sliding operation of sliding the slider to the second end point of the sliding track, controlling the virtual camera to move along the target path so that the end point of the target path falls into the center of the current field of view.

[0098] In some embodiments, the game interaction device further includes a scene viewing unit, configured to:

[0099] Based on the observation position corresponding to the moved virtual camera in the target path, display a scene viewing control, the scene viewing control being used to display specific scene information of the observation position.

[0100] In some embodiments, the game interaction device further includes a path editing unit, configured to:

[0101] In response to the movement operation on the first position point in the target path, a moved first position point is determined, and the moved first position point is taken as a turning point of the target path, to obtain an updated target path.

[0102] In an embodiment, the game interaction apparatus further comprises a control updating unit configured to:

[0103] Based on the turning point, the view control control is updated, so that the view control control comprises indication information corresponding to the turning point, and the indication information comprises an identifier indicating the turning point, and / or the shape of the view control control is matched with the trend of the updated target path.

[0104] In implementation, the above units can be implemented as independent entities, or can be combined as the same or several entities, and the implementation of the above units can refer to the method embodiments above, which will not be repeated here.

[0105] As can be seen from the above, the embodiment of the application displays a graphical user interface by the first display unit 201, the graphical user interface comprises at least part of the virtual scene map; the second display unit 202 displays at least part of the path of the target path and the view control control corresponding to the target path in the graphical user interface in response to the path setting operation; the view moving unit 203 controls the virtual camera to move along the target path in response to the first trigger operation on the view control control, to display the virtual scene map captured by the moved virtual camera in the graphical user interface. In this way, by displaying at least part of the path of the target path and the view control control corresponding to the target path in the graphical user interface in response to the path setting operation, the virtual camera can be controlled to move along the target path based on the trigger operation on the view control control, to display the virtual scene map captured by the moved virtual camera in the graphical user interface, to move the game view along the target path, to simplify the path viewing operation, to effectively improve the path viewing efficiency, and to further improve the game interaction efficiency.

[0106] The embodiment of the application further provides an electronic device, such as Figure 6 As shown in the figure, a structure schematic diagram of the electronic device related to the embodiment of the application is shown, which can be a terminal, and specifically:

[0107] The electronic 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. Those skilled in the art can understand that the structure of the electronic device shown in the figure does not constitute a limitation on the electronic device, and can include more or fewer components than shown in the figure, or combine certain components, or different component arrangements.

[0108] The processor 301 is the control center of the electronic device 300, and connects various parts of the entire electronic device 300 through various interfaces and lines, executes various functions and processes data of the electronic device 300 by running or loading software programs and / or modules stored in the memory 302 and calling data stored in the memory 302, thereby overall monitoring the electronic device 300.

[0109] In the embodiments of the present application, the processor 301 in the electronic device 300 will load the instructions corresponding to the processes of one or more application programs into the memory 302, and run the application programs stored in the memory 302 by the processor 301, thereby realizing various functions according to the following steps:

[0110] displaying a graphical user interface, the graphical user interface including at least part of a virtual scene map;

[0111] in response to a path setting operation, displaying at least part of a target path in the graphical user interface, and a view angle control control corresponding to the target path;

[0112] in response to a first trigger operation on the view angle control control, controlling a virtual camera to move along the target path, so as to display a virtual scene map captured by the virtual camera after moving in the graphical user interface.

[0113] In some embodiments, in response to the path setting operation, displaying at least part of the target path in the graphical user interface includes:

[0114] in response to the path setting operation, determining a starting point and an ending point of the path;

[0115] generating the target path in the virtual scene map based on the starting point and the ending point;

[0116] displaying at least part of the target path in the graphical user interface.

[0117] In some embodiments, in response to the path setting operation, determining the starting point and the ending point of the path includes:

[0118] In response to a second trigger operation on the two position points in the virtual scene map, a start point and an end point of the path are determined based on positions of the two position points in the virtual scene map.

[0119] In some embodiments, the second trigger operation includes a double-click operation on the two position points simultaneously.

[0120] In some embodiments, displaying at least a partial path of the target path in the graphical user interface includes:

[0121] In response to a zoom operation on the virtual scene map, displaying at least a partial path of the target path in the graphical user interface.

[0122] In some embodiments, the perspective control control includes a sliding track and a slider; in response to a first trigger operation on the perspective control control, controlling the virtual camera to move along the target path includes:

[0123] In response to a sliding operation of the slider on the sliding track, controlling the virtual camera to move along the target path according to the sliding operation, wherein a moving direction and a moving distance of the virtual camera are determined according to a moving direction and a moving distance of the sliding operation, respectively.

[0124] In some embodiments, in response to a sliding operation of the slider on the sliding track, controlling the virtual camera to move along the target path according to the sliding operation includes:

[0125] In response to a sliding operation of the slider to a first end point of the sliding track, controlling the virtual camera to move along the target path so that the start point of the target path falls into a center of a current field of view.

[0126] In response to a sliding operation of the slider to a second end point of the sliding track, controlling the virtual camera to move along the target path so that the end point of the target path falls into the center of the current field of view.

[0127] In some embodiments, the game interaction method provided by the embodiments of the present application further includes:

[0128] Based on an observation position corresponding to the moved virtual camera in the target path, displaying a scene viewing control, the scene viewing control being used to display specific scene information of the observation position.

[0129] In some embodiments, the game interaction method provided by the embodiments of the present application further includes:

[0130] In response to a moving operation on a first position point in the target path, determining a moved first position point, and taking the moved first position point as a turning point of the target path to obtain an updated target path.

[0131] In some embodiments, the game interaction method provided by the embodiments of the present application further includes:

[0132] Based on the turning point, the view control control is updated to include indication information corresponding to the turning point, the indication information including an identifier indicating the turning point, and / or the shape of the view control control is matched with the trend of the updated target path.

[0133] The scheme can display a graphical user interface, the graphical user interface including at least part of a virtual scene map; in response to a path setting operation, at least part of a path of a target path and a view control control corresponding to the target path are displayed in the graphical user interface; in response to a first trigger operation on the view control control, a virtual camera is controlled to move along the target path to display a virtual scene map captured by the virtual camera after moving in the graphical user interface. In this way, by displaying at least part of a path of a target path and a view control control corresponding to the target path in the graphical user interface in response to a path setting operation, the virtual camera can be controlled to move along the target path based on a trigger operation on the view control control, so as to display a virtual scene map captured by the virtual camera after moving in the graphical user interface with a convenient operation, and the game view is moved along the target path, which simplifies the path viewing operation and effectively improves the path viewing efficiency, and further improves the game interaction efficiency.

[0134] The specific implementation of each operation can be referred to the foregoing embodiments, which will not be described here.

[0135] Optionally, as shown in Figure 6 The electronic device 300 further includes a touch display screen 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 with the touch display screen 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 can understand that the structure of the electronic device shown in the Figure 6 The structure of the electronic device shown in the does not constitute a limitation on the electronic device, and can include more or fewer components than the diagram, or combine certain components, or different component arrangements.

[0136] The touch display screen 303 can be used to display a graphical user interface and receive operation instructions generated by user acting on the graphical user interface. The touch display screen 303 can include a display panel and a touch panel. The display panel can be used to display information input by the user or provided to the user and various graphical user interfaces of the electronic device, which can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel can be used to collect touch operations (such as operations of the user using a finger, a stylus or any suitable object or accessory on or near the touch panel) of the user on or near it and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel can include two parts of a touch detection device and a touch controller. The touch detection device detects the touch position of the user and detects the signals brought by the touch operation and transmits the signals to the touch controller; the touch controller receives the touch information from the touch detection device and converts it into touch coordinates and sends it to the processor 301, and can also receive commands from the processor 301 and execute them. The touch panel can cover the display panel, and when the touch panel detects a touch operation on or near it, it transmits to the processor 301 to determine the type of the touch event, and then the processor 301 provides corresponding visual output on the display panel according to the type of the touch event. In the embodiments of the present application, the touch panel and the display panel can be integrated into the touch display screen 303 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can realize the input and output functions as two independent components. That is, the touch display screen 303 can also realize the input function as part of the input unit 306.

[0137] The radio frequency circuit 304 can be used to transceive radio frequency signals to establish wireless communication with network devices or other electronic devices.

[0138] The audio circuit 305 can be used to provide an audio interface between the user and the electronic device through the speaker and the microphone. The audio circuit 305 can convert the received audio data into an electrical signal and transmit it to the speaker, which converts it into a sound signal output; on the other hand, the microphone collects the sound signal and converts it into an electrical signal, which is received by the audio circuit 305 and converted into audio data, and then the audio data is output to the processor 301 for processing, and then transmitted to another electronic device through the radio frequency circuit 304, or output to the memory 302 for further processing. The audio circuit 305 can also include an earphone jack to provide communication between the external earphone and the electronic device.

[0139] The input unit 306 can be configured to receive inputted digital, character information or user feature information (e.g. fingerprint, iris, face information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0140] The power supply 307 is configured to supply power to various components of the electronic device 300. Optionally, the power supply 307 can be logically connected to the processor 301 through a power management system, so as to realize functions such as management of charging, discharging and power consumption management through the power management system. The power supply 307 can also include one or more than one 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 any other components.

[0141] Although Figure 6 The electronic device 300 can also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc. which are not shown in the embodiments and will not be described herein.

[0142] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments. It should be noted that the electronic device provided in the embodiments and the game interaction method suitable for the game in the above embodiments belong to the same concept, and the specific implementation process is described in detail in the above method embodiments, which will not be described here.

[0143] As can be seen from the above, the electronic device provided in the embodiments can display a graphical user interface, the graphical user interface including at least part of a virtual scene map; in response to a path setting operation, display at least part of a target path and a view angle control control corresponding to the target path in the graphical user interface; in response to a first trigger operation on the view angle control control, control the game view angle to move along the target path to display a virtual scene map corresponding to the moved game view angle in the graphical user interface. In this way, by displaying at least part of the target path and the view angle control control corresponding to the target path in the graphical user interface in response to the path setting operation, the game view angle can be controlled to move along the target path based on the trigger operation on the view angle control control, so as to display the virtual scene map corresponding to the moved game view angle in the graphical user interface with convenient operation, which simplifies the path viewing operation and effectively improves the path viewing efficiency, and further improves the game interaction efficiency.

[0144] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a computer program, or by a computer program controlling related hardware, which can be stored in a computer readable storage medium and loaded and executed by a processor.

[0145] To this end, an embodiment of the present application provides a computer readable storage medium, which stores a computer program capable of being loaded by a processor to execute steps in any game interaction method provided by an embodiment of the present application. For example, the computer program can execute the following steps:

[0146] display a graphical user interface, the graphical user interface including at least part of a virtual scene map;

[0147] in response to a path setting operation, display at least part of a target path and a view angle control control corresponding to the target path in the graphical user interface;

[0148] in response to a first trigger operation on the view angle control control, control a virtual camera to move along the target path, and display a virtual scene map captured by the virtual camera after moving in the graphical user interface.

[0149] The present solution can display a graphical user interface, the graphical user interface including at least part of a virtual scene map; in response to a path setting operation, display at least part of a target path and a view angle control control corresponding to the target path in the graphical user interface; in response to a first trigger operation on the view angle control control, control a virtual camera to move along the target path, and display a virtual scene map captured by the virtual camera after moving in the graphical user interface. In this way, by displaying at least part of a target path and a view angle control control corresponding to the target path in the graphical user interface in response to a path setting operation, the virtual camera can be controlled to move along the target path based on a trigger operation on the view angle control control, so as to display a virtual scene map captured by the virtual camera after moving in the graphical user interface with a convenient operation, and the game view angle can be moved along the target path, which simplifies the path viewing operation, effectively improves the path viewing efficiency, and further improves the game interaction efficiency.

[0150] The specific implementation of each operation can be referred to the foregoing embodiments, which will not be described here again.

[0151] The computer readable storage medium can include a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0152] Since the computer program stored in the computer readable storage medium can execute steps in any game interaction method provided by an embodiment of the present application, the beneficial effects of any game interaction method provided by an embodiment of the present application can be achieved, which will be described in detail in the foregoing embodiments, which will not be described here again.

[0153] According to an aspect of the present application, there is provided a computer program product comprising a computer program stored in a computer readable storage medium; when a processor of an electronic device reads the computer program from the computer readable storage medium, the processor executes the computer program, so that the electronic device executes the method provided in various optional implementation manners provided by the above embodiments.

[0154] The game interaction method, device, storage medium and electronic device provided by the embodiments of the present application are described in detail above, and the principles and implementation manners of the present application are described by applying specific examples. The above embodiment descriptions are only used to help understand the method of the present application and its core idea. Meanwhile, for those skilled in the art, the specific implementation manners and application ranges will be changed according to the idea of the present application. In summary, the content of the specification should not be understood as a limitation of the present application.

Claims

1. A game interaction method, characterized by, The method comprises: displaying a graphical user interface, the graphical user interface comprising at least a part of a virtual scene map; in response to a path setting operation, displaying at least a part of a target path in the graphical user interface, and a view angle control control corresponding to the target path; in response to a first triggering operation on the view angle control control, controlling a virtual camera to move along the target path, so as to display a virtual scene map captured by the virtual camera after the movement in the graphical user interface; in response to a movement operation on a first position point in the target path, determining a moved first position point, and taking the moved first position point as a turning point of the target path, to obtain an updated target path; based on the turning point, updating the view angle control control, so that the view angle control control comprises indication information corresponding to the turning point, and the indication information comprises an identifier indicating the turning point, and / or, the shape of the view angle control control is matched with the trend of the updated target path.

2. The game interaction method of claim 1, wherein, The displaying at least a part of the target path in the graphical user interface in response to the path setting operation comprises: in response to the path setting operation, determining a starting point and an ending point of the path; generating a target path in the virtual scene map based on the starting point and the ending point; displaying at least a part of the target path in the graphical user interface.

3. The game interaction method of claim 2, wherein, The determining the starting point and the ending point of the path in response to the path setting operation comprises: in response to a second triggering operation on two position points in the virtual scene map, determining the starting point and the ending point of the path based on the positions of the two position points in the virtual scene map.

4. The game interaction method of claim 3, wherein, The second triggering operation comprises a double-click operation simultaneously performed on the two position points.

5. The game interaction method of claim 2, wherein, The displaying at least a part of the target path in the graphical user interface comprises: in response to a zooming operation on the virtual scene map, displaying at least a part of the target path in the graphical user interface.

6. The method of claim 1, wherein, The view angle control control comprises a sliding track and a slider; and the controlling the virtual camera to move along the target path in response to the first triggering operation on the view angle control control comprises: in response to a sliding operation of the slider on the sliding track, controlling the virtual camera to move along the target path according to the sliding operation, wherein the moving direction and the moving distance of the virtual camera are determined according to the moving direction and the moving distance of the sliding operation, respectively.

7. The method of claim 6, wherein, The controlling the virtual camera to move along the target path according to the sliding operation of the slider on the sliding track comprises: in response to a sliding operation of sliding the slider to a first end point of the sliding track, controlling the virtual camera to move along the target path, so that the starting point of the target path falls into the center of the current field of view; in response to a sliding operation of sliding the slider to a second end point of the sliding track, controlling the virtual camera to move along the target path, so that the ending point of the target path falls into the center of the current field of view.

8. The game interaction method of claim 1, wherein, The method further comprises: Display a scene viewing control based on an observation position in the target path corresponding to the moved virtual camera, the scene viewing control being used to display specific scene information of the observation position.

9. A game interaction device, characterized in that The method comprises the following steps: A first display unit is configured to display a graphical user interface, the graphical user interface comprising at least part of a virtual scene map; A second display unit is configured to display at least part of a target path and a perspective control control corresponding to the target path in the graphical user interface in response to a path setting operation; A perspective moving unit is configured to control a virtual camera to move along the target path to display a virtual scene map captured by the moved virtual camera in the graphical user interface in response to a first trigger operation on the perspective control control; A path editing unit is configured to determine a moved first position point in response to a moving operation on the first position point in the target path, and obtain an updated target path by taking the moved first position point as a turning point of the target path; A control updating unit is configured to update the perspective control control based on the turning point, so that the perspective control control comprises indication information corresponding to the turning point, the indication information comprising an identifier indicating the turning point, and / or the shape of the perspective control control matches the trend of the updated target path.

10. An electronic device, comprising: The electronic device comprises a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the steps of the method in any one of claims 1-8.

11. A computer readable storage medium, characterized in that, The computer program is used to make the electronic device execute the steps of the method in any one of claims 1-8 when the computer program runs on the electronic device.

Citation Information

Patent Citations

  • Method and device for controlling virtual object to move and storage medium

    CN112221143A

  • Method and device for determining position in game and method and device for adjusting path

    CN112619140A