Information processing method and apparatus, electronic device, storage medium
By identifying and displaying the optimal impact point indicator in racing games, the problem of players being unable to accurately judge the impact score is solved, and the score estimation and control effect in the game are improved.
Patent Information
- Application Number
- CN202211123040.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-15
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2042-09-15
AI Technical Summary
In racing games, players cannot accurately judge the scoring results corresponding to different collision methods. The existing technology lacks effective prompt information, which makes it impossible for players to achieve the best collision.
By executing an application on a processor of a terminal device, a graphical user interface is rendered, the optimal collision point between the first virtual vehicle and the target virtual vehicle is determined, and an indicator mark is displayed at the point to help the player control the virtual vehicles to achieve the highest-scoring collision.
It provides clear impact point instructions to help players achieve the highest-scoring impact on the target virtual vehicle, improving the gaming experience and the accuracy of score estimation.
Smart Images

Figure CN115487500B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to information processing methods and devices, electronic devices, and storage media. Background Art
[0002] In existing racing games, chasing and colliding with each other are common gameplay. In most of these gameplays, players can only rely on experience to judge how to collide to get higher scores. The game lacks prompt information about the score after the collision, which makes it impossible for players to predict the corresponding results of different collision methods. A few games provide a speed display of the vehicle in front to let players know the speed information of the opponent's vehicle, but the speed can only be used to determine whether they need to speed up and does not serve as a prompt for the score after the collision. There are also a few games that allow players to view the speed, drifting ability and other information of a certain vehicle in the distance by adjusting the camera, which also does not serve as a prompt for the score after the collision.
[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the Invention
[0004] In view of the above problems, the present application is proposed to provide an information processing method and apparatus, an electronic device, and a storage medium that overcome the above problems or at least partially solve the above problems, including:
[0005] An information processing method, comprising executing an application on a processor of a terminal device and rendering a graphical user interface on a display screen of the terminal device, wherein the graphical user interface includes at least a portion of a game scene, wherein the game scene includes a first virtual vehicle and at least one second virtual vehicle, the method comprising:
[0006] determining a target virtual vehicle from among the second virtual vehicles based on relative distances between the first virtual vehicle and each of the second virtual vehicles;
[0007] Based on the positional relationship between the first virtual vehicle and the target virtual vehicle, an optimal impact point of the target virtual vehicle is determined, and a first indicator mark is displayed at a corresponding position of the optimal impact point; the optimal impact point is the part that obtains a maximum impact score when the first virtual vehicle impacts the target virtual vehicle.
[0008] Optionally, determining the optimal impact point of the target virtual vehicle according to the positional relationship between the first virtual vehicle and the target virtual vehicle includes:
[0009] determine an estimated impact strength of each part of the target virtual vehicle according to an angle between a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and a straight line in which the target virtual vehicle is located;
[0010] determine the part with the maximum estimated impact strength as the optimal impact point of the target virtual vehicle.
[0011] Optionally, the method further comprises:
[0012] generate impact indication information corresponding to the estimated impact strength according to the estimated impact strength of each part of the target virtual vehicle;
[0013] display the impact indication information at the corresponding position of the target virtual vehicle.
[0014] Optionally, the impact indication information is a heat map in which the estimated impact strength is taken as a heat value.
[0015] Optionally, the determining of the optimal impact point of the target virtual vehicle according to the positional relationship between the first virtual vehicle and the target virtual vehicle comprises:
[0016] determine an estimated impact score of each part of the target virtual vehicle according to an angle between a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and a straight line in which the target virtual vehicle is located, and a momentum of the target virtual vehicle and a momentum of the first virtual vehicle;
[0017] determine the part with the highest estimated impact score as the optimal impact point of the target virtual vehicle.
[0018] Optionally, the method further comprises:
[0019] generate impact indication information corresponding to the estimated impact score according to the estimated impact score of each part of the target virtual vehicle;
[0020] display the impact indication information at the corresponding position of the target virtual vehicle.
[0021] Optionally, the impact indication information is a heat map in which the estimated impact score is taken as a heat value.
[0022] Optionally, the displaying of the impact indication information at the corresponding position of the target virtual vehicle comprises:
[0023] overlay the heat map on the target virtual vehicle, and a heat value highest point of the heat map coincides with the optimal impact point of the target virtual vehicle.
[0024] Optionally, the method further comprises:
[0025] When the target virtual vehicle is more than one, determining a target impact point with the highest estimated impact score from a plurality of optimal impact points corresponding to the estimated impact scores of the optimal impact points of the target virtual vehicle;
[0026] Displaying the first indication mark at a corresponding position of the target impact point.
[0027] Optionally, the method further comprises:
[0028] Displaying a second indication mark in the graphical user interface, the second indication mark being used to indicate a current collision direction of the first virtual vehicle;
[0029] In response to a moving operation for the first virtual vehicle, determining a current orientation of the first virtual vehicle, and controlling the second indication mark to move according to the current orientation.
[0030] Optionally, the method further comprises:
[0031] In response to the second indication mark moving to coincide with the first indication mark, controlling the first virtual vehicle to travel in the current orientation.
[0032] Optionally, the method further comprises:
[0033] In response to the second indication mark moving to coincide with the first indication mark, controlling the first virtual vehicle to travel in the current orientation with maximum acceleration.
[0034] Optionally, the determining of the target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles comprises:
[0035] Determining, based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle with a relative distance less than a first preset distance as the target virtual vehicle;
[0036] Alternatively,
[0037] Determining, based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle with a minimum relative distance as the target virtual vehicle;
[0038] Alternatively,
[0039] Determining, based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle with a relative distance less than a first preset distance and a minimum relative distance as the target virtual vehicle.
[0040] Optionally, determining a target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles includes:
[0041] Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, determining the second virtual vehicles whose relative distances are smaller than a first preset distance as candidate virtual vehicles;
[0042] Determine the candidate virtual vehicle with the smallest speed among the candidate virtual vehicles as the target virtual vehicle;
[0043] or,
[0044] A candidate virtual vehicle with the smallest momentum among the candidate virtual vehicles is determined as a target virtual vehicle.
[0045] An information processing device executes an application on a processor of a terminal device and renders a graphical user interface on a display screen of the terminal device, wherein the graphical user interface includes at least a portion of a game scene, wherein the game scene includes a first virtual vehicle and at least one second virtual vehicle. The device comprises:
[0046] a target virtual vehicle determining module, configured to determine a target virtual vehicle from among the second virtual vehicles based on relative distances between the first virtual vehicle and each of the second virtual vehicles;
[0047] The first indicator display module is used to determine the optimal impact point of the target virtual vehicle based on the positional relationship between the first virtual vehicle and the target virtual vehicle, and to display a first indicator at a corresponding position of the optimal impact point; the optimal impact point is the part that obtains the maximum impact score when the first virtual vehicle impacts the target virtual vehicle.
[0048] Optionally, the first indicator display module includes:
[0049] an estimated impact intensity determination submodule, configured to determine an estimated impact intensity of each part of the target virtual vehicle based on an angle between a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and a straight line on which the target virtual vehicle is headed;
[0050] The first optimal impact point determination submodule is configured to determine a location with the maximum estimated impact intensity as the optimal impact point of the target virtual vehicle.
[0051] Optionally, the device further comprises:
[0052] A first collision indication information generating module, configured to generate collision indication information corresponding to the estimated collision intensity of each part of the target virtual vehicle according to the estimated collision intensity;
[0053] The first collision indication information display module is configured to display the collision indication information at a corresponding position of the target virtual vehicle.
[0054] Optionally, the impact indication information is a thermal map using the estimated impact intensity as a thermal value.
[0055] Optionally, the first indicator display module includes:
[0056] an estimated impact score determination submodule, configured to determine an estimated impact score for each part of the target virtual vehicle based on an angle between a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and a line on which the target virtual vehicle is facing, as well as the momentum of the target virtual vehicle and the momentum of the first virtual vehicle;
[0057] The second optimal impact point determination submodule is configured to determine the location with the highest estimated impact score as the optimal impact point of the target virtual vehicle.
[0058] Optionally, the device further comprises:
[0059] a second collision indication information generating module, configured to generate collision indication information corresponding to the estimated collision scores of various parts of the target virtual vehicle according to the estimated collision scores;
[0060] The second collision indication information display module is configured to display the collision indication information at a corresponding position of the target virtual vehicle.
[0061] Optionally, the impact indication information is a heat map using the estimated impact score as a heat value.
[0062] Optionally, the first collision indication information display module and the second collision indication information display module are both used to overlay and display the heat map on the target virtual vehicle, and the highest point of the heat value of the heat map coincides with the optimal collision point of the target virtual vehicle.
[0063] Optionally, the device further comprises:
[0064] a target impact point determination module, configured to determine, when there is more than one target virtual vehicle, a target impact point having the highest estimated impact score from a plurality of the best impact points according to the estimated impact scores corresponding to the best impact points of the target virtual vehicles;
[0065] An indicator display module is used to display the first indicator at a corresponding position of the target impact point.
[0066] Optionally, the device further comprises:
[0067] A second indicator display module, configured to display a second indicator in the graphical user interface, wherein the second indicator is configured to indicate a current collision direction of the first virtual vehicle;
[0068] The second indicator movement module is configured to determine a current orientation of the first virtual vehicle in response to a movement operation on the first virtual vehicle, and control the movement of the second indicator according to the current orientation.
[0069] Optionally, the device further comprises:
[0070] The first control module is configured to control the first virtual vehicle to travel in a current direction in response to the second indicator moving to overlap with the first indicator.
[0071] Optionally, the device further comprises:
[0072] The second control module is configured to control the first virtual vehicle to travel in a current direction at a maximum acceleration in response to the second indicator moving to overlap with the first indicator.
[0073] Optionally, the target virtual vehicle determination module includes:
[0074] a first determining submodule, configured to determine, based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle whose relative distance is less than a first preset distance as a target virtual vehicle;
[0075] or,
[0076] a second determining submodule, configured to determine, based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, the second virtual vehicle with the smallest relative distance as a target virtual vehicle;
[0077] or,
[0078] The third determining submodule is configured to determine, based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle having a relative distance smaller than a first preset distance and a smallest relative distance as a candidate virtual vehicle.
[0079] Optionally, the target virtual vehicle determination module includes:
[0080] a candidate virtual vehicle determining submodule, configured to determine, based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle whose relative distance is less than a first preset distance as a candidate virtual vehicle;
[0081] The fourth determining submodule is configured to determine the candidate virtual vehicle with the smallest speed among the candidate virtual vehicles as the target virtual vehicle; or to determine the candidate virtual vehicle with the smallest momentum among the candidate virtual vehicles as the target virtual vehicle.
[0082] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the above-mentioned information processing method when executed by the processor.
[0083] A computer-readable storage medium stores a computer program, which implements the steps of the above-mentioned information processing method when executed by a processor.
[0084] This application has the following advantages:
[0085] In an embodiment of the present application, based on the relative distance between the first virtual vehicle controlled by the terminal device and each second virtual vehicle, the target virtual vehicle among the second virtual vehicles is determined, and according to the positional relationship between the first virtual vehicle and the target virtual vehicle, the optimal impact point of the target virtual vehicle is determined, and a first indicator mark is displayed at the corresponding position of the optimal impact point; by applying the embodiment of the present application, the first indicator mark can be displayed at the corresponding position of the optimal impact point of the target virtual vehicle according to the relationship between the first virtual vehicle controlled by the terminal device and the second virtual vehicle, so as to help the user control the first virtual object to move in the direction of the first indicator mark, so as to achieve the highest-scoring impact on the target virtual vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0086] In order to more clearly illustrate the technical solution of the present application, the following is a brief introduction to the drawings required for the description of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0087] Figure 1 A flowchart of the steps of an information processing method according to an embodiment of the present application;
[0088] Figure 2 A schematic diagram of collision indication information corresponding to a target virtual vehicle in an information processing method according to an embodiment of the present application;
[0089] Figure 3This is a schematic diagram of another type of collision indication information corresponding to a target virtual vehicle in an information processing method according to an embodiment of the present application;
[0090] Figure 4 This is a structural block diagram of an information processing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0091] To make the above-mentioned purposes, features, and advantages of this application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and specific embodiments. It is apparent that the embodiments described are only a portion of the embodiments of this application, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments in this application without inventive effort are also within the scope of protection of this application.
[0092] With regard to the gameplay of colliding vehicles in racing games, in the existing technology, users can only rely on experience to determine how to collide in order to obtain higher scores, and there is a lack of prompts to guide users to achieve the best collision.
[0093] In view of this, an embodiment of the present application provides an information processing method, which determines the optimal impact point of the target virtual vehicle based on the positional relationship between the first virtual vehicle and the target virtual vehicle, and displays a first indicator mark at the corresponding position of the optimal impact point to help the user control the first virtual object to move in the direction of the first indicator mark, so as to achieve the highest-scoring impact on the target virtual vehicle.
[0094] The information processing method provided in the embodiment of the present application can be run on a local terminal device or a server. When the information processing method is run on a server, the information processing method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0095] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud gaming operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the information processing method are completed on the cloud gaming server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a first terminal device, a TV, a computer, a handheld computer, etc.; but the cloud gaming server in the cloud performs the information processing method. When playing the game, the player operates the client device to send operation instructions to the cloud gaming server. The cloud gaming server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0096] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes at least a portion of the game scene, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0097] Reference Figure 1 , showing a step flow chart of an information processing method provided by an embodiment of the present application. In the embodiment of the present application, a graphical user interface is displayed on the display screen of a terminal device, and the graphical user interface includes at least part of a game scene. The game scene includes a first virtual vehicle and at least one second virtual vehicle, wherein the first virtual vehicle can be considered to be a virtual vehicle controlled by the terminal device, and the second virtual vehicle can be an NPC (non-player character), or a hostile virtual vehicle controlled by other terminal devices and / or a hostile camp to the first virtual vehicle. The present application does not impose any restrictions on this.
[0098] The game screen displayed by the graphical user interface can be a game scene screen observed from the third-person perspective of the first virtual vehicle, wherein the third-person perspective of the first virtual vehicle is the perspective corresponding to the main screen virtual camera set at the rear and upper part of the first virtual vehicle, and the virtual scene screen observed from the third-person perspective of the first virtual vehicle is the game scene screen observed by the main screen virtual camera set at the rear and upper part of the first virtual vehicle.
[0099] The game screen displayed in the graphical user interface may also be a game scene screen viewed from the first-person perspective of the first virtual vehicle. The first-person perspective of the first virtual vehicle is the perspective corresponding to the main screen virtual camera located at the driver's position of the first virtual vehicle, and the game scene screen viewed from the first-person perspective of the first virtual vehicle is the game scene screen viewed from the main screen virtual camera located at the driver's position of the first virtual vehicle.
[0100] The game screen displayed by the graphical user interface can also be the main display screen when controlling the first virtual vehicle to perform a racing competition in the game scene, used to display the path screen of the first virtual vehicle during the racing competition and the position of the second virtual vehicle in the path screen.
[0101] Of course, the perspective of the game picture displayed by the graphical user interface can also be determined by the user setting.
[0102] The method can comprise the following steps:
[0103] In step 101, a target virtual vehicle is determined from the second virtual vehicles based on the relative distance between the first virtual vehicle and each of the second virtual vehicles.
[0104] The embodiment of the present application determines a target virtual vehicle from the second virtual vehicles by detecting the relative distance between the first virtual vehicle and each of the second virtual vehicles, and the target virtual vehicle is an object suitable for being hit by the first virtual vehicle.
[0105] In step 102, an optimal hitting point of the target virtual vehicle is determined according to the positional relationship between the first virtual vehicle and the target virtual vehicle, and a first indication mark is displayed at the corresponding position of the optimal hitting point; the optimal hitting point is a position of the target virtual vehicle that can obtain the maximum hitting score when the first virtual vehicle hits the target virtual vehicle.
[0106] The intensity of the hitting of different parts of the target virtual vehicle by the first virtual vehicle is related to the positional relationship between the parts and the first virtual vehicle, and therefore, the optimal hitting point of the target virtual vehicle can be determined according to the positional relationship between the first virtual vehicle and the target virtual vehicle, and the optimal hitting point can be considered as a position of the target virtual vehicle that can obtain the highest score when the first virtual vehicle hits the target virtual vehicle at the same speed.
[0107] The embodiment of the present application determines a target virtual vehicle from the second virtual vehicles based on the relative distance between the first virtual vehicle and each of the second virtual vehicles, and determines an optimal hitting point of the target virtual vehicle according to the positional relationship between the first virtual vehicle and the target virtual vehicle, and displays a first indication mark at the corresponding position of the optimal hitting point; by applying the embodiment of the present application, a first indication mark can be displayed at the corresponding position of the optimal hitting point of the target virtual vehicle according to the relationship between the first virtual vehicle and the second virtual vehicle controlled by the user through the terminal device, so as to help the user control the first virtual object to move towards the direction where the first indication mark is located, and realize the hitting of the target virtual vehicle with the highest score.
[0108] In the following, the information processing method in the present exemplary embodiment will be further described.
[0109] In step 101, a target virtual vehicle is determined from the second virtual vehicles based on the relative distance between the first virtual vehicle and each of the second virtual vehicles.
[0110] The game scene includes a first virtual vehicle controlled by a target terminal device and a second virtual vehicle in addition to the first virtual vehicle. In the game, the first virtual vehicle can obtain corresponding points by colliding with the second virtual vehicle. In other games, the points can also be called experience points or virtual assets.
[0111] In an embodiment of the present application, based on the relative distance between the first virtual vehicle and each second virtual vehicle, it is determined whether the relative distance meets the preset conditions. If so, the second virtual vehicle corresponding to the relative distance is determined to be the target virtual vehicle. Otherwise, if not, the second virtual vehicle corresponding to the relative distance is not the target virtual vehicle.
[0112] Exemplarily, the relative distance between the first virtual vehicle and the second virtual vehicle may be determined as follows:
[0113] The relative distance between the first virtual vehicle and the second virtual vehicle is determined according to the length of a line between the center point of the first virtual vehicle and the center point of the second virtual vehicle.
[0114] In this embodiment, the length of the line connecting the center point of the first virtual vehicle and the center point of the second virtual vehicle can be used as the relative distance between the first virtual vehicle and the second virtual vehicle. The center point can be the center of gravity of the virtual vehicle, and the calculated relative distance refers to the distance in the game scene.
[0115] Exemplarily, the relative distance between the first virtual vehicle and the second virtual vehicle may also be determined in the following manner:
[0116] The relative distance between the first virtual vehicle and the second virtual vehicle is determined according to the length of the line between the front reference line of the first virtual vehicle and the center point of the second virtual vehicle.
[0117] The front reference line is the line along which the front of the first virtual vehicle lies, and is parallel to the horizontal plane of the virtual scene and perpendicular to the line connecting the front and rear of the first virtual vehicle. The center point may be the center of gravity of the virtual vehicle, and the calculated relative distance refers to the distance in the game scene.
[0118] When selecting the target virtual vehicle for the first virtual vehicle to collide with, considering that information such as the speed of the virtual vehicle changes at any time, it is generally believed that the probability of a successful collision is higher when the relative distance is within a certain range; in order to improve the success rate of the collision, the target virtual vehicle is generally determined based on the relative distance between the first virtual vehicle and the second virtual vehicle.
[0119] It should be noted that, at the same time, the number of target virtual vehicles in the embodiment of the present application can be one or more; when there are multiple target virtual vehicles, the same method can be executed for each target virtual vehicle to indicate the optimal impact point of each target virtual vehicle to the user. Alternatively, a final target virtual vehicle to be impacted can be determined from the multiple target virtual vehicles, and a first indicator can be displayed at the corresponding position of the optimal impact point of the target virtual vehicle to be impacted.
[0120] In an optional embodiment, the step of determining the target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles may include:
[0121] Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle whose relative distance is smaller than a first preset distance is determined as a target virtual vehicle.
[0122] After determining the relative distances between the first virtual vehicle and each of the second virtual vehicles, the relative distances can be compared with a first preset distance. If the relative distance is less than the first preset distance, the second virtual vehicle corresponding to that relative distance is determined to be the target virtual vehicle. If only one relative distance is less than the first preset distance, the second virtual vehicle corresponding to that relative distance is determined to be the target virtual vehicle. If multiple relative distances are simultaneously less than the first preset distance, the multiple second virtual vehicles corresponding to each of the multiple relative distances are all designated as the target virtual vehicles.
[0123] In an optional embodiment, the step of determining the target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles may include:
[0124] Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, the second virtual vehicle having the smallest relative distance is determined as the target virtual vehicle.
[0125] After determining the relative distances between the first virtual vehicle and each second virtual vehicle, the relative distances may be compared to determine the minimum relative distance, and the second virtual vehicle with the minimum relative distance may be determined as the target virtual vehicle.
[0126] In an optional embodiment, the step of determining the target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles may include:
[0127] Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle whose relative distance is smaller than a first preset distance and whose relative distance is smallest is determined as a candidate virtual vehicle.
[0128] After determining the relative distances between the first virtual vehicle and each second virtual vehicle, the relative distances can be compared with the first preset distance to determine all relative distances that are smaller than the first preset distance, and the smallest relative distance can be determined from all relative distances that are smaller than the first preset distance. The second virtual vehicle corresponding to the relative distance with the smallest relative distance that is smaller than the first preset distance can then be determined as the target virtual vehicle.
[0129] Of course, the minimum relative distance can also be determined based on the relative distance between the first virtual vehicle and each of the second virtual vehicles, and then it can be determined whether the minimum relative distance is less than the first preset distance. If so, the second virtual vehicle corresponding to the minimum relative distance is determined as the target virtual vehicle; if not, there is no target virtual vehicle.
[0130] In an optional embodiment, the step of determining the target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles may include:
[0131] Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, determining the second virtual vehicles whose relative distances are smaller than a first preset distance as candidate virtual vehicles;
[0132] A candidate virtual vehicle with the smallest speed among the candidate virtual vehicles is determined as a target virtual vehicle.
[0133] After determining the relative distances between the first virtual vehicle and each second virtual vehicle, the relative distances can be compared with a first preset distance. When the relative distance is less than the first preset distance, the second virtual vehicle corresponding to the relative distance is determined as a candidate virtual vehicle. If there is only one candidate virtual vehicle, the candidate virtual vehicle can be directly determined as the target virtual vehicle. If there are multiple candidate virtual vehicles, the speeds of the candidate virtual vehicles are further determined. By comparing the speeds of the candidate virtual vehicles, the minimum speed is determined, and the candidate virtual vehicle with the minimum speed is determined as the target virtual vehicle.
[0134] In an optional embodiment, the step of determining the target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles may include:
[0135] Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, determining the second virtual vehicles whose relative distances are smaller than a first preset distance as candidate virtual vehicles;
[0136] A candidate virtual vehicle with the smallest momentum among the candidate virtual vehicles is determined as a target virtual vehicle.
[0137] After determining the relative distance between the first virtual vehicle and each second virtual vehicle, the relative distance can be compared with a first preset distance. When the relative distance is less than the first preset distance, the second virtual vehicle corresponding to the relative distance is determined to be a candidate virtual vehicle. If there is only one candidate virtual vehicle, the candidate virtual vehicle can be directly determined as the target virtual vehicle. If there are multiple candidate virtual vehicles, the momentum of each candidate virtual vehicle is further compared. By comparing the momentum of each candidate virtual vehicle, the minimum momentum is determined, and the candidate virtual vehicle with the minimum momentum is determined as the target virtual vehicle.
[0138] In step 102, based on the positional relationship between the first virtual vehicle and the target virtual vehicle, the optimal impact point of the target virtual vehicle is determined, and a first indicator mark is displayed at the corresponding position of the optimal impact point; the optimal impact point is the part that obtains the maximum impact score when the first virtual vehicle impacts the target virtual vehicle.
[0139] The intensity with which the target virtual vehicle is hit by the first virtual vehicle is related to the positional relationship between the first virtual vehicle and the momentum of the target virtual vehicle and the first virtual vehicle. After the target virtual vehicle is determined, for each target virtual vehicle, at a specific moment, the momentum of the target virtual vehicle and the first virtual vehicle remains fixed. Therefore, the optimal impact point in the target virtual vehicle can be determined based on the positional relationship between the various parts of the target virtual vehicle and the first virtual vehicle. The optimal impact point can be considered as the part of the first virtual vehicle that can obtain the highest impact score when colliding with the target virtual vehicle at the same speed. A first indicator mark is displayed at the corresponding position of the optimal impact point. The first indicator mark is used to indicate the driving direction of the first virtual vehicle. When the first virtual vehicle travels in the direction of the first indicator mark and collides with the target virtual vehicle, the highest impact score when colliding with the target virtual vehicle can be obtained.
[0140] Exemplarily, determining the optimal impact point of the target virtual vehicle based on the positional relationship between the first virtual vehicle and the target virtual vehicle may include:
[0141] Determining an estimated impact intensity of each part of the target virtual vehicle based on an angle between a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and a straight line on which the target virtual vehicle is headed;
[0142] The part with the maximum estimated impact strength is determined as the optimal impact point of the target virtual vehicle.
[0143] In this embodiment, the positional relationship between each part of the target virtual vehicle and the first virtual vehicle is embodied by the angle between the line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and the line on which the target virtual vehicle is oriented; the closer the angle is to 90 degrees, the greater the corresponding impact strength is, and correspondingly, the higher the impact score is. Therefore, according to the corresponding angle of each part, the estimated impact strength of each part can be determined, and then according to the estimated impact strength of each part, the maximum estimated impact strength can be determined, and the part corresponding to the maximum estimated impact strength is determined as the optimal impact point of the target virtual vehicle. The center point of the first virtual vehicle can be the center of gravity of the first virtual vehicle, and the line on which the target virtual vehicle is oriented can refer to a line passing through the center point of the target virtual vehicle and being perpendicular to the reference line of the front of the target virtual vehicle.
[0144] Further, in an optional embodiment, the above method can further include:
[0145] generating impact indication information corresponding to the estimated impact strength according to the estimated impact strength of each part of the target virtual vehicle;
[0146] displaying the impact indication information at the corresponding position of the target virtual vehicle.
[0147] In this embodiment, after obtaining the estimated impact strength of each part of each target virtual vehicle, the corresponding impact indication information can be generated according to the size of the estimated impact strength, wherein the first indication mark is the indication information corresponding to the optimal impact point in the impact indication information; the impact indication information is displayed at the corresponding position of the corresponding target virtual vehicle to facilitate the user to estimate the impact score difference of the first virtual vehicle impacting each part of the target virtual vehicle.
[0148] Illustratively, the impact indication information can be represented by a numerical value, for example, the greater the estimated impact strength is, the greater the corresponding numerical value is, the smaller the estimated impact strength is, the smaller the corresponding numerical value is, and the maximum numerical value is the first indication mark. Alternatively, the maximum numerical value can also be displayed in a color different from other numerical values, or special effects (such as light emission, shadow, etc.) can be added, etc., to play a prompting role. By displaying the numerical value related to the corresponding estimated impact strength at the corresponding position of the target virtual vehicle, the user can be facilitated to estimate the impact score difference of the first virtual vehicle impacting each part of the target virtual vehicle.
[0149] Illustratively, the impact indication information can also be a heat map with the estimated impact strength as the heat value. By displaying the impact indication information in the form of a heat map, the impact indication information can be made more intuitive.
[0150] In an optional embodiment, the above method may further include:
[0151] Determining an estimated collision score for each part of the target virtual vehicle based on a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle, an angle between the line connecting each part of the target virtual vehicle and the line toward which the target virtual vehicle is headed, and a momentum of the target virtual vehicle and a momentum of the first virtual vehicle;
[0152] The portion with the highest estimated collision score is determined as the optimal collision point of the target virtual vehicle.
[0153] In this embodiment, the estimated impact score is related to the positional relationship between the target virtual vehicle and the first virtual vehicle, as well as the momentum of the target virtual vehicle and the momentum of the first virtual vehicle. By calculating the estimated impact scores of various parts of the target virtual vehicle and comparing the estimated impact scores of various parts, the part with the highest estimated impact score can be determined, and the part with the highest estimated impact score can be determined as the optimal impact point. Among them, the center point of the first virtual vehicle can be the center of gravity of the first virtual vehicle, and the straight line in which the target virtual vehicle is headed can refer to a straight line passing through the center point of the target virtual vehicle and perpendicular to the reference line of the front of the target virtual vehicle. The calculation formula for the estimated impact score can be expressed as follows:
[0154] Score = (M1V1-M2V2)*θ;
[0155] Wherein, Score represents the estimated collision score, M1 represents the weight (or mass) of the first virtual vehicle, V1 represents the speed of the first virtual vehicle, M2 represents the weight (or mass) of the target virtual vehicle, V2 represents the speed of the target virtual vehicle, and θ represents the angle between the line connecting the collision point of the target virtual vehicle and the center point of the first virtual vehicle and the straight line of the target virtual vehicle's direction, where the range of θ is [0, 90°].
[0156] Furthermore, in an optional embodiment, the above method may further include:
[0157] generating collision indication information corresponding to the estimated collision scores of various parts of the target virtual vehicle;
[0158] The collision indication information is displayed at a corresponding position of the target virtual vehicle.
[0159] In this embodiment, after obtaining the estimated impact scores of various parts of each target virtual vehicle, corresponding impact indication information can be generated according to the size of the estimated impact scores. The first indication mark is the indication information corresponding to the optimal impact point in the impact indication information, and the impact indication information is displayed at the corresponding position of the corresponding target virtual vehicle to facilitate the user to estimate the impact scores of the first virtual vehicle colliding with various parts of the target virtual vehicle.
[0160] For example, the impact indication information can be represented by a numerical value. For example, a larger estimated impact score corresponds to a larger numerical value, and a smaller estimated impact score corresponds to a smaller numerical value. The maximum numerical value serves as the first indicator. Optionally, the maximum numerical value can be displayed in a different color than the other numerical values, or special effects can be added to provide a prompt. By displaying a numerical value associated with the estimated impact score corresponding to the corresponding position of the target virtual vehicle, the user can easily estimate the impact score of the first virtual vehicle colliding with various parts of the target virtual vehicle.
[0161] For example, the impact indication information may also be a heat map with the estimated impact score as the heat value. Displaying the impact indication information in the form of a heat map can make the impact indication information more intuitive.
[0162] Furthermore, when a heat map is used to display the collision indication information, the above-mentioned displaying the collision indication information at the corresponding position of the target virtual vehicle may include:
[0163] The heat map is overlaid on the target virtual vehicle, and the highest point of the heat value of the heat map coincides with the optimal impact point of the target virtual vehicle.
[0164] In one example, if Figure 2 As shown, the heat map is exactly the same or similar to the appearance of the target virtual vehicle and can be completely covered on the target virtual vehicle. The color of the corresponding position of the heat map is determined according to the estimated impact intensity or estimated impact score corresponding to each part of the target virtual vehicle. The highest thermal value point of the heat map coincides with the optimal impact point.
[0165] In one example, if Figure 3 As shown, the heat map is overlaid on the target virtual vehicle in a strip-like pattern. The color of the corresponding location on the heat map is determined based on the estimated impact intensity or estimated impact score corresponding to the area covered by the heat map. Considering that the optimal impact point of the target virtual vehicle and the center point of the first virtual vehicle are both located on a horizontal plane parallel to the virtual scene, the strip-like heat map should cover the optimal impact point of the target virtual vehicle, and the point with the highest heat value on the heat map should coincide with the optimal impact point.
[0166] In an optional embodiment, when there is more than one target virtual vehicle, the following may also be included:
[0167] Determining a target impact point having the highest estimated impact score from a plurality of the optimal impact points according to the estimated impact scores corresponding to the optimal impact points of the target virtual vehicle;
[0168] The first indicator mark is displayed at a corresponding position of the target impact point.
[0169] This embodiment can first determine the optimal impact point for each target virtual vehicle through the steps described above. Then, based on the estimated impact scores corresponding to each optimal impact point, a target impact point with the highest estimated impact score is determined. To facilitate identification, the target virtual vehicle corresponding to the target impact point is designated as the target impacted virtual vehicle. A first indicator is then displayed at the corresponding location of the target impact point. In this case, only one first indicator is displayed in the graphical user interface. By controlling the first virtual vehicle to travel in the direction of the first indicator and impacting the target impacted virtual vehicle, the resulting impact score is the highest among all target virtual vehicles.
[0170] Optionally, based on the estimated impact scores of various parts of the target virtual vehicle being impacted, impact indication information corresponding to the estimated impact scores may be generated, and the impact indication information may be displayed at the corresponding position of the target virtual vehicle being impacted. The specific process can be found in the above description and will not be repeated here.
[0171] Optionally, the collision indication information may also be a heat map with the estimated collision score as the heat value. The specific process can be found in the above description and will not be repeated here.
[0172] Optionally, the heat map is displayed at the location of the target virtual vehicle that was hit, and the highest point of the heat map coincides with the target impact point. The specific process can be found in the above description and will not be repeated here.
[0173] Furthermore, in an optional embodiment, the above method may further include:
[0174] Displaying a second indicator in the graphical user interface, where the second indicator is used to indicate a current collision direction of the first virtual vehicle;
[0175] In response to a movement operation on the first virtual vehicle, a current orientation of the first virtual vehicle is determined, and the second indicator is controlled to move according to the current orientation.
[0176] like Figure 2 and Figure 3As shown, a second indication mark is also displayed in the graphical user interface, and the second indication mark is used to indicate the current collision direction of the first virtual vehicle. It can be understood that when the user does not adjust the current driving direction of the first virtual vehicle, the impact point is at the position corresponding to the second indication mark. The user can control the driving direction of the first virtual vehicle by moving operation, i.e., control the current orientation of the first virtual vehicle; and the position of the second indication mark is determined again according to the current orientation of the first virtual vehicle, i.e., the second indication mark is controlled to move according to the current orientation.
[0177] The current collision direction of the first virtual vehicle is indicated by the second indication mark, so that the user can know whether the current collision direction of the first virtual vehicle meets the expectation, and the user can also predict whether the highest impact score can be obtained when the first virtual vehicle drives to the target virtual object according to the current orientation of the first virtual vehicle according to the position relationship between the first indication mark and the second indication mark displayed in the graphical user interface.
[0178] Further, the above method can further include:
[0179] In response to the second indication mark moving to coincide with the first indication mark, the first virtual vehicle is controlled to drive along the current orientation.
[0180] In the embodiment, when the second indication mark moves to coincide with the first indication mark in the process that the user controls the second indication mark to move, it indicates that the first virtual vehicle can obtain the corresponding highest impact score when the first virtual vehicle collides with the target virtual vehicle according to the current orientation. At this time, the device running the information processing manner of the embodiment can control the first virtual vehicle to drive along the current orientation, so as to automatically control the first virtual vehicle to collide to obtain the corresponding highest impact score after the orientation of the first virtual vehicle is adjusted correctly, thereby simplifying the user operation and improving the user experience.
[0181] Further, the above method can further include:
[0182] In response to the second indication mark moving to coincide with the first indication mark, the first virtual vehicle is controlled to drive along the current orientation.
[0183] In this embodiment, during the process of the user controlling the movement of the second indicator mark, when the second indicator mark moves to overlap with the first indicator mark, it indicates that the first virtual vehicle collides with the target virtual vehicle in the current direction, and the corresponding highest collision score can be obtained. Since the collision score is not only related to the collision angle, but also related to the momentum of the first virtual vehicle and the momentum of the target virtual vehicle being hit, and the momentum of the target virtual vehicle is not controlled by the terminal device corresponding to the first virtual vehicle, in order to obtain the highest collision score for the target virtual vehicle, in this embodiment, when the second indicator mark moves to overlap with the first indicator mark, the first virtual vehicle can also be controlled to travel in the current direction with maximum acceleration.
[0184] The embodiment of the present application determines the target virtual vehicle among the second virtual vehicles based on the relative distance between the first virtual vehicle and each second virtual vehicle, and determines the optimal impact point of the target virtual vehicle based on the positional relationship between the first virtual vehicle and the target virtual vehicle, and displays a first indicator mark at the corresponding position of the optimal impact point, providing the user with a real-time optimal impact point estimation result, which can help the user control the first virtual object to move in the direction of the first indicator mark, and achieve the highest-scoring impact on the target virtual vehicle without interrupting the user's normal control of the first virtual vehicle. In addition, the optimal impact point can be used as the highest point of the thermal value of the heat map, and a heat map can be generated and displayed on the target virtual vehicle based on the estimated impact score or estimated impact intensity of each part of the target virtual vehicle. The impact prediction results of each part of the target virtual vehicle can be displayed through the presentation mechanism of the heat map, which is more intuitive and convenient to observe. Furthermore, a second indicator mark for indicating the current collision direction of the first virtual vehicle can also be displayed in the graphical user interface. The user can intuitively observe the position of the second indicator mark to estimate the collision score that can be obtained by implementing a collision in the current collision direction, and adjust the orientation of the first virtual vehicle through the positional relationship between the first indicator mark and the second indicator mark to achieve the highest-scoring collision with the target virtual vehicle.
[0185] It should be noted that for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the order of the actions described, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0186] Reference Figure 4, shows a structural block diagram of an embodiment of an information processing device of the present application, corresponding to the above-mentioned information processing method embodiment, by executing an application on a processor of a terminal device and rendering a graphical user interface on a display screen of the terminal device, the graphical user interface includes at least part of a game scene, and the game scene includes a first virtual vehicle and at least one second virtual vehicle. The device may include the following modules:
[0187] a target virtual vehicle determining module 401, configured to determine a target virtual vehicle from among the second virtual vehicles based on relative distances between the first virtual vehicle and each of the second virtual vehicles;
[0188] The first indicator display module 402 is used to determine the optimal impact point of the target virtual vehicle based on the positional relationship between the first virtual vehicle and the target virtual vehicle, and to display a first indicator at the corresponding position of the optimal impact point; the optimal impact point is the part that obtains the maximum impact score when the first virtual vehicle impacts the target virtual vehicle.
[0189] Optionally, the first indicator display module 402 may include:
[0190] an estimated impact intensity determination submodule, configured to determine an estimated impact intensity of each part of the target virtual vehicle based on an angle between a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and a straight line on which the target virtual vehicle is headed;
[0191] The first optimal impact point determination submodule is configured to determine a location with the maximum estimated impact intensity as the optimal impact point of the target virtual vehicle.
[0192] Optionally, the device may further include:
[0193] A first collision indication information generating module, configured to generate collision indication information corresponding to the estimated collision intensity of each part of the target virtual vehicle according to the estimated collision intensity;
[0194] The first collision indication information display module is configured to display the collision indication information at a corresponding position of the target virtual vehicle.
[0195] Optionally, the impact indication information is a thermal map using the estimated impact intensity as a thermal value.
[0196] Optionally, the first indicator display module 402 may include:
[0197] an estimated impact score determination submodule, configured to determine an estimated impact score for each part of the target virtual vehicle based on an angle between a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and a line on which the target virtual vehicle is facing, as well as the momentum of the target virtual vehicle and the momentum of the first virtual vehicle;
[0198] The second optimal impact point determination submodule is configured to determine the location with the highest estimated impact score as the optimal impact point of the target virtual vehicle.
[0199] Optionally, the device may further include:
[0200] a second collision indication information generating module, configured to generate collision indication information corresponding to the estimated collision scores of various parts of the target virtual vehicle according to the estimated collision scores;
[0201] The second collision indication information display module is configured to display the collision indication information at a corresponding position of the target virtual vehicle.
[0202] Optionally, the impact indication information is a heat map using the estimated impact score as a heat value.
[0203] Optionally, both the first collision indication information display module and the second collision indication information display module can be used to overlay and display the heat map on the target virtual vehicle, and the highest point of the heat value of the heat map coincides with the optimal collision point of the target virtual vehicle.
[0204] Optionally, the device may further include:
[0205] a target impact point determination module, configured to determine, when there is more than one target virtual vehicle, a target impact point having the highest estimated impact score from a plurality of the best impact points according to the estimated impact scores corresponding to the best impact points of the target virtual vehicles;
[0206] An indicator display module is used to display the first indicator at a corresponding position of the target impact point.
[0207] Optionally, the device may further include:
[0208] A second indicator display module, configured to display a second indicator in the graphical user interface, wherein the second indicator is configured to indicate a current collision direction of the first virtual vehicle;
[0209] The second indicator movement module is configured to determine a current orientation of the first virtual vehicle in response to a movement operation on the first virtual vehicle, and control the movement of the second indicator according to the current orientation.
[0210] Optionally, the apparatus can further comprise:
[0211] a first control module configured to control the first virtual vehicle to travel in a current direction with a maximum acceleration in response to the second indicator moving to coincide with the first indicator.
[0212] Optionally, the apparatus can further comprise:
[0213] a second control module configured to control the first virtual vehicle to travel in a current direction with a maximum acceleration in response to the second indicator moving to coincide with the first indicator.
[0214] Optionally, the target virtual vehicle determination module 401 can comprise:
[0215] a first determination sub-module configured to determine a second virtual vehicle with a relative distance less than a first preset distance as a target virtual vehicle based on the relative distance between the first virtual vehicle and each of the second virtual vehicles;
[0216] Alternatively,
[0217] a second determination sub-module configured to determine a second virtual vehicle with a minimum relative distance as a target virtual vehicle based on the relative distance between the first virtual vehicle and each of the second virtual vehicles;
[0218] Alternatively,
[0219] a third determination sub-module configured to determine a second virtual vehicle with a relative distance less than a first preset distance and a minimum relative distance as a candidate virtual vehicle based on the relative distance between the first virtual vehicle and each of the second virtual vehicles.
[0220] Optionally, the target virtual vehicle determination module 401 can comprise:
[0221] a candidate virtual vehicle determination sub-module configured to determine a second virtual vehicle with a relative distance less than a first preset distance as a candidate virtual vehicle based on the relative distance between the first virtual vehicle and each of the second virtual vehicles;
[0222] a fourth determination sub-module configured to determine a candidate virtual vehicle with a minimum speed as a target virtual vehicle from the candidate virtual vehicles, or configured to determine a candidate virtual vehicle with a minimum momentum as a target virtual vehicle from the candidate virtual vehicles.
[0223] For the apparatus embodiment, it is basically similar to the method embodiment, so the description is relatively simple, and the related parts can be referred to the part of the method embodiment.
[0224] An embodiment of the present application also discloses an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the information processing method described above when executed by the processor.
[0225] The embodiment of the present application further discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the information processing method described above are implemented.
[0226] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0227] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0228] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0229] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0230] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0231] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0232] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
[0233] The above is a detailed introduction to the information processing method and device, electronic device and storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. An information processing method, characterized in that: The method includes executing an application on a processor of a terminal device and rendering a graphical user interface on a display screen of the terminal device, wherein the graphical user interface includes at least a portion of a game scene, wherein the game scene includes a first virtual vehicle and at least one second virtual vehicle. determining a target virtual vehicle from among the second virtual vehicles based on relative distances between the first virtual vehicle and each of the second virtual vehicles; Based on the positional relationship between the first virtual vehicle and the target virtual vehicle, the optimal impact point of the target virtual vehicle is determined, and corresponding impact prompt information is displayed at the corresponding position of the target virtual vehicle, and a first indicator mark is displayed at the corresponding position of the optimal impact point; the first indicator mark is the prompt information corresponding to the optimal impact point in the impact prompt information, and the optimal impact point is the part that obtains the maximum impact score when the first virtual vehicle impacts the target virtual vehicle at the same speed. The impact score is related to the positional relationship between the target virtual vehicle and the first virtual vehicle, as well as the momentum of the target virtual vehicle and the momentum of the first virtual vehicle.
2. The method according to claim 1, characterized in that The determining, based on the positional relationship between the first virtual vehicle and the target virtual vehicle, an optimal collision point of the target virtual vehicle includes: Determining an estimated impact intensity of each part of the target virtual vehicle based on an angle between a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle and a straight line on which the target virtual vehicle is headed; The location with the maximum estimated impact intensity is determined as the optimal impact point of the target virtual vehicle.
3. The method according to claim 2, characterized in that The method further comprises: generating, according to the estimated impact intensity of each part of the target virtual vehicle, impact indication information corresponding to the estimated impact intensity; The collision indication information is displayed at a corresponding position of the target virtual vehicle.
4. The method according to claim 3, characterized in that The impact indication information is a thermal map using the estimated impact intensity as a thermal value.
5. The method according to claim 1, wherein The determining, based on the positional relationship between the first virtual vehicle and the target virtual vehicle, an optimal collision point of the target virtual vehicle includes: Determining an estimated collision score for each part of the target virtual vehicle based on a line connecting each part of the target virtual vehicle and the center point of the first virtual vehicle, an angle between the line connecting each part of the target virtual vehicle and the line toward which the target virtual vehicle is headed, and a momentum of the target virtual vehicle and a momentum of the first virtual vehicle; The portion with the highest estimated collision score is determined as the optimal collision point of the target virtual vehicle.
6. The method according to claim 5, characterized in that The method further comprises: generating collision indication information corresponding to the estimated collision scores of various parts of the target virtual vehicle; The collision indication information is displayed at a corresponding position of the target virtual vehicle.
7. The method according to claim 6, characterized in that The collision indication information is a heat map using the estimated collision score as a heat value.
8. The method according to claim 4 or 7, characterized in that The displaying of the collision indication information at a corresponding position of the target virtual vehicle includes: The heat map is overlaid on the target virtual vehicle, and the highest point of the heat value of the heat map coincides with the optimal impact point of the target virtual vehicle.
9. The method according to claim 5, characterized in that The method further comprises: When there is more than one target virtual vehicle, determining a target impact point with the highest estimated impact score from the multiple optimal impact points according to the estimated impact scores corresponding to the optimal impact points of the target virtual vehicles; The first indicator mark is displayed at a corresponding position of the target impact point.
10. The method according to claim 1, characterized in that The method further comprises: Displaying a second indicator in the graphical user interface, where the second indicator is used to indicate a current collision direction of the first virtual vehicle; In response to a movement operation on the first virtual vehicle, a current orientation of the first virtual vehicle is determined, and the second indicator is controlled to move according to the current orientation.
11. The method according to claim 10, characterized in that The method further comprises: In response to the second indicator moving to overlap with the first indicator, the first virtual vehicle is controlled to travel along the current direction.
12. The method according to claim 10, characterized in that The method further comprises: In response to the second indicator moving to overlap with the first indicator, the first virtual vehicle is controlled to travel along the current direction at maximum acceleration.
13. The method according to claim 1, wherein The determining a target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles includes: Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, determining a second virtual vehicle whose relative distance is smaller than a first preset distance as a target virtual vehicle; or, Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, determining the second virtual vehicle with the smallest relative distance as a target virtual vehicle; or, Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, a second virtual vehicle whose relative distance is smaller than a first preset distance and whose relative distance is smallest is determined as a candidate virtual vehicle.
14. The method according to claim 1, wherein The determining a target virtual vehicle from the second virtual vehicles based on the relative distances between the first virtual vehicle and each of the second virtual vehicles includes: Based on the relative distances between the first virtual vehicle and each of the second virtual vehicles, determining the second virtual vehicles whose relative distances are smaller than a first preset distance as candidate virtual vehicles; Determine the candidate virtual vehicle with the smallest speed among the candidate virtual vehicles as the target virtual vehicle; or, A candidate virtual vehicle with the smallest momentum among the candidate virtual vehicles is determined as a target virtual vehicle.
15. An information processing device, characterized in that: The apparatus includes executing an application on a processor of a terminal device and rendering a graphical user interface on a display screen of the terminal device, wherein the graphical user interface includes at least a portion of a game scene, wherein the game scene includes a first virtual vehicle and at least one second virtual vehicle. a target virtual vehicle determining module, configured to determine a target virtual vehicle from among the second virtual vehicles based on relative distances between the first virtual vehicle and each of the second virtual vehicles; A first indicator display module is used to determine the optimal impact point of the target virtual vehicle based on the positional relationship between the first virtual vehicle and the target virtual vehicle, and display corresponding impact prompt information at the corresponding position of the target virtual vehicle, and display a first indicator at the corresponding position of the optimal impact point; the first indicator is the prompt information corresponding to the optimal impact point in the impact prompt information, and the optimal impact point is the part that obtains the maximum impact score when the first virtual vehicle impacts the target virtual vehicle at the same speed. The impact score is related to the positional relationship between the target virtual vehicle and the first virtual vehicle, as well as the momentum of the target virtual vehicle and the momentum of the first virtual vehicle.
16. An electronic device, characterized in that: The information processing method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the information processing method according to any one of claims 1 to 14 are implemented.
17. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the information processing method according to any one of claims 1 to 14 are implemented.
Citation Information
Patent Citations
System and method for object weakpoint generation
US9399166B1