CN110251936A - The control method, equipment and storage medium of virtual camera in game - Google Patents

The control method, equipment and storage medium of virtual camera in game Download PDF

Info

Publication number
CN110251936A
CN110251936A CN201910548213.0A CN201910548213A CN110251936A CN 110251936 A CN110251936 A CN 110251936A CN 201910548213 A CN201910548213 A CN 201910548213A CN 110251936 A CN110251936 A CN 110251936A
Authority
CN
China
Prior art keywords
touch
virtual camera
screen
terminal device
touch area
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
Application number
CN201910548213.0A
Other languages
Chinese (zh)
Other versions
CN110251936B (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 CN201910548213.0A priority Critical patent/CN110251936B/en
Publication of CN110251936A publication Critical patent/CN110251936A/en
Application granted granted Critical
Publication of CN110251936B publication Critical patent/CN110251936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/25Output arrangements for video game devices
    • 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
    • A63F13/426Processing 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 involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides control method, equipment and the storage medium of virtual camera in a kind of game, wherein, this method is applied to be provided with the terminal device of the first screen and the second screen, first screen and the second screen are located on two opposite faces of terminal device, this method comprises: response acts on the first touch control operation of the first touch area, the projected position of control virtual camera in the horizontal plane;Response acts on the second touch control operation of the second touch area, controls the direction of virtual camera;Response acts on the third touch control operation of third touch area, controls the height of virtual camera;Response acts on the 4th touch control operation of the 4th touch area, control virtual camera rotation.User can input multiple touch control operations to terminal device simultaneously simultaneously, terminal device carries out multi-faceted adjusting to virtual camera, virtual camera is controlled simultaneously according to multiple touch control operations, timely adjusts virtual camera to state required for user.

Description

The control method, equipment and storage medium of virtual camera in game
Technical field
This application involves the control method, equipment of virtual camera in game technical field more particularly to a kind of game and Storage medium.
Background technique
With the development of electronic entertainment industry, game is liked by more and more users;Also, more and more game It can be operated by terminal device, especially mobile terminal device.After terminal device shows game, user needs to manipulate Scene of game needs to adjust virtual camera at this time.
In the prior art, after the screen of terminal device shows scene of game, terminal device can be shown on the screen Multiple controls, each control are located on the fixation position of screen.For each control, user's operation control, in turn Terminal device detects the operational order of user, terminal device according to operational order, to the position of virtual camera, towards etc. It is adjusted.
However in the prior art, since terminal device shows multiple controls on the screen, due to the complexity of scene of game, It would generally show 2 or more controls;And each control is located on the fixation position of screen.The terminal of single-screen is set For standby, control is dispersed on each position of screen, and user can not manipulate multiple controls simultaneously, and terminal device can not root simultaneously Virtual camera is controlled simultaneously according to multiple operational orders, further, terminal device can not timely will be imaged virtually Machine is adjusted to state required for user.
Summary of the invention
The application provides control method, equipment and the storage medium of virtual camera in a kind of game, at least partly Solve the problems, such as that terminal device can not timely regulation and control virtual camera in the prior art.
In a first aspect, the embodiment of the present application provides a kind of control method of virtual camera in game, applied to being provided with The terminal device of first screen and the second screen, first screen and second screen are located at two of the terminal device On opposite face, first screen is provided with the first touch area and the second touch area, and second screen is provided with third Touch area and the 4th touch area, the method, comprising:
Response acts on the first touch control operation of first touch area, controls the virtual camera in the horizontal plane Projected position;
Response acts on the second touch control operation of second touch area, controls the direction of the virtual camera;
Response acts on the third touch control operation of the third touch area, controls the height of the virtual camera;
Response acts on the 4th touch control operation of the 4th touch area, controls the virtual camera rotation, described The rotary shaft of rotation is parallel to current direction.
Optionally, first touch area is located at half side region of first screen, the second touch area position In the other half side region of first screen;
The third touch area is located at half side region of second screen, and the 4th touch area is located at described the The other half side region of two screens.
Optionally, response acts on the first touch control operation of first touch area, controls the virtual camera and exists Projected position on horizontal plane, comprising:
The first touch point for responding first touch control operation moves on first touch area, according to described first The mobile control virtual camera of touch point moves in the preset plane in scene of game, wherein the preset plane with The horizontal plane is parallel.
Optionally, response acts on the second touch control operation of second touch area, controls the virtual camera Direction, comprising:
Obtain the current direction of the virtual camera;
The second touch point for detecting second touch control operation moves on second touch area;
According to the moving direction of second touch point, the change direction of the direction of the virtual camera is controlled;According to The moving distance of second touch point controls the change angle of the direction of the virtual camera;
According to the current direction, the change direction and the change angle, the final of the virtual camera is determined Direction.
Optionally, response acts on the third touch control operation of the third touch area, controls the virtual camera Highly, comprising:
Obtain the present level of the virtual camera;
Detect movement of the third touch point of the third touch control operation on the third touch area;
According to the moving distance and moving direction of the third touch point, the height change of the virtual camera is controlled;
According to the present level and the height change, the final height of the virtual camera is determined.
Optionally, the method also includes:
Show that the first control, first control are used to indicate the described of the virtual camera on first screen Height change.
Optionally, response acts on the 4th touch control operation of the 4th touch area, controls the virtual camera rotation Turn, comprising:
The 4th touch point for detecting the 4th touch control operation moves on the 4th touch area;
According to the moving direction of the 4th touch point, the direction of rotation of the virtual camera, the rotation side are controlled To including clockwise and counterclockwise;According to the moving distance of the 4th touch point, the virtual camera is determined Rotation angle.
Optionally, the method also includes:
Show that the second control, second control are used to indicate the described of the virtual camera on first screen Direction of rotation.
Optionally, the method also includes:
In the following ways any one or more prompts the position and orientation of the virtual camera: text, language Sound, projection.
Second aspect, the embodiment of the present application provide a kind of terminal device, and the terminal device is provided with the first screen and Two screens, first screen and second screen are located on two opposite faces of the terminal device, first screen It is provided with the first touch area and the second touch area, second screen is provided with third touch area and the 4th Touch Zone Domain, the terminal device, comprising:
First control unit controls in game for responding the first touch control operation for acting on first touch area Virtual camera projected position in the horizontal plane;
Second control unit controls the void for responding the second touch control operation for acting on second touch area The direction of quasi- video camera;
Third control unit controls the void for responding the third touch control operation for acting on the third touch area The height of quasi- video camera;
4th control unit controls the void for responding the 4th touch control operation for acting on the 4th touch area Quasi- camera rotation, the rotary shaft of the rotation are parallel to current direction.
Optionally, first touch area is located at half side region of first screen, the second touch area position In the other half side region of first screen;
The third touch area is located at half side region of second screen, and the 4th touch area is located at described the The other half side region of two screens.
Optionally, the first control unit, is specifically used for:
The first touch point for responding first touch control operation moves on first touch area, according to described first The mobile control virtual camera of touch point moves in the preset plane in scene of game, wherein the preset plane with The horizontal plane is parallel.
Optionally, second control unit, comprising:
First obtains module, for obtaining the current direction of the virtual camera;
First detection module, for detecting the second touch point of second touch control operation in second touch area It is mobile;
First control module controls the court of the virtual camera for the moving direction according to second touch point To change direction;According to the moving distance of second touch point, the change angle of the direction of the virtual camera is controlled;
First determining module, described in determining according to the current direction, the change direction and the change angle Virtual camera is ultimately towards.
Optionally, the third control unit, comprising:
Second obtains module, for obtaining the present level of the virtual camera;
Second detection module, for detecting the third touch point of the third touch control operation in the third touch area Movement;
Second control module controls described virtual for the moving distance and moving direction according to the third touch point The height change of video camera;
Second determining module, for determining the virtual camera according to the present level and the height change Final height.
Optionally, the terminal device further include:
First display unit, for showing that the first control, first control are used to indicate institute on first screen State the height change of virtual camera.
Optionally, the 4th control unit, comprising:
Third detection module, for detecting the 4th touch point of the 4th touch control operation in the 4th touch area It is mobile;
Third control module controls the rotation of the virtual camera for the moving direction according to the 4th touch point Turn direction, the direction of rotation includes clockwise and counterclockwise;
Third determining module determines the rotation of the virtual camera for the moving distance according to the 4th touch point Gyration.
Optionally, the terminal device further include:
Second display unit, for showing that the second control, second control are used to indicate institute on first screen State the direction of rotation of virtual camera.
Optionally, the terminal device further include:
Prompt unit, in the following ways any one or more, prompt the virtual camera position and Direction: text, voice, projection.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: memory and processor are deposited in memory Contain the executable instruction of the processor;Wherein, the processor is configured to execute via the executable instruction is executed Method described in any one of first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer program, First aspect described in any item methods are realized when the program is executed by processor.
The application provides control method, equipment and the storage medium of virtual camera in a kind of game, by for having The terminal device of first screen and the second screen is provided with the first touch area and the second touch area in the first screen, Two screens are provided with third touch area and the 4th touch area;The relative status of first screen and the second screen is to be located at eventually On two opposite faces of end equipment;Response acts on the first touch control operation of the first touch area, controls virtual camera in water Projected position in plane;Response acts on the second touch control operation of the second touch area, controls the direction of virtual camera;It rings The third touch control operation that third touch area should be acted on, controls the height of virtual camera;Response acts on the 4th Touch Zone 4th touch control operation in domain, control virtual camera rotation, the rotary shaft of rotation are parallel to current direction.User can be using behaviour Make the first screen and/or the second screen of medium touch control terminal equipment, terminal device can detecte in following touch control operation It is one or more: the first touch control operation, the second touch control operation, third touch control operation, the 4th touch control operation;Terminal device is detecting When to a certain touch control operation, corresponding control action is executed according to the touch control operation.Due to the provision of positioned at opposite face Two screens, so that user carries out the adjusting of virtual camera, user can timely be operated two screens;Also, User can simultaneously two screens of touch-control, and then to terminal device simultaneously input multiple touch control operations, terminal device can be to trip Virtual camera in play carries out multi-faceted adjusting, can be controlled simultaneously to virtual camera according to multiple touch control operations System, terminal device can timely be adjusted virtual camera to state required for user.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this Shen Some embodiments please for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic diagram one of virtual camera in control game provided by the embodiments of the present application;
Fig. 2 is the schematic diagram two of virtual camera in control game provided by the embodiments of the present application;
Fig. 3 is the flow chart of the control method of virtual camera in a kind of game provided by the embodiments of the present application;
Fig. 4 is the schematic diagram three of virtual camera in control game provided by the embodiments of the present application;
Fig. 5 is the flow chart of the control method of virtual camera in another game provided by the embodiments of the present application;
Fig. 6 is the schematic diagram four of virtual camera in control game provided by the embodiments of the present application;
Fig. 7 is the schematic diagram five of virtual camera in control game provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application;
Fig. 9 is the structural schematic diagram of another terminal device provided by the embodiments of the present application;
Figure 10 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Through the above attached drawings, it has been shown that the specific embodiment of the application will be hereinafter described in more detail.These attached drawings It is not intended to limit the range of the application design in any manner with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
The description and claims of this application and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that embodiments herein described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
It is described in detail below with technical solution of the specifically embodiment to the application.These specific implementations below Example can be combined with each other, and the same or similar concept or process may be repeated no more in some embodiments.
With the development of electronic entertainment industry, game is liked by more and more users;Also, more and more game It can be operated by terminal device, especially mobile terminal device.After terminal device shows game, user needs to manipulate Scene of game needs to adjust virtual camera at this time, for example, changing the direction of virtual camera, changing virtual camera three Tie up control in position, etc..
For virtual camera in game, following methods are provided.
First way: terminal device shows scene of game, terminal device display parameters input control on the screen;User Parameter can be inputted in parameter input control;Terminal device gets the parameter of user's input, then according to parameter to game The position of middle virtual camera, direction, angle etc. are adjusted.
For example, Fig. 1 is the schematic diagram one of virtual camera in control game provided by the embodiments of the present application, such as Fig. 1 Shown, terminal device shows that scene of game, terminal device can show the Time Orbiting of game;Terminal device is the trip of each frame The parameters of play scene are parameterized, for example, being that the position of virtual camera, angle etc. are parameterized;Terminal is set It is standby to provide parameter input control, user can input into parameter input control parameter or, the input of user's control parameter is controlled Part inputs parameter to terminal device in turn.As shown in Figure 1, the parameter input control of the camera mode of virtual camera is provided, User can choose camera mode;Provide the parameter input control of lens location, user's control parameter input control so as to The parameter of terminal device input virtual camera position.
But in above-mentioned first way, user needs to input parameter into terminal device, and user is as player, user couple Understand that there are great difficulties in the technology of the parameter of virtual camera;User without inputting accurate parameter in normal direction terminal device, To which terminal device can not timely get accurate virtual camera parameter, brought to terminal device control virtual camera Very big difficulty.
The second way: after the screen of terminal device shows scene of game, terminal device can be shown on the screen Multiple controls, each control are located on the fixation position of screen.For each control, user's operation control, in turn Terminal device detects the operational order of user, and terminal device is according to operational order, to the position of virtual camera, angle etc. It is adjusted.
For example, Fig. 2 is the schematic diagram two of virtual camera in control game provided by the embodiments of the present application, such as Fig. 2 Shown, terminal device shows that scene of game, terminal device provide multiple controls on the fixation position of screen;Such as rocking bar control Part, it is mobile that rocking bar control controls the X of virtual camera, Y-axis;Height adjustment control, height adjustment control control virtual camera Z axis it is mobile;Horizontally slip control, and the control that horizontally slips controls the level angle of virtual camera;Control is slided up and down, on Lower slider control controls the depression angle of virtual camera.
But in the above-mentioned second way, do not provide the control of the tilt angle of virtual camera, i.e., it is empty without providing The control of the rotation angle of quasi- video camera.Also, for the terminal device of single-screen, control is dispersed in each position of screen It sets, user can not manipulate multiple controls simultaneously, and terminal device can not be simultaneously according to multiple operational orders simultaneously to virtual camera shooting Machine is adjusted, and further, terminal device can not timely regulation and control virtual camera.
The application provides control method, equipment and the storage medium of virtual camera in a kind of game, can be in game Virtual camera carry out multi-faceted adjusting, can according to multiple touch control operations simultaneously virtual camera is controlled, can Timely virtual camera to be adjusted to state required for user.
How the technical solution of the application and the technical solution of the application are solved with specifically embodiment below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiments herein is described.
Fig. 3 is the flow chart of the control method of virtual camera in a kind of game provided by the embodiments of the present application, this method Applied to the terminal device for being provided with the first screen and the second screen, the first screen and the second screen are located at two of terminal device On opposite face, the first screen is provided with the first touch area and the second touch area, and the second screen is provided with third touch area With the 4th touch area, as shown in figure 3, the method in the present embodiment may include:
S101, response act on the first touch control operation of the first touch area, and control virtual camera is in the horizontal plane Projected position.
In the present embodiment, the executing subject of the embodiment of the present application can be terminal device.Terminal device has at least two Screen, the present embodiment are related to two screens therein;Two screens that the present embodiment is related to, respectively the first screen and the second screen Curtain.Location status between first screen and the second screen are as follows: the first screen and the second screen are located at two phases of terminal device On opposite.Wherein, the first screen is for showing scene of game.
For example, terminal device is the terminal device of double-sided screen, the first screen is the front panel of terminal device, and the second screen is The reverse side screen of terminal device.
For another example terminal device is the terminal device of Folding screen, terminal device can be folded;In terminal device Under folded state, the first screen is the front panel of terminal device, and the second screen is the reverse side screen of terminal device.
In another example terminal device is that there are two the terminal devices of screen for other tools;Terminal device is in the side for realizing the application During method, the first screen and the second screen are located on two opposite faces of terminal device, that is, and the state of two screens is, First screen is the front panel of terminal device, and the second screen is the reverse side screen of terminal device.
Fig. 4 is the schematic diagram three of virtual camera in control game provided by the embodiments of the present application, as shown in figure 4, user The first screen and the second screen of touch control terminal equipment can be selected using operation medium.Wherein, operation medium can be user Finger or touching pen or other touch control operation media.For example, operation medium is the finger of user, user shown in Fig. 4 Terminal device, the first screen of the Toe Transplantation for Segmental Finger touch control terminal equipment of user, another part finger of user can be held with both hands Second screen of touch control terminal equipment.
Also, it is provided with the first touch area and the second touch area for the first screen, is provided with third for the second screen Touch area and the 4th touch area.Optionally, there is no overlapping region, third between the first touch area and the second touch area There is no overlapping region between touch area and the 4th touch area.
First touch control operation needs to act on the region of first position, at this point, terminal device just approves the first touch control operation It is effective.Second touch control operation needs to act on the region of the second position, at this point, terminal device just approves that the second touch-control is grasped Work is effective.Third touch control operation needs to act on the third place region, at this point, terminal device just approves third touch-control Operation is effective.4th touch control operation needs to act on the 4th band of position, at this point, terminal device just approves the 4th touching Control operation is effective.
When executing the present embodiment, user can with the first touch area on the first screen of touch control terminal equipment, And then terminal device detects the first touch control operation, the first touch control operation, which is used to indicate, adjusts virtual camera in the horizontal plane Projected position.Wherein, the projected position of virtual camera in the horizontal plane includes the coordinate of virtual camera in the x direction The coordinate information of information and virtual camera in y-direction.Here the direction x and the direction y, refer to default in gaming The direction x and the direction y are not restricted to the direction x and the direction y in physical direction.Horizontal plane refers to one in gaming Horizontal plane is not restricted to the concept of the horizontal plane in physical direction, it is preferred that horizontal plane refer to in scene of game Ground level.
It should be noted that the game picture shown on screen is the scene of game content that virtual camera takes. For example, in first person game, virtual camera can be arranged on the head of virtual role, the direction of virtual camera with It is rotated with the rotation of virtual role, rendering obtains game picture and is equivalent to the scene of game that virtual camera takes on screen Content.In third person game, virtual camera can be arranged on the back upper place or surface of virtual role, virtual to image The direction of machine follows the movement of virtual role and moves, with the sports ground of certain area around fixed angle shooting virtual role Scape.
Then, terminal device is according to the first touch control operation, the projection position of regulation and control virtual camera in the horizontal plane It sets.
S102, response act on the second touch control operation of the second touch area, control the direction of virtual camera.
In the present embodiment, user can be with the second touch area on the first screen of touch control terminal equipment, and then terminal is set It is standby to detect the second touch control operation;Second touch control operation is used to adjust the direction of virtual camera.Wherein, the court of virtual camera To the shooting direction for referring to virtual camera.Then, terminal device is virtually imaged according to the second touch control operation, regulation and control The direction of machine.The direction of virtual camera is the pitch angle of virtual camera.
S103, response act on the third touch control operation of third touch area, control the height of virtual camera.
In the present embodiment, user can be with the third touch area on the second screen of touch control terminal equipment, and then terminal is set It is standby to detect third touch control operation;Third touch control operation is used to indicate the height for adjusting virtual camera.Wherein, virtual camera Height refer to the height of virtual camera in a z-direction;Here the direction z refers to the default side z in gaming To being not restricted to the direction z in physical direction;The direction z is vertical with the above-mentioned direction x, the direction y respectively.Then, terminal device According to third touch control operation, the height of regulation and control virtual camera.
S104, response act on the 4th touch control operation of the 4th touch area, control virtual camera rotation, the rotation of rotation Shaft is parallel to current direction.
In the present embodiment, user can be with the 4th touch area on the second screen of touch control terminal equipment, and then terminal is set It is standby to detect the 4th touch control operation;4th touch control operation is used to indicate the direction of rotation and rotation position for adjusting virtual camera. Here the direction of rotation and rotation position of virtual camera, refer to the tilt angle of virtual camera.
Then, terminal device is rotated according to the 4th touch control operation, regulation and control virtual camera, also, virtual For video camera when rotation, the rotary shaft of rotation is parallel to the current direction of virtual camera.
Wherein, the rotary shaft of virtual camera is a preset axis;Rotary shaft can pass through virtual camera.
Also, in the present embodiment, the execution order between above-mentioned steps S101-S104 provided, without limitation;Also, For executing one or more steps in step S101-S104, also without limitation.As long as terminal device is detecting a certain touching When control operation, so that it may execute corresponding control action according to the touch control operation.
For example, terminal device detects the first touch control operation, then terminal device controls virtual camera in horizontal plane On projected position;Meanwhile terminal device detects the second touch control operation, then terminal device controls the direction of virtual camera.
Again for example, terminal device detects the first touch control operation, then terminal device controls virtual camera in level Projected position on face;Meanwhile terminal device detects third touch control operation, then terminal device controls the height of virtual camera Degree;Meanwhile terminal device detects the 4th touch control operation, then terminal device control virtual camera is rotated.
The present embodiment, by being provided with the in the first screen for the terminal device with the first screen and the second screen One touch area and the second touch area are provided with third touch area and the 4th touch area in the second screen;First screen It is on two opposite faces of terminal device with the relative status of the second screen;Response acts on the of the first touch area One touch control operation, the projected position of control virtual camera in the horizontal plane;Response acts on the second touching of the second touch area Control operation, controls the direction of virtual camera;Response acts on the third touch control operation of third touch area, controls virtual camera shooting The height of machine;Response acts on the 4th touch control operation of the 4th touch area, control virtual camera rotation, the rotary shaft of rotation It is parallel to current direction.User can be set using the first screen and/or the second screen, terminal of operation medium touch control terminal equipment Standby one of following touch control operation or a variety of that can detecte: the first touch control operation, the second touch control operation, third touch-control behaviour Make, the 4th touch control operation;Terminal device executes corresponding control when detecting a certain touch control operation, according to the touch control operation Braking is made.Due to the provision of be located at opposite face two screens, for user carry out virtual camera adjusting, user can and When two screens are operated;Also, user can simultaneously two screens of touch-control, and then to terminal device simultaneously input it is more A touch control operation, terminal device can carry out multi-faceted adjusting to the virtual camera in game, can be according to multiple touch-controls Operation simultaneously controls virtual camera, and terminal device can timely be adjusted virtual camera to required for user State.
Fig. 5 is the flow chart of the control method of virtual camera in another game provided by the embodiments of the present application, the party Method is applied to be provided with the terminal device of the first screen and the second screen, and the first screen and the second screen are located at the two of terminal device On a opposite face, the first screen is provided with the first touch area and the second touch area, and the second screen is provided with third Touch Zone Domain and the 4th touch area;As shown in figure 5, the method in the present embodiment may include:
S201, response act on the first touch control operation of the first touch area, and control virtual camera is in the horizontal plane Projected position.
Optionally, the first touch area is located at half side region of the first screen, and the second touch area is located at the first screen The other half side region;Third touch area is located at half side region of the second screen, and the 4th touch area is located at the another of the second screen Half side region.
Optionally, step S201 is specifically included: the first touch point of the first touch control operation of response is on the first touch area It is mobile, it is moved in the preset plane in scene of game according to the mobile control virtual camera of the first touch point, wherein presetting Plane is parallel to the horizontal plane.
In the present embodiment, the executing subject of the embodiment of the present application can be terminal device.Terminal device has there are two screen, Respectively the first screen and the second screen.Location status between first screen and the second screen are as follows: the first screen and the second screen Curtain is located on two opposite faces of terminal device.First screen is for showing scene of game.This step may refer to shown in Fig. 3 Step S101.
Also, in the present embodiment, the first touch area is located in half side region of the first screen, for example, the first touch-control Region is the partial region of half side region of the first screen, alternatively, the first touch area is the complete of half side region of the first screen Portion region.Second touch area is located in the other half side region of the first screen, for example, the second touch area is the first screen The partial region of the other half side region, alternatively, the second touch area is the whole region of the other half side region of the first screen.
Third touch area is located in half side region of the second screen, for example, third touch area is the half of the second screen The partial region of side region, alternatively, third touch area is the whole region of half side region of the second screen.4th touch area In the other half side region of the second screen, for example, the 4th touch area is the part of the other half side region of the second screen Region, alternatively, the 4th touch area is the whole region of the other half side region of the second screen.
For example, for the ease of user's operation, first position region is half side region of a left side of the first screen, the second position Region is half side region of the right side of the first screen;Here left and right refers to when user holds terminal device, user towards When first screen, half side region of a left side of the first screen, right half side region.Also, the third place region is the second screen Right half side region, the 4th band of position is half side region of a left side of the second screen;Here it is also to hold in user that left and right, which refers to, When terminal device, when user is towards the first screen, half side region of a left side of the first screen, right half side region.
When executing the present embodiment, user is using the first touching on the first screen of operation medium touch control terminal equipment Region is controlled, at this point, user triggers the first touch point on the first touch area;Then, user is using operation medium first It is moved on touch area, thus, terminal device detects that the first touch point is moved on the first touch area.
The mobile message of first touch point and the first touch point constitutes the first touch control operation;Terminal device can foundation The moving direction and moving distance of first touch point determine how moving direction of the control virtual camera in preset plane And moving distance;Wherein, above-mentioned preset plane is parallel to the horizontal plane, and horizontal plane refers to a horizontal plane in gaming, and It is not limited only to the concept of the horizontal plane in physical direction.Specifically, user is touched using operation medium the first of the first screen Control is moved on region, and then triggers first touch point on the first screen;As medium is on the first touch area Mobile, the first touch point moves on the first touch area;Terminal device can detecte out the first touch point in the first Touch Zone The moving direction and moving distance moved on domain;Then, terminal device is determined and movement side according to preset corresponding relationship To virtual camera mobile message corresponding to, moving distance, corresponding relationship at this time is moving direction, moving distance, virtual Corresponding relationship between video camera mobile message three;Then, the virtual camera mobile message that terminal device foundation is determined, Control virtual camera is moved in preset plane.
For example, terminal device on the first position region of the first screen, shows a rocking bar control;User's operation this shake Bar control, and then the operation medium of user has moving direction and moving distance on the first screen;Terminal device can determine Virtual camera mobile message corresponding with moving direction, moving distance out, and virtual camera is adjusted in the direction x and the direction y On moving direction, moving distance.
S202, response act on the second touch control operation of the second touch area, control the direction of virtual camera.
Optionally, step S202 the following steps are included:
First step, the current direction for obtaining virtual camera.
Second step, the second touch point for detecting the second touch control operation move on the second touch area.
Third step, according to the moving direction of the second touch point, control the change direction of the direction of virtual camera;According to The moving distance of second touch point controls the change angle of the direction of virtual camera.
The current direction of four steps, basis changes direction and changes angle, determines being ultimately towards for virtual camera.
In the present embodiment, terminal device can get the current direction of the virtual camera in game in advance, wherein empty The current direction of quasi- video camera includes the angle and direction of virtual camera.
User is using the second position region on operation the first screen of matrix touch-control, at this point, user is in the second touch area On trigger the second touch point;Then, user is moved on the second touch area using operation medium, thus, terminal is set It is standby to detect that the second touch point is moved on the second touch area.
The mobile message of second touch point and the second touch point constitutes the second touch control operation;Terminal device can foundation The moving direction and moving distance of second touch point determine how change direction and the change of the direction of control virtual camera Angle.Specifically, terminal device detects the second touch control operation, and it can determine moving direction and the shifting of the second touch point Dynamic distance;Terminal device is closed according to corresponding between the moving direction of preset second touch point and the change direction of virtual camera System, determines change corresponding with moving direction direction, and then according to the change direction, adjust changing for the direction of virtual camera It changes direction;Terminal device is closed according to corresponding between the moving distance of preset second touch point and the change angle of virtual camera System, determines change angle corresponding with moving distance, and then according to the change angle, adjust changing for the direction of virtual camera Varied angle.Above-mentioned change direction, can be any direction.
For example, user is horizontally moved on the second touch area using operation medium, and terminal device can be examined It surveys and gets second touch control operation, the second touch control operation is used to indicate the level angle for needing to adjust virtual camera; Moving horizontally at this time refers to that the horizontal direction of the first screen along terminal device is moved, that is, horizontal direction be from When user perspective sees the first screen, the horizontal direction of the first screen;And then terminal device can detecte out operation medium the Horizontal slip information on one screen;Then, terminal device is determined and horizontal slip information pair according to preset corresponding relationship The level angle for the virtual camera answered, i.e. change direction are horizontal direction, and change angle is some level angle, at this time Corresponding relationship of the relationship between horizontal slip information and the level angle of virtual camera, horizontal slip information include level Slide coordinate, horizontal sliding distance, horizontal sliding speed;Level angle of the terminal device according to the virtual camera determined, The direction of virtual camera is adjusted and is controlled, and then by the angle for horizontally rotating angle of virtual camera, is adjusted to State the level angle of virtual camera.
For example, when user carries out movement in terminal device using operation medium on the second position region of the first screen When, terminal device shows a sliding control on the second position region of the first screen;User continues to operate the sliding control Part, and then terminal device detects that the second touch point moves on the second touch area;Then, terminal device is according to the second touch-control The movement of point, the direction for controlling virtual camera are changed.Above-mentioned sliding control can be horizontal sliding control and/or vertical Slide control.
For example, when user is when terminal device is horizontally moved on the second position region of the first screen It waits, terminal device shows a horizontal sliding control on the second position region of the first screen;User continues to operate the level Control is slided, and then the operation medium of user has horizontal slip information on the first screen;Terminal device is slided according to level Information changes direction, changes the corresponding relationship between angle three, can determine change side corresponding with horizontal slip information To, change angle, and then adjust virtual camera direction.When user in terminal device in the second position region of the first screen On when vertically moved, terminal device shows a vertical sliding motion control on the second position region of the first screen; User continues to operate the vertical sliding motion control, and then the operation medium of user has vertical sliding motion information on the first screen;Eventually End equipment can be determined to slide with vertical according to the corresponding relationship between vertical sliding motion information, change direction, change angle three The dynamic corresponding change direction of information changes angle, and then adjusts the direction of virtual camera.
S203, response act on the third touch control operation of third touch area, control the height of virtual camera.
Optionally, step S203 the following steps are included:
First step, the present level for obtaining virtual camera.
Second step detects movement of the third touch point of third touch control operation on third touch area.
Third step, moving distance and moving direction according to third touch point, control the height change of virtual camera.
Four steps, according to present level and height change, determine the final height of virtual camera.
In the present embodiment, terminal device can get the present level of virtual camera in gaming in real time, wherein Height refers on the direction z (i.e. perpendicular to the direction in aforementioned levels face) of virtual camera in gaming as coordinate information;This In the direction z, refer to the default direction z in gaming, be not restricted to the direction z in physical direction;The direction z difference It is vertical with the above-mentioned direction x, the direction y.
User is using the third touch area on the second screen of operation medium touch control terminal equipment, at this point, user is the Third touch point is triggered on three touch areas;Then, user is moved on third touch area using operation medium, from And terminal device detects that third touch point is moved on third touch area.
The mobile message of third touch point and third touch point constitutes third touch control operation;Terminal device can foundation The moving direction and moving distance of third touch point determine how the height for adjusting virtual camera.Specifically, terminal device According to the corresponding pass between the moving distance of preset third touch point, the moving direction of third touch point, height change three System, determines and height change corresponding to the moving distance of third touch point, moving direction;Height change can be virtual Video camera in a z-direction change direction and variation distance;Then, terminal device is according to the current of the virtual camera obtained before Height and above-mentioned height change, determine the final height of virtual camera, and then the height of virtual camera is adjusted.
For example, when user is when terminal device carries out vertical shift on the third place region of the second screen It waits, terminal device shows a vertical sliding control on the third place region of the second screen;User continues to operate this vertically Control is slided, and then the operation medium of user has vertical sliding information on the second screen;Vertical sliding information includes The moving distance and moving direction of three touch points;Terminal device should be closed according to preset vertical sliding information and the direction z coordinate pair System, can determine the direction z corresponding with vertical sliding information coordinate, and adjust the position of virtual camera in a z-direction, into And adjust the height of virtual camera.For example, the upward sliding in the third place region, the height for controlling virtual camera increases Add;Slide downward, the height for controlling virtual camera reduce.Also, in user in terminal device in the third position of the second screen When setting progress vertical shift on region, terminal device can also show a vertical sliding control on the first screen, with The case where checking height adjustment convenient for user checks the distance and speed of vertical sliding motion when user manipulates vertical sliding motion control Degree.
Again for example, when user is when terminal device is horizontally moved on the third place region of the second screen It waits, terminal device shows a horizontal sliding control on the third place region of the second screen;User continues to operate the level Control is slided, and then the operation medium of user has horizontal slip information on the second screen;Horizontal slip information includes The moving distance and moving direction of three touch points;Terminal device should be closed according to preset horizontal slip information and the direction z coordinate pair System, can determine the direction z corresponding with horizontal slip information coordinate, and adjust the position of virtual camera in a z-direction, into And adjust the height of virtual camera.For example, horizontal sliding to the left, the height for controlling virtual camera increase;It is horizontal sliding to the right Dynamic, the height for controlling virtual camera reduces.
S204, show that the first control, the first control are used to indicate the height change of virtual camera on the first screen.
In the present embodiment, in the implementation procedure of step S203, first control that can be shown on the second screen, It can also show that above-mentioned first control, the first control are used to indicate out the height change of virtual camera on the first screen Situation.
S205, response act on the 4th touch control operation of the 4th touch area, control virtual camera rotation, the rotation of rotation Shaft is parallel to current direction.
Optionally, step S205 the following steps are included:
First step, the 4th touch point for detecting the 4th touch control operation move on the 4th touch area.
Second step, according to the moving direction of the 4th touch point, control the direction of rotation of virtual camera, direction of rotation packet It includes clockwise and counterclockwise;According to the moving distance of the 4th touch point, the rotation angle of virtual camera is determined.
In the present embodiment, user uses the 4th touch area on the second screen of operation medium touch control terminal equipment, this When, user triggers the 4th touch point on the 4th touch area;Then, user is using operation medium on the 4th touch area It is moved, thus, terminal device detects that the 4th touch point is moved on the 4th touch area.
The mobile message of 4th touch point and the 4th touch point constitutes the 4th touch control operation;Terminal device can foundation The moving direction and moving distance of 4th touch point determine how the rotation for adjusting virtual camera;Wherein, virtual camera Rotation include direction of rotation and rotation angle, direction of rotation includes any direction, it is preferred that direction of rotation is clockwise Direction or counter clockwise direction.Specifically, terminal device according to the mobile message of preset 4th touch point and direction of rotation it Between corresponding relationship, corresponding with mobile message direction of rotation is determined, so that it is determined that the direction of rotation of virtual camera out;Terminal is set Corresponding relationship between standby moving distance and rotation angle according to preset 4th touch point, determines rotation corresponding with moving distance Gyration, so that it is determined that the rotation angle of virtual camera out;Then, terminal device is by virtual camera, adjusts to virtually taking the photograph The direction of rotation of camera rotates in angle.
For example, when user in terminal device on the 4th band of position of the second screen, virtual camera is rotated When manipulation, terminal device shows a rotational slide control on the 4th band of position of the second screen;User continues to grasp Make the rotational slide control, and then the operation medium of user has rotational slide information, rotational slide information on the 4th screen It include moving direction and moving distance;Terminal device can determine direction of rotation corresponding with rotational slide information, selection Angle, and then control the rotation of virtual camera.Also, user in terminal device on the 4th band of position of the second screen When carrying out rotational slide, terminal device can also show a rotational slide control, on the first screen in order to user Check the position and speed of rotational slide.
S206, show that the second control, the second control are used to indicate the direction of rotation of virtual camera on the first screen.
In the present embodiment, in the implementation procedure of step S205, terminal device can show one on the second screen Second control can also show that above-mentioned second control, the second control are used to indicate the rotation of virtual camera on the first screen Turn direction and rotates the information of angle.
Fig. 6 is the schematic diagram four of virtual camera in control game provided by the embodiments of the present application, and Fig. 7 is the application implementation The schematic diagram five of virtual camera in the control game that example provides, as shown in Figure 6 and Figure 7, user can be using operation medium, choosing Select the first screen and the second screen of touch control terminal equipment.Fig. 6 shows the operation of user on the first screen, and Fig. 7 is shown Operation of the user on the second screen, wherein Fig. 7 is the perspective view from the second screen of the angle of the first screen.Wherein, it operates Medium can be the finger of user or touch pen or other touch control operation media.For example, operation is situated between shown in Fig. 6 and Fig. 7 Matter is the finger of user, and user can hold terminal device with both hands, the first screen of the Toe Transplantation for Segmental Finger touch control terminal equipment of user, Second screen of another part finger touch terminal device of user.
Then, any one or more in following touch control operation is completed.
The first, terminal device on the first position region of the first screen, a rocking bar control is shown, in Fig. 6 Circular indicia is rocking bar control, and the user's operation rocking bar control, then, referring to above-mentioned steps S201, terminal device control is virtual Video camera moves in the preset plane in scene of game.
Second, when user is when terminal device is horizontally moved on the second position region of the first screen, Terminal device shows a horizontal sliding control on the second position region of the first screen, if arrow horizontal in Fig. 6 is water Smoothly dynamic control;Then, referring to above-mentioned steps S202, terminal device controls the change of the direction of virtual camera.
The third, when user is when terminal device vertically moves on the second position region of the first screen, Terminal device shows a vertical sliding motion control on the second position region of the first screen, if arrow vertical in Fig. 6 is vertical Straight sliding control;Then, referring to above-mentioned steps S202, terminal device controls the change of the direction of virtual camera.
4th kind, when user is when terminal device vertically moves on the 4th band of position of the second screen, Terminal device shows a vertical sliding motion control on the 4th band of position of the second screen, as shown in fig. 7, vertical sliding motion control Part is vertical stock;Then, referring to above-mentioned steps S203, terminal device controls the height of virtual camera.
5th kind, when user is when terminal device carries out rotational slide on the third place region of the second screen, Terminal device shows a rotational slide control on the third place region of the second screen, as shown in fig. 7, rotational slide control Part is a rotation arrows;Then, referring to above-mentioned steps S205, terminal device controls the rotation of virtual camera.
S207, in the following ways any one or more, prompt the position and orientation of virtual camera: text, language Sound, projection.
In the present embodiment, in the implementation process of above-mentioned steps, terminal device according to each touch control operation, can with text, The modes such as voice, projection prompt the user with out the position and orientation of virtual camera.
The present embodiment, due to the provision of two screens for being located at opposite face, so that user carries out the adjusting of virtual camera, User can timely operate two screens;Also, user can two screens of touch-control simultaneously, and then to terminal device Multiple touch control operations are inputted simultaneously, terminal device can carry out multi-faceted adjusting, Ke Yigen to the virtual camera in game According to multiple touch control operations simultaneously virtual camera is controlled, terminal device can timely by virtual camera adjust to State required for family.Also, it does not need user oneself and inputs parameter, it is convenient for the user to operate;And provide virtual camera Multiple parameters while adjust.
Fig. 8 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application, as shown in figure 8, the present embodiment Terminal device is provided with the first screen and the second screen, and the first screen and the second screen are located at two opposite faces of terminal device On, the first screen is provided with the first touch area and the second touch area, and the second screen is provided with third touch area and the 4th Touch area;Terminal device provided by the embodiments of the present application may include:
First control unit 31 controls in game for responding the first touch control operation for acting on the first touch area The projected position of virtual camera in the horizontal plane.
Second control unit 32 controls virtual camera shooting for responding the second touch control operation for acting on the second touch area The direction of machine.
Third control unit 33 controls virtual camera shooting for responding the third touch control operation for acting on third touch area The height of machine.
4th control unit 34 controls virtual camera shooting for responding the 4th touch control operation for acting on the 4th touch area Machine rotation, the rotary shaft of rotation are parallel to current direction.
The terminal device of the present embodiment can execute the technical solution in method shown in Fig. 3, implement process and skill Associated description in art principle method shown in Figure 3, details are not described herein again.
Fig. 9 is the structural schematic diagram of another terminal device provided by the embodiments of the present application, as shown in figure 9, shown in Fig. 8 On the basis of embodiment, in terminal device provided by the embodiments of the present application, the first touch area is located at half lateral areas of the first screen Domain, the second touch area are located at the other half side region of the first screen;Third touch area is located at half side region of the second screen, 4th touch area is located at the other half side region of the second screen.
First control unit 31, is specifically used for: the first touch point of the first touch control operation of response is on the first touch area It is mobile, it is moved in the preset plane in scene of game according to the mobile control virtual camera of the first touch point, wherein presetting Plane is parallel to the horizontal plane.
Second control unit 32, comprising:
First obtains module 321, for obtaining the current direction of virtual camera.
First detection module 322, the second touch point for detecting the second touch control operation move on the second touch area.
First control module 323 controls changing for the direction of virtual camera for the moving direction according to the second touch point It changes direction;According to the moving distance of the second touch point, the change angle of the direction of virtual camera is controlled.
First determining module 324 for the current direction of basis, changes direction and changes angle, determines virtual camera It is ultimately towards.
Third control unit 33, comprising:
Second obtains module 331, for obtaining the present level of virtual camera.
Second detection module 332, for detecting shifting of the third touch point of third touch control operation on third touch area It is dynamic.
Second control module 333 controls virtual camera for the moving distance and moving direction according to third touch point Height change.
Second determining module 334, for determining the final height of virtual camera according to present level and height change.
Terminal device, further includes:
First display unit 41, for showing that the first control, the first control are used to indicate virtual camera shooting on the first screen The height change of machine.
4th control unit 34, comprising:
Third detection module 341, the 4th touch point for detecting the 4th touch control operation move on the 4th touch area.
Third control module 342 controls the rotation side of virtual camera for the moving direction according to the 4th touch point To direction of rotation includes clockwise and counterclockwise.
Third determining module 343 determines the rotation angle of virtual camera for the moving distance according to the 4th touch point Degree.
Terminal device, further includes: the second display unit 42, for showing the second control, the second control on the first screen It is used to indicate the direction of rotation of virtual camera.
Terminal device, further includes: prompt unit 43 prompts virtual in the following ways any one or more The position and orientation of video camera: text, voice, projection.
The terminal device of the present embodiment can execute the technical solution in method shown in Fig. 5, implement process and skill Associated description in art principle method shown in Figure 5, details are not described herein again.
Figure 10 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application, as shown in Figure 10, the present embodiment Electronic equipment 50 may include: processor 51 and memory 52.
Memory 52, for storing computer program (such as realizing application program, the functional module of the above method), calculating Machine instruction etc.;
Above-mentioned computer program, computer instruction etc. can be with partitioned storages in one or more memories 52.And Above-mentioned computer program, computer instruction, data etc. can be called with device 51 processed.
Processor 51, for executing the computer program of the storage of memory 52, to realize method that above-described embodiment is related to In each step.
It specifically may refer to the associated description in previous methods embodiment.
Processor 51 and memory 52 can be absolute construction, be also possible to the integrated morphology integrated.Work as processing When device 51 and memory 52 are absolute construction, memory 52, processor 51 can be of coupled connections by bus 53.
The electronic equipment of the present embodiment can execute Fig. 3-technical solution shown in Fig. 7, implement process and technology Principle is referring to the associated description in technical solution shown in Fig. 3-Fig. 7, and details are not described herein again.
In addition, the embodiment of the present application also provides a kind of computer readable storage medium, deposited in computer readable storage medium Computer executed instructions are contained, when at least one processor of user equipment executes the computer executed instructions, user equipment Execute above-mentioned various possible methods.
Wherein, computer-readable medium includes computer storage media and communication media, and wherein communication media includes being convenient for From a place to any medium of another place transmission computer program.Storage medium can be general or specialized computer Any usable medium that can be accessed.A kind of illustrative storage medium is coupled to processor, to enable a processor to from this Read information, and information can be written to the storage medium.Certainly, storage medium is also possible to the composition portion of processor Point.Pocessor and storage media can be located in ASIC.In addition, the ASIC can be located in user equipment.Certainly, processor and Storage medium can also be used as discrete assembly and be present in communication equipment.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
The application also provides a kind of program product, and program product includes computer program, and computer program is stored in readable In storage medium, at least one processor of server can read computer program from readable storage medium storing program for executing, at least one Reason device executes the method that computer program makes the above-mentioned the embodiment of the present application of server implementation any.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent Pipe is described in detail the application referring to foregoing embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, each embodiment technology of the application that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. the control method of virtual camera in a kind of game, which is characterized in that applied to being provided with the first screen and the second screen The terminal device of curtain, first screen and second screen be located on two opposite faces of the terminal device, and described the One screen is provided with the first touch area and the second touch area, and second screen is provided with third touch area and the 4th touching Control region, the method, comprising:
Response acts on the first touch control operation of first touch area, controls the throwing of the virtual camera in the horizontal plane Shadow position;
Response acts on the second touch control operation of second touch area, controls the direction of the virtual camera;
Response acts on the third touch control operation of the third touch area, controls the height of the virtual camera;
Response acts on the 4th touch control operation of the 4th touch area, controls the virtual camera rotation, the rotation Rotary shaft be parallel to current direction.
2. the method according to claim 1, wherein first touch area is located at the half of first screen Side region, second touch area are located at the other half side region of first screen;
The third touch area is located at half side region of second screen, and the 4th touch area is located at second screen The other half side region of curtain.
3. method according to claim 1 or 2, which is characterized in that response acts on the first of first touch area Touch control operation controls the projected position of the virtual camera in the horizontal plane, comprising:
The first touch point for responding first touch control operation moves on first touch area, according to first touch-control The mobile control virtual camera of point moves in preset plane in scene of game, wherein the preset plane with it is described Horizontal plane is parallel.
4. method according to claim 1 or 2, which is characterized in that response acts on the second of second touch area Touch control operation controls the direction of the virtual camera, comprising:
Obtain the current direction of the virtual camera;
The second touch point for detecting second touch control operation moves on second touch area;
According to the moving direction of second touch point, the change direction of the direction of the virtual camera is controlled;According to described The moving distance of second touch point controls the change angle of the direction of the virtual camera;
According to the current direction, the change direction and the change angle, being ultimately towards for the virtual camera is determined.
5. method according to claim 1 or 2, which is characterized in that response acts on the third of the third touch area Touch control operation controls the height of the virtual camera, comprising:
Obtain the present level of the virtual camera;
Detect movement of the third touch point of the third touch control operation on the third touch area;
According to the moving distance and moving direction of the third touch point, the height change of the virtual camera is controlled;
According to the present level and the height change, the final height of the virtual camera is determined.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Show that the first control, first control are used to indicate the height of the virtual camera on first screen Variation.
7. method according to claim 1 or 2, which is characterized in that response acts on the 4th of the 4th touch area Touch control operation controls the virtual camera rotation, comprising:
The 4th touch point for detecting the 4th touch control operation moves on the 4th touch area;
According to the moving direction of the 4th touch point, the direction of rotation of the virtual camera, the direction of rotation packet are controlled It includes clockwise and counterclockwise;
According to the moving distance of the 4th touch point, the rotation angle of the virtual camera is determined.
8. the method according to the description of claim 7 is characterized in that the method also includes:
Show that the second control, second control are used to indicate the rotation of the virtual camera on first screen Direction.
9. method according to claim 1 or 2, which is characterized in that the method also includes:
In the following ways any one or more prompts the position and orientation of the virtual camera: text, voice, throwing Shadow.
10. a kind of terminal device, which is characterized in that the terminal device is provided with the first screen and the second screen, and described first Screen and second screen are located on two opposite faces of the terminal device, and first screen is provided with the first Touch Zone Domain and the second touch area, second screen are provided with third touch area and the 4th touch area, the terminal device, packet It includes:
First control unit controls the void in game for responding the first touch control operation for acting on first touch area The projected position of quasi- video camera in the horizontal plane;
Second control unit, for responding the second touch control operation for acting on second touch area, control is described virtually to be taken the photograph The direction of camera;
Third control unit, for responding the third touch control operation for acting on the third touch area, control is described virtually to be taken the photograph The height of camera;
4th control unit, for responding the 4th touch control operation for acting on the 4th touch area, control is described virtually to be taken the photograph Camera rotation, the rotary shaft of the rotation are parallel to current direction.
11. a kind of electronic equipment characterized by comprising memory and processor are stored with the processor in memory Executable instruction;Wherein, the processor is configured to come via the execution executable instruction any in perform claim requirement 1-9 Method described in.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Any one of claim 1-9 the method is realized when execution.
CN201910548213.0A 2019-06-24 2019-06-24 Method and device for controlling virtual camera in game and storage medium Active CN110251936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910548213.0A CN110251936B (en) 2019-06-24 2019-06-24 Method and device for controlling virtual camera in game and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910548213.0A CN110251936B (en) 2019-06-24 2019-06-24 Method and device for controlling virtual camera in game and storage medium

Publications (2)

Publication Number Publication Date
CN110251936A true CN110251936A (en) 2019-09-20
CN110251936B CN110251936B (en) 2022-12-20

Family

ID=67920795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910548213.0A Active CN110251936B (en) 2019-06-24 2019-06-24 Method and device for controlling virtual camera in game and storage medium

Country Status (1)

Country Link
CN (1) CN110251936B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111265866A (en) * 2020-01-19 2020-06-12 网易(杭州)网络有限公司 Control method and device of virtual camera, electronic equipment and storage medium
CN111494940A (en) * 2020-04-17 2020-08-07 网易(杭州)网络有限公司 Display control method and device for virtual object in game
CN112190929A (en) * 2020-11-02 2021-01-08 网易(杭州)网络有限公司 Control method and equipment for game object
CN113663323A (en) * 2021-09-08 2021-11-19 网易(杭州)网络有限公司 Terminal operation method and device, electronic equipment and storage medium
CN113680047A (en) * 2021-09-08 2021-11-23 网易(杭州)网络有限公司 Terminal operation method and device, electronic equipment and storage medium
CN113713368A (en) * 2021-09-08 2021-11-30 网易(杭州)网络有限公司 Terminal operation method and device, electronic equipment and storage medium
CN114053693A (en) * 2021-10-20 2022-02-18 腾讯科技(深圳)有限公司 Object control method and device in virtual scene and terminal equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009211243A (en) * 2008-03-03 2009-09-17 Namco Bandai Games Inc Program, information storage medium, and image generation system
CN107213643A (en) * 2017-03-27 2017-09-29 网易(杭州)网络有限公司 Display control method and device, storage medium, the electronic equipment of game picture
CN107823882A (en) * 2017-11-17 2018-03-23 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
CN107890664A (en) * 2017-10-23 2018-04-10 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN109675308A (en) * 2019-01-10 2019-04-26 网易(杭州)网络有限公司 Display control method, device, storage medium, processor and terminal in game

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009211243A (en) * 2008-03-03 2009-09-17 Namco Bandai Games Inc Program, information storage medium, and image generation system
CN107213643A (en) * 2017-03-27 2017-09-29 网易(杭州)网络有限公司 Display control method and device, storage medium, the electronic equipment of game picture
CN107890664A (en) * 2017-10-23 2018-04-10 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
CN107823882A (en) * 2017-11-17 2018-03-23 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
CN109675308A (en) * 2019-01-10 2019-04-26 网易(杭州)网络有限公司 Display control method, device, storage medium, processor and terminal in game

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111265866A (en) * 2020-01-19 2020-06-12 网易(杭州)网络有限公司 Control method and device of virtual camera, electronic equipment and storage medium
CN111265866B (en) * 2020-01-19 2023-04-07 网易(杭州)网络有限公司 Control method and device of virtual camera, electronic equipment and storage medium
CN111494940A (en) * 2020-04-17 2020-08-07 网易(杭州)网络有限公司 Display control method and device for virtual object in game
CN111494940B (en) * 2020-04-17 2023-03-31 网易(杭州)网络有限公司 Display control method and device for virtual object in game
CN112190929A (en) * 2020-11-02 2021-01-08 网易(杭州)网络有限公司 Control method and equipment for game object
CN112190929B (en) * 2020-11-02 2024-05-28 网易(杭州)网络有限公司 Game object control method and device
CN113663323A (en) * 2021-09-08 2021-11-19 网易(杭州)网络有限公司 Terminal operation method and device, electronic equipment and storage medium
CN113680047A (en) * 2021-09-08 2021-11-23 网易(杭州)网络有限公司 Terminal operation method and device, electronic equipment and storage medium
CN113713368A (en) * 2021-09-08 2021-11-30 网易(杭州)网络有限公司 Terminal operation method and device, electronic equipment and storage medium
CN114053693A (en) * 2021-10-20 2022-02-18 腾讯科技(深圳)有限公司 Object control method and device in virtual scene and terminal equipment
CN114053693B (en) * 2021-10-20 2023-07-25 腾讯科技(深圳)有限公司 Object control method and device in virtual scene and terminal equipment

Also Published As

Publication number Publication date
CN110251936B (en) 2022-12-20

Similar Documents

Publication Publication Date Title
CN110251936A (en) The control method, equipment and storage medium of virtual camera in game
US8375334B2 (en) Portable information terminal, display control device, display control method, and computer readable program therefor
JP5275978B2 (en) Controlling data processing
US9098168B2 (en) Spring motions during object animation
KR101785748B1 (en) Multi-layer user interface with flexible parallel and orthogonal movement
US7904826B2 (en) Peek around user interface
US20120032877A1 (en) Motion Driven Gestures For Customization In Augmented Reality Applications
US20110202834A1 (en) Visual motion feedback for user interface
Telkenaroglu et al. Dual-finger 3d interaction techniques for mobile devices
WO2011100599A2 (en) Multi-layer user interface with flexible parallel movement
CN107122099A (en) Method, device, storage medium, processor and the terminal at association user interface
JP2012079155A (en) Information processing apparatus, information processing method and program
CN100520830C (en) Spatio-temporal generation of motion blur
JP4743602B2 (en) Image processing apparatus, image processing program, game apparatus, and game program
CN111135556A (en) Virtual camera control method and device, electronic equipment and storage medium
CN107765986A (en) The information processing method and device of games system
JP2016524489A (en) Mobile device game interface
CN109529330A (en) Method, apparatus and computer readable storage medium are shared in a kind of game
US9292165B2 (en) Multiple-mode interface for spatial input devices
WO2021005871A1 (en) Information processing device, information processing method, and program
Chu et al. Design of a motion-based gestural menu-selection interface for a self-portrait camera
CN113384881B (en) Map display method and device in game
KR20230053717A (en) Systems and methods for precise positioning using touchscreen gestures
JP7475625B2 (en) Method and program for receiving and displaying input in three-dimensional space, and device for receiving and displaying input in three-dimensional space
CN113190151B (en) Method and device for realizing page turning effect based on cos2d-x

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