[go: up one dir, main page]

WO2025251980A1 - Game control method and apparatus, electronic device, and computer-readable storage medium - Google Patents

Game control method and apparatus, electronic device, and computer-readable storage medium

Info

Publication number
WO2025251980A1
WO2025251980A1 PCT/CN2025/097711 CN2025097711W WO2025251980A1 WO 2025251980 A1 WO2025251980 A1 WO 2025251980A1 CN 2025097711 W CN2025097711 W CN 2025097711W WO 2025251980 A1 WO2025251980 A1 WO 2025251980A1
Authority
WO
WIPO (PCT)
Prior art keywords
detection
detection result
virtual character
graphical user
user interface
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
PCT/CN2025/097711
Other languages
French (fr)
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
Publication of WO2025251980A1 publication Critical patent/WO2025251980A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/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
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/837Shooting of targets
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/0485Scrolling or panning
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6009Methods for processing data by generating or executing the game program for importing or creating game content, e.g. authoring tools during game development, adapting content to different platforms, use of a scripting language to create content
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8076Shooting

Definitions

  • This disclosure relates to the field of game technology, and more specifically to a game control method, device, electronic device, and computer-readable storage medium.
  • This disclosure provides a game control method, device, electronic device, and computer-readable storage medium that can enrich the types of game items and improve player retention.
  • embodiments of this disclosure provide a game control method that provides a graphical user interface via an electronic device.
  • the graphical user interface includes a detection prompt control, which corresponds to a detection tool of a controlled virtual character.
  • the method includes:
  • the detection item interface is displayed on the graphical user interface, which includes several detection items that the controlled virtual character has equipped.
  • the target detection tool among several detection tools is set as the detection tool currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined.
  • the detection result represents the result of the controlled virtual character using the target detection tool to detect the game environment information of the controlled virtual character's location in the game scene.
  • embodiments of this disclosure also provide a game control device that provides a graphical user interface via an electronic device.
  • the graphical user interface includes a detection prompt control, which corresponds to a detection tool of the controlled virtual character.
  • the device includes:
  • the first response module is configured to perform a first trigger operation in response to the detection prompt control, and display the detection prop interface on the graphical user interface, which includes several detection props that the controlled virtual character has equipped.
  • the second response module is configured to perform a trigger operation in response to the detection prop interface, set the target detection prop among several detection props as the detection prop currently used by the controlled virtual character, and determine the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface, wherein the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.
  • embodiments of this disclosure also provide an electronic device, including a memory storing multiple instructions; a processor loads instructions from the memory to execute any of the game control methods provided in embodiments of this disclosure.
  • embodiments of this disclosure also provide a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to execute any of the game control methods provided in embodiments of this disclosure.
  • an electronic device provides a graphical user interface (GUI), which includes a detection prompt control corresponding to a detection item of the controlled virtual character.
  • GUI graphical user interface
  • the electronic device displays a detection item interface on the GUI.
  • the detection item interface includes several detection items equipped by the controlled virtual character.
  • a target detection item among the several detection items is set as the detection item currently used by the controlled virtual character.
  • the display parameters of the prompt graphic indicating the detection result of the target detection item on the GUI are also determined.
  • the detection result represents the result of the controlled virtual character using the target detection item to detect the game environment information of the controlled virtual character's location in the game scene.
  • detection items with detection functionality can increase the survival time of the controlled virtual character in the game, eliminating the need for the electronic device to frequently handle the death events of the controlled virtual character or frequently restart the game, reducing the response frequency of the electronic device and helping to save the computing resources of the electronic device.
  • Figure 1 is a schematic diagram of a game control system provided in one of the embodiments of this disclosure.
  • Figure 2 is a schematic diagram of a graphical user interface provided in one of the embodiments of this disclosure.
  • FIG. 3 is a schematic flowchart of one embodiment of the game control method provided in this disclosure.
  • Figure 4 is a schematic diagram of a detection prompt control provided in one of the embodiments of this disclosure.
  • Figure 5 is another schematic diagram of the detection prompt control provided in one of the embodiments of this disclosure.
  • Figure 6 is a schematic diagram of the detection tool interface provided in one of the embodiments of this disclosure.
  • Figure 7 is another schematic diagram of the detection tool interface provided in one of the embodiments of this disclosure.
  • Figure 8 is another schematic diagram of the detection tool interface provided in one of the embodiments of this disclosure.
  • Figure 9 is a schematic diagram of a prompt graphic provided in one of the embodiments of this disclosure.
  • Figure 10 is a schematic diagram of the rotation reference direction provided in one of the embodiments of this disclosure.
  • Figure 11 is another schematic diagram of the prompt graphic provided in one of the embodiments of this disclosure.
  • Figure 12 is another schematic diagram of the prompting graphic provided in one of the embodiments of this disclosure.
  • Figure 13 is another schematic diagram of the detection tool interface provided in one of the embodiments of this disclosure.
  • Figure 14 is a schematic diagram of a sub-region for setting the detection range provided in one of the embodiments of this disclosure.
  • Figure 15 is another schematic diagram of the prompting graphic provided in one of the embodiments of this disclosure.
  • Figure 16 is a schematic diagram of the identifier provided in one of the embodiments of this disclosure.
  • Figure 17 is a schematic diagram of a position control provided in one of the embodiments of this disclosure.
  • Figure 18 is another schematic diagram of a location control provided in one of the embodiments of this disclosure.
  • Figure 19 is a schematic diagram of the use of a hazard detection device provided in one of the embodiments of this disclosure.
  • Figure 20 is a schematic diagram of a target detection device provided in one of the embodiments of this disclosure.
  • Figure 21 is a schematic diagram of the display direction and display area of the prompt graphic provided in one of the embodiments of this disclosure.
  • Figure 22 is a schematic diagram of the structure of a game control device provided in one of the embodiments of this disclosure.
  • Figure 23 is a schematic diagram of the structure of an electronic device provided in one of the embodiments of this disclosure.
  • the terms “first,” “second,” etc. may be used herein to describe various concepts, but unless specifically stated otherwise, these concepts are not limited by these terms. These terms are used only to distinguish one concept from another. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
  • the disclosure provides a game control method, apparatus, electronic device, and computer-readable storage medium.
  • the game control method of this disclosure can be executed by an electronic device, which can be a terminal or a server.
  • the terminal can be a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device.
  • the terminal may also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client, etc.
  • a server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
  • cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
  • Terminal 10 can provide a graphical user interface (GUI), which includes a game screen and a detection prompt control.
  • the detection prompt control corresponds to the detection items of the controlled virtual character.
  • the controlled virtual character is a virtual character controlled by terminal 10 in the game screen.
  • terminal 10 displays a detection item interface on the GUI.
  • the detection item interface includes several detection items equipped by the controlled virtual character.
  • a target detection item among the several detection items is set as the detection item currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection item are determined on the GUI.
  • Terminal 10 sends the identifier of the target detection item to server 20.
  • Server 20 uses the target detection item to detect the game environment information of the controlled virtual character's location in the game scene in the game screen, obtains the detection result, and returns the detection result to terminal 10.
  • Terminal 10 displays a prompt graphic indicating the detection result on the GUI according to the display parameters.
  • the graphical user interface can display at least part of the game scene and many controls.
  • Figure 2 is just an example of the controls on the graphical user interface.
  • the graphical user interface may also include controls other than those shown in Figure 2.
  • 201 represents the fire control, used to control the virtual game character to fire.
  • Control 202 represents the left probe control, used to control the virtual game character to probe to the left.
  • Control 203 represents the right probe control, used to control the virtual game character to probe to the right.
  • 204 represents the cancel throw control, used to cancel the throwing of a projectile.
  • 2051 represents the operation point
  • 2052 represents the first control area
  • 2053 represents the second control area located outside the first control area.
  • the first control area, the second control area, and the operation point can form a virtual joystick.
  • the virtual joystick is used to control the movement speed of the virtual game character.
  • Players can drag the operation point to the first control area and/or the second control area to control the target virtual game character to move at different speeds.
  • 206 represents the medical supplies control, used to store the medical supplies available to the virtual game character.
  • 207 represents the main weapon slot, used to control the virtual game character's main weapon.
  • 208 represents the secondary weapon slot, used to control the virtual game character's secondary weapon.
  • 209 represents the health bar, used to display the virtual game character's health.
  • 2010 represents the throwable item control, used to throw projectiles.
  • Figure 2 2011 represents the helmet control, used to display the helmet's status.
  • Figure 2 2012 represents the armor control, used to display the armor's status.
  • Figure 2 2013 represents the hunger status control, used to display the virtual game character's hunger status.
  • Figure 2, 2014 represents the detection tool control, used to set detection items.
  • Figure 2, 2015 represents the firing mode control, used to switch between automatic and semi-automatic firing modes.
  • Figure 2, 2016 represents the melee weapon control, used to control melee weapons.
  • Figure 2, 2017 represents the pistol control, used to control pistols.
  • 2018 represents the reload control, used to control the virtual game character to switch bullets.
  • 2019 represents the crouch control, used to control the virtual game character to crouch.
  • 2020 represents the prone control, used to control the virtual game character to prone.
  • 2021 represents the jump control, used to control the virtual game character to jump.
  • Figure 2 represents the magnification switch control, used to switch the magnification of the scope.
  • Figure 2, 2023 represents the aiming control, used to control the scope's aim at a virtual object.
  • Figure 2, 2024 represents the external SOS control, used to request help from players and/or friends in the lobby outside the game.
  • Figure 2, 2025 represents the nearby SOS control, used to request help from players within the game.
  • Figure 2, 2026 represents the inspection control, used to inspect weapons.
  • Figure 2, 2027 represents the settings control, used to set the first control area and/or the second control area.
  • Figure 2, 2028 represents the rescue control, used to rescue other players.
  • Figure 2, 2029 represents the skill control, used to set the duration of skills.
  • Figure 2 shows the following controls in Figure 2: 2030 represents the pet control, used to release the virtual game character's pet; 2031 represents the focus skill control, used to unleash the focus skill; 2032 represents the marker control, used to mark a location; 2033 represents the chat control, used to send and receive messages during gameplay; 2034 represents the megaphone control, used to play in-game sounds; 2035 represents the microphone control, used to capture player voices; 2036 represents the game settings control, used to configure in-game settings; 2037 represents the action control, used to control the virtual game character's actions; 2038 represents the flashlight; 2039 represents lootable resources; and 2040 represents the storm progress bar.
  • a terminal is used as an example for illustration.
  • This embodiment provides a game control method, which provides a graphical user interface through the terminal.
  • the graphical user interface includes a detection prompt control, which corresponds to a detection tool of the controlled virtual character.
  • the game control method is shown in Figure 3.
  • the specific flow of the game control method is as follows:
  • a detection item interface is displayed on the graphical user interface, which includes several detection items that the controlled virtual character has equipped.
  • the detection prompt control can be displayed on the graphical user interface (GUI) outside of a game session.
  • GUI graphical user interface
  • the controlled virtual character has not entered the game session before the detection item interface is displayed on the GUI in response to the first trigger operation on the detection prompt control.
  • the detection prompt control can be displayed on the GUI within a game session.
  • the detection prompt control is displayed on the GUI within a game session, at least a portion of the game scene can also be displayed on the GUI.
  • the controlled virtual character has already entered the game session before the detection item interface is displayed on the GUI in response to the first trigger operation on the detection prompt control.
  • the relevant settings for the detection tool can be configured within the game.
  • the relevant settings for the detection tool can also be configured outside of a game.
  • a game scene also known as a virtual scene, is a virtual scene that an application can display when running on a terminal or server. At least some game scenes refer to the virtual scene currently displayed when an application runs on a terminal or server.
  • a virtual scene is a scenario in which users control virtual characters to implement complete game logic.
  • the virtual scene is a 3D game world in which players control virtual characters to fight.
  • the virtual scene is a 3D game world in which players control virtual characters to shoot.
  • the virtual scene can be a simulation of the real world, a semi-simulated/semi-fictional virtual environment, or a purely fictional virtual environment.
  • the virtual scene can be either a two-dimensional or a three-dimensional virtual scene.
  • the controlled virtual character can refer to any one of the virtual characters in the game.
  • the controlled virtual character can refer to a game character selected by the player. In this case, the controlled virtual character enters the game match after it is started.
  • the controlled virtual character can refer to a virtual character controlled by an electronic device in at least part of the game scene.
  • the detection prompt control corresponds to the detection tool of the controlled virtual character. It can be understood that the detection prompt control is used to set the detection tool of the controlled virtual character.
  • the shape of the detection prompt control can be set according to the actual situation.
  • the detection prompt control can be a triangular control or a trapezoidal control. This embodiment of the disclosure does not limit it.
  • the position of the detection prompt control on the graphical user interface can be set according to the actual situation.
  • the detection prompt control can be located in the lower middle position of the graphical user interface, as shown in Figure 4.
  • the detection prompt control can also be located in the lower right position of the graphical user interface, as shown in Figure 5. This embodiment of the present disclosure does not limit the position.
  • the type of the first trigger operation for the detection prompt control can be set according to the actual situation.
  • the first trigger operation can be a click operation or a long press operation. This embodiment of the present disclosure does not limit this.
  • Detection tools are items that can detect the game environment information of a controlled virtual character's location within the game scene.
  • the functions of detection tools can be configured according to the actual situation.
  • detection tools can have danger detection, life detection, or resource detection functions.
  • danger detection it can be called a danger detection tool. In this case, it can be used to detect whether there are enemy virtual characters in the game environment information of the controlled virtual character's location.
  • life detection it can be called a life detection tool. In this case, it can be used to detect whether there are virtual characters in the game environment information of the controlled virtual character's location.
  • a detection tool has resource detection, it can be called a gold-hunting detection tool. In this case, it can be used to detect virtual characters with resources in the game environment information of the controlled virtual character's location.
  • the term "several detection items equipped by a controlled virtual character” refers to the various detection items that the controlled virtual character already possesses. These detection items can be acquired through item pickup or purchase.
  • the controlled virtual character's equipped detection items can be located in their inventory or equipped on a specific part of their body.
  • the detection tool interface can display at least one of the graphic and text icons of several detection tools.
  • the several detection tools include three detection tools: a life detection tool, a gold detection tool, and a danger detection tool.
  • the detection tool interface can be as shown in Figure 6.
  • the detection tool interface includes a close control, and after displaying the detection tool interface on the graphical user interface in response to a first triggering operation of the detection prompt control, it further includes:
  • the display of the detection item interface is closed.
  • the close control can be an " ⁇ " as shown in Figure 6, which closes the detection item interface in response to clicking the close control.
  • the method further includes:
  • the detection item interface is closed.
  • the second triggering operation and the first triggering operation can be of the same type.
  • both the first and second triggering operations can be click operations.
  • the detection item interface is not displayed, the detection item interface is displayed in response to a click operation on the detection prompt control.
  • the detection item interface is closed in response to a click operation on the detection prompt control.
  • the second and first triggering operations can be of different types.
  • the first triggering operation can be a click operation
  • the second triggering operation can be a long press operation. This embodiment does not limit the specific type of triggering operation.
  • the target detection prop among several detection props is set as the detection prop currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface are determined, wherein the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.
  • the triggering operation for the detection prop interface can be set according to the actual situation.
  • the triggering operation can be a click operation, a swipe operation, or a rotation operation. This embodiment of the disclosure does not limit the specific actions taken.
  • Display parameters refer to parameters that characterize the display effect of the prompt graphic.
  • the type of display parameters can be set according to the actual situation.
  • display parameters may include at least one of display area, display direction, display color, and display shape.
  • the display area may include the display size in at least one direction. This disclosure does not limit the specific display parameters.
  • the shape of the prompt graphic can be a predetermined shape, which can be a two-dimensional shape or a three-dimensional shape.
  • the predetermined shape can be set according to the actual situation.
  • the predetermined shape can be a trapezoid or a triangle. This embodiment of the present disclosure does not limit the specific shape.
  • the size of the prompt graphic can be the default size, or the size of the prompt graphic can be dynamically set through the display area in the display parameters. That is, the size of the prompt graphic can be dynamically adjusted by dynamically adjusting the display area.
  • all sides of the prompt graphic can be adjusted, or only some sides of the prompt graphic can be adjusted.
  • the prompt graphic is a trapezoid
  • the shorter side of the trapezoid can be fixed, while the longer side and legs of the trapezoid can be dynamically adjusted.
  • the prompt graphic is a triangle
  • the included angle and the length of the sides of the triangle can be dynamically adjusted.
  • the display direction of the prompt graphic can be the default display direction, or the display direction of the prompt graphic can be dynamically adjusted.
  • the default direction can be based on the position of the controlled virtual character in the game scene or the relative position of the position (the relative position can be, for example, 0.5 meters directly in front).
  • the default display direction can be directly in front of the controlled virtual character.
  • the prompt graphics indicating the detection results are different.
  • the prompt graphics can be that the shape of the prompt graphics is different or that the color of the prompt graphics is different; this embodiment of the present disclosure is not limited to this.
  • the display parameters of the different prompt graphics can be the same or different.
  • different prompt graphics may mean different colors.
  • the display parameters can include the display direction and the display area.
  • the detection results include a first detection result and a second detection result.
  • the prompt graphic indicating the first detection result is red
  • the prompt graphic indicating the second detection result is green.
  • the display direction and display area of the red prompt graphic and the green prompt graphic are the same.
  • the first detection result can refer to the detection result of certain virtual characters existing in the game environment information of the location of the controlled virtual character in the game scene, or the detection result of certain virtual characters not existing in the game environment information of the location of the controlled virtual character in the game scene.
  • detection tools can include danger detection tools, life detection tools, and gold detection tools.
  • the first detection result of a danger detection tool is the presence of an enemy virtual character in the game environment information at the controlled virtual character's location in the game scene; the second detection result is the absence of an enemy virtual character in the game environment information at the controlled virtual character's location.
  • the first detection result of a life detection tool is the presence of a virtual character in the game environment information at the controlled virtual character's location; the second detection result is the absence of a virtual character in the game environment information at the controlled virtual character's location.
  • the first detection result of a gold detection tool is the presence of a virtual character with high resource value in the game environment information at the controlled virtual character's location; the second detection result is the absence of a virtual character with high resource value in the game environment information at the controlled virtual character's location.
  • the target detection tool among several detection tools may be set as the detection tool currently used by the controlled virtual character, and/or, in response to a trigger operation on the detection tool interface, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface may be determined. That is, in response to a trigger operation on the detection tool interface, the target detection tool and/or the display parameters may be set.
  • the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface can be either historically set display parameters or default display parameters.
  • the target detection tool can be a detection tool historically used by the controlled virtual character or a default detection tool.
  • the target detection item When a target detection item is set as the detection item currently used by the controlled virtual character in response to a trigger operation on the detection item interface, the target detection item can be set as the detection item currently used by the controlled virtual character in response to a selection operation on the target detection item.
  • the detection tool interface may include a parameter setting sub-area.
  • the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation.
  • the triggering operation for the parameter setting sub-area can be set according to the actual situation.
  • the triggering operation for the parameter setting sub-area can be an input operation, a sliding operation, a clicking operation, or a rotation operation. This embodiment of the present disclosure does not limit the specific operation.
  • the parameter setting sub-area can include a numeric control.
  • the input value is obtained, and this input value is the display parameter.
  • the display parameters include the display area and the display direction.
  • the numeric control includes a display area control and a display direction control.
  • the input value is obtained, and this input value represents the display area.
  • the input value is obtained, and this input value represents the display direction.
  • the parameter setting sub-area may include at least one swipe control, and the display parameters may include the display size in at least one direction.
  • the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation, including:
  • At least one sliding control can be set according to the actual situation.
  • at least one sliding control may include two or three sliding controls (when at least one sliding control includes two sliding controls, the parameter setting sub-area can be as shown in Figure 8). This embodiment of the present disclosure does not limit this.
  • the triggering operations of different sliding controls can be used to set the display size of the tooltip graphic in different directions.
  • the horizontal sliding control can be used to set the display size of the tooltip graphic in the horizontal direction
  • the vertical sliding control can be used to set the display size of the tooltip graphic in the vertical direction.
  • the triggering operation for at least one sliding control can be a sliding operation or a clicking operation on at least one sliding control, and this disclosure embodiment does not limit it.
  • the position corresponding to the trigger operation is the end position corresponding to the sliding operation.
  • the terminal can determine the display size corresponding to that position, and then determine the display size corresponding to that position as the display size of the prompt graphic indicating the detection result of the target detection tool in at least one direction on the graphical user interface.
  • the terminal can determine the display area of the prompt graphic based on the size reference position and the display size.
  • the size reference position can be the position of the controlled virtual character in the game scene, or it can be a certain edge or a certain vertex of the prompt graphic.
  • the prompt graphic is a trapezoid with a fixed short side.
  • the display size of the prompt graphic is the length of the long side and the length of the leg of the trapezoid.
  • the prompt graphic can be as shown in 901 of Figure 9.
  • the prompt graphic can be as shown in 902 of Figure 9.
  • the position corresponding to the trigger operation on at least one sliding control is determined. Based on the position, the display size of the prompt graphic indicating the detection result of the target detection tool in at least one direction on the graphical user interface is determined, thereby realizing the determination of the display size of the prompt graphic through the trigger operation of the sliding control, improving the convenience of setting the display size.
  • the parameter setting sub-area includes a rotation control
  • the display parameters include the display direction.
  • the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined based on the trigger operation, including:
  • the rotation control can rotate 360° based on a rotation reference direction, allowing the display direction of the prompt graphic to be adjusted 360°. For example, as shown in Figure 10, when the rotation reference direction is controlled to rotate 90° to the left, the rotation angle is 90°. Then, if the rotation control is controlled to rotate 30° to the left, the rotation angle is 30°.
  • the terminal can determine the display direction based on the rotation angle and the current display direction of the prompt graphic after obtaining the rotation angle.
  • the rotation control when the rotation control is controlled to rotate 90° to the left from the rotation reference direction, the rotation angle is 90°, and the current display direction is the rotation reference direction, that is, the current display direction is the 0° direction. At this time, the display direction is the 90° direction. Then, if the rotation control is controlled to rotate 30° to the left, the rotation angle is 30°, and the current display direction is the 90° direction, then the display direction is the 120° direction.
  • the current display orientation of the prompt graphic can be either a historically set orientation or the default orientation.
  • the default orientation is the rotation reference orientation.
  • the rotation reference orientation can be set according to the actual situation; for example, it can be the front of the controlled virtual character.
  • the rotation angle is obtained. Based on the rotation angle and the current display direction of the prompt graphic indicating the detection result of the target detection tool, the display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface is determined, thereby realizing the control of the display direction of the prompt graphic through the rotation control and improving the convenience of setting the display direction.
  • display parameters for a prompt graphic indicating the detection result of a target detection tool on a graphical user interface are determined based on the trigger operation, including:
  • candidate display parameters for the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined based on the trigger operation.
  • candidate display parameters are determined as the display parameters of the prompt graphic on the graphical user interface that indicate the detection results of the target detection tool.
  • the parameter confirmation event refers to the event that confirms the candidate display parameter as the display parameter. It can be set according to the actual situation.
  • the parameter setting sub-area can include a confirmation control.
  • the parameter confirmation event is generated.
  • the triggering operation is a sliding operation or a rotating operation
  • the parameter confirmation event can be generated when the release operation of the sliding operation or the release operation of the rotating operation is detected.
  • the terminal when the parameter setting sub-area includes at least one sliding control and the display parameters include the display size in at least one direction, the terminal prompts the display size of the graphic as a1 and a2 before responding to the sliding operation of the at least one sliding control.
  • the prompt graphic displayed on the graphical user interface can be as shown in 1101 of Figure 11.
  • the terminal determines the candidate display size as a3 and a4. At this time, the prompt graphic displayed on the graphical user interface is updated as shown in 1102 of Figure 11.
  • the display direction of the prompt graphic is facing forward.
  • the prompt graphic displayed on the graphical user interface can be as shown in 1201 in Figure 12.
  • the candidate display direction is 30°
  • the prompt graphic displayed on the graphical user interface is updated to be as shown in 1202 in Figure 12.
  • candidate display parameters for the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation.
  • the prompt graphic is displayed according to the candidate display parameters.
  • the candidate display parameters are determined as the display parameters for the prompt graphic indicating the detection result of the target detection tool on the graphical user interface, thereby realizing real-time display of the prompt graphic corresponding to the display parameters set by the user and improving the efficiency of setting display parameters.
  • the method further includes:
  • a prompt graphic is displayed on the graphical user interface based on the detection results and display parameters.
  • the controlled virtual character is already in the game before the detection item interface is displayed on the graphical user interface in response to the first trigger operation of the detection prompt control, after determining the display parameters of the prompt graphic indicating the detection result of the target detection item on the graphical user interface, the game environment information of the controlled virtual character's position in the game scene can be directly detected by the target detection item without player operation, and the detection result can be obtained. Then, according to the display parameters, the prompt graphic indicating the detection result can be directly displayed.
  • the prompt graphic can also be displayed on the graphical user interface in response to the fourth trigger operation of the detection prompt control, based on the detection result and the display parameters.
  • the prompt graphic can be displayed on the graphical user interface after detecting that the controlled virtual character is in a game, based on the detection result and display parameters.
  • the terminal may use a target detection tool to detect the game environment information of the controlled virtual character's location in the game scene, thereby obtaining the detection result.
  • the server may use a target detection tool to detect the game environment information of the controlled virtual character's location in the game scene, obtain the detection result, and then send the detection result to the terminal.
  • the fourth trigger operation can be an operation of a different type than the first touch operation, or it can be an operation of the same type as the first trigger operation.
  • the fourth trigger operation and the first trigger operation are different types of trigger operations, for example, the first trigger operation can be a click operation and the fourth trigger operation can be a long press operation, or the first trigger operation can be a click operation and the fourth trigger operation can be a double-click operation.
  • the detection prompt control can include a display sub-control and a setting sub-control.
  • the first trigger operation can be a trigger operation on the setting sub-control
  • the fourth trigger operation can be a trigger operation on the display sub-control.
  • the display sub-control and the setting sub-control can be as shown in Figure 4.
  • the fourth trigger operation and the first trigger operation can be click operations.
  • the detection prop interface is displayed on the graphical user interface.
  • the prompt graphic is displayed on the graphical user interface.
  • the terminal may respond to a fourth trigger operation on the detection prompt control, obtain the detection result, and then display a prompt graphic indicating the detection result on the graphical user interface according to the display parameters, so that the player can know the detection result through the prompt graphic.
  • the method further includes:
  • the prompt graphic is turned off on the graphical user interface according to the display parameters.
  • the third and fourth triggering operations may be of the same type or different types; this disclosure does not limit this.
  • the prompt graphic after the prompt graphic is displayed on the graphical user interface, the prompt graphic can be turned off if the player no longer needs to display it.
  • the detection tool interface further includes a detection range setting sub-area, and after displaying the detection tool interface on the graphical user interface in response to a first trigger operation on the detection prompt control, it further includes:
  • the detection range of the detection prop in the game scene is set when it is used by the controlled virtual character.
  • the detection range includes the position of the controlled virtual character in the game scene.
  • the process Before displaying the prompt graphics on the graphical user interface based on the detection results and display parameters, the process also includes:
  • the trigger operation for setting the detection range sub-region can be set according to the actual situation.
  • the detection range setting sub-region may include a range adjustment control
  • the trigger operation may be a zoom-out or zoom-in operation of the range adjustment control (for example, as shown in Figure 14, the larger the range adjustment control is, the larger the detection range is, and the smaller the range adjustment control is, the smaller the detection range is).
  • the trigger operation for setting the detection range sub-region may be an input operation of the detection range setting sub-region. This embodiment of the present disclosure does not limit this operation.
  • the detection range includes the location of the controlled virtual character. It can be understood that the location of the controlled virtual character in the game scene is within the detection range. During detection, the location of the controlled virtual character in the game scene is taken as the center of the detection range, and the game environment information within the detection range is detected.
  • the detection range of the detection prop in the game scene when used by the controlled virtual character is set.
  • the detection range includes the position of the controlled virtual character in the game scene.
  • the detection result obtained by detecting the detection range through the target detection prop is obtained, so that the player can customize the detection range of the detection prop and improve the player's game experience.
  • the detection results include a first detection result and a second detection result.
  • Obtaining the detection results obtained by detecting the detection range using a target detection tool includes:
  • the preset detection conditions include attribute thresholds, and the detection range corresponds to the attribute thresholds;
  • the detection result obtained by detecting the detection range will be determined as the first detection result
  • the detection result obtained by detecting the detection range will be determined as the second detection result, and the prompt graphic indicating the first detection result will be different from the prompt graphic indicating the second detection result.
  • the attribute values can be set according to the detection function of the detection item.
  • the attribute value can be the temperature value
  • the attribute value can be the material value level of the controlled virtual character
  • the attribute value can be the distance between the virtual character and the controlled virtual character.
  • Preset detection conditions can be set according to the detection function of the detection item. For example, when the detection item is a life detection item or a gold detection item, the preset detection condition can be that the attribute value is equal to or greater than the attribute threshold. When the detection item is a danger detection item, the preset detection condition can be that the attribute value is less than the attribute threshold.
  • the detection range corresponds to the attribute threshold, which can be understood as a positive or negative correlation between the detection range and the attribute threshold.
  • the detection tool is a gold-finding tool or a life-finding tool
  • the detection range and the attribute threshold are positively correlated
  • the detection tool is a danger-finding tool
  • the detection range and the attribute threshold are negatively correlated.
  • the detection range There is a positive correlation between the detection range and the attribute threshold. This can be understood as the larger the detection range, the weaker the detection capability; the larger the attribute threshold, the smaller the detection range, the stronger the detection capability, and the smaller the attribute threshold.
  • the preset detection condition is that the attribute value is equal to or greater than the attribute threshold.
  • the detection range includes detection range d1 and detection range d2, where detection range d1 is greater than detection range d2.
  • the attribute threshold in the preset detection condition corresponding to detection range d1 is 38°
  • the attribute threshold in the preset detection condition corresponding to detection range d2 is 36°.
  • the controlled virtual character cannot discover the virtual character, that is, the second detection result is that the virtual character does not exist.
  • the attribute value of the virtual character is 36°, which is equal to the attribute threshold of 36°, the attribute value of 36° meets the preset detection condition.
  • the detection result obtained by detecting the detection range is the first detection result.
  • the controlled virtual character can discover the virtual character, that is, the first detection result is that the virtual character exists.
  • the preset detection condition is that the attribute value is less than the attribute threshold.
  • the detection range includes detection range d1 and detection range d2, where detection range d1 is greater than detection range d2.
  • the attribute threshold in the preset detection condition corresponding to detection range d1 is 10 meters
  • the attribute threshold in the preset detection condition corresponding to detection range d2 is 12 meters.
  • the attribute value is the distance between the controlled virtual character and the virtual character. When detecting with detection range d1, if the distance between the controlled virtual character and the virtual character is 11 meters, 11 meters is greater than 10 meters, and 11 meters does not meet the preset detection condition, then the detection result obtained by detecting the detection range is the second detection result.
  • the controlled virtual character cannot discover the virtual character, that is, the second detection result is that the virtual character does not exist.
  • the detection result obtained by detecting the detection range is the first detection result.
  • the controlled virtual character can discover the virtual character, that is, the first detection result is that the virtual character exists.
  • the different graphic indicators for the first and second detection results demonstrate that the graphical user interface displays different graphics when the detection results are different. Therefore, after obtaining the first detection result, a graphic indicating the first result can be displayed on the graphical user interface based on the display parameters; similarly, after obtaining the second result, a graphic indicating the second result can be displayed on the graphical user interface based on the display parameters.
  • the prompt graphic indicating the first detection result and the prompt graphic indicating the second detection result are different. This could be because the colors of the prompt graphic indicating the first detection result and the prompt graphic indicating the second detection result are different, or they could be different in shape. This disclosure does not limit the specifics.
  • the attribute values of virtual characters within the detection range are obtained through a target detection tool, and preset detection conditions corresponding to the detection range are obtained.
  • the preset detection conditions include attribute thresholds, and the detection range corresponds to the attribute thresholds. If the attribute value meets the preset detection conditions, the detection result obtained by detecting the detection range is determined as the first detection result. If the attribute value does not meet the preset detection conditions, the detection result obtained by detecting the detection range is determined as the second detection result.
  • the prompt graphics indicating the first detection result and the prompt graphics indicating the second detection result are different, so that the detection capability of the detection tool can be customized, thereby improving the player's gaming experience.
  • the target attribute threshold corresponding to the default detection range can be fixed.
  • the detection result obtained by detecting the default detection range will be determined as the first detection result
  • the detection result obtained by detecting within the default detection range will be determined as the second detection result.
  • the prompt graphic indicating the first detection result will be different from the prompt graphic indicating the second detection result.
  • the target preset detection conditions include target attribute thresholds. These conditions can be set according to the detection function of the detection tool. For example, when the attribute value is temperature or the value level of materials, the target preset detection condition can be that the attribute value is equal to or greater than the target attribute threshold. When the attribute value is the distance between the virtual character and the controlled virtual character, the target preset detection condition can be that the attribute value is less than the target attribute threshold.
  • the picked-up detection item can be directly set as the target detection item. In this case, if no detection range is set, detection is performed using the target detection item with the default detection range; if a detection range is set, detection is performed using the target detection item with the set detection range.
  • the detection item interface includes an item synthesis sub-area, which includes detection items for the controlled virtual character.
  • the triggering operation is a synthesis operation.
  • a target detection item among a plurality of detection items is set as the detection item currently used by the controlled virtual character, including:
  • the at least two detection items are synthesized to obtain a synthesized detection item, which has the detection function corresponding to the at least two detection items.
  • the merging operation can include at least one operation.
  • the merging operation can include multiple click operations, whereby the terminal responds to click operations on two detection items in the item merging sub-area and click operations on the merging control to merge the two detection items.
  • the merging operation can include multiple drag operations, whereby the terminal responds to dragging two detection items in the item merging sub-area onto the merging control to merge the two detection items on the merging control.
  • the detection item After synthesis, the detection item possesses the detection functions corresponding to at least two other detection items.
  • a detection item package might contain a gold-hunting detection item and a danger detection item.
  • the gold-hunting detection item can detect the virtual character's resources, while the danger detection item can detect enemy virtual characters.
  • the resulting detection item After synthesizing the gold-hunting detection item and the danger detection item, the resulting detection item can detect not only the virtual character's resources but also enemy virtual characters.
  • the terminal can display it in the item synthesis sub-area.
  • the item synthesis sub-area can be as shown in 1301 of Figure 13.
  • the gold-finding detection item and the danger detection item are synthesized.
  • the item synthesis sub-area can be as shown in 1302 of Figure 13.
  • the terminal After obtaining the synthesized detection item, the terminal can directly use the synthesized detection item as the target detection item, or it can use the synthesized detection item as the target detection item in response to the selection operation of the synthesized detection item.
  • the at least two detection items are synthesized to obtain a synthesized detection item.
  • the synthesized detection item has the detection functions corresponding to at least two detection items.
  • the synthesized detection item is used as the target detection item and set as the detection item currently used by the controlled virtual character. This allows players to use detection items with two detection functions at the same time without having to switch back and forth between detection tools with different detection functions, thereby improving the efficiency and convenience of players using detection items.
  • the process includes:
  • the prompt graphic corresponding to the first detection result will be displayed according to the display parameters
  • the prompt graphic corresponding to the second detection result will be displayed according to the display parameters.
  • the detection result can be obtained directly; if the controlled virtual character is not in the game, the detection result will be obtained after the controlled virtual character is in the game.
  • the prompt graphic corresponding to the first detection result will be displayed according to the display parameters; if the detection result is the second detection result, the prompt graphic corresponding to the second detection result will be displayed according to the display parameters.
  • the detection results may include attribute values.
  • the detection result can be determined as the first detection result when the attribute value in the detection result meets the preset detection conditions, and as the second detection result when the attribute value in the detection result does not meet the preset detection conditions.
  • the detection result can be determined as the first detection result when the attribute value in the detection result meets the target preset detection conditions, and as the second detection result when the attribute value in the detection result does not meet the target preset detection conditions.
  • the prompt graphic indicating the first detection result and the prompt graphic indicating the second detection result may have different colors or different shapes. This disclosure does not limit the specific implementation of these embodiments.
  • the target detection tool is a danger detection tool
  • the detection result when the detection result indicates the presence of an enemy virtual character, the detection result is the first detection result.
  • a red prompt graphic is displayed according to the display parameters.
  • the detection result When the detection result indicates the absence of an enemy virtual character, the detection result is the second detection result.
  • a green prompt graphic is displayed according to the display parameters.
  • a prompt graphic on the graphical user interface in response to the fourth trigger operation of the probe prompt control, based on the probe result and display parameters, it can be in response to the fourth trigger operation of the probe prompt control. If the probe result is the first probe result, then the prompt graphic corresponding to the first probe result is displayed according to the display parameters; if the probe result is the second probe result, then the prompt graphic corresponding to the second probe result is displayed according to the display parameters.
  • a prompt graphic corresponding to the first detection result is displayed according to the display parameters, including:
  • the detection result is the first detection result, then obtain the location information of the enemy virtual character in the first detection result;
  • the orientation information displays the prompt graphic corresponding to the first detection result
  • a prompt graphic corresponding to the first detection result is displayed according to the display parameters.
  • the matching of the controlled virtual character's actions with the location information can be understood as the controlled virtual character performing the corresponding action in the direction corresponding to the location information.
  • the controlled virtual character can move in the direction corresponding to the location information, or the controlled virtual character can shoot in the direction corresponding to the location information.
  • the detection result is the first detection result
  • the location information of the enemy virtual character in the first detection result is obtained, and the prompt graphic corresponding to the first detection result is displayed according to the location information, so that the location of the enemy virtual character can be indicated by the prompt graphic.
  • the prompt graphic corresponding to the first detection result is displayed according to the display parameters to avoid the prompt graphic affecting the field of vision of the controlled virtual character.
  • a prompt graphic is displayed to the right front.
  • the prompt graphic can be as shown in Figure 1501.
  • the prompt graphic displayed according to the display parameters can be as shown in Figure 1502.
  • a prompt graphic corresponding to the first detection result is displayed according to the display parameters, including:
  • the detection result is the first detection result, then obtain the location information of the enemy virtual character in the first detection result;
  • the display parameters indicate the prompt graphic corresponding to the first detection result, as well as the directional information corresponding to the location.
  • the identifier can be set according to the actual situation.
  • the identifier can be an arrow or a triangle, and this embodiment of the disclosure is not limited thereto.
  • the identifier is an arrow, if the orientation information corresponds to the right front of the controlled virtual character, the identifier can be as shown in Figure 16.
  • the detection result is the first detection result
  • the location information of the enemy virtual character in the first detection result is obtained, and the prompt graphic corresponding to the first detection result is displayed according to the display parameters, and the marker pointing to the location information is displayed so as to know the location of the enemy virtual character through the marker.
  • the method further includes:
  • a location control can be displayed on the graphical user interface.
  • the location indication operation can be a trigger operation on the location control.
  • the location indicator of the enemy virtual character is displayed on the graphical user interface.
  • the position control can be as shown in Figure 17 or Figure 18 (the other fireflies in Figure 18 refer to enemy virtual characters).
  • Location indicators are used to indicate the location of enemy virtual characters. They can directly represent the location of enemy virtual characters, for example, as shown in Figure 17, by directly displaying the infrared image of the enemy virtual character at its location. Alternatively, location indicators can indicate the path leading to the enemy virtual character, for example, as shown in Figure 18, the location indicator can be a footprint, and the location of the enemy virtual character can be determined based on the footprint.
  • the location indicators can be different.
  • the location indicator is a footprint
  • different colored footprints can be used to indicate different resource value levels.
  • the location information of the enemy virtual character in the first detection result is obtained, and the location indication mark of the enemy virtual character is displayed on the graphical user interface according to the location information so that the player can know the location of the enemy virtual character.
  • obtaining the location information of an enemy virtual character in the first detection result includes:
  • display location indicators for enemy virtual characters on the graphical user interface including:
  • the first duration and the second duration are preset durations, which can be set according to the actual situation.
  • the first duration can be 10 seconds and the second duration can be 4 seconds, or the first duration can be 8 seconds and the second duration can be 5 seconds. This embodiment of the present disclosure does not limit the duration.
  • the location indicator of the enemy virtual character for a second duration is displayed on the graphical user interface. This ensures that the location indicator is displayed on the graphical user interface only after a first duration, preventing players from using the location indicator display function indefinitely. Furthermore, the display time of the location indicator is limited to the second duration to prevent unlimited display of the location indicator.
  • the duration in Figure 17 is the second duration
  • the cooldown time in Figure 17 is the first duration
  • a countdown for the first duration can also be displayed on the location control.
  • the first duration is 10 seconds.
  • the countdown for the first duration is represented by the different thicknesses of the edges of the location control.
  • the thin edge of the location control indicates that the time interval between the historical time and the current time when the location indicator is displayed is 2.5 seconds, and the thick edge of the location control indicates that there are still 7.5 seconds before the location indicator can be displayed again.
  • the graphical user interface further includes a location control displaying a historical display count of the location indicator, which, in response to a location indication operation on the first detection result, acquires the location information of the enemy virtual character in the first detection result, including:
  • the location information of the enemy virtual character in the first detection result is obtained.
  • the triggering operation of the position control is the position indication operation of the first detection result. If the number of historical displays is greater than the preset number, it means that the position control can no longer be triggered in the current game session, that is, the position indicator can no longer be displayed.
  • the location control displays a history display count indicator with a location indicator.
  • the location control includes three circles. Three circles indicate a preset count of 3 times, and one circle indicates one time. When two of the three circles are lit, it indicates that the history display count is 2 times.
  • the position control in response to the triggering operation of the position control, it is determined whether the number of historical displays is less than the preset number. If the number of historical displays is less than or equal to the preset number, the position information of the enemy virtual character in the first detection result is obtained, thereby limiting the display of the position indicator and preventing the player from using the position indicator indefinitely.
  • a location progress bar can also be displayed on the graphical user interface, indicating the progress of encountering the enemy virtual character pointed to by the location indicator.
  • the location indicator is a footprint
  • the location progress bar can be a footprint progress bar, indicating how many more footprints the controlled virtual character needs to follow before encountering the enemy virtual character.
  • different prompt graphics can be displayed according to the distance between the controlled virtual character and the enemy virtual character.
  • the detection tool is a danger detection tool, as shown in Figure 19, when the distance between the controlled virtual character and the enemy virtual character is 6 meters, a red prompt graphic can be displayed according to the display parameters. When the distance between the controlled virtual character and the enemy virtual character is 12 meters, a green prompt graphic can be displayed according to the display parameters.
  • the method further includes:
  • the display parameters of the prompt graphics indicating the detection results of the target detection tool on the graphical user interface are determined, including:
  • the controlled virtual character In response to the trigger operation on the detection item interface, after setting the target detection item among several detection items as the detection item currently used by the controlled virtual character, if the controlled virtual character is already in the game, the controlled virtual character can be directly controlled to use the target detection item. If the controlled virtual character is not in the game, the controlled virtual character can be controlled to use the target detection item after the controlled virtual character is in the game.
  • controlling the controlled virtual character to use the target detection tool can be understood as equipping the target detection tool on a certain part of the controlled virtual character.
  • This specific part can be set according to the actual situation; for example, the target detection tool can be equipped on the controlled virtual character's arm or head.
  • This embodiment of the present disclosure does not impose any limitations on this.
  • controlling the controlled virtual character to use the target detection tool can be understood as controlling the target detection tool to display in a target display style, indicating that the target detection tool is being used.
  • the target display style can be set according to the actual situation. For example, black can be used to display detection tools that are not currently in use, and green can be used to display detection tools that are currently in use. In this case, the target display style is green. This embodiment of the present disclosure does not limit this.
  • Matching the display parameters with the current orientation parameters can be understood as setting the current orientation parameters as the display parameters.
  • the target detection prop is equipped on the arm of the controlled virtual character and the current orientation parameter of the target detection prop is right front, then the right front is used as the display parameter of the prompt graphic, and the displayed prompt graphic can be as shown in Figure 20.
  • the controlled virtual character uses a target detection tool to obtain the current orientation parameter of the target detection tool. Based on the current orientation parameter, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined. The display parameters are matched with the current orientation parameter so that the displayed prompt graphic changes as the orientation of the target detection tool changes.
  • the display parameters include a display area and a display orientation. Based on the current orientation parameter, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined. The display parameters and the current orientation parameter are matched, including:
  • the range of orientation parameters includes multiple orientation parameters, including the current orientation parameter.
  • the display area corresponding to the range of orientable parameters is defined as the display area on the graphical user interface for the prompt graphic indicating the detection result of the target detection tool;
  • the display direction corresponding to the range of oriented parameters is determined as the display direction of the prompt graphic on the graphical user interface that indicates the detection result of the target detection tool.
  • the prompt graphic displayed on the graphical user interface can be as shown in Figure 21 (a). If the current orientation parameter of the target detection tool changes from the orientation parameter shown in Figure 21 (1) to the orientation parameter shown in Figure 21 (2), the prompt graphic displayed on the graphical user interface can be as shown in Figure 21 (b). In this case, the display parameters of the prompt graphic will frequently change as the orientation of the target detection tool changes, which may cause interference to the player.
  • the range of orientable parameters of the target detection tool is determined.
  • the range of orientable parameters includes multiple orientation parameters, including the current orientation parameter.
  • the display area and display direction corresponding to the range of orientable parameters are determined.
  • the display area corresponding to the range of orientable parameters is determined as the display area of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface.
  • the display direction corresponding to the range of orientable parameters is determined as the display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface. This ensures that the display parameters of the prompt graphic not only match the current orientation parameter but also do not frequently change the display parameters, reducing the interference caused to the player by the display of the prompt graphic.
  • the range of orientable parameters of the target detection tool can include the orientable parameter shown in Figure 21 (1), Figure 21 (2), and Figure 21 (3).
  • the display area corresponding to the range of orientable parameters includes the display area of the prompt graphic shown in Figure 21 (a), Figure 21 (b), and Figure 21 (c).
  • the display direction corresponding to the range of orientable parameters includes the display direction of the prompt graphic shown in Figure 21 (a), Figure 21 (b), and Figure 21 (c).
  • the display area and display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface can be the display area and display direction of the prompt graphic shown in Figure 21 (d).
  • the display area of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface includes the display area corresponding to each orientable parameter
  • the display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface includes the display direction corresponding to each orientable parameter
  • a graphical user interface is provided by an electronic device.
  • the graphical user interface includes at least a portion of the game scene and a detection prompt control.
  • the detection prompt control corresponds to a detection item of the controlled virtual character.
  • the controlled virtual character is a virtual character controlled by the electronic device in at least a portion of the game scene.
  • the electronic device displays a detection item interface on the graphical user interface.
  • the detection item interface includes several detection items equipped by the controlled virtual character.
  • a target detection item among the several detection items is set as the detection item currently used by the controlled virtual character.
  • the system also includes the display parameters of a graphical user interface for indicating the detection results of a target detection tool.
  • the detection results represent the results of the controlled virtual character's detection of the game environment information of the controlled virtual character's location in the game scene using the target detection tool.
  • this disclosure also provides a game control device, which can be integrated into an electronic device, such as a computer device, which can be a terminal, server, or other such device.
  • the terminal can be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.
  • the method of this disclosure embodiment will be described in detail by taking the game control device specifically integrated into the terminal as an example.
  • This embodiment provides a game control device, as shown in FIG22.
  • the game control device provides a graphical user interface through an electronic device.
  • the graphical user interface includes a detection prompt control, which corresponds to the detection props of the controlled virtual character.
  • the game control device may include:
  • the first response module 2201 is configured to perform a first trigger operation in response to a detection prompt control, displaying a detection item interface on a graphical user interface, the detection item interface including several detection items equipped by the controlled virtual character.
  • the second response module 2202 is configured to perform a trigger operation in response to the detection prop interface, set the target detection prop among a plurality of detection props as the detection prop currently used by the controlled virtual character, and determine the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface, wherein the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.
  • the first response module 2201 is further configured to perform:
  • the detection item interface is closed.
  • the second response module 2202 is further configured to perform:
  • a prompt graphic is displayed on the graphical user interface based on the detection results and display parameters.
  • the second response module 2202 is further configured to perform:
  • the prompt graphic is turned off on the graphical user interface according to the display parameters.
  • the detection tool interface further includes a detection range setting sub-region
  • the second response module 2202 is further configured to execute:
  • the detection range of the detection prop in the game scene is set when it is used by the controlled virtual character.
  • the detection range includes the position of the controlled virtual character in the game scene.
  • the detection results include a first detection result and a second detection result
  • the second response module 2202 is further configured to execute:
  • the detection conditions include attribute thresholds, and the detection range corresponds to the attribute thresholds;
  • the detection result obtained by detecting the detection range will be determined as the first detection result
  • the detection result obtained by detecting the detection range will be determined as the second detection result, and the prompt graphic indicating the first detection result will be different from the prompt graphic indicating the second detection result.
  • the detection tool interface further includes a parameter setting sub-area
  • the second response module 2202 is specifically configured to execute:
  • the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation.
  • the parameter setting sub-area includes at least one sliding control
  • the display parameters include the display size in at least one direction
  • the second response module 2202 is specifically configured to perform:
  • the parameter setting sub-area includes a rotation control
  • the display parameters include display orientation
  • the second response module 2202 is specifically configured to execute:
  • the second response module 2202 is specifically configured to perform:
  • candidate display parameters for the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined based on the trigger operation.
  • candidate display parameters are determined as the display parameters of the prompt graphic on the graphical user interface that indicate the detection results of the target detection tool.
  • the detection prop interface includes a prop synthesis sub-region, which includes detection props for the controlled virtual character, and the second response module 2202 is specifically configured to execute:
  • the at least two detection items are synthesized to obtain a synthesized detection item, which has the detection function corresponding to the at least two detection items.
  • the second response module 2202 is further configured to perform:
  • the prompt graphic corresponding to the first detection result will be displayed according to the display parameters
  • the prompt graphic corresponding to the second detection result will be displayed according to the display parameters.
  • the second response module 2202 is further configured to perform:
  • the detection result is the first detection result, then obtain the location information of the enemy virtual character in the first detection result;
  • the orientation information displays the prompt graphic corresponding to the first detection result
  • a prompt graphic corresponding to the first detection result is displayed according to the display parameters.
  • the second response module 2202 is further configured to perform:
  • the detection result is the first detection result, then obtain the location information of the enemy virtual character in the first detection result;
  • the system displays a prompt graphic corresponding to the first detection result according to the displayed parameters, as well as an indicator of the direction corresponding to the directional information.
  • the second response module 2202 is further configured to perform:
  • the second response module 2202 is further configured to perform:
  • the graphical user interface further includes a location control displaying a historical display count of the location indicator, and the second response module 2202 is specifically configured to execute:
  • the location information of the enemy virtual character in the first detection result is obtained.
  • the second response module 2202 is further configured to perform:
  • the display parameters include the display area and the display orientation
  • the second response module 2202 is further configured to execute:
  • the range of orientation parameters includes multiple orientation parameters, including the current orientation parameter.
  • the display area corresponding to the range of orientable parameters is defined as the display area on the graphical user interface for the prompt graphic indicating the detection result of the target detection tool;
  • the display direction corresponding to the range of oriented parameters is determined as the display direction of the prompt graphic on the graphical user interface that indicates the detection result of the target detection tool.
  • each of the above modules can be implemented as an independent entity or can be combined arbitrarily to be implemented as the same or several entities.
  • specific implementation methods and corresponding beneficial effects of each of the above modules please refer to the previous method embodiments, which will not be repeated here.
  • this disclosure also provides an electronic device, which can be a terminal, such as a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), etc.
  • the electronic device 2300 includes a processor 2301 with one or more processing cores, a memory 2302 with one or more computer-readable storage media, and a computer program stored on the memory 2302 and executable on the processor.
  • the processor 2301 and the memory 2302 are electrically connected.
  • the electronic device structure shown in the figures does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
  • the processor 2301 is the control center of the electronic device 2300. It connects various parts of the electronic device 2300 through various interfaces and lines. By running or loading software programs and/or modules stored in the memory 2302, and calling data stored in the memory 2302, it performs various functions of the electronic device 2300 and processes data, thereby monitoring the electronic device 2300 as a whole.
  • the processor 2301 in the electronic device 2300 loads the instructions corresponding to the processes of one or more application programs into the memory 2302 according to the following steps, and the processor 2301 runs the application programs stored in the memory 2302 to realize various functions, such as:
  • the detection item interface is displayed on the graphical user interface, which includes several detection items that the controlled virtual character has equipped.
  • the target detection prop among several detection props is set as the detection prop currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface are determined.
  • the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.
  • the electronic device 2300 further includes: a touch display screen 2303, a radio frequency circuit 2304, an audio circuit 2305, an input unit 2306, and a power supply 2307.
  • the processor 2301 is electrically connected to the touch display screen 2303, the radio frequency circuit 2304, the audio circuit 2305, the input unit 2306, and the power supply 2307.
  • the electronic device structure shown in FIG23 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
  • the touch display screen 2303 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI.
  • GUI graphical user interface
  • the touch display screen 2303 may include a display panel and a touch panel.
  • the display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof.
  • the display panel can be configured using a liquid crystal display (LCD), an organic light-emitting diode (OLED), or other similar devices.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands.
  • the touch panel may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting 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 it to the processor 2301. It can also receive and execute commands from the processor 2301.
  • the touch panel can cover the display panel.
  • the touch panel When the touch panel detects a touch operation on or near it, it transmits the information to the processor 2301 to determine the type of touch event. Subsequently, the processor 2301 provides corresponding visual output on the display panel based on the type of touch event.
  • the touch panel and the display panel can be integrated into the touch display screen 2303 to achieve input and output functions.
  • the touch panel and the touch display screen 2303 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 2303 can also be used as part of the input unit 2306 to achieve input functions.
  • the radio frequency circuit 2304 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.
  • Audio circuitry 2305 can be used to provide an audio interface between a user and an electronic device via a speaker and a microphone. Audio circuitry 2305 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 2305, converted back into audio data, and then processed by processor 2301 before being transmitted via radio frequency circuitry 2304 to, for example, another electronic device, or output to memory 2302 for further processing. Audio circuitry 2305 may also include an earphone jack to provide communication between peripheral headphones and electronic devices.
  • the input unit 2306 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
  • user characteristic information such as fingerprints, iris, facial information, etc.
  • Power supply 2307 is used to supply power to various components of electronic device 2300.
  • power supply 2307 can be logically connected to processor 2301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
  • Power supply 2307 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
  • the electronic device 2300 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.
  • embodiments of this disclosure provide a computer-readable storage medium storing a plurality of computer programs that can be loaded by a processor to execute any of the game control methods provided in embodiments of this disclosure.
  • the computer program can perform the following steps:
  • the detection item interface is displayed on the graphical user interface, which includes several detection items that the controlled virtual character has equipped.
  • the target detection prop among several detection props is set as the detection prop currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface are determined.
  • the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.
  • the computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

Landscapes

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

Abstract

A game control method and apparatus, an electronic device, and a computer-readable storage medium. Embodiment of the present disclosure comprise: in response to a first trigger operation on a detection prompt control, displaying a detection item interface on a graphical user interface, the detection item interface comprising a plurality of detection items that a controlled virtual character has been equipped with; and in response to a trigger operation on the detection item interface, configuring a target detection item among the plurality of detection items as a detection item currently used by the controlled virtual character, and determining display parameters of a prompt graphic indicating a detection result of the target detection item on the graphical user interface, wherein the detection result represents a result of the controlled virtual character detecting game environment information of the position where the controlled virtual character is located in a game scene by using the target detection item. The embodiments of the present disclosure can improve the configuration efficiency of detection items.

Description

游戏控制方法、装置、电子设备和计算机可读存储介质Game control methods, devices, electronic devices, and computer-readable storage media

相关申请的交叉引用Cross-reference to related applications

本申请要求于2024年06月06日提交的申请号为202410734112.3、名称为“游戏控制方法、装置、电子设备和计算机可读存储介质”的中国专利申请的优先权,该中国专利申请的全部内容通过引用并入本文。This application claims priority to Chinese Patent Application No. 202410734112.3, filed on June 6, 2024, entitled “Game Control Method, Apparatus, Electronic Device and Computer-Readable Storage Medium”, the entire contents of which are incorporated herein by reference.

技术领域Technical Field

本公开涉及游戏技术领域,具体涉及一种游戏控制方法、装置、电子设备和计算机可读存储介质。This disclosure relates to the field of game technology, and more specifically to a game control method, device, electronic device, and computer-readable storage medium.

背景技术Background Technology

随着科学技术的发展,电子游戏的种类越来越多,电子游戏的道具的类型和装备的类型也越来越多,比如,电子游戏中,游戏角色可以采用医疗道具进行疗伤或采用武器设备进行攻击。With the development of science and technology, there are more and more types of video games, as well as more and more types of props and equipment. For example, in video games, game characters can use medical props to heal themselves or use weapons and equipment to attack.

然而,目前电子游戏中的道具的类型和装备的类型不够丰富,减少电子游戏的玩法,降低玩家游戏体验,从而降低玩家的留存率。However, the variety of items and equipment in current video games is insufficient, which reduces gameplay options, lowers the player experience, and consequently reduces player retention.

发明内容Summary of the Invention

本公开实施例提供一种游戏控制方法、装置、电子设备和计算机可读存储介质,可以提高丰富游戏道具类型,提高玩家的留存率。This disclosure provides a game control method, device, electronic device, and computer-readable storage medium that can enrich the types of game items and improve player retention.

第一方面,本公开实施例提供一种游戏控制方法,通过电子设备提供图形用户界面,图形用户界面包括探测提示控件,探测提示控件对应于受控虚拟角色的探测道具,上述方法包括:In a first aspect, embodiments of this disclosure provide a game control method that provides a graphical user interface via an electronic device. The graphical user interface includes a detection prompt control, which corresponds to a detection tool of a controlled virtual character. The method includes:

响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具;In response to the first trigger operation of the detection prompt control, the detection item interface is displayed on the graphical user interface, which includes several detection items that the controlled virtual character has equipped.

响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,其中,探测结果表征受控虚拟角色通过使用目标探测道具对上述受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果。In response to a trigger operation on the detection tool interface, the target detection tool among several detection tools is set as the detection tool currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined. The detection result represents the result of the controlled virtual character using the target detection tool to detect the game environment information of the controlled virtual character's location in the game scene.

第二方面,本公开实施例还提供一种游戏控制装置,通过电子设备提供图形用户界面,图形用户界面包括探测提示控件,探测提示控件对应于受控虚拟角色的探测道具,装置包括:Secondly, embodiments of this disclosure also provide a game control device that provides a graphical user interface via an electronic device. The graphical user interface includes a detection prompt control, which corresponds to a detection tool of the controlled virtual character. The device includes:

第一响应模块,被配置为执行响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具;The first response module is configured to perform a first trigger operation in response to the detection prompt control, and display the detection prop interface on the graphical user interface, which includes several detection props that the controlled virtual character has equipped.

第二响应模块,被配置为执行响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,其中,探测结果表征受控虚拟角色通过使用目标探测道具对上述受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果。The second response module is configured to perform a trigger operation in response to the detection prop interface, set the target detection prop among several detection props as the detection prop currently used by the controlled virtual character, and determine the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface, wherein the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.

第三方面,本公开实施例还提供一种电子设备,包括存储器存储有多条指令;处理器从存储器中加载指令,以执行本公开实施例所提供的任一种游戏控制方法。Thirdly, embodiments of this disclosure also provide an electronic device, including a memory storing multiple instructions; a processor loads instructions from the memory to execute any of the game control methods provided in embodiments of this disclosure.

第四方面,本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质存储有多条指令,指令适于处理器进行加载,以执行本公开实施例所提供的任一种游戏控制方法。Fourthly, embodiments of this disclosure also provide a computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to execute any of the game control methods provided in embodiments of this disclosure.

本公开实施例中,通过电子设备提供图形用户界面,图形用户界面包括探测提示控件,探测提示控件对应于受控虚拟角色的探测道具,电子设备响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具,响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,其中,探测结果表征受控虚拟角色通过使用目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果,实现提供具备探测功能的探测道具,提高玩家游戏体验,从而提高玩家的留存率,并且,具备探测功能的探测道具可以提高受控虚拟角色在游戏对局内的存活时间,使得电子设备无需频繁处理受控虚拟角色的死亡事件和无需频繁重启游戏对局,降低电子设备的响应频率,有助于节约电子设备的计算资源。In this embodiment, an electronic device provides a graphical user interface (GUI), which includes a detection prompt control corresponding to a detection item of the controlled virtual character. In response to a first trigger operation on the detection prompt control, the electronic device displays a detection item interface on the GUI. The detection item interface includes several detection items equipped by the controlled virtual character. In response to a trigger operation on the detection item interface, a target detection item among the several detection items is set as the detection item currently used by the controlled virtual character. The display parameters of the prompt graphic indicating the detection result of the target detection item on the GUI are also determined. The detection result represents the result of the controlled virtual character using the target detection item to detect the game environment information of the controlled virtual character's location in the game scene. This provides detection items with detection functionality, improving the player's gaming experience and thus increasing player retention. Furthermore, detection items with detection functionality can increase the survival time of the controlled virtual character in the game, eliminating the need for the electronic device to frequently handle the death events of the controlled virtual character or frequently restart the game, reducing the response frequency of the electronic device and helping to save the computing resources of the electronic device.

附图说明Attached Figure Description

为了更清楚地说明本公开实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

图1是本公开实施例其中之一提供的游戏控制系统示意图;Figure 1 is a schematic diagram of a game control system provided in one of the embodiments of this disclosure;

图2是本公开实施例其中之一提供的图形用户界面的示意图;Figure 2 is a schematic diagram of a graphical user interface provided in one of the embodiments of this disclosure;

图3是本公开实施例其中之一提供的游戏控制方法的一种实施例流程示意图;Figure 3 is a schematic flowchart of one embodiment of the game control method provided in this disclosure;

图4是本公开实施例其中之一提供的探测提示控件的示意图;Figure 4 is a schematic diagram of a detection prompt control provided in one of the embodiments of this disclosure;

图5是本公开实施例其中之一提供的探测提示控件的另一种示意图;Figure 5 is another schematic diagram of the detection prompt control provided in one of the embodiments of this disclosure;

图6是本公开实施例其中之一提供的探测道具界面的示意图;Figure 6 is a schematic diagram of the detection tool interface provided in one of the embodiments of this disclosure;

图7是本公开实施例其中之一提供的探测道具界面的另一种示意图;Figure 7 is another schematic diagram of the detection tool interface provided in one of the embodiments of this disclosure;

图8是本公开实施例其中之一提供的探测道具界面的另一种示意图;Figure 8 is another schematic diagram of the detection tool interface provided in one of the embodiments of this disclosure;

图9是本公开实施例其中之一提供的提示图形的示意图;Figure 9 is a schematic diagram of a prompt graphic provided in one of the embodiments of this disclosure;

图10是本公开实施例其中之一提供的旋转基准方向的示意图;Figure 10 is a schematic diagram of the rotation reference direction provided in one of the embodiments of this disclosure;

图11是本公开实施例其中之一提供的提示图形的另一种示意图;Figure 11 is another schematic diagram of the prompt graphic provided in one of the embodiments of this disclosure;

图12是本公开实施例其中之一提供的提示图形的另一种示意图;Figure 12 is another schematic diagram of the prompting graphic provided in one of the embodiments of this disclosure;

图13是本公开实施例其中之一提供的探测道具界面的另一种示意图;Figure 13 is another schematic diagram of the detection tool interface provided in one of the embodiments of this disclosure;

图14是本公开实施例其中之一提供的探测范围设置子区域的示意图;Figure 14 is a schematic diagram of a sub-region for setting the detection range provided in one of the embodiments of this disclosure;

图15是本公开实施例其中之一提供的提示图形的另一种示意图;Figure 15 is another schematic diagram of the prompting graphic provided in one of the embodiments of this disclosure;

图16是本公开实施例其中之一提供的标识的示意图;Figure 16 is a schematic diagram of the identifier provided in one of the embodiments of this disclosure;

图17是本公开实施例其中之一提供的位置控件的示意图;Figure 17 is a schematic diagram of a position control provided in one of the embodiments of this disclosure;

图18是本公开实施例其中之一提供的位置控件的另一种示意图;Figure 18 is another schematic diagram of a location control provided in one of the embodiments of this disclosure;

图19是本公开实施例其中之一提供的危险探测道具的使用的示意图;Figure 19 is a schematic diagram of the use of a hazard detection device provided in one of the embodiments of this disclosure;

图20是本公开实施例其中之一提供的目标探测道具的示意图;Figure 20 is a schematic diagram of a target detection device provided in one of the embodiments of this disclosure;

图21是本公开实施例其中之一提供的提示图形的显示方向和显示区域的示意图;Figure 21 is a schematic diagram of the display direction and display area of the prompt graphic provided in one of the embodiments of this disclosure;

图22是本公开实施例其中之一提供的游戏控制装置的结构示意图;Figure 22 is a schematic diagram of the structure of a game control device provided in one of the embodiments of this disclosure;

图23是本公开实施例其中之一提供的电子设备的结构示意图。Figure 23 is a schematic diagram of the structure of an electronic device provided in one of the embodiments of this disclosure.

具体实施方式Detailed Implementation

下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

在对本公开实施例进行详细地解释说明之前,先对本公开实施例涉及到的一些名词进行解释说明。Before providing a detailed explanation of the embodiments of this disclosure, some terms involved in the embodiments of this disclosure will be explained.

其中,在本公开实施例的描述中,术语“第一”、“第二”等可在本文中用于描述各种概念,但除非特别说明,这些概念不受这些术语限制。这些术语仅用于将一个概念与另一个概念区分。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。In the description of embodiments of this disclosure, the terms "first," "second," etc., may be used herein to describe various concepts, but unless specifically stated otherwise, these concepts are not limited by these terms. These terms are used only to distinguish one concept from another. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

本公开实施例提供一种游戏控制方法、装置、电子设备和计算机可读存储介质。具体地,本公开实施例的游戏控制方法可以由电子设备执行,其中,该电子设备可以为终端或者服务器等设备。该终端可以为智能手机、平板电脑、笔记本电脑、触控屏幕、游戏机、个人计算机(PC,Personal Computer)、个人数字助理(Personal Digital Assistant,PDA)等终端设备,终端还可以包括客户端,该客户端可以是游戏应用客户端、携带有游戏程序的浏览器客户端或即时通信客户端等。This disclosure provides a game control method, apparatus, electronic device, and computer-readable storage medium. Specifically, the game control method of this disclosure can be executed by an electronic device, which can be a terminal or a server. The terminal can be a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. The terminal may also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client, etc.

服务器可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群或者分布式系统,还可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(Content Delivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。A server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

例如,如图1所示,该电子设备以终端10为例进行说明,该终端10可以提供图形用户界面,图形用户界面包括游戏画面和探测提示控件,探测提示控件对应于受控虚拟角色的探测道具,受控虚拟角色为在游戏画面中通过终端10进行控制的虚拟角色,终端10响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具,响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,终端10将目标探测道具的标识发送至服务器20。服务器20使用目标探测道具对受控虚拟角色在游戏画面中游戏场景所处位置的游戏环境信息进行探测,得到探测结果,并将探测结果返回至终端10。终端10根据显示参数,在图形用户界面上显示指示探测结果的提示图形。For example, as shown in Figure 1, this electronic device is illustrated using terminal 10 as an example. Terminal 10 can provide a graphical user interface (GUI), which includes a game screen and a detection prompt control. The detection prompt control corresponds to the detection items of the controlled virtual character. The controlled virtual character is a virtual character controlled by terminal 10 in the game screen. In response to a first trigger operation on the detection prompt control, terminal 10 displays a detection item interface on the GUI. The detection item interface includes several detection items equipped by the controlled virtual character. In response to a trigger operation on the detection item interface, a target detection item among the several detection items is set as the detection item currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection item are determined on the GUI. Terminal 10 sends the identifier of the target detection item to server 20. Server 20 uses the target detection item to detect the game environment information of the controlled virtual character's location in the game scene in the game screen, obtains the detection result, and returns the detection result to terminal 10. Terminal 10 displays a prompt graphic indicating the detection result on the GUI according to the display parameters.

下面根据图2,对本公开实施例提供的图形用户界面进行详细说明。The graphical user interface provided in the embodiments of this disclosure will now be described in detail with reference to FIG2.

在本公开实施例中,图形用户界面上可以显示至少部分游戏场景和很多控件,图2中只是对图形用户界面上的控件的示例说明,图形用户界面还可以包括除了图2所示的控件之外的控件。In this embodiment of the disclosure, the graphical user interface can display at least part of the game scene and many controls. Figure 2 is just an example of the controls on the graphical user interface. The graphical user interface may also include controls other than those shown in Figure 2.

图2中的201表示开火控件,其用于控制虚拟游戏角色开火。图2中的202控件表示左探测控件,其用于控制虚拟游戏角色左探测,图2中的203控件表示右探测控件,其用于控制虚拟游戏角色右探测。图2中的204表示取消投掷物控件,其用于取消投掷物的投掷。In Figure 2, 201 represents the fire control, used to control the virtual game character to fire. Control 202 represents the left probe control, used to control the virtual game character to probe to the left. Control 203 represents the right probe control, used to control the virtual game character to probe to the right. 204 represents the cancel throw control, used to cancel the throwing of a projectile.

图2中的2051表示操作点,图2中的2052表示第一控制区域,图2中的2053表示位于第一控制区域外围的第二控制,第一控制区域、第二控制区域以及操作点可以组成虚拟摇杆,虚拟摇杆用于控制虚拟游戏角色移动的速度,玩家可通过拖动操作点至第一控制区域和/或第二控制区域上,从而控制目标虚拟游戏角色以不同的速度进行移动。In Figure 2, 2051 represents the operation point, 2052 represents the first control area, and 2053 represents the second control area located outside the first control area. The first control area, the second control area, and the operation point can form a virtual joystick. The virtual joystick is used to control the movement speed of the virtual game character. Players can drag the operation point to the first control area and/or the second control area to control the target virtual game character to move at different speeds.

图2中的206表示医疗物资控件,其用于存放虚拟游戏角色具备的医疗物资。图2中的207表示主武器栏,其用于控制虚拟游戏角色的主武器。图2中208表示副武器栏,其用于控制虚拟游戏角色的副武器。图2中的209表示血条,其用于显示虚拟游戏角色的血量。图2中的2010表示投掷物控件,其用于投放投掷物。In Figure 2, 206 represents the medical supplies control, used to store the medical supplies available to the virtual game character. 207 represents the main weapon slot, used to control the virtual game character's main weapon. 208 represents the secondary weapon slot, used to control the virtual game character's secondary weapon. 209 represents the health bar, used to display the virtual game character's health. 2010 represents the throwable item control, used to throw projectiles.

图2中的2011表示头盔控件,其用于显示头盔状态。图2中的2012表示护甲控件,其用于显示护甲状态。图2中的2013表示饥饿状态控件,其用于显示虚拟游戏角色的饥饿状态。图2中的2014表示探测提示控件,其用于设置探测道具。图2中的2015表示射击模式控件,其用于切换自动射击模式和半自动射击模式。图2中的2016表示近战武器控件,其用于控制近战武器。图2中的2017表示手枪控件,其用于控制手枪。In Figure 2, 2011 represents the helmet control, used to display the helmet's status. Figure 2, 2012 represents the armor control, used to display the armor's status. Figure 2, 2013 represents the hunger status control, used to display the virtual game character's hunger status. Figure 2, 2014 represents the detection tool control, used to set detection items. Figure 2, 2015 represents the firing mode control, used to switch between automatic and semi-automatic firing modes. Figure 2, 2016 represents the melee weapon control, used to control melee weapons. Figure 2, 2017 represents the pistol control, used to control pistols.

图2中的2018表示换弹控件,其用于控制虚拟游戏角色切换子弹。图2中的2019表示蹲下控件,其用于控制虚拟游戏角色执行蹲下动作。图2中的2020表示趴下控件,其用于控制虚拟游戏角色执行趴下动作。图2中的2021表示跳跃控件,其用于控制虚拟游戏角色执行跳跃动作。In Figure 2, 2018 represents the reload control, used to control the virtual game character to switch bullets. 2019 represents the crouch control, used to control the virtual game character to crouch. 2020 represents the prone control, used to control the virtual game character to prone. 2021 represents the jump control, used to control the virtual game character to jump.

图2中的2022表示倍率切换控件,其用于对瞄准镜的倍率进行切换。图2中的2023表示瞄准控件,其用于控制瞄准镜瞄准虚拟对象。图2中的2024表示外界求救控件,其用于向局外大厅玩家和/或好友求救。图2中的2025表示附近求救控件,其用于向局内的玩家求救。图2中的2026表示检视控件,其用于对武器进行检视。图2中的2027表示设置控件,其用于设置第一控制区域和/或第二控制区域。图2中的2028表示救援控件,其用于救援其他玩家。图2中的2029表示技能控件,其用于设置技能的持续时间。In Figure 2, 2022 represents the magnification switch control, used to switch the magnification of the scope. Figure 2, 2023 represents the aiming control, used to control the scope's aim at a virtual object. Figure 2, 2024 represents the external SOS control, used to request help from players and/or friends in the lobby outside the game. Figure 2, 2025 represents the nearby SOS control, used to request help from players within the game. Figure 2, 2026 represents the inspection control, used to inspect weapons. Figure 2, 2027 represents the settings control, used to set the first control area and/or the second control area. Figure 2, 2028 represents the rescue control, used to rescue other players. Figure 2, 2029 represents the skill control, used to set the duration of skills.

图2中的2030表示宠物控制控件,其用于放出虚拟游戏角色的宠物。图2中的2031表示专注技能控件,其用于释放专注技能。图2中的2032表示标记控件,其用于标记某一个位置。图2中的2033表示聊天控件,其用于在游戏对局内发送和接收消息。图2中的2034表示喇叭控件,其用于播放游戏对局内的声音。图2中的2035表示话筒控件,其用于采集玩家的声音。图2中的2036表示游戏设置控件,其用于设置游戏对局内的相关配置。图2中的2037表示动作控件,其用于控制虚拟游戏角色的相关动作。图2中的2038表示手电筒。图2中的2039表示可拾取物资。图2中的2040表示风暴进度条。Figure 2 shows the following controls in Figure 2: 2030 represents the pet control, used to release the virtual game character's pet; 2031 represents the focus skill control, used to unleash the focus skill; 2032 represents the marker control, used to mark a location; 2033 represents the chat control, used to send and receive messages during gameplay; 2034 represents the megaphone control, used to play in-game sounds; 2035 represents the microphone control, used to capture player voices; 2036 represents the game settings control, used to configure in-game settings; 2037 represents the action control, used to control the virtual game character's actions; 2038 represents the flashlight; 2039 represents lootable resources; and 2040 represents the storm progress bar.

以下结合附图分别进行详细说明。需说明的是,以下实施例的描述顺序不作为对实施例优选顺序的限定。虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于附图所示的顺序执行所示出或描述的步骤。The following is a detailed description in conjunction with the accompanying drawings. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments. Although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown in the drawings.

在本实施例中,以终端为例进行说明,本实施例提供了一种游戏控制方法,通过终端提供图形用户界面,图形用户界面包括探测提示控件,探测提示控件对应于受控虚拟角色的探测道具,该游戏控制方法如图3所示,该游戏控制方法的具体流程可以如下:In this embodiment, a terminal is used as an example for illustration. This embodiment provides a game control method, which provides a graphical user interface through the terminal. The graphical user interface includes a detection prompt control, which corresponds to a detection tool of the controlled virtual character. The game control method is shown in Figure 3. The specific flow of the game control method is as follows:

301、响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具。301. In response to the first trigger operation of the detection prompt control, a detection item interface is displayed on the graphical user interface, which includes several detection items that the controlled virtual character has equipped.

其中,在图形用户界面上显示探测提示控件时,可以是在游戏对局外,在图形用户界面上显示探测提示控件,此时,在响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面之前,受控虚拟角色未进入游戏对局中,或者,在图形用户界面上显示探测提示控件时,也可以是在游戏对局内,在图形用户界面上显示探测提示控件。当在游戏对局内,在图形用户界面上显示探测提示控件时,还可以在图形用户界面上显示至少部分游戏场景,此时,在响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面之前,受控虚拟角色已经进入游戏对局中。The detection prompt control can be displayed on the graphical user interface (GUI) outside of a game session. In this case, the controlled virtual character has not entered the game session before the detection item interface is displayed on the GUI in response to the first trigger operation on the detection prompt control. Alternatively, the detection prompt control can be displayed on the GUI within a game session. When the detection prompt control is displayed on the GUI within a game session, at least a portion of the game scene can also be displayed on the GUI. In this case, the controlled virtual character has already entered the game session before the detection item interface is displayed on the GUI in response to the first trigger operation on the detection prompt control.

当在游戏对局内,在图形用户界面上显示探测提示控件时,实现在游戏对局内进行探测道具的相关设置,当在游戏对局外,在图形用户界面上显示探测提示控件时,实现在游戏对局外进行探测道具的相关设置。When the detection tooltip control is displayed on the graphical user interface during a game, the relevant settings for the detection tool can be configured within the game. When the detection tooltip control is displayed on the graphical user interface outside of a game, the relevant settings for the detection tool can also be configured outside of a game.

游戏场景,也可以称为虚拟场景,其是应用程序在终端或服务器上运行时可以显示的虚拟场景。至少部分游戏场景,指应用程序在终端或服务器上运行时当前显示的虚拟场景。A game scene, also known as a virtual scene, is a virtual scene that an application can display when running on a terminal or server. At least some game scenes refer to the virtual scene currently displayed when an application runs on a terminal or server.

虚拟场景为用户控制虚拟角色实现完整游戏逻辑的场景,例如,对于沙盒类3D射击游戏中,虚拟场景为用于供玩家控制虚拟角色进行对战的3D游戏世界,又例如,在射击类动作游戏中,虚拟场景为用于供玩家控制虚拟角色进行射击的3D游戏世界。A virtual scene is a scenario in which users control virtual characters to implement complete game logic. For example, in a sandbox 3D shooting game, the virtual scene is a 3D game world in which players control virtual characters to fight. In a shooting action game, the virtual scene is a 3D game world in which players control virtual characters to shoot.

可选地,该虚拟场景可以是对真实世界的仿真环境,或者是半仿真半虚构的虚拟环境,或者是纯虚构的虚拟环境。虚拟场景是二维虚拟场景和三维虚拟场景中的任意一种。Optionally, the virtual scene can be a simulation of the real world, a semi-simulated/semi-fictional virtual environment, or a purely fictional virtual environment. The virtual scene can be either a two-dimensional or a three-dimensional virtual scene.

当在游戏对局外,在图形用户界面上显示探测提示控件时,受控虚拟角色可以指游戏中的所有虚拟角色中的任何一个虚拟角色,或者,当在游戏对局外,在图形用户界面上显示探测提示控件时,受控虚拟角色可以为玩家选择的某一个游戏角色,此时,开启游戏对局后,受控虚拟角色进入游戏对局中,当在游戏对局内,在图形用户界面上显示探测提示控件时,受控虚拟角色可以指在至少部分游戏场景中通过电子设备控制的虚拟角色。When a probe hint control is displayed on the graphical user interface outside of a game match, the controlled virtual character can refer to any one of the virtual characters in the game. Alternatively, when a probe hint control is displayed on the graphical user interface outside of a game match, the controlled virtual character can refer to a game character selected by the player. In this case, the controlled virtual character enters the game match after it is started. When a probe hint control is displayed on the graphical user interface during a game match, the controlled virtual character can refer to a virtual character controlled by an electronic device in at least part of the game scene.

探测提示控件对应于受控虚拟角色的探测道具,可以理解为探测提示控件用于设置受控虚拟角色的探测道具,探测提示控件的形状可以根据实际情况进行设置,比如,探测提示控件可以为三角形控件或梯形控件,本公开实施例在此不做限定。The detection prompt control corresponds to the detection tool of the controlled virtual character. It can be understood that the detection prompt control is used to set the detection tool of the controlled virtual character. The shape of the detection prompt control can be set according to the actual situation. For example, the detection prompt control can be a triangular control or a trapezoidal control. This embodiment of the disclosure does not limit it.

探测提示控件在图形用户界面上的位置可以根据实际情况进行设置,比如,探测提示控件可以位于图形用户界面上的中下位置,比如,如图4所示,或者,探测提示控件也可以位于图形用户界面上的右下位置,比如,如图5所示,本公开实施例在此不做限定。The position of the detection prompt control on the graphical user interface can be set according to the actual situation. For example, the detection prompt control can be located in the lower middle position of the graphical user interface, as shown in Figure 4. Alternatively, the detection prompt control can also be located in the lower right position of the graphical user interface, as shown in Figure 5. This embodiment of the present disclosure does not limit the position.

对探测提示控件的第一触发操作的类型可以根据实际情况进行设置,比如,第一触发操作可以为点击操作或长按操作,本公开实施例在此不做限定。The type of the first trigger operation for the detection prompt control can be set according to the actual situation. For example, the first trigger operation can be a click operation or a long press operation. This embodiment of the present disclosure does not limit this.

探测道具指可以对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的道具。探测道具的功能可以根据实际情况进行设置,比如,探测道具可以为具备危险探测功能的道具、具备生命探测功能的道具或具备物资探测功能的道具,当探测道具为具备危险探测功能的道具时,探测道具可以称为危险探测道具,此时,可以通过危险探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息中是否存在敌方虚拟角色进行探测,当探测道具为具备生命探测功能的道具时,探测道具可以称为生命探测道具,此时,通过生命探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息中是否存在虚拟角色进行探测,当探测道具为具备物资探测功能的道具时,探测道具可以称为寻金探测道具,此时,可以通过寻金探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息中存在物资的虚拟角色进行探测。Detection tools are items that can detect the game environment information of a controlled virtual character's location within the game scene. The functions of detection tools can be configured according to the actual situation. For example, detection tools can have danger detection, life detection, or resource detection functions. When a detection tool has danger detection, it can be called a danger detection tool. In this case, it can be used to detect whether there are enemy virtual characters in the game environment information of the controlled virtual character's location. When a detection tool has life detection, it can be called a life detection tool. In this case, it can be used to detect whether there are virtual characters in the game environment information of the controlled virtual character's location. When a detection tool has resource detection, it can be called a gold-hunting detection tool. In this case, it can be used to detect virtual characters with resources in the game environment information of the controlled virtual character's location.

受控虚拟角色已装备的若干个探测道具,可以指受控虚拟角色已配备的若干个探测道具。其中,可以通过道具拾取方式或道具购买方式,为受控虚拟角色配备若干个探测道具。受控虚拟角色已装备的若干个探测道具可以位于受控虚拟角色的背包中,也可以被装备在受控虚拟角色的某一个部位上。The term "several detection items equipped by a controlled virtual character" refers to the various detection items that the controlled virtual character already possesses. These detection items can be acquired through item pickup or purchase. The controlled virtual character's equipped detection items can be located in their inventory or equipped on a specific part of their body.

可选地,在探测道具界面上可以显示若干个探测道具的图形标识和文字标识中的至少一种。比如,若干个探测道具包括三个探测道具,三个探测道具分别为生命探测道具、寻金探测道具以及危险探测道具,当在探测道具界面上显示若干个探测道具的图形标识和文字标识时,探测道具界面可以如图6所示。Optionally, the detection tool interface can display at least one of the graphic and text icons of several detection tools. For example, the several detection tools include three detection tools: a life detection tool, a gold detection tool, and a danger detection tool. When the graphic and text icons of several detection tools are displayed on the detection tool interface, the detection tool interface can be as shown in Figure 6.

在一些实施例中,探测道具界面包括关闭控件,在响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面之后,还包括:In some embodiments, the detection tool interface includes a close control, and after displaying the detection tool interface on the graphical user interface in response to a first triggering operation of the detection prompt control, it further includes:

响应于对关闭控件的触发操作,关闭显示探测道具界面。In response to the triggering operation of the close control, the display of the detection item interface is closed.

比如,关闭控件可以如图6所示的“×”,响应于对关闭控件的点击操作,关闭显示探测道具界面。For example, the close control can be an "×" as shown in Figure 6, which closes the detection item interface in response to clicking the close control.

在一些实施例中,在响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面之后,还包括:In some embodiments, after displaying the detection tool interface on the graphical user interface in response to a first triggering operation of the detection prompt control, the method further includes:

响应于对探测提示控件的第二触发操作,关闭显示探测道具界面。In response to a second trigger operation on the detection prompt control, the detection item interface is closed.

其中,第二触发操作和第一触发操作可以为同个类型的触发操作,比如,第一触发操作和第二触发操作均为点击操作,当未显示探测道具界面时,响应于对探测提示控件的点击操作,显示探测道具界面,当显示探测道具界面时,响应于对探测提示控件的点击操作,关闭探测道具界面。或者,第二触发操作和第一触发操作为不同类型的触发操作,比如,第一触发操作为点击操作,第二触发操作可以为长按操作,本公开实施例在此不做限定。In this embodiment, the second triggering operation and the first triggering operation can be of the same type. For example, both the first and second triggering operations can be click operations. When the detection item interface is not displayed, the detection item interface is displayed in response to a click operation on the detection prompt control. When the detection item interface is displayed, the detection item interface is closed in response to a click operation on the detection prompt control. Alternatively, the second and first triggering operations can be of different types. For example, the first triggering operation can be a click operation, and the second triggering operation can be a long press operation. This embodiment does not limit the specific type of triggering operation.

302、响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,其中,探测结果表征受控虚拟角色通过使用目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果。302. In response to a trigger operation on the detection prop interface, the target detection prop among several detection props is set as the detection prop currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface are determined, wherein the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.

其中,对探测道具界面的触发操作,可以根据实际情况进行设置,比如,触发操作可以为点击操作、滑动操作或旋转操作,本公开实施例在此不做限定。The triggering operation for the detection prop interface can be set according to the actual situation. For example, the triggering operation can be a click operation, a swipe operation, or a rotation operation. This embodiment of the disclosure does not limit the specific actions taken.

显示参数指表征提示图形的显示效果的参数。显示参数的类型可以根据实际情况进行设置,比如,显示参数可以包括显示区域、显示方向、显示颜色以及显示形状中的至少一种,显示区域可以包括在至少一个方向上的显示尺寸,本公开实施例在此不做限定。Display parameters refer to parameters that characterize the display effect of the prompt graphic. The type of display parameters can be set according to the actual situation. For example, display parameters may include at least one of display area, display direction, display color, and display shape. The display area may include the display size in at least one direction. This disclosure does not limit the specific display parameters.

当显示参数中不包括显示形状时,提示图形的形状可以为预定形状,预定形状可以为二维形状,也可以为三维形状。预定形状可以根据实际情况进行设置,比如,预定形状可以为梯形或三角形,本公开实施例在此不做限定。When the display parameters do not include a display shape, the shape of the prompt graphic can be a predetermined shape, which can be a two-dimensional shape or a three-dimensional shape. The predetermined shape can be set according to the actual situation. For example, the predetermined shape can be a trapezoid or a triangle. This embodiment of the present disclosure does not limit the specific shape.

当提示图形的形状为预定形状时,提示图形的尺寸可以为默认的尺寸,或者,提示图形的尺寸可以通过显示参数中的显示区域进行动态设置,也即是,通过动态调整显示区域,从而动态调整提示图形的尺寸。When the shape of the prompt graphic is a predetermined shape, the size of the prompt graphic can be the default size, or the size of the prompt graphic can be dynamically set through the display area in the display parameters. That is, the size of the prompt graphic can be dynamically adjusted by dynamically adjusting the display area.

可选地,当动态调整提示图形的尺寸时,可以对提示图形的各个边均进行调整,也可以是只对提示图形的部分边进行调整。比如,当提示图形为梯形时,梯形的短边可以是固定的,梯形的长边和腰是可以动态调整的,又比如,当提示图形为三角形时,三角形的夹角和边的长度是可以动态调整的。Optionally, when dynamically adjusting the size of the prompt graphic, all sides of the prompt graphic can be adjusted, or only some sides of the prompt graphic can be adjusted. For example, when the prompt graphic is a trapezoid, the shorter side of the trapezoid can be fixed, while the longer side and legs of the trapezoid can be dynamically adjusted. Or, for example, when the prompt graphic is a triangle, the included angle and the length of the sides of the triangle can be dynamically adjusted.

当提示图形的形状为预定形状时,提示图形的显示方向可以为默认的显示方向,或者,也可以对提示图形的显示方向进行动态调整。其中,默认的方向可以以受控虚拟角色在游戏场景中所在位置或所在位置的相对位置为基准位置(所在位置的相对位置比如可以为正前方0.5米),比如,默认的显示方向可以为受控虚拟角色的正前方。When the shape of the prompt graphic is a predetermined shape, the display direction of the prompt graphic can be the default display direction, or the display direction of the prompt graphic can be dynamically adjusted. The default direction can be based on the position of the controlled virtual character in the game scene or the relative position of the position (the relative position can be, for example, 0.5 meters directly in front). For example, the default display direction can be directly in front of the controlled virtual character.

当探测结果不相同时,指示探测结果的提示图形不相同。当提示图形不相同时,可以是提示图形的形状不同,也可以是提示图形的颜色不同,本公开实施例在此不做限定。When the detection results are different, the prompt graphics indicating the detection results are different. When the prompt graphics are different, it can be that the shape of the prompt graphics is different or that the color of the prompt graphics is different; this embodiment of the present disclosure is not limited to this.

当提示图形不同时,不同的提示图形的显示参数可以是相同的,也可以是不相同的。比如,提示图形不同指提示图形的颜色不同,显示参数可以包括显示方向和显示区域,探测结果包括第一探测结果和第二探测结果,指示第一探测结果的提示图形为红色的提示图形,指示第二探测结果的提示图形为绿色的提示图形,红色的提示图形和绿色的提示图形的显示方向和显示区域是相同的。When the prompt graphics are different, the display parameters of the different prompt graphics can be the same or different. For example, different prompt graphics may mean different colors. The display parameters can include the display direction and the display area. The detection results include a first detection result and a second detection result. The prompt graphic indicating the first detection result is red, and the prompt graphic indicating the second detection result is green. The display direction and display area of the red prompt graphic and the green prompt graphic are the same.

第一探测结果可以指受控虚拟角色在游戏场景中所处位置的游戏环境信息中存在某一些虚拟角色的探测结果,第一探测结果可以指受控虚拟角色在游戏场景中所处位置的游戏环境信息中不存在某一些虚拟角色的探测结果。The first detection result can refer to the detection result of certain virtual characters existing in the game environment information of the location of the controlled virtual character in the game scene, or the detection result of certain virtual characters not existing in the game environment information of the location of the controlled virtual character in the game scene.

不同探测道具的第一探测结果不相同,不同探测道具的第二探测结果也不相同。比如,探测道具可以包括危险探测道具、生命探测道具和寻金探测道具,危险探测道具的第一探测结果可以为受控虚拟角色在游戏场景中所处位置的游戏环境信息中存在敌方虚拟角色,危险探测道具的第二探测结果可以为受控虚拟角色在游戏场景中所处位置的游戏环境信息中不存在敌方虚拟角色,生命探测道具的第一探测结果为受控虚拟角色在游戏场景中所处位置的游戏环境信息中存在虚拟角色,生命探测道具的第二探测结果为受控虚拟角色在游戏场景中所处位置的游戏环境信息中不存在虚拟角色,寻金探测道具的第一探测结果为受控虚拟角色在游戏场景中所处位置的游戏环境信息中存在高物资价值水平的虚拟角色,寻金探测道具的第二探测结果为受控虚拟角色在游戏场景中所处位置的游戏环境信息中不存在高物资价值水平的虚拟角色。Different detection tools yield different first detection results, and their second detection results also differ. For example, detection tools can include danger detection tools, life detection tools, and gold detection tools. The first detection result of a danger detection tool is the presence of an enemy virtual character in the game environment information at the controlled virtual character's location in the game scene; the second detection result is the absence of an enemy virtual character in the game environment information at the controlled virtual character's location. Similarly, the first detection result of a life detection tool is the presence of a virtual character in the game environment information at the controlled virtual character's location; the second detection result is the absence of a virtual character in the game environment information at the controlled virtual character's location. Likewise, the first detection result of a gold detection tool is the presence of a virtual character with high resource value in the game environment information at the controlled virtual character's location; the second detection result is the absence of a virtual character with high resource value in the game environment information at the controlled virtual character's location.

可选地,可以是响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,和/或,响应于对探测道具界面的触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,也即是,响应于对探测道具界面的触发操作,可以设置目标探测道具和/或设置显示参数。Optionally, in response to a trigger operation on the detection tool interface, the target detection tool among several detection tools may be set as the detection tool currently used by the controlled virtual character, and/or, in response to a trigger operation on the detection tool interface, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface may be determined. That is, in response to a trigger operation on the detection tool interface, the target detection tool and/or the display parameters may be set.

当响应于对探测道具界面的触发操作,只是将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具时,指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数可以为历史设置的显示参数或默认的显示参数。当响应于对探测道具界面的触发操作,只是确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数时,目标探测道具可以为受控虚拟角色历史使用的探测道具或默认的探测道具。When responding to a trigger operation on the detection tool interface, and only setting the target detection tool among several detection tools to the detection tool currently used by the controlled virtual character, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface can be either historically set display parameters or default display parameters. When responding to a trigger operation on the detection tool interface, and only determining the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface, the target detection tool can be a detection tool historically used by the controlled virtual character or a default detection tool.

当响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具时,可以是响应于对若干个探测道具中的目标探测道具的选择操作,将目标探测道具设置为受控虚拟角色当前使用的探测道具。When a target detection item is set as the detection item currently used by the controlled virtual character in response to a trigger operation on the detection item interface, the target detection item can be set as the detection item currently used by the controlled virtual character in response to a selection operation on the target detection item.

当响应于对探测道具界面的触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数时,可以是探测道具界面包括参数设置子区域,响应于对参数设置子区域的触发操作,根据触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数。When a trigger operation is performed on the detection tool interface, and the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined, the detection tool interface may include a parameter setting sub-area. In response to a trigger operation on the parameter setting sub-area, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation.

其中,对参数设置子区域的触发操作可以根据实际情况进行设置,比如,对参数设置子区域的触发操作可以为输入操作、滑动操作、点击操作或旋转操作,本公开实施例在此不做限定。The triggering operation for the parameter setting sub-area can be set according to the actual situation. For example, the triggering operation for the parameter setting sub-area can be an input operation, a sliding operation, a clicking operation, or a rotation operation. This embodiment of the present disclosure does not limit the specific operation.

当对参数设置子区域的触发操作为输入操作时,参数设置子区域可以包括数字控件,触发操作为输入操作,响应于对数字控件的输入操作,获取输入的数值,输入的数值即为显示参数,比如,如图7所示,显示参数包括显示区域和显示方向,数字控件包括显示区域控件和显示方向控件,响应于对显示区域控件的输入操作,获取输入的数值,输入的数值即为表征显示区域的数值,响应于对显示方向控件的输入操作,获取输入的数值,输入的数值即为表征显示方向的数值。When the trigger operation for the parameter setting sub-area is an input operation, the parameter setting sub-area can include a numeric control. In response to the input operation on the numeric control, the input value is obtained, and this input value is the display parameter. For example, as shown in Figure 7, the display parameters include the display area and the display direction. The numeric control includes a display area control and a display direction control. In response to the input operation on the display area control, the input value is obtained, and this input value represents the display area. In response to the input operation on the display direction control, the input value is obtained, and this input value represents the display direction.

当对参数设置子区域的触发操作为点击操作或滑动操作时,参数设置子区域可以包括至少一个滑动控件,显示参数可以包括在至少一个方向上的显示尺寸,此时,响应于对参数设置子区域的触发操作,根据触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,包括:When the trigger operation for the parameter setting sub-area is a click or a swipe operation, the parameter setting sub-area may include at least one swipe control, and the display parameters may include the display size in at least one direction. In this case, in response to the trigger operation on the parameter setting sub-area, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation, including:

响应于对至少一个滑动控件的触发操作,确定触发操作在至少一个滑动控件上对应的位置;In response to a trigger operation on at least one slider control, determine the position of the trigger operation on at least one slider control;

根据位置,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的至少一个方向上的显示尺寸。Based on the location, determine the display size of the prompt graphic indicating the detection results of the target detection tool in at least one direction on the graphical user interface.

其中,至少一个滑动控件的数量可以根据实际情况进行设置,比如,至少一个滑动控件可以包括两个滑动控件或三个滑动控件(当至少一个滑动控件包括两个滑动控件时,参数设置子区域可以如图8所示),本公开实施例在此不做限定。The number of at least one sliding control can be set according to the actual situation. For example, at least one sliding control may include two or three sliding controls (when at least one sliding control includes two sliding controls, the parameter setting sub-area can be as shown in Figure 8). This embodiment of the present disclosure does not limit this.

对不同的滑动控件的触发操作,可以用于设置提示图形在不同方向上的显示尺寸。比如,当至少一个滑动控件包括横向滑动控件和纵向滑动控件时,横向滑动控件可以用于设置提示图形在横向上的显示尺寸,纵向滑动控件可以用于设置提示图形在纵向上的显示尺寸。The triggering operations of different sliding controls can be used to set the display size of the tooltip graphic in different directions. For example, when at least one sliding control includes a horizontal sliding control and a vertical sliding control, the horizontal sliding control can be used to set the display size of the tooltip graphic in the horizontal direction, and the vertical sliding control can be used to set the display size of the tooltip graphic in the vertical direction.

对至少一个滑动控件的触发操作,可以是对至少一个滑动控件的滑动操作或点击操作,本公开实施例在此不做限定。The triggering operation for at least one sliding control can be a sliding operation or a clicking operation on at least one sliding control, and this disclosure embodiment does not limit it.

当对滑动控件的触发操作为滑动操作时,触发操作对应的位置为滑动操作对应的结束位置。终端在确定触发操作在至少一个滑动控件上对应的位置之后,可以确定该位置对应的显示尺寸,然后将该位置对应的显示尺寸,确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的至少一个方向上的显示尺寸。When the trigger operation for a sliding control is a sliding operation, the position corresponding to the trigger operation is the end position corresponding to the sliding operation. After determining the position of the trigger operation on at least one sliding control, the terminal can determine the display size corresponding to that position, and then determine the display size corresponding to that position as the display size of the prompt graphic indicating the detection result of the target detection tool in at least one direction on the graphical user interface.

比如,滑动控件上包括滑块,将滑动控件上的滑块滑动到A位置,A位置可以如图8所示,A位置对应的显示尺寸为a,则提示图形在横向上的显示尺寸为a。For example, if a slider is included in the sliding control, and the slider is slid to position A, as shown in Figure 8, and the display size corresponding to position A is 'a', then the display size of the prompt graphic in the horizontal direction is 'a'.

应理解,终端在确定提示图形的显示尺寸之后,可以根据尺寸基准位置和显示尺寸,确定提示图形的显示区域,其中,尺寸基准位置可以为受控虚拟角色在游戏场景中所在位置,或者,尺寸基准位置可以为提示图形的某一条边或某一个顶点。It should be understood that after determining the display size of the prompt graphic, the terminal can determine the display area of the prompt graphic based on the size reference position and the display size. The size reference position can be the position of the controlled virtual character in the game scene, or it can be a certain edge or a certain vertex of the prompt graphic.

比如,如图9中所示,提示图形为梯形,梯形的短边为固定的,以梯形的短边作为尺寸基准位置,提示图形的显示尺寸为梯形的长边的长度和梯形的腰的长度,当梯形的长边的长度为a1,梯形的腰的长度为a2时,提示图形可以如图9中901所示,当梯形的长边的长度为a3,梯形的腰的长度为a4时,提示图形可以如图9中902所示。For example, as shown in Figure 9, the prompt graphic is a trapezoid with a fixed short side. Using the short side of the trapezoid as the size reference position, the display size of the prompt graphic is the length of the long side and the length of the leg of the trapezoid. When the length of the long side of the trapezoid is a1 and the length of the leg of the trapezoid is a2, the prompt graphic can be as shown in 901 of Figure 9. When the length of the long side of the trapezoid is a3 and the length of the leg of the trapezoid is a4, the prompt graphic can be as shown in 902 of Figure 9.

在本公开实施例中,响应于对至少一个滑动控件的触发操作,确定触发操作在至少一个滑动控件上对应的位置,根据位置,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的至少一个方向上的显示尺寸,实现通过对滑动控件的触发操作,确定提示图形的显示尺寸,提高设置显示尺寸的便捷度。In this embodiment of the present disclosure, in response to a trigger operation on at least one sliding control, the position corresponding to the trigger operation on at least one sliding control is determined. Based on the position, the display size of the prompt graphic indicating the detection result of the target detection tool in at least one direction on the graphical user interface is determined, thereby realizing the determination of the display size of the prompt graphic through the trigger operation of the sliding control, improving the convenience of setting the display size.

当对参数设置子区域的触发操作为旋转操作时,参数设置子区域包括旋转控件,显示参数包括显示方向,响应于对参数设置子区域的触发操作,根据触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,包括:When the trigger operation for the parameter setting sub-area is a rotation operation, the parameter setting sub-area includes a rotation control, and the display parameters include the display direction. In response to the trigger operation on the parameter setting sub-area, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined based on the trigger operation, including:

响应于对旋转控件的旋转操作,获取旋转角度;In response to a rotation operation on the rotation control, obtain the rotation angle;

基于旋转角度以及指示目标探测道具的探测结果的提示图形的当前显示方向,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示方向。Based on the rotation angle and the current display orientation of the prompt graphic indicating the detection results of the target detection tool, determine the display orientation of the prompt graphic on the graphical user interface.

其中,旋转控件可以基于旋转基准方向进行360°旋转,使得可以通过旋转控件对提示图形的显示方向进行360°的调整。比如,旋转基准方向如图10所示,当控制旋转控件往左方向旋转90°时,旋转角度为90°,接着,继续控制旋转控件往左方向旋转30°,旋转角度为30°。The rotation control can rotate 360° based on a rotation reference direction, allowing the display direction of the prompt graphic to be adjusted 360°. For example, as shown in Figure 10, when the rotation reference direction is controlled to rotate 90° to the left, the rotation angle is 90°. Then, if the rotation control is controlled to rotate 30° to the left, the rotation angle is 30°.

由于在旋转之前,提示图形的当前显示方向并不一定是旋转基准方向,因此,终端在得到旋转角度之后,可以根据旋转角度和提示图形的当前显示方向,确定显示方向。Since the current display direction of the prompt graphic is not necessarily the rotation reference direction before rotation, the terminal can determine the display direction based on the rotation angle and the current display direction of the prompt graphic after obtaining the rotation angle.

比如,当控制旋转控件从旋转基准方向开始往左旋转90°时,旋转角度为90°,当前显示方向为旋转基准方向,也即是,当前显示方向为0°方向,此时,显示方向为90°方向,接着,继续控制旋转控件往左方向旋转30°,此时,旋转角度为30°,当前显示方向为90°方向,则显示方向为120°方向。For example, when the rotation control is controlled to rotate 90° to the left from the rotation reference direction, the rotation angle is 90°, and the current display direction is the rotation reference direction, that is, the current display direction is the 0° direction. At this time, the display direction is the 90° direction. Then, if the rotation control is controlled to rotate 30° to the left, the rotation angle is 30°, and the current display direction is the 90° direction, then the display direction is the 120° direction.

提示图形的当前显示方向可以为历史设置的显示方向或默认的显示方向,默认的显示方向即为旋转基准方向。旋转基准方向可以根据实际情况进行设置,比如,旋转基准方向可以为受控虚拟角色的正前方。The current display orientation of the prompt graphic can be either a historically set orientation or the default orientation. The default orientation is the rotation reference orientation. The rotation reference orientation can be set according to the actual situation; for example, it can be the front of the controlled virtual character.

在本公开实施例中,响应于对旋转控件的旋转操作,获取旋转角度,基于旋转角度以及指示目标探测道具的探测结果的提示图形的当前显示方向,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示方向,实现通过旋转控件控制提示图形的显示方向,提高设置显示方向的便捷度。In this embodiment of the disclosure, in response to the rotation operation of the rotation control, the rotation angle is obtained. Based on the rotation angle and the current display direction of the prompt graphic indicating the detection result of the target detection tool, the display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface is determined, thereby realizing the control of the display direction of the prompt graphic through the rotation control and improving the convenience of setting the display direction.

在一些实施例中,响应于对参数设置子区域的触发操作,根据触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,包括:In some embodiments, in response to a trigger operation on a parameter setting sub-region, display parameters for a prompt graphic indicating the detection result of a target detection tool on a graphical user interface are determined based on the trigger operation, including:

响应于对参数设置子区域的触发操作,根据触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的候选显示参数;In response to a trigger operation on the parameter setting sub-area, candidate display parameters for the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined based on the trigger operation.

根据候选显示参数显示提示图形;Display prompt graphics based on candidate display parameters;

响应于参数确认事件,将候选显示参数确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数。In response to a parameter confirmation event, candidate display parameters are determined as the display parameters of the prompt graphic on the graphical user interface that indicate the detection results of the target detection tool.

其中,参数确认事件指表示将候选显示参数确认设置为显示参数的事件,其可以根据实际情况进行设置,比如,参数设置子区域上可以包括确认控件,响应于对确认控件的触发操作,生成参数确认事件,又比如,当触发操作为滑动操作或旋转操作时,可以是在检测到滑动操作的松开操作或旋转操作的松开操作时,生成参数确认事件,本公开实施例在此不做限定。Among them, the parameter confirmation event refers to the event that confirms the candidate display parameter as the display parameter. It can be set according to the actual situation. For example, the parameter setting sub-area can include a confirmation control. In response to the triggering operation of the confirmation control, the parameter confirmation event is generated. Or, when the triggering operation is a sliding operation or a rotating operation, the parameter confirmation event can be generated when the release operation of the sliding operation or the release operation of the rotating operation is detected. The embodiments of this disclosure are not limited here.

比如,当参数设置子区域包括至少一个滑动控件,显示参数包括在至少一个方向上的显示尺寸时,终端在响应于对至少一个滑动控件的滑动操作之前,提示图形的显示尺寸为a1和a2,在图形用户界面上显示的提示图形可以如图11中1101所示,终端响应于对至少一个滑动控件的滑动操作,确定候选显示尺寸为a3和a4,此时,在图形用户界面上显示的提示图形更新为如图11中1102所示。For example, when the parameter setting sub-area includes at least one sliding control and the display parameters include the display size in at least one direction, the terminal prompts the display size of the graphic as a1 and a2 before responding to the sliding operation of the at least one sliding control. The prompt graphic displayed on the graphical user interface can be as shown in 1101 of Figure 11. In response to the sliding operation of the at least one sliding control, the terminal determines the candidate display size as a3 and a4. At this time, the prompt graphic displayed on the graphical user interface is updated as shown in 1102 of Figure 11.

又比如,当参数设置子区域包括旋转控件,显示参数包括显示方向时,终端在响应于对旋转控件的旋转操作之前,提示图形的显示方向为正前方,在图形用户界面上显示的提示图形可以如图12中1201所示,终端响应于对旋转控件的旋转操作,确定旋转角度为30°,此时,候选显示方向为30°,在图形用户界面上显示的提示图形更新为如图12中1202所示。For example, when the parameter setting sub-area includes a rotation control and the display parameters include the display direction, before the terminal responds to the rotation operation of the rotation control, the display direction of the prompt graphic is facing forward. The prompt graphic displayed on the graphical user interface can be as shown in 1201 in Figure 12. When the terminal responds to the rotation operation of the rotation control and determines the rotation angle to be 30°, the candidate display direction is 30°, and the prompt graphic displayed on the graphical user interface is updated to be as shown in 1202 in Figure 12.

在本实施例中,响应于对参数设置子区域的触发操作,根据触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的候选显示参数,根据候选显示参数显示提示图形,响应于参数确认事件,将候选显示参数确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,实现实时显示用户设置的显示参数对应的提示图形,提高设置显示参数的效率。In this embodiment, in response to a trigger operation on the parameter setting sub-area, candidate display parameters for the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation. The prompt graphic is displayed according to the candidate display parameters. In response to a parameter confirmation event, the candidate display parameters are determined as the display parameters for the prompt graphic indicating the detection result of the target detection tool on the graphical user interface, thereby realizing real-time display of the prompt graphic corresponding to the display parameters set by the user and improving the efficiency of setting display parameters.

在一些实施例中,在确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数之后,还包括:In some embodiments, after determining the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface, the method further includes:

在受控虚拟角色处于游戏对局中之后,根据探测结果和显示参数,在图形用户界面上显示提示图形。Once the controlled virtual character is in a game, a prompt graphic is displayed on the graphical user interface based on the detection results and display parameters.

其中,当在响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面之前,受控虚拟角色已经处于游戏对局中时,在确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数之后,可以无需玩家操作,直接通过目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测,得到探测结果,然后根据显示参数,直接显示指示探测结果的提示图形,或者,在确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数之后,也可以响应于对探测提示控件的第四触发操作,根据探测结果和显示参数,在图形用户界面上显示提示图形。Specifically, if the controlled virtual character is already in the game before the detection item interface is displayed on the graphical user interface in response to the first trigger operation of the detection prompt control, after determining the display parameters of the prompt graphic indicating the detection result of the target detection item on the graphical user interface, the game environment information of the controlled virtual character's position in the game scene can be directly detected by the target detection item without player operation, and the detection result can be obtained. Then, according to the display parameters, the prompt graphic indicating the detection result can be directly displayed. Alternatively, after determining the display parameters of the prompt graphic indicating the detection result of the target detection item on the graphical user interface, the prompt graphic can also be displayed on the graphical user interface in response to the fourth trigger operation of the detection prompt control, based on the detection result and the display parameters.

当在响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面之前,受控虚拟角色未处于游戏对局时,在确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数之后,可以在检测到在受控虚拟角色处于游戏对局中之后,再根据探测结果和显示参数,在图形用户界面上显示提示图形。When the controlled virtual character is not in a game before the detection item interface is displayed on the graphical user interface in response to the first trigger operation of the detection prompt control, after determining the display parameters of the prompt graphic indicating the detection result of the target detection item on the graphical user interface, the prompt graphic can be displayed on the graphical user interface after detecting that the controlled virtual character is in a game, based on the detection result and display parameters.

可选地,可以是终端通过目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测,从而得到探测结果,或者,也可以是服务器通过目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测,得到探测结果,再把探测结果发送至终端,本公开实施例在此不做限定。Optionally, the terminal may use a target detection tool to detect the game environment information of the controlled virtual character's location in the game scene, thereby obtaining the detection result. Alternatively, the server may use a target detection tool to detect the game environment information of the controlled virtual character's location in the game scene, obtain the detection result, and then send the detection result to the terminal. This embodiment of the present disclosure does not limit the scope of the invention.

第四触发操作可以是和第一触操作不同类型的操作,或者,第四触发操作可以是和第一触发操作同个类型的操作。当第四触发操作和第一触发操作为不同类型的触发操作时,比如,第一触发操作可以为点击操作,第四触发操作可以为长按操作,又比如,第一触发操作可以为点击操作,第四触发操作可以为双击操作。The fourth trigger operation can be an operation of a different type than the first touch operation, or it can be an operation of the same type as the first trigger operation. When the fourth trigger operation and the first trigger operation are different types of trigger operations, for example, the first trigger operation can be a click operation and the fourth trigger operation can be a long press operation, or the first trigger operation can be a click operation and the fourth trigger operation can be a double-click operation.

当第四触发操作和第一触发操作为同个类型的操作时,探测提示控件可以包括显示子控件和设置子控件,第一触发操作可以是对设置子控件的触发操作,第四触发操作可以是对显示子控件的触发操作,比如,显示子控件和设置子控件可以如图4所示,第四触发操作和第一触发操作可以为点击操作,响应于对设置子控件的点击操作,在图形用户界面上显示探测道具界面,响应于对显示子控件的点击操作,在图形用户界面上显示提示图形。When the fourth trigger operation and the first trigger operation are of the same type, the detection prompt control can include a display sub-control and a setting sub-control. The first trigger operation can be a trigger operation on the setting sub-control, and the fourth trigger operation can be a trigger operation on the display sub-control. For example, the display sub-control and the setting sub-control can be as shown in Figure 4. The fourth trigger operation and the first trigger operation can be click operations. In response to the click operation on the setting sub-control, the detection prop interface is displayed on the graphical user interface. In response to the click operation on the display sub-control, the prompt graphic is displayed on the graphical user interface.

可选地,终端可以响应于对探测提示控件的第四触发操作,获取探测结果,然后根据显示参数,在图形用户界面上显示指示探测结果的提示图形,以便玩家可以通过提示图形获知探测结果。Optionally, the terminal may respond to a fourth trigger operation on the detection prompt control, obtain the detection result, and then display a prompt graphic indicating the detection result on the graphical user interface according to the display parameters, so that the player can know the detection result through the prompt graphic.

在一些实施例中,在根据探测结果和显示参数,在图形用户界面上显示提示图形之后,还包括:In some embodiments, after displaying a prompt graphic on the graphical user interface based on the detection results and display parameters, the method further includes:

响应于对探测提示控件的第三触发操作,根据显示参数,在图形用户界面上关闭提示图形。In response to a third trigger action on the probe prompt control, the prompt graphic is turned off on the graphical user interface according to the display parameters.

其中,第三触发操作和第四触发操作可以为同个类型的操作,也可以不是同个类型的操作,本公开实施例在此不做限定。The third and fourth triggering operations may be of the same type or different types; this disclosure does not limit this.

在本公开实施例中,在图形用户界面上显示提示图形之后,如果玩家无需再显示提示图形,还可以关闭提示图形。In this embodiment of the disclosure, after the prompt graphic is displayed on the graphical user interface, the prompt graphic can be turned off if the player no longer needs to display it.

在一些实施例中,探测道具界面还包括探测范围设置子区域,在响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面之后,还包括:In some embodiments, the detection tool interface further includes a detection range setting sub-area, and after displaying the detection tool interface on the graphical user interface in response to a first trigger operation on the detection prompt control, it further includes:

响应于对探测范围设置子区域的触发操作,设置探测道具在被受控虚拟角色使用时在游戏场景中的探测范围,探测范围包括受控虚拟角色在游戏场景中所处位置;In response to the trigger operation of setting a sub-region for the detection range, the detection range of the detection prop in the game scene is set when it is used by the controlled virtual character. The detection range includes the position of the controlled virtual character in the game scene.

在根据探测结果和显示参数,在图形用户界面上显示提示图形之前,还包括:Before displaying the prompt graphics on the graphical user interface based on the detection results and display parameters, the process also includes:

获取通过目标探测道具对探测范围进行探测得到的探测结果。Obtain the detection results obtained by using the target detection tool to detect the detection range.

其中,对探测范围设置子区域的触发操作,可以根据实际情况进行设置,比如,探测范围设置子区域可以包括范围调整控件,触发操作可以是对范围调整控件的缩小操作或放大操作(比如,如图14所示,范围调整控件越放大,探测范围越大,范围调整控件越缩小,探测范围越小),又比如,对探测范围设置子区域的触发操作,可以是对探测范围设置子区域的输入操作,本公开实施例在此不做限定。The trigger operation for setting the detection range sub-region can be set according to the actual situation. For example, the detection range setting sub-region may include a range adjustment control, and the trigger operation may be a zoom-out or zoom-in operation of the range adjustment control (for example, as shown in Figure 14, the larger the range adjustment control is, the larger the detection range is, and the smaller the range adjustment control is, the smaller the detection range is). Alternatively, the trigger operation for setting the detection range sub-region may be an input operation of the detection range setting sub-region. This embodiment of the present disclosure does not limit this operation.

探测范围包括受控虚拟角色所处位置,可以理解为受控虚拟角色在游戏场景中所处位置位于探测范围内,在探测时,以受控虚拟角色在游戏场景中所处位置为探测范围的中心,对探测范围内的游戏环境信息进行探测。The detection range includes the location of the controlled virtual character. It can be understood that the location of the controlled virtual character in the game scene is within the detection range. During detection, the location of the controlled virtual character in the game scene is taken as the center of the detection range, and the game environment information within the detection range is detected.

在本公开实施例中,响应于对探测范围设置子区域的触发操作,设置探测道具在被受控虚拟角色使用时在游戏场景中的探测范围,探测范围包括受控虚拟角色在游戏场景中所处位置,获取通过目标探测道具对探测范围进行探测得到的探测结果,实现玩家可以自定义探测道具的探测范围,提高玩家的游戏体验。In this embodiment of the disclosure, in response to the triggering operation of setting a sub-region of the detection range, the detection range of the detection prop in the game scene when used by the controlled virtual character is set. The detection range includes the position of the controlled virtual character in the game scene. The detection result obtained by detecting the detection range through the target detection prop is obtained, so that the player can customize the detection range of the detection prop and improve the player's game experience.

在一些实施例中,探测结果包括第一探测结果和第二探测结果,获取通过目标探测道具对探测范围进行探测得到的探测结果,包括:In some embodiments, the detection results include a first detection result and a second detection result. Obtaining the detection results obtained by detecting the detection range using a target detection tool includes:

通过目标探测道具,获取探测范围内的虚拟角色的属性值;Use target detection tools to obtain the attribute values of virtual characters within the detection range;

获取探测范围对应的预设探测条件,其中,预设探测条件包括属性阈值,探测范围与属性阈值成对应关系;Obtain the preset detection conditions corresponding to the detection range, wherein the preset detection conditions include attribute thresholds, and the detection range corresponds to the attribute thresholds;

若属性值满足预设探测条件,则将对探测范围进行探测得到的探测结果确定为第一探测结果;If the attribute value meets the preset detection conditions, the detection result obtained by detecting the detection range will be determined as the first detection result;

若属性值不满足所述预设探测条件,则将对探测范围进行探测得到的探测结果确定为第二探测结果,指示第一探测结果的提示图形和指示第二探测结果的提示图形不同。If the attribute value does not meet the preset detection conditions, the detection result obtained by detecting the detection range will be determined as the second detection result, and the prompt graphic indicating the first detection result will be different from the prompt graphic indicating the second detection result.

其中,属性值可以根据探测道具的探测功能进行设置。比如,当探测道具为生命探测道具时,属性值可以为温度值,当探测道具为寻金探测道具时,属性值可以为受控虚拟角色的物资价值水平,当探测道具为危险探测道具时,属性值可以为虚拟角色和受控虚拟角色之间的距离值。The attribute values can be set according to the detection function of the detection item. For example, when the detection item is a life detection item, the attribute value can be the temperature value; when the detection item is a gold detection item, the attribute value can be the material value level of the controlled virtual character; and when the detection item is a danger detection item, the attribute value can be the distance between the virtual character and the controlled virtual character.

预设探测条件可以根据探测道具的探测功能进行设置,比如,当探测道具为生命探测道具和寻金探测道具时,预设探测条件可以为属性值等于或大于属性阈值,当探测道具为危险探测道具时,预设探测条件可以为属性值小于属性阈值。Preset detection conditions can be set according to the detection function of the detection item. For example, when the detection item is a life detection item or a gold detection item, the preset detection condition can be that the attribute value is equal to or greater than the attribute threshold. When the detection item is a danger detection item, the preset detection condition can be that the attribute value is less than the attribute threshold.

探测范围与属性阈值成对应关系,可以理解为探测范围与属性阈值存在正相关关系或负相关关系。当探测道具为寻金探测道具和生命探测道具时,探测范围与属性阈值存在正相关关系,当探测道具为危险探测道具时,探测范围与属性阈值存在负相关关系。The detection range corresponds to the attribute threshold, which can be understood as a positive or negative correlation between the detection range and the attribute threshold. When the detection tool is a gold-finding tool or a life-finding tool, the detection range and the attribute threshold are positively correlated; when the detection tool is a danger-finding tool, the detection range and the attribute threshold are negatively correlated.

探测范围与属性阈值存在正相关关系,可以理解为探测范围越大,探测能力越弱,属性阈值越大,探测范围越小,探测能力越强,属性阈值越小。There is a positive correlation between the detection range and the attribute threshold. This can be understood as the larger the detection range, the weaker the detection capability; the larger the attribute threshold, the smaller the detection range, the stronger the detection capability, and the smaller the attribute threshold.

比如,预设探测条件为属性值等于或大于属性阈值,探测范围包括探测范围d1和探测范围d2,探测范围d1大于探测范围d2,探测范围d1对应的预设探测条件中属性阈值为38°,探测范围d2对应的预设探测条件中属性阈值为36°,当以探测范围d1进行探测时,如果虚拟角色的属性值为36°,36°小于属性阈值38°,属性值36°不满足预设探测条件,则将对探测范围进行探测得到的探测结果为第二探测结果,此时,受控虚拟角色不能发现虚拟角色,也即是,第二探测结果为不存在虚拟角色,当以探测范围d2进行探测时,如果虚拟角色的属性值为36°,36°等于属性阈值36°,属性值36°满足预设探测条件,则将对探测范围进行探测得到的探测结果为第一探测结果,此时,受控虚拟角色可以发现虚拟角色,也即是,第一探测结果为存在虚拟角色。For example, the preset detection condition is that the attribute value is equal to or greater than the attribute threshold. The detection range includes detection range d1 and detection range d2, where detection range d1 is greater than detection range d2. The attribute threshold in the preset detection condition corresponding to detection range d1 is 38°, and the attribute threshold in the preset detection condition corresponding to detection range d2 is 36°. When detecting with detection range d1, if the attribute value of the virtual character is 36°, which is less than the attribute threshold of 38°, the attribute value of 36° does not meet the preset detection condition. In this case, the detection result obtained by detecting the detection range is the second detection result. At this time, the controlled virtual character cannot discover the virtual character, that is, the second detection result is that the virtual character does not exist. When detecting with detection range d2, if the attribute value of the virtual character is 36°, which is equal to the attribute threshold of 36°, the attribute value of 36° meets the preset detection condition. In this case, the detection result obtained by detecting the detection range is the first detection result. At this time, the controlled virtual character can discover the virtual character, that is, the first detection result is that the virtual character exists.

探测范围与属性阈值存在负相关关系,可以理解为探测范围越大,探测能力越弱,属性阈值越小,探测范围越小,探测能力越强,属性阈值越大。There is a negative correlation between the detection range and the attribute threshold. This can be understood as follows: the larger the detection range, the weaker the detection capability and the smaller the attribute threshold; conversely, the smaller the detection range, the stronger the detection capability and the larger the attribute threshold.

比如,预设探测条件为属性值小于属性阈值,探测范围包括探测范围d1和探测范围d2,探测范围d1大于探测范围d2,探测范围d1对应的预设探测条件中属性阈值为10米,探测范围d2对应的预设探测条件中属性阈值为12米,属性值为受控虚拟角色和虚拟角色之间的距离,当以探测范围d1进行探测时,如果受控虚拟角色和虚拟角色之间的距离为11米,11米大于10米,11米不满足预设探测条件,则将对探测范围进行探测得到的探测结果为第二探测结果,此时,受控虚拟角色不能发现虚拟角色,也即是,第二探测结果为不存在虚拟角色,当以探测范围d2进行探测时,如果受控虚拟角色和虚拟角色之间的距离为11米,11米小于12米,11米满足预设探测条件,则将对探测范围进行探测得到的探测结果为第一探测结果,此时,受控虚拟角色可以发现虚拟角色,也即是,第一探测结果为存在虚拟角色。For example, the preset detection condition is that the attribute value is less than the attribute threshold. The detection range includes detection range d1 and detection range d2, where detection range d1 is greater than detection range d2. The attribute threshold in the preset detection condition corresponding to detection range d1 is 10 meters, and the attribute threshold in the preset detection condition corresponding to detection range d2 is 12 meters. The attribute value is the distance between the controlled virtual character and the virtual character. When detecting with detection range d1, if the distance between the controlled virtual character and the virtual character is 11 meters, 11 meters is greater than 10 meters, and 11 meters does not meet the preset detection condition, then the detection result obtained by detecting the detection range is the second detection result. At this time, the controlled virtual character cannot discover the virtual character, that is, the second detection result is that the virtual character does not exist. When detecting with detection range d2, if the distance between the controlled virtual character and the virtual character is 11 meters, 11 meters is less than 12 meters, and 11 meters meets the preset detection condition, then the detection result obtained by detecting the detection range is the first detection result. At this time, the controlled virtual character can discover the virtual character, that is, the first detection result is that the virtual character exists.

指示第一探测结果的提示图形和指示第二探测结果的提示图形不同,表明当探测结果不相同时,在图形用户界面上显示的提示图形是不相同的。此时,在得到第一探测结果之后,可以根据显示参数,在图形用户界面上显示指示第一探测结果的提示图形,在得到第二探测结果之后,可以根据显示参数,在图形用户界面上显示指示第二探测结果的提示图形。The different graphic indicators for the first and second detection results demonstrate that the graphical user interface displays different graphics when the detection results are different. Therefore, after obtaining the first detection result, a graphic indicating the first result can be displayed on the graphical user interface based on the display parameters; similarly, after obtaining the second result, a graphic indicating the second result can be displayed on the graphical user interface based on the display parameters.

指示第一探测结果的提示图形和指示第二探测结果的提示图形不同,可以是指示第一探测结果的提示图形的颜色和指示第二探测结果的提示图形的颜色不相同,也可以是形状不相同,本公开实施例在此不做限定。The prompt graphic indicating the first detection result and the prompt graphic indicating the second detection result are different. This could be because the colors of the prompt graphic indicating the first detection result and the prompt graphic indicating the second detection result are different, or they could be different in shape. This disclosure does not limit the specifics.

在本公开实施例中,通过目标探测道具,获取探测范围内的虚拟角色的属性值,获取探测范围对应的预设探测条件,其中,预设探测条件包括属性阈值,探测范围与属性阈值成对应关系;若属性值满足预设探测条件,则将对探测范围进行探测得到的探测结果确定为第一探测结果,若属性值不满足预设探测条件,则将对探测范围进行探测得到的探测结果确定为第二探测结果,指示第一探测结果的提示图形和指示第二探测结果的提示图形不同,实现可以对探测道具的探测能力进行自定义,提高玩家的游戏体验。In this embodiment, the attribute values of virtual characters within the detection range are obtained through a target detection tool, and preset detection conditions corresponding to the detection range are obtained. The preset detection conditions include attribute thresholds, and the detection range corresponds to the attribute thresholds. If the attribute value meets the preset detection conditions, the detection result obtained by detecting the detection range is determined as the first detection result. If the attribute value does not meet the preset detection conditions, the detection result obtained by detecting the detection range is determined as the second detection result. The prompt graphics indicating the first detection result and the prompt graphics indicating the second detection result are different, so that the detection capability of the detection tool can be customized, thereby improving the player's gaming experience.

需要说明的是,如果玩家未设置探测范围,则以默认探测范围进行探测。此时,默认探测范围对应的目标属性阈值可以是固定的,在响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具之后,还包括:It should be noted that if the player does not set a detection range, the default detection range will be used. In this case, the target attribute threshold corresponding to the default detection range can be fixed. After responding to the trigger operation on the detection item interface and setting the target detection item among several detection items as the detection item currently used by the controlled virtual character, it also includes:

通过目标探测道具,获取默认探测范围内的虚拟角色的属性值;Use the target detection tool to obtain the attribute values of virtual characters within the default detection range;

若属性值满足目标预设探测条件,则将对默认探测范围进行探测得到的探测结果确定为第一探测结果;If the attribute value meets the target's preset detection conditions, the detection result obtained by detecting the default detection range will be determined as the first detection result;

若属性值不满足目标预设探测条件,则将对默认探测范围进行探测得到的探测结果确定为第二探测结果,指示第一探测结果的提示图形和指示第二探测结果的提示图形不同。If the attribute value does not meet the target's preset detection conditions, the detection result obtained by detecting within the default detection range will be determined as the second detection result. The prompt graphic indicating the first detection result will be different from the prompt graphic indicating the second detection result.

其中,目标预设探测条件包括目标属性阈值,目标预设探测条件可以根据探测道具的探测功能进行设置,比如,当属性值为温度值或物资价值水平时,目标预设探测条件可以为属性值等于或大于目标属性阈值。当属性值为虚拟角色和受控虚拟角色之间的距离值时,目标预设探测条件可以为属性值小于目标属性阈值。The target preset detection conditions include target attribute thresholds. These conditions can be set according to the detection function of the detection tool. For example, when the attribute value is temperature or the value level of materials, the target preset detection condition can be that the attribute value is equal to or greater than the target attribute threshold. When the attribute value is the distance between the virtual character and the controlled virtual character, the target preset detection condition can be that the attribute value is less than the target attribute threshold.

在一些实施例中,当在游戏对局外,在图形用户界面上显示探测提示控件时,如果受控虚拟角色不具备探测道具,则当受控虚拟角色在游戏场景中拾取到探测道具时,可以直接将拾取到的探测道具设置为目标探测道具,此时,未设置探测范围,则通过目标探测道具以默认探测范围进行探测,如果设置了探测范围,则通过目标探测道具以设置的探测范围进行探测。In some embodiments, when a detection prompt control is displayed on the graphical user interface outside of a game match, if the controlled virtual character does not possess a detection item, when the controlled virtual character picks up a detection item in the game scene, the picked-up detection item can be directly set as the target detection item. In this case, if no detection range is set, detection is performed using the target detection item with the default detection range; if a detection range is set, detection is performed using the target detection item with the set detection range.

在一些实施例中,探测道具界面包括道具合成子区域,道具合成子区域包括受控虚拟角色的探测道具,触发操作为合成操作,响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,包括:In some embodiments, the detection item interface includes an item synthesis sub-area, which includes detection items for the controlled virtual character. The triggering operation is a synthesis operation. In response to the triggering operation on the detection item interface, a target detection item among a plurality of detection items is set as the detection item currently used by the controlled virtual character, including:

响应于对道具合成子区域中的至少两个探测道具的合成操作,对至少两个探测道具进行合成处理,得到合成后探测道具,合成后探测道具具备至少两个探测道具对应的探测功能;In response to a synthesis operation on at least two detection items in a synthesis sub-region, the at least two detection items are synthesized to obtain a synthesized detection item, which has the detection function corresponding to the at least two detection items.

将合成后探测道具作为目标探测道具,并将目标探测道具设置为受控虚拟角色当前使用的探测道具。Use the synthesized detection item as the target detection item, and set the target detection item as the detection item currently used by the controlled virtual character.

其中,合成操作可以包括至少一个操作。比如,合成操作可以包括多个点击操作,终端响应于对道具合成子区域中的两个探测道具的点击操作以及对合成控件的点击操作,对两个探测道具进行合成处理,又比如,合成操作可以包括多个拖动操作,响应于将道具合成子区域中的两个探测道具拖动至合成控件上,对合成控件上的两个探测道具进行合成处理。The merging operation can include at least one operation. For example, the merging operation can include multiple click operations, whereby the terminal responds to click operations on two detection items in the item merging sub-area and click operations on the merging control to merge the two detection items. Or, the merging operation can include multiple drag operations, whereby the terminal responds to dragging two detection items in the item merging sub-area onto the merging control to merge the two detection items on the merging control.

合成后探测道具具备至少两个探测道具对应的探测功能。比如,探测道具包寻金探测道具和危险探测道具,寻金探测道具可以对虚拟角色的物资进行探测,危险探测道具可以对敌方虚拟角色进行探测,对寻金探测道具和危险探测道具进行合成处理之后,合成后探测道具不但可以对虚拟角色的物资进行探测,而且可以对敌方虚拟角色进行探测。After synthesis, the detection item possesses the detection functions corresponding to at least two other detection items. For example, a detection item package might contain a gold-hunting detection item and a danger detection item. The gold-hunting detection item can detect the virtual character's resources, while the danger detection item can detect enemy virtual characters. After synthesizing the gold-hunting detection item and the danger detection item, the resulting detection item can detect not only the virtual character's resources but also enemy virtual characters.

终端在得到合成后探测道具之后,可以在道具合成子区域中显示合成后探测道具。比如,道具合成子区域可以如图13中1301所示,响应于对寻金探测道具和危险探测道具的合成操作,对寻金探测道具和危险探测道具进行合成处理,得到合成后探测道具之后,道具合成子区域可以如图13中1302所示。After obtaining the synthesized detection item, the terminal can display it in the item synthesis sub-area. For example, the item synthesis sub-area can be as shown in 1301 of Figure 13. In response to the synthesis operation of the gold-finding detection item and the danger detection item, the gold-finding detection item and the danger detection item are synthesized. After obtaining the synthesized detection item, the item synthesis sub-area can be as shown in 1302 of Figure 13.

终端在得到合成后探测道具之后,可以直接将合成后探测道具作为目标探测道具,或者,也可以是响应于对合成后探测道具的选择操作,将合成后探测道具作为目标探测道具。After obtaining the synthesized detection item, the terminal can directly use the synthesized detection item as the target detection item, or it can use the synthesized detection item as the target detection item in response to the selection operation of the synthesized detection item.

在本公开实施例中,响应于对道具合成子区域中的至少两个探测道具的合成操作,对至少两个探测道具进行合成处理,得到合成后探测道具,合成后探测道具具备至少两个探测道具对应的探测功能,将合成后探测道具作为目标探测道具,并将目标探测道具设置为受控虚拟角色当前使用的探测道具,使得玩家可以同时使用两种探测功能的探测道具,无需来回切换使用不同探测功能的探测工具,提高玩家使用探测道具的效率和便捷度。In this embodiment of the disclosure, in response to the synthesis operation of at least two detection items in the item synthesis sub-region, the at least two detection items are synthesized to obtain a synthesized detection item. The synthesized detection item has the detection functions corresponding to at least two detection items. The synthesized detection item is used as the target detection item and set as the detection item currently used by the controlled virtual character. This allows players to use detection items with two detection functions at the same time without having to switch back and forth between detection tools with different detection functions, thereby improving the efficiency and convenience of players using detection items.

在一些实施例中,在确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数之后,包括:In some embodiments, after determining the display parameters of the cue graphic indicating the detection result of the target detection tool on the graphical user interface, the process includes:

若探测结果为第一探测结果,则按照显示参数显示指示第一探测结果对应的提示图形;If the detection result is the first detection result, then the prompt graphic corresponding to the first detection result will be displayed according to the display parameters;

若探测结果为第二探测结果,则按照显示参数显示指示第二探测结果对应的提示图形。If the detection result is the second detection result, then the prompt graphic corresponding to the second detection result will be displayed according to the display parameters.

其中,在确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数之后,若受控虚拟角色已经处于游戏对局内,则可以直接获取探测结果,若受控虚拟角色未处于游戏对局内,则在受控虚拟角色处于游戏对局内之后,再获取探测结果。Specifically, after determining the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface, if the controlled virtual character is already in the game, the detection result can be obtained directly; if the controlled virtual character is not in the game, the detection result will be obtained after the controlled virtual character is in the game.

若探测结果为第一探测结果,则按照显示参数显示指示第一探测结果对应的提示图形;若探测结果为第二探测结果,则按照显示参数显示指示第二探测结果对应的提示图形。If the detection result is the first detection result, the prompt graphic corresponding to the first detection result will be displayed according to the display parameters; if the detection result is the second detection result, the prompt graphic corresponding to the second detection result will be displayed according to the display parameters.

探测结果中可以包括属性值,可以是当探测结果中的属性值满足预设探测条件时,将探测结果确定为第一探测结果,当探测结果中的属性值不满足预设探测条件时,将探测结果确定为第二探测结果,或者,也可以是当探测结果中的属性值满足目标预设探测条件时,将探测结果确定为第一探测结果,当探测结果中的属性值不满足目标预设探测条件时,将探测结果确定为第二探测结果。The detection results may include attribute values. The detection result can be determined as the first detection result when the attribute value in the detection result meets the preset detection conditions, and as the second detection result when the attribute value in the detection result does not meet the preset detection conditions. Alternatively, the detection result can be determined as the first detection result when the attribute value in the detection result meets the target preset detection conditions, and as the second detection result when the attribute value in the detection result does not meet the target preset detection conditions.

指示第一探测结果对应的提示图形和指示第二探测结果对应的提示图形,可以是指示第一探测结果的提示图形的颜色和指示第二探测结果的提示图形的颜色不相同,也可以是形状不相同,本公开实施例在此不做限定。The prompt graphic indicating the first detection result and the prompt graphic indicating the second detection result may have different colors or different shapes. This disclosure does not limit the specific implementation of these embodiments.

比如,目标探测道具为危险探测道具,当探测结果为存在敌方虚拟角色时,探测结果为第一探测结果,此时,根据显示参数,显示红色的提示图形,当探测结果为不存在敌方虚拟角色时,探测结果为第二探测结果,此时,根据显示参数,显示绿色的提示图形。For example, if the target detection tool is a danger detection tool, when the detection result indicates the presence of an enemy virtual character, the detection result is the first detection result. At this time, a red prompt graphic is displayed according to the display parameters. When the detection result indicates the absence of an enemy virtual character, the detection result is the second detection result. At this time, a green prompt graphic is displayed according to the display parameters.

需要说明的是,当响应于对探测提示控件的第四触发操作,根据探测结果和显示参数,在图形用户界面上显示提示图形时,可以是响应于对探测提示控件的第四触发操作,若探测结果为第一探测结果,则按照显示参数显示指示第一探测结果对应的提示图形,若探测结果为第二探测结果,则按照显示参数显示指示第二探测结果对应的提示图形。It should be noted that when displaying a prompt graphic on the graphical user interface in response to the fourth trigger operation of the probe prompt control, based on the probe result and display parameters, it can be in response to the fourth trigger operation of the probe prompt control. If the probe result is the first probe result, then the prompt graphic corresponding to the first probe result is displayed according to the display parameters; if the probe result is the second probe result, then the prompt graphic corresponding to the second probe result is displayed according to the display parameters.

在一些实施例中,若探测结果为第一探测结果,则按照显示参数显示指示第一探测结果对应的提示图形,包括:In some embodiments, if the detection result is a first detection result, a prompt graphic corresponding to the first detection result is displayed according to the display parameters, including:

若探测结果为第一探测结果,则获取第一探测结果中敌方虚拟角色的方位信息;If the detection result is the first detection result, then obtain the location information of the enemy virtual character in the first detection result;

按照方位信息显示指示第一探测结果对应的提示图形;The orientation information displays the prompt graphic corresponding to the first detection result;

在检测到受控虚拟角色的动作与方位信息匹配时,按照显示参数显示指示第一探测结果对应的提示图形。When the controlled virtual character's actions and location information are detected to match, a prompt graphic corresponding to the first detection result is displayed according to the display parameters.

其中,受控虚拟角色的动作与方位信息匹配,可以理解为受控虚拟角色往方位信息对应的方位执行对应的动作,比如,受控虚拟角色可以往方位信息对应的方向进行移动,或者,受控虚拟角色可以往方位信息对应的方向进行射击。Among them, the matching of the controlled virtual character's actions with the location information can be understood as the controlled virtual character performing the corresponding action in the direction corresponding to the location information. For example, the controlled virtual character can move in the direction corresponding to the location information, or the controlled virtual character can shoot in the direction corresponding to the location information.

在本公开实施例中,若探测结果为第一探测结果,则获取第一探测结果中敌方虚拟角色的方位信息,按照方位信息显示指示第一探测结果对应的提示图形,以便可以通过提示图形提示敌方虚拟角色所在的方位,然后在检测到受控虚拟角色的动作与方位信息匹配时,按照显示参数显示指示第一探测结果对应的提示图形,避免提示图形对受控虚拟角色的视野造成影响。In this embodiment of the disclosure, if the detection result is the first detection result, the location information of the enemy virtual character in the first detection result is obtained, and the prompt graphic corresponding to the first detection result is displayed according to the location information, so that the location of the enemy virtual character can be indicated by the prompt graphic. Then, when the action of the controlled virtual character is detected to match the location information, the prompt graphic corresponding to the first detection result is displayed according to the display parameters to avoid the prompt graphic affecting the field of vision of the controlled virtual character.

比如,敌方虚拟角色位于受控虚拟角色的右前方,往右前方显示提示图形,此时,提示图形可以如图15中1501所示,在检测到受控虚拟角色的动作与方位信息匹配时,根据显示参数显示的提示图形可以如图15中1502所示。For example, if the enemy virtual character is located to the right front of the controlled virtual character, a prompt graphic is displayed to the right front. At this time, the prompt graphic can be as shown in Figure 1501. When the controlled virtual character's action and location information are detected to match, the prompt graphic displayed according to the display parameters can be as shown in Figure 1502.

在一些实施例中,若探测结果为第一探测结果,则按照显示参数显示指示第一探测结果对应的提示图形,包括:In some embodiments, if the detection result is a first detection result, a prompt graphic corresponding to the first detection result is displayed according to the display parameters, including:

若探测结果为第一探测结果,则获取第一探测结果中敌方虚拟角色的方位信息;If the detection result is the first detection result, then obtain the location information of the enemy virtual character in the first detection result;

按照显示参数显示指示第一探测结果对应的提示图形,以及显示指向方位信息对应的方位的标识。The display parameters indicate the prompt graphic corresponding to the first detection result, as well as the directional information corresponding to the location.

其中,标识可以根据实际情况进行设置,比如,标识可以为箭头或三角形,本公开实施例在此不做限定。当标识为箭头时,如果方位信息对应的方位为受控虚拟角色的右前方,标识可以如图16所示。The identifier can be set according to the actual situation. For example, the identifier can be an arrow or a triangle, and this embodiment of the disclosure is not limited thereto. When the identifier is an arrow, if the orientation information corresponds to the right front of the controlled virtual character, the identifier can be as shown in Figure 16.

在本公开实施例中,若探测结果为第一探测结果,则获取第一探测结果中敌方虚拟角色的方位信息,按照显示参数显示指示第一探测结果对应的提示图形,以及显示指向方位信息对应的方位的标识,以便通过标识获知敌方虚拟角色所在的方位。In this embodiment of the disclosure, if the detection result is the first detection result, the location information of the enemy virtual character in the first detection result is obtained, and the prompt graphic corresponding to the first detection result is displayed according to the display parameters, and the marker pointing to the location information is displayed so as to know the location of the enemy virtual character through the marker.

在一些实施例中,在若探测结果为第一探测结果,则按照显示参数显示指示第一探测结果对应的提示图形之后,还包括:In some embodiments, after displaying a prompt graphic indicating the first detection result according to display parameters if the detection result is a first detection result, the method further includes:

响应于对第一探测结果的位置指示操作,获取第一探测结果中敌方虚拟角色的位置信息;In response to the location indication operation of the first detection result, the location information of the enemy virtual character in the first detection result is obtained;

根据位置信息,在图形用户界面上显示敌方虚拟角色的位置指示标识。Based on location information, display location indicators of enemy virtual characters on the graphical user interface.

其中,在图形用户界面上显示提示图形之后,可以在图形用户界面上显示位置控件,位置指示操作可以是对位置控件的触发操作,响应于对位置控件的触发操作,在图形用户界面上显示敌方虚拟角色的位置指示标识。After displaying a prompt graphic on the graphical user interface, a location control can be displayed on the graphical user interface. The location indication operation can be a trigger operation on the location control. In response to the trigger operation on the location control, the location indicator of the enemy virtual character is displayed on the graphical user interface.

比如,位置控件可以如图17或图18所示(图18中的其他萤火虫指敌方虚拟角色)。For example, the position control can be as shown in Figure 17 or Figure 18 (the other fireflies in Figure 18 refer to enemy virtual characters).

位置指示标识用于指示敌方虚拟角色所在的位置,其可以直接表示敌方虚拟角色所在的位置,比如,如图17所示,直接在敌方虚拟角色所在的位置显示敌方虚拟角色的红外图像,或者,位置指示标识可以表示指示通向敌方虚拟角色的路径,比如,如图18所示,位置指示标识可以为脚印,可以根据脚印确定敌方虚拟角色所在的位置。Location indicators are used to indicate the location of enemy virtual characters. They can directly represent the location of enemy virtual characters, for example, as shown in Figure 17, by directly displaying the infrared image of the enemy virtual character at its location. Alternatively, location indicators can indicate the path leading to the enemy virtual character, for example, as shown in Figure 18, the location indicator can be a footprint, and the location of the enemy virtual character can be determined based on the footprint.

应理解,当对敌方虚拟角色的物资进行探测且敌方虚拟角色的物资价值水平不相同时,位置指示标识可以不相同,比如,当位置指示标识为脚印时,当物资价值水平不同时,通过不同颜色的脚印表示。It should be understood that when probing the resources of an enemy virtual character and the value levels of those resources are different, the location indicators can be different. For example, when the location indicator is a footprint, different colored footprints can be used to indicate different resource value levels.

在本实施例中,响应于对第一探测结果的位置指示操作,获取第一探测结果中敌方虚拟角色的位置信息,根据位置信息,在图形用户界面上显示敌方虚拟角色的位置指示标识,以便玩家可以获知敌方虚拟角色所在的位置。In this embodiment, in response to the location indication operation of the first detection result, the location information of the enemy virtual character in the first detection result is obtained, and the location indication mark of the enemy virtual character is displayed on the graphical user interface according to the location information so that the player can know the location of the enemy virtual character.

在一些实施例中,响应于对第一探测结果的位置指示操作,获取第一探测结果中敌方虚拟角色的位置信息,包括:In some embodiments, in response to a location indication operation on a first detection result, obtaining the location information of an enemy virtual character in the first detection result includes:

响应于对第一探测结果的位置指示操作,获取显示位置指示标识的历史时间;In response to the location indication operation of the first detection result, the historical time of the displayed location indication flag is obtained;

若历史时间和当前时间之间的时间间隔等于或大于第一时长,则获取探测结果中敌方虚拟角色的位置信息;If the time interval between the historical time and the current time is equal to or greater than the first duration, then obtain the location information of the enemy virtual character in the detection results;

根据位置信息,在图形用户界面上显示敌方虚拟角色的位置指示标识,包括:Based on location information, display location indicators for enemy virtual characters on the graphical user interface, including:

根据位置信息,在图形用户界面上显示第二时长的敌方虚拟角色的位置指示标识。Based on location information, display the location indicators of the enemy virtual characters for a second duration on the graphical user interface.

其中,第一时长和第二时长为预先设置的时长,其可以根据实际情况进行设置,比如,第一时长可以为10秒,第二时长可以为4秒,又比如,第一时长可以为8秒,第二时长可以为5秒,本公开实施例在此不做限定。The first duration and the second duration are preset durations, which can be set according to the actual situation. For example, the first duration can be 10 seconds and the second duration can be 4 seconds, or the first duration can be 8 seconds and the second duration can be 5 seconds. This embodiment of the present disclosure does not limit the duration.

在本公开实施例中,当历史时间和当前时间之间的时间间隔大于第一时长时,再在图形用户界面上显示第二时长的敌方虚拟角色的位置指示标识,实现每隔第一时长以上,才能在图像用户界面上显示位置指示标识,避免玩家无限使用位置指示标识的显示功能,并且,对位置指示标识的显示时间限制为第二时长,避免无限制显示位置指示标识。In this embodiment of the disclosure, when the time interval between the historical time and the current time is greater than a first duration, the location indicator of the enemy virtual character for a second duration is displayed on the graphical user interface. This ensures that the location indicator is displayed on the graphical user interface only after a first duration, preventing players from using the location indicator display function indefinitely. Furthermore, the display time of the location indicator is limited to the second duration to prevent unlimited display of the location indicator.

比如,如图17所示,图17中的持续时间即为第二时长,图17中的冷却时间即为第一时长。For example, as shown in Figure 17, the duration in Figure 17 is the second duration, and the cooldown time in Figure 17 is the first duration.

可选地,还可以在位置控件上显示第一时长的倒计时。比如,如图17所示,第一时长为10秒,通过位置控件的边缘粗细不同表示第一时长的倒计时,如图17中所示的,位置控件的细边缘表示显示位置指示标识的历史时间和当前时间之间的时间间隔为2.5秒,位置控件的粗边缘表示还有7.5秒才能再次显示位置指示标识。Optionally, a countdown for the first duration can also be displayed on the location control. For example, as shown in Figure 17, the first duration is 10 seconds. The countdown for the first duration is represented by the different thicknesses of the edges of the location control. As shown in Figure 17, the thin edge of the location control indicates that the time interval between the historical time and the current time when the location indicator is displayed is 2.5 seconds, and the thick edge of the location control indicates that there are still 7.5 seconds before the location indicator can be displayed again.

在一些实施例中,图形用户界面还包括位置控件,位置控件上显示有位置指示标识的历史显示次数标识,响应于对第一探测结果的位置指示操作,获取第一探测结果中敌方虚拟角色的位置信息,包括:In some embodiments, the graphical user interface further includes a location control displaying a historical display count of the location indicator, which, in response to a location indication operation on the first detection result, acquires the location information of the enemy virtual character in the first detection result, including:

响应于对位置控件的触发操作,判定历史显示次数是否小于预设次数;In response to a trigger operation on the position control, determine whether the number of historical displays is less than the preset number;

若历史显示次数小于或等于预设次数,则获取第一探测结果中敌方虚拟角色的位置信息。If the number of historical displays is less than or equal to the preset number, the location information of the enemy virtual character in the first detection result is obtained.

其中,对位置控件的触发操作即为对第一探测结果的位置指示操作。如果历史显示次数大于预设次数,表明在当前场次游戏中,无法再对位置控件进行触发,也即是,无法再显示位置指示标识。The triggering operation of the position control is the position indication operation of the first detection result. If the number of historical displays is greater than the preset number, it means that the position control can no longer be triggered in the current game session, that is, the position indicator can no longer be displayed.

位置控件上显示有位置指示标识的历史显示次数标识,比如,如图18所示,位置控件上包括三个圆圈,三个圆圈表示预设次数为3次,一个圆圈表示一次,当三个圆圈中两个圆圈被点亮时,表示历史显示次数为2次。The location control displays a history display count indicator with a location indicator. For example, as shown in Figure 18, the location control includes three circles. Three circles indicate a preset count of 3 times, and one circle indicates one time. When two of the three circles are lit, it indicates that the history display count is 2 times.

在本公开实施例中,响应于对位置控件的触发操作,判定历史显示次数是否小于预设次数,若历史显示次数小于或等于预设次数,则获取第一探测结果中敌方虚拟角色的位置信息,实现对位置指示标识的显示进行限制,避免玩家无限使用位置指示标识。In this embodiment of the disclosure, in response to the triggering operation of the position control, it is determined whether the number of historical displays is less than the preset number. If the number of historical displays is less than or equal to the preset number, the position information of the enemy virtual character in the first detection result is obtained, thereby limiting the display of the position indicator and preventing the player from using the position indicator indefinitely.

在一些实施例中,图形用户界面上还可以显示位置进度条,位置进度条表示遇到位置指示标识指向的敌方虚拟角色的进度。比如,如图18所示,位置指示标识为脚印,位置进度条可以为脚印进度条,表示受控虚拟角色还需要跟随多少脚印才能遇到敌方虚拟角色。In some embodiments, a location progress bar can also be displayed on the graphical user interface, indicating the progress of encountering the enemy virtual character pointed to by the location indicator. For example, as shown in Figure 18, the location indicator is a footprint, and the location progress bar can be a footprint progress bar, indicating how many more footprints the controlled virtual character needs to follow before encountering the enemy virtual character.

在一些实施例中,还可以根据受控虚拟角色和敌方虚拟角色之间的距离显示不同的提示图形,比如,当探测道具为危险探测道具时,如图19所示,当受控虚拟角色和敌方虚拟角色之间的距离为6米时,可以根据显示参数,显示红色的提示图形,当受控虚拟角色和敌方虚拟角色之间的距离为12米时,可以根据显示参数,显示绿色的提示图形。In some embodiments, different prompt graphics can be displayed according to the distance between the controlled virtual character and the enemy virtual character. For example, when the detection tool is a danger detection tool, as shown in Figure 19, when the distance between the controlled virtual character and the enemy virtual character is 6 meters, a red prompt graphic can be displayed according to the display parameters. When the distance between the controlled virtual character and the enemy virtual character is 12 meters, a green prompt graphic can be displayed according to the display parameters.

在一些实施例中,在响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具之后,还包括:In some embodiments, after setting the target detection tool among a plurality of detection tools as the detection tool currently used by the controlled virtual character in response to a triggering operation on the detection tool interface, the method further includes:

控制受控虚拟角色使用目标探测道具;Control the controlled virtual character to use target detection tools;

确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,包括:The display parameters of the prompt graphics indicating the detection results of the target detection tool on the graphical user interface are determined, including:

获取目标探测道具的当前朝向参数;Obtain the current orientation parameters of the target detection tool;

根据当前朝向参数,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,显示参数和当前朝向参数匹配。Based on the current orientation parameters, determine the display parameters of the prompt graphic indicating the detection results of the target detection tool on the graphical user interface, and match the display parameters with the current orientation parameters.

其中,在响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具之后,若受控虚拟角色已经处于游戏对局内,则可以直接控制受控虚拟角色使用目标探测道具,若受控虚拟角色未处于游戏对局内,则在受控虚拟角色处于游戏对局内之后,再控制受控虚拟角色使用目标探测道具。In response to the trigger operation on the detection item interface, after setting the target detection item among several detection items as the detection item currently used by the controlled virtual character, if the controlled virtual character is already in the game, the controlled virtual character can be directly controlled to use the target detection item. If the controlled virtual character is not in the game, the controlled virtual character can be controlled to use the target detection item after the controlled virtual character is in the game.

当探测道具位于受控虚拟角色的背包中时,控制受控虚拟角色使用目标探测道具,可以理解为将目标探测道具装备在受控虚拟角色上的某一个部位上,某一个部位可以根据实际情况进行设置,比如,目标探测道具可以装备在受控虚拟角色的手臂上或头上,本公开实施例在此不做限定。当探测道具已经被装备在受控虚拟角色的某一个部位上时,控制受控虚拟角色使用目标探测道具,可以理解为控制目标探测道具以目标显示样式进行显示,目标显示样式指示目标探测道具正在被使用当中。When the detection tool is in the controlled virtual character's inventory, controlling the controlled virtual character to use the target detection tool can be understood as equipping the target detection tool on a certain part of the controlled virtual character. This specific part can be set according to the actual situation; for example, the target detection tool can be equipped on the controlled virtual character's arm or head. This embodiment of the present disclosure does not impose any limitations on this. When the detection tool is already equipped on a certain part of the controlled virtual character, controlling the controlled virtual character to use the target detection tool can be understood as controlling the target detection tool to display in a target display style, indicating that the target detection tool is being used.

目标显示样式可以根据实际情况进行设置,比如,以黑色显示未被当前使用的探测道具,以绿色显示正在被使用的探测道具,此时,目标显示样式为绿色显示样式,本公开实施例在此不做限定。The target display style can be set according to the actual situation. For example, black can be used to display detection tools that are not currently in use, and green can be used to display detection tools that are currently in use. In this case, the target display style is green. This embodiment of the present disclosure does not limit this.

显示参数和当前朝向参数匹配,可以理解为将当前朝向参数确定为显示参数。Matching the display parameters with the current orientation parameters can be understood as setting the current orientation parameters as the display parameters.

比如,如图20所示,目标探测道具装备在受控虚拟角色的手臂上,且目标探测道具的当前朝向参数为右前方,则将右前方作为提示图形的显示参数,显示的提示图形可以如图20所示。For example, as shown in Figure 20, if the target detection prop is equipped on the arm of the controlled virtual character and the current orientation parameter of the target detection prop is right front, then the right front is used as the display parameter of the prompt graphic, and the displayed prompt graphic can be as shown in Figure 20.

在本公开实施例中,控制受控虚拟角色使用目标探测道具,获取目标探测道具的当前朝向参数,根据当前朝向参数,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,显示参数和当前朝向参数匹配,使得显示的提示图形随着目标探测道具的朝向的改变而改变。In this embodiment of the disclosure, the controlled virtual character uses a target detection tool to obtain the current orientation parameter of the target detection tool. Based on the current orientation parameter, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined. The display parameters are matched with the current orientation parameter so that the displayed prompt graphic changes as the orientation of the target detection tool changes.

在一些实施例中,显示参数包括显示区域和显示方向,根据当前朝向参数,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,显示参数和当前朝向参数匹配,包括:In some embodiments, the display parameters include a display area and a display orientation. Based on the current orientation parameter, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined. The display parameters and the current orientation parameter are matched, including:

根据当前朝向参数,确定目标探测道具的可朝向参数范围,可朝向参数范围包括多个朝向参数,朝向参数包括当前朝向参数;Based on the current orientation parameters, determine the range of orientation parameters that the target detection tool can be oriented. The range of orientation parameters includes multiple orientation parameters, including the current orientation parameter.

确定可朝向参数范围对应的显示区域和显示方向;Determine the display area and display orientation corresponding to the range of possible orientation parameters;

将可朝向参数范围对应的显示区域,确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示区域;The display area corresponding to the range of orientable parameters is defined as the display area on the graphical user interface for the prompt graphic indicating the detection result of the target detection tool;

将可朝向参数范围对应的显示方向,确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示方向。The display direction corresponding to the range of oriented parameters is determined as the display direction of the prompt graphic on the graphical user interface that indicates the detection result of the target detection tool.

其中,当根据当前朝向参数,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数时,比如,如图21所示,如果目标探测道具的当前朝向参数如图21中的1所示的朝向参数,在图形用户界面上显示的提示图形可以如图21中的a所示,如果目标探测道具的当前朝向参数从如图21中的1所示的朝向参数更改为2所示的朝向参数,在图形用户界面上显示的提示图形可以如图21中的b所示,此时,会导致随着目标探测道具的朝向改变,频繁更改提示图形的显示参数,使得提示图形的显示可能给玩家造成干扰。Specifically, when determining the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface based on the current orientation parameter, for example, as shown in Figure 21, if the current orientation parameter of the target detection tool is the orientation parameter shown in Figure 21 (1), the prompt graphic displayed on the graphical user interface can be as shown in Figure 21 (a). If the current orientation parameter of the target detection tool changes from the orientation parameter shown in Figure 21 (1) to the orientation parameter shown in Figure 21 (2), the prompt graphic displayed on the graphical user interface can be as shown in Figure 21 (b). In this case, the display parameters of the prompt graphic will frequently change as the orientation of the target detection tool changes, which may cause interference to the player.

因此,在本公开实施例中,根据当前朝向参数,确定目标探测道具的可朝向参数范围,可朝向参数范围包括多个朝向参数,朝向参数包括当前朝向参数;确定可朝向参数范围对应的显示区域和显示方向;将可朝向参数范围对应的显示区域,确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示区域;将可朝向参数范围对应的显示方向,确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示方向,使得提示图形的显示参数不但可以与当前朝向参数匹配,而且不会频繁更改显示参数,减少提示图形的显示给玩家造成的干扰。Therefore, in this embodiment of the disclosure, based on the current orientation parameter, the range of orientable parameters of the target detection tool is determined. The range of orientable parameters includes multiple orientation parameters, including the current orientation parameter. The display area and display direction corresponding to the range of orientable parameters are determined. The display area corresponding to the range of orientable parameters is determined as the display area of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface. The display direction corresponding to the range of orientable parameters is determined as the display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface. This ensures that the display parameters of the prompt graphic not only match the current orientation parameter but also do not frequently change the display parameters, reducing the interference caused to the player by the display of the prompt graphic.

比如,如图21所示,目标探测道具的可朝向参数范围可以包括图21中的1所示的朝向参数,图21中2所示的朝向参数以及图21中3所示的朝向参数,可朝向参数范围对应的显示区域包括图21中a所示的提示图形的显示区域、图21中b所示的提示图形的显示区域以及图21中c所示的提示图形的显示区域,可朝向参数范围对应的显示方向包括图21中a所示的提示图形的显示方向、图21中b所示的提示图形的显示方向以及图21中c所示的提示图形的显示方向,指示目标探测道具的探测结果的提示图形在图形用户界面上的显示区域和显示方向可以如图21中d所示的提示图形的显示区域和显示方向,也即是,指示目标探测道具的探测结果的提示图形在图形用户界面上的显示区域包括各个朝向参数对应的显示区域,指示目标探测道具的探测结果的提示图形在图形用户界面上的显示方向包括各个朝向参数对应的显示方向。For example, as shown in Figure 21, the range of orientable parameters of the target detection tool can include the orientable parameter shown in Figure 21 (1), Figure 21 (2), and Figure 21 (3). The display area corresponding to the range of orientable parameters includes the display area of the prompt graphic shown in Figure 21 (a), Figure 21 (b), and Figure 21 (c). The display direction corresponding to the range of orientable parameters includes the display direction of the prompt graphic shown in Figure 21 (a), Figure 21 (b), and Figure 21 (c). The display area and display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface can be the display area and display direction of the prompt graphic shown in Figure 21 (d). That is, the display area of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface includes the display area corresponding to each orientable parameter, and the display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface includes the display direction corresponding to each orientable parameter.

由以上内容可以看出,本公开实施例中,通过电子设备提供图形用户界面,图形用户界面包括至少部分游戏场景和探测提示控件,探测提示控件对应于受控虚拟角色的探测道具,受控虚拟角色为在至少部分游戏场景中通过电子设备进行控制的虚拟角色,电子设备响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具,响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,其中,探测结果表征受控虚拟角色通过使用目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果,实现提供具备探测功能的探测道具,提高玩家游戏体验,从而提高玩家的留存率,并且,具备探测功能的探测道具可以提高受控虚拟角色在游戏对局内的存活时间,使得电子设备无需频繁处理受控虚拟角色的死亡事件和无需频繁重启游戏对局,降低电子设备的响应频率,有助于节约电子设备的计算资源。As can be seen from the above, in this embodiment of the disclosure, a graphical user interface is provided by an electronic device. The graphical user interface includes at least a portion of the game scene and a detection prompt control. The detection prompt control corresponds to a detection item of the controlled virtual character. The controlled virtual character is a virtual character controlled by the electronic device in at least a portion of the game scene. In response to a first trigger operation on the detection prompt control, the electronic device displays a detection item interface on the graphical user interface. The detection item interface includes several detection items equipped by the controlled virtual character. In response to a trigger operation on the detection item interface, a target detection item among the several detection items is set as the detection item currently used by the controlled virtual character. The system also includes the display parameters of a graphical user interface for indicating the detection results of a target detection tool. The detection results represent the results of the controlled virtual character's detection of the game environment information of the controlled virtual character's location in the game scene using the target detection tool. This provides detection tools with detection functions, improves the player's gaming experience, and thus increases player retention. Furthermore, detection tools with detection functions can increase the survival time of the controlled virtual character in the game, so that electronic devices do not need to frequently handle the death events of the controlled virtual character or frequently restart the game, reducing the response frequency of electronic devices and helping to save the computing resources of electronic devices.

为了更好地实施以上方法,本公开实施例还提供一种游戏控制装置,该游戏控制装置具体可以集成在电子设备中,比如,计算机设备,该计算机设备可以为终端、服务器等设备。To better implement the above methods, this disclosure also provides a game control device, which can be integrated into an electronic device, such as a computer device, which can be a terminal, server, or other such device.

其中,终端可以为手机、平板电脑、智能蓝牙设备、笔记本电脑、个人电脑等设备;服务器可以是单一服务器,也可以是由多个服务器组成的服务器集群。The terminal can be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.

比如,在本实施例中,将以游戏控制装置具体集成在终端为例,对本公开实施例的方法进行详细说明,本实施例提供了一种游戏控制装置,如图22所示,该游戏控制装置通过电子设备提供图形用户界面,图形用户界面包括探测提示控件,探测提示控件对应于受控虚拟角色的探测道具,游戏控制装置可以包括:For example, in this embodiment, the method of this disclosure embodiment will be described in detail by taking the game control device specifically integrated into the terminal as an example. This embodiment provides a game control device, as shown in FIG22. The game control device provides a graphical user interface through an electronic device. The graphical user interface includes a detection prompt control, which corresponds to the detection props of the controlled virtual character. The game control device may include:

第一响应模块2201,被配置为执行响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具。The first response module 2201 is configured to perform a first trigger operation in response to a detection prompt control, displaying a detection item interface on a graphical user interface, the detection item interface including several detection items equipped by the controlled virtual character.

第二响应模块2202,被配置为执行响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,其中,探测结果表征受控虚拟角色通过使用目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果。The second response module 2202 is configured to perform a trigger operation in response to the detection prop interface, set the target detection prop among a plurality of detection props as the detection prop currently used by the controlled virtual character, and determine the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface, wherein the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.

在一些实施例中,第一响应模块2201还被配置为执行:In some embodiments, the first response module 2201 is further configured to perform:

响应于对探测提示控件的第二触发操作,关闭显示探测道具界面。In response to a second trigger operation on the detection prompt control, the detection item interface is closed.

在一些实施例中,第二响应模块2202还被配置为执行:In some embodiments, the second response module 2202 is further configured to perform:

在受控虚拟角色处于游戏对局中之后,根据探测结果和显示参数,在图形用户界面上显示提示图形。Once the controlled virtual character is in a game, a prompt graphic is displayed on the graphical user interface based on the detection results and display parameters.

在一些实施例中,第二响应模块2202还被配置为执行:In some embodiments, the second response module 2202 is further configured to perform:

响应于对探测提示控件的第三触发操作,根据显示参数,在图形用户界面上关闭提示图形。In response to a third trigger action on the probe prompt control, the prompt graphic is turned off on the graphical user interface according to the display parameters.

在一些实施例中,探测道具界面还包括探测范围设置子区域,第二响应模块2202还被配置为执行:In some embodiments, the detection tool interface further includes a detection range setting sub-region, and the second response module 2202 is further configured to execute:

响应于对探测范围设置子区域的触发操作,设置探测道具在被受控虚拟角色使用时在游戏场景中的探测范围,探测范围包括受控虚拟角色在游戏场景中所处位置;In response to the trigger operation of setting a sub-region for the detection range, the detection range of the detection prop in the game scene is set when it is used by the controlled virtual character. The detection range includes the position of the controlled virtual character in the game scene.

获取通过目标探测道具对探测范围进行探测得到的探测结果。Obtain the detection results obtained by using the target detection tool to detect the detection range.

在一些实施例中,探测结果包括第一探测结果和第二探测结果,第二响应模块2202还具体被配置为执行:In some embodiments, the detection results include a first detection result and a second detection result, and the second response module 2202 is further configured to execute:

通过目标探测道具,获取探测范围内的虚拟角色的属性值;Use target detection tools to obtain the attribute values of virtual characters within the detection range;

获取探测范围对应的预设探测条件,其中,设探测条件包括属性阈值,探测范围与属性阈值成对应关系;Obtain the preset detection conditions corresponding to the detection range, wherein the detection conditions include attribute thresholds, and the detection range corresponds to the attribute thresholds;

若属性值满足预设探测条件,则将对探测范围进行探测得到的探测结果确定为第一探测结果;If the attribute value meets the preset detection conditions, the detection result obtained by detecting the detection range will be determined as the first detection result;

若属性值不满足预设探测条件,则将对探测范围进行探测得到的探测结果确定为第二探测结果,指示第一探测结果的提示图形和指示第二探测结果的提示图形不同。If the attribute value does not meet the preset detection conditions, the detection result obtained by detecting the detection range will be determined as the second detection result, and the prompt graphic indicating the first detection result will be different from the prompt graphic indicating the second detection result.

在一些实施例中,探测道具界面还包括参数设置子区域,第二响应模块2202具体被配置为执行:In some embodiments, the detection tool interface further includes a parameter setting sub-area, and the second response module 2202 is specifically configured to execute:

响应于对参数设置子区域的触发操作,根据触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数。In response to a trigger operation on the parameter setting sub-area, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation.

在一些实施例中,参数设置子区域包括至少一个滑动控件,显示参数包括在至少一个方向上的显示尺寸,第二响应模块2202具体被配置为执行:In some embodiments, the parameter setting sub-area includes at least one sliding control, the display parameters include the display size in at least one direction, and the second response module 2202 is specifically configured to perform:

响应于对至少一个滑动控件的触发操作,确定触发操作在至少一个滑动控件上对应的位置;In response to a trigger operation on at least one slider control, determine the position of the trigger operation on at least one slider control;

根据位置,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的至少一个方向上的显示尺寸。Based on the location, determine the display size of the prompt graphic indicating the detection results of the target detection tool in at least one direction on the graphical user interface.

在一些实施例中,参数设置子区域包括旋转控件,显示参数包括显示方向,第二响应模块2202具体被配置为执行:In some embodiments, the parameter setting sub-area includes a rotation control, the display parameters include display orientation, and the second response module 2202 is specifically configured to execute:

响应于对旋转控件的旋转操作,获取旋转角度;In response to a rotation operation on the rotation control, obtain the rotation angle;

基于旋转角度以及指示目标探测道具的探测结果的提示图形的当前显示方向,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示方向。Based on the rotation angle and the current display orientation of the prompt graphic indicating the detection results of the target detection tool, determine the display orientation of the prompt graphic on the graphical user interface.

在一些实施例中,第二响应模块2202具体被配置为执行:In some embodiments, the second response module 2202 is specifically configured to perform:

响应于对参数设置子区域的触发操作,根据触发操作,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的候选显示参数;In response to a trigger operation on the parameter setting sub-area, candidate display parameters for the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined based on the trigger operation.

根据候选显示参数显示提示图形;Display prompt graphics based on candidate display parameters;

响应于参数确认事件,将候选显示参数确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数。In response to a parameter confirmation event, candidate display parameters are determined as the display parameters of the prompt graphic on the graphical user interface that indicate the detection results of the target detection tool.

在一些实施例中,探测道具界面包括道具合成子区域,道具合成子区域包括受控虚拟角色的探测道具,第二响应模块2202具体被配置为执行:In some embodiments, the detection prop interface includes a prop synthesis sub-region, which includes detection props for the controlled virtual character, and the second response module 2202 is specifically configured to execute:

响应于对道具合成子区域中的至少两个探测道具的合成操作,对至少两个探测道具进行合成处理,得到合成后探测道具,合成后探测道具具备至少两个探测道具对应的探测功能;In response to a synthesis operation on at least two detection items in a synthesis sub-region, the at least two detection items are synthesized to obtain a synthesized detection item, which has the detection function corresponding to the at least two detection items.

将合成后探测道具作为目标探测道具,并将目标探测道具设置为受控虚拟角色当前使用的探测道具。Use the synthesized detection item as the target detection item, and set the target detection item as the detection item currently used by the controlled virtual character.

在一些实施例中,第二响应模块2202还被配置为执行:In some embodiments, the second response module 2202 is further configured to perform:

若探测结果为第一探测结果,则按照显示参数显示指示第一探测结果对应的提示图形;If the detection result is the first detection result, then the prompt graphic corresponding to the first detection result will be displayed according to the display parameters;

若探测结果为第二探测结果,则按照显示参数显示指示第二探测结果对应的提示图形。If the detection result is the second detection result, then the prompt graphic corresponding to the second detection result will be displayed according to the display parameters.

在一些实施例中,第二响应模块2202还具体被配置为执行:In some embodiments, the second response module 2202 is further configured to perform:

若探测结果为第一探测结果,则获取第一探测结果中敌方虚拟角色的方位信息;If the detection result is the first detection result, then obtain the location information of the enemy virtual character in the first detection result;

按照方位信息显示指示第一探测结果对应的提示图形;The orientation information displays the prompt graphic corresponding to the first detection result;

在检测到受控虚拟角色的动作与方位信息匹配时,按照显示参数显示指示第一探测结果对应的提示图形。When the controlled virtual character's actions and location information are detected to match, a prompt graphic corresponding to the first detection result is displayed according to the display parameters.

在一些实施例中,第二响应模块2202还具体被配置为执行:In some embodiments, the second response module 2202 is further configured to perform:

若探测结果为第一探测结果,则获取第一探测结果中敌方虚拟角色的方位信息;If the detection result is the first detection result, then obtain the location information of the enemy virtual character in the first detection result;

按照显示参数显示指示第一探测结果对应的提示图形,以及显示指向方位信息对应的方位的标识。The system displays a prompt graphic corresponding to the first detection result according to the displayed parameters, as well as an indicator of the direction corresponding to the directional information.

在一些实施例中,第二响应模块2202还被配置为执行:In some embodiments, the second response module 2202 is further configured to perform:

响应于对第一探测结果的位置指示操作,获取第一探测结果中敌方虚拟角色的位置信息;In response to the location indication operation of the first detection result, the location information of the enemy virtual character in the first detection result is obtained;

根据位置信息,在图形用户界面上显示敌方虚拟角色的位置指示标识。Based on location information, display location indicators of enemy virtual characters on the graphical user interface.

在一些实施例中,第二响应模块2202还具体被配置为执行:In some embodiments, the second response module 2202 is further configured to perform:

响应于对第一探测结果的位置指示操作,获取显示位置指示标识的历史时间;In response to the location indication operation of the first detection result, the historical time of the displayed location indication flag is obtained;

若历史时间和当前时间之间的时间间隔等于或大于第一时长,则获取探测结果中敌方虚拟角色的位置信息;If the time interval between the historical time and the current time is equal to or greater than the first duration, then obtain the location information of the enemy virtual character in the detection results;

根据位置信息,在图形用户界面上显示第二时长的敌方虚拟角色的位置指示标识。Based on location information, display the location indicators of the enemy virtual characters for a second duration on the graphical user interface.

在一些实施例中,图形用户界面还包括位置控件,位置控件上显示有位置指示标识的历史显示次数标识,第二响应模块2202还具体被配置为执行:In some embodiments, the graphical user interface further includes a location control displaying a historical display count of the location indicator, and the second response module 2202 is specifically configured to execute:

响应于对位置控件的触发操作,判定历史显示次数是否小于预设次数;In response to a trigger operation on the position control, determine whether the number of historical displays is less than the preset number;

若历史显示次数小于或等于预设次数,则获取第一探测结果中敌方虚拟角色的位置信息。If the number of historical displays is less than or equal to the preset number, the location information of the enemy virtual character in the first detection result is obtained.

在一些实施例中,第二响应模块2202还被配置为执行:In some embodiments, the second response module 2202 is further configured to perform:

控制受控虚拟角色使用目标探测道具;Control the controlled virtual character to use target detection tools;

获取目标探测道具的当前朝向参数;Obtain the current orientation parameters of the target detection tool;

根据当前朝向参数,确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,显示参数和当前朝向参数匹配。Based on the current orientation parameters, determine the display parameters of the prompt graphic indicating the detection results of the target detection tool on the graphical user interface, and match the display parameters with the current orientation parameters.

在一些实施例中,显示参数包括显示区域和显示方向,第二响应模块2202还具体被配置为执行:In some embodiments, the display parameters include the display area and the display orientation, and the second response module 2202 is further configured to execute:

根据当前朝向参数,确定目标探测道具的可朝向参数范围,可朝向参数范围包括多个朝向参数,朝向参数包括当前朝向参数;Based on the current orientation parameters, determine the range of orientation parameters that the target detection tool can be oriented. The range of orientation parameters includes multiple orientation parameters, including the current orientation parameter.

确定可朝向参数范围对应的显示区域和显示方向;Determine the display area and display orientation corresponding to the range of possible orientation parameters;

将可朝向参数范围对应的显示区域,确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示区域;The display area corresponding to the range of orientable parameters is defined as the display area on the graphical user interface for the prompt graphic indicating the detection result of the target detection tool;

将可朝向参数范围对应的显示方向,确定为指示目标探测道具的探测结果的提示图形在图形用户界面上的显示方向。The display direction corresponding to the range of oriented parameters is determined as the display direction of the prompt graphic on the graphical user interface that indicates the detection result of the target detection tool.

具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施方式以及对应的有益效果可参见前面的方法实施例,在此不再赘述。In practice, each of the above modules can be implemented as an independent entity or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation methods and corresponding beneficial effects of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.

相应的,本公开实施例还提供一种电子设备,该电子设备可以为终端,该终端可以为智能手机、平板电脑、笔记本电脑、触控屏幕、游戏机、个人计算机(PC,Personal Computer)、个人数字助理(Personal Digital Assistant,PDA)等终端设备。如图23所示,图23为本公开实施例提供的电子设备的结构示意图。该电子设备2300包括有一个或者一个以上处理核心的处理器2301、有一个或一个以上计算机可读存储介质的存储器2302及存储在存储器2302上并可在处理器上运行的计算机程序。其中,处理器2301与存储器2302电性连接。本领域技术人员可以理解,图中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Accordingly, this disclosure also provides an electronic device, which can be a terminal, such as a smartphone, tablet computer, laptop computer, touch screen, game console, personal computer (PC), personal digital assistant (PDA), etc. As shown in Figure 23, which is a schematic diagram of the structure of the electronic device provided in this disclosure embodiment, the electronic device 2300 includes a processor 2301 with one or more processing cores, a memory 2302 with one or more computer-readable storage media, and a computer program stored on the memory 2302 and executable on the processor. The processor 2301 and the memory 2302 are electrically connected. Those skilled in the art will understand that the electronic device structure shown in the figures does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

处理器2301是电子设备2300的控制中心,利用各种接口和线路连接整个电子设备2300的各个部分,通过运行或加载存储在存储器2302内的软件程序和/或模块,以及调用存储在存储器2302内的数据,执行电子设备2300的各种功能和处理数据,从而对电子设备2300进行整体监控。The processor 2301 is the control center of the electronic device 2300. It connects various parts of the electronic device 2300 through various interfaces and lines. By running or loading software programs and/or modules stored in the memory 2302, and calling data stored in the memory 2302, it performs various functions of the electronic device 2300 and processes data, thereby monitoring the electronic device 2300 as a whole.

在本公开实施例中,电子设备2300中的处理器2301会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器2302中,并由处理器2301来运行存储在存储器2302中的应用程序,从而实现各种功能,比如:In this embodiment of the disclosure, the processor 2301 in the electronic device 2300 loads the instructions corresponding to the processes of one or more application programs into the memory 2302 according to the following steps, and the processor 2301 runs the application programs stored in the memory 2302 to realize various functions, such as:

响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具;In response to the first trigger operation of the detection prompt control, the detection item interface is displayed on the graphical user interface, which includes several detection items that the controlled virtual character has equipped.

响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,其中,探测结果表征受控虚拟角色通过使用目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果。In response to the trigger operation on the detection prop interface, the target detection prop among several detection props is set as the detection prop currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface are determined. The detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.

以上各个操作的具体实施方式以及对应的有益效果可参见上文对游戏控制方法的详细描述,在此不作赘述。For details on the specific implementation methods and corresponding beneficial effects of each of the above operations, please refer to the detailed description of the game control method above, which will not be repeated here.

可选的,如图23所示,电子设备2300还包括:触控显示屏2303、射频电路2304、音频电路2305、输入单元2306以及电源2307。其中,处理器2301分别与触控显示屏2303、射频电路2304、音频电路2305、输入单元2306以及电源2307电性连接。本领域技术人员可以理解,图23中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Optionally, as shown in FIG23, the electronic device 2300 further includes: a touch display screen 2303, a radio frequency circuit 2304, an audio circuit 2305, an input unit 2306, and a power supply 2307. The processor 2301 is electrically connected to the touch display screen 2303, the radio frequency circuit 2304, the audio circuit 2305, the input unit 2306, and the power supply 2307. Those skilled in the art will understand that the electronic device structure shown in FIG23 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

触控显示屏2303可用于显示图形用户界面以及接收用户作用于图形用户界面产生的操作指令。触控显示屏2303可以包括显示面板和触控面板。其中,显示面板可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。触控面板可用于收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板上或在触控面板附近的操作),并生成相应的操作指令,且操作指令执行对应程序。可选的,触控面板可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器2301,并能接收处理器2301发来的命令并加以执行。触控面板可覆盖显示面板,当触控面板检测到在其上或附近的触摸操作后,传送给处理器2301以确定触摸事件的类型,随后处理器2301根据触摸事件的类型在显示面板上提供相应的视觉输出。在本公开实施例中,可以将触控面板与显示面板集成到触控显示屏2303而实现输入和输出功能。但是在某些实施例中,触控面板与触控面板可以作为两个独立的部件来实现输入和输出功能。即触控显示屏2303也可以作为输入单元2306的一部分实现输入功能。The touch display screen 2303 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 2303 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), an organic light-emitting diode (OLED), or other similar devices. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting 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 it to the processor 2301. It can also receive and execute commands from the processor 2301. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 2301 to determine the type of touch event. Subsequently, the processor 2301 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 2303 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 2303 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 2303 can also be used as part of the input unit 2306 to achieve input functions.

射频电路2304可用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。The radio frequency circuit 2304 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices, and to transmit and receive signals with network devices or other electronic devices.

音频电路2305可以用于通过扬声器、传声器提供用户与电子设备之间的音频接口。音频电路2305可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路2305接收后转换为音频数据,再将音频数据输出处理器2301处理后,经射频电路2304以发送给比如另一电子设备,或者将音频数据输出至存储器2302以便进一步处理。音频电路2305还可能包括耳塞插孔,以提供外设耳机与电子设备的通信。Audio circuitry 2305 can be used to provide an audio interface between a user and an electronic device via a speaker and a microphone. Audio circuitry 2305 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 2305, converted back into audio data, and then processed by processor 2301 before being transmitted via radio frequency circuitry 2304 to, for example, another electronic device, or output to memory 2302 for further processing. Audio circuitry 2305 may also include an earphone jack to provide communication between peripheral headphones and electronic devices.

输入单元2306可用于接收输入的数字、字符信息或用户特征信息(例如指纹、虹膜、面部信息等),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The input unit 2306 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

电源2307用于给电子设备2300的各个部件供电。可选的,电源2307可以通过电源管理系统与处理器2301逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源2307还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。Power supply 2307 is used to supply power to various components of electronic device 2300. Optionally, power supply 2307 can be logically connected to processor 2301 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 2307 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

尽管图23中未示出,电子设备2300还可以包括摄像头、传感器、无线保真模块、蓝牙模块等,在此不再赘述。Although not shown in Figure 23, the electronic device 2300 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读存储介质中,并由处理器进行加载和执行。Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

为此,本公开实施例提供一种计算机可读存储介质,其中存储有多条计算机程序,该计算机程序能够被处理器进行加载,以执行本公开实施例所提供的任一种游戏控制方法。例如,该计算机程序可以执行如下步骤:Therefore, embodiments of this disclosure provide a computer-readable storage medium storing a plurality of computer programs that can be loaded by a processor to execute any of the game control methods provided in embodiments of this disclosure. For example, the computer program can perform the following steps:

响应于对探测提示控件的第一触发操作,在图形用户界面上显示探测道具界面,探测道具界面包括受控虚拟角色已装备的若干个探测道具;In response to the first trigger operation of the detection prompt control, the detection item interface is displayed on the graphical user interface, which includes several detection items that the controlled virtual character has equipped.

响应于对探测道具界面的触发操作,将若干个探测道具中的目标探测道具设置为受控虚拟角色当前使用的探测道具,以及确定指示目标探测道具的探测结果的提示图形在图形用户界面上的显示参数,其中,探测结果表征受控虚拟角色通过使用目标探测道具对受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果。In response to the trigger operation on the detection prop interface, the target detection prop among several detection props is set as the detection prop currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface are determined. The detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene.

以上各个操作的具体实施方式以及对应的有益效果可参见上文对游戏控制方法的详细描述,在此不作赘述。For details on the specific implementation methods and corresponding beneficial effects of each of the above operations, please refer to the detailed description of the game control method above, which will not be repeated here.

其中,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

由于该计算机可读存储介质中所存储的计算机程序,可以执行本公开实施例所提供的任一种游戏控制方法,因此,可以实现本公开实施例所提供的任一种游戏控制方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the computer program stored in the computer-readable storage medium can execute any of the game control methods provided in the embodiments of this disclosure, the beneficial effects that any of the game control methods provided in the embodiments of this disclosure can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

以上对本公开实施例所提供的一种游戏控制方法、装置、电子设备和计算机可读存储介质进行了详细介绍,本文中应用了具体个例对本公开的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本公开的方法及其核心思想;同时,对于本领域的技术人员,依据本公开的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本公开的限制。The foregoing has provided a detailed description of a game control method, apparatus, electronic device, and computer-readable storage medium provided by the embodiments of this disclosure. Specific examples have been used to illustrate the principles and implementation methods of this disclosure. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of this disclosure. At the same time, those skilled in the art will recognize that there will be changes in the specific implementation methods and application scope based on the ideas of this disclosure. Therefore, the content of this specification should not be construed as a limitation of this disclosure.

Claims (22)

一种游戏控制方法,通过电子设备提供图形用户界面,所述图形用户界面包括探测提示控件,所述探测提示控件对应于受控虚拟角色的探测道具,所述方法包括:A game control method provides a graphical user interface via an electronic device, the graphical user interface including a detection prompt control corresponding to a detection item of a controlled virtual character, the method comprising: 响应于对所述探测提示控件的第一触发操作,在所述图形用户界面上显示探测道具界面,所述探测道具界面包括所述受控虚拟角色已装备的若干个探测道具;In response to a first trigger operation of the detection prompt control, a detection prop interface is displayed on the graphical user interface, the detection prop interface including a number of detection props equipped by the controlled virtual character; 响应于对所述探测道具界面的触发操作,将所述若干个探测道具中的目标探测道具设置为所述受控虚拟角色当前使用的探测道具,以及确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,其中,所述探测结果表征所述受控虚拟角色通过使用所述目标探测道具对所述受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果。In response to a trigger operation on the detection tool interface, the target detection tool among the plurality of detection tools is set as the detection tool currently used by the controlled virtual character, and the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined, wherein the detection result represents the result of the controlled virtual character using the target detection tool to detect the game environment information of the controlled virtual character's location in the game scene. 如权利要求1所述的游戏控制方法,其中,在所述响应于对所述探测提示控件的第一触发操作,在所述图形用户界面上显示探测道具界面之后,还包括:The game control method of claim 1, wherein, after displaying the detection item interface on the graphical user interface in response to a first trigger operation of the detection prompt control, the method further includes: 响应于对所述探测提示控件的第二触发操作,关闭显示所述探测道具界面。In response to a second trigger operation on the detection prompt control, the display of the detection tool interface is closed. 如权利要求1所述的游戏控制方法,其中,在所述确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数之后,还包括:The game control method of claim 1, wherein, after determining the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface, it further includes: 在所述受控虚拟角色处于游戏对局中之后,根据探测结果和所述显示参数,在所述图形用户界面上显示所述提示图形。After the controlled virtual character is in a game, the prompt graphic is displayed on the graphical user interface based on the detection results and the display parameters. 如权利要求3所述的游戏控制方法,其中,在根据探测结果和所述显示参数,在所述图形用户界面上显示所述提示图形之后,还包括:The game control method of claim 3, further comprising, after displaying the prompt graphic on the graphical user interface based on the detection result and the display parameters, the method includes: 响应于对所述探测提示控件的第三触发操作,根据所述显示参数,在所述图形用户界面上关闭所述提示图形。In response to a third trigger operation on the detection prompt control, the prompt graphic is turned off on the graphical user interface according to the display parameters. 如权利要求3所述的游戏控制方法,其中,所述探测道具界面还包括探测范围设置子区域,在所述响应于对所述探测提示控件的第一触发操作,在所述图形用户界面上显示探测道具界面之后,还包括:The game control method as described in claim 3, wherein the detection item interface further includes a detection range setting sub-area, and after displaying the detection item interface on the graphical user interface in response to a first trigger operation of the detection prompt control, it further includes: 响应于对所述探测范围设置子区域的触发操作,设置探测道具在被所述受控虚拟角色使用时在游戏场景中的探测范围,所述探测范围包括所述受控虚拟角色在游戏场景中所处位置;In response to a trigger operation that sets a sub-region for the detection range, the detection range of the detection prop in the game scene is set when it is used by the controlled virtual character, and the detection range includes the position of the controlled virtual character in the game scene; 在根据探测结果和所述显示参数,在所述图形用户界面上显示所述提示图形之前,还包括:Before displaying the prompt graphic on the graphical user interface based on the detection results and the display parameters, the method further includes: 获取通过所述目标探测道具对所述探测范围进行探测得到的探测结果。Obtain the detection results obtained by using the target detection tool to detect the detection range. 如权利要求5所述的游戏控制方法,其中,所述探测结果包括第一探测结果和第二探测结果,所述获取通过所述目标探测道具对所述探测范围进行探测得到的探测结果,包括:The game control method as described in claim 5, wherein the detection result includes a first detection result and a second detection result, and the step of obtaining the detection result obtained by detecting the detection range through the target detection prop includes: 通过所述目标探测道具,获取所述探测范围内的虚拟角色的属性值;The target detection tool is used to obtain the attribute values of virtual characters within the detection range; 获取所述探测范围对应的预设探测条件,其中,所述预设探测条件包括属性阈值,所述探测范围与属性阈值成对应关系;Obtain the preset detection conditions corresponding to the detection range, wherein the preset detection conditions include an attribute threshold, and the detection range corresponds to the attribute threshold; 若所述属性值满足所述预设探测条件,则将对所述探测范围进行探测得到的探测结果确定为第一探测结果;If the attribute value meets the preset detection conditions, the detection result obtained by detecting the detection range will be determined as the first detection result; 若所述属性值不满足所述预设探测条件,则将对所述探测范围进行探测得到的探测结果确定为第二探测结果,指示所述第一探测结果的提示图形和指示所述第二探测结果的提示图形不同。If the attribute value does not meet the preset detection conditions, the detection result obtained by detecting the detection range will be determined as the second detection result, and the prompt graphic indicating the first detection result will be different from the prompt graphic indicating the second detection result. 如权利要求1所述的游戏控制方法,其中,所述探测道具界面还包括参数设置子区域,所述响应于对所述探测道具界面的触发操作,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,包括:The game control method as described in claim 1, wherein the detection item interface further includes a parameter setting sub-area, and the step of determining the display parameters of the prompt graphic indicating the detection result of the target detection item on the graphical user interface in response to a trigger operation on the detection item interface includes: 响应于对所述参数设置子区域的触发操作,根据所述触发操作,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数。In response to a trigger operation on the parameter setting sub-area, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined according to the trigger operation. 如权利要求7所述的游戏控制方法,其中,所述参数设置子区域包括至少一个滑动控件,所述显示参数包括在至少一个方向上的显示尺寸,所述响应于对所述参数设置子区域的触发操作,根据所述触发操作,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,包括:The game control method of claim 7, wherein the parameter setting sub-area includes at least one sliding control, the display parameters include display size in at least one direction, and the step of determining the display parameters of a prompt graphic indicating the detection result of the target detection tool on the graphical user interface in response to a trigger operation on the parameter setting sub-area includes: 响应于对所述至少一个滑动控件的触发操作,确定所述触发操作在所述至少一个滑动控件上对应的位置;In response to a trigger operation on the at least one sliding control, determine the position of the trigger operation on the at least one sliding control; 根据所述位置,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的至少一个方向上的显示尺寸。Based on the location, determine the display size of the prompt graphic indicating the detection result of the target detection tool in at least one direction on the graphical user interface. 如权利要求7所述的游戏控制方法,其中,所述参数设置子区域包括旋转控件,所述显示参数包括显示方向,所述响应于对所述参数设置子区域的触发操作,根据所述触发操作,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,包括:The game control method of claim 7, wherein the parameter setting sub-area includes a rotation control, the display parameters include a display direction, and the step of determining the display parameters of a prompt graphic indicating the detection result of the target detection tool on the graphical user interface in response to a trigger operation on the parameter setting sub-area includes: 响应于对所述旋转控件的旋转操作,获取旋转角度;In response to a rotation operation on the rotation control, the rotation angle is obtained; 基于所述旋转角度以及指示所述目标探测道具的探测结果的提示图形的当前显示方向,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示方向。Based on the rotation angle and the current display direction of the prompt graphic indicating the detection result of the target detection tool, the display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface is determined. 如权利要求7所述的游戏控制方法,其中,所述响应于对所述参数设置子区域的触发操作,根据所述触发操作,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,包括:The game control method of claim 7, wherein, in response to a trigger operation on the parameter setting sub-region, determining the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface according to the trigger operation includes: 响应于对所述参数设置子区域的触发操作,根据所述触发操作,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的候选显示参数;In response to a trigger operation on the parameter setting sub-area, candidate display parameters for a prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined based on the trigger operation. 根据所述候选显示参数显示所述提示图形;The prompt graphic is displayed according to the candidate display parameters; 响应于参数确认事件,将所述候选显示参数确定为指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数。In response to a parameter confirmation event, the candidate display parameter is determined as the display parameter of the prompt graphic on the graphical user interface indicating the detection result of the target detection tool. 如权利要求1所述的游戏控制方法,其中,所述探测道具界面包括道具合成子区域,所述道具合成子区域包括所述受控虚拟角色的探测道具,所述触发操作为合成操作,所述响应于对所述探测道具界面的触发操作,将所述若干个探测道具中的目标探测道具设置为所述受控虚拟角色当前使用的探测道具,包括:The game control method as described in claim 1, wherein the detection item interface includes an item synthesis sub-area, the item synthesis sub-area includes the detection items of the controlled virtual character, the triggering operation is a synthesis operation, and the step of setting the target detection item among the plurality of detection items as the detection item currently used by the controlled virtual character in response to the triggering operation of the detection item interface includes: 响应于对所述道具合成子区域中的至少两个探测道具的合成操作,对所述至少两个探测道具进行合成处理,得到合成后探测道具,所述合成后探测道具具备所述至少两个探测道具对应的探测功能;In response to a synthesis operation on at least two detection props in the prop synthesis sub-region, the at least two detection props are synthesized to obtain a synthesized detection prop, which has the detection function corresponding to the at least two detection props. 将所述合成后探测道具作为目标探测道具,并将所述目标探测道具设置为所述受控虚拟角色当前使用的探测道具。The synthesized detection tool is used as the target detection tool, and the target detection tool is set as the detection tool currently used by the controlled virtual character. 如权利要求1所述的游戏控制方法,其中,在所述确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数之后,包括:The game control method of claim 1, wherein, after determining the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface, it includes: 若所述探测结果为第一探测结果,则按照所述显示参数显示指示所述第一探测结果对应的提示图形;If the detection result is the first detection result, then display the prompt graphic corresponding to the first detection result according to the display parameters; 若所述探测结果为第二探测结果,则按照所述显示参数显示指示所述第二探测结果对应的提示图形。If the detection result is the second detection result, then the prompt graphic corresponding to the second detection result is displayed according to the display parameters. 如权利要求12所述的游戏控制方法,其中,所述若所述探测结果为第一探测结果,则按照所述显示参数显示指示所述第一探测结果对应的提示图形,包括:The game control method as described in claim 12, wherein, if the detection result is a first detection result, displaying a prompt graphic corresponding to the first detection result according to the display parameters, includes: 若所述探测结果为第一探测结果,则获取所述第一探测结果中敌方虚拟角色的方位信息;If the detection result is the first detection result, then the location information of the enemy virtual character in the first detection result is obtained; 按照所述方位信息显示指示所述第一探测结果对应的提示图形;The display shows a prompt graphic corresponding to the first detection result according to the location information; 在检测到所述受控虚拟角色的动作与所述方位信息匹配时,按照所述显示参数显示指示所述第一探测结果对应的提示图形。When the controlled virtual character's action is detected to match the location information, a prompt graphic corresponding to the first detection result is displayed according to the display parameters. 如权利要求12所述的游戏控制方法,其中,所述若所述探测结果为第一探测结果,则按照所述显示参数显示指示所述第一探测结果对应的提示图形,包括:The game control method as described in claim 12, wherein, if the detection result is a first detection result, displaying a prompt graphic corresponding to the first detection result according to the display parameters, includes: 若所述探测结果为第一探测结果,则获取所述第一探测结果中敌方虚拟角色的方位信息;If the detection result is the first detection result, then the location information of the enemy virtual character in the first detection result is obtained; 按照所述显示参数显示指示所述第一探测结果对应的提示图形,以及显示指向所述方位信息对应的方位的标识。The system displays a prompt graphic corresponding to the first detection result according to the display parameters, and displays an identifier pointing to the direction corresponding to the directional information. 如权利要求12所述的游戏控制方法,其中,在所述若所述探测结果为第一探测结果,则按照所述显示参数显示指示所述第一探测结果对应的提示图形之后,还包括:The game control method of claim 12, wherein, after displaying the prompt graphic corresponding to the first detection result according to the display parameters if the detection result is the first detection result, the method further includes: 响应于对所述第一探测结果的位置指示操作,获取所述第一探测结果中敌方虚拟角色的位置信息;In response to the location indication operation of the first detection result, the location information of the enemy virtual character in the first detection result is obtained; 根据所述位置信息,在所述图形用户界面上显示所述敌方虚拟角色的位置指示标识。Based on the location information, the location indicator of the enemy virtual character is displayed on the graphical user interface. 如权利要求15所述的游戏控制方法,其中,所述响应于对所述第一探测结果的位置指示操作,获取所述第一探测结果中敌方虚拟角色的位置信息,包括:The game control method of claim 15, wherein the step of obtaining the position information of the enemy virtual character in the first detection result in response to the position indication operation of the first detection result includes: 响应于对所述第一探测结果的位置指示操作,获取显示位置指示标识的历史时间;In response to the location indication operation of the first detection result, the historical time of the displayed location indication identifier is obtained; 若所述历史时间和当前时间之间的时间间隔等于或大于第一时长,则获取所述第一探测结果中敌方虚拟角色的位置信息;If the time interval between the historical time and the current time is equal to or greater than the first duration, then the location information of the enemy virtual character in the first detection result is obtained; 所述根据所述位置信息,在所述图形用户界面上显示所述敌方虚拟角色的位置指示标识,包括:The step of displaying the location indicator of the enemy virtual character on the graphical user interface based on the location information includes: 根据所述位置信息,在所述图形用户界面上显示第二时长的所述敌方虚拟角色的位置指示标识。Based on the location information, the location indicator of the enemy virtual character is displayed on the graphical user interface for a second duration. 如权利要求15所述的游戏控制方法,其中,所述图形用户界面还包括位置控件,所述位置控件上显示有位置指示标识的历史显示次数标识,所述响应于对所述第一探测结果的位置指示操作,获取所述第一探测结果中敌方虚拟角色的位置信息,包括:The game control method of claim 15, wherein the graphical user interface further includes a position control, the position control displaying a historical display count indicator of the position indicator, and the step of obtaining the position information of the enemy virtual character in the first detection result in response to the position indication operation of the first detection result includes: 响应于对所述位置控件的触发操作,判定所述历史显示次数是否小于预设次数;In response to a trigger operation on the location control, determine whether the number of historical displays is less than a preset number; 若所述历史显示次数小于或等于预设次数,则获取所述第一探测结果中敌方虚拟角色的位置信息。If the number of historical displays is less than or equal to a preset number, then the location information of the enemy virtual character in the first detection result is obtained. 如权利要求1所述的游戏控制方法,其中,在所述响应于对所述探测道具界面的触发操作,将所述若干个探测道具中的目标探测道具设置为所述受控虚拟角色当前使用的探测道具之后,还包括:The game control method as described in claim 1, wherein, after setting the target detection item among the plurality of detection items as the detection item currently used by the controlled virtual character in response to a trigger operation on the detection item interface, the method further includes: 控制所述受控虚拟角色使用所述目标探测道具;Control the controlled virtual character to use the target detection tool; 所述确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,包括:The display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface include: 获取所述目标探测道具的当前朝向参数;Obtain the current orientation parameters of the target detection device; 根据所述当前朝向参数,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,所述显示参数和所述当前朝向参数匹配。Based on the current orientation parameter, the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface are determined, and the display parameters are matched with the current orientation parameter. 如权利要求18所述的游戏控制方法,其中,所述显示参数包括显示区域和显示方向,所述根据所述当前朝向参数,确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,所述显示参数和所述当前朝向参数匹配,包括:The game control method of claim 18, wherein the display parameters include a display area and a display direction, and the step of determining the display parameters of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface according to the current orientation parameter, wherein the display parameters and the current orientation parameter are matched, includes: 根据所述当前朝向参数,确定所述目标探测道具的可朝向参数范围,所述可朝向参数范围包括多个朝向参数,所述朝向参数包括所述当前朝向参数;Based on the current orientation parameter, the range of orientation parameters that the target detection tool can be directed to is determined. The range of orientation parameters includes multiple orientation parameters, including the current orientation parameter. 确定所述可朝向参数范围对应的显示区域和显示方向;Determine the display area and display direction corresponding to the range of orientable parameters; 将所述可朝向参数范围对应的显示区域,确定为所述指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示区域;The display area corresponding to the range of orientable parameters is defined as the display area on the graphical user interface for the prompt graphic indicating the detection result of the target detection tool; 将所述可朝向参数范围对应的显示方向,确定为所述指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示方向。The display direction corresponding to the oriented parameter range is determined as the display direction of the prompt graphic indicating the detection result of the target detection tool on the graphical user interface. 一种游戏控制装置,通过电子设备提供图形用户界面,所述图形用户界面包括探测提示控件,所述探测提示控件对应于受控虚拟角色的探测道具,所述装置包括:A game control device provides a graphical user interface via an electronic device, the graphical user interface including a detection prompt control corresponding to a detection tool of a controlled virtual character, the device comprising: 第一响应模块,被配置为执行响应于对所述探测提示控件的第一触发操作,在所述图形用户界面上显示探测道具界面,所述探测道具界面包括所述受控虚拟角色已装备的若干个探测道具;The first response module is configured to perform a first trigger operation in response to the detection prompt control, displaying a detection prop interface on the graphical user interface, the detection prop interface including a number of detection props equipped by the controlled virtual character; 第二响应模块,被配置为执行响应于对所述探测道具界面的触发操作,将所述若干个探测道具中的目标探测道具设置为所述受控虚拟角色当前使用的探测道具,以及确定指示所述目标探测道具的探测结果的提示图形在所述图形用户界面上的显示参数,其中,所述探测结果表征所述受控虚拟角色通过使用所述目标探测道具对所述受控虚拟角色在游戏场景中所处位置的游戏环境信息进行探测的结果。The second response module is configured to perform a trigger operation in response to the detection prop interface, set the target detection prop among the plurality of detection props as the detection prop currently used by the controlled virtual character, and determine the display parameters of the prompt graphic indicating the detection result of the target detection prop on the graphical user interface, wherein the detection result represents the result of the controlled virtual character using the target detection prop to detect the game environment information of the controlled virtual character's location in the game scene. 一种电子设备,包括处理器和存储器,所述存储器存储有多条指令;所述处理器从所述存储器中加载指令,以执行如权利要求1至19任一项所述的游戏控制方法。An electronic device includes a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to execute the game control method as described in any one of claims 1 to 19. 一种计算机可读存储介质,所述计算机可读存储介质存储有多条指令,所述指令适于处理器进行加载,以执行权利要求1至19任一项所述的游戏控制方法。A computer-readable storage medium storing a plurality of instructions adapted for loading by a processor to perform the game control method according to any one of claims 1 to 19.
PCT/CN2025/097711 2024-06-06 2025-05-28 Game control method and apparatus, electronic device, and computer-readable storage medium Pending WO2025251980A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410734112.3 2024-06-06
CN202410734112.3A CN118593991A (en) 2024-06-06 2024-06-06 Game control method, device, electronic device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2025251980A1 true WO2025251980A1 (en) 2025-12-11

Family

ID=92556774

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2025/097711 Pending WO2025251980A1 (en) 2024-06-06 2025-05-28 Game control method and apparatus, electronic device, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN118593991A (en)
WO (1) WO2025251980A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110448907A (en) * 2019-08-16 2019-11-15 腾讯科技(深圳)有限公司 The display methods of virtual element, device and readable storage medium storing program for executing in virtual environment
CN112717384A (en) * 2021-01-08 2021-04-30 浙江大学 Information processing method and device in game, electronic equipment and storage medium
CN113680061A (en) * 2021-09-03 2021-11-23 腾讯科技(深圳)有限公司 Control method, device, terminal and storage medium of virtual prop
CN116920398A (en) * 2022-04-07 2023-10-24 深圳市腾讯网络信息技术有限公司 Method, apparatus, device, medium and program product for exploration in virtual worlds
CN116999829A (en) * 2022-05-20 2023-11-07 腾讯科技(深圳)有限公司 Virtual flight prop control method and device, storage medium and electronic equipment
CN117654028A (en) * 2023-11-22 2024-03-08 网易(杭州)网络有限公司 Game display control method and device, computer equipment and storage medium
CN118022321A (en) * 2022-11-04 2024-05-14 腾讯科技(深圳)有限公司 A method for providing a prompt for a guiding route, a related device, an equipment and a storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110448907A (en) * 2019-08-16 2019-11-15 腾讯科技(深圳)有限公司 The display methods of virtual element, device and readable storage medium storing program for executing in virtual environment
CN112717384A (en) * 2021-01-08 2021-04-30 浙江大学 Information processing method and device in game, electronic equipment and storage medium
CN113680061A (en) * 2021-09-03 2021-11-23 腾讯科技(深圳)有限公司 Control method, device, terminal and storage medium of virtual prop
CN116920398A (en) * 2022-04-07 2023-10-24 深圳市腾讯网络信息技术有限公司 Method, apparatus, device, medium and program product for exploration in virtual worlds
CN116999829A (en) * 2022-05-20 2023-11-07 腾讯科技(深圳)有限公司 Virtual flight prop control method and device, storage medium and electronic equipment
CN118022321A (en) * 2022-11-04 2024-05-14 腾讯科技(深圳)有限公司 A method for providing a prompt for a guiding route, a related device, an equipment and a storage medium
CN117654028A (en) * 2023-11-22 2024-03-08 网易(杭州)网络有限公司 Game display control method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN118593991A (en) 2024-09-06

Similar Documents

Publication Publication Date Title
US12017141B2 (en) Virtual object control method and apparatus, device, and storage medium
CN113082712B (en) Virtual character control method, device, computer equipment and storage medium
CN109445662B (en) Operation control method and device for virtual object, electronic equipment and storage medium
CN113082709B (en) Information prompt method, device, storage medium and computer equipment in game
CN113559512B (en) Sound source sound effect processing method, device, computer equipment and storage medium
WO2022142622A1 (en) Method and apparatus for selecting virtual object interaction mode, device, medium, and product
CN111760284A (en) Virtual prop control method, device, device and storage medium
US20230405466A1 (en) Method and apparatus for operating virtual prop in virtual environment, device and readable medium
CN111760285A (en) Virtual scene display method, device, equipment and medium
CN115040867A (en) A game card control method, device, computer equipment and storage medium
CN116115991A (en) Aiming method, aiming device, computer equipment and storage medium
TWI817208B (en) Method and apparatus for determining selected target, computer device, non-transitory computer-readable storage medium, and computer program product
WO2025252040A9 (en) Information prompting method and apparatus, and computer device and computer-readable storage medium
WO2025252040A1 (en) Information prompting method and apparatus, and computer device and computer-readable storage medium
WO2025252006A1 (en) Game interaction method and apparatus, electronic device, and storage medium
WO2025252003A1 (en) Game interaction method and apparatus, and electronic device and storage medium
WO2025252007A1 (en) Game interaction method and apparatus, electronic device, and storage medium
WO2025252008A1 (en) Information prompting method and apparatus, computer device and computer-readable storage medium
WO2025252008A9 (en) Information prompting method and apparatus, computer device and computer-readable storage medium
CN116421968B (en) Virtual character control methods, devices, electronic devices and storage media
WO2025251980A1 (en) Game control method and apparatus, electronic device, and computer-readable storage medium
CN115970282B (en) Virtual camera control methods, devices, storage media, and computer equipment
WO2025251984A1 (en) Character control method and apparatus, electronic device, and computer-readable storage medium
CN120643907A (en) Game control method, game control device, computer equipment and storage medium
HK40031416B (en) Method and device for displaying virtual scene, apparatus and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 25819034

Country of ref document: EP

Kind code of ref document: A1