CN116999840B - Virtual object moving method and device based on data analysis - Google Patents

Virtual object moving method and device based on data analysis Download PDF

Info

Publication number
CN116999840B
CN116999840B CN202311100203.3A CN202311100203A CN116999840B CN 116999840 B CN116999840 B CN 116999840B CN 202311100203 A CN202311100203 A CN 202311100203A CN 116999840 B CN116999840 B CN 116999840B
Authority
CN
China
Prior art keywords
parameter
moved
influence
movement
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311100203.3A
Other languages
Chinese (zh)
Other versions
CN116999840A (en
Inventor
魏斌
王齐东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Canhe Brothers Network Technology Co ltd
Original Assignee
Shenzhen Canhe Brothers Network Technology 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 Shenzhen Canhe Brothers Network Technology Co ltd filed Critical Shenzhen Canhe Brothers Network Technology Co ltd
Priority to CN202311100203.3A priority Critical patent/CN116999840B/en
Publication of CN116999840A publication Critical patent/CN116999840A/en
Application granted granted Critical
Publication of CN116999840B publication Critical patent/CN116999840B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding

Abstract

The embodiment of the application discloses a virtual object moving method and device based on data analysis, wherein the method and device can acquire a moving influence factor set corresponding to a target virtual object in a game, wherein the moving influence factor set comprises scene influence factors of scenes where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object; analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set; acquiring a first influence type corresponding to a scene influence factor and a second influence type corresponding to a behavior influence factor; determining a current parameter to be moved according to the first influence type, the second influence type, the first influence index and the second influence index; and moving the target virtual object according to the parameters to be moved. This improves the visual effect of the virtual object movement.

Description

Virtual object moving method and device based on data analysis
Technical Field
The application relates to the technical field of games, in particular to a virtual object moving method and device based on data analysis.
Background
In the prior art, when a user plays a game to control a virtual object, the virtual object only responds to control instructions of the user to perform normal actions such as steering, advancing, retreating, jumping and the like, so that in some games related to scene experience types such as a horror puzzle game, a moving method of the virtual object in the prior art cannot fit real life, and the virtual object is stiff and interesting to move and poor in visual effect, so that the user has poor experience of the horror puzzle game.
Disclosure of Invention
The embodiment of the application provides a virtual object moving method and device based on data analysis, which can improve the visual effect of virtual object movement.
In order to solve the technical problems, the embodiment of the application provides the following technical scheme:
the embodiment of the application provides a virtual object moving method based on data analysis, which comprises the following steps:
acquiring a movement influence factor set corresponding to a target virtual object in a game, wherein the movement influence factors comprise scene influence factors of a scene where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object;
Analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set;
acquiring a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor;
determining a current parameter to be moved of the target virtual object according to the first influence type, the second influence type, the first influence index and the second influence index;
and moving the target virtual object according to the parameter to be moved, wherein the first influence type comprises at least one of the movement speed influence type and the movement gesture influence type, and the second influence type comprises at least one of the movement speed influence type, the movement direction influence type and the movement gesture influence type.
In an embodiment, the analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set includes:
Determining a first weight corresponding to the scene influence factor and a second weight corresponding to the behavior influence factor according to the game parameter influence factor;
calculating a first impact index corresponding to the scene impact factor according to the first weight, and
and calculating a second influence index corresponding to the behavior influence factor according to the second weight.
In an embodiment, the impact index includes a first impact index corresponding to a scene impact factor, and the calculating the first impact index corresponding to the scene impact factor according to the first weight includes:
acquiring a scene type in the scene influence factor;
acquiring a corresponding environment parameter value according to the scene type;
and calculating a first impact index corresponding to the scene impact factor according to the environment parameter value and the first weight.
In an embodiment, the calculating, according to the second weight, a second impact index corresponding to the behavior impact factor includes:
acquiring a behavior influence type and a behavior influence distance corresponding to the behavior influence factor;
determining initial behavior influence parameters according to the behavior influence type;
determining a target behavior influence parameter value according to the initial behavior influence parameter and the behavior influence distance, wherein the behavior influence parameter comprises a behavior influence direction, a behavior influence position and a behavior influence intensity;
And calculating a second influence index corresponding to the behavior influence factor according to the target behavior influence parameter value and the second weight.
In an embodiment, the determining the current parameter to be moved of the target virtual object according to the first impact type, the second impact type, the first impact index, and the second impact index includes:
determining a first parameter to be moved in the current parameters to be moved of the target virtual object according to the first influence type and the first influence index;
determining a second parameter to be moved in the current parameters to be moved of the target virtual object according to the second influence type and the second influence index;
and calculating the current parameters to be moved of the target virtual object according to the first parameters to be moved and the second parameters to be moved.
The first parameter to be moved comprises at least one of a moving speed parameter and a moving gesture parameter, and the second parameter to be moved comprises at least one of a moving speed parameter, a moving direction parameter and a moving gesture parameter.
In an embodiment, the calculating the current parameter to be moved of the target virtual object according to the first parameter to be moved and the second parameter to be moved includes:
Acquiring a first movement type of a first parameter to be moved and a second movement type of the second parameter to be moved, wherein the first movement type can comprise at least one of a movement speed type and a movement gesture type, and the second movement type can comprise at least one of a movement speed type, a movement direction type and a movement gesture type;
if the first movement type and the second movement type both comprise movement speed types, acquiring a first to-be-moved speed parameter in the first to-be-moved parameters and a second to-be-moved speed parameter in the second to-be-moved parameters;
performing weighted calculation on the first to-be-moved speed parameter and the second to-be-moved speed parameter to obtain to-be-moved speed parameters;
acquiring a to-be-moved direction parameter and a to-be-moved posture parameter in the second to-be-moved parameters;
the speed parameter to be moved, the direction parameter to be moved and the gesture parameter to be moved are collected to obtain the current parameter to be moved of the target virtual object;
or if the first movement type and the second movement type both comprise movement gesture types, acquiring a first movement gesture parameter in the first parameter to be moved and a second movement gesture parameter in the second parameter to be moved;
Obtaining a to-be-moved gesture parameter set by the first to-be-moved gesture parameter and the second to-be-moved gesture parameter set;
acquiring a to-be-moved speed parameter and a to-be-moved direction parameter in the second to-be-moved parameters;
collecting the gesture parameter set to be moved, the speed parameter to be moved and the direction parameter to be moved to obtain the current parameter to be moved of the target virtual object;
or if the first movement type and the second movement type both comprise a movement speed type and a movement gesture type, acquiring a first movement speed parameter and a first movement gesture parameter in the first movement parameter, and a second movement speed parameter and a second movement gesture parameter in the second movement parameter;
performing weighted calculation on the first to-be-moved speed parameter and the second to-be-moved speed parameter to obtain to-be-moved speed parameters;
obtaining a to-be-moved gesture parameter set by the first to-be-moved gesture parameter and the second to-be-moved gesture parameter set;
the speed parameter to be moved, the direction parameter to be moved and the gesture parameter to be moved are collected to obtain the current parameter to be moved of the target virtual object;
Or if the first movement type is different from the second movement type, the first parameter to be moved and the second parameter to be moved are collected to obtain the current parameter to be moved of the target virtual object.
In an embodiment, the moving the target virtual object according to the parameter to be moved includes:
acquiring a current motion state of the target virtual object, wherein the current motion state comprises a moving state and a static state;
and moving the target virtual object based on the current motion state and the parameter to be moved.
In an embodiment, the current motion state includes a moving state and a stationary state, and the moving the target virtual object based on the current motion state and the parameter to be moved includes:
if the current motion state of the target virtual object is a static state, acquiring preset motion parameters when a motion instruction operated by a user is received;
moving the target virtual object based on the preset movement parameter and the parameter to be moved;
if the current motion state of the target virtual object is a moving state, acquiring a reference moving parameter corresponding to the moving state;
And moving the target virtual object based on the reference movement parameter and the parameter to be moved.
According to one aspect of the present application, there is also provided a virtual object moving apparatus based on data analysis, including:
the system comprises an acquisition module, a game processing module and a game processing module, wherein the acquisition module is used for acquiring a movement influence factor set corresponding to a target virtual object in a game, and the movement influence factors comprise scene influence factors of scenes where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object;
the analysis module is used for analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set;
the determining module is used for determining the current parameters to be moved of the target virtual object according to the influence indexes;
and the moving module is used for moving the target virtual object according to the parameter to be moved, wherein the first influence type comprises at least one of the moving speed influence type and the moving gesture influence type, and the second influence type comprises at least one of the moving speed influence type, the moving direction influence type and the moving gesture influence type.
According to an aspect of the present application, there is further provided an intelligent device, including a processor and a memory, where the memory stores a computer program, and when the processor invokes the computer program in the memory, any of the virtual object moving methods based on data analysis provided in the embodiments of the present application is executed.
The method and the device can acquire a movement influence factor set corresponding to a target virtual object in a game, wherein the movement influence factor set comprises scene influence factors of scenes where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object; analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set; acquiring a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor; determining a current parameter to be moved of the target virtual object according to the first influence type, the second influence type, the first influence index and the second influence index; and moving the target virtual object according to the parameter to be moved. The intelligent device can control the target virtual object to analyze the movement influence factors in real time and adjust the movement parameters, so that the target virtual object can be more attached to a real-time scene in a game and better feed back the behaviors of other virtual roles, and the movement visualization effect of the target virtual role is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a virtual object moving method based on data analysis according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for moving a virtual object based on data analysis according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a virtual object mobile device based on data analysis provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an intelligent device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The embodiment of the application provides a virtual object moving method and device based on data analysis. The virtual object moving method based on data analysis can be applied to a virtual object moving device based on data analysis, and the virtual object moving device based on data analysis can be integrated in an intelligent device, the intelligent device can be in communication connection with a server and the like, the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and can also be a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDNs), basic cloud computing services such as big data and artificial intelligent platforms and the like, but the virtual object moving method based on data analysis is not limited to the cloud server. The smart device may include a cell phone, a computer, a home appliance, or a wearable device, etc.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
In this embodiment, description will be made from the perspective of an intelligent device, referring to fig. 1, fig. 1 is a flow chart of a virtual object moving method based on data analysis according to an embodiment of the present application. The virtual object moving method based on data analysis may include:
S10, acquiring a movement influence factor set corresponding to a target virtual object in a game, wherein the movement influence factors comprise scene influence factors of scenes where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object.
It should be noted that the target virtual object may be a virtual object controlled by a user in the game. The inventor has found that in FPHG, MMORPG and MOBA games, the user is more concerned about the game and the playability of the equipment due to the combat system and the equipment system in the game, and the movement of the virtual object is ignored, i.e. the virtual game character only needs to perform normal actions such as steering, advancing, backing and jumping in response to the control instruction of the user. However, in the game of the terrorist puzzle, the target virtual object can be attacked or frightened by the ghost generated by the system algorithm, but the target virtual object can not attack the ghost, and the user can only choose to escape when encountering the ghost attack, so the user can pay more attention to the moving method of the target virtual character, and whether the moving method of the target virtual object is more suitable for the reaction of the human real life facing some situations can directly influence the look and feel of the user on the game of the terrorist puzzle. However, when the game of scene experience type, such as a horror puzzle game, is adopted, such as the game virtual character moving mode with the combat system and the equipment system, the movement of the game character is stiff and interesting, and the visualization effect is poor, so that the user experience of the horror puzzle game is poor. Therefore, in order to enable the game to be more fit with reality, some movement influence factor sets which can be received by the target virtual object in the game at present can be analyzed, so that the target virtual object is controlled to make some movement which is more fit with reality, and the immersive experience effect of the user on the game is improved.
In addition, in the conventional puzzle game, although the system does not generate a ghost, the conventional puzzle game focuses on improving the game body feeling of the player by means of the play innovation of the puzzle mode, and even the player is set to hardly need to move, so that the attention of the user to the movement of the controlled target virtual object in the conventional puzzle game is low.
The scene influence factor may represent scene information influencing a movement parameter of a target virtual object in a game, for example, the scene information may include a scene type, the scene type may include a lawn type, a road type, a rough mountain road type, an underwater type, a toxic gas type, an air type, and the like, and the environmental parameter value may be information such as light intensity, temperature, humidity, and the like corresponding to the scene type. The movement parameter may include a finger movement speed. The other virtual objects can be other virtual objects in the game except the target virtual object, namely other virtual objects in the game except the role controlled by the user, can be non-player roles which give out hostile behaviors to the target virtual object, and can also be teammate player roles which give out friendly behaviors to the target virtual object. The other virtual objects may include hostile virtual objects and/or friendly virtual objects, where hostile virtual objects are virtual objects that may generate hostile responses to target virtual objects, such as a ghost generated by an algorithm in a horror game, may attack or frighten the target virtual objects, and may have a numerical effect on game physiological parameters of the player, but the player may not be able to counter. Friendly virtual objects refer to virtual objects that may produce non-hostile behavior to a target virtual object, such as teammates of the target virtual object. The behavior influence factor may characterize a behavior in the game that affects a movement parameter of the target virtual object, for example, may include a hostile behavior parameter, which may include an attack behavior, a deceleration behavior, a pull-in behavior, and the like, and/or a friendly behavior parameter, which may include a blood adding, a physical adding, an acceleration, and the like. In an embodiment, the behavior impact factors of the other virtual objects may include injury parameters caused by the hostile virtual object to the target virtual object and/or help parameters caused by the friendly virtual object to the target virtual object. The game parameter influence factor of the target virtual object can represent the physiological parameter of the target virtual object, and further represent the bearing capacity of the target virtual object on external influence, for example, the game parameter influence factor can comprise the target virtual object physiological parameter, and the target virtual object physiological parameter can comprise the blood volume bar, the physical strength bar, the startle degree and the like of the target virtual object.
In this embodiment, the execution subject of the virtual object moving method based on the data analysis may be an intelligent device. The movement influence factor set can be stored in the intelligent device, and when the target virtual object moves, the movement influence factor set corresponding to the target virtual object currently is updated in real time. The intelligent device obtaining the current movement influence factor set of the target virtual object in the game may refer to obtaining a parameter value and an influence type of each movement influence factor, so as to obtain a set of a plurality of influence factor parameter values, for example, a light intensity value and a temperature and humidity value of a scene where the target virtual object is located, an attack parameter, an attack type, and the like of the hostile virtual character on the target virtual character, and a blood volume bar value and a physical strength bar value of the target virtual object may be obtained, so as to obtain a set of the plurality of influence factor parameter values. The virtual object movement can be controlled based on the result of data analysis of the plurality of movement influencing factor sets, so that the user game immersive experience is improved.
S20, analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set.
The influence index may be used to represent the influence degree of the influence factor on the target virtual object, and if the influence index is higher, the influence degree of the movement influence factor on the movement of the target virtual object is higher.
Optionally, analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set may include:
s21, determining a first weight corresponding to the scene influence factor and a second weight corresponding to the behavior influence factor according to the game parameter influence factor;
s22, calculating a first influence index corresponding to the scene influence factor according to the first weight and calculating a second influence index corresponding to the behavior influence factor according to the second weight.
The game parameter influence factor may be a target virtual object physiological parameter, and the first weight and the second weight may be mapped with the target virtual object physiological parameter in advance according to a corresponding mapping relationship.
It should be noted that, in order to make the target virtual object in the game more fit to the actual situation, for example, the bearing capacity of the influence on the environment and other virtual objects is higher when the physical condition is good, and the bearing capacity of the influence on the environment and other virtual objects is lower when the physical condition is weak. The correspondence may be set in the game as: the first weight and the second weight are lower if the target virtual object physiological parameter is higher, and the first weight and the second weight are higher if the target virtual object physiological parameter is lower. For example, if the blood volume value and the physical strength value in the physiological parameter of the target virtual object are both within the range of 80-100, setting the first weight corresponding to the scene influence factor to be 0.05, and setting the second weight corresponding to the behavior influence factor to be 0.2; if the blood volume value and the physical strength value in the physiological parameters of the target virtual object are both within the 10-30 interval and the physical strength value, setting the first weight corresponding to the scene influence factor to be 0.5, and setting the second weight corresponding to the behavior influence factor to be 0.8.
It can be appreciated that the influence of the scene impact factor on the movement parameters of the target virtual object may include a positive type influence and a negative type influence, where the positive type influence may cause the movement speed of the target virtual object to be faster and the movement posture to be smoother, and the negative type influence may cause the movement speed of the target virtual object to be reduced and the movement posture to be not smooth. Correspondingly, the influence index can be positive index or negative index, if the influence index is positive index, positive type influence can be generated on the movement of the target virtual object, and if the influence index is negative index, negative type influence can be generated on the movement of the target virtual object.
Optionally, calculating a first impact index corresponding to the scene impact factor according to the first weight may include:
acquiring scene types of scene influence factors;
acquiring a corresponding environment parameter value according to the scene type;
and calculating a first impact index corresponding to the scene impact factor according to the environment parameter value and the first weight.
The scene type may represent an influence of a scene where the target virtual object is located on the target virtual object movement parameter, for example, the scene type may include a lawn type, a road type, a rough mountain road type, an underwater type, a toxic gas type, a special acceleration road, a special deceleration road, an air type, and the like, the environment parameter value may include an environment temperature parameter, an environment humidity parameter, an environment light intensity parameter, a toxic gas concentration parameter, and the like, environment parameter values corresponding to different scene types are different, and a mapping relationship between the scene type and the corresponding environment parameter value may be preset.
In an embodiment, if the scene type in the scene impact factors meets a first preset type, it is determined that the first impact index corresponding to the scene impact factors is a negative index, where the first preset type may be a rough mountain road type, an underwater type, a toxic gas type, a special speed reduction road, an air type, and the like. If the scene type in the scene impact factors meets a second preset type, the first impact index corresponding to the scene impact factors can be judged to be a positive index, wherein the second preset type can be a special acceleration road or the like.
In an embodiment, if the environmental parameter value in the scene impact factor meets a first preset condition, it is determined that the environmental parameter value is a negative value, and the first impact index is a negative impact index. And if the environmental parameter value meets a second preset condition, judging that the environmental parameter value is a positive value, and correspondingly, the first influence index is a positive influence index. Wherein, the positive impact index can increase the moving speed of the target object, and the negative impact index can decrease the moving speed of the target object.
For example, the first preset condition may be that the ambient temperature parameter is less than a first preset temperature value or greater than a second preset temperature value, and the second preset condition may be that the ambient temperature parameter is greater than or equal to the first preset temperature value and less than or equal to the second preset temperature value. That is, if the environmental temperature parameter is smaller than the first preset temperature value or larger than the second preset temperature value, the scene impact factor is a negative number, and if the environmental temperature parameter is larger than or equal to the first preset temperature value and smaller than or equal to the second preset temperature value, the scene impact factor is a positive number. For example, if the ambient temperature parameter is-10 degrees and the first preset temperature value is 10 degrees, the impact index corresponding to the ambient temperature parameter may be mapped to-5%.
Optionally, calculating a second impact index corresponding to the behavior impact factor according to the second weight may include:
acquiring a behavior influence type and an influence distance corresponding to the behavior influence factor;
determining initial behavior influence parameters according to the behavior influence type;
determining a target behavior influence parameter value according to the initial behavior influence parameter and the behavior influence distance;
and calculating a second influence index corresponding to the behavior influence factor according to the target behavior influence parameter and the second weight.
The behavior influence factors may include adverse behavior influence and/or friendly behavior influence, the adverse behavior may include attack behavior, deceleration behavior and the like, the behavior capable of changing the movement parameters, and the friendly behavior may include treatment, water feeding, encouragement and the like, the behavior capable of increasing the target virtual physiological parameters and further increasing the movement speed of the target virtual object.
The behavior influence type may be used to characterize the type of influence caused by the behavior of other virtual objects to the target virtual object, and different influence types and influence parameters may ultimately result in different movement parameters of the target virtual object. The behavior impact type may include a direction impact, a speed impact, and a gesture impact. For example, an adversary may initiate an attack on a target virtual object that may slow down the target virtual object, so the impact type of the attack may include a speed impact. If the attack behavior can cause the leg of the target virtual object to be injured and retreated, the impact type corresponding to the attack behavior can comprise a direction impact, a speed impact and a gesture impact.
It should be noted that, because the user and the teammate can only evade the grime and perform the puzzlement action in the terrorist game, the user and the teammate can only see the movement and the action of the other party, and the adoption of the virtual object moving method of the invention can increase the vivid visual effects of the moving direction, the moving speed, the moving gesture and the like of the real other party in the display view angle of the teammate, so that the user and the teammate can see the moving type of the other party mutually, and further the playability of the game and the feeling of the user on the scene of the game can be increased.
The behavior-affecting parameters may include a behavior-affecting direction, a behavior-affecting location, and a behavior-affecting intensity. The behavior influence position may refer to a position that is attacked by the hostile virtual object when the hostile virtual object attacks the target virtual object, for example, a lower limb position of the hostile virtual object that attacks the target virtual object may cause a movement gesture of the target virtual object to change, for example, a leg movement. The initial behavior influence parameter is the initial behavior influence parameter which is preset corresponding to the type of attack behavior. For example, the hostile object sends out an attack action to the target virtual object, the influence direction in the initial action influence parameter corresponding to the attack action is to attack from the left side of the target virtual object to the right side of the target virtual object, the influence position is the leg position of the target virtual object, and the influence intensity is 80. The behavior influence distance can be used for representing the distance from the target virtual object when other virtual objects influence the behavior on the target virtual object, if the distance is closer, the target influence parameter corresponding to the influence behavior is closer to the initial behavior influence parameter, and if the distance is farther, the behavior influence intensity in the target influence parameter corresponding to the influence behavior is smaller than the behavior influence intensity in the initial behavior influence parameter.
For example, if an hostile behavior sent by a hostile virtual object is received, a behavior influence type corresponding to the hostile behavior and a distance between the hostile virtual object and a target virtual object are obtained, if the behavior influence type is a speed reduction type, then a corresponding initial speed influence value is obtained, and a target behavior influence parameter value is calculated according to the distance and the initial speed reduction value. And multiplying the second weight by the target behavior influence parameter value to obtain the second influence index. It should be noted that, because the user and teammates in the puzzle game cannot attack the grimacs, they do not need to help the opponent to play the grimace, so the friendly behavior between the teammates of the user needs to be reflected in helping the opponent to increase the moving speed. And if the friendly behavior sent by the friendly virtual object in the other virtual objects is received, acquiring a behavior influence type corresponding to the friendly behavior and a distance between the friendly virtual object and the target virtual object, if the behavior influence type is a speed increase type, acquiring a corresponding initial speed increase value, and calculating a target behavior influence parameter value according to the distance and the initial speed influence value. The second impact index is obtained by multiplying the second weight by the target behavioral impact.
S30, acquiring a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor.
Wherein the first influence type is used for representing which movement parameter of the target virtual object is influenced by a scene in the game, and the second influence type is used for representing which movement parameter of the target virtual object is influenced by the behavior of other virtual objects in the game aiming at the target virtual object.
It can be understood that the influence of the scene on the target virtual object may be a speed influence and a gesture influence, for example, the type in water may cause the moving speed of the target virtual object to be slower, and the smooth ice surface may cause the moving gesture of the target virtual object to become a tremor or. Thus, the first influence type may include at least one of the movement speed influence type and the movement gesture influence type. And the behavior of the other virtual object on the target virtual object may be such that the moving speed, moving direction and moving posture of the target virtual object all change, and thus the second influence type may include at least one of the moving speed influence type, moving direction influence type and moving posture influence type.
And S40, determining the current parameters to be moved of the target virtual object according to the first influence type, the second influence type, the first influence index and the second influence index.
Wherein, the parameters to be moved may include: movement speed, movement direction, movement posture, and the like. The movement direction may be at any angle, and the movement posture may include a position such as a limp leg movement, a toddler movement, a creeping movement, and a wound covering movement.
Optionally, the determining the current parameter to be moved of the target virtual object according to the first impact type, the second impact type, the first impact index and the second impact index may include:
s41, determining a first parameter to be moved in the current parameters to be moved of the target virtual object according to the first influence type and the first influence index;
s42, determining a second parameter to be moved in the current parameters to be moved of the target virtual object according to the second influence type and the second influence index;
s43, calculating the current parameters to be moved of the target virtual object according to the first parameters to be moved and the second parameters to be moved.
The first parameter to be moved may include at least one of a movement speed parameter and a movement posture parameter, and the second parameter to be moved may include at least one of a movement speed parameter, a movement direction parameter and a movement posture parameter. The movement direction influence type may influence the movement direction parameter, the movement speed influence type may influence the movement speed parameter, and the movement posture influence type may influence the movement posture parameter.
Optionally, calculating the current parameter to be moved of the target virtual object according to the first parameter to be moved and the second parameter to be moved may include:
acquiring a first movement type of a first parameter to be moved and a second movement type of the second parameter to be moved, wherein the first movement type can comprise at least one of a movement speed type and a movement gesture type, and the second movement type can comprise at least one of a movement speed type, a movement direction type and a movement gesture type;
if the first movement type and the second movement type both comprise movement speed types, acquiring a first to-be-moved speed parameter in the first to-be-moved parameters and a second to-be-moved speed parameter in the second to-be-moved parameters;
Performing weighted calculation on the first to-be-moved speed parameter and the second to-be-moved speed parameter to obtain to-be-moved speed parameters;
acquiring a to-be-moved direction parameter and a to-be-moved posture parameter in the second to-be-moved parameters;
and collecting the to-be-moved speed parameter, the to-be-moved direction parameter and the to-be-moved gesture parameter to obtain the current to-be-moved parameter of the target virtual object.
For example, if the first parameter to be moved includes acceleration 5, the second parameter to be moved includes acceleration 20, the direction deviates from the right by 10 degrees, and the movement gesture is performed with respect to the vibration, then the acceleration 15 is obtained by adding the acceleration 20 to the deceleration 5, and the current parameter to be moved of the target virtual object may include acceleration 15, the direction deviates from the right by 10 degrees, and the movement gesture is performed with respect to the vibration.
Or if the first movement type and the second movement type both comprise movement gesture types, acquiring a first movement gesture parameter in the first parameter to be moved and a second movement gesture parameter in the second parameter to be moved;
obtaining a to-be-moved gesture parameter set by the first to-be-moved gesture parameter and the second to-be-moved gesture parameter set;
Acquiring a to-be-moved speed parameter and a to-be-moved direction parameter in the second to-be-moved parameters;
and collecting the gesture parameter set to be moved, the speed parameter to be moved and the direction parameter to be moved to obtain the current parameter to be moved of the target virtual object.
For example, if the first parameter to be moved includes a chest of a mobile gesture hand, the second parameter to be moved includes acceleration 20, a direction deviates to the right by 10 degrees, and the mobile gesture is performed with the flutter, then the acceleration 20, the direction deviates to the right by 10 degrees, and the chest of the mobile gesture hand and the flutter are directly collected as the current parameter to be moved of the target virtual object.
Or if the first movement type and the second movement type both comprise a movement speed type and a movement gesture type, acquiring a first movement speed parameter and a first movement gesture parameter in the first movement parameter, and a second movement speed parameter and a second movement gesture parameter in the second movement parameter;
performing weighted calculation on the first to-be-moved speed parameter and the second to-be-moved speed parameter to obtain to-be-moved speed parameters;
Obtaining a to-be-moved gesture parameter set by the first to-be-moved gesture parameter and the second to-be-moved gesture parameter set;
and collecting the to-be-moved speed parameter, the to-be-moved direction parameter and the to-be-moved gesture parameter to obtain the current to-be-moved parameter of the target virtual object.
For example, if the first parameter to be moved includes deceleration 5, the gesture of movement is performed on the chest, the second parameter to be moved includes acceleration 20, the direction deviates from the right by 10 degrees, and the gesture of movement is performed on the chest, the acceleration 15 is obtained by adding the deceleration 5 and the acceleration 20, and then the acceleration 15, the direction deviates from the right by 10 degrees, and the gesture of movement is performed on the chest and the gesture of movement, as the current parameter to be moved of the target virtual object.
Or if the first movement type is different from the second movement type, the first parameter to be moved and the second parameter to be moved are collected to obtain the current parameter to be moved of the target virtual object.
Wherein, the first movement type and the second movement type are different, which means that the first movement type and the second movement type do not belong to the three situations, that is, the type existing in the first movement type does not exist in the second movement type, for example, the first movement type includes a movement speed type, and the second movement type parameter includes a movement direction type and a movement gesture type.
For example, if the first parameter to be moved includes the deceleration 5 and the second parameter to be moved includes the movement posture flutter and the scale deviation in the right direction by 10 degrees, the deceleration 5, the movement posture flutter and the scale deviation in the right direction by 10 degrees may be directly collected as the current parameter to be moved as the target virtual object.
In an embodiment, if the type of the influence corresponding to the environmental impact factor is to change the moving speed of the target virtual object, the corresponding first impact index is-20, that is, the moving speed of the target virtual object is reduced; the type of the influence of the hostile virtual character is that the movement posture and the movement speed of the target virtual object are changed, and the corresponding influence index is-10, namely that the target virtual object is made to be titled and moved; the influence type of the friendly virtual object is that the moving speed of the target virtual object is changed, and the corresponding influence index is 10, namely the target virtual object is accelerated; then the current parameter to be moved of the target virtual object may be the toddler, the speed to be moved being a deceleration 20.
S50, the target virtual object is moved according to the parameter to be moved.
Optionally, adjusting the movement of the target virtual object according to the parameter to be moved may include:
Acquiring a current motion state of the target virtual object, wherein the current motion state comprises a moving state and a static state;
and moving the target virtual object based on the current motion state and the parameter to be moved.
Optionally, moving the target virtual object based on the current motion state and the parameter to be moved includes:
if the current motion state of the target virtual object is a static state, acquiring preset motion parameters when a motion instruction operated by a user is received;
calculating based on the preset moving parameters and the parameters to be moved to obtain first target moving parameters;
and moving the target virtual object according to the first target movement parameter.
The preset movement parameter may refer to a movement parameter that is fixedly set when the target virtual object is not affected by the movement affecting factor and only receives a movement instruction operated by the user. The first target movement parameter may be obtained by adding a preset movement parameter and the parameter to be moved, or may be obtained by calculating in other calculation manners, which is not limited herein.
For example, if the preset movement parameter is 100 moving in the forward direction and the parameter to be moved is toddler moving at-20, the preset movement parameter and the parameter to be moved may be added to obtain the target movement parameter as toddler moving at 80.
Or in an embodiment, if the current motion state of the target virtual object is a moving state, acquiring a reference moving parameter corresponding to the moving state;
calculating based on the reference movement parameter and the parameter to be moved to obtain a second target movement parameter;
and moving the target virtual object according to the second target movement parameter.
The movement state may refer to a state in which the target virtual object is in movement before being subjected to the movement influencing factor, and the reference movement parameters may include a movement direction, a movement speed, a movement posture, and the like. The second target movement parameter may be obtained by adding the reference movement parameter and the parameter to be moved, or may be obtained by calculating in other calculation manners, which is not limited herein.
For example, when the current reference movement parameter is to move left creeping at a speed of 50, and the to-be-moved parameter is to move left at a speed of-10, then the target movement parameter may be to move left at a speed of 40, and the target virtual object is controlled to move left at a speed of 40.
In the embodiment of the application, the intelligent device may acquire a movement influence factor set corresponding to a target virtual object in a game, where the movement influence factor set includes a scene influence factor of a scene where the target virtual object is located, a behavior influence factor of other virtual objects on the target virtual object, and a game parameter influence factor of the target virtual object itself; analyzing the movement influence factor set to obtain influence indexes of the scene influence factors and the behavior influence factors in the movement influence factor set; acquiring a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor; determining a current parameter to be moved of the target virtual object according to the first influence type, the second influence type, the first influence index and the second influence index; and moving the target virtual object according to the parameter to be moved, wherein the first influence type comprises at least one of the movement speed influence type and the movement gesture influence type, and the second influence type comprises at least one of the movement speed influence type, the movement direction influence type and the movement gesture influence type. The intelligent device can control the target virtual object to analyze the movement influence factors in real time and adjust the movement parameters, so that the target virtual object can be more attached to a real-time scene in a game and better feed back the behaviors of other virtual roles, and the movement visualization effect of the target virtual role is improved.
In order to facilitate better implementation of the virtual object moving method based on data analysis provided by the embodiment of the application, the embodiment of the application also provides a device based on the virtual object moving method based on data analysis. The meaning of the nouns is the same as that of the virtual object moving method based on data analysis, and specific implementation details can be referred to the description of the method embodiment.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a virtual object mobile device based on data analysis according to an embodiment of the present application, where the virtual object mobile device 300 based on data analysis may include an obtaining module 301, an analyzing module 302, a determining module 303, a moving module 304, and so on.
The first obtaining module 301 is configured to obtain a set of movement influencing factors corresponding to a target virtual object in a game, where the movement influencing factors include a scene influencing factor of a scene where the target virtual object is located, a behavior influencing factor of other virtual objects on the target virtual object, and a game parameter influencing factor of the target virtual object itself;
the analysis module 302 is configured to analyze the movement influence factor set to obtain an influence index of the scene influence factor and the behavior influence factor in the movement influence factor set;
A second obtaining module 303, configured to obtain a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor;
a determining module 304, configured to determine a current parameter to be moved of the target virtual object according to the first impact type, the second impact type, the first impact index, and the second impact index;
and the moving module 305 is configured to move the target virtual object according to the parameter to be moved.
In the technical scheme provided by the embodiment, an acquisition module acquires a movement influence factor set corresponding to a target virtual object in a game, wherein the movement influence factors comprise scene influence factors of a scene where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object; the analysis module is used for analyzing the movement influence factor set to obtain the scene influence factors and the influence indexes of the behavior influence factors in the movement influence factor set; the second acquisition module is used for acquiring a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor; the determining module is used for determining the current parameters to be moved of the target virtual object according to the first influence type, the second influence type, the first influence index and the second influence index; and the moving module is used for moving the target virtual object according to the parameter to be moved, wherein the first influence type comprises at least one of the moving speed influence type and the moving gesture influence type, and the second influence type comprises at least one of the moving speed influence type, the moving direction influence type and the moving gesture influence type. The intelligent device can control the target virtual object to analyze the movement influence factors in real time and adjust the movement parameters, so that the target virtual object can be more attached to a real-time scene in a game and better feed back the behaviors of other virtual roles, and the movement visualization effect of the target virtual role is improved.
The embodiment of the application also provides an intelligent device, which may be a mobile phone or a computer, as shown in fig. 4, and shows a schematic structural diagram of the intelligent device according to the embodiment of the application, specifically:
the smart device may include one or more processors 401 of a processing core, one or more memories 402 of a computer readable storage medium, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the smart device architecture shown in fig. 4 is not limiting of the smart device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 401 is a control center of the smart device, connects various parts of the entire smart device using various interfaces and lines, and performs various functions of the smart device and processes data by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the smart device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by executing the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the smart device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The smart device also includes a power supply 403 for powering the various components, preferably, the power supply 403 is logically connected to the processor 401 by a power management system, so that functions such as charging, discharging, and power consumption management can be performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The smart device may also include an input unit 404, which input unit 404 may be used to receive entered numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the smart device may further include a display unit or the like, which is not described herein. In this embodiment, the processor 401 in the smart device loads executable files corresponding to the processes of one or more application programs into the memory 402 according to the following program, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions as follows:
the intelligent device can acquire a movement influence factor set corresponding to a target virtual object in a game, wherein the movement influence factor set comprises scene influence factors of a scene where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object; analyzing the movement influence factor set to obtain influence indexes of the scene influence factors and the behavior influence factors in the movement influence factor set; acquiring a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor; determining a current parameter to be moved of the target virtual object according to the first influence type, the second influence type, the first influence index and the second influence index; and moving the target virtual object according to the parameter to be moved. The intelligent device can control the target virtual object to analyze the movement influence factors in real time and adjust the movement parameters, so that the target virtual object can be more attached to a real-time scene in a game and better feed back the behaviors of other virtual roles, and the movement visualization effect of the target virtual role is improved.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of an embodiment that are not described in detail, reference may be made to the above detailed description of the virtual object moving method based on data analysis, which is not repeated herein.
According to one aspect of the present application, there is provided a computer program product or a computer program comprising a computer program stored in a computer readable storage medium. The processor of the smart device reads the computer program from the computer readable storage medium, and the processor executes the computer program, so that the smart device performs the methods provided in the various alternative implementations of the above embodiments.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by hardware associated with the control of a computer program, which may be stored in a storage medium and loaded and executed by a processor, where the storage medium is a computer-readable storage medium.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Because the computer program stored in the storage medium can execute any of the virtual object moving methods based on data analysis provided in the embodiments of the present application, the beneficial effects that any of the virtual object moving methods based on data analysis provided in the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
The foregoing describes in detail a virtual object moving method and apparatus based on data analysis provided in the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing description of the embodiments is only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the ideas of the present application, the contents of the present specification should not be construed as limiting the present application in summary.

Claims (7)

1. A method of virtual object movement based on data analysis, the method comprising:
Acquiring a movement influence factor set corresponding to a target virtual object in a game, wherein the movement influence factor set comprises scene influence factors of a scene where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object;
analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set;
acquiring a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor;
determining a first parameter to be moved in the current parameters to be moved of the target virtual object according to the first influence type and the first influence index;
determining a second parameter to be moved in the current parameters to be moved of the target virtual object according to the second influence type and the second influence index;
acquiring a first movement type of a first parameter to be moved and a second movement type of the second parameter to be moved, wherein the first movement type comprises at least one of a movement speed type and a movement gesture type, and the second movement type comprises at least one of a movement speed type, a movement direction type and a movement gesture type;
If the first movement type and the second movement type both comprise movement speed types, acquiring a first to-be-moved speed parameter in the first to-be-moved parameters and a second to-be-moved speed parameter in the second to-be-moved parameters;
performing weighted calculation on the first to-be-moved speed parameter and the second to-be-moved speed parameter to obtain to-be-moved speed parameters;
acquiring a to-be-moved direction parameter and a to-be-moved posture parameter in the second to-be-moved parameters;
the speed parameter to be moved, the direction parameter to be moved and the gesture parameter to be moved are collected to obtain the current parameter to be moved of the target virtual object;
or if the first movement type and the second movement type both comprise movement gesture types, acquiring a first gesture parameter to be moved in the first parameter to be moved and a second gesture parameter to be moved in the second parameter to be moved;
obtaining a to-be-moved gesture parameter set by the first to-be-moved gesture parameter and the second to-be-moved gesture parameter set;
acquiring a to-be-moved speed parameter and a to-be-moved direction parameter in the second to-be-moved parameters;
Collecting the gesture parameter set to be moved, the speed parameter to be moved and the direction parameter to be moved to obtain the current parameter to be moved of the target virtual object;
or if the first movement type and the second movement type both comprise a movement speed type and a movement gesture type, acquiring a first movement speed parameter and a first movement gesture parameter in the first movement parameter, and a second movement speed parameter and a second movement gesture parameter in the second movement parameter;
performing weighted calculation on the first to-be-moved speed parameter and the second to-be-moved speed parameter to obtain to-be-moved speed parameters;
obtaining a to-be-moved gesture parameter set by the first to-be-moved gesture parameter and the second to-be-moved gesture parameter set;
the speed parameter to be moved, the direction parameter to be moved and the gesture parameter to be moved are collected to obtain the current parameter to be moved of the target virtual object;
or if the first movement type is different from the second movement type, collecting the first parameter to be moved and the second parameter to be moved to obtain the current parameter to be moved of the target virtual object;
Moving the target virtual object according to the parameter to be moved,
wherein the first influence type comprises at least one of a movement speed influence type and a movement gesture influence type, the second influence type comprises at least one of a movement speed influence type, a movement direction influence type and a movement gesture influence type, the first parameter to be moved comprises at least one of a movement speed parameter and a movement gesture parameter, and the second parameter to be moved comprises at least one of a movement speed parameter, a movement direction parameter and the movement gesture parameter.
2. The method for moving a virtual object based on data analysis according to claim 1, wherein analyzing the set of movement influencing factors to obtain a first influencing index corresponding to the scene influencing factor and a second influencing index corresponding to the behavior influencing factor in the set of movement influencing factors comprises:
determining a first weight corresponding to the scene influence factor and a second weight corresponding to the behavior influence factor according to the game parameter influence factor;
calculating a first impact index corresponding to the scene impact factor according to the first weight, and
And calculating a second influence index corresponding to the behavior influence factor according to the second weight.
3. The method for moving a virtual object based on data analysis according to claim 2, wherein the calculating a first impact index corresponding to the scene impact factor according to the first weight includes:
acquiring a scene type in the scene influence factor;
acquiring a corresponding environment parameter value according to the scene type;
and calculating a first impact index corresponding to the scene impact factor according to the environment parameter value and the first weight.
4. A virtual object moving method based on data analysis according to claim 3, wherein said calculating a second impact index corresponding to the behavior impact factor according to the second weight includes:
acquiring a behavior influence type and a behavior influence distance corresponding to the behavior influence factor;
determining initial behavior influence parameters according to the behavior influence type;
determining a target behavior influence parameter value according to the initial behavior influence parameter and the behavior influence distance, wherein the behavior influence parameter comprises a behavior influence direction, a behavior influence position and a behavior influence intensity;
And calculating a second influence index corresponding to the behavior influence factor according to the target behavior influence parameter value and the second weight.
5. The method for moving a virtual object based on data analysis according to claim 1, wherein the moving the target virtual object according to the parameter to be moved comprises:
acquiring a current motion state of the target virtual object, wherein the current motion state comprises a moving state and a static state;
and moving the target virtual object based on the current motion state and the parameter to be moved.
6. The method for moving a virtual object based on data analysis according to claim 5, wherein the moving the target virtual object based on the current motion state and the parameter to be moved comprises:
if the current motion state of the target virtual object is a static state, acquiring preset motion parameters when a motion instruction operated by a user is received;
moving the target virtual object based on the preset movement parameter and the parameter to be moved;
if the current motion state of the target virtual object is a moving state, acquiring a reference moving parameter corresponding to the moving state;
And moving the target virtual object based on the reference movement parameter and the parameter to be moved.
7. A virtual object moving apparatus based on data analysis, comprising:
the first acquisition module is used for acquiring a movement influence factor set corresponding to a target virtual object in a game, wherein the movement influence factors comprise scene influence factors of scenes where the target virtual object is located, behavior influence factors of other virtual objects on the target virtual object and game parameter influence factors of the target virtual object;
the analysis module is used for analyzing the movement influence factor set to obtain a first influence index corresponding to the scene influence factor and a second influence index corresponding to the behavior influence factor in the movement influence factor set;
the second acquisition module is used for acquiring a first influence type corresponding to the scene influence factor and a second influence type corresponding to the behavior influence factor;
the determining module is used for determining a first parameter to be moved in the current parameters to be moved of the target virtual object according to the first influence type and the first influence index;
determining a second parameter to be moved in the current parameters to be moved of the target virtual object according to the second influence type and the second influence index;
Acquiring a first movement type of a first parameter to be moved and a second movement type of the second parameter to be moved, wherein the first movement type comprises at least one of a movement speed type and a movement gesture type, and the second movement type comprises at least one of a movement speed type, a movement direction type and a movement gesture type;
if the first movement type and the second movement type both comprise movement speed types, acquiring a first to-be-moved speed parameter in the first to-be-moved parameters and a second to-be-moved speed parameter in the second to-be-moved parameters;
performing weighted calculation on the first to-be-moved speed parameter and the second to-be-moved speed parameter to obtain to-be-moved speed parameters;
acquiring a to-be-moved direction parameter and a to-be-moved posture parameter in the second to-be-moved parameters;
the speed parameter to be moved, the direction parameter to be moved and the gesture parameter to be moved are collected to obtain the current parameter to be moved of the target virtual object;
or if the first movement type and the second movement type both comprise movement gesture types, acquiring a first gesture parameter to be moved in the first parameter to be moved and a second gesture parameter to be moved in the second parameter to be moved;
Obtaining a to-be-moved gesture parameter set by the first to-be-moved gesture parameter and the second to-be-moved gesture parameter set;
acquiring a to-be-moved speed parameter and a to-be-moved direction parameter in the second to-be-moved parameters;
collecting the gesture parameter set to be moved, the speed parameter to be moved and the direction parameter to be moved to obtain the current parameter to be moved of the target virtual object;
or if the first movement type and the second movement type both comprise a movement speed type and a movement gesture type, acquiring a first movement speed parameter and a first movement gesture parameter in the first movement parameter, and a second movement speed parameter and a second movement gesture parameter in the second movement parameter;
performing weighted calculation on the first to-be-moved speed parameter and the second to-be-moved speed parameter to obtain to-be-moved speed parameters;
obtaining a to-be-moved gesture parameter set by the first to-be-moved gesture parameter and the second to-be-moved gesture parameter set;
the speed parameter to be moved, the direction parameter to be moved and the gesture parameter to be moved are collected to obtain the current parameter to be moved of the target virtual object;
Or if the first movement type is different from the second movement type, collecting the first parameter to be moved and the second parameter to be moved to obtain the current parameter to be moved of the target virtual object;
and the moving module is used for moving the target virtual object according to the parameters to be moved, wherein the first influence type comprises at least one of a moving speed influence type and a moving gesture influence type, the second influence type comprises at least one of a moving speed influence type, a moving direction influence type and a moving gesture influence type, the first parameters to be moved comprise at least one of a moving speed parameter and a moving gesture parameter, and the second parameters to be moved comprise at least one of a moving speed parameter, a moving direction parameter and the moving gesture parameter.
CN202311100203.3A 2023-08-29 2023-08-29 Virtual object moving method and device based on data analysis Active CN116999840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311100203.3A CN116999840B (en) 2023-08-29 2023-08-29 Virtual object moving method and device based on data analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311100203.3A CN116999840B (en) 2023-08-29 2023-08-29 Virtual object moving method and device based on data analysis

Publications (2)

Publication Number Publication Date
CN116999840A CN116999840A (en) 2023-11-07
CN116999840B true CN116999840B (en) 2024-04-02

Family

ID=88571009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311100203.3A Active CN116999840B (en) 2023-08-29 2023-08-29 Virtual object moving method and device based on data analysis

Country Status (1)

Country Link
CN (1) CN116999840B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10022628B1 (en) * 2015-03-31 2018-07-17 Electronic Arts Inc. System for feature-based motion adaptation
CN108837504A (en) * 2018-06-05 2018-11-20 网易(杭州)网络有限公司 Information processing method, device, equipment and storage medium in race games
CN109107154A (en) * 2018-08-02 2019-01-01 腾讯科技(深圳)有限公司 Virtual item control method for movement, device, electronic device and storage medium
CN112044063A (en) * 2020-09-02 2020-12-08 腾讯科技(深圳)有限公司 Game object dynamic change method, device, equipment and storage medium
CN112245921A (en) * 2020-11-17 2021-01-22 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium
US11278810B1 (en) * 2021-04-01 2022-03-22 Sony Interactive Entertainment Inc. Menu placement dictated by user ability and modes of feedback
JP2022081279A (en) * 2020-11-19 2022-05-31 株式会社コーエーテクモゲームス Game program, recording medium, game processing method, and information processor
CN116531758A (en) * 2023-04-17 2023-08-04 网易(杭州)网络有限公司 Virtual character control method, virtual character control device, storage medium and electronic device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101756504B1 (en) * 2014-03-12 2017-07-11 엔에이치엔엔터테인먼트 주식회사 Game method and system for league game
CA2968587C (en) * 2016-06-10 2023-08-01 Square Enix Ltd. System and method for determining curved path of travel for a character in cover mode in a game environment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10022628B1 (en) * 2015-03-31 2018-07-17 Electronic Arts Inc. System for feature-based motion adaptation
CN108837504A (en) * 2018-06-05 2018-11-20 网易(杭州)网络有限公司 Information processing method, device, equipment and storage medium in race games
CN109107154A (en) * 2018-08-02 2019-01-01 腾讯科技(深圳)有限公司 Virtual item control method for movement, device, electronic device and storage medium
CN112044063A (en) * 2020-09-02 2020-12-08 腾讯科技(深圳)有限公司 Game object dynamic change method, device, equipment and storage medium
CN112245921A (en) * 2020-11-17 2021-01-22 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium
JP2022081279A (en) * 2020-11-19 2022-05-31 株式会社コーエーテクモゲームス Game program, recording medium, game processing method, and information processor
US11278810B1 (en) * 2021-04-01 2022-03-22 Sony Interactive Entertainment Inc. Menu placement dictated by user ability and modes of feedback
CN116531758A (en) * 2023-04-17 2023-08-04 网易(杭州)网络有限公司 Virtual character control method, virtual character control device, storage medium and electronic device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"王者荣耀:除了辅助,这6个英雄也能给队友加速,第1几乎无人知";昊天游戏风云圈;《https://baijiahao.baidu.com/s?id=1623282422348058650&wfr=spider&for=pc》;20190121;1-3 *
自主虚拟士兵攻击行为研究;赵维;谢晓方;;计算机工程与应用;20101111(第32期);第71-74页 *

Also Published As

Publication number Publication date
CN116999840A (en) 2023-11-07

Similar Documents

Publication Publication Date Title
KR102360420B1 (en) Customized models for imitating player gameplay in a video game
CN112691377B (en) Control method and device of virtual role, electronic equipment and storage medium
US11938403B2 (en) Game character behavior control method and apparatus, storage medium, and electronic device
KR20180044191A (en) Multiplayer video game matchmaking system and methods
CN105117579B (en) Object select method and apparatus
CN111282279B (en) Model training method, and object control method and device based on interactive application
KR20060025154A (en) Personalized behavior of computer controlled avatars in a virtual reality environment
US11395971B2 (en) Auto harassment monitoring system
TWI792674B (en) Method and apparatus for displaying control item, computer device, computer-readable storage medium, and computer program product
CN114602182A (en) Game information processing method and device and computer equipment
CN116999840B (en) Virtual object moving method and device based on data analysis
US20230078340A1 (en) Virtual object control method and apparatus, electronic device, storage medium, and computer program product
US20120221504A1 (en) Computer implemented intelligent agent system, method and game system
CN111558226A (en) Method, device, equipment and storage medium for detecting abnormal operation behaviors
CN114344889B (en) Game strategy model generation method and control method of intelligent agent in game
CN111265871A (en) Virtual object control method and device, equipment and storage medium
US20220365634A1 (en) Control display method and apparatus, device, medium, and program product
CN116821693B (en) Model training method and device for virtual scene, electronic equipment and storage medium
CN112933600B (en) Virtual object control method, device, computer equipment and storage medium
CN115501600B (en) Method, system, device and medium for controlling man-machine roles in game
US20220054944A1 (en) Virtual object control method and apparatus, terminal, and storage medium
Lopes et al. Towards Effectively Adapting Games: What needs to be Conquered to Achieve Adaptation
CN116999856A (en) Method, apparatus, device, medium and program product for generating agent in game
CN115337645A (en) Virtual robot action determining method, device, equipment and storage medium
CN116617666A (en) Score type behavior decision method, device and equipment for virtual object

Legal Events

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