[go: up one dir, main page]

CN116999825A - Game control method, game control device, computer equipment and storage medium - Google Patents

Game control method, game control device, computer equipment and storage medium Download PDF

Info

Publication number
CN116999825A
CN116999825A CN202210470696.9A CN202210470696A CN116999825A CN 116999825 A CN116999825 A CN 116999825A CN 202210470696 A CN202210470696 A CN 202210470696A CN 116999825 A CN116999825 A CN 116999825A
Authority
CN
China
Prior art keywords
game
distance
virtual character
target
virtual
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.)
Pending
Application number
CN202210470696.9A
Other languages
Chinese (zh)
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 CN202210470696.9A priority Critical patent/CN116999825A/en
Publication of CN116999825A publication Critical patent/CN116999825A/en
Pending legal-status Critical Current

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/55Controlling game characters or game objects based on the game progress
    • 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/428Processing 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 motion or position input signals, e.g. signals representing the rotation of an input controller or a player's arm motions sensed by accelerometers or gyroscopes
    • 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
    • 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/5372Controlling 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 tagging characters, objects or locations in the game scene, e.g. displaying a circle under the character controlled by 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
    • 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/5378Controlling 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 displaying an additional top view, e.g. radar screens or maps
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Optics & Photonics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a game control method, a game control device, computer equipment and a storage medium. According to the method, the distance setting control is added on the game interface of the target game, and the game player controls the current virtual character to keep a certain distance from other virtual characters in the game interface, which are in the same game scene with the current virtual character, through the touch operation of the distance setting control, so that the game player does not need to control the movement of the current virtual character all the time when controlling the current virtual character to play the game with other virtual characters, the fight operation of the game player is facilitated, and the game experience of the game player can be improved.

Description

Game control method, game control device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a game control method, a game control device, a computer device, and a storage medium.
Background
With the development of the internet, a large number of different types of games are emerging to meet the daily entertainment needs of users.
In some games, a movement control is typically provided on the game interface, and a player controls the movement of a virtual character in the game screen through clicking on the movement control. When a player controls a virtual character to perform a fight operation with other virtual characters, in order to avoid being attacked by other virtual characters, a moving control needs to be operated in real time to control the virtual character to keep a certain distance from the other virtual characters. However, during the fight operation, the player also needs to operate the attack control to control the virtual character to perform attack operation on other virtual characters, so that the player can be distracted by operating the mobile control in real time, and the game experience of the game player is affected.
Disclosure of Invention
The embodiment of the application provides a game control method, a game control device, computer equipment and a storage medium, which can improve the game experience of a game player.
The embodiment of the application provides a game control method, which comprises the following steps:
displaying a game interface, wherein the game interface comprises at least part of a game scene of a target game, a first virtual character and a target virtual object in the game scene;
responding to a distance setting operation aiming at the target virtual object, and determining a target distance corresponding to the distance setting operation;
and controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance.
Correspondingly, the embodiment of the application also provides a game control device, which comprises:
a display unit for displaying a game interface including at least a part of a game scene of a target game, and a first virtual character and a target virtual object in the game scene;
a determining unit, configured to determine a target distance corresponding to a distance setting operation in response to the distance setting operation for the target virtual object;
and the control unit is used for controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance.
In some embodiments, the apparatus further comprises:
and the generating unit is used for generating a character identifier corresponding to the second virtual character on the game interface according to the second virtual character.
In some embodiments, the determining unit comprises:
and the first determining subunit is used for responding to the non-contact operation acted on the character identifier and determining the target distance according to the distance between the touch medium and the game interface.
In some embodiments, the determining unit comprises:
the first display subunit is used for responding to a first touch operation acting on the character identifier and displaying a distance setting control on the game interface;
and the operation subunit is used for responding to a second touch operation acted on the distance setting control, and determining the target distance according to the second touch operation.
In some embodiments, the operating subunit is specifically configured to:
acquiring a sliding direction and a sliding distance of the sliding operation;
the target distance is determined based on the sliding direction and the sliding distance.
In some embodiments, the determining unit comprises:
the second display subunit is used for responding to a third touch operation acting on the character identifier and displaying a distance setting control on the game interface;
And the second determining subunit is used for responding to the fourth touch operation acted on the distance setting control, acquiring the attack range of the virtual weapon and determining the target distance according to the attack range.
In some embodiments, the control unit comprises:
a first control subunit for providing a movement control at the graphical user interface;
a second control subunit, configured to control the first virtual character to move in the game scene in response to a sliding operation acting on the movement control;
a third control subunit for controlling the first virtual character to stop approaching the second virtual character when the first virtual character is controlled to approach the second virtual character and the distance between the first virtual character and the second virtual character is equal to the target distance
In some embodiments, the determining unit comprises:
the fourth control subunit is used for responding to the touch operation of the mobile control in the game interface and controlling the first virtual character to move in the game scene;
and the third determining subunit is used for determining the target distance when the preset condition is met between the first virtual character and the safety area.
In some embodiments, the third determining subunit is specifically configured to:
and when the first virtual character is positioned in the safety area and the distance between the first virtual character and the safety area is within a preset distance range, or when the first virtual character is positioned outside the safety area and the distance between the first virtual character and the safety area is within the preset distance range.
In some embodiments, the control unit comprises:
and a fifth control subunit, configured to control the first virtual character to automatically move along the security area, so that a distance between the first virtual character and the security area is not less than the target distance.
In some embodiments, the second control subunit is specifically configured to:
acquiring the moving speed of the safety area;
and controlling the first virtual character to move along the safety area according to the moving speed.
According to the embodiment of the application, the distance setting control is added on the game interface of the target game, and the game player controls the current virtual character to keep a certain distance from other virtual characters in the game interface, which are in the same game scene with the current virtual character, so that the game player does not need to control the movement of the current virtual character all the time when controlling the current virtual character to play the game with other virtual characters, the fight operation of the game player is facilitated, and the game experience of the game player can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a game control system according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a game control method according to an embodiment of the present application.
Fig. 3 is an application scenario schematic diagram of a game control method according to an embodiment of the present application.
Fig. 4 is a schematic application scenario diagram of another game control method according to an embodiment of the present application.
Fig. 5 is a schematic application scenario diagram of another game control method according to an embodiment of the present application.
Fig. 6 is a schematic application scenario diagram of another game control method according to an embodiment of the present application.
Fig. 7 is a schematic application scenario diagram of another game control method according to an embodiment of the present application.
Fig. 8 is a schematic application scenario diagram of another game control method according to an embodiment of the present application.
Fig. 9 is a flowchart of another game control method according to an embodiment of the present application.
Fig. 10 is a schematic diagram of an application scenario of another game control method according to an embodiment of the present application.
Fig. 11 is a schematic application scenario diagram of another game control method according to an embodiment of the present application.
Fig. 12 is a flowchart of another game control method according to an embodiment of the present application.
Fig. 13 is a schematic view of an application scenario of another game control method according to an embodiment of the present application.
Fig. 14 is a schematic view of an application scenario of another game control method according to an embodiment of the present application.
Fig. 15 is a block diagram of a game control device according to an embodiment of the present application.
Fig. 16 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a game control method, a game control device, a storage medium and computer equipment. Specifically, the game control method according to the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server. The terminal may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a personal computer (PC, personal Computer), a personal digital assistant (Personal Digital Assistant, PDA), and the like, and the terminal may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs, basic cloud computing services such as big data and artificial intelligent platforms.
For example, when the game control method is run on the terminal, the terminal device stores a game application and is used to present a virtual scene in a game screen. The terminal device is used for interacting with a user through a graphical user interface, for example, the terminal device downloads and installs a game application program and runs the game application program. The way in which the terminal device presents the graphical user interface to the user may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device, or presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a graphical user interface including game screens and receiving operation instructions generated by a user acting on the graphical user interface, and a processor for running the game, generating the graphical user interface, responding to the operation instructions, and controlling the display of the graphical user interface on the touch display screen.
For example, when the game control method is run on a server, it may be a cloud game. Cloud gaming refers to a game style based on cloud computing. In the cloud game operation mode, an operation main body of the game application program and a game picture presentation main body are separated, and the storage and operation of the game control method are completed on a cloud game server. The game image presentation is completed at a cloud game client, which is mainly used for receiving and sending game data and presenting game images, for example, the cloud game client may be a display device with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer, a personal digital assistant, etc., near a user side, but the terminal device for processing game data is a cloud game server in the cloud. When playing the game, the user operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the cloud game client through a network, and finally decodes the data through the cloud game client and outputs the game pictures.
Referring to fig. 1, fig. 1 is a schematic view of a game control system according to an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the server of different games through the network. A terminal is any device having computing hardware capable of supporting and executing a software product corresponding to a game. In addition, the terminal has one or more multi-touch-sensitive screens for sensing and obtaining inputs of a user through touch or slide operations performed at a plurality of points of the one or more touch-sensitive display screens. In addition, when the system includes a plurality of terminals, a plurality of servers, and a plurality of networks, different terminals may be connected to each other through different networks, through different servers. The network may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, the different terminals 1000 may be connected to other terminals or to a server or the like using their own bluetooth network or hotspot network. For example, multiple users may be online through different terminals to connect and synchronize with each other through an appropriate network to support multiplayer games. In addition, the system may include multiple databases coupled to different servers and information related to the gaming environment may be continuously stored in the databases as different users play multiplayer games online.
The embodiment of the application provides a game control method which can be executed by a terminal or a server. The embodiment of the present application is described with an example in which a game control method is executed by a terminal. The terminal comprises a touch display screen and a processor, wherein the touch display screen is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. When a user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instruction, and can also control the content of the opposite-end server by responding to the received operation instruction. For example, the user-generated operational instructions for the graphical user interface include instructions for launching the gaming application, and the processor is configured to launch the gaming application after receiving the user-provided instructions for launching the gaming application. Further, the processor is configured to render and draw a graphical user interface associated with the game on the touch-sensitive display screen. A touch display screen is a multi-touch-sensitive screen capable of sensing touch or slide operations performed simultaneously by a plurality of points on the screen. The user performs touch operation on the graphical user interface by using a finger, and when the graphical user interface detects the touch operation, the graphical user interface controls different virtual objects in the game to execute actions corresponding to the touch operation. For example, the game may be any one of a leisure game, an action game, a role playing game, a strategy game, a sports game, a educational game, and the like. Wherein the game may include a virtual scene of the game. Further, one or more virtual objects, such as virtual characters, controlled by a user (or player) may be included in the virtual scene of the game. In addition, one or more obstacles, such as rails, ravines, walls, etc., may also be included in the virtual scene of the game to limit movement of the virtual object, e.g., to limit movement of the one or more objects to a particular area within the virtual scene. Optionally, the virtual scene of the game also includes one or more elements, such as skills, scores, character health status, energy, etc., to provide assistance to the player, provide virtual services, increase scores related to the player's performance, etc. In addition, the graphical user interface may also present one or more indicators to provide indication information to the player. For example, a game may include a player controlled virtual object and one or more other virtual objects (such as enemy characters). In one embodiment, one or more other virtual objects are controlled by other players of the game. For example, one or more other virtual objects may be computer controlled, such as a robot using an Artificial Intelligence (AI) algorithm, implementing a human-machine engagement mode. For example, virtual objects possess various skills or capabilities that a game player uses to achieve a goal. For example, the virtual object may possess one or more weapons, props, tools, etc. that may be used to eliminate other objects from the game. Such skills or capabilities may be activated by the player of the game using one of a plurality of preset touch operations with the touch display screen of the terminal. The processor may be configured to present a corresponding game screen in response to an operation instruction generated by a touch operation of the user.
It should be noted that, the schematic view of the game control system shown in fig. 1 is only an example, and the image processing system and the scene described in the embodiment of the present application are for more clearly describing the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided by the embodiment of the present application, and those skilled in the art can know that, with the evolution of the game control system and the appearance of a new service scene, the technical solution provided by the embodiment of the present application is equally applicable to similar technical problems.
Based on the above problems, embodiments of the present application provide a first game control method, apparatus, computer device, and storage medium, which can improve the game experience of a game player. The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The embodiment of the application provides a game control method which can be executed by a terminal or a server, and the embodiment of the application is described by taking the game control method executed by the terminal as an example.
Referring to fig. 2, fig. 2 is a flow chart of a game control method according to an embodiment of the application. The specific flow of the game control method can be as follows:
101. And displaying a game interface.
The game interface comprises at least part of a game scene of the target game, a first virtual character and a target virtual object, wherein the first virtual character is a virtual character controlled by the current terminal, and the target virtual object can be a game element in the game scene.
102. And responding to the distance setting operation aiming at the target virtual object, and determining the target distance corresponding to the distance setting operation.
The distance setting operation is used for setting the distance between the first virtual character and the target virtual object in the game scene, namely the target distance.
In some embodiments, to facilitate a game player controlling the distance between an operated virtual character and an hostile virtual character, the target virtual object may be a second virtual character that is in a different game play than the first virtual character.
For example, referring to fig. 3, fig. 3 is a schematic application scenario diagram of a game control method according to an embodiment of the present application. In the game interface shown in fig. 3, a part of a game scene including a target game, and a first virtual character and a second virtual character in the game scene, and a part of an operation control are included. In the game scenario, the first virtual character and the second virtual character may be in a combat.
Further, referring to fig. 4, fig. 4 is a schematic application scenario diagram of another game control method according to an embodiment of the present application. In the game interface shown in fig. 4, the current game player controlling the first virtual character can set the target distance between the first virtual character and the second virtual character by a distance setting operation on the second virtual character.
Wherein, the distance setting operation may be: firstly, performing touch operation (clicking or pressing operation and the like) on the second virtual character, then displaying a distance setting icon on the game interface, and setting the target distance between the first virtual character and the second virtual character through sliding operation on the distance setting icon. For example, in fig. 4, the current game player may perform a sliding operation in the upward direction on the distance setting icon, and further may determine that the target distance is 5 meters. Wherein, the distance unit of the target distance can be the distance unit of the game scene, and then the target distance of 5 meters refers to the distance between the first virtual character and the second virtual character set in the game scene of 5 meters.
In some embodiments, in order to improve accuracy of the distance setting operation, a character identifier of the second virtual character may also be set in the game interface, and then the method may further include the following steps:
And generating a character identifier corresponding to the second virtual character on the game interface according to the second virtual character.
The character identification can be a character head image or a character name corresponding to the second virtual character.
For example, referring to fig. 5, fig. 5 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface shown in fig. 5, a part of a game scene of a target game is included, and a first virtual character and a second virtual character in the game scene, a character identification of the second virtual character, and a part of an operation control are included. In the game scenario, the first virtual character is in engagement with the second virtual character.
In some embodiments, the step of "determining the target distance corresponding to the distance setting operation in response to the distance setting operation for the target virtual object" may include the following operations:
responding to a first touch operation acting on the character identifier, and displaying a distance setting control on the game interface;
and responding to a second touch operation acted on the distance setting control, and determining the target distance according to the second touch operation.
The first touch operation includes various operations, such as clicking, pressing, and the like. And triggering the display distance setting control on the game interface through a first touch operation of the game player on the target virtual character identifier of the target second virtual character.
The second touch operation is used for controlling the distance setting control to set the target distance.
For example, referring to fig. 6, fig. 6 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. First, the game player may perform a first touch operation, such as a click operation, on the angular mark, and then the game interface displays a distance setting control, and further, the game player may perform a second touch operation on the distance setting control, and set the target distance by performing a touch operation on the distance setting control.
In some embodiments, to improve accuracy of distance setting, the second touch operation may be a sliding operation, and the step of "determining the target distance according to the second touch operation in response to the second touch operation acting on the distance setting control" may include the following operations:
acquiring a sliding direction and a sliding distance of a sliding operation;
the target distance is determined based on the sliding direction and the sliding distance.
In the embodiment of the present application, the sliding direction may be determined according to the setting direction of the distance setting control, for example, in fig. 6, the distance setting control is set vertically, and the sliding direction may include: upward or downward, etc.
The sliding distance refers to a sliding distance of sliding operation on the distance setting control, and the sliding distance corresponds to a set target distance, for example, when the sliding distance of the game player to the sliding operation on the distance setting control is 1 cm, the corresponding set target distance may be 5 meters, and a distance unit of the target distance may be a distance unit corresponding to a game scene.
Further, in order to facilitate the distance setting operation of the game player, when the game player performs the sliding operation on the distance setting control to set the target distance, the target distance corresponding to the sliding operation can be displayed beside the distance setting control in real time, so that the game player can conveniently adjust or set the required target distance according to the displayed target distance.
In some embodiments, in order to meet the diversified operation requirements of the game player, the step of "determining the target distance corresponding to the distance setting operation in response to the distance setting operation for the target virtual object" may include the following operations:
and responding to non-contact operation acting on the character identification, and determining the target distance according to the distance between the touch medium and the game interface.
The non-contact operation refers to a non-contact operation between the touch medium and the game interface, such as a space-free gesture operation. The touch medium may be a player's finger or a smart stylus.
In the embodiment of the application, a sensor, such as a distance detection sensor, can be arranged below the terminal screen, and the distance between the touch medium and the game interface can be detected by the distance detection sensor.
For example, in fig. 6, a game player may click a character identifier by a finger, then lift the finger, the terminal detects the distance between the fingertip and the screen to obtain a first distance, and then determine a preset distance corresponding to the first distance from a plurality of preset distances according to the correspondence between the first distance and the preset moving distance, thereby determining the target distance.
In some embodiments, when the first virtual character and the second virtual character perform a combat, the second virtual character may hold a virtual weapon, and the second virtual character attacks the first virtual character through the virtual weapon, then, in order to improve a game experience of the game player, the step of "determining a target distance corresponding to the distance setting operation in response to the distance setting operation for the target virtual object" may include the following operations:
responding to a third touch operation acting on the character identifier, and displaying a distance setting control on the game interface;
and responding to a fourth touch operation acting on the distance setting control, acquiring the attack range of the virtual weapon, and determining the target distance according to the attack range.
The third touch operation refers to a touch operation of a user on character identification of the second virtual character, the third touch operation can be used for triggering a distance setting control displayed on the game interface, and the third touch operation can be operations such as clicking, sliding and pressing.
The fourth touch operation refers to touch operation of a distance setting control by a user, and the fourth touch operation can be used for triggering and acquiring an attack range of the handheld virtual weapon of the current second virtual character, and then determining a target distance according to the attack range.
In the embodiment of the application, a plurality of virtual weapons can be arranged in the target game, and the sizes of different virtual weapons can be different, so that the attack ranges, namely the attack distances, of different virtual weapons can be different, and therefore, each weapon type can be corresponding to one attack distance.
For example, in a target game, weapon types for virtual weapons may include: the first virtual weapon type, the second virtual weapon type, the third virtual weapon type, etc., wherein the attack distance of the first virtual weapon type may be a first attack distance, the attack distance of the second virtual weapon type may be a second attack distance, and the attack distance of the third virtual weapon type may be a third attack distance.
Specifically, the target distance is determined according to the attack range corresponding to the weapon type, that is, the target distance is determined according to the attack range corresponding to the weapon type.
For example, the weapon type of the virtual weapon held by the first virtual character may be the first virtual weapon type, the weapon type of the virtual weapon held by the second virtual character may be the second virtual weapon type, in order to avoid the first virtual character being attacked by the second virtual character, the second attack distance corresponding to the second virtual weapon type of the second virtual character may be used as the target distance, and then the relative distance between the first virtual character and the second virtual character may be controlled according to the second attack distance, so that the game player does not need to operate and control the relative distance between the first virtual character and the second virtual character, and the operation of the game player is reduced, thereby improving the game experience.
In some embodiments, in order to meet the game requirements of different game players, some game players want to secure the virtual character controlled by the game players, some game players may want to attack other game characters, and after the step of determining the target distance according to the attack range corresponding to the weapon type, the following steps may be further included:
Generating prompt information based on the target distance, and displaying the prompt information on a game interface;
and when a confirmation operation for the prompt information is received, executing the step of controlling the distance between the first virtual character and the second virtual character to be not smaller than the safety distance.
The prompt information indicates whether the distance between the first virtual character and the second virtual character needs to be set as a safe distance.
Wherein the validation operation indicates that the current game player controlling the first virtual character validates that the distance between the first virtual character and the second virtual character needs to be set as the safe distance. Then, the step of "controlling the distance between the first virtual character and the second virtual character to be not less than the safe distance" may be performed.
In some embodiments, the game interface may further include a movement control, where the movement control may be used to control the virtual character to move in the game scene, further, to facilitate the game player to control the distance between the operated virtual character and the designated area in the game scene, the target virtual object may be a safe area in the game scene, where the safe area is an area in the game scene that does not harm the game character currently, and then the step of "determining, in response to the distance setting operation for the target virtual object, the target distance corresponding to the distance setting operation" may include the following operations:
Responding to touch operation of a mobile control in a game interface, and controlling a first virtual character to move in a game scene;
and when the preset condition is met between the first virtual character and the safety area, determining the target distance.
For example, referring to fig. 7, fig. 7 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface shown in fig. 7, which includes a portion of the game scene of the target game, a first virtual character in the game scene, and a secure area in the game scene, the game interface may further include a movement control.
Specifically, when the touch operation of the game player on the mobile control is detected, the first virtual character can be controlled to move in the game scene according to the touch operation.
In the process that the first virtual character moves in the game scene, if the first virtual character and the safety area meet the preset condition, the target distance can be determined.
The preset condition may be that a distance between the first virtual character and the security area is a preset distance range.
For example, the preset conditions may include: the first virtual character is positioned in the safety area, and the distance between the first virtual character and the safety area is within a preset distance range; or may include the first avatar being outside the secure area and within a preset distance range from the secure area, etc.
After the first virtual character and the safety area are determined to meet the preset conditions, the target distance can be determined according to the distance between the first virtual character and the safety area, wherein the distance is outside the safety area.
In this embodiment, the target distance may be preset, or may be manually adjusted by a player operation.
The first virtual character needs to be controlled to move along the safety area, so that the first virtual character is located in the safety area, and the target distance can be set to be a negative value to ensure that the first virtual character is located in the safety area.
The first virtual character is kept in the safe zone all the time, and the target distance is kept with the boundary line of the safe zone through the operation of the player on the related control of the game interface by the player.
103. And controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance.
After determining the target distance, the distance between the first virtual character and the target second virtual character may be controlled to be not smaller than the target distance, for example, may be maintained at the target distance.
In some embodiments, the game interface includes a movement control, and the current end user may control the first virtual character to move in the game scene in real time through operation of the movement control, and when the second virtual character of the enemy camp exists in the game scene, in order to ensure that the first virtual character is in a safe range, the step of controlling the distance between the first virtual character and the target virtual object in the game scene to be not less than the target distance may include the following operations:
Providing a movement control at the game interface;
controlling the first virtual character to move in the game scene in response to a sliding operation acting on the movement control;
and when the first virtual character is controlled to be close to the second virtual character and the distance between the first virtual character and the second virtual character is equal to the target distance, the first virtual character is controlled to stop being close to the second virtual character.
With continued reference to fig. 6, in fig. 6, the game interface is further provided with a mobile control, and a game scene displayed by the current game interface includes a first virtual character and a second virtual character, where the first virtual character is a virtual character controlled by a current terminal user, and the second virtual character is a virtual character of an opponent of the first virtual character. The current terminal is used for performing sliding operation on the mobile control and controlling the first virtual character to move in the game scene.
Further, when the user controls the first virtual character to approach the second virtual character through the movement control, the approach of the first virtual character to the second virtual character is stopped when the distance between the first virtual character and the second virtual character is equal to the target distance. If the direction of the user operating the mobile control is towards the second virtual role, the first virtual role and the second virtual role can be maintained at the target distance; if the direction of the user operating the movement control is not towards the second virtual character, the movement of the first virtual character in the game scene can be controlled according to the direction of the user operating the movement control, so that the distance between the first virtual character and the second virtual character can be ensured to be at least maintained at the target distance.
In the embodiment of the application, when a security area exists in a game scene, the virtual character needs to be in the security area to continue to survive, and then the virtual character needs to move into the security area. The step of controlling the distance between the first virtual character and the target virtual object in the game scene to be not less than the target distance may include the following operations:
and controlling the first virtual character to automatically move along the safety area so that the distance between the first virtual character and the safety area is not smaller than the target distance.
In some embodiments, for convenience of user operation, the step of "controlling the first avatar to automatically move along the security area such that the distance between the first avatar and the security area is not less than the target distance" may include the following operations:
responding to a fifth touch operation aiming at the mobile control, and displaying a mobile following control on the game interface;
and responding to a sixth touch operation aiming at the movement following control, and controlling the relative distance between the first virtual character and the safety area to be smaller than the target distance.
The fifth touch operation is used for triggering the display of the movement following control on the game interface, and the fifth touch operation can include various operations such as pressing, clicking, sliding and the like. The sixth touch operation is used for triggering the function of the movement following control, and the sixth touch operation may also include various operations, such as pressing, clicking, sliding, and the like.
For example, referring to fig. 8, fig. 8 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface shown in fig. 8, a game player controlling the first virtual character may perform a fifth touch operation on the mobile control, trigger to display a mobile following control on the game interface, further, the game player may perform a sixth touch operation on the mobile following control, further trigger a function of the mobile following control, and control a relative distance between the first virtual character and the security area to be smaller than a target distance. After the game player performs the sixth touch operation on the movement following control, if the game player continues to perform the touch operation on the movement control to control the movement of the first virtual character, firstly determining the distance between the first virtual character and the safety area, and if the distance between the first virtual character and the safety area is within the safety area and is equal to the target distance, at this time, when the game player controls the movement of the first virtual character according to the touch operation on the movement control, keeping the distance between the first virtual character and the edge of the safety area within the safety area as the target distance.
In some embodiments, the range of the security area in the target game may be changed in real time according to game requirements, and in order to ensure the first virtual character game experience, the step of controlling the first virtual character to automatically move along with the security area may include the following operations:
Acquiring the moving speed of a safety area;
and controlling the first virtual character to move along the safety area according to the moving speed.
In the embodiment of the application, when the range of the safety area is changed, the range adjustment can be performed according to the designated change speed, wherein the designated change speed is the moving speed when the range of the safety area is changed, the target moving speed is determined according to the moving speed, then the first virtual character is controlled to move towards the safety area according to the target moving speed, the moving speed of the first virtual character is ensured to be consistent with the moving speed of the safety area, and the first virtual character can move along with the safety area, so that the game experience can be improved.
The embodiment of the application discloses a game control method, which comprises the following steps: displaying a game interface, wherein the game interface comprises at least part of a game scene of a target game, a first virtual character and a target virtual object in the game scene; responding to a distance setting operation aiming at a target virtual object, and determining a target distance corresponding to the distance setting operation; and controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance. With this, the game experience of the game player in the target game can be improved.
In accordance with the above description, the game control method of the present application will be further described below by way of example. Referring to fig. 9, fig. 9 is a schematic flow chart of another game control method according to an embodiment of the present application, and taking a specific application of the game control method to a distance between virtual characters in a game as an example, a specific flow may be as follows:
201. the terminal displays a game interface of the target game.
Specifically, referring to fig. 10, fig. 10 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface shown in fig. 10, a part of game scenes of the target game is displayed, and the part of game scenes are a first virtual character and a second virtual character in the game scenes, wherein the first virtual character is a virtual character controlled by a game player of a current terminal, the second virtual character is a virtual character controlled by a game player of another terminal, the first virtual character and the second virtual character belong to different game fight battle in the target game, and the first virtual character and the second virtual character fight in the game scenes.
The game interface may further display a character identifier of the second virtual character, and the current game player may set a distance between the first virtual character and the second virtual character in the game scene through an operation of the character identifier of the second virtual character.
202. And when the terminal detects the clicking operation of the current game player on the character identification of the second virtual character in the game interface, displaying a distance setting control on the game interface.
Further, the current game player can perform clicking operation on the character identifier, and the clicking operation on the character identifier triggers the distance setting control to be displayed on the game interface, wherein the distance setting control can be used for setting the distance between the first virtual character and the second virtual character.
203. The terminal receives distance setting operation through the distance setting control, and the first virtual character and the second virtual character are controlled to keep the target distance set by the distance setting operation according to the distance setting operation.
The distance setting operation may include various kinds, for example, the distance setting operation may be a sliding operation of the distance setting control by which the target distance is set.
For example, referring to fig. 11, fig. 11 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface shown in fig. 11, a distance setting control is displayed, and the current game player can slide on the distance setting control, for example, the upward slide operation, the setting target distance can be 5 meters, or the like.
After the target distance is determined according to the distance setting operation of the current game player on the distance setting control, the distance between the first virtual character and the second virtual character in the game scene can be controlled to keep the target distance, so that the first virtual character and the second virtual character can keep a safe distance, and the second virtual character is prevented from attacking the first virtual character.
The embodiment of the application discloses a game control method, which comprises the following steps: the terminal displays a game interface of the target game, when detecting the clicking operation of the current game player on the character identification of the second virtual character in the game interface, displays a distance setting control on the game interface, receives the distance setting operation through the distance setting control, and controls the first virtual character and the second virtual character to keep the target distance set by the distance setting operation according to the distance setting operation. Therefore, the game operation of the game player can be facilitated, and the game experience of the game player is improved.
Referring to fig. 12, fig. 12 is a flow chart of another game control method according to an embodiment of the present application, where the game control method is specifically applied to control movement of a virtual character following a security area in a game, the specific flow may be as follows:
301. The terminal displays a game interface of the target game.
Specifically, referring to fig. 13, fig. 13 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface shown in fig. 13, a part of a game scene of the target game is displayed, virtual characters in the game scene are displayed, the game scene can also comprise a safety area, and the game interface also comprises a mobile control.
The security area refers to an area which is set in the target game and belongs to a security range, and the virtual character needs to enter the security area within a specified time to continue to survive in the target game. Thus, after a secure area appears in the game scene, the game player needs to control the virtual character to enter the secure area.
Wherein the movement control is used for controlling the virtual character to move in the game scene by the game player.
302. And when the terminal detects the touch operation of the current game player on the mobile control in the game interface, displaying the follow-up mobile control on the game interface.
The touch operation may include various kinds, such as clicking, pressing operation, and the like. The touch operation of the movement control by the game player can trigger the following movement control to be displayed on the game interface, and the following movement control can be used for controlling the virtual character to follow the movement of the safety area.
303. And the terminal receives the following movement operation of the following movement control, and controls the virtual character to move to the safety area according to the movement speed of the safety area.
The follow-up movement operation may include various kinds, for example, the follow-up movement operation may be a click operation.
For example, referring to fig. 14, fig. 14 is a schematic view of an application scenario of another game control method according to an embodiment of the present application. In the game interface shown in fig. 14, a mobile following control is displayed, and when a click operation of the following mobile control by a game player is received, the virtual character is triggered to move to the safety area according to the moving distance of the safety area by the click operation of the following mobile control by the game player, so that the virtual character is ensured to enter the safety area quickly and keep alive.
The embodiment of the application discloses a game control method, which comprises the following steps: the terminal displays a game interface of the target game, displays a follow-up movement control on the game interface when detecting touch operation of a current game player on the movement control in the game interface, receives the follow-up movement operation of the follow-up movement control, and controls the virtual character to move to the safety area according to the movement speed of the safety area. Therefore, the following movement control is generated on the game interface according to the requirements of the game player, and the movement of the virtual character is controlled through the following movement control, so that the operation convenience of the game player is improved.
In order to facilitate better implementation of the game control method provided by the embodiment of the application, the embodiment of the application also provides a game control device based on the game control method. Where the meaning of nouns is the same as in the game control method described above, specific implementation details may be referred to in the description of the method embodiments.
Referring to fig. 15, fig. 15 is a block diagram of a game control device according to an embodiment of the present application, where the device includes:
a display unit 501 for displaying a game interface including at least a part of a game scene of a target game, and a first virtual character and a target virtual object in the game scene;
a determining unit 502, configured to determine a target distance corresponding to a distance setting operation for the target virtual object in response to the distance setting operation;
and a control unit 503, configured to control a distance between the first virtual character and the target virtual object in the game scene to be not less than the target distance.
In some embodiments, the apparatus may further comprise:
and the generating unit is used for generating a character identifier corresponding to the second virtual character on the game interface according to the second virtual character.
In some embodiments, the determining unit 502 may include:
and the first determining subunit is used for responding to the non-contact operation acted on the character identifier and determining the target distance according to the distance between the touch medium and the game interface.
In some embodiments, the determining unit 502 may include:
the first display subunit is used for responding to a first touch operation acting on the character identifier and displaying a distance setting control on the game interface;
and the operation subunit is used for responding to a second touch operation acted on the distance setting control, and determining the target distance according to the second touch operation.
In some embodiments, the operation subunit may be specifically configured to:
acquiring a sliding direction and a sliding distance of the sliding operation;
the target distance is determined based on the sliding direction and the sliding distance.
In some embodiments, the determining unit 502 may include:
the second display subunit is used for responding to a third touch operation acting on the character identifier and displaying a distance setting control on the game interface;
and the second determining subunit is used for responding to the fourth touch operation acted on the distance setting control, acquiring the attack range of the virtual weapon and determining the target distance according to the attack range.
In some embodiments, the control unit 503 may include:
a first control subunit for providing a movement control at the graphical user interface;
a second control subunit, configured to control the first virtual character to move in the game scene in response to a sliding operation acting on the movement control;
and a third control subunit, configured to control, when the first virtual character is controlled to approach the second virtual character and a distance between the first virtual character and the second virtual character is equal to the target distance, the first virtual character to stop approaching the second virtual character.
In some embodiments, the determining unit 502 may include:
the fourth control subunit is used for responding to the touch operation of the mobile control in the game interface and controlling the first virtual character to move in the game scene;
and the third determining subunit is used for determining the target distance when the preset condition is met between the first virtual character and the safety area.
In some embodiments, the third determining subunit may be specifically configured to:
and when the first virtual character is positioned in the safety area and the distance between the first virtual character and the safety area is within a preset distance range, or when the first virtual character is positioned outside the safety area and the distance between the first virtual character and the safety area is within the preset distance range.
In some embodiments, the control unit 503 may include:
and a fifth control subunit, configured to control the first virtual character to automatically move along the security area, so that a distance between the first virtual character and the security area is not less than the target distance.
In some embodiments, the second control subunit may be specifically configured to:
acquiring the moving speed of the safety area;
and controlling the first virtual character to move along the safety area according to the moving speed.
The embodiment of the application discloses a game control device, which is characterized in that a game interface is displayed through a display unit 501, the game interface comprises at least part of game scenes of a target game, a first virtual character and a target virtual object in the game scenes, a determining unit 502 responds to distance setting operation for the target virtual object, a target distance corresponding to the distance setting operation is determined, and a control unit 503 controls the distance between the first virtual character and the target virtual object in the game scenes to be not smaller than the target distance. Thus, the game experience of the game player can be improved.
Correspondingly, the embodiment of the application also provides computer equipment which can be a terminal. Fig. 16 is a schematic structural diagram of a computer device according to an embodiment of the present application, as shown in fig. 16. The computer device 600 includes a processor 601 having one or more processing cores, a memory 602 having one or more computer readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. It will be appreciated by those skilled in the art that the computer device structure shown in the figures is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The processor 601 is a control center of the computer device 600, connects various parts of the entire computer device 600 using various interfaces and lines, and performs various functions of the computer device 600 and processes data by running or loading software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the computer device 600.
In an embodiment of the present application, the processor 601 in the computer device 600 loads instructions corresponding to the processes of one or more application programs into the memory 602 according to the following steps, and the processor 601 executes the application programs stored in the memory 602, thereby implementing various functions:
displaying a game interface, wherein the game interface comprises at least part of a game scene of a target game, a first virtual character and a target virtual object in the game scene; responding to a distance setting operation aiming at a target virtual object, and determining a target distance corresponding to the distance setting operation; and controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance.
In some embodiments, the target virtual object is a second virtual character that is in a different game play than the first virtual character, the method further comprising:
And generating a character identifier corresponding to the second virtual character on the game interface according to the second virtual character.
In some embodiments, in response to a distance setting operation for a target virtual object, determining a target distance corresponding to the distance setting operation includes:
and responding to non-contact operation acting on the character identification, and determining the target distance according to the distance between the touch medium and the game interface.
In some embodiments, in response to a distance setting operation for a target virtual object, determining a target distance corresponding to the distance setting operation includes:
responding to a first touch operation acting on the character identifier, and displaying a distance setting control on the game interface;
and responding to a second touch operation acted on the distance setting control, and determining the target distance according to the second touch operation.
In some embodiments, the second touch operation is a sliding operation;
responding to a second touch operation acting on the distance setting control, determining the target distance according to the second touch operation, including:
acquiring a sliding direction and a sliding distance of a sliding operation;
the target distance is determined based on the sliding direction and the sliding distance.
In some embodiments, the second virtual character holds a virtual weapon for the second virtual character to attack the first virtual character in the game scene;
Responding to the distance setting operation aiming at the target virtual object, determining the target distance corresponding to the distance setting operation, and comprising the following steps:
responding to a third touch operation acting on the character identifier, and displaying a distance setting control on the game interface;
and responding to a fourth touch operation acting on the distance setting control, acquiring the attack range of the virtual weapon, and determining the target distance according to the attack range.
In some embodiments, controlling the distance between the first virtual character and the target virtual object in the game scene to be not less than the target distance includes:
providing a movement control at the game interface;
controlling the first virtual character to move in the game scene in response to a sliding operation acting on the movement control;
and when the first virtual character is controlled to be close to the second virtual character and the distance between the first virtual character and the second virtual character is equal to the target distance, the first virtual character is controlled to stop being close to the second virtual character.
In some embodiments, the target virtual object is a safe area, wherein the safe area is an area in the game scene that does not harm the game character at present;
responding to the distance setting operation aiming at the target virtual object, determining the target distance corresponding to the distance setting operation, and comprising the following steps:
Responding to touch operation of a mobile control in a game interface, and controlling a first virtual character to move in a game scene;
and when the preset condition is met between the first virtual character and the safety area, determining the target distance.
In some embodiments, when a preset condition is satisfied between the first virtual character and the security area, the method includes:
when the first virtual character is within the safe area and the distance from the safe area is within the preset distance range, or when the first virtual character is outside the safe area and the distance from the safe area is within the preset distance range.
In some embodiments, the secure enclave moves in the game scene with a preset rule;
controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance comprises the following steps:
and controlling the first virtual character to automatically move along the safety area so that the distance between the first virtual character and the safety area is not smaller than the target distance.
In some embodiments, controlling the first avatar to automatically follow the secure area includes:
acquiring the moving speed of a safety area;
and controlling the first virtual character to move along the safety area according to the moving speed.
According to the method, the distance setting control is added on the game interface of the target game, and the game player controls the current virtual character to keep a certain distance from other virtual characters in the game interface, which are in the same game scene with the current virtual character, through the touch operation of the distance setting control, so that the game player does not need to control the movement of the current virtual character all the time when controlling the current virtual character to play the game with other virtual characters, the fight operation of the game player is facilitated, and the game experience of the game player can be improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 16, the computer device 600 further includes: a touch display 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607, respectively. Those skilled in the art will appreciate that the computer device structure shown in FIG. 16 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
The touch display 603 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display 603 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 601, and can receive and execute commands sent from the processor 601. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 601 to determine the type of touch event, and the processor 601 then provides a corresponding visual output on the display panel based on the type of touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 603 to implement input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch display 603 may also implement an input function as part of the input unit 606.
The radio frequency circuit 604 may be configured to receive and transmit radio frequency signals to and from a network device or other computer device via wireless communication to and from the network device or other computer device.
The audio circuit 605 may be used to provide an audio interface between a user and a computer device through speakers, microphones, and so on. The audio circuit 605 may transmit the received electrical signal converted from audio data to a speaker, and convert the electrical signal into a sound signal for output by the speaker; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 605 and converted into audio data, which are processed by the audio data output processor 601 for transmission to, for example, another computer device via the radio frequency circuit 604, or which are output to the memory 602 for further processing. The audio circuit 605 may also include an ear bud jack to provide communication of the peripheral headphones with the computer device.
The input unit 606 may be used to receive entered numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), as well as to generate keyboard, mouse, joystick, optical, or trackball signal inputs associated with user settings and function control.
The power supply 607 is used to power the various components of the computer device 600. Alternatively, the power supply 607 may be logically connected to the processor 601 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system. The power supply 607 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown in fig. 16, the computer device 600 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which will not be described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the foregoing, the computer device provided in this embodiment may display a game interface, where the game interface includes at least a portion of a game scene of a target game, and a first virtual character and a target virtual object in the game scene; responding to a distance setting operation aiming at a target virtual object, and determining a target distance corresponding to the distance setting operation; and controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium in which a plurality of computer programs are stored, the computer programs being capable of being loaded by a processor to perform steps in any of the game control methods provided by the embodiment of the present application. For example, the computer program may perform the steps of:
displaying a game interface, wherein the game interface comprises at least part of a game scene of a target game, a first virtual character and a target virtual object in the game scene;
responding to a distance setting operation aiming at a target virtual object, and determining a target distance corresponding to the distance setting operation;
and controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance.
In some embodiments, the target virtual object is a second virtual character that is in a different game play than the first virtual character, the method further comprising:
And generating a character identifier corresponding to the second virtual character on the game interface according to the second virtual character.
In some embodiments, in response to a distance setting operation for a target virtual object, determining a target distance corresponding to the distance setting operation includes:
and responding to non-contact operation acting on the character identification, and determining the target distance according to the distance between the touch medium and the game interface.
In some embodiments, in response to a distance setting operation for a target virtual object, determining a target distance corresponding to the distance setting operation includes:
responding to a first touch operation acting on the character identifier, and displaying a distance setting control on the game interface;
and responding to a second touch operation acted on the distance setting control, and determining the target distance according to the second touch operation.
In some embodiments, the second touch operation is a sliding operation;
responding to a second touch operation acting on the distance setting control, determining the target distance according to the second touch operation, including:
acquiring a sliding direction and a sliding distance of a sliding operation;
the target distance is determined based on the sliding direction and the sliding distance.
In some embodiments, the second virtual character holds a virtual weapon for the second virtual character to attack the first virtual character in the game scene;
Responding to the distance setting operation aiming at the target virtual object, determining the target distance corresponding to the distance setting operation, and comprising the following steps:
responding to a third touch operation acting on the character identifier, and displaying a distance setting control on the game interface;
and responding to a fourth touch operation acting on the distance setting control, acquiring the attack range of the virtual weapon, and determining the target distance according to the attack range.
In some embodiments, controlling the distance between the first virtual character and the target virtual object in the game scene to be not less than the target distance includes:
providing a movement control at the game interface;
controlling the first virtual character to move in the game scene in response to a sliding operation acting on the movement control;
and when the first virtual character is controlled to be close to the second virtual character and the distance between the first virtual character and the second virtual character is equal to the target distance, the first virtual character is controlled to stop being close to the second virtual character.
In some embodiments, the target virtual object is a safe area, wherein the safe area is an area in the game scene that does not harm the game character at present;
responding to the distance setting operation aiming at the target virtual object, determining the target distance corresponding to the distance setting operation, and comprising the following steps:
Responding to touch operation of a mobile control in a game interface, and controlling a first virtual character to move in a game scene;
and when the preset condition is met between the first virtual character and the safety area, determining the target distance.
In some embodiments, when a preset condition is satisfied between the first virtual character and the security area, the method includes:
when the first virtual character is within the safe area and the distance from the safe area is within the preset distance range, or when the first virtual character is outside the safe area and the distance from the safe area is within the preset distance range.
In some embodiments, the secure enclave moves in the game scene with a preset rule;
controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance comprises the following steps:
and controlling the first virtual character to automatically move along the safety area so that the distance between the first virtual character and the safety area is not smaller than the target distance.
In some embodiments, controlling the first avatar to automatically follow the secure area includes:
acquiring the moving speed of a safety area;
and controlling the first virtual character to move along the safety area according to the moving speed.
According to the method, the distance setting control is added on the game interface of the target game, and the game player controls the current virtual character to keep a certain distance from other virtual characters in the game interface, which are in the same game scene with the current virtual character, through the touch operation of the distance setting control, so that the game player does not need to control the movement of the current virtual character all the time when controlling the current virtual character to play the game with other virtual characters, the fight operation of the game player is facilitated, and the game experience of the game player can be improved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps of any game control method provided by the embodiment of the present application can be executed by the computer program stored in the storage medium, so that the beneficial effects of any game control method provided by the embodiment of the present application can be achieved, and detailed descriptions of the previous embodiments are omitted.
The above describes in detail a game control method, apparatus, storage medium and computer device provided by the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the above description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (14)

1. A game control method, comprising:
displaying a game interface, wherein the game interface comprises at least part of a game scene of a target game, a first virtual character and a target virtual object in the game scene;
responding to a distance setting operation aiming at the target virtual object, and determining a target distance corresponding to the distance setting operation;
and controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance.
2. The method of claim 1, wherein the target virtual object is a second virtual character that is in a different game play than the first virtual character, the method further comprising:
And generating a character identifier corresponding to the second virtual character on the game interface according to the second virtual character.
3. The method of claim 2, wherein the determining, in response to a distance setting operation for the target virtual object, a target distance corresponding to the distance setting operation comprises:
and responding to non-contact operation acting on the character identifier, and determining the target distance according to the distance between the touch medium and the game interface.
4. The method of claim 2, wherein the determining, in response to a distance setting operation for the target virtual object, a target distance corresponding to the distance setting operation comprises:
responding to a first touch operation acting on the character identifier, and displaying a distance setting control on the game interface;
and responding to a second touch operation acted on the distance setting control, and determining the target distance according to the second touch operation.
5. The method of claim 4, wherein the second touch operation is a sliding operation;
the responding to the second touch operation acted on the distance setting control, determining the target distance according to the second touch operation, includes:
Acquiring a sliding direction and a sliding distance of the sliding operation;
the target distance is determined based on the sliding direction and the sliding distance.
6. The method of claim 2, wherein the second virtual character holds a virtual weapon for the second virtual character to attack the first virtual character in the game scene;
the responding to the distance setting operation of the target virtual object, determining the target distance corresponding to the distance setting operation, comprises the following steps:
responding to a third touch operation acting on the character identifier, and displaying a distance setting control on the game interface;
and responding to a fourth touch operation acting on the distance setting control, acquiring the attack range of the virtual weapon, and determining the target distance according to the attack range.
7. The method of claim 2, wherein the controlling the distance between the first virtual character and the target virtual object in the game scene to be not less than the target distance comprises:
providing a movement control at the game interface;
controlling the first virtual character to move in the game scene in response to a sliding operation acting on the movement control;
And when the first virtual character is controlled to be close to the second virtual character and the distance between the first virtual character and the second virtual character is equal to the target distance, controlling the first virtual character to stop being close to the second virtual character.
8. The method of claim 1, wherein the target virtual object is a secure area, wherein the secure area is an area of the game scene that is not currently injuring a game character;
the responding to the distance setting operation of the target virtual object, determining the target distance corresponding to the distance setting operation, comprises the following steps:
responding to touch operation of a mobile control in the game interface, and controlling the first virtual character to move in the game scene;
and when the preset condition is met between the first virtual character and the safety area, determining the target distance.
9. The method of claim 8, wherein the step of satisfying a predetermined condition between the first virtual character and the security zone comprises:
and when the first virtual character is positioned in the safety area and the distance between the first virtual character and the safety area is within a preset distance range, or when the first virtual character is positioned outside the safety area and the distance between the first virtual character and the safety area is within the preset distance range.
10. The method of claim 8, wherein the secure area moves in the game scene with a preset rule;
the controlling the distance between the first virtual character and the target virtual object in the game scene is not smaller than the target distance, including:
and controlling the first virtual character to automatically move along the safety area, so that the distance between the first virtual character and the safety area is not smaller than the target distance.
11. The method of claim 10, wherein the controlling the first avatar to automatically follow the secure area movement comprises:
acquiring the moving speed of the safety area;
and controlling the first virtual character to move along the safety area according to the moving speed.
12. A game control device, the device comprising:
a display unit for displaying a game interface including at least a part of a game scene of a target game, and a first virtual character and a target virtual object in the game scene;
a determining unit, configured to determine a target distance corresponding to a distance setting operation in response to the distance setting operation for the target virtual object;
And the control unit is used for controlling the distance between the first virtual character and the target virtual object in the game scene to be not smaller than the target distance.
13. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the game control method of any one of claims 1 to 11 when executing the program.
14. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the game control method of any one of claims 1 to 11.
CN202210470696.9A 2022-04-28 2022-04-28 Game control method, game control device, computer equipment and storage medium Pending CN116999825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210470696.9A CN116999825A (en) 2022-04-28 2022-04-28 Game control method, game control device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210470696.9A CN116999825A (en) 2022-04-28 2022-04-28 Game control method, game control device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116999825A true CN116999825A (en) 2023-11-07

Family

ID=88574930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210470696.9A Pending CN116999825A (en) 2022-04-28 2022-04-28 Game control method, game control device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116999825A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117899463A (en) * 2024-01-04 2024-04-19 网易(杭州)网络有限公司 Method, device and electronic device for displaying multimedia content in games

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117899463A (en) * 2024-01-04 2024-04-19 网易(杭州)网络有限公司 Method, device and electronic device for displaying multimedia content in games
WO2025145909A1 (en) * 2024-01-04 2025-07-10 网易(杭州)网络有限公司 Multimedia content display method and apparatus in game, and electronic device

Similar Documents

Publication Publication Date Title
CN113398590B (en) Sound processing method, device, computer equipment and storage medium
CN113398566B (en) Game display control method and device, storage medium and computer equipment
CN113082688B (en) Method and device for controlling virtual character in game, storage medium and equipment
CN113332721B (en) Game control method, game control device, computer equipment and storage medium
CN113426124B (en) Display control method and device in game, storage medium and computer equipment
US20240131434A1 (en) Method and apparatus for controlling put of virtual resource, computer device, and storage medium
CN115193049A (en) Virtual character control method, device, storage medium and computer equipment
CN115193035A (en) Game display control method and device, computer equipment and storage medium
CN115193064B (en) Virtual object control method, device, storage medium and computer equipment
CN116115991A (en) Aiming method, aiming device, computer equipment and storage medium
CN116999825A (en) Game control method, game control device, computer equipment and storage medium
CN116870472A (en) Game view angle switching method and device, computer equipment and storage medium
CN116808583A (en) Virtual player control method and device, computer equipment and storage medium
CN112245914B (en) Viewing angle adjusting method and device, storage medium and computer equipment
CN113398564B (en) Virtual character control method, device, storage medium and computer equipment
CN116351059B (en) Non-player character control method, device, computer equipment and storage medium
CN115430150B (en) Game skill releasing method and device, computer equipment and storage medium
CN116999835A (en) Game control method, game control device, computer equipment and storage medium
CN118179012A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN120168961A (en) Game control method, game control device, computer equipment and storage medium
CN116474367A (en) Virtual lens control method and device, storage medium and computer equipment
CN116271791A (en) Game control method, game control device, computer equipment and storage medium
CN116850594A (en) Game interaction method, game interaction device, computer equipment and computer readable storage medium
CN116920392A (en) Game information prompting method, device, computer equipment and storage medium
CN119633369A (en) Game control method, device, computer equipment and storage medium

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