CN112933593A - Display control method, display control device, electronic equipment and storage medium - Google Patents

Display control method, display control device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112933593A
CN112933593A CN202110212986.9A CN202110212986A CN112933593A CN 112933593 A CN112933593 A CN 112933593A CN 202110212986 A CN202110212986 A CN 202110212986A CN 112933593 A CN112933593 A CN 112933593A
Authority
CN
China
Prior art keywords
virtual object
prompt
display
user interface
graphical user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110212986.9A
Other languages
Chinese (zh)
Inventor
卢振宇
胡志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110212986.9A priority Critical patent/CN112933593A/en
Publication of CN112933593A publication Critical patent/CN112933593A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface

Landscapes

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

Abstract

The invention provides a display control method, a display control device, electronic equipment and a storage medium; wherein, the method comprises the following steps: detecting whether a second virtual object exists within a specified range with respect to the first virtual object in response to the movement of the first virtual object; wherein the designated range is located on a rear path of the first virtual object; if the second virtual object exists in the designated range, displaying a prompt identifier on the graphical user interface; the prompt identifier is used for indicating the position relation of the second virtual object and the first virtual object. In the method, the virtual objects which are relatively close to each other exist on the rear path of the virtual object are prompted through the prompt identification, the position relation among the virtual objects is indicated, the condition of the rear virtual object of the player is accurately and effectively prompted on the premise that game interface display and player operation are not influenced, the player can respond to the rear virtual object in real time, and game experience is improved.

Description

Display control method, display control device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of game technologies, and in particular, to a display control method and apparatus, an electronic device, and a storage medium.
Background
In a race game, a player controls a virtual character or virtual vehicle to follow a map. In the case of a racing game, the field of view of the player is generally oriented in the direction of travel of the vehicle during play, and the player can see the road and other vehicles in the direction of travel. However, the player is hard to perceive the state of the rear vehicle. In the related art, when a vehicle approaches a vehicle controlled by a player, a display area appears on a game interface, and the display content in the display area simulates the effect of a rearview mirror of the vehicle, so that the player can know the state of the coming vehicle behind; the display area needs to block a part of the content of the game interface; for hand games, the game interface is limited, and the display area is likely to influence the display of the game interface and the operation of the player, so that the game experience is reduced.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a display control method, an apparatus, an electronic device and a storage medium, so as to accurately and effectively prompt the status of an object behind a player and improve game experience without affecting game interface display and player operation.
In a first aspect, an embodiment of the present invention provides a display control method, where a terminal device provides a graphical user interface, where the graphical user interface includes at least a part of a first virtual object; the method comprises the following steps: detecting whether a second virtual object exists within a specified range with respect to the first virtual object in response to the movement of the first virtual object; wherein the designated range is located on a rear path of the first virtual object; if the second virtual object exists in the designated range, displaying a prompt identifier on the graphical user interface; the prompt identifier is used for indicating the position relation of the second virtual object and the first virtual object.
The second virtual object and the first virtual object move in the same direction relative to the path.
The step of displaying the prompt identifier on the graphical user interface includes: determining the display state of the prompt mark according to the position relation between the second virtual object and the first virtual object; and displaying a prompt identifier based on the display state.
The step of determining the display state of the prompt identifier according to the position relationship between the second virtual object and the first virtual object includes: determining a relative position of the second virtual object to the first virtual object along a vertical direction of the movement path; and determining the display position of the prompt mark according to the relative position.
The step of determining the display position of the prompt identifier according to the relative position includes: if the second virtual object is positioned behind the left side of the first virtual object, determining that the display position is the left side of the first virtual object; if the second virtual object is positioned behind the right side of the first virtual object, determining that the display position is the right side of the first virtual object; if the second virtual object is located directly behind the first virtual object, the display position is determined to be the top, bottom, or middle of the first virtual object.
The step of determining the display state of the prompt identifier according to the position relationship between the second virtual object and the first virtual object includes: and determining the display effect of the prompt mark according to the distance between the second virtual object and the first virtual object along the moving path.
The display effect comprises the following steps: prompting one or more of the flashing frequency of the mark, the color of the mark, the number of the marks and the shape of the marks.
The step of displaying a prompt identifier on the graphical user interface if the second virtual object exists within the specified range includes: and if the second virtual objects exist in the specified range and the second virtual objects comprise a plurality of second virtual objects, displaying the prompt identification corresponding to each second virtual object on the graphical user interface.
After the step of displaying the prompt identifier on the graphical user interface if the second virtual object exists within the specified range, the method further includes: in response to a side-shift operation for the first virtual object, the first virtual object is controlled to move in a vertical direction of the movement path.
The above-mentioned step of controlling the first virtual object to move along the vertical direction of the movement path in response to the side-shift operation with respect to the first virtual object, includes: determining a moving direction of the first virtual object based on a sliding direction of the sliding operation in response to the sliding operation applied to the first virtual object; wherein the moving direction is in the vertical direction of the moving path; the first virtual object is controlled to move along the moving direction.
Before the step of controlling the first virtual object to move along the vertical direction of the movement path in response to the side-shift operation with respect to the first virtual object, the method further includes: displaying an operation prompt control on a graphical user interface; the operation prompting control is used for prompting the execution of the side shift operation.
The above-mentioned step of controlling the first virtual object to move along the vertical direction of the movement path in response to the side-shift operation with respect to the first virtual object, includes: displaying an operation control of the side shift operation on a graphical user interface; responding to the trigger operation acting on the operation control, and controlling the first virtual object to move along the movement direction indicated by the trigger operation; the movement direction of the trigger operation instruction is in the vertical direction of the movement path.
In a second aspect, an embodiment of the present invention provides a display control apparatus, which provides a graphical user interface through a terminal device, where the graphical user interface includes at least a part of a first virtual object; the device comprises: an object detection module for detecting whether a second virtual object exists within a specified range with reference to the first virtual object in response to movement of the first virtual object; wherein the designated range is located on a rear path of the first virtual object; the identification display module is used for displaying a prompt identification on the graphical user interface if a second virtual object exists in the specified range; the prompt identifier is used for indicating the position relation of the second virtual object and the first virtual object.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the display control method.
In a fourth aspect, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the display control method described above.
The embodiment of the invention has the following beneficial effects:
in the display control method, the display control apparatus, the electronic device, and the storage medium, in response to movement of the first virtual object, it is detected whether a second virtual object exists within a specified range with reference to the first virtual object; wherein the designated range is located on a rear path of the first virtual object; if the second virtual object exists in the designated range, displaying a prompt identifier on the graphical user interface; the hint identifier is used to indicate a positional relationship of the second virtual object to the first virtual object. In the method, the virtual objects which are relatively close to each other exist on the rear path of the virtual object are prompted through the prompt identification, the position relation among the virtual objects is indicated, the condition of the rear virtual object of the player is accurately and effectively prompted on the premise that game interface display and player operation are not influenced, the player can respond to the rear virtual object in real time, and game experience is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic view of a rearview mirror effect provided by an embodiment of the present invention;
fig. 2 is a flowchart of a display control method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a prompt identifier according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another hint identifier provided by embodiments of the present invention;
FIG. 5 is a schematic diagram of a cue marker and side shift operation provided by an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a display control apparatus according to an embodiment of the present invention;
fig. 7 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For ease of understanding, see the schematic view of the rearview mirror effect shown in fig. 1. When there is a player in close proximity behind the current player, a display area, which is shown in FIG. 1 as an example only, is located in the lower left corner of the game interface. The display content in the display area simulates a rearview mirror effect, wherein the display content comprises a current player and a rear player closest to the current player; in fig. 1, the white oval in the display area represents the current player and the partially shaded oval represents the rear player. The display area obscures the lower left hand corner portion of the game interface. For games (called 'hand games' for short) on a mobile phone or a tablet personal computer, the game interface is limited, and the display area with the rearview mirror effect obviously shields the game interface; in addition, most game interfaces of hand games are provided with operation controls, the display area of the rearview mirror effect is easy to shield the operation controls, or the display area is shielded by the operation controls, so that the operation of a player is not facilitated, and the game experience is reduced.
Based on the above, embodiments of the present invention provide a display control method, an apparatus, an electronic device, and a storage medium, and the technology can be applied to a racing game.
The display control method in one embodiment of the present disclosure may be executed in a terminal device or a server. The terminal device may be a local terminal device. When the display control method is operated on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and the operation of the display control method are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; however, the terminal device performing the information processing is a cloud game server in the cloud. When a game is played, a player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
In a possible implementation manner, an embodiment of the present invention provides a display control method, where a graphical user interface is provided by a terminal device, where the terminal device may be the aforementioned local terminal device, and may also be the aforementioned client device in a cloud interaction system. Providing a graphical user interface through the terminal device, the graphical user interface including at least a portion of the first virtual object; the first virtual object may be understood as a virtual object currently controlled by the player; the first virtual object may be a virtual character, a virtual animal, a virtual vehicle (e.g., a virtual vehicle), etc. The graphical user interface includes at least a portion of a first virtual object. Specifically, under the influence of the game perspective, the graphical user interface may include a complete first virtual object, and at this time, may be a back image of the complete first virtual object; the graphical user interface may also include a portion of the first virtual object, for example, when the first virtual object is a vehicle, only a head portion of the vehicle may be included in the graphical user interface.
Referring to a flowchart of a display control method shown in fig. 2, the method includes the steps of:
step S202, responding to the movement of the first virtual object, detecting whether a second virtual object exists in a specified range taking the first virtual object as a reference; wherein the designated range is located on a rear path of the first virtual object;
when the game starts, the first virtual object starts to move under the control of the player, the player can control the movement of the first virtual object through control operation, and the movement of the first virtual object can also be controlled through a sensing device such as a gyroscope on the terminal device. In most cases, the game is pre-populated with a map, and the player controls the movement of the first virtual object according to a path indicated on the map.
The first virtual object may start to move, that is, whether or not the second virtual object exists within a predetermined range with reference to the first virtual object may start to be detected, and the detection may be performed in real time or periodically at a fixed time interval. Since the first virtual object is moving, the area or path corresponding to the designated range with respect to the first virtual object is changing. In order to make the player perceive the status of the closer rear player, the designated range based on the first virtual object is usually set behind the first virtual object, and the designated range is closer to the first virtual object or is adjacent to the first virtual object. The specified range may be a section of the path that the first virtual object has just passed when moving along the path, and therefore, the specified range is located on the path behind the first virtual object; the rear path may be understood as a path that the first virtual object has already traveled or a path that the first virtual object has not traveled, but through which the current position of the first virtual object may be reached. For example, a path that the first virtual object has traveled within the last 1 second may be determined as the specified range.
Step S204, if a second virtual object exists in the specified range, displaying a prompt mark on a graphical user interface; the hint identifier is used to indicate a positional relationship of the second virtual object to the first virtual object.
Since the designated range is generally closer to the first virtual object, if a second virtual object exists within the designated range, it is indicated that the second virtual object is closer to the first virtual object and the second virtual object has a possibility of exceeding the first virtual object. In order to enable the player corresponding to the first virtual object to perceive the second virtual object, at the moment, a prompt mark is displayed on the graphical user interface; the prompt identification is used for prompting that other virtual objects are close to the rear of the player of the first virtual object; meanwhile, the prompt identifier is also used for indicating the position relation between the second virtual object and the first virtual object. The positional relationship may be a path distance along the path of the second virtual object and the first virtual object to let the player know how far the second virtual object is; the positional relationship may also be a relative position of the second virtual object to the first virtual object in a direction perpendicular to the path direction, for example, the second virtual object is located on the rear left side, rear right side, or right rear side of the first virtual object, so that the player knows in which direction the second virtual object is intended to pass.
The cue marker may be implemented in various forms, and may be a small geometric figure or a combination of figures, such as a circle or a bar light effect, displayed around the first virtual object for easy viewing by the player so as not to affect the game interface.
In the display control method, in response to movement of the first virtual object, it is detected whether or not a second virtual object exists within a specified range with reference to the first virtual object; wherein the designated range is located on a rear path of the first virtual object; if the second virtual object exists in the designated range, displaying a prompt identifier on the graphical user interface; the hint identifier is used to indicate a positional relationship of the second virtual object to the first virtual object. In the method, the virtual objects which are relatively close to each other exist on the rear path of the virtual object are prompted through the prompt identification, the position relation among the virtual objects is indicated, the condition of the rear virtual object of the player is accurately and effectively prompted on the premise that game interface display and player operation are not influenced, the player can respond to the rear virtual object in real time, and game experience is improved.
In addition, because the prompt identification is directly displayed on the graphical user interface, the hearing-impaired player can also accurately know the state of the rear virtual object through the prompt identification, and the game experience of the hearing-impaired player is further improved.
In a specific implementation manner, the moving direction of the second virtual object and the moving direction of the first virtual object relative to the path are the same. The direction of movement relative to the path typically includes two, forward and reverse. In the racing game, a plurality of virtual objects participating in the game usually start from the same starting point and reach the same ending point, and based on this, the second virtual object and the first virtual object often move in the same direction with respect to the path. In some special cases, such as a miss in player control, the second virtual object may enter the designated range of the first virtual object, but the second virtual object moves in the opposite direction to the first virtual object relative to the path, and in this case, the second virtual object generally has no possibility of exceeding the first virtual object, so that the player corresponding to the first virtual object does not need to be prompted, and the prompt identifier does not need to be displayed. Therefore, the accuracy of displaying the prompt mark is improved.
In addition, considering that the game path is mostly curved, when the second virtual object enters the designated range of the first virtual object, the moving directions of the second virtual object and the first virtual object are not necessarily the same, even the moving directions are opposite; for example, the second virtual object is at a corner; although the two are different in moving direction, the moving direction with respect to the path is the same, and both are moving toward the end point of the path, and the second virtual object has a high possibility to exceed the first virtual object. Based on this, in this embodiment, the specific moving directions of the second virtual object and the first virtual object are determined with the moving direction relative to the path as a reference.
In the foregoing embodiment, it is mentioned that the hint identifier is used to indicate a position relationship of the second virtual object with the first virtual object. In order to more accurately indicate the position relationship between the second virtual object and the first virtual object, in this embodiment, the display state of the prompt identifier is determined according to the position relationship between the second virtual object and the first virtual object; and displaying a prompt identifier based on the display state. The position relationship between the second virtual object and the first virtual object can comprise the distance between the second virtual object and the first virtual object along the path; the display states of the prompt marks are different when the distances are different. The position relationship between the second virtual object and the first virtual object may further include a transverse position relationship therebetween, specifically, a position relationship therebetween in a direction perpendicular to the moving direction of the path; for example, the second virtual object may be directly behind the first virtual object along the path, or may be behind the left or right, so that the player can perform an operation such as avoidance or defensive collision according to the position of the second virtual object. The display state of the prompt identifier may include various states of the prompt identifier, such as color, brightness, flashing frequency, shape, length, size, and position, and is not limited specifically.
The display state of the prompt mark is determined through the position relation between the second virtual object and the first virtual object, the position relation between the virtual objects can be more accurately indicated based on the display state of the prompt mark, a player can conveniently and immediately make correct reaction operation, and game experience is improved.
In a specific implementation manner, the relative position of the second virtual object and the first virtual object is determined along the vertical direction of the moving path; and determining the display position of the prompt mark according to the relative position. The vertical direction along the movement path can also be understood as a transverse direction relative to the movement path. In this embodiment, the display position indicated by the prompt indicates the relative position of the second virtual object and the first virtual object in the horizontal direction. To facilitate player comprehension and reaction, the display position of the cue identification typically matches the relative position of the second virtual object with respect to the first virtual object. For example, if the display position of the prompt identifier is left, it means that the second virtual object is behind the first virtual object.
FIG. 3 shows, as an example, a first virtual object, such as a vehicle, displayed in a graphical user interface. When the second virtual object is located on the path behind the first virtual object, the second virtual object generally has three positional relationships with respect to the first virtual object, each positional relationship corresponding to a display position of a prompt identifier. If the second virtual object is positioned behind the left side of the first virtual object, determining that the display position is the left side of the first virtual object; as shown in display position 1 in fig. 3, the display position is shifted to the left with respect to the first virtual object, and if the second virtual object is located behind the right side of the first virtual object, the display position is determined to be the right side of the first virtual object; as shown in display position 3 in fig. 3, the display position is to the left with respect to the first virtual object; if the second virtual object is located directly behind the first virtual object, the display position is determined to be the top, bottom, or middle of the first virtual object. As shown in display position 2 in fig. 3, the display position is centered and displayed on top of the first virtual object, as an example. Of course, the display position of the prompt identifier may also be set at other positions of the graphical user interface, such as on the vehicle body of the first virtual object. In this embodiment, the display position of the prompt mark is matched with the relative position between the virtual objects, so that the game effect conforms to the actual driving habit, the player can understand and react conveniently, and the operation timeliness and accuracy of the player are improved.
In another specific implementation manner, the display effect of the prompt identifier may be determined according to a distance between the second virtual object and the first virtual object along the moving path. It is understood that the closer the second virtual object is to the first virtual object, the more the visibility of the cue marker needs to be improved, and based on this, when the distance between the second virtual object and the first virtual object along the moving path is not changed, the display effect of the cue marker needs to be changed continuously, for example, the display effect is the flashing frequency of the cue marker, and the closer the distance is, the higher the flashing frequency is; the display effect can also be the color of the prompt mark, and the closer the distance, the higher the color temperature of the color; the display effect may also be the number of the prompt identifiers, for example, when the distance is farther, the prompt identifiers include three light spots, and the closer the distance is, the fewer the light spots are; the display effect may also be the length of the prompt mark, for example, the prompt mark is a bar shape, and the closer the distance, the shorter the prompt mark.
Based on the above, the display effect of the prompt mark includes: prompting one or more of the flashing frequency of the mark, the color of the mark, the number of the marks and the shape of the marks. The display effect of the prompt mark can be set according to the actual display requirement. To further enhance the visibility of the cued logo, the display effect may be a combination of effects, e.g., the closer the distance, the higher the flashing frequency, the more red the logo color.
When a plurality of players participate in the same game, there may be a plurality of second virtual objects entering the designated range of the first virtual object, and in order to make the player corresponding to the first virtual object know the status of each rear virtual object, in this embodiment, if there is a second virtual object in the designated range with reference to the first virtual object and the second virtual object includes a plurality of second virtual objects, a prompt identifier corresponding to each second virtual object is displayed on the graphical user interface. In a specific implementation, each second virtual object corresponds to one prompt identifier, so that the number of the prompt identifiers is matched with the number of the second virtual objects, and the prompt identifiers corresponding to each second virtual object are independent and do not interfere with each other.
FIG. 4 shows, as an example, three second virtual objects on the path behind the first virtual object; wherein the second virtual object 1 and the second virtual object 3 are located behind and to the left of the first virtual object and the second virtual object 2 is located behind and to the right of the first virtual object. At this time, three prompt identifiers are displayed in the graphical user interface on which the first virtual object is displayed, the prompt identifiers corresponding to the second virtual object 1 and the second virtual object 3 are both displayed on the left side of the first virtual object, and the prompt identifier corresponding to the second virtual object 2 is displayed on the right side of the first virtual object. Each prompt mark is independent and does not influence each other; the display state of each prompt mark is determined according to the position relation between the second virtual object and the first virtual object corresponding to the prompt mark, and the display state of each prompt mark does not influence each other.
In addition, the relative position between the prompt identifiers can also be determined according to the relative position between the second virtual objects. For example, the second virtual object 3 is located at the rear left of the second virtual object 1, and the cue identifier corresponding to the second virtual object 3 is located at the lower left of the cue identifier corresponding to the second virtual object 1, so that the player can know the relative relationship between the rear objects.
Further, a nickname of the second virtual object may be displayed near the cue identifier, and when there are multiple cue identifiers, the nickname of each cue identifier is displayed near the corresponding cue identifier, so that the player can know the identity of the object behind and make a corresponding reaction operation.
When the player knows that a virtual object exists in a short distance behind the player through the prompt mark and the virtual object possibly exceeds the first virtual object, the player can do no operation and can also carry out an operation of avoiding or defending. In response to a side-shift operation for the first virtual object, the first virtual object is controlled to move in a vertical direction of the movement path. For the first virtual object, the vertical direction along the movement path includes two directions in total, one is a left direction, and the other is a right direction; the above side shift operation may be divided into two specific operations, one operation may instruct the first virtual object to move to the left side, and the other operation may instruct the first virtual object to move to the right side. In most cases, when the first virtual object moves along the vertical direction of the movement path, the movement of the first virtual object in the direction of the movement path is not affected; the side-shift operation also does not affect the movement of the first virtual object in the direction of the movement path.
The specific implementation manner of the side shift operation for the first virtual object can be set according to game requirements. In a specific implementation manner, in response to a sliding operation acting on a first virtual object, the moving direction of the first virtual object is determined based on the sliding direction of the sliding operation; wherein the moving direction is in a vertical direction of the moving path; the first virtual object is controlled to move along the moving direction.
The sliding operation on the first virtual object may be specifically performed by first pressing the first virtual object, performing a moving operation while the pressing is maintained, and then completing the sliding operation when the pressing is cancelled. The pressing operation may be an operation of pressing the screen with a finger of a player, or a click operation of a mouse. In the state of keeping pressing, if the moving operation moves leftwards, the sliding direction of the sliding operation is leftwards, and the moving direction of the first virtual object is also leftwards; if the moving operation moves rightward while being kept pressed, the sliding direction of the sliding operation is rightward, and the moving direction of the first virtual object is also rightward at this time.
It should be noted that the sliding operation performed by the player may have a certain randomness, and thus the sliding direction of the sliding operation is not strictly located in the vertical direction of the moving path, for example, the sliding direction may be left upper, left lower, right upper, and right lower; at this time, the moving direction of the first virtual object needs to be determined according to the sliding direction of the sliding operation; a component direction of the sliding direction in a direction perpendicular to the moving path is acquired, and the component direction is determined as a moving direction of the first virtual object. This approach may increase the flexibility of the player's operation.
Fig. 5 shows, as an example, a case where the player slides to the right after pressing the first virtual object with a finger, and at this time, the first virtual object may move to the right along with the sliding operation, thereby changing the position in the vertical direction of the movement path. In addition, for a novice player or a player unfamiliar with the game, when a prompt sign is displayed on a graphical user interface, it is intended to perform the side-shift operation, but how to perform or a specific manner of performing the side-shift operation is unknown. Based on the method, in order to facilitate timely operation of a player, an operation prompt control is displayed on a graphical user interface; the operation prompting control is used for prompting the execution of the side shift operation. For example, in fig. 5, the operation prompt control includes a double-arrow mark on the left side of the first virtual object, and a double-arrow mark on the right side of the first virtual object; the action prompt control may prompt the player to move the first virtual object left or right. The operation prompting control may also have other display modes, and the display position, shape, color, and the like of the operation prompting control are not specifically limited in this embodiment. By displaying the operation prompting control, the player can be prompted to execute the side shifting operation and the specific operation mode of the side shifting operation, and the operation timeliness and the accuracy of the player are improved.
In addition, in the example of fig. 5, the first virtual object is a vehicle, and the indication mark is a circular light effect, and the indication mark is displayed on the rear view mirror. When the second virtual object is positioned at the left rear part of the first virtual object, the prompt mark is displayed on the rearview mirror at the left side; when the second virtual object is positioned at the right back of the first virtual object, the prompt mark is displayed on the rearview mirror at the right side; the cueing identifier may be displayed at the top of the vehicle when the second virtual object is located directly behind the first virtual object.
In addition to the sliding operation, there may be other implementations of the side-shifting operation for the first virtual object. Displaying an operation control of the side shift operation on a graphical user interface; responding to the trigger operation acting on the operation control, and controlling the first virtual object to move along the movement direction indicated by the trigger operation; the movement direction of the trigger operation instruction is in the vertical direction of the movement path.
The operation control can comprise two buttons, wherein one button is used for sending a left movement instruction, and after being clicked, the button controls the first virtual object to move left; and the other button user gives a right movement instruction, and after being clicked, the button controls the first virtual object to move to the right. The operation control can also be a rocker capable of sliding left and right, and when the rocker slides left, the first virtual object is controlled to move left; when the rocker slides to the right, the first virtual object is controlled to move to the right. As in the example in fig. 5, double arrows on the left and right sides of the vehicle may also be used as operation controls, and when the double arrow on the left side is clicked, the first virtual object moves to the left side, and when the double arrow on the right side is clicked, the first virtual object moves to the right side. The specific implementation mode of the operation control can be flexibly set according to game requirements or habits of players, various implementation modes of side-shifting operation are provided for the players, the side-shifting operation can be more flexibly realized, the operation habits of the players are better met, and the operation is convenient.
Corresponding to the above method embodiment, referring to the schematic structural diagram of a display control apparatus shown in fig. 6, a graphical user interface is provided through a terminal device, where the graphical user interface includes at least a part of a first virtual object; the device includes:
an object detection module 60 configured to detect whether a second virtual object exists within a specified range with respect to the first virtual object in response to movement of the first virtual object; wherein the designated range is located on a rear path of the first virtual object;
an identifier display module 62, configured to display a prompt identifier on the graphical user interface if a second virtual object exists within the specified range; the prompt identifier is used for indicating the position relation of the second virtual object and the first virtual object.
In the above display control apparatus, in response to movement of the first virtual object, it is detected whether or not a second virtual object exists within a specified range with reference to the first virtual object; wherein the designated range is located on a rear path of the first virtual object; if the second virtual object exists in the designated range, displaying a prompt identifier on the graphical user interface; the hint identifier is used to indicate a positional relationship of the second virtual object to the first virtual object. In the mode, the virtual objects which are relatively close to each other exist on the rear path of the virtual object are prompted through the prompt identification, the position relation among the virtual objects is indicated, the state of the rear object of the player is accurately and effectively prompted on the premise that game interface display and player operation are not affected, the player can respond to the rear object immediately, and game experience is improved.
The second virtual object and the first virtual object move in the same direction relative to the path.
The identifier display module is further configured to: determining the display state of the prompt mark according to the position relation between the second virtual object and the first virtual object; and displaying a prompt identifier based on the display state.
The identifier display module is further configured to: determining a relative position of the second virtual object to the first virtual object along a vertical direction of the movement path; and determining the display position of the prompt mark according to the relative position.
The identifier display module is further configured to: if the second virtual object is positioned behind the left side of the first virtual object, determining that the display position is the left side of the first virtual object; if the second virtual object is positioned behind the right side of the first virtual object, determining that the display position is the right side of the first virtual object; if the second virtual object is located directly behind the first virtual object, the display position is determined to be the top, bottom, or middle of the first virtual object.
The identifier display module is further configured to: and determining the display effect of the prompt mark according to the distance between the second virtual object and the first virtual object along the moving path.
The display effect comprises the following steps: prompting one or more of the flashing frequency of the mark, the color of the mark, the number of the marks and the shape of the marks.
The identifier display module is further configured to: and if the second virtual objects exist in the specified range and the second virtual objects comprise a plurality of second virtual objects, displaying the prompt identification corresponding to each second virtual object on the graphical user interface.
The apparatus further comprises a motion control module configured to: in response to a side-shift operation for the first virtual object, the first virtual object is controlled to move in a vertical direction of the movement path.
The mobile control module is further configured to: determining a moving direction of the first virtual object based on a sliding direction of the sliding operation in response to the sliding operation applied to the first virtual object; wherein the moving direction is in the vertical direction of the moving path; the first virtual object is controlled to move along the moving direction.
The device also comprises a control display module used for displaying the operation prompt control on the graphical user interface; the operation prompting control is used for prompting the execution of the side shift operation.
The mobile control module is further configured to: displaying an operation control of the side shift operation on a graphical user interface; responding to the trigger operation acting on the operation control, and controlling the first virtual object to move along the movement direction indicated by the trigger operation; the movement direction of the trigger operation instruction is in the vertical direction of the movement path.
The embodiment also provides an electronic device, which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the display control method. The electronic device may be a server or a terminal device.
Referring to fig. 7, the electronic device includes a processor 100 and a memory 101, the memory 101 stores machine executable instructions capable of being executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the display control method.
Further, the electronic device shown in fig. 7 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.
The Memory 101 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
Processor 100 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 100. The Processor 100 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The present embodiments also provide a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the display control method described above.
The display control method, the display control apparatus, the electronic device, and the computer program product of the storage medium according to the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. A display control method is characterized in that a graphical user interface is provided through a terminal device, and the graphical user interface comprises at least one part of a first virtual object; the method comprises the following steps:
detecting whether a second virtual object exists within a specified range with respect to the first virtual object in response to the movement of the first virtual object; wherein the specified range is located on a rear path of the first virtual object;
if the second virtual object exists in the specified range, displaying a prompt identifier on the graphical user interface; the prompt identifier is used for indicating the position relation between the second virtual object and the first virtual object.
2. The method of claim 1, wherein the second virtual object moves in the same direction as the first virtual object relative to the path.
3. The method of claim 1, wherein the step of displaying a prompt identifier on the graphical user interface comprises:
determining the display state of the prompt identifier according to the position relation between the second virtual object and the first virtual object; and displaying the prompt identification based on the display state.
4. The method according to claim 3, wherein the step of determining the display state of the prompt identifier according to the position relationship between the second virtual object and the first virtual object comprises:
determining a relative position of the second virtual object to the first virtual object along a vertical direction of the movement path;
and determining the display position of the prompt mark according to the relative position.
5. The method of claim 4, wherein the step of determining the display position of the prompt identifier according to the relative position comprises:
determining that the display position is the left side of the first virtual object if the second virtual object is located behind the left side of the first virtual object;
determining the display position to be the right side of the first virtual object if the second virtual object is located behind the right side of the first virtual object;
determining the display position to be the top, bottom, or middle of the first virtual object if the second virtual object is located directly behind the first virtual object.
6. The method according to claim 3, wherein the step of determining the display state of the prompt identifier according to the position relationship between the second virtual object and the first virtual object comprises:
and determining the display effect of the prompt mark according to the distance between the second virtual object and the first virtual object along the moving path.
7. The method of claim 6, wherein the display effect comprises: and the prompt mark comprises one or more of flashing frequency, mark color, mark number and mark shape.
8. The method of claim 1, wherein if the second virtual object exists within the specified range, the step of displaying a prompt identifier on the graphical user interface comprises:
and if the second virtual objects exist in the specified range and the second virtual objects comprise a plurality of second virtual objects, displaying a prompt identifier corresponding to each second virtual object on the graphical user interface.
9. The method of claim 1, wherein if the second virtual object exists within the specified range, after the step of displaying a hint identifier on the graphical user interface, the method further comprises:
controlling the first virtual object to move along a vertical direction of a movement path in response to a side-shift operation for the first virtual object.
10. The method of claim 9, wherein the step of controlling the first virtual object to move along a vertical direction of a movement path in response to a side-shift operation for the first virtual object comprises:
determining a moving direction of the first virtual object based on a sliding direction of the sliding operation in response to the sliding operation acting on the first virtual object; wherein the moving direction is in a vertical direction of the moving path;
controlling the first virtual object to move along the moving direction.
11. The method of claim 9, wherein prior to the step of controlling the first virtual object to move along the vertical direction of the movement path in response to a side-shift operation for the first virtual object, the method further comprises:
displaying an operation prompt control on the graphical user interface; the operation prompt control is used for prompting the execution of the side shift operation.
12. The method of claim 9, wherein the step of controlling the first virtual object to move along a vertical direction of a movement path in response to a side-shift operation for the first virtual object comprises:
displaying an operation control of the side shift operation on the graphical user interface;
responding to a trigger operation acted on the operation control, and controlling the first virtual object to move along the movement direction indicated by the trigger operation; the movement direction of the trigger operation indication is located in a vertical direction of the movement path.
13. A display control apparatus is characterized in that a graphical user interface is provided through a terminal device, wherein the graphical user interface comprises at least one part of a first virtual object; the device comprises:
an object detection module for detecting whether a second virtual object exists within a specified range with reference to the first virtual object in response to movement of the first virtual object; wherein the specified range is located on a rear path of the first virtual object;
the identification display module is used for displaying a prompt identification on the graphical user interface if the second virtual object exists in the specified range; the prompt identifier is used for indicating the position relation between the second virtual object and the first virtual object.
14. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the display control method of any one of claims 1 to 12.
15. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the display control method of any one of claims 1 to 12.
CN202110212986.9A 2021-02-24 2021-02-24 Display control method, display control device, electronic equipment and storage medium Pending CN112933593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110212986.9A CN112933593A (en) 2021-02-24 2021-02-24 Display control method, display control device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110212986.9A CN112933593A (en) 2021-02-24 2021-02-24 Display control method, display control device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112933593A true CN112933593A (en) 2021-06-11

Family

ID=76246267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110212986.9A Pending CN112933593A (en) 2021-02-24 2021-02-24 Display control method, display control device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112933593A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113769386A (en) * 2021-09-17 2021-12-10 网易(杭州)网络有限公司 Method and device for displaying virtual object in game and electronic terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166468A (en) * 2013-05-17 2014-11-26 环达电脑(上海)有限公司 Touch screen device
CN108421256A (en) * 2018-03-29 2018-08-21 网易(杭州)网络有限公司 Object's position display methods and equipment
CN109513210A (en) * 2018-11-28 2019-03-26 腾讯科技(深圳)有限公司 Virtual vehicle bleach-out process, device and storage medium in virtual world
CN109908574A (en) * 2019-02-22 2019-06-21 网易(杭州)网络有限公司 Game role control method, device, equipment and storage medium
JP2019117634A (en) * 2019-02-07 2019-07-18 グリー株式会社 Display control program, display control method, and display control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166468A (en) * 2013-05-17 2014-11-26 环达电脑(上海)有限公司 Touch screen device
CN108421256A (en) * 2018-03-29 2018-08-21 网易(杭州)网络有限公司 Object's position display methods and equipment
CN109513210A (en) * 2018-11-28 2019-03-26 腾讯科技(深圳)有限公司 Virtual vehicle bleach-out process, device and storage medium in virtual world
JP2019117634A (en) * 2019-02-07 2019-07-18 グリー株式会社 Display control program, display control method, and display control system
CN109908574A (en) * 2019-02-22 2019-06-21 网易(杭州)网络有限公司 Game role control method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113769386A (en) * 2021-09-17 2021-12-10 网易(杭州)网络有限公司 Method and device for displaying virtual object in game and electronic terminal

Similar Documents

Publication Publication Date Title
US10410418B2 (en) Computer-readable non-transitory storage medium having stored therein information processing program, information processing system, information processing apparatus, and information processing method for controlling movement of a virtual camera in a game space
CN109876444B (en) Data display method and device, storage medium and electronic device
US8740704B2 (en) Game device, control method for a game device, and a non-transitory information storage medium
US11691070B2 (en) In-vehicle performance device, in-vehicle performance system, in-vehicle performance method, storage medium, and command measurement device
US20230218999A1 (en) Information control method and apparatus in game, and electronic device
US9724613B2 (en) Game device, control method of game device, program, and information storage medium
CN107832000B (en) Information processing method, information processing device, electronic equipment and storage medium
US8876602B2 (en) Game machine, and control method and storage medium storing computer program used therefor
CN112933593A (en) Display control method, display control device, electronic equipment and storage medium
CN113546412B (en) Display control method and device in game and electronic equipment
WO2024093276A1 (en) Football game interaction control method and apparatus, and electronic device
CN116966561A (en) Tactical command method and device in game and electronic equipment
CN108421256B (en) Object position display method and device
CN116212384A (en) Game operation control method and device and electronic equipment
CN111841003B (en) Information processing method and device in game and electronic equipment
CN113908544A (en) Information interaction method and device and electronic equipment
CN113813604A (en) Information interaction method and device in game and electronic equipment
CN115089969A (en) Information prompting method and device in game, electronic equipment and storage medium
CN117482493A (en) Interaction control method and device in game and electronic equipment
CN115382207A (en) Indication identifier display method and device and electronic equipment
JP5536467B2 (en) GAME DEVICE, GAME DEVICE CONTROL METHOD, AND PROGRAM
CN116115999A (en) Land parcel searching method and device in game and electronic equipment
CN117883791A (en) Interaction control method and device in game and electronic equipment
CN117482502A (en) Game operation control method and device and electronic equipment
CN117180747A (en) Information display control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination