CN109011559B - Method, device, equipment and storage medium for controlling virtual carrier in game - Google Patents

Method, device, equipment and storage medium for controlling virtual carrier in game Download PDF

Info

Publication number
CN109011559B
CN109011559B CN201810837820.4A CN201810837820A CN109011559B CN 109011559 B CN109011559 B CN 109011559B CN 201810837820 A CN201810837820 A CN 201810837820A CN 109011559 B CN109011559 B CN 109011559B
Authority
CN
China
Prior art keywords
game
control area
view
user interface
graphical user
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
CN201810837820.4A
Other languages
Chinese (zh)
Other versions
CN109011559A (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 CN201810837820.4A priority Critical patent/CN109011559B/en
Publication of CN109011559A publication Critical patent/CN109011559A/en
Application granted granted Critical
Publication of CN109011559B publication Critical patent/CN109011559B/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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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
    • A63F13/525Changing parameters of virtual cameras
    • 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/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5375Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for graphically or textually suggesting an action, e.g. by displaying an arrow indicating a turn in a driving game
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
    • 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/10Features 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 input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features 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 input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features 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 input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • 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
    • A63F2300/303Features 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 for displaying additional data, e.g. simulating a Head Up Display
    • A63F2300/305Features 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 for displaying additional data, e.g. simulating a Head Up Display for providing a graphical or textual hint to the player
    • 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
    • A63F2300/308Details of the user interface
    • 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/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8017Driving on land or water; Flying

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device, equipment and a storage medium for controlling a virtual carrier in a game, wherein the method comprises the following steps: the virtual carrier is controlled to advance in the game scene according to the touch operation acting on the advancing control area, the display visual field direction of the game scene picture is associated with the moving direction of the virtual carrier, the virtual carrier is controlled to turn in the game scene according to the touch operation acting on the turning control area, and the advancing control area and the turning control area are displayed on the graphical user interface. And in the advancing process of the virtual carrier, acquiring a visual field trigger instruction, acquiring direction information of sliding operation, and adjusting visual field presentation on a graphical user interface according to the direction information of the sliding operation. The movement of the carrier and the visual field control are integrated on one control in the game, and the visual field angle can be controlled under the condition that a player operates the carrier to move.

Description

Method, device, equipment and storage medium for controlling virtual carrier in game
Technical Field
The present invention relates to electronic athletic technology, and in particular, to a method, an apparatus, a device, and a storage medium for controlling a virtual vehicle in a game.
Background
In a First-person shooting game (FPS) or a racing game, a game platform provides a driving vehicle for a player to experience the fun of driving a vehicle. And the player controls the carrier through the control provided by the game in the game process.
For the game in progress, some controls may be provided in the operation interface displayed on the touch screen to control the vehicle, for example, in the game of racing car, generally, the controls provided in the operation interface to control the vehicle include: a steering control is provided on one side of the operator interface and a throttle/brake control is provided on the other side of the operator interface, wherein the steering control is used to control the heading of the vehicle in the game and the throttle/brake is used to control the acceleration and deceleration processes of the vehicle, such that during the game, the player then operates the steering control with one hand and the throttle/brake control with the other hand.
However, according to the above scheme, if the player wants to adjust the view of the game, a hand is also needed to touch the screen to adjust the view, which is inconvenient to operate and affects the game effect.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for controlling a virtual carrier in a game, which are used for solving the problem of inconvenience in controlling the virtual carrier in the existing game.
The first aspect of the present invention provides a method for controlling a virtual vehicle in a game, including: a graphical user interface is obtained by executing a software application on a processor of a terminal and rendering the software application on a display of the terminal, wherein game content displayed by the graphical user interface at least comprises a controllable virtual carrier, and the method comprises the following steps:
controlling the virtual carrier to advance in a game scene according to a first touch operation acting on an advancing control area, wherein the presenting view direction of a game scene picture is associated with the moving direction of the virtual carrier;
controlling the virtual carrier to turn in a game scene according to a second touch operation acting on a turning control area; the forward control region and the steer control region are displayed on the graphical user interface;
acquiring a first visual field trigger instruction in the advancing process of the virtual carrier, wherein the first visual field trigger instruction is generated when a first sliding operation continuous with the first touch operation is detected;
acquiring direction information of the first sliding operation, and determining a first view direction according to the direction information of the first sliding operation;
maintaining a current direction of movement of the virtual vehicle, and adjusting a view presentation on the graphical user interface according to the first view direction.
In one possible design, the method further includes:
the steering control area is located on one side of the graphical user interface and the forward control area is located on the other side of the graphical user interface;
and controlling the moving direction of the carrier according to the direction information indicated by the second touch operation.
In one possible design, the first touch operation is further used to indicate an acceleration instruction.
In one possible design, the method further includes:
and controlling the virtual carrier to move backwards in a game scene according to a third touch operation acting on a backward control area, wherein the backward control area is displayed on the graphical user interface.
In one possible design, the method further includes:
acquiring a second visual field trigger instruction in the virtual carrier backing process, wherein the second visual field trigger instruction is generated when a second sliding operation continuous with the third touch operation is detected;
acquiring direction information of the second sliding operation, and determining a second view direction according to the direction information of the second sliding operation;
and maintaining the current moving direction of the virtual carrier, and adjusting the visual field presentation on the graphical user interface according to the second visual field direction.
In one possible design, the third touch operation is further used to indicate a deceleration instruction.
In one possible design, after the adjusting the presentation of the field of view on the graphical user interface according to the first direction of view, the method further includes:
and after the sliding operation is detected to be finished, controlling the display visual field of the game scene picture on the graphical user interface to be restored to the state before the sliding operation after a preset time period.
In a possible design, after detecting that the sliding operation is ended, the method further includes:
if the third visual field trigger instruction is obtained again within the preset time period, the third visual field trigger instruction is generated when a third sliding operation continuous with a fourth touch operation is detected, and the fourth touch operation is an operation on the forward control area;
acquiring direction information of the third sliding operation, and determining a third view field direction according to the direction information of the third sliding operation and a current view field, wherein the current view field is a view field displayed on the graphical user interface and adjusted and presented according to the first view field direction;
and keeping the current moving direction of the virtual carrier, and adjusting the visual field presentation on the graphical interface according to the third visual field direction.
In one possible design, the reverse control area and the forward control area are located on the same side of the graphical user interface;
the forward control area is located at an upper portion of the reverse control area, or the forward control area is located at a lower portion of the reverse control area.
In one possible design, the forward control area includes a forward control, and the first touch operation is an operation of touching on the forward control.
In one possible design, the back control area includes a back control, and the third touch operation is an operation of touching on the back control.
A second aspect of the present invention provides an apparatus for controlling an in-game virtual vehicle, wherein a graphical user interface is obtained by executing a software application on a processing module of the in-game virtual vehicle control apparatus and rendering the software application on a display module of the in-game virtual vehicle control apparatus, and game content displayed on the graphical user interface at least includes a controllable virtual vehicle, the apparatus comprising:
the processing module is used for controlling the virtual carrier to advance in a game scene according to a first touch operation acting on an advancing control area, wherein the presenting view direction of a game scene picture is associated with the moving direction of the virtual carrier;
the processing module is further used for controlling the virtual vehicle to steer in a game scene according to a second touch operation acting on a steering control area; the forward control region and the steer control region are displayed on the graphical user interface;
the processing module is further configured to acquire a first view trigger instruction in the virtual vehicle advancing process, where the first view trigger instruction is generated when a first sliding operation continuous with the first touch operation is detected;
the processing module is further configured to acquire direction information of the first sliding operation, and determine a first view direction according to the direction information of the first sliding operation;
and the display module is used for keeping the current moving direction of the virtual carrier according to the control of the processing module and adjusting the visual field presentation on the graphical user interface according to the first visual field direction.
In one possible design, the steering control area is located on one side of the graphical user interface and the forward control area is located on the other side of the graphical user interface;
the processing module is further configured to control the moving direction of the carrier according to the direction information indicated by the second touch operation.
In one possible design, the first touch operation is further used to indicate an acceleration instruction.
In one possible design, the processing module is further configured to control the virtual vehicle to move backwards in the game scene according to a third touch operation applied to a backward control area, where the backward control area is displayed on the graphical user interface.
In one possible design, the processing module is further configured to acquire a second view trigger instruction during the virtual vehicle backing process, where the second view trigger instruction is generated when a second sliding operation that is continuous with the third touch operation is detected;
the processing module is further configured to acquire direction information of the second sliding operation, and determine a second view direction according to the direction information of the second sliding operation;
the processing module is further configured to maintain a current movement direction of the virtual vehicle and control the visual field presentation on the graphical user interface to be adjusted on the display module according to the second visual field direction.
In one possible design, the third touch operation is further used to indicate a deceleration instruction.
In a possible design, the processing module is further configured to detect that the sliding operation is ended, and control the presentation view of the game scene picture on the graphical user interface to return to the state before the sliding operation after a preset time period.
In one possible design, after detecting that the sliding operation is ended, the processing module is further configured to:
if the third visual field trigger instruction is obtained again within the preset time period, the third visual field trigger instruction is generated when a third sliding operation continuous with a fourth touch operation is detected, and the fourth touch operation is an operation on the forward control area;
acquiring direction information of the third sliding operation, and determining a third view field direction according to the direction information of the third sliding operation and a current view field, wherein the current view field is a view field displayed on the graphical user interface and adjusted and presented according to the first view field direction;
and maintaining the current moving direction of the virtual carrier, and controlling the display module to adjust the visual field presentation on the graphical interface according to the third visual field direction.
Optionally, the backward control area and the forward control area are located on the same side of the graphical user interface;
the forward control area is located at an upper portion of the reverse control area, or the forward control area is located at a lower portion of the reverse control area.
Optionally, the forward control area includes a forward control, and the first touch operation is an operation touched on the forward control.
Optionally, the back control area includes a back control, and the third touch operation is an operation touched on the back control.
A third aspect of the present invention provides an electronic device comprising:
a processor;
a memory for storing a computer program for the processor; and the number of the first and second groups,
a display for displaying data and a graphical user interface according to the control of the processor;
wherein the processor is configured to implement the method for controlling a virtual vehicle in a game provided in any implementation manner of the first aspect by executing the computer program.
A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for controlling a virtual vehicle in a game provided in any one of the implementation manners of the first aspect.
In the method, the device, the equipment and the storage medium for controlling the virtual carrier in the game, provided by the embodiment of the invention, in the moving process of the carrier, the virtual carrier is controlled to advance in the game scene according to the touch operation acting on the advancing control area, the presenting visual field direction of the game scene picture is associated with the moving direction of the virtual carrier, the virtual carrier is controlled to turn in the game scene according to the touch operation acting on the turning control area, and the advancing control area and the turning control area are displayed on the graphical user interface. And in the advancing process of the virtual carrier, acquiring a visual field trigger instruction, acquiring direction information of sliding operation, and adjusting visual field presentation on a graphical user interface according to the direction information of the sliding operation. The movement and the visual field control of the carrier are integrated on one control in the game, and the visual field angle can be controlled under the condition that the player operates the carrier to keep the current movement direction.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for controlling a virtual vehicle in a game according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a method for controlling a virtual vehicle in a game according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for controlling a virtual vehicle in a game according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a graphical user interface of a method for controlling a virtual vehicle in a game according to the present invention;
FIG. 5 is a schematic diagram of another GUI in the method for controlling a virtual vehicle in a game according to the present invention;
FIG. 6 is a schematic diagram of another GUI in the method for controlling a virtual vehicle in a game according to the present invention;
FIG. 7 is a schematic diagram of another GUI in the method for controlling a virtual vehicle in a game according to the present invention;
FIG. 8 is a schematic diagram of another GUI in the method for controlling a virtual vehicle in a game according to the present invention;
FIG. 9 is a schematic diagram of another GUI in the method for controlling a virtual vehicle in a game according to the present invention;
FIG. 10 is a schematic diagram of another GUI in the method for controlling a virtual vehicle in a game according to the present invention;
fig. 11 is a schematic structural diagram of a control device of a virtual vehicle in a game according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to another embodiment of the present invention.
Detailed Description
In the existing operation mode comprising front, back, left, right and other control directions, in operation, a player needs to accurately press a corresponding button to effectively control driving, otherwise, a corresponding function cannot be triggered; the moving direction is mechanical, a player cannot move the direction of the driving prop at will, and the moving direction can be adjusted only by matching with a fixed button, so that the operation difficulty of the player is increased; in terms of the problems of driving prop movement and game visual field adjustment, a player cannot adjust the game visual field movement while controlling the driving prop to move; and the number of operation buttons is too many, which easily causes misoperation of the player.
Or, the existing control mode of sliding the operation control to execute corresponding operations front, back, left and right has better operability compared with a control mode of a plurality of controls, reduces the number of buttons, improves the operability, and is superior to the first mode in view observation. However, the limitations of this method of operation are: under the default condition, the game visual field is parallel to the moving direction of the driving prop, one hand of the player controls the movement of the driving prop, the other hand controls the direction adjustment, and the player can only passively observe other visual fields through the rotating direction; the player controls the driving prop to move by one hand and controls the visual field to be adjusted by one hand, which can bring great obstacles to the moving direction of the driving prop.
In addition, prior art still provides a mode through the rocker, places a rocker button on the interface, and steerable driving stage property advances, retreats and other arbitrary direction rotates, and this type of operating mode is compared in preceding two kinds of modes convenience bigger, nevertheless has certain limitation: when the driving prop is operated, a player can operate the driving prop to move in any direction, but the logic of the operation is not clear, for example, the player needs to operate the driving prop to move forward and turn by one hand, and two dimensions are mixed together, so that the operation of the player is easy to influence each other.
In view of the above problems, embodiments of the present invention provide a method for controlling a virtual carrier in a game, which can combine movement of the carrier and adjustment of a visual field, so as to facilitate more convenient operations for a player. The scheme can be applied to various electronic devices capable of playing games, including tablet computers, smart phones, smart game machines and other terminals provided with game clients, and also can be background servers of game software/clients and the like, and the scheme is not limited specifically.
The following describes in detail a method for controlling a virtual vehicle in the game in a few specific implementations.
Fig. 1 is a flowchart illustrating a method for controlling a virtual vehicle in a game according to an embodiment of the present invention, wherein a graphical user interface is obtained by executing a software application on a processor of a terminal and rendering the software application on a display of the terminal, and game content displayed on the graphical user interface at least includes a controllable virtual vehicle. The vehicle may be any virtual object capable of moving and carrying a virtual player, such as a virtual vehicle, a virtual animal, or a virtual character, and the like, and the present application is not limited thereto.
As shown in fig. 1, the method for controlling a virtual vehicle in a game specifically includes:
s101: and controlling the virtual carrier to advance in the game scene according to the first touch operation acting on the advancing control area.
S102: controlling the virtual carrier to turn in the game scene according to the second touch operation acting on the turning control area; the forward control region and the steer control region are displayed on a graphical user interface.
In this solution, it should be understood that, the display of the executing body executes game software according to the processor, and renders at least part of the scene picture of the game, i.e. the above-mentioned graphical user interface, in which at least two control areas are provided, i.e. the above-mentioned forward control area and steering control area, and the user can control the virtual vehicle in the game to advance or steer by operating in these two areas.
In a specific implementation of the solution, the first touch operation refers to an operation performed by a player on an advance control area, for example, if the player holds the advance control area by touching, the electronic device running the game acquires the first touch operation, thereby controlling the virtual carrier to advance. The second touch operation refers to an operation performed by a player on a steering control area, for example, if the player holds the steering control area by touch, the electronic device running the game acquires the second touch operation, so as to control the direction of the virtual vehicle in the scene, and steer according to the direction.
In this scheme, the direction of the presentation field of view of the game scene screen is associated with the direction of movement of the virtual vehicle. Taking the first person view racing game as an example, the virtual camera is arranged at the cab position of the virtual racing car, the orientation of the virtual camera rotates along with the rotation of the virtual racing car, and during the game, the game software provides the traveling route of the racing car and the surrounding scene, such as the surrounding visual field of a hillside, a city and the like. In the process of racing, the view content presented in the graphical user interface is the scene content shot by the virtual camera, and the view direction of the graphical user interface is the orientation of the virtual camera (i.e. the moving direction of the racing car), for example, the traveling direction of the racing car and the scenes within a preset range on both sides of the traveling direction are displayed in the graphical user interface, that is, the traveling direction of the racing car is taken as the first view direction to present the relevant view.
Optionally, in a specific implementation manner of the scheme, the steering control area may be located on one side of the graphical user interface, and the forward control area is located on the other side of the graphical user interface, so that a player can operate the forward control area and the steering control area with two hands in a game process.
In addition, in the specific implementation of the scheme, the operation of the player is facilitated, the experience of the player is improved, and the moving direction of the virtual vehicle can be controlled according to the second touch operation operated in the steering control area. Namely, according to the direction information of the second touch operation, the virtual carrier of the game is controlled to move towards the direction expected by the player in the advancing process.
Optionally, in another implementation, the first touch operation performed in the forward control area may also control the virtual vehicle to accelerate, that is, the first touch operation is also used to indicate an acceleration instruction. In a specific implementation of the scheme, when the first touch operation indicates acceleration while the forward direction is indicated, different accelerations may be controlled according to the pressing strength or the pressing time, which is not limited in this scheme.
For example: the first touch operation may be at least one of: click, touch, long press, and heavy press. Taking the long press operation as an example, that is, the player can control the virtual vehicle to move forward at a constant speed in the long press forward control area, and can also control the virtual vehicle to move forward at an accelerated speed.
S103: in the advancing process of the virtual carrier, a first visual field trigger instruction is acquired, wherein the first visual field trigger instruction is generated when a first sliding operation continuous with a first touch operation is detected.
In this embodiment, on a graphical user interface displayed by an electronic device running a game, movement and view control of a virtual vehicle may be integrated on one control, and when a player operates through a touch screen, the player slides in a forward control area, and when the player continuously slides, a view trigger instruction is triggered to be generated to adjust a view, and meanwhile, a movement state of the virtual vehicle remains unchanged. In this way, the player can control the advance of the virtual vehicle and the adjustment of the game visual field with one hand.
For example, when the first touch operation is performed, and the finger of the player continuously slides in the forward control area, the electronic device may detect a first view trigger instruction, and then adjust the view presenting angle according to the first view trigger instruction, which further includes the following two steps.
S104: acquiring the direction information of the first sliding operation, and determining the first view direction according to the direction information of the first sliding operation.
S105: the current moving direction of the virtual carrier is maintained, and the visual field presentation on the graphical user interface is adjusted according to the first visual field direction.
In the two steps, when the electronic device detects a first visual field trigger instruction, after the visual field adjustment is triggered, the virtual carrier keeps moving forward, then the electronic device acquires direction information of sliding operation of a player on a forward control area, and the visual field direction can be further determined according to the direction information, wherein the direction information of the sliding operation and the visual field direction have a preset mapping relation.
In a specific implementation of the scheme, it should be understood that there is no context between the above S101 to S102, and a player may perform any touch operation at any time according to game needs, and the electronic device may perform the touch operation according to the corresponding scheme after detecting the corresponding touch operation.
In the present exemplary embodiment, the virtual camera may be disposed above and behind the head or crown of the virtual vehicle, and the orientation of the virtual camera may be rotated following the rotation of the virtual vehicle; the visual field direction is the orientation of the virtual camera, and the visual field on the graphical user interface is part of the game scene content shot by the virtual camera; in addition, the vector distance of the sliding operation and the rotation angle of the virtual camera are set to be in a mapping relation. That is, in the present exemplary embodiment, the moving direction of the virtual vehicle can be controlled according to the second touch operation acting on the steering control area, thereby controlling the viewing direction; the direction of the field of view may also be controlled while maintaining the current direction of movement in accordance with a sliding operation applied to the forward control area.
In the exemplary embodiment, the visual field on the graphical user interface is presented as a display range that varies according to the position movement of the virtual vehicle and the direction of the visual field. As described above, the rotation angle of the virtual camera is controlled according to the sliding direction of the sliding operation; the game scene content (i.e., the view presentation) displayed on the graphical user interface is determined based on the orientation of the virtual camera after rotation (i.e., the direction of the field of view), the current position of the virtual camera, and the viewport extent of the virtual camera.
For example, in the default state, the game view direction and the virtual vehicle moving direction are consistent. The player slides to the left on the advancing control area to control the view direction to be changed to the right; the player slides to the right on the advancing control area to control the visual field direction to be changed to the left; the player slides upwards on the advancing control area to control the view direction to be changed upwards; the player slides downwards on the advancing control area to control the view direction to be changed downwards; the player slides diagonally on the forward control area and controls the visual field direction to move in the direction opposite to the sliding direction. But not limited thereto, it may be designed according to a specific game.
In this embodiment, the virtual vehicle is controlled to move forward in the game scene according to the first touch operation acting on the moving forward area. Wherein, the display visual field direction of the game scene picture is associated with the moving direction of the virtual carrier. And controlling the virtual carrier to steer in a game scene according to the second touch operation acting on the steering control area, and acquiring a visual field trigger instruction in the advancing process of the virtual carrier, wherein the visual field trigger instruction is generated when the sliding operation continuous with the first touch operation is detected, acquiring direction information of the sliding operation, determining a visual field direction according to the direction information, keeping the current moving direction of the virtual carrier, and adjusting visual field presentation on the graphical user interface according to the visual field direction. The method and the device realize that the movement and the visual field control of the carrier are integrated in one area, when a player operates through a touch screen of a terminal, after the virtual carrier is controlled to move forwards in the forward control area, when the player continues to slide in the forward control area, a visual field trigger instruction is triggered and generated to adjust the visual field, and meanwhile, the movement state of the carrier is kept unchanged. In this way, the player can control the advance of the vehicle and the adjustment of the game visual field with one hand.
According to the control method of the virtual carrier in the game, the visual field adjusting function is added in the rocker of the advancing control area for controlling the virtual carrier to advance, the advancing of the virtual carrier is not influenced in the visual field adjusting process, a player can control the visual field angle under the condition that the virtual carrier is operated to move, the operation convenience of the game is effectively improved, the control method is simple and easy to understand, and the player can be helped to obtain better game experience.
On the basis of the above embodiment, in this solution, a back control area is further provided on the graphical user interface, and the electronic device may control the virtual vehicle to back in the game scene according to a third touch operation applied to the back control area. This is illustrated by a specific example.
Fig. 2 is a schematic flow chart of a method for controlling a virtual vehicle in a game according to another embodiment of the present invention, as shown in fig. 2, the method for controlling a virtual vehicle in a game further includes:
s201: and acquiring a second visual field trigger instruction in the virtual carrier backing process, wherein the second visual field trigger instruction is generated when a second sliding operation continuous with a third touch operation is detected.
S202: and acquiring direction information of the second sliding operation, and determining a second visual field direction according to the direction information of the second sliding operation.
S203: and maintaining the current moving direction of the virtual carrier, and adjusting the visual field presentation on the graphical user interface according to the second visual field direction.
In the above step, the player operates through the backward movement control area, the electronic device detects the third touch operation to control the virtual carrier to move backward in the scene of the game, and in the process that the player moves backward with the virtual carrier, when the player continuously slides in the backward movement control area, the player triggers generation of the visual field trigger instruction to adjust the visual field, and meanwhile, the moving state of the virtual carrier is kept unchanged. Similar to controlling forward progress, the player can control forward progress of the virtual vehicle and adjustment of the field of view of the game with one hand. I.e., a graphical user interface, the back and field of view control of the virtual vehicle may be integrated on one control.
When the electronic device detects a second visual field trigger instruction, after visual field adjustment is triggered, the virtual carrier keeps moving backwards, then the electronic device acquires direction information of sliding operation of a player on a backward control area, and the visual field direction can be further determined according to the direction information, wherein the direction information of the sliding operation and the visual field direction have a preset mapping relation. The specific view conversion or display, and the mapping relationship can be implemented in the forward process in reference to the first embodiment.
For example, in the default state, the game view direction is consistent with or opposite to the virtual vehicle backward direction. The player slides to the left on the backward control area to control the visual field direction to change to the right; the player slides to the right on the control area to control the view direction to change to the left; the player slides upwards on the backward control area to control the view direction to be changed upwards; the player slides downwards on the backward control area to control the view direction to change downwards; the player slides obliquely on the control area, and controls the visual field direction to move in the direction opposite to the sliding direction. But not limited thereto, it may be designed according to a specific game.
Optionally, in a specific implementation of the scheme, the third touch operation may be further used to indicate a deceleration moving instruction.
The third touch operation may be at least one of: click, touch, long press, and heavy press. Taking the long-press operation as an example, that is, when the virtual vehicle is currently stationary, the player can control the virtual vehicle to move backward at a constant speed or move backward at an accelerated speed in the long-press backward control area; when the virtual vehicle moves forward, the player can control the virtual vehicle to decelerate to zero speed in the long-press backward control area, or to perform backward movement after decelerating to zero speed, which is not limited in this scheme.
According to the control method of the virtual carrier in the game, the visual field adjusting function is added in the rocker of the retreating control area for controlling the retreating of the virtual carrier, the retreating of the virtual carrier is not influenced in the visual field adjusting process, a player can control the visual field angle under the condition that the virtual carrier is operated to retreat, the operation convenience of the game is effectively improved, the control method is simple and easy to understand, and the player can be helped to obtain better game experience.
On the basis of the two embodiments, the backward control area and the forward control area are positioned on the same side of the graphical user interface; the forward control area is located at an upper portion of the reverse control area, or the forward control area is located at a lower portion of the reverse control area. The backward control area and the forward control area are arranged on the same side of the graphical user interface. Preferably, the backward control area is disposed below the forward control area and has a preset distance from the forward control area, so as to avoid misoperation of a user.
On the basis of the scheme, after the vision field triggering instruction is acquired, it can be detected that the player keeps touching the forward control area, the vision field is adjusted by sliding in the forward control area, after the adjustment is finished, the player can be separated from the touch screen and does not touch the forward control area any more, and at this time, the sliding operation is determined to be finished. Whether the player controls the virtual vehicle to move forward or backward, accelerate or decelerate, or change the angle of the view presentation in the game scene, the player may stop the operation after the operation, i.e., whether the player clicks or slides, and after the player stops the operation, the control scheme of the virtual vehicle, the view, and the like in the game is as shown in the following embodiments.
Fig. 3 is a flowchart illustrating a method for controlling a virtual vehicle in a game according to another embodiment of the present invention, as shown in fig. 3, based on the above embodiment, the method for controlling a virtual vehicle in a game further includes:
s301: and after detecting that the sliding operation is finished, controlling the presenting visual field of the game scene picture on the graphical user interface to return to the state before the sliding operation after a preset time period.
In this step, after adjusting the field of view on the graphical user interface according to the field of view direction, if it is detected that the sliding operation is finished, the presentation field of view of the game scene screen on the graphical user interface is restored to the state before the sliding operation after a preset time period.
The meaning of this solution is that, if the player does not perform a new operation for a while after adjusting the field of view, the field of view in the game scene can be restored to the default scene angle for presentation, that is, the presentation field of view direction of the game scene screen is associated with the movement direction of the virtual vehicle. For example, when the visual field direction is adjusted during the forward movement of the virtual vehicle, and no operation is continued after a preset time, the game scene screen can be restored to the scene in which the forward direction and the preset area around the forward direction are displayed.
S302: and if the third visual field trigger instruction is acquired again within the preset time period, the third visual field trigger instruction is generated when a third sliding operation continuous with a fourth touch operation is detected, and the fourth touch operation is an operation acting on the forward control area.
In this step, after adjusting the field of view on the graphical user interface according to the field of view direction, if it is detected that the sliding operation is finished, the current field of view is kept unchanged for a preset time period, where the current field of view refers to the field of view displayed on the graphical user interface and presented after being adjusted according to the first field of view direction. If the electronic equipment detects that the operation is carried out again within the preset time period, for example, the sliding operation is carried out again in the advancing control area, namely, the generation of the visual field triggering instruction is triggered again, and then the visual field adjustment is carried out continuously according to the subsequent steps.
S303: and acquiring direction information of the third sliding operation, and determining a third view field direction according to the direction information of the third sliding operation and the current view field.
In this step, the current field of view is a field of view displayed on the graphical user interface that is presented after being adjusted according to the first field of view direction.
S304: and keeping the current moving direction of the virtual carrier, and adjusting the view presentation on the graphical interface according to the third view direction.
In the above steps, the player continues to slide the finger on the operation interface, that is, the third sliding operation, and after determining the direction information of the third sliding operation, the electronic device needs to determine a third view direction by combining the current view and the direction information of the third sliding operation, for example: the player slides a distance to the right on the operation interface, and correspondingly, the view field rotates a certain angle to the left, and at this time, the third view field direction refers to the view field direction after rotating the angle to the left again on the basis of the current view field. The rotation is not based on the initial field of view.
The specific implementation manner of the above two steps is similar to the adjustment scheme for performing the view presentation according to the first sliding operation in the first embodiment, and details are not repeated here.
In this scenario, it should be understood that if sliding in the forward control area, the field of view adjustment may continue to be triggered, but changes based on the current field of view without returning to the preset field of view, i.e., the game field of view whose direction of game field of view is consistent with the direction of movement of the virtual vehicle, and then adjusts.
The preset time period may be 2000 microseconds (ms), but is not limited thereto.
In the method for controlling the virtual carrier in the game provided by the embodiment, within a period of time after the virtual carrier visual field is controlled to be adjusted, if the operation is not continued, the visual field in the game scene can be returned to the default visual field for presentation, and if the visual field adjustment instruction is continued within the preset period of time, the visual field adjustment can be continued on the basis of the current scene angle, the advance of the virtual carrier is not influenced in the visual field adjustment process, and the visual field angle can be controlled by a player under the condition that the virtual carrier is operated to move backwards, so that the operation convenience of the game is effectively improved, the method is simple and easy to understand, and the player can be helped to obtain better game experience.
In a specific implementation of any of the foregoing schemes, the forward control area includes a forward control, and the first touch operation is an operation touched on the forward control. The meaning of the scheme is that an advance control specially used for controlling the advance is arranged in a large area of an advance control area, when the touch operation is operated on the advance control, the virtual carrier is controlled to advance, a specific player continuously slides out of the advance control from the advance control in the process of controlling the advance, and when the specific player is in the advance control area, the visual field adjusting function can be considered to be triggered, at the moment, the virtual carrier continuously moves forwards, namely, the moving function of the virtual carrier is in an unresponsive state.
Likewise, the back control area includes a back control, and the third touch operation is an operation touched on the back control. The method comprises the steps that a retreating control piece special for controlling the virtual carrier to retreat is arranged in a large area of a retreating control area, the virtual carrier is controlled to retreat when touch operation is carried out on the retreating control piece, fingers of a specific player continuously slide out of the retreating control piece in the retreating control process, and when the specific player is in the retreating control area, a visual field adjusting function can be considered to be triggered, at the moment, the virtual carrier retreats continuously, and the moving function of the virtual carrier is in an unresponsive state.
On the basis of the above embodiments, the following describes a method for controlling a virtual vehicle in a game according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a gui of a method for controlling a virtual vehicle in a game according to the present invention. As shown in fig. 4, the virtual vehicle is shown, as well as a forward control area and a backward control area, which are located on the right side of the entire graphical user interface, and the backward control area is located below the forward control area and is not superimposed on each other. The steering control area is located on the left side of the whole graphical user interface, and a player can conveniently use two hands to control the steering control area. The steering control area provides a left space and a right space for controlling different directions, respectively, and the specific directions can be indicated by arrows. The dotted lines in the figure show the route traveled by the virtual vehicle. The forward control area and the backward control area in the figure are only schematic in scope and are not actual in effect.
The player shown in the figure clicks and drags the rocker prompt, showing the location of the player's finger operation. The view shown in fig. 4 is also a view showing both sides of the virtual vehicle traveling direction.
Fig. 5 is a schematic diagram of another gui in the method for controlling a virtual vehicle in a game according to the present invention. As shown in fig. 5, in a specific implementation of the solution, a forward control may be set in the forward control area, and a backward control may be set in the backward control area.
As shown in the above two figures, if the racing game is taken as an example, the virtual vehicle may indicate a racing car, the dotted area may represent a race track, and the moving state of the racing car starts to change when the player drags the forward or backward joystick by fingers. As shown in the figure, if the right hand control rocker is upward, the control rocker is advanced, which is equivalent to the operation of stepping on the accelerator for racing cars; the rocker is downward, which means backward movement, and is equivalent to the braking operation of the racing car. The left hand controls the steering of the vehicle. The following description will exemplify the forward operation.
Fig. 6 is a schematic diagram of another gui in the method for controlling a virtual vehicle in a game according to the present invention. As shown in fig. 6, the player drags the joystick upward, and the virtual vehicle enters a forward state, for example, when the player clicks on a forward control, the virtual vehicle moves in a forward direction indicated by an arrow in the figure.
Taking a racing car as an example: when the player presses the forward control, the racing car starts to advance similarly to the operation of stepping on the accelerator for the racing car.
Fig. 7 is a schematic diagram of another gui in the method for controlling a virtual vehicle in a game according to the present invention. The finger drags the rocker and leaves the forward response area, namely drags the rocker and leaves the forward control element, and the visual field adjusting function is triggered when the rocker is still in the forward control area, and the moving state of the virtual carrier is kept unchanged. As shown in fig. 7, taking a racing car as an example, the player slides to the left in the area where the right hand is held, the racing car keeps moving forward, the field of view in the game starts to turn, and the field of view can turn to the right with the body as an axis.
In a specific implementation manner of this solution, the correspondence between the direction information of the visual field adjustment and the sliding operation may be:
sliding to the left and rotating to the right corresponding to the visual field; sliding to the right and rotating to the left corresponding to the visual field; sliding downwards to move upwards corresponding to the visual field; sliding up corresponds to moving down the field of view. If the slide is inclined, the view can be moved in the opposite direction to the slide.
Fig. 8 is a schematic diagram of another gui in the method for controlling a virtual vehicle in a game according to the present invention. The player drags the rocker leftwards, the visual field is changed rightwards, and the visual field adjustment corresponding to the dragging direction of other rockers is consistent with the technical principle, as shown in fig. 7. When the vision field adjusting function is triggered, the vehicle moving (forward/backward) function is in a non-response state, but the current moving state of the vehicle is not influenced. Namely, the forward and backward states of the virtual carrier are not influenced in the visual field adjusting process, and the virtual carrier can continue to move forward or backward. As shown in fig. 8. When the player presses the button without cancellation, if the forward control area is moved out, the current moving logic is not influenced, for example, when the player presses the button, the forward control in the figure indicates the judgment area of the operation which is started when the player presses the button, and the forward control is accelerated to move out or keep accelerating.
Fig. 9 is a schematic diagram of another gui in the method for controlling a virtual vehicle in a game according to the present invention. As shown in fig. 9, when the player's finger is disengaged from the joystick, the acceleration/deceleration operation of the virtual vehicle is stopped, but the viewing angle remains unchanged. After a preset time period (for example, the preset time period may be 2000ms, or other time period, which may be set according to actual needs, and is not limited to this embodiment), the game view angle returns to the default state, that is, the view direction and the moving direction of the virtual vehicle are kept parallel to each other. In fig. 9, the current view is kept for a preset time period.
If the player clicks the forward and backward areas again after 2000ms, i.e. the viewing angle returns to the default state, the player can operate the viewing adjustment again according to the above steps.
Fig. 10 is a schematic diagram of another gui in the method for controlling a virtual vehicle in a game according to the present invention. If the player clicks the forward and backward control areas again within a preset time period (2000ms), the player responds to the next moving direction according to the current moving state of the carrier, but the view angle keeps the previous state unchanged, the player can continue to slide to change the view angle, and the change angle takes the current angle as a starting point and does not jump to the default view angle and then starts to change again. As shown in fig. 10, for example, in a racing game, the player may click a back control to control the racing car to back in the direction of the arrow at the current viewing angle.
In the control method of the virtual vehicle provided in the above example, a manner of combining the virtual vehicle movement function and the visual field adjustment function is specifically that: 1, adding a visual field adjusting function in a rocker for controlling the virtual carrier moving function; 2 when the rocker is separated from the forward control or the backward control of the carrier, namely the rocker is separated from the movement response area, the visual field adjusting function is triggered; 3 when the visual field adjusting function is triggered, the virtual carrier moving function is in a non-response state, but the current moving state of the carrier is not influenced; 4 when the visual field adjusting function is triggered, the visual field direction adjustment corresponding to the dragging direction of the rocker can refer to the embodiment; 5 when the finger leaves the rocker, the acceleration and deceleration operation of the carrier is stopped, the view angle is unchanged, but the carrier returns to the default state after 2000 ms; 6 within 2000ms, when the player clicks the forward and backward areas again, the player responds to the next moving direction according to the current moving state of the virtual carrier, but the view angle keeps the previous state, the player can continue to slide to change the view angle, and the change angle takes the current angle as the starting point and does not jump to the default view angle and then starts to change again.
According to the control method of the virtual carrier in the game, provided by the invention, the player can also control the view angle under the condition that the operation carrier moves, the rocker drags the corresponding view adjustment to bring great convenience to the player on operation, the corresponding logic is simple, clear and understandable, the view can be adjusted under the condition that the virtual carrier moves, and the player can be helped to better control the carrier to turn in the game.
Fig. 11 is a schematic structural diagram of a control device of a virtual vehicle in a game according to an embodiment of the present invention, and as shown in fig. 11, the control device 10 of the virtual vehicle in the game includes: a processing module 11 and a display module 12.
A graphical user interface is obtained by executing a software application on the processing module 11 of the in-game virtual vehicle control apparatus 10 and rendering the software application on the display module 12 of the in-game virtual vehicle control apparatus 10, wherein game content displayed on the graphical user interface at least includes a controllable virtual vehicle.
The processing module 11 is configured to control the virtual vehicle to advance in a game scene according to a first touch operation acting on an advance control area, where a presentation view direction of a game scene screen is associated with a moving direction of the virtual vehicle;
the processing module 11 is further configured to control the virtual vehicle to steer in the game scene according to a second touch operation applied to the steering control area; the forward control region and the steer control region are displayed on the graphical user interface;
the processing module 11 is further configured to acquire a first view trigger instruction in the virtual vehicle moving forward process, where the first view trigger instruction is generated when a first sliding operation continuous with the first touch operation is detected;
the processing module 11 is further configured to acquire direction information of the first sliding operation, and determine a first view direction according to the direction information of the first sliding operation;
a display module 12, configured to maintain a current moving direction of the virtual vehicle according to the control of the processing module 11, and adjust a view presentation on the graphical user interface according to the first view direction.
In the control device for the virtual carrier in the game provided by the embodiment, in the moving process of the virtual carrier, the processor acquires the touch operation control in the forward control area to control the forward movement, acquires the touch operation control in the steering control area to control the steering of the virtual carrier in the scene, and can control the view presentation on the graphical user interface according to the continuous sliding of the touch operation instruction, so that the movement of the carrier and the view control are integrated on one control in the game, and a player can also control the view angle under the condition that the operation carrier moves.
On the basis of the above embodiment, the steering control area is located on one side of the graphical user interface, and the forward control area is located on the other side of the graphical user interface;
the processing module 11 is further configured to control a moving direction of the vehicle according to the direction information indicated by the second touch operation.
Optionally, the first touch operation is further used for indicating an acceleration instruction.
Optionally, the processing module 11 is further configured to control the virtual vehicle to move backwards in the game scene according to a third touch operation applied to a backward control area, where the backward control area is displayed on the graphical user interface.
Optionally, the processing module 11 is further configured to acquire a second view trigger instruction in a process of backing up the virtual vehicle, where the second view trigger instruction is generated when a second sliding operation continuous with the third touch operation is detected;
the processing module 11 is further configured to acquire direction information of the second sliding operation, and determine a second view direction according to the direction information of the second sliding operation;
the processing module 11 is further configured to maintain a current moving direction of the virtual vehicle, and control the display module 12 to adjust the view presentation on the graphical user interface according to the second view direction.
Optionally, the third touch operation is further used to indicate a deceleration instruction.
Optionally, the processing module 11 is further configured to detect that the sliding operation is ended, and control the display view of the game scene picture on the graphical user interface to return to the state before the sliding operation after a preset time period.
Optionally, after detecting that the sliding operation is ended, the processing module 11 is further configured to:
if the third visual field trigger instruction is obtained again within the preset time period, the third visual field trigger instruction is generated when a third sliding operation continuous with a fourth touch operation is detected, and the fourth touch operation is an operation on the forward control area;
acquiring direction information of the third sliding operation, and determining a third view field direction according to the direction information of the third sliding operation and a current view field, wherein the current view field is a view field displayed on the graphical user interface and adjusted and presented according to the first view field direction;
and maintaining the current moving direction of the virtual carrier, and controlling the display module 12 to adjust the visual field presentation on the graphical interface according to the third visual field direction.
Optionally, the backward control area and the forward control area are located on the same side of the graphical user interface;
the forward control area is located at an upper portion of the reverse control area, or the forward control area is located at a lower portion of the reverse control area.
Optionally, the forward control area includes a forward control, and the first touch operation is an operation touched on the forward control.
Optionally, the back control area includes a back control, and the third touch operation is an operation touched on the back control.
The control device of the virtual vehicle in the game provided by any of the above implementation manners is used to implement the technical solution in any of the above method embodiments, and the implementation principle and the technical effect are similar, and are not described herein again.
The above processing module may be configured as one or more integrated circuits implementing the above method, for example: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 12 is a schematic structural diagram of an electronic device according to another embodiment of the present invention, and as shown in fig. 12, the electronic device at least includes:
a processor;
a memory for storing a computer program for the processor; and the number of the first and second groups,
a display for displaying data and a graphical user interface according to the control of the processor;
wherein the processor is configured to implement the method for controlling a virtual vehicle in a game provided by any implementation manner in the foregoing method embodiments by executing the computer program.
The present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for controlling a virtual vehicle in a game provided in any of the implementations of the foregoing method embodiments.
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, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (14)

1. A method for controlling a virtual vehicle in a game, comprising: a graphical user interface is obtained by executing a software application on a processor of a terminal and rendering the software application on a display of the terminal, wherein game content displayed by the graphical user interface at least comprises a controllable virtual carrier, and the method comprises the following steps:
controlling the virtual carrier to advance in a game scene according to a first touch operation acting on an advancing control area, wherein the presenting view direction of a game scene picture is associated with the moving direction of the virtual carrier;
controlling the virtual carrier to turn in a game scene according to a second touch operation acting on a turning control area; the forward control region and the steer control region are displayed on the graphical user interface;
acquiring a first visual field trigger instruction in the advancing process of the virtual carrier, wherein the first visual field trigger instruction is generated when a first sliding operation continuous with the first touch operation is detected;
acquiring direction information of the first sliding operation, and determining a first view direction according to the direction information of the first sliding operation;
maintaining a current direction of movement of the virtual vehicle, and adjusting a view presentation on the graphical user interface according to the first view direction.
2. The method of claim 1, further comprising:
the steering control area is located on one side of the graphical user interface and the forward control area is located on the other side of the graphical user interface;
and controlling the moving direction of the carrier according to the direction information indicated by the second touch operation.
3. The method of claim 1, wherein the first touch operation is further used to indicate an acceleration instruction.
4. The method of claim 1, further comprising:
and controlling the virtual carrier to move backwards in a game scene according to a third touch operation acting on a backward control area, wherein the backward control area is displayed on the graphical user interface.
5. The method of claim 4, further comprising:
acquiring a second visual field trigger instruction in the virtual carrier backing process, wherein the second visual field trigger instruction is generated when a second sliding operation continuous with the third touch operation is detected;
acquiring direction information of the second sliding operation, and determining a second view direction according to the direction information of the second sliding operation;
and maintaining the current moving direction of the virtual carrier, and adjusting the visual field presentation on the graphical user interface according to the second visual field direction.
6. The method of claim 4, wherein the third touch operation is further used to indicate a deceleration instruction.
7. The method of claim 1, wherein after adjusting the presentation of the field of view on the graphical user interface in accordance with the first direction of view, the method further comprises:
and after detecting that the first sliding operation is finished, controlling the display visual field of the game scene picture on the graphical user interface to be restored to the state before the first sliding operation after a preset time period.
8. The method of claim 7, wherein after detecting the end of the first swipe operation, the method further comprises:
if so, acquiring a third view trigger instruction, wherein the third view trigger instruction is generated when a third sliding operation continuous with a fourth touch operation is detected, and the fourth touch operation is an operation on the forward control area;
acquiring direction information of the third sliding operation, and determining a third view field direction according to the direction information of the third sliding operation and a current view field, wherein the current view field is a view field displayed on the graphical user interface and adjusted and presented according to the first view field direction;
and maintaining the current moving direction of the virtual carrier, and adjusting the visual field presentation on the graphical user interface according to the third visual field direction.
9. The method according to claim 4 or 5, wherein the reverse control area and the forward control area are located on the same side of the graphical user interface;
the forward control area is located at an upper portion of the reverse control area, or the forward control area is located at a lower portion of the reverse control area.
10. The method of claim 1, wherein the forward control area comprises a forward control, and wherein the first touch operation is a touch operation on the forward control.
11. The method according to claim 4 or 5, wherein the back control area comprises a back control, and the third touch operation is an operation of touching on the back control.
12. An apparatus for controlling a virtual vehicle in a game, wherein a graphical user interface is obtained by executing a software application on a processing module of the apparatus for controlling a virtual vehicle in a game and rendering the software application on a display module of the apparatus for controlling a virtual vehicle in a game, and game content displayed on the graphical user interface at least includes a controllable virtual vehicle, the apparatus comprising:
the processing module is used for controlling the virtual carrier to advance in a game scene according to a first touch operation acting on an advancing control area, wherein the presenting view direction of a game scene picture is associated with the moving direction of the virtual carrier;
the processing module is further used for controlling the virtual vehicle to steer in a game scene according to a second touch operation acting on a steering control area; the forward control region and the steer control region are displayed on the graphical user interface;
the processing module is further configured to acquire a first view trigger instruction in the virtual vehicle advancing process, where the first view trigger instruction is generated when a first sliding operation continuous with the first touch operation is detected;
the processing module is further configured to acquire direction information of the first sliding operation, and determine a first view direction according to the direction information of the first sliding operation;
and the display module is used for keeping the current moving direction of the virtual carrier according to the control of the processing module and adjusting the visual field presentation on the graphical user interface according to the first visual field direction.
13. An electronic device, comprising:
a processor;
a memory for storing a computer program for the processor; and the number of the first and second groups,
a display for displaying data and a graphical user interface according to the control of the processor;
wherein the processor is configured to implement the in-game virtual vehicle control method of any one of claims 1 to 11 by executing the computer program.
14. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing a method for controlling a virtual vehicle in a game according to any one of claims 1 to 11.
CN201810837820.4A 2018-07-26 2018-07-26 Method, device, equipment and storage medium for controlling virtual carrier in game Active CN109011559B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810837820.4A CN109011559B (en) 2018-07-26 2018-07-26 Method, device, equipment and storage medium for controlling virtual carrier in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810837820.4A CN109011559B (en) 2018-07-26 2018-07-26 Method, device, equipment and storage medium for controlling virtual carrier in game

Publications (2)

Publication Number Publication Date
CN109011559A CN109011559A (en) 2018-12-18
CN109011559B true CN109011559B (en) 2021-09-07

Family

ID=64646873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810837820.4A Active CN109011559B (en) 2018-07-26 2018-07-26 Method, device, equipment and storage medium for controlling virtual carrier in game

Country Status (1)

Country Link
CN (1) CN109011559B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109985383A (en) * 2019-02-27 2019-07-09 网易(杭州)网络有限公司 A kind of method, apparatus of information processing, storage medium and electronic device
CN110201391B (en) * 2019-06-05 2023-04-07 网易(杭州)网络有限公司 Method and device for controlling virtual character in game
CN110681158A (en) * 2019-10-14 2020-01-14 北京代码乾坤科技有限公司 Processing method of virtual carrier, storage medium, processor and electronic device
CN111013147B (en) * 2019-12-11 2023-03-28 米哈游科技(上海)有限公司 Method and device for rendering effect of double-wheel carrier, storage medium and electronic equipment
CN111078031B (en) * 2019-12-23 2023-11-14 上海米哈游网络科技股份有限公司 Virtual character position determining method, device, equipment and storage medium
CN111760275A (en) * 2020-07-08 2020-10-13 网易(杭州)网络有限公司 Game control method and device and electronic equipment
CN113041613B (en) * 2021-04-26 2022-08-09 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for reviewing game
WO2022233125A1 (en) * 2021-05-07 2022-11-10 网易(杭州)网络有限公司 Information processing method and apparatus in game, electronic device, and storage medium
CN113181625A (en) * 2021-05-17 2021-07-30 彭华清 Touch control method and device for touch terminal
CN114627221B (en) * 2021-12-08 2023-11-10 北京蓝亚盒子科技有限公司 Scene rendering method and device, operator and readable storage medium
CN114870397A (en) * 2022-05-11 2022-08-09 网易(杭州)网络有限公司 Control method, control device, equipment and medium for moving carrier in game

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103252087A (en) * 2012-02-20 2013-08-21 富立业资讯有限公司 Game control method with touch panel medium and game medium
CN106774907A (en) * 2016-12-22 2017-05-31 腾讯科技(深圳)有限公司 A kind of method and mobile terminal that virtual objects viewing area is adjusted in virtual scene
CN107132988A (en) * 2017-06-06 2017-09-05 网易(杭州)网络有限公司 Virtual objects condition control method, device, electronic equipment and storage medium
CN107213643A (en) * 2017-03-27 2017-09-29 网易(杭州)网络有限公司 Display control method and device, storage medium, the electronic equipment of game picture
CN107765986A (en) * 2017-11-01 2018-03-06 网易(杭州)网络有限公司 The information processing method and device of games system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5563633B2 (en) * 2012-08-31 2014-07-30 株式会社スクウェア・エニックス Video game processing apparatus and video game processing program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103252087A (en) * 2012-02-20 2013-08-21 富立业资讯有限公司 Game control method with touch panel medium and game medium
CN106774907A (en) * 2016-12-22 2017-05-31 腾讯科技(深圳)有限公司 A kind of method and mobile terminal that virtual objects viewing area is adjusted in virtual scene
CN107213643A (en) * 2017-03-27 2017-09-29 网易(杭州)网络有限公司 Display control method and device, storage medium, the electronic equipment of game picture
CN107132988A (en) * 2017-06-06 2017-09-05 网易(杭州)网络有限公司 Virtual objects condition control method, device, electronic equipment and storage medium
CN107765986A (en) * 2017-11-01 2018-03-06 网易(杭州)网络有限公司 The information processing method and device of games system

Also Published As

Publication number Publication date
CN109011559A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109011559B (en) Method, device, equipment and storage medium for controlling virtual carrier in game
CN109865286B (en) Information processing method and device in game and storage medium
US11986740B2 (en) Method and system for initiating a jump game play from a live game play viewed by a spectator
US20200346110A1 (en) User interface processing apparatus, method of processing user interface, and non-transitory computer-readable medium embodying computer program for processing user interface
CN107008003B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
US11707669B2 (en) Program, control method, and information processing apparatus
US20160023102A1 (en) Game providing device
US8780052B2 (en) Input data processing program and information processing apparatus
CN113181651B (en) Method, device, electronic equipment and storage medium for controlling virtual object movement in game
CN111888766B (en) Information processing method and device in game, electronic equipment and storage medium
US11266904B2 (en) Game system, game control device, and information storage medium
CN111494963A (en) Vehicle-mounted game method, system, device, computer equipment and storage medium
CN114159787A (en) Control method and device of virtual object, electronic equipment and readable medium
CN108536350B (en) Virtual object control method and equipment
CN111760275A (en) Game control method and device and electronic equipment
CN110772784B (en) Carrier control method and device, storage medium and electronic device
JP2006149662A (en) Game program and game device
CN113941144A (en) Flight control method and device in game, electronic equipment and storage medium
CN112791403A (en) Method and device for controlling virtual character in game and terminal equipment
CN115105831A (en) Virtual object switching method and device, storage medium and electronic device
CN113769373A (en) Game operation sensitivity adjustment method and device, storage medium and electronic device
CN113694514A (en) Object control method and device
WO2023221695A1 (en) Virtual vehicle control method and apparatus, device, and storage medium
JP7052128B1 (en) Information processing system, program and information processing method
WO2023063121A1 (en) Computer program, game system used in same, and control method

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