CN111729298A - Map control method and device, electronic equipment and storage medium - Google Patents
Map control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111729298A CN111729298A CN202010577167.XA CN202010577167A CN111729298A CN 111729298 A CN111729298 A CN 111729298A CN 202010577167 A CN202010577167 A CN 202010577167A CN 111729298 A CN111729298 A CN 111729298A
- Authority
- CN
- China
- Prior art keywords
- control key
- user interface
- graphical user
- map
- controlling
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 85
- 230000004044 response Effects 0.000 claims abstract description 20
- 230000003321 amplification Effects 0.000 claims description 18
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 8
- 230000009471 action Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 101100400452 Caenorhabditis elegans map-2 gene Proteins 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/214—Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application provides a map control method, a map control device, an electronic device and a storage medium, wherein the method comprises the following steps: controlling the virtual character to move in the game scene displayed on the graphical user interface in response to the control operation acting on the direction control key; responding to the sliding operation, controlling a direction control key to move on the graphical user interface according to the sliding operation, and controlling the scene map to be amplified when the moving condition of the direction control key meets the preset requirement; by the method, the user can control the virtual character and can amplify the scene map under one operation, so that the user cannot interrupt the continuous operation before the user when amplifying the scene map, and the control continuity of the user on the virtual character is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a map control method, apparatus, electronic device, and storage medium.
Background
In the existing game, a scene map is provided for a user on a game interface, so that the user can view related information of the whole game scene in the game process. In the game process, a direction control key, a skill control key and a map zooming control key are also displayed on the game interface, under the normal condition, the direction control key is controlled by the left hand of a user, the skill control key is controlled by the right hand of the user, and the map zooming control key is used for controlling the zooming-in and zooming-out of the scene map.
In the process that a user controls a virtual character, if the user wants to enlarge a scene map, the user needs to click a map scaling control key, so that continuous operation performed by the user before may be interrupted, and the consistency of the user in controlling the virtual character is affected.
Disclosure of Invention
In view of this, embodiments of the present application provide a map control method, an apparatus, an electronic device, and a storage medium, so as to improve consistency of virtual role control by a user.
In a first aspect, an embodiment of the present application provides a map control method, which is applied to a user terminal, where a virtual character, a scene map of an initial size, and a direction control key are displayed in a graphical user interface of the user terminal, and the map control method includes:
responding to the control operation acted on the direction control key to control the virtual character to move in the game scene displayed on the graphical user interface;
responding to a sliding operation, controlling the direction control key to move on the graphical user interface according to the sliding operation, and controlling the scene map to be amplified when the moving condition of the direction control key meets a preset requirement;
wherein the control operation and the sliding operation are continuous operations.
Optionally, when the movement condition of the direction control key meets a preset requirement, controlling the scene map to be enlarged, including:
and when the position to which the direction control key is moved currently exceeds a preset position on the graphical user interface, controlling the scene map to be amplified.
Optionally, before responding to the control operation, the direction control key is displayed at a designated position on the graphical user interface, and the controlling, in response to the sliding operation, the direction control key to move on the graphical user interface according to the sliding operation includes:
responding to the sliding operation, taking the designated position as an initial position, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, the responding to the control operation applied to the direction control key includes:
responding to the control operation, displaying the direction control key at an initial operation position of the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a movement track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the initial operation position in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, an identifier for indicating the preset position is displayed in the graphical user interface.
Optionally, when the movement condition of the direction control key meets a preset requirement, controlling the scene map to be enlarged, including:
when the moving distance of the direction control key exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be amplified;
the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, after responding to the sliding operation, the map control method further includes:
and displaying a first height identifier for indicating the preset distance and a second height identifier for indicating the moving distance of the direction control key in the direction on the graphical user interface.
Optionally, the controlling the scene map to be enlarged includes:
determining the corresponding enlarged size of the touch position to which the direction control key is moved currently according to the corresponding relation between the target position and the enlarged size;
and amplifying the scene map according to the amplification size.
Optionally, the display area of the zoomed-in scene map is not overlapped with the display area of the direction control key.
Optionally, the map control method further includes:
and responding to the control operation, and restoring the enlarged scene map to the initial size when the direction control key moves to the touch position for initially controlling the virtual role on the graphical user interface.
Optionally, the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and in response to a control operation performed on the direction control keys, the direction control keys control the virtual character to move in a game scene displayed on the graphical user interface, including:
responding to a first sub-operation acted on the first control key, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface;
and responding to a second sub-operation acted on the second control key to control the virtual character to move rightwards in the game scene displayed on the graphical user interface.
Optionally, a control for controlling the scene map to be enlarged is displayed in the graphical user interface.
In a second aspect, an embodiment of the present application provides a map control method, which is applied to a user terminal, where a virtual character, a scene map of an initial size, and a direction control key are displayed in a graphical user interface of the user terminal, and the map control method includes:
responding to the control operation acted on the direction control key to control the virtual character to move in the game scene displayed on the graphical user interface;
when the current movement condition of the sliding operation on the graphical user interface meets the preset requirement, controlling the scene map to be amplified;
wherein the control operation and the sliding operation are continuous operations.
Optionally, when the current movement condition of the sliding operation on the graphical user interface meets a preset requirement, controlling the scene map to be enlarged, including:
and when the touch point currently moved to on the graphical user interface by the sliding operation exceeds a preset position on the graphical user interface, controlling the scene map to be amplified.
Optionally, before responding to the control operation, the direction control key is displayed at a designated position on the graphical user interface, and the responding to the control operation on the direction control key includes:
responding to the sliding operation, taking the designated position as an initial touch point, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, the responding to the control operation applied to the direction control key includes:
responding to the control operation, displaying the direction control key at an initial touch point of the control operation on the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the initial touch point in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, an identifier for indicating the preset position is displayed in the graphical user interface.
Optionally, when the current movement condition of the sliding operation on the graphical user interface meets a preset requirement, controlling the scene map to be enlarged, including:
when the moving distance of the sliding operation exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be enlarged;
the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, after responding to the control operation, the map control method further includes:
displaying a first height identifier for indicating the preset distance and a second height identifier for indicating the moving distance of the sliding operation in the direction on the graphical user interface.
Optionally, the controlling the scene map to be enlarged includes:
determining the corresponding enlarged size of the touch point to which the sliding operation is currently moved according to the corresponding relation between the target position and the enlarged size;
and amplifying the scene map according to the amplification size.
Optionally, the display area of the zoomed-in scene map is not overlapped with the display area of the direction control key.
Optionally, the map control method further includes:
and responding to the control operation, and when the sliding operation moves to an initial touch point on the graphical user interface, restoring the enlarged scene map to the initial size.
Optionally, the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and in response to a control operation performed on the direction control keys, the direction control keys control the virtual character to move in a game scene displayed on the graphical user interface, including:
responding to a control operation acted at a first position, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface, wherein the first position is positioned at a position on the graphical user interface where a first control key is displayed;
and responding to a control operation acted at a second position, and controlling the virtual character to move rightwards in the game scene displayed on the graphical user interface, wherein the second position is positioned at the position of a second control key displayed on the graphical user interface.
Optionally, a control for controlling the scene map to be enlarged is displayed in the graphical user interface.
In a third aspect, an embodiment of the present application provides a map control device, which is applied to a user terminal, where a virtual character, a scene map of an initial size, and a direction control key are displayed in a graphical user interface of the user terminal, and the map control device includes:
the control unit is used for responding to the control operation acted on the direction control key and controlling the virtual character to move in the game scene displayed on the graphical user interface;
the adjusting unit is used for responding to sliding operation, controlling the direction control key to move on the graphical user interface according to the sliding operation, and controlling the scene map to be amplified when the moving condition of the direction control key meets the preset requirement;
wherein the control operation and the sliding operation are continuous operations.
Optionally, the configuration of the adjusting unit, when being configured to control the scene map to be enlarged when the movement condition of the direction control key meets a preset requirement, includes:
and when the position to which the direction control key is moved currently exceeds a preset position on the graphical user interface, controlling the scene map to be amplified.
Optionally, before responding to the control operation, the direction control key is displayed at a designated position on the graphical user interface, and the configuration of the adjusting unit, when being used for responding to the sliding operation and controlling the direction control key to move on the graphical user interface according to the sliding operation, includes:
responding to the sliding operation, taking the designated position as an initial position, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, the control unit, when configured to respond to a control operation applied to the direction control key, includes:
responding to the control operation, displaying the direction control key at an initial operation position of the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a movement track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the initial operation position in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, an identifier for indicating the preset position is displayed in the graphical user interface.
Optionally, the configuration of the adjusting unit, when being configured to control the scene map to be enlarged when the movement condition of the direction control key meets a preset requirement, includes:
when the moving distance of the direction control key exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be amplified;
the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, the map control apparatus further includes:
and the display unit is used for displaying a first height mark for indicating the preset distance and a second height mark for indicating the moving distance of the direction control key in the direction on the graphical user interface after responding to the sliding operation.
Optionally, the configuration of the adjusting unit when used for controlling the scene map to be enlarged includes:
determining the corresponding enlarged size of the touch position to which the direction control key is moved currently according to the corresponding relation between the target position and the enlarged size;
and amplifying the scene map according to the amplification size.
Optionally, the display area of the zoomed-in scene map is not overlapped with the display area of the direction control key.
Optionally, the adjusting unit is further configured to restore the enlarged scene map to an initial size when the direction control key moves to a touch position where the virtual character is initially controlled on the graphical user interface in response to the sliding operation.
Optionally, the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and the control unit is configured to, when controlling the virtual character to move in a game scene displayed on the graphical user interface in response to a control operation applied to the direction control keys, include:
responding to a first sub-operation acted on the first control key, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface;
and responding to a second sub-operation acted on the second control key to control the virtual character to move rightwards in the game scene displayed on the graphical user interface.
Optionally, a control for controlling the scene map to be enlarged is displayed in the graphical user interface.
In a fourth aspect, an embodiment of the present application provides a map control apparatus, which is applied to a user terminal, where a virtual character, a scene map of an initial size, and a direction control key are displayed in a graphical user interface of the user terminal, and the map control apparatus includes:
the control unit is used for responding to the control operation acted on the direction control key and controlling the virtual character to move in the game scene displayed on the graphical user interface;
the adjusting unit is used for controlling the scene map to be amplified when the current moving condition of the sliding operation on the graphical user interface meets the preset requirement;
wherein the control operation and the sliding operation are continuous operations.
Optionally, the configuration of the adjusting unit, when configured to control the scene map to be enlarged when the current movement condition of the sliding operation on the graphical user interface meets a preset requirement, includes:
and when the touch point currently moved to on the graphical user interface by the sliding operation exceeds a preset position on the graphical user interface, controlling the scene map to be amplified.
Optionally, before responding to the control operation, the direction control key is displayed at a designated position on the graphical user interface, and the configuration of the control unit, when being used for responding to the control operation acting on the direction control key, includes:
responding to the sliding operation, taking the designated position as an initial touch point, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, the control unit, when configured to respond to a control operation applied to the direction control key, includes:
responding to the control operation, displaying the direction control key at an initial touch point of the control operation on the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the initial touch point in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, an identifier for indicating the preset position is displayed in the graphical user interface.
Optionally, the configuration of the adjusting unit, when configured to control the scene map to be enlarged when the current movement condition of the sliding operation on the graphical user interface meets a preset requirement, includes:
when the moving distance of the sliding operation exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be enlarged;
the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Optionally, the map control apparatus further includes:
and the display unit is used for displaying a first height mark for indicating the preset distance and a second height mark for indicating the moving distance of the sliding operation in the direction on the graphical user interface after responding to the control operation.
Optionally, the configuration of the adjusting unit when used for controlling the scene map to be enlarged includes:
determining the corresponding enlarged size of the touch point to which the sliding operation is currently moved according to the corresponding relation between the target position and the enlarged size;
and amplifying the scene map according to the amplification size.
Optionally, the display area of the zoomed-in scene map is not overlapped with the display area of the direction control key.
Optionally, the adjusting unit is further configured to:
and responding to the sliding operation, and when the sliding operation moves to an initial touch point on the graphical user interface, restoring the enlarged scene map to the initial size.
Optionally, the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and the control unit is configured to, when controlling the virtual character to move in a game scene displayed on the graphical user interface in response to a control operation applied to the direction control keys, include:
responding to a control operation acted at a first position, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface, wherein the first position is positioned at a position on the graphical user interface where a first control key is displayed;
and responding to a control operation acted at a second position, and controlling the virtual character to move rightwards in the game scene displayed on the graphical user interface, wherein the second position is positioned at the position of a second control key displayed on the graphical user interface.
Optionally, a control for controlling the scene map to be enlarged is displayed in the graphical user interface.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the map control method according to any one of the first aspect or the second aspect.
In a sixth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the map control method according to any one of the first aspect and the second aspect.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the application, a user can control a virtual character to move in a game scene through control operation acting on a direction control key, then through subsequent sliding operation of the control operation, the direction control key is controlled to move on a graphical user interface according to the sliding operation, and when the moving condition of the direction control key meets a preset requirement, the scene map is controlled to be enlarged, namely: the control operation and the sliding operation are continuous operations, when the user controls the movement of the virtual character through the direction control key, the position of the direction control key on the graphical user interface can be controlled through the sliding operation, and when the movement condition of the direction control key meets the preset requirement, the scene map is amplified.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a map control method according to an embodiment of the present disclosure;
FIG. 2 is a schematic illustration of a graphical user interface provided by an embodiment of the present application;
FIG. 3 is a schematic illustration of a display of another graphical user interface provided by an embodiment of the present application;
FIG. 4 is a schematic illustration of a display of another graphical user interface provided by an embodiment of the present application;
fig. 5 is a schematic flowchart of another map control method according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a map control apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of another map control apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another map control apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of another map control apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In the existing game, a direction control key, a skill control key, a map zoom control key and a scene map are displayed on a game interface, a user can operate the direction control key through the left hand to realize the control of the movement of the virtual character, the user can operate the skill control key through the right hand to control the virtual character to release the skill, and the user can simultaneously control the direction control key and the skill control key to make the virtual character complete corresponding control, for example: when a user operates a direction control key to control the virtual character to move, the skill control key is operated to control the virtual character to release the skill, and in the process of the operation, if the user wants to amplify a scene map, the user needs to click the map zooming control key by using the left hand or the right hand, so that the continuous operation performed by the user before may be interrupted, at this time, the movement of the virtual character may be interrupted, or the continuous attack of the virtual character is interrupted, so that the continuity of the user in controlling the virtual character is influenced.
In order to solve the above problems, the present application provides a map control method, an apparatus, an electronic device, and a storage medium, where when a user controls the movement of a virtual character through a direction control key, the user can also control the position of the direction control key on a graphical user interface through a sliding operation, and when the movement condition of the direction control key meets a preset requirement, the scene map is enlarged, and since the control operation and the sliding operation are continuous operations, through the above method, the user can control the virtual character and enlarge the scene map in one operation, so that the user does not interrupt the continuous operation before the user when enlarging the scene map, thereby facilitating improvement of the continuity of the user in controlling the virtual character.
Fig. 1 is a schematic flowchart of a map control method provided in an embodiment of the present application, where the method is applied to a user terminal, and a virtual character, a scene map of an initial size, and a direction control key are displayed in a graphical user interface of the user terminal, as shown in fig. 1, the map control method includes the following steps:
and step 101, responding to the control operation acted on the direction control key, and controlling the virtual character to move in the game scene displayed on the graphical user interface.
Specifically, during the game process, the user can control the virtual character to move in the game scene through the control operation acting on the direction control key, at this time, if the user wants to zoom in the scene map, a sliding operation can be performed, wherein the sliding operation and the control operation belong to one continuous operation (the track of the operation is continuous and the time sequence is continuous), and under the sliding operation, the direction control key can be controlled to move on the graphical user interface, and when the moving condition of the direction control key meets the preset requirement, the scene map is zoomed in, for example: and after the sliding operation control direction control key moves upwards for a specified distance, the scene map is amplified, and at the moment, the user can see the amplified scene map.
For example, fig. 2 is a display schematic diagram of a graphical user interface provided in an embodiment of the present application, as shown in fig. 2, a scene map, a direction control key, a skill control key, and a map adjusting key located on the scene map are displayed on the graphical user interface of a user terminal, where the direction control key includes a left key for controlling a virtual character to move left and a right key for controlling the virtual character to move right, when a user controls the virtual character to move right through a pressing operation on the right key, and controls the virtual character to release a skill through a touch operation on the skill control key, if the user wants to zoom in the scene map at this time, a sliding operation may be performed on the basis of the pressing operation, that is: on the basis of not finishing the pressing operation, a sliding operation is performed with the touch point of the pressing operation as a starting point, the track of the sliding operation can be as shown by a dotted arrow in fig. 2, when the sliding operation is performed, the direction control key also moves along with the sliding operation, and when the direction control key moves to a specified distance away from the initial position in the Y-axis direction, the scene map performing method is controlled, and at this time, the user can see the enlarged scene map.
Taking fig. 2 as an example, if both the left and right hands of the user are operating on the virtual character, in the prior art, the user needs to click the map adjusting key on the scene map by using the left hand or the right hand to enlarge the scene map, this may interrupt the user's previous continuous operation, at which point, the movement of the avatar may be interrupted, or the continuous attack of the virtual character is interrupted, thereby influencing the consistency of the control of the virtual character by the user, in the application, because the control operation and the sliding operation are continuous operations, a user can control the virtual character and enlarge the scene map under one continuous operation, the user can not interrupt the continuous operation before the user when the scene map is amplified, so that the consistency of the user on the control of the virtual role can be improved.
It should be noted that fig. 2 is only an illustrative illustration, and other controls may be further included on the graphical user interface, and the specific included controls may be set according to the actual game, and are not limited in this regard.
In a possible embodiment, when the scene map is controlled to be enlarged when the moving condition of the direction control key meets a preset requirement, the scene map may be controlled to be enlarged when the position to which the direction control key is currently moved exceeds a preset position on the graphical user interface.
Specifically, the display position of the direction control key on the graphical user interface can move along with the sliding operation, a preset position on the graphical user interface is preset in advance, and after the direction control key exceeds the preset position under the action of the sliding operation, the amplification function of the scene map is triggered, and the scene map is controlled to be amplified.
For example, fig. 3 is a schematic display diagram of another graphical user interface provided in an embodiment of the present application, as shown in fig. 3, the graphic user interface includes a direction control key, the preset position being shown by a dotted line in fig. 3, the direction control key including a left key for controlling the virtual character to move leftward and a right key for controlling the virtual character to move rightward, when the user controls the virtual character to move rightwards through the pressing operation of the right key, the direction control key is positioned at the first position, the user can then move the control direction control key on the graphical user interface by a sliding operation, wherein the sliding operation is shown by the dotted arrow in fig. 3, and the direction control key is located at the second position under the action of the sliding operation, and in the Y-axis direction, if the second position is above the preset position, controlling the scene map to be amplified.
It should be noted that fig. 3 is only a schematic illustration, and a control range may also be set for the direction control key, and fig. 4 is a display schematic diagram of another graphical user interface provided in the embodiment of the present application, as shown in fig. 4, the set control range is shown as a dashed oval in fig. 4, when the direction control key moves out of the dashed oval under the action of a sliding operation, a method for controlling a scene map is performed, and a specific preset position may be set according to actual needs, which is not specifically limited herein.
In a possible embodiment, before responding to the control operation, the direction control key is displayed at a designated position on the graphical user interface, and when step 102 is executed, in response to the sliding operation, the direction control key is displayed on the graphical user interface in a sliding manner according to a moving track of the sliding operation on the graphical user interface with the designated position as a starting position; the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Specifically, before the direction control key is not operated, the direction control key is fixedly displayed at a designated position on the graphical user interface, and after the operation of the direction control key is completed (at this time, no operation is performed on the direction control key), the direction control key returns to the designated position, as shown in fig. 3, the first control key may be a left key, the second control key may be a right key, a preset position is shown by a dotted line in fig. 3 (the dotted line is parallel to a connecting line between the left key and the right key, and the Y axis is a direction perpendicular to the dotted line), the direction control key moves from a first position to a second position under the action of a sliding operation (shown by a dotted arrow in fig. 3), wherein the first position is the designated position, after the sliding operation is completed, the direction control key returns to the first position from the second position, and by the above method, each time the user operates the direction control key, the operation is started at the first position and the position is designated as a fixed position, so that the control method for map enlargement is relatively simple.
In a possible embodiment, when the step of responding to the control operation acting on the direction control key is executed, the direction control key may be displayed at an initial operation position of the graphical user interface in response to the control operation, and the direction control key is displayed on the graphical user interface in a sliding manner according to a movement track of the sliding operation on the graphical user interface; the preset position is positioned above the fixed height of the initial operation position in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Specifically, when the control operation is performed on the direction control key, the direction control key is displayed at an initial operation position of the control operation, then the direction control key uses the initial operation position as a starting position, the direction control key is displayed on the graphical user interface according to a moving track of the sliding operation on the graphical user interface, taking fig. 3 as an example, when the direction control key is not operated, the direction control key is displayed at a specified position, when the user performs a pressing operation in a touch area, the direction control key is displayed at a touch point of the pressing operation on the graphical user interface, wherein the touch point may be as shown in fig. 3, or the touch point may be located in an area outside the area where the direction control key is located when the user performs the pressing operation in the specified position, at this time, the touch point is used as the initial operation position, and in the Y-axis direction, the preset position is located above a fixed height of the initial operation position, and then, the initial operation position is used as the initial position of the sliding operation, and the direction control key is displayed on the graphical user interface according to the moving track of the sliding operation.
In one possible embodiment, the graphical user interface displays a mark for indicating the preset position.
Specifically, as shown in fig. 3, the dotted line used for indicating the preset position is displayed on the graphical user interface, and at this time, the user can see the preset position, which is beneficial to the user to better complete the map enlarging operation, and meanwhile, the user can be reminded, so that the probability of misoperation caused by the overlarge operation range of the user is reduced.
It should be noted that the style of the mark related to the preset position may be set according to actual needs, and is not specifically limited herein.
In a possible embodiment, when the step of controlling the scene map to be enlarged is performed when the movement condition of the direction control key meets a preset requirement, the scene map may be controlled to be enlarged in a direction perpendicular to a connecting line of a first control key and a second control key of the direction control key when the movement distance of the direction control key exceeds a preset distance; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
Specifically, a preset distance is preset, when the sliding operation is performed, the direction control key is controlled to move by taking an initial operation position of the sliding operation (namely, the position of a touch point of the control operation on a graphical user interface) as an initial position, and when the moving distance of the direction control key exceeds the preset distance, the scene map is controlled to be enlarged.
In one possible embodiment, after responding to the sliding operation, a first height indicator for indicating the preset distance is displayed on the graphical user interface, and a second height indicator for indicating the moving distance of the direction control key in the direction is displayed.
Specifically, after the user performs the sliding operation, a first height identifier used for indicating a preset distance and a second height identifier used for indicating the moving distance of the direction control key in the Y-axis direction shown in fig. 3 are displayed on the graphical user interface, the user can know the moving distance of the current direction control key in the Y-axis direction shown in fig. 3 through the second height identifier, the user can know the minimum moving distance in the Y-axis direction shown in fig. 3 when the map is triggered to be amplified through the first height identifier, the map amplification operation better completed by the user can be facilitated by displaying the first height identifier and the second height identifier, and meanwhile, the purpose of reminding the user can be achieved, so that the probability of misoperation caused by the overlarge operation range of the user is reduced.
In displaying the first height indicator and the second height indicator, the first height indicator and the second height indicator may be displayed together in a contrasting manner, for example: reference may be made to a display mode of a stepping speed table on the vehicle, where a maximum stepping speed on the stepping speed table is a first height identifier, a pointer on the stepping speed table is a second height identifier, and a specific display form of the first height identifier and the second height identifier is not specifically limited herein.
In a possible implementation, when the control scene map is enlarged, the enlargement size corresponding to the touch position to which the direction control key is currently moved may be determined according to the correspondence between the target position and the enlargement size; and then, amplifying the scene map according to the amplification size.
Specifically, in order to meet different amplification requirements of a user on a scene map, the amplified scene map may include different sizes, and a corresponding relationship between a target position and the amplification size is pre-established, the user may perform a sliding operation according to the amplification requirement of the user, the direction control key moves under the action of the sliding operation, the user terminal may determine a corresponding amplification size according to a position to which the direction control key currently moves (the position is a display position of the direction control key on the graphical user interface, and the display position is located at the same position as a touch position of the sliding operation on the graphical user interface), and then amplify the scene map according to the amplification size, for example: the pre-establishing of the corresponding relationship between the target position and the enlarged size includes: the method comprises the steps that the target position is 1-the size of the scene map is 1, the target position is 2-the size of the scene map is 2, and the target position is 3-the size of the scene map is 3. when the direction control key moves to the target position 2, the size of the scene map is taken as the enlargement size of the scene map, and the scene map is enlarged to the size of the scene map 2.
In one possible embodiment, the display area of the enlarged scene map is not overlapped with the display area of the direction control key.
Specifically, when the display area of the enlarged scene map is overlaid on the display area of the direction control key, and when the user operates the direction control key, the operation may be applied to the scene map, and at this time, the position of the game scene displayed on the graphical user interface may be changed, and the operation of the direction control key may be ended, so that in order to avoid the influence of the enlarged scene map on the operation of the direction control key by the user, the display area of the enlarged scene map and the display area of the direction control key need not be overlapped, for example: the display area of the scene map with the maximum size and the control area of the direction control key are established in advance, and the display area of the scene map with the maximum size and the control area of the direction control key are not overlapped.
In a possible embodiment, in response to the sliding operation, when the direction control key moves to a touch position where the virtual character is initially controlled on the graphical user interface, the enlarged scene map is restored to an initial size.
In particular, in order to flexibly control the size of the scene map, the user can realize the enlarging operation and the restoring operation of the scene map under one sliding operation, under the sliding operation, when the moving condition of the direction control key-press meets the preset requirement, the scene map is controlled to be enlarged, on the basis, the user can continue the sliding operation, and when the sliding operation controls the direction control key to move to the initial position of the sliding operation (namely, the touch position for controlling the virtual character), the enlarged scene map is restored to the initial size, in the process, the user still keeps controlling the moving direction of the virtual character, and by the method, the user can flexibly control the amplification and recovery of the scene map under the condition of continuously controlling the moving direction of the virtual character.
In a possible embodiment, the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and in step 101, the virtual character can be controlled to move to the left in a game scene displayed on the graphical user interface in response to a first sub-operation on the first control key; and responding to a second sub-operation acted on the second control key to control the virtual character to move rightwards in the game scene displayed on the graphical user interface.
Specifically, when the direction control key includes a first control key and a second control key, the operation of the direction control key by the user may include a sliding operation performed back and forth between the first control key and the second control key, so as to control the movement of the virtual character, as shown in fig. 3, the first sub-operation may be an operation of a left key, the second sub-operation may be an operation of a right key, and the user may perform the sliding operation back and forth between the left key and the right key, when the sliding operation is located in the area where the left key is located, the operation at this time is the first sub-operation, when the sliding operation is located in the area where the right key is located, the operation at this time is the second sub-operation, or the user may implement the control of the movement of the virtual character by a click operation, for example: and when the clicking operation is clicked on the left key, the virtual character is controlled to move leftwards, the clicking operation at the moment is a first sub-operation, when the clicking operation is clicked on the right key, the virtual character is controlled to move rightwards, and the clicking operation at the moment is a second sub-operation.
When the user performs the sliding operation back and forth between the left key and the right key, on the basis, if the user wants to perform the zooming operation on the scene map, an upward sliding operation or a downward sliding operation can be added on the basis of the sliding operation, and the added upward sliding operation or downward sliding operation does not conflict with the previous sliding operation, so that the probability of the misoperation is favorably reduced.
In one possible embodiment, a control for controlling the scene map to be enlarged is displayed in the graphical user interface.
Specifically, as shown in fig. 2, the map condition button is a control for controlling the enlargement of the scene map, the user can click the control, when the scene map is in the initial size, the scene map is controlled to be enlarged, after the scene map is enlarged, the control can be displayed in the graphical user interface, and if the user clicks the control at this time, the scene map can be restored to the initial size.
In a game in which the direction control keys include only the left key and the right key, in order to make the display mode and the control mode relatively simple, the sliding operation may control only the direction control keys to move up and down, and may not control the direction control keys to move left and right, and the virtual character is controlled to move left when the touch position of the sliding operation is located in the operation area of the left key, and to move right when the touch position of the sliding operation is located in the operation area of the right key.
Fig. 5 is a schematic flowchart of another map control method provided in an embodiment of the present application, which is applied to a user terminal, where a virtual character, a scene map of an initial size, and a direction control key are displayed in a graphical user interface of the user terminal, and as shown in fig. 5, the map control method includes the following steps:
It should be noted that, under the sliding operation, the display position of the direction control key on the graphical user interface may move along with the sliding operation, at this time, the display position of the direction control key on the graphical user interface and the touch position of the sliding operation on the graphical user interface are the same position, or the display position of the direction control key on the graphical user interface is not changed all the time, and the display mode of the direction control key on the graphical user interface may be set according to actual needs, which is not specifically limited herein.
In a possible embodiment, when the step of controlling the scene map to be magnified is performed when the current movement condition of the sliding operation on the graphical user interface meets a preset requirement, the scene map is controlled to be magnified when the touch point currently moved by the sliding operation on the graphical user interface exceeds a preset position on the graphical user interface.
In one possible embodiment, the direction control key is displayed at a designated position on the graphical user interface before responding to the control operation, and the responding to the control operation applied to the direction control key includes:
responding to the sliding operation, taking the designated position as an initial touch point, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface; the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In one possible embodiment, the responding to the control operation applied to the direction control key includes:
responding to the control operation, displaying the direction control key at an initial touch point of the control operation on the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a moving track of the sliding operation on the graphical user interface; the preset position is positioned above the fixed height of the initial touch point in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In one possible embodiment, the graphical user interface displays a mark for indicating the preset position.
In a possible embodiment, when the current movement condition of the sliding operation on the graphical user interface meets a preset requirement, the scene map is controlled to be enlarged, and the method includes the following steps:
when the moving distance of the sliding operation exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be enlarged; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In one possible embodiment, after responding to the control operation, the map control method further includes:
displaying a first height identifier for indicating the preset distance and a second height identifier for indicating the moving distance of the sliding operation in the direction on the graphical user interface.
In a possible implementation, when the scene map is controlled to be enlarged, the enlargement size corresponding to the touch point to which the sliding operation is currently moved is determined according to the corresponding relationship between the target position and the enlargement size; and then, amplifying the scene map according to the amplification size.
In one possible embodiment, the display area of the enlarged scene map is not overlapped with the display area of the direction control key.
In one possible embodiment, the map control method further includes: and responding to the sliding operation, and when the sliding operation moves to an initial touch point on the graphical user interface, restoring the enlarged scene map to the initial size.
In one possible embodiment, the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and the direction control keys are used for controlling the virtual character to move in a game scene displayed on the graphical user interface in response to a control operation on the direction control keys, and include:
responding to a control operation acted at a first position, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface, wherein the first position is positioned at a position on the graphical user interface where a first control key is displayed;
and responding to a control operation acted at a second position, and controlling the virtual character to move rightwards in the game scene displayed on the graphical user interface, wherein the second position is positioned at the position of a second control key displayed on the graphical user interface.
In one possible embodiment, a control for controlling the scene map to be enlarged is displayed in the graphical user interface.
In the embodiments of the present application, a map control method is described in terms of touch angle, and for the detailed principle of the embodiments of the application, reference may be made to the related explanations of the above embodiments, and detailed descriptions thereof are omitted.
Fig. 6 is a schematic structural diagram of a map control device provided in an embodiment of the present application, which is applied to a user terminal, where a virtual character, a scene map of an initial size, and a direction control key are displayed in a graphical user interface of the user terminal, and as shown in fig. 6, the map control device includes:
a control unit 61, configured to control the virtual character to move in the game scene displayed on the graphical user interface in response to a control operation applied to the direction control key;
the adjusting unit 62 is configured to respond to a sliding operation, control the direction control key to move on the graphical user interface according to the sliding operation, and control the scene map to be enlarged when a moving condition of the direction control key meets a preset requirement;
wherein the control operation and the sliding operation are continuous operations.
In a possible embodiment, the configuration of the adjusting unit 62, when configured to control the scene map to be enlarged when the movement condition of the direction control key meets a preset requirement, includes:
and when the position to which the direction control key is moved currently exceeds a preset position on the graphical user interface, controlling the scene map to be amplified.
In a possible embodiment, before responding to the control operation, the direction control key is displayed at a designated position on the graphical user interface, and the configuration of the adjusting unit 62, when being used for responding to the sliding operation, controls the direction control key to move on the graphical user interface according to the sliding operation, includes:
responding to the sliding operation, taking the designated position as an initial position, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In one possible embodiment, the control unit 61, when configured to respond to a control operation applied to the direction control key, includes:
responding to the control operation, displaying the direction control key at an initial operation position of the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a movement track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the initial operation position in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In one possible embodiment, the graphical user interface displays a mark for indicating the preset position.
In a possible embodiment, the configuration of the adjusting unit 62, when configured to control the scene map to be enlarged when the movement condition of the direction control key meets a preset requirement, includes:
when the moving distance of the direction control key exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be amplified;
the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In a possible implementation, fig. 7 is a schematic structural diagram of another map control apparatus provided in an embodiment of the present application, and as shown in fig. 7, the map control apparatus further includes:
and a display unit 63, configured to display, on the graphical user interface, a first height identifier for indicating the preset distance and a second height identifier for indicating a moving distance of the direction control key in the direction after responding to the sliding operation.
In a possible embodiment, the configuration of the adjusting unit 62 when used for controlling the scene map to be enlarged includes:
determining the corresponding enlarged size of the touch position to which the direction control key is moved currently according to the corresponding relation between the target position and the enlarged size;
and amplifying the scene map according to the amplification size.
In one possible embodiment, the display area of the enlarged scene map is not overlapped with the display area of the direction control key.
In a possible embodiment, the adjusting unit 62 is further configured to restore the enlarged scene map to an initial size when the direction control key moves to a touch position where the virtual character is initially controlled on the graphical user interface in response to the sliding operation.
In a possible embodiment, the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and the control unit 61 is configured to, when controlling the virtual character to move in a game scene displayed on the graphical user interface in response to a control operation applied to the direction control keys, include:
responding to a first sub-operation acted on the first control key, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface;
and responding to a second sub-operation acted on the second control key to control the virtual character to move rightwards in the game scene displayed on the graphical user interface.
In one possible embodiment, a control for controlling the scene map to be enlarged is displayed in the graphical user interface.
For the related principle of the present embodiment, reference may be made to the detailed description of the above embodiments, which will not be described in detail herein.
Fig. 8 is a schematic structural diagram of another map control apparatus provided in an embodiment of the present application, which is applied to a user terminal, where a virtual character, a scene map of an initial size, and a direction control key are displayed in a graphical user interface of the user terminal, and as shown in fig. 8, the map control apparatus includes:
a control unit 81 for controlling the virtual character to move in the game scene displayed on the graphical user interface in response to a control operation applied to the direction control key;
the adjusting unit 82 is used for controlling the scene map to be enlarged when the current moving condition of the sliding operation on the graphical user interface meets the preset requirement;
wherein the control operation and the sliding operation are continuous operations.
In a possible embodiment, the configuration of the adjusting unit 82, when configured to control the scene map to be enlarged when the current movement situation of the sliding operation on the graphical user interface meets a preset requirement, includes:
and when the touch point currently moved to on the graphical user interface by the sliding operation exceeds a preset position on the graphical user interface, controlling the scene map to be amplified.
In a possible embodiment, before responding to the control operation, the direction control key is displayed at a designated position on the graphical user interface, and the configuration of the control unit 81, when used for responding to the control operation acting on the direction control key, includes:
responding to the sliding operation, taking the designated position as an initial touch point, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In one possible embodiment, the control unit 81, when configured to respond to a control operation applied to the direction control key, includes:
responding to the control operation, displaying the direction control key at an initial touch point of the control operation on the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the initial touch point in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In one possible embodiment, the graphical user interface displays a mark for indicating the preset position.
In a possible embodiment, the configuration of the adjusting unit 82, when configured to control the scene map to be enlarged when the current movement situation of the sliding operation on the graphical user interface meets a preset requirement, includes:
when the moving distance of the sliding operation exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be enlarged;
the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
In a possible implementation, fig. 9 is a schematic structural diagram of another map control apparatus provided in an embodiment of the present application, and as shown in fig. 9, the map control apparatus further includes:
and a display unit 83, configured to display, on the graphical user interface, a first height indicator indicating the preset distance and a second height indicator indicating a movement distance of the sliding operation in the direction after responding to the control operation.
In a possible embodiment, the configuration of the adjusting unit 82 when used for controlling the scene map to be enlarged includes:
determining the corresponding enlarged size of the touch point to which the sliding operation is currently moved according to the corresponding relation between the target position and the enlarged size;
and amplifying the scene map according to the amplification size.
In one possible embodiment, the display area of the enlarged scene map is not overlapped with the display area of the direction control key.
In a possible embodiment, the adjusting unit 82 is further configured to:
and responding to the sliding operation, and when the sliding operation moves to an initial touch point on the graphical user interface, restoring the enlarged scene map to the initial size.
In a possible embodiment, the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and the control unit 81 is configured to, when controlling the virtual character to move in a game scene displayed on the graphical user interface in response to a control operation applied to the direction control keys, include:
responding to a control operation acted at a first position, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface, wherein the first position is positioned at a position on the graphical user interface where a first control key is displayed;
and responding to a control operation acted at a second position, and controlling the virtual character to move rightwards in the game scene displayed on the graphical user interface, wherein the second position is positioned at the position of a second control key displayed on the graphical user interface.
In one possible embodiment, a control for controlling the scene map to be enlarged is displayed in the graphical user interface.
For the related principle of the present embodiment, reference may be made to the detailed description of the above embodiments, which will not be described in detail herein.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application, including: the map control method includes a processor 1001, a storage medium 1002, and a bus 1003, where the storage medium 1002 stores machine-readable instructions executable by the processor 1001, when the electronic device runs the map control method, the processor 1001 and the storage medium 1002 communicate through the bus 1003, and the processor 1001 executes the machine-readable instructions to execute the method described in the above embodiment, and for specific execution method steps and principles, reference is made to the above description, and details are not repeated here.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method described in the above embodiments is executed, and for specific executed method steps and principles, reference is made to the above description, and details are not repeated here.
The map control device provided by the embodiment of the application can be specific hardware on the device, or software or firmware installed on the device. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first", "second", "third", etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (28)
1. A map control method is applied to a user terminal, a virtual character, a scene map with an initial size and a direction control key are displayed in a graphical user interface of the user terminal, and the map control method comprises the following steps:
responding to the control operation acted on the direction control key to control the virtual character to move in the game scene displayed on the graphical user interface;
responding to a sliding operation, controlling the direction control key to move on the graphical user interface according to the sliding operation, and controlling the scene map to be amplified when the moving condition of the direction control key meets a preset requirement;
wherein the control operation and the sliding operation are continuous operations.
2. The map control method of claim 1, wherein when the movement condition of the direction control key meets a preset requirement, controlling the scene map to be enlarged comprises:
and when the position to which the direction control key is moved currently exceeds a preset position on the graphical user interface, controlling the scene map to be amplified.
3. The map control method of claim 2, wherein the direction control key is displayed at a designated position on the graphical user interface before responding to the control operation, and wherein controlling the direction control key to move on the graphical user interface in accordance with the sliding operation in response to the sliding operation comprises:
responding to the sliding operation, taking the designated position as an initial position, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
4. The map control method according to claim 2, wherein the responding to the control operation applied to the direction control key includes:
responding to the control operation, displaying the direction control key at an initial operation position of the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a movement track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the initial operation position in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
5. The map control method of claim 2, wherein a logo indicating the preset position is displayed in the graphic user interface.
6. The map control method of claim 1, wherein when the movement condition of the direction control key meets a preset requirement, controlling the scene map to be enlarged comprises:
when the moving distance of the direction control key exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be amplified;
the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
7. The map control method of claim 6, wherein after responding to the swipe operation, the map control method further comprises:
and displaying a first height identifier for indicating the preset distance and a second height identifier for indicating the moving distance of the direction control key in the direction on the graphical user interface.
8. The map control method of claim 1, wherein the controlling the scene map to zoom in comprises:
determining the corresponding enlarged size of the touch position to which the direction control key is moved currently according to the corresponding relation between the target position and the enlarged size;
and amplifying the scene map according to the amplification size.
9. The map control method of claim 1, wherein a display area of the magnified scene map does not overlap with a display area of the direction control key.
10. The map control method according to claim 1, characterized by further comprising:
and responding to the sliding operation, and restoring the enlarged scene map to the initial size when the direction control key moves to the touch position for initially controlling the virtual role on the graphical user interface.
11. The map control method of claim 1, wherein the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and wherein controlling the virtual character to move in a game scene displayed on the graphical user interface in response to a control operation applied to the direction control keys comprises:
responding to a first sub-operation acted on the first control key, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface;
and responding to a second sub-operation acted on the second control key to control the virtual character to move rightwards in the game scene displayed on the graphical user interface.
12. The map control method of claim 1, wherein a control for controlling the scene map to zoom in is displayed in the graphical user interface.
13. A map control method is applied to a user terminal, a virtual character, a scene map with an initial size and a direction control key are displayed in a graphical user interface of the user terminal, and the map control method comprises the following steps:
responding to the control operation acted on the direction control key to control the virtual character to move in the game scene displayed on the graphical user interface;
when the current movement condition of the sliding operation on the graphical user interface meets the preset requirement, controlling the scene map to be amplified;
wherein the control operation and the sliding operation are continuous operations.
14. The map control method of claim 13, wherein when the current movement situation of the sliding operation on the graphical user interface meets a preset requirement, controlling the scene map to be enlarged comprises:
and when the touch point currently moved to on the graphical user interface by the sliding operation exceeds a preset position on the graphical user interface, controlling the scene map to be amplified.
15. The map control method of claim 14, wherein the directional control key is displayed at a designated location on the graphical user interface prior to responding to the control operation, the responding to the control operation applied to the directional control key comprising:
responding to the sliding operation, taking the designated position as an initial touch point, and displaying the direction control key on the graphical user interface in a sliding manner according to the moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the specified position in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
16. The map control method of claim 14, wherein the responding to the control operation applied to the direction control key comprises:
responding to the control operation, displaying the direction control key at an initial touch point of the control operation on the graphical user interface, and displaying the direction control key on the graphical user interface in a sliding manner according to a moving track of the sliding operation on the graphical user interface;
the preset position is positioned above the fixed height of the initial touch point in the direction perpendicular to the connecting line of the first control key and the second control key of the direction control key; the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
17. The map control method of claim 14, wherein a logo indicating the preset position is displayed in the graphic user interface.
18. The map control method of claim 13, wherein when the current movement situation of the sliding operation on the graphical user interface meets a preset requirement, controlling the scene map to be enlarged comprises:
when the moving distance of the sliding operation exceeds a preset distance in the direction perpendicular to a connecting line of a first control key and a second control key of the direction control key, controlling the scene map to be enlarged;
the first control key is used for controlling the virtual character to move leftwards, and the second control key is used for controlling the virtual character to move rightwards.
19. The map control method of claim 18, wherein after responding to the control operation, the map control method further comprises:
displaying a first height identifier for indicating the preset distance and a second height identifier for indicating the moving distance of the sliding operation in the direction on the graphical user interface.
20. The map control method of claim 13, wherein the controlling the scene map to zoom in comprises:
determining the corresponding enlarged size of the touch point to which the sliding operation is currently moved according to the corresponding relation between the target position and the enlarged size;
and amplifying the scene map according to the amplification size.
21. The map control method of claim 13, wherein a display area of the enlarged scene map is not overlapped with a display area of the direction control key.
22. The map control method according to claim 13, characterized by further comprising:
and responding to the sliding operation, and when the sliding operation moves to an initial touch point on the graphical user interface, restoring the enlarged scene map to the initial size.
23. The map control method of claim 13, wherein the direction control keys include a first control key for controlling the virtual character to move to the left and a second control key for controlling the virtual character to move to the right, and wherein controlling the virtual character to move in the game scene displayed on the graphical user interface in response to a control operation applied to the direction control keys comprises:
responding to a control operation acted at a first position, and controlling the virtual character to move leftwards in a game scene displayed on the graphical user interface, wherein the first position is positioned at a position on the graphical user interface where a first control key is displayed;
and responding to a control operation acted at a second position, and controlling the virtual character to move rightwards in the game scene displayed on the graphical user interface, wherein the second position is positioned at the position of a second control key displayed on the graphical user interface.
24. The map control method of claim 13, wherein a control for controlling the scene map to zoom in is displayed in the graphical user interface.
25. A map control device is applied to a user terminal, a virtual character, a scene map with an initial size and a direction control key are displayed in a graphical user interface of the user terminal, and the map control device comprises:
the control unit is used for responding to the control operation acted on the direction control key and controlling the virtual character to move in the game scene displayed on the graphical user interface;
the adjusting unit is used for responding to sliding operation, controlling the direction control key to move on the graphical user interface according to the sliding operation, and controlling the scene map to be amplified when the moving condition of the direction control key meets the preset requirement;
wherein the control operation and the sliding operation are continuous operations.
26. A map control device is applied to a user terminal, a virtual character, a scene map with an initial size and a direction control key are displayed in a graphical user interface of the user terminal, and the map control device comprises:
the control unit is used for responding to the control operation acted on the direction control key and controlling the virtual character to move in the game scene displayed on the graphical user interface;
the adjusting unit is used for controlling the scene map to be amplified when the current moving condition of the sliding operation on the graphical user interface meets the preset requirement;
wherein the control operation and the sliding operation are continuous operations.
27. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the map control method as claimed in any one of claims 1 to 12 or claims 13 to 24.
28. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the map control method as set forth in any one of claims 1 to 12 or in claims 13 to 24.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010577167.XA CN111729298B (en) | 2020-06-22 | 2020-06-22 | Map control method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010577167.XA CN111729298B (en) | 2020-06-22 | 2020-06-22 | Map control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111729298A true CN111729298A (en) | 2020-10-02 |
CN111729298B CN111729298B (en) | 2024-06-04 |
Family
ID=72650499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010577167.XA Active CN111729298B (en) | 2020-06-22 | 2020-06-22 | Map control method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111729298B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113082708A (en) * | 2021-04-14 | 2021-07-09 | 网易(杭州)网络有限公司 | Task guiding method and device in game |
CN113082698A (en) * | 2021-04-15 | 2021-07-09 | 网易(杭州)网络有限公司 | Game display control method and device, electronic equipment and readable storage medium |
CN113426125A (en) * | 2021-07-02 | 2021-09-24 | 网易(杭州)网络有限公司 | Method and device for controlling virtual unit in game, storage medium, and electronic device |
CN115186026A (en) * | 2022-06-30 | 2022-10-14 | 北京字跳网络技术有限公司 | Map display method and device, storage medium and electronic equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004096825A (en) * | 2002-08-29 | 2004-03-25 | Toyota Motor Corp | Motor controller, and control method for the motor |
KR20090106028A (en) * | 2008-04-04 | 2009-10-08 | 엔에이치엔(주) | Method and system for displaying map in mobile terminal |
JP2013012188A (en) * | 2011-05-27 | 2013-01-17 | Kyocera Corp | Portable electronic device and character input method |
CN107715454A (en) * | 2017-09-01 | 2018-02-23 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
CN108553894A (en) * | 2018-05-07 | 2018-09-21 | 网易(杭州)网络有限公司 | Display control method and device, electronic equipment, storage medium |
CN108905203A (en) * | 2018-07-11 | 2018-11-30 | 网易(杭州)网络有限公司 | Information processing method, device, storage medium and electronic device |
CN109224439A (en) * | 2018-10-22 | 2019-01-18 | 网易(杭州)网络有限公司 | The method and device of game aiming, storage medium, electronic device |
CN109499061A (en) * | 2018-11-19 | 2019-03-22 | 网易(杭州)网络有限公司 | Method of adjustment, device, mobile terminal and the storage medium of scene of game picture |
-
2020
- 2020-06-22 CN CN202010577167.XA patent/CN111729298B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004096825A (en) * | 2002-08-29 | 2004-03-25 | Toyota Motor Corp | Motor controller, and control method for the motor |
KR20090106028A (en) * | 2008-04-04 | 2009-10-08 | 엔에이치엔(주) | Method and system for displaying map in mobile terminal |
JP2013012188A (en) * | 2011-05-27 | 2013-01-17 | Kyocera Corp | Portable electronic device and character input method |
CN107715454A (en) * | 2017-09-01 | 2018-02-23 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and storage medium |
CN108553894A (en) * | 2018-05-07 | 2018-09-21 | 网易(杭州)网络有限公司 | Display control method and device, electronic equipment, storage medium |
CN108905203A (en) * | 2018-07-11 | 2018-11-30 | 网易(杭州)网络有限公司 | Information processing method, device, storage medium and electronic device |
CN109224439A (en) * | 2018-10-22 | 2019-01-18 | 网易(杭州)网络有限公司 | The method and device of game aiming, storage medium, electronic device |
CN109499061A (en) * | 2018-11-19 | 2019-03-22 | 网易(杭州)网络有限公司 | Method of adjustment, device, mobile terminal and the storage medium of scene of game picture |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113082708A (en) * | 2021-04-14 | 2021-07-09 | 网易(杭州)网络有限公司 | Task guiding method and device in game |
CN113082698A (en) * | 2021-04-15 | 2021-07-09 | 网易(杭州)网络有限公司 | Game display control method and device, electronic equipment and readable storage medium |
CN113082698B (en) * | 2021-04-15 | 2024-02-23 | 网易(杭州)网络有限公司 | Game display control method and device, electronic equipment and readable storage medium |
CN113426125A (en) * | 2021-07-02 | 2021-09-24 | 网易(杭州)网络有限公司 | Method and device for controlling virtual unit in game, storage medium, and electronic device |
CN115186026A (en) * | 2022-06-30 | 2022-10-14 | 北京字跳网络技术有限公司 | Map display method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111729298B (en) | 2024-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111729298A (en) | Map control method and device, electronic equipment and storage medium | |
CN110270086B (en) | Method and device for controlling movement of virtual character in game | |
JP4093823B2 (en) | View movement operation method | |
US7268772B2 (en) | Information processing apparatus operating in touch panel mode and pointing device mode | |
JP5751608B2 (en) | Zoom processing apparatus, zoom processing method, and computer program | |
JP6428053B2 (en) | Graph display device, program, and server device | |
CN110448904B (en) | Game view angle control method and device, storage medium and electronic device | |
JP2011022851A (en) | Display terminal, image processing system, and image processing method | |
CN112774192A (en) | Game scene jumping method and device, electronic equipment and storage medium | |
CN110339556B (en) | Display control method and device in game | |
CN113440848A (en) | In-game information marking method and device and electronic device | |
JP5260708B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP6270495B2 (en) | Information processing apparatus, information processing method, computer program, and storage medium | |
CN111905371B (en) | Method and device for controlling target virtual character in game | |
CN116615271A (en) | System and method for accurate positioning using touch screen gestures | |
CN114546240B (en) | Interactive implementation method, device and equipment for game and storage medium | |
JP6565878B2 (en) | Display system | |
CN110193190B (en) | Game object creating method, touch terminal device, electronic device and medium | |
CN113648661A (en) | Method and device for processing information in game, electronic equipment and storage medium | |
JP2001195170A (en) | Portable electronic equipment, input controller and storage medium | |
CN113332703A (en) | Game role moving state switching method, device, equipment and storage medium | |
CN113908549A (en) | Method, device, equipment and storage medium for processing props in game | |
CN113721820A (en) | Man-machine interaction method and device and electronic equipment | |
CN113961128B (en) | Mobile control method and device for sliding bar with scales and electronic equipment | |
CN110652724A (en) | Display control method and device in game |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |