CN107335218B - Game scene moving method and device, storage medium, processor and terminal - Google Patents

Game scene moving method and device, storage medium, processor and terminal Download PDF

Info

Publication number
CN107335218B
CN107335218B CN201710551659.XA CN201710551659A CN107335218B CN 107335218 B CN107335218 B CN 107335218B CN 201710551659 A CN201710551659 A CN 201710551659A CN 107335218 B CN107335218 B CN 107335218B
Authority
CN
China
Prior art keywords
moving
pressure value
game scene
moving speed
speed ratio
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.)
Active
Application number
CN201710551659.XA
Other languages
Chinese (zh)
Other versions
CN107335218A (en
Inventor
古祁琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201710551659.XA priority Critical patent/CN107335218B/en
Publication of CN107335218A publication Critical patent/CN107335218A/en
Application granted granted Critical
Publication of CN107335218B publication Critical patent/CN107335218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a game scene moving method and device, a storage medium, a processor and a terminal. Wherein, the method comprises the following steps: acquiring a touch operation signal in the process of moving a game scene; the touch operation signal carries a first pressure value sensed by the touch screen; determining a first moving speed ratio corresponding to the first pressure value according to the corresponding relation between the preset pressure value and the moving speed ratio; and moving the game scene according to the determined first moving speed ratio. The invention solves the technical problem that the moving speed ratio cannot be adjusted in the moving process of a large-size game scene.

Description

Game scene moving method and device, storage medium, processor and terminal
Technical Field
The invention relates to the field of games, in particular to a game scene moving method and device, a storage medium, a processor and a terminal.
Background
In a draggable large-size (over a screen range) game scene, the device screen can only display a small part of the scene, and multiple drags are needed to find a specific position with a long distance. There are currently two positioning approaches: the first mode is as follows: and quickly positioning in a small map mapping and dragging mode, placing a small map which has a position mapping relation with the large scene in the scene, and marking a current view field frame in the small map. Clicking a certain position in the small map by a finger can instantly position a view field frame in the small map and a scene in a screen to the corresponding position. Fig. 1 is a schematic diagram of positioning by using a small map mapping and dragging manner in the related art, as shown in fig. 1, a finger moves on the small map, and a view frame in the small map and a scene in a screen also move correspondingly; the second mode is as follows: fast positioning is done by zooming the scene to change the drag rate, placing two fingers on the touch screen and bringing them closer together or apart to zoom in or out of the scene. Dragging the scene at a certain zoom ratio, the scene will follow the finger moving the same distance. When the finger moves the same distance, if the scene is larger than the zoom ratio, the moving scene range is smaller. The scene can be moved quickly by zooming out and dragging the scene again.
With the first mode described above, although scene movement over a large distance can be performed quickly, when the scene is too large, the accuracy of the operation is insufficient; if the minimap is too large (increasing accuracy), a large amount of occlusion of the scene can occur. As for the second method, although the relationship between the finger dragging distance and the scene dragging distance can be intuitively expressed, the second method has the disadvantages that the one-step two-finger zoom operation is required to be performed first to adjust the dragging rate ratio (i.e. the distance of the scene moving when the finger moves a unit distance), the operation pressure is relatively high, and the dragging rate ratio cannot be adjusted in the dragging process.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a game scene moving method and device, a storage medium, a processor and a terminal, which at least solve the technical problem that the moving speed ratio cannot be adjusted in the moving process of a large-size game scene.
According to an aspect of the embodiments of the present invention, there is provided a game scene moving method, applied to a touch terminal capable of presenting a graphical user interface, where the touch terminal includes a touch screen, and content presented by the graphical user interface includes all scenes or part of scenes of a game scene, the method including: acquiring a touch operation signal in the process of detecting the movement operation of a game scene; the touch operation signal carries a first pressure value sensed by the touch screen; determining a first moving speed ratio corresponding to the first pressure value according to the corresponding relation between the preset pressure value and the moving speed ratio; controlling movement of the game scene according to the first movement rate ratio.
Optionally, before acquiring the touch operation signal, the method further includes: detecting a touch operation acting on a touch screen; the touch operation acts on the touch screen to form a designated track; judging whether part or all of the designated track is positioned in a game scene; and if the judgment result is yes, triggering the game scene to move.
Optionally, determining whether part or all of the designated trajectory is located within the game scene includes: and judging whether the starting point position of the designated track is positioned in the game scene.
Optionally, the movement rate ratio is a magnitude of a second distance corresponding to the first distance; the first distance is a unit distance of movement on the touch screen, and the second distance is a distance of moving a game scene.
Optionally, the preset pressure value and the moving rate ratio correspond to each other and include at least one of: the pressure value is linear with the moving rate ratio; pressure values within the predetermined pressure range correspond to the same rate of movement ratio.
Optionally, the pressure values within the predetermined pressure range corresponding to the same moving rate ratio comprises: when the pressure value is between the pressure value with the pressure grade of the ith grade and the pressure value with the pressure grade of the (i + 1) th grade, the corresponding moving speed ratio is the moving speed ratio with the moving speed ratio grade of the ith grade; when the pressure value is larger than the pressure value with the Nth level, the corresponding moving speed ratio is the moving speed ratio with the Nth level; wherein i is a positive integer less than N, and N is an integer greater than or equal to 2.
Optionally, the method further comprises at least one of: displaying first prompt information, wherein the first prompt information is used for prompting a current movement rate ratio of a mobile game scene and/or a movement rate ratio grade of the current movement rate ratio; and displaying second prompt information, wherein the second prompt information is used for prompting that the moving speed ratio is changed by changing the pressure value.
Optionally, the method is applied in a scene where the game scene is larger than the size of the touch screen.
According to another aspect of the embodiments of the present invention, there is provided a game scene moving apparatus applied to a touch terminal capable of presenting a graphical user interface, where the touch terminal includes a touch screen, and content presented by the graphical user interface at least includes all scenes or part of scenes of a game scene, the apparatus including: the acquisition module is used for acquiring a touch operation signal in the process of moving the game scene; the touch operation signal carries a first pressure value sensed by the touch screen; the determining module is used for determining a first moving speed ratio corresponding to the first pressure value according to the corresponding relation between the preset pressure value and the moving speed ratio; and the moving module is used for controlling the movement of the game scene according to the first moving rate ratio.
Optionally, the apparatus further comprises: the detection module is used for detecting touch operation acting on the touch screen; the touch operation acts on the touch screen to form a designated track; the judging module is used for judging whether part or all of the designated track is positioned in the game scene; and the triggering module is used for triggering the movement operation of the game scene under the condition that the judgment result is yes.
Optionally, the determining module is further configured to determine whether the starting point position of the designated track is located in the game scene.
Optionally, the movement rate ratio is a magnitude of a second distance corresponding to the first distance; the first distance is a unit distance of movement on the touch screen, and the second distance is a distance of moving a game scene.
Optionally, the preset pressure value and the moving rate ratio correspond to each other and include at least one of: the pressure value is linear with the moving rate ratio; pressure values within the predetermined pressure range correspond to the same rate of movement ratio.
Optionally, the pressure values within the predetermined pressure range corresponding to the same moving rate ratio comprises: when the pressure value is between the pressure value with the pressure grade of the ith grade and the pressure value with the pressure grade of the (i + 1) th grade, the corresponding moving speed ratio is the moving speed ratio with the moving speed ratio grade of the ith grade; when the pressure value is larger than the pressure value with the Nth level, the corresponding moving speed ratio is the moving speed ratio with the Nth level; wherein i is a positive integer less than N, and N is an integer greater than or equal to 2.
Optionally, the apparatus further comprises at least one of: the first display module is used for displaying first prompt information, wherein the first prompt information is used for prompting the current movement rate ratio of the mobile game scene and/or the movement rate ratio grade of the current movement rate ratio; and the second display module is used for displaying second prompt information, wherein the second prompt information is used for prompting that the moving speed ratio is changed by changing the pressure value.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including: and a stored program, wherein the apparatus on which the storage medium is located is controlled to execute any one of the above-described game scene moving methods when the program is executed.
According to another aspect of the embodiments of the present invention, there is also provided a processor for executing a program, where the program executes to perform any one of the above game scene moving methods.
According to another aspect of the embodiments of the present invention, there is also provided a terminal, including: one or more processors, a memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the game scene moving method of any of the above.
In the embodiment of the invention, a mode of acquiring a first pressure value sensed by a touch screen in the process of moving a game scene is adopted, and the first moving rate ratio corresponding to the first pressure value is determined according to the preset corresponding relation between the pressure value and the moving rate ratio and the first pressure value, so that the aim of adjusting the moving rate ratio can be fulfilled based on the pressure value sensed by the touch screen in the process of moving the game scene, the technical effect that the moving rate ratio of the scene changes along with the pressure value sensed by the touch screen in real time is achieved, and the technical problem that the moving rate ratio cannot be adjusted in the moving process of a large-size game scene is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a diagram illustrating a related art positioning method using a small map dragging;
FIG. 2 is a flow chart of a method for moving a game scene according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a relationship between a pressure of a finger on a touch screen and a moving speed ratio according to an embodiment of the present invention;
FIG. 4 is a schematic illustration of a prompt message provided in accordance with a preferred embodiment of the present invention;
FIG. 5 is a block diagram of a mobile device for game scenes according to an embodiment of the present invention;
fig. 6 is a block diagram of a second structure of a game scene mobile device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of game scene movement, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 2 is a schematic flowchart of a game scene moving method according to an embodiment of the present invention, applied to a touch terminal capable of presenting a graphical user interface, where the touch terminal includes a touch screen, and content presented by the graphical user interface includes all scenes or a part of scenes of a game scene, as shown in fig. 2, the method includes the following steps:
step S202, acquiring a touch operation signal in the process of moving the game scene; the touch operation signal carries a first pressure value sensed by the touch screen;
step S204, determining a first movement rate ratio corresponding to a first pressure value according to a corresponding relation between a preset pressure value and the movement rate ratio;
and step S206, controlling the movement of the game scene according to the first movement rate ratio.
It should be noted that the numerical value of the moving rate ratio may be a numerical value of a second distance corresponding to the first distance, where the first distance is a unit distance moved on the touch screen, and the second distance is a distance moved in the game scene, that is, the moving rate ratio may be a ratio of a distance moved by the game scene relative to the screen to a distance moved by the touch object on the screen; but is not limited thereto.
The following are exemplified: assuming that the touch object (e.g., the finger of the user) moves 1 pixel on the touch screen and accordingly the distance moved by the game scene is controlled to be 4 pixels, the moving rate ratio is 4, and assuming that the distance is measured in pixels (i.e., the unit distance is 1 pixel in this example), the first distance may be considered to be 1 pixel and the second distance is 4 pixels. The moving direction of the user finger on the touch screen and the moving direction of the game scene can be the same or opposite, or the two direction vectors form a preset included angle; preferably, the two directions are the same.
Through the steps, a mode of acquiring a first pressure value sensed by the touch screen in the process of moving the game scene of the touch screen can be adopted, and the first moving rate ratio corresponding to the first pressure value is determined through the corresponding relation between the preset pressure value and the moving rate ratio and the first pressure value, so that the purpose of adjusting the moving rate ratio can be realized based on the pressure value sensed by the touch screen in the process of moving the game scene, the technical effect that the moving rate ratio of the scene changes along with the pressure value sensed by the touch screen in real time is realized, and the technical problem that the moving rate ratio cannot be adjusted in the moving process of the large-size game scene is solved.
In an embodiment of the present invention, before the step S202, the method may further include: detecting a touch operation acting on a touch screen; the touch operation acts on the touch screen to form a designated track; judging whether part or all of the designated track is positioned in a game scene; and if the judgment result is yes, triggering the game scene to move.
It should be noted that, determining whether part or all of the designated track is located in the game scene may be represented as: and judging whether the starting point position of the designated track is positioned in the game scene. In this way, it is possible to distinguish between operations that have performed the same touch operation during the game operation but are not used to trigger movement of the game scene.
The following are exemplified: if the finger of the user moves a certain distance after contacting the touch screen, whether the starting point of the finger movement is within the range of the game scene needs to be judged, and if so, the game scene is triggered to move; if the starting point of the finger movement is a UI control (such as an interface, a button and the like) with phagocytic touch property above the game scene, the movement of the game scene is not triggered; in this example, if the finger moves a distance after contacting the touch screen, a track is formed for the touch screen, the track can be regarded as the above-mentioned designated track, and the starting point of the designated track is the position of the starting point of the finger movement.
The designated trajectory may be a straight line or a curved line, but is not limited thereto.
It should be noted that the correspondence relationship may include at least one of the following: the pressure value is linear with the moving rate ratio; pressure values within the predetermined pressure range correspond to the same rate of movement ratio.
It should be noted that the linear relationship between the pressure value and the moving rate can be expressed as: the pressure value is in a direct proportional relationship with the moving rate ratio or in an inverse proportional relationship with the moving rate ratio, but is not limited thereto.
A pressure value within the predetermined pressure range corresponding to the same rate of movement ratio may be expressed as: when the pressure value is between the pressure value with the pressure grade of the ith grade and the pressure value with the pressure grade of the (i + 1) th grade, the corresponding moving speed ratio is the moving speed ratio with the moving speed ratio grade of the ith grade; when the pressure value is larger than the pressure value with the Nth level, the corresponding moving speed ratio is the moving speed ratio with the Nth level; wherein i is a positive integer less than N, and N is an integer greater than or equal to 2.
The higher the moving rate ratio level is, the larger the corresponding moving rate ratio is, but the present invention is not limited thereto.
In an embodiment of the present invention, the method may further include at least one of: displaying first prompt information, wherein the first prompt information is used for prompting a current movement rate ratio of a mobile game scene and/or a movement rate ratio grade of the current movement rate ratio; and displaying second prompt information, wherein the second prompt information is used for prompting that the moving speed ratio is changed by changing the pressure value.
It should be noted that, the displaying of the first prompt message and/or the displaying of the second prompt message may be performed before the step S202, or may be performed after the step S206, but the present invention is not limited thereto, and for example, the displaying of the first prompt message and/or the displaying of the second prompt message may be performed between the step S202 and the step S206, or may be performed simultaneously with the step S202 or the step S206.
The first prompt message and the second prompt message may be presented in the form of a prompt box, a text form, or a graph form, but the present invention is not limited thereto, and the prompt box may be translucent, transparent, or floating, but is not limited thereto.
It should be noted that the main body of the above steps may be a terminal, but is not limited thereto. It should be noted that the method described above may be applied to a scene in which a game scene is larger than the size of the touch screen, that is, to a scene in which the game scene cannot be displayed on one screen, but is not limited thereto.
The embodiment of the invention also provides a preferable method for adjusting the moving rate ratio of the game scene, which comprises the following steps: after the finger touches the touch screen, the finger moves a certain distance (for example, 10 pixels) to trigger the operation of dragging the scene, and the moving speed of the finger and the scene changes in real time along with the pressure of the finger on the touch screen (equivalent to the pressure value sensed by the touch screen) in the process of dragging the scene. The pressure and rate of movement ratio is divided into N levels (N ranges from 2 to plus infinity). The higher the level of the movement rate ratio, the greater the distance the scene moves when the finger moves the same distance on the touch screen. Fig. 3 is a schematic diagram of a corresponding relationship between pressure of a finger on a touch screen and a moving rate ratio according to a preferred embodiment of the present invention, and as shown in fig. 3, when i < N, the pressure is between an ith level and an (i + 1) th level, the moving rate ratio is an ith level; when the pressure is greater than the Nth stage, the moving speed ratio is fixed to the Nth stage; wherein i is an integer.
It should be noted that, when the scene is dragged, there is a corresponding prompt in the interface. Informing the player of the current level of the dragging rate ratio, fig. 4 is a schematic diagram of a prompt message provided according to a preferred embodiment of the present invention, as shown in fig. 4, the moving rate ratio is totally divided into 5 levels, which are respectively represented by 5 prompt boxes, and the first two prompt boxes of the 5 prompt boxes are marked as gray, which can be considered as that the current moving rate ratio is 2 levels; in the embodiment shown in fig. 4, the user is further prompted by the textual information "increasing finger pressure may speed up the drag" to increase finger pressure may speed up the drag.
The 5 prompt boxes may be an example of the first prompt message, and the text message may be an example of the second prompt message, but the present invention is not limited thereto.
According to an embodiment of the present invention, there is also provided a game scene moving apparatus, fig. 5 is a block diagram of a structure of the game scene moving apparatus, applied to a touch terminal capable of presenting a graphical user interface, where the touch terminal includes a touch screen, and content presented by the graphical user interface includes at least all scenes or a part of scenes of a game scene, as shown in fig. 5, the apparatus includes:
the obtaining module 52 is configured to obtain a touch operation signal in the process of performing a moving operation on a game scene; the touch operation signal carries a first pressure value sensed by the touch screen;
a determining module 54, connected to the obtaining module 52, for determining a first moving rate ratio corresponding to the first pressure value according to a corresponding relationship between a preset pressure value and the moving rate ratio;
a moving module 56, connected to the determining module 54, for controlling the movement of the game scene according to the first moving rate ratio.
By the device, the mode of acquiring the first pressure value sensed by the touch screen in the process of moving the game scene can be adopted, and the first moving speed ratio corresponding to the first pressure value is determined through the corresponding relation between the preset pressure value and the moving speed ratio and the first pressure value, so that the aim of adjusting the moving speed ratio can be fulfilled based on the pressure value sensed by the touch screen in the process of moving the game scene, the technical effect that the moving speed ratio of the scene changes along with the pressure value sensed by the touch screen in real time is achieved, and the technical problem that the moving speed ratio cannot be adjusted in the moving process of the large-size game scene is solved.
Optionally, fig. 6 is a block diagram of a second structure of the game scene moving apparatus according to the embodiment of the present invention, as shown in fig. 6, the apparatus further includes:
a detection module 62, configured to detect a touch operation applied to the touch screen; the touch operation acts on the touch screen to form a designated track;
a judging module 64, connected to the detecting module 62, for judging whether part or all of the designated track is located in the game scene;
and a triggering module 66, connected to the acquiring module 52 and the determining module 64, for triggering the moving operation of the game scene if the determination result is yes.
It should be noted that the determining module 64 may be further configured to determine whether the starting point of the designated track is located in the game scene.
Note that the moving speed ratio is the size of the second distance corresponding to the first distance; the first distance is a unit distance of movement on the touch screen, and the second distance is a distance of moving a game scene.
It should be noted that the preset pressure value and the moving rate ratio may correspond to at least one of the following: the pressure value is linear with the moving rate ratio; pressure values within the predetermined pressure range correspond to the same rate of movement ratio.
It should be noted that the pressure values within the predetermined pressure range corresponding to the same moving rate ratio include: when the pressure value is between the pressure value with the pressure grade of the ith grade and the pressure value with the pressure grade of the (i + 1) th grade, the corresponding moving speed ratio is the moving speed ratio with the moving speed ratio grade of the ith grade; when the pressure value is larger than the pressure value with the Nth level, the corresponding moving speed ratio is the moving speed ratio with the Nth level; wherein i is a positive integer less than N, and N is an integer greater than or equal to 2.
Optionally, the apparatus may further include at least one of: a first display module (not shown in the figure) for displaying a first prompt message, wherein the first prompt message is used for prompting the current movement rate ratio of the mobile game scene and/or the movement rate ratio grade of the current movement rate ratio; and a second display module (not shown) for displaying a second prompt message, wherein the second prompt message is used for prompting that the moving speed ratio is changed by changing the pressure value.
Alternatively, the apparatus may be located in the terminal, but is not limited thereto.
According to an embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the method for controlling a device on which the storage medium is located to execute the game scene movement is performed when the program runs. The storage medium may include, but is not limited to: various media capable of storing program codes, such as a U disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
According to an embodiment of the present invention, there is also provided a processor for executing a program, where the program executes the method for moving the game scene. The processor may include, but is not limited to: processing device for Microprocessor (MCU) or programmable logic device (FPGA) or the like
According to an embodiment of the present invention, there is also provided a terminal including: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the programs comprising methods for performing the game scene moving described above. In some embodiments, the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, and a Mobile Internet Device (MID), a PAD, and the like. The display device may be a touch screen type Liquid Crystal Display (LCD) that enables a user to interact with a user interface of the terminal. In addition, the terminal may further include: an input/output interface (I/O interface), a Universal Serial Bus (USB) port, a network interface, a power source, and/or a camera.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple 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 through some interfaces, units or modules, and may be in an electrical 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 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 of the present invention 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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit 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 invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A game scene moving method is applied to a touch terminal capable of presenting a graphical user interface, the touch terminal comprises a touch screen, the content presented by the graphical user interface comprises all scenes or partial scenes of a game scene, and the method comprises the following steps:
detecting a touch operation acting on the touch screen; the touch operation acts on the touch screen to form a designated track;
judging whether the starting point position of the specified track is positioned in the game scene;
if the judgment result is yes, triggering the following process of moving the game scene;
acquiring a touch operation signal in the process of detecting the movement operation of the game scene; the touch operation signal carries a first pressure value sensed by the touch screen;
determining a first movement rate ratio corresponding to the first pressure value according to a corresponding relation between a preset pressure value and the movement rate ratio, wherein the movement rate ratio is the size of a second distance corresponding to a first distance, the first distance is a unit distance moved on the touch screen, and the second distance is a distance moved on the game scene;
controlling movement of the game scene according to the first movement rate ratio;
wherein, the corresponding relation between the preset pressure value and the moving speed ratio comprises at least one of the following:
the pressure value is linear with the moving rate ratio;
pressure values within the predetermined pressure range correspond to the same rate of movement ratio.
2. The method of claim 1, wherein the pressure values within the predetermined pressure range corresponding to the same rate of movement ratio comprises:
when the pressure value is between the pressure value with the pressure grade of the ith grade and the pressure value with the pressure grade of the (i + 1) th grade, the corresponding moving speed ratio is the moving speed ratio with the moving speed ratio grade of the ith grade;
when the pressure value is greater than the pressure value with the Nth level, the corresponding moving speed ratio is the moving speed ratio with the Nth level;
wherein i is a positive integer less than N, and N is an integer greater than or equal to 2.
3. The method of claim 1, further comprising at least one of:
displaying first prompt information, wherein the first prompt information is used for prompting a current movement rate ratio for moving the game scene and/or a movement rate ratio grade of the current movement rate ratio;
displaying second prompt information for prompting to change the moving rate ratio by changing the pressure value.
4. The method of any of claims 1-3, wherein the method is applied to a scene in which the game scene is larger than the size of the touch screen.
5. A game scene moving device is applied to a touch terminal capable of presenting a graphical user interface, the touch terminal comprises a touch screen, the content presented by the graphical user interface at least comprises all scenes or partial scenes of a game scene, and the device comprises:
the detection module is used for detecting touch operation acting on the touch screen; the touch operation acts on the touch screen to form a designated track;
the judging module is used for judging whether the starting point position of the specified track is positioned in the game scene;
the triggering module is used for triggering the following process of moving the game scene under the condition that the judgment result is yes;
the acquisition module is used for acquiring a touch operation signal in the process of detecting the movement operation of a game scene; the touch operation signal carries a first pressure value sensed by the touch screen;
the determining module is used for determining a first moving speed ratio corresponding to the first pressure value according to a corresponding relation between a preset pressure value and the moving speed ratio, wherein the moving speed ratio is the size of a second distance corresponding to a first distance, the first distance is a unit distance moved on the touch screen, and the second distance is a distance moved on the game scene;
a moving module for controlling the movement of the game scene according to the first moving rate ratio;
wherein, the corresponding relation between the preset pressure value and the moving speed ratio comprises at least one of the following:
the pressure value is linear with the moving rate ratio;
pressure values within the predetermined pressure range correspond to the same rate of movement ratio.
6. The apparatus of claim 5, wherein pressure values within a predetermined pressure range corresponding to a same rate of movement ratio comprises:
when the pressure value is between the pressure value with the pressure grade of the ith grade and the pressure value with the pressure grade of the (i + 1) th grade, the corresponding moving speed ratio is the moving speed ratio with the moving speed ratio grade of the ith grade;
when the pressure value is greater than the pressure value with the Nth level, the corresponding moving speed ratio is the moving speed ratio with the Nth level;
wherein i is a positive integer less than N, and N is an integer greater than or equal to 2.
7. The apparatus of claim 5, further comprising at least one of:
the first display module is used for displaying first prompt information, wherein the first prompt information is used for prompting a current movement rate ratio for moving the game scene and/or a movement rate ratio grade of the current movement rate ratio;
and the second display module is used for displaying second prompt information, wherein the second prompt information is used for prompting that the moving speed ratio is changed by changing the pressure value.
8. A storage medium comprising a stored program, wherein the program, when executed, controls a device on which the storage medium is located to execute the game scene moving method according to any one of claims 1 to 4.
9. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the game scene moving method according to any one of claims 1 to 4 when running.
10. A touch terminal capable of presenting a graphical user interface, comprising: one or more processors, memory, a display device, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising instructions for performing the game scene moving method of any of claims 1 to 4.
CN201710551659.XA 2017-07-07 2017-07-07 Game scene moving method and device, storage medium, processor and terminal Active CN107335218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710551659.XA CN107335218B (en) 2017-07-07 2017-07-07 Game scene moving method and device, storage medium, processor and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710551659.XA CN107335218B (en) 2017-07-07 2017-07-07 Game scene moving method and device, storage medium, processor and terminal

Publications (2)

Publication Number Publication Date
CN107335218A CN107335218A (en) 2017-11-10
CN107335218B true CN107335218B (en) 2021-02-19

Family

ID=60218998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710551659.XA Active CN107335218B (en) 2017-07-07 2017-07-07 Game scene moving method and device, storage medium, processor and terminal

Country Status (1)

Country Link
CN (1) CN107335218B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109621410A (en) * 2018-12-29 2019-04-16 努比亚技术有限公司 A kind of game control method, terminal and computer readable storage medium
CN111185001A (en) * 2019-12-24 2020-05-22 蒋洁 Display target movement control method and device, mouse and gamepad

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102317892A (en) * 2009-11-10 2012-01-11 索尼计算机娱乐公司 Method for controlling information input apparatus, information input apparatus, program, and information storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4119436B2 (en) * 2005-03-10 2008-07-16 株式会社コナミデジタルエンタテインメント Information input conversion program and information input conversion device
CN104704457B (en) * 2012-10-11 2017-09-15 阿尔卑斯电气株式会社 Input unit and the multiple spot load testing method using the input unit
CN104915140A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Processing method based on virtual key touch operation data and processing device based on virtual key touch operation data
CN105446525B (en) * 2015-11-10 2018-06-29 网易(杭州)网络有限公司 A kind of control method of game role behavior

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102317892A (en) * 2009-11-10 2012-01-11 索尼计算机娱乐公司 Method for controlling information input apparatus, information input apparatus, program, and information storage medium

Also Published As

Publication number Publication date
CN107335218A (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN105117156B (en) A kind of information processing method and electronic equipment
CN107077197B (en) 3D visualization map
EP3736675B1 (en) Method for performing operation on touchscreen and terminal
CN107596688B (en) Skill release control method and device, storage medium, processor and terminal
CN110448904B (en) Game view angle control method and device, storage medium and electronic device
CN105302407A (en) Application icon display method and apparatus
US8542207B1 (en) Pencil eraser gesture and gesture recognition method for touch-enabled user interfaces
US9880721B2 (en) Information processing device, non-transitory computer-readable recording medium storing an information processing program, and information processing method
US20150063785A1 (en) Method of overlappingly displaying visual object on video, storage medium, and electronic device
CN107239222B (en) Touch screen control method and terminal device
CN106980379B (en) Display method and terminal
US20170364243A1 (en) Graphical interface and method for managing said graphical interface during the touch-selection of a displayed element
KR101891306B1 (en) Method and Apparatus for Realizaing Human-Machine Interaction
CN105159494A (en) Information display method and device
CN107335218B (en) Game scene moving method and device, storage medium, processor and terminal
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
CN105278751A (en) Method and apparatus for implementing human-computer interaction, and protective case
CN113138670B (en) Touch screen interaction gesture control method and device, touch screen and storage medium
CN104978135A (en) Icon display method and device, and mobile terminal
CN107908331B (en) Display control method of desktop icon and electronic equipment
CN107656691A (en) A kind of display methods of sidebar, device, equipment and storage medium
CN105068608B (en) A kind of information processing method and electronic equipment
US10379639B2 (en) Single-hand, full-screen interaction on a mobile device
CN104317492A (en) Wallpaper setting method
CN110659090B (en) Method, device and system for adjusting goods channel of vending machine and computer equipment

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