CN108635853B - The control method and device of object, storage medium, electronic device - Google Patents

The control method and device of object, storage medium, electronic device Download PDF

Info

Publication number
CN108635853B
CN108635853B CN201810246273.2A CN201810246273A CN108635853B CN 108635853 B CN108635853 B CN 108635853B CN 201810246273 A CN201810246273 A CN 201810246273A CN 108635853 B CN108635853 B CN 108635853B
Authority
CN
China
Prior art keywords
target
obstacle
target object
point
actions
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
CN201810246273.2A
Other languages
Chinese (zh)
Other versions
CN108635853A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810246273.2A priority Critical patent/CN108635853B/en
Publication of CN108635853A publication Critical patent/CN108635853A/en
Priority to PCT/CN2019/078225 priority patent/WO2019179355A1/en
Application granted granted Critical
Publication of CN108635853B publication Critical patent/CN108635853B/en
Priority to US16/898,195 priority patent/US11648475B2/en
Priority to US18/131,308 priority patent/US20230241504A1/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
    • 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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/426Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5375Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for graphically or textually suggesting an action, e.g. by displaying an arrow indicating a turn in a driving game
    • 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
    • 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/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/303Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display
    • A63F2300/305Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display for providing a graphical or textual hint to the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/64Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/65Methods for processing data by generating or executing the game program for computing the condition of a game character

Abstract

The invention discloses a kind of control methods of object and device, storage medium, electronic device.Wherein, this method comprises: detecting the first operation triggered in the client, virtual scene is shown in client, the target object that the first operation is used to indicate in virtual scene is moved to the other side of target obstacle from the side of target obstacle;Determine the target action executed to target object, target action is determined according to the attribute of target obstacle, and target action is that target object is moved to the movement crossed type performed by the other side of target obstacle or climb type from the side of target obstacle;The movement of target object performance objective is controlled in virtual scene.The present invention solves the single technical problem of mode of operation when facing barrier in the related technology.

Description

The control method and device of object, storage medium, electronic device
Technical field
The present invention relates to internet areas, control method and device, storage medium in particular to a kind of object, Electronic device.
Background technique
With the development of multimedia technology and popularizing for wireless network, the recreation of people becomes more and more abundant, such as Single machine or internet game are played by hand held media device networked game play, by computer, type of play is varied, such as bullet Curtain shooting game, venture game, simulation, role playing game, leisure chess/card game and other game etc..
In the game of most of type, when carrying out game such as in shooting game, it may meet in game process Barrier is met, player can only be using this single mode avoiding obstacles of the barrier be bypassed at present, and this game mode operates Mode is single, reduces user experience.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of control methods of object and device, storage medium, electronic device, at least to solve The certainly single technical problem of mode of operation when facing barrier in the related technology.
According to an aspect of an embodiment of the present invention, a kind of control method of object is provided, comprising: detect in client First triggered in end operates, and virtual scene, the target pair that the first operation is used to indicate in virtual scene are shown in client The other side as being moved to target obstacle from the side of target obstacle;Determine the target action executed to target object, mesh Mark movement is determined according to the attribute of target obstacle, and target action is that target object is moved to from the side of target obstacle Type is crossed performed by the other side of target obstacle or climbs the movement of type;Target object is controlled in virtual scene Performance objective movement.
According to another aspect of an embodiment of the present invention, a kind of control device of object is additionally provided, comprising: detection unit, For detecting the trigger in the client first operation, virtual scene is shown in client, the first operation is used to indicate void Target object in quasi- scene is moved to the other side of target obstacle from the side of target obstacle;Determination unit, for true The fixed target action executed to target object, target action are to determine that target action is mesh according to the attribute of target obstacle Mark object is moved to performed by the other side of target obstacle from the side of target obstacle crosses type or climbing type Movement;Execution unit, for controlling the movement of target object performance objective in virtual scene.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, which includes storage Program, program execute above-mentioned method when running.
According to another aspect of an embodiment of the present invention, it additionally provides a kind of electronic device, including memory, processor and deposits The computer program that can be run on a memory and on a processor is stored up, processor executes above-mentioned side by computer program Method.
In embodiments of the present invention, it detects the first operation triggered in the client, shows virtual field in client Scape, the target object that the first operation is used to indicate in virtual scene are moved to the another of target obstacle from the side of target obstacle Side;Determine that the target action executed to target object, target action are determined according to the attribute of target obstacle, target is dynamic It is moved to as target object from the side of target obstacle and crosses type performed by the other side of target obstacle or climb Climb the movement of type;The movement of target object performance objective is controlled in virtual scene, in other words, the application mentions in virtual scene A variety of modes of operation to clear the jumps have been supplied, can solve the single skill of mode of operation when facing barrier in the related technology Art problem, and then reached the technical effect for enriching operation when facing barrier.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of the control method of object according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the control method of optional object according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of optional interface according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of optional interface according to an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of optional barrier according to an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of optional barrier according to an embodiment of the present invention;
Fig. 7 is a kind of schematic diagram of optional interface according to an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of optional interface according to an embodiment of the present invention;
Fig. 9 is a kind of schematic diagram of optional interface according to an embodiment of the present invention;
Figure 10 is a kind of schematic diagram of optional interface according to an embodiment of the present invention;
Figure 11 is a kind of flow chart of the control method of optional object according to an embodiment of the present invention;
Figure 12 is a kind of schematic diagram of optional barrier according to an embodiment of the present invention;
Figure 13 is a kind of schematic diagram of optional barrier according to an embodiment of the present invention;
Figure 14 is a kind of schematic diagram of the control device of optional object according to an embodiment of the present invention;And
Figure 15 is a kind of structural block diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Firstly, the part noun or term that occur during the embodiment of the present invention is described are suitable for as follows It explains:
3D game: being the tridimensional electronic game made based on three dimensional computer graphics, and including but not limited to more people exist The online network 3D game of line, the single single 3D game for carrying out game, can be based on the virtual reality trip that 3D game system is established Play system realizes there is general applicable attribute to platform, in game host platform, mobile phone games platform, the end PC gaming platform 3D game belong to 3D game.
First person shooting game FPS (First-person shooting game), first person shooting game category In a branch of action game ACT, as its name suggests, first person shooting game is exactly to be come with the subjective visual angle of player It is shot at game.
One side according to an embodiment of the present invention provides a kind of embodiment of the method for the control method of object.
Optionally, in the present embodiment, the control method of above-mentioned object can be applied to as shown in Figure 1 by server 101 and the hardware environment that is constituted of terminal 103 in.As shown in Figure 1, server 101 is attached by network with terminal 103, It can be used for providing service (such as game services, application service) in terminal or terminal for the client installed, it can be on the server Or database 105 is set independently of server, for providing data storage service for server 101, above-mentioned network includes but not Be limited to: wide area network, Metropolitan Area Network (MAN) or local area network, terminal 103 are not limited to PC, mobile phone, tablet computer etc..Fig. 2 is according to this hair A kind of flow chart of the control method of optional object of bright embodiment, as shown in Fig. 2, this method may comprise steps of:
Step S202, terminal detect the first operation triggered in the client, show virtual scene in client, the The target object (107) that one operation is used to indicate in virtual scene is moved to target disorders from the side A of target obstacle (109) The other side B of object, client can be used for operating the object in virtual scene.
Above-mentioned virtual scene is the scene for being formed with the target application of barrier, as game application, Military Simulation application, Social application etc., it is subsequent to be illustrated by taking game application as an example for the unification of description, the type of play of game application include but It is not limited to the game of barrage class, shooting game, venture game, leisure game, the online tactics competitive game of more people etc..Above-mentioned One client is the client formed after above-mentioned application is mounted in the equipment such as mobile terminal, PC.
Above-mentioned first operation can be the operation that directly triggering target object clears the jumps, such as in client to " turning over More ", the operation of " climbing " button, or the operation that triggering target object clears the jumps indirectly, " running " button, " walking about " are pressed Button, " creeping " button etc., during the advance of these operation triggerings, meeting barrier can cross automatically.
Step S204, terminal determine the target action executed to target object, and target action is according to target obstacle What attribute determined, target action is that target object is moved to performed by the other side of target obstacle from the side of target obstacle Cross type or climb type movement.
The adoptable movement to clear the jumps of target object be it is multiple, these movements adhere to two types separately, such as cross class Type or the movement for climbing type, target action are determined according to the attribute of target obstacle, in other words, target obstacle The current property value of attribute is different, then used target action then may be different.
Above-mentioned cross is Scanning Detction by barrier attribute itself, and such as setting to auxiliary judgment framework makes Movement can be crossed to reach the barrier other side by clicking skip key triggering when close to barrier by obtaining player.
Above-mentioned climbing refers to the setting by the Scanning Detction to barrier attribute itself, such as to auxiliary judgment framework, Player is enabled to trigger climbing motion by clicking climbing key when close to barrier to reach barrier upper surface, or even can To stand by climbing in barrier upper surface.
Step S206, terminal control the movement of target object performance objective in virtual scene, as shown in Figure 3.
It should be noted that being only used for indicating that control target object performs target action, until then in step S206 No to run succeeded, i.e., whether target object, which succeeds, is moved to the other side of target obstacle, this Shen from the side of target obstacle Please this is not limited.
In the above-described embodiments, it is carried out so that the control method of the object of the embodiment of the present invention is executed by terminal 103 as an example Illustrate, the present processes can also be executed by server 101, be can also be and held jointly by server 101 and terminal 103 Row.Wherein, terminal 103 execute the embodiment of the present invention object control method be also possible to by client mounted thereto Lai It executes.
S202 to step S208 through the above steps, when detecting first triggered in the client operation, according to mesh The attribute of mark barrier determines the movement executed to target object, i.e., is moved to target obstacle from the side of target obstacle Type is crossed performed by the other side or climbs the movement of type;Then target object performance objective is controlled in virtual scene Movement, in other words, the application provides a variety of modes of operation to clear the jumps in virtual scene, can solve the relevant technologies In when facing barrier the single technical problem of mode of operation, and then reached the technology of abundant operation when facing barrier Effect.
In the technical solution of the application, in 3D scene of game, role can cross and climb two kinds of behaviors, When satisfaction is crossed and climbed, using branch system (i.e. when satisfaction crosses, climbs condition simultaneously, by player's behavior and field The judgement of scape is dynamically determined the triggering system crossing or climb) selection player wants the behavior of progress, according to the state of player, The conditions such as obstacle information, auxiliary judgment body are dynamically selected and adjust the movement crossed and climbed, by objective to barrier The setting of attribute and auxiliary judgment body is, it can be achieved that reach the mesh for clearing the jumps or standing above barrier by movement , and the operation that dynamically can want triggering to player carries out judgement selection.For the ease of further appreciating that the technology of the application Embodiments herein is described in further detail below in conjunction with the step in Fig. 2 in scheme:
In the technical solution that step S202 is provided, pass through the target object in client manipulation virtual scene in player In the process, if virtual scene meet with target obstacle, and client judge target obstacle for allow crossed or In the case where climbing, display can trigger the by clicking the mark for trigger the mark of the first operation, player in the client One operation, at this point, the first operation triggered in the client can be detected in terminal, the first operation indicates virtual scene for player In target object the other side of target obstacle is moved to from the side of target obstacle.
In the embodiment that step S202 is provided, the state of barrier be can be as all objects configuration in virtual scene , in other words, if barrier is configured to allow to be crossed, then all objects in virtual scene can cross the barrier, If barrier is configured to not allow to be crossed, then all objects in virtual scene can not cross the barrier;Barrier State for the different objects in virtual scene, state is different, as the state of barrier can be according to the state of object It is different and different, for example, a certain barrier can be crossed for the object that height reaches 1.8 meters, it is on the contrary then cannot, for another example, a certain barrier Hindering object is that ability value reaches the object of some threshold value and can cross, it is on the contrary then cannot.
Optionally, whether disturbance in judgement object allows to be crossed (including cross or climb) and may include:
The first step judges the position of target object (i.e. player role) by auxiliary judgment body
An auxiliary judgment body 401 can be first preset before the object (i.e. barrier 403) for needing to cross, as shown in figure 4, Only after personage (i.e. target object) enters the auxiliary judgment body, climbing could be triggered and cross the judgement stage of system, base In this mode, all barriers that can be crossed and climb of planning can be screened, and specific aim is tested, advantage includes: the One, it is out of control and the risk of abnormal conditions occur to reduce the system, and second, the barrier for making it possible to climb and cross more adduction Reason.
Optionally, when there are special obstacle object, the additional information needed is recorded in the generic attribute of auxiliary judgment body, is used To indicate whether the barrier can be crossed or climb.
Above-mentioned auxiliary judgment body is equivalent to a target area, this region can be any around barrier 403 One region, it might even be possible to be an annular region for surrounding barrier 403.
Optionally, second step, when the condition that meets can determine whether the top of barrier after that is, target enters the auxiliary judgment body With the presence or absence of forbidding judging body 405, and if so, not triggering climbing and crossing system, there is no then allow to trigger to climb and turn over More system, which enters, further judges the stage.
Third step, is climbed and the system of crossing judges the stage.
It should be noted that third step can execute after the first step:
I.e. in the case where target object is located at the target area in virtual scene, the configuration information of barrier, mesh are obtained The distance between point and barrier in region is marked in targets threshold (such as 1 meter, 50 centimetres, 10 centimetres);In configuration information Instruction barrier permission confirms that barrier allows to be crossed or climbed in the case where being crossed perhaps climbing;In configuration information Instruction barrier confirms that barrier does not allow to be crossed or climbed in the case where not allowing to be crossed perhaps climbing.
It should be noted that third step can also execute after the first step and second step:
Being located at the top of the target area in virtual scene and barrier in target object, there is no forbid judging body In the case of, the configuration information of barrier is obtained, the distance between point and barrier in target area are in targets threshold;Matching Confidence breath instruction barrier permission confirms that barrier allows to be crossed or climbed in the case where being crossed perhaps climbing;Matching Confidence breath instruction barrier confirms that barrier does not allow to be crossed or climbed in the case where not allowing to be crossed perhaps climbing.
In the technical solution that step S204 is provided, climbing and the system of crossing judge the stage, terminal selection is to target pair As the target action of execution, target action is determined according to the attribute of target obstacle, and target action is target object from mesh The side of mark barrier is moved to the movement crossed type performed by the other side of target obstacle or climb type.
In embodiments herein, terminal is being chosen when the target action that target object executes, and at least needs to consider The attribute of target obstacle, in other words, terminal choose target action according at least to the attribute of target obstacle from set of actions, Above-mentioned attribute can be height, width, thickness etc..
In an alternative embodiment, above-mentioned terminal is selected from set of actions according at least to the attribute of target obstacle Target action is taken to can be the attribute for only considering target obstacle, for example, determining pending when its height is higher than a threshold value Type of action be climbing type, can choose default a climbing motion or random selection one climbing motion, when it When height is not higher than the threshold value, determine that pending type of action is to cross type, one for can choose default crosses movement Or movement is crossed in random selection one.
In another alternative embodiment, terminal chooses mesh according at least to the attribute of target obstacle from set of actions Mark movement can also be the attribute in other words, terminal of the attribute and target object that consider target obstacle according to target disorders The attribute of object and the attribute of target object select target action, a kind of optional embodiment packet from corresponding set of actions Include following two step:
The first step, terminal are searched and the set of actions of the attributes match of target obstacle from multiple set.
Optionally, terminal can search and the height of target obstacle and the set of actions of thickness matching from multiple set. A kind of optional embodiment is as follows:
Before the set of actions from the attributes match of lookup and target obstacle in multiple set, according to target object At least one of speed v, inertia m and direction determine target parabola.For same target, inertia mass m is basic It will not become, therefore, influence the direction that its parabolical attribute is mainly speed v and speed, such as in the identical situation of speed v, The direction of speed is different, is formed by parabola and is also not quite similar, as shown in figure 5, can according to initial velocity, inertia mass, Directional velocity determines corresponding parabola y1, y2, y3.
It should be noted that the speed v of above-mentioned acquisition can be the present speed of target object, in other words, parabola can To be calculated in real time according to speed v etc.;Above-mentioned speed v is also possible to the ideal velocity of target object (such as the maximum of setting Speed), be oriented optimal direction (the farthest direction that can jump in the case where the height h of current barrier), in Fig. 5 Target parabola y1.
After above-mentioned target parabola has been determined, the attributes match with target obstacle is being searched from multiple set Set of actions when, the thickness in and target obstacle between second point can be first obtained in target obstacle at first point, such as Fig. 6 institute Show, when target object faces the face 601 of barrier, 1: 603 starts to get over for target object using the movement for crossing type When crossing target obstacle by the point on face 601, second point 605 is target object using the movement directed overshoot for crossing type Pass through the point on the face on 601 opposite of face when barrier;
If barrier is the object of rule, first point and second point may be contour, throw as shown in figure 5, then obtaining target Thirdly the distance between x1 and the 4th point x2 L1 on object line, thirdly to have on the parabolical ascent stage of target with first point There is mutually level point, above have with second point mutually level point for the target parabolical decline stage, and target is thrown at the 4th point Object line is that target object is formed by parabola when clearing the jumps using the movement for crossing type;
Above-mentioned distance L1 is the longest distance that target object can be crossed over, at first point between second point at height h Thickness L2 no more than thirdly with the distance between the 4th point in the case where, in other words, target object can cross over the barrier When, the type that included movement is searched from multiple set is to cross the set of actions of type;First point with second point it Between thickness be greater than thirdly with the distance between the 4th point in the case where, in other words, the longest distance that target object can be crossed over The thickness that barrier cannot be reached, it is to climb the set of actions of type that the included type acted is searched from multiple set.
Second step searches the target action with the attributes match of target object from set of actions.
Optionally, when searching the target action with the attributes match of target object from set of actions, it is contemplated that, target The attributes such as speed, inertia and the direction of object, in other words, terminal can search and the speed of target object from set of actions (present speed), inertia and towards matched target action, selected target action mainly considers target action and obstacle The amplitude of angle between object, target action is different, then the efficiency using corresponding speed is then different, if target action is to walk Across going, then the influence whether current speed of target object runs succeeded to movement is smaller, if target action be on the run across Past, then just need to consider speed and the momentum of speed and towards be formed by across track (similar with Fig. 5), because This, different movement herein is associated with attributes such as the present speed of target object, inertia and directions.
Optionally, terminal is searched from set of actions can also only consider mesh with the target action of the attributes match of target object The height of the distance between object and target obstacle and target obstacle is marked, and according between target object and target obstacle Distance and the height of target obstacle target action is found from set of actions, be each movement configuration in set of actions There is one apart from section and a height section, the distance between target object and target obstacle are configuring for target action In section and the height of target obstacle is in the height section configured for target action.Fig. 7 to Figure 10 describes movement 4 kinds of optional movements in set:
For movement 1 shown in Fig. 7, use condition includes: that obstacle height is in codomain [x1, x2];Role's (i.e. mesh Mark object) apart from metope distance in the codomain [y1, y2], x1 < x2, y1 < y2.
For movement 2 shown in Fig. 8, use condition includes: height in codomain [x3, x4];Role distance metope Distance is in codomain [y3, y4], x3 < x4, y3 < y4.
Optionally, upper space size can be also detected in pivot frame before execution movement 2, satisfaction is grown in codomain [m1, m2], Width is when codomain [n1, n2] is interior, then executes, m1 < m2, n1 < n2.
For movement 3 shown in Fig. 9, use condition includes: height in codomain [x5, x6];Role distance metope away from Interior, x5 < x6, y5 < y6 from codomain [y5, y6].
For movement 4 shown in Fig. 10, use condition includes: height in codomain [x7, x8];Role distance metope Distance [y7, y8], x7 < x7, y7 < y8.
Optionally, execution movement 4 before can also in pivot frame additional detections upper space size, satisfaction grow codomain [m3, M4] in, wide in codomain [n3, n4], m3 < m4, n3 < n4.
It should be noted that above-mentioned x1 to x8, y1 to y8, m1 to m4, n1 to n4, is one with unreal engine The value of standard unit's setting of game engine;Codomain under difference movement can be uncorrelated.
Through the foregoing embodiment, terminal can obtain the attribute informations such as obstacle height, thickness, width, according to barrier Height and thickness judge whether to meet the condition crossed and climbed, qualified movement composition are selected to act if meeting Set A, then according to attributes such as the current forward speed of role, inertia and personage's directions, finishing screen is selected in set of actions A Respective action.
In branch system, can according to above and below the state of personage, inertia and camera lens towards angle (i.e. target object and face Angle between the plane of barrier), selection is crossed or is climbed, and in operation setting, default can be set click triggering and cross, Double-click the operations such as triggering climbing.
In the technical solution that step S206 is provided, terminal controls the movement of target object performance objective in virtual scene.
Optionally, in the case where barrier, which is configured as, to be allowed to be crossed, the first picture is shown on the client, first For picture for indicating that target object is cleared the jumps using target action, target action is true according to the current state of target object Fixed movement;In the case where barrier, which is configured as, not to be allowed to be crossed, the second picture, the second picture are shown on the client For indicating not allowing across barrier.
The picture for the process that first picture, i.e. expression target object are cleared the jumps using target action;Second picture, can To be prompt information, shows that semantic is the text or mark of " barrier can not be crossed " such as in picture, can also be picture Information, the movement of crossing for such as playing target object touch the picture that barrier stops immediately.Above-mentioned displaying can dynamic or quiet The displaying of state (form of single frames picture), such as the first picture or the second picture are played in the form of multiframe picture, then showing just For Dynamic Display, the first picture or the second picture are played in the form of single frames picture, then showing just is static display.
Optionally, the movement of target object performance objective is controlled in virtual scene can include: mesh is controlled in virtual scene It is to cross the movement of type, and show picture corresponding with the implementation procedure for the movement for crossing type that mark object, which executes,;Virtual Target object is controlled in scene to execute to climb the movement of type, and is shown corresponding with the climbing implementation procedure of movement of type Picture.
Optionally, it during the movement of target object performance objective is controlled in virtual scene, detects in the client Second operation of triggering;In response to the second operation detected, stop performance objective movement, such as the according to the instruction of the second operation Two operations stop climbing for instruction target object, lie prone in blocking surfaces, or are stood at the top of barrier etc..
As a kind of optional embodiment, the implementation of the application is described in detail below with reference to a specific example shown in Figure 11 Example:
Step S1102 detects player towards barrier.
Whether step S1104, disturbance in judgement object are restricted from climbing and cross, if so then execute step S1106, otherwise Return to step S1102.
Whether step S1106, disturbance in judgement object meet climbing condition, if so then execute step S1108, otherwise return to step S1102。
Whether step S1108, disturbance in judgement object completely cross condition, no to then follow the steps if so then execute step S1114 S1110。
Step S1110 selects climbing motion.
Step S1112 executes selected climbing motion.
Step S1114 starts branch system.
Step S1116 is acted according to condition selection.
Step S1118 executes selected movement.
Above-mentioned steps can be divided into following several stages:
(1) auxiliary judgment body and forbidding judge body function realization
As shown in figure 12, for barrier 1203, auxiliary judgment body 1201 can not have the trigger-type of collision for one Volume (trigger volume) triggers the volume when player's capsule body is in contact with it, and starting at this time is forbidden judging that physical examination is surveyed Module forbids judging that body detection module can generate a detection box 1207 in front of role, according to moving direction shown in Figure 12 It is moved to maximum height from the minimum altitude of role, forbids judging body 1205 if touched, return information ture does not allow Climbing is crossed, if do not detected, enters the judgement stage of system.
(2) acquisition (such as Figure 13) of height, width, thickness information
Highly: on the basis of lines Q, the virtual line P of vertical personage's direction is generated at role's minimum altitude, it is former Point O is the intersection point of P and Q, if straight line P touches collision, return information true, and dummy line P is moved up, until arriving Until who object maximum height or return information false, the mobile height of dummy line P this period is recorded, as Obstacle height h.
Width: similarly, generating another virtual line according to dummy line P in Figure 13, using as height method from a left side To right sweep length t.
Thickness: the position of online Q generates another virtual line, and origin is a bit higher than personage's center, by the void Quasi- straight line is moved along line segment P, when detecting that ray returns to steep increasing of the length appearance one greater than threshold value Y, is set as timing node 0, when detecting second steep increasing for being greater than Y, it is set as timing node 1, in timing node 0 to 1 time of time, the virtual line Mobile distance is thickness w.
(3) personage's state, inertia and barrier specific information record
Personage's state: one sequence table of setting, which records player UI trigger sequence, when needing some player status, First UI that can trigger the state is found from the table tail of sequence table, then the corresponding state of the UI is player status.
Inertia: the speed v and player's knapsack capacity of player are obtained.
Specific information record: the information is included in the class of auxiliary judgment body as attribute, is saved as a table, is returned with number Class specific information type when player triggers auxiliary judgment body, while returning to the table, and executes the corresponding processing of number in table Mode.
(4) mould of wearing of movement is handled
It is provided with return-to-zero on auxiliary judgment body, if central point is apart from return-to-zero mistake when role's triggering is crossed and climbed Far, then force role to the mobile a certain distance of return-to-zero.
Present application addresses in 3D game, player needs the smooth need for clearing the jumps and reaching above barrier It asks;It can be based on dynamics adjustment movements such as player status, obstacle information, auxiliary judgment bodies so that player experience more comfortably flows Freely;Branch system even more meets when crossing and climb at the same time, and dynamic judge that player wants cross still climbing.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing the control method of above-mentioned object The control device of object.Figure 14 is a kind of schematic diagram of the control device of optional object according to an embodiment of the present invention, is such as schemed Shown in 14, the apparatus may include: detection unit 1401, determination unit 1403 and execution unit 1405.
Detection unit 1401 shows virtual field in client for detecting the trigger in the client first operation Scape, the target object that the first operation is used to indicate in virtual scene are moved to the another of target obstacle from the side of target obstacle Side.
Determination unit 1403, for determining the target action executed to target object, target action is according to target disorders What the attribute of object determined, target action is moved to the other side institute of target obstacle for target object from the side of target obstacle The movement crossed type or climb type executed.
Execution unit 1405, for controlling the movement of target object performance objective in virtual scene.
It should be noted that the detection unit 1401 in the embodiment can be used for executing the step in the embodiment of the present application S202, the determination unit 1403 in the embodiment can be used for executing the step S204 in the embodiment of the present application, in the embodiment Execution unit 1405 can be used for executing the step S206 in the embodiment of the present application.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization.
By above-mentioned module, when detecting first triggered in the client operation, according to the attribute of target obstacle It determines the movement executed to target object, i.e., is moved to performed by the other side of target obstacle from the side of target obstacle It crosses type or climbs the movement of type;Then the movement of target object performance objective is controlled in virtual scene, in other words, this Application provides a variety of modes of operation to clear the jumps in virtual scene, can solve and is facing barrier in the related technology When the single technical problem of mode of operation, and then reached the technical effect of abundant operation when facing barrier.
Optionally, execution unit is also used to: target object is controlled in virtual scene to be executed to cross the movement of type, and Show picture corresponding with the implementation procedure for the movement for crossing type;It executes or, controlling target object in virtual scene to climb The movement of type is climbed, and shows picture corresponding with the climbing implementation procedure of movement of type.
Optionally, during detection unit can also be used to control the movement of target object performance objective in virtual scene, Detect the second operation triggered in the client;Execution unit can also be used in the second operation in response to detecting, according to the The instruction of two operations stops performance objective movement.
It is dynamic that above-mentioned determination unit can also be used to choosing target from set of actions according at least to the attribute of target obstacle Make.
Above-mentioned determination unit can also be used to be moved according to the attribute of target obstacle and the attribute of target object from corresponding Work selects target action in gathering.
Optionally, above-mentioned determination unit can include: the first searching module hinders for searching from multiple set with target Hinder the set of actions of the attributes match of object;Second searching module, for searching the attribute with target object from set of actions The target action matched.
The first above-mentioned searching module can also be used to search the height and thickness with target obstacle from multiple set The set of actions matched.
Optionally, the first above-mentioned searching module can include:
First acquisition submodule, for obtaining in target obstacle the thickness in and target obstacle between second point at first point Degree, wherein first point of point passed through when starting to cross target obstacle using the movement for crossing type by target object, second The point that point passes through when using the movement directed overshoot barrier for crossing type by target object;
Second acquisition submodule, for obtain on target parabola thirdly with the distance between the 4th point, wherein third Point is to have mutually level point on the parabolical ascent stage of target with first point, and the 4th point is the parabolical lower depression of order of target Duan Shangyu second point has mutually level point, and target parabola is target object using the movement throwing over barrier for crossing type When be formed by parabola;
First searches submodule, for first point between second point thickness no more than thirdly between the 4th point In the case where distance, the type that included movement is searched from multiple set is to cross the set of actions of type;
Second search submodule, for first point between second point thickness be greater than thirdly between the 4th point away from From in the case where, it is to climb the set of actions of type that the included type acted is searched from multiple set.
Optionally, the first above-mentioned searching module can include: first determines submodule, for searching from multiple set Before the set of actions of the attributes match of target obstacle, according to the speed of target object, inertia and towards at least One of determine target parabola.
Above-mentioned second searching module can also be used to search speed, inertia and the direction with target object from set of actions Matched target action.
Optionally, above-mentioned second searching module can include: second determines submodule, for determining that target object and target hinder Hinder the height of the distance between object He target obstacle;Third searches submodule, for according to target object and target obstacle The distance between and the height of target obstacle target action is found from set of actions, wherein be every in set of actions A movement is configured with one apart from section and a height section, and the distance between target object and target obstacle are for target Movement configuration in section and the height of target obstacle is in the height section configured for target action.
The device of the application may also include that display unit, for being to allow to be crossed or climbed in target obstacle In the case of, display is for triggering the mark of the first operation in the client.
Optionally, display unit can include: obtain module, the target area for being located in virtual scene in target object In the case where, obtain the configuration information of barrier, wherein the distance between point and barrier in target area are in targets threshold It is interior;First confirmation module, for confirming barrier in the case where configuration information instruction barrier permission is crossed or climbed Permission is crossed or is climbed;Second confirmation module, for not allowing to be crossed or climbed in configuration information instruction barrier In the case where, confirmation barrier does not allow to be crossed or climbed.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization, wherein hardware environment includes network Environment.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing the control method of above-mentioned object Server or terminal.
Figure 15 is a kind of structural block diagram of terminal according to an embodiment of the present invention, and as shown in figure 15, which may include: One or more (one is only shown in Figure 15) processors 1501, memory 1503 and (such as above-mentioned implementation of transmitting device 1505 Sending device in example), as shown in figure 15, which can also include input-output equipment 1507.
Wherein, memory 1503 can be used for storing software program and module, such as the control of the object in the embodiment of the present invention Corresponding program instruction/the module of method and apparatus processed, the software journey that processor 1501 is stored in memory 1503 by operation Sequence and module realize the control method of above-mentioned object thereby executing various function application and data processing.Memory 1503 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 1503 can further comprise relative to processing The remotely located memory of device 1501, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 1505 is used to that data to be received or sent via network, can be also used for processor with Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example, Transmitting device 1505 includes a network adapter (Network Interface Controller, NIC), can pass through cable It is connected with other network equipments with router so as to be communicated with internet or local area network.In an example, transmission dress 1505 are set as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 1503 is for storing application program.
The application program that processor 1501 can call memory 1503 to store by transmitting device 1505, it is following to execute Step:
Detect the first operation triggered in the client, wherein virtual scene is shown in client, the first operation is used Target object in instruction virtual scene is moved to the other side of target obstacle from the side of target obstacle;
Determine the target action executed to target object, wherein target action is determined according to the attribute of target obstacle , target action is moved to performed by the other side of target obstacle from the side of target obstacle for target object and crosses class Type or the movement for climbing type;
The movement of target object performance objective is controlled in virtual scene.
Processor 1501 is also used to execute following step:
Obtain the thickness in target obstacle in and target obstacle between second point at first point, wherein be mesh at first point The point that mark object is passed through when starting to cross target obstacle using the movement for crossing type, second point are used for target object and are turned over More the movement directed overshoot barrier of type when the point that is passed through;
Obtain target parabola on thirdly with the distance between the 4th point, wherein thirdly for target it is parabolical on The stage of liter above has mutually level point with first point, and the 4th point above has phase with second point for the target parabolical decline stage Level, target parabola is that target object is formed by parabola when using the movement throwing over barrier for crossing type;
First point between second point thickness no more than thirdly between the 4th point at a distance from the case where, from multiple The type that included movement is searched in set is to cross the set of actions of type;
First point between second point thickness be greater than thirdly between the 4th point at a distance from the case where, from multiple collection It is to climb the set of actions of type that the included type acted is searched in conjunction.
Using the embodiment of the present invention, detects the first operation triggered in the client, show virtual field in client Scape, the target object that the first operation is used to indicate in virtual scene are moved to the another of target obstacle from the side of target obstacle Side;Determine that the target action executed to target object, target action are determined according to the attribute of target obstacle, target is dynamic It is moved to as target object from the side of target obstacle and crosses type performed by the other side of target obstacle or climb Climb the movement of type;The movement of target object performance objective is controlled in virtual scene, in other words, the application mentions in virtual scene A variety of modes of operation to clear the jumps have been supplied, can solve the single skill of mode of operation when facing barrier in the related technology Art problem, and then reached the technical effect for enriching operation when facing barrier.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment, the present embodiment Details are not described herein.
It will appreciated by the skilled person that structure shown in figure 15 is only to illustrate, terminal can be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal devices such as PAD.Figure 15 it does not cause to limit to the structure of above-mentioned electronic device.For example, terminal is also May include than shown in Figure 15 more perhaps less component (such as network interface, display device) or have and Figure 15 institute Show different configurations.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With the program code of the control method for executing object.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in network shown in above-described embodiment On at least one network equipment in the network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S11 detects the first operation triggered in the client, wherein virtual scene, the first behaviour are shown in client The target object acted in instruction virtual scene is moved to the other side of target obstacle from the side of target obstacle;
S12 determines the target action executed to target object, wherein target action is the attribute according to target obstacle Determining, target action is moved to performed by the other side of target obstacle from the side of target obstacle for target object and turns over The more movement of type or climbing type;
S13 controls the movement of target object performance objective in virtual scene.
Optionally, storage medium is also configured to store the program code for executing following steps:
S21 obtains the thickness in target obstacle in and target obstacle between second point at first point, wherein at first point The point passed through when starting to cross target obstacle using the movement for crossing type by target object, second point are adopted for target object The point passed through when with the movement directed overshoot barrier for crossing type;
S22, obtain target parabola on thirdly with the distance between the 4th point, wherein be thirdly target parabola Ascent stage on first point there is mutually level point, the 4th point is the target parabolical decline stage is upper and second point tool There is mutually level point, target parabola is that target object is formed by parabolic when using the movement throwing over barrier for crossing type Line;
S23, first point between second point thickness no more than thirdly between the 4th point at a distance from the case where, from The type that included movement is searched in multiple set is to cross the set of actions of type;
S24, first point between second point thickness be greater than thirdly between the 4th point at a distance from the case where, from more It is to climb the set of actions of type that the included type acted is searched in a set.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment, the present embodiment Details are not described herein.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (13)

1. a kind of control method of object characterized by comprising
Detect the first operation triggered in the client, wherein virtual scene, first behaviour are shown in the client It acts on and indicates that the target object in the virtual scene is moved to the another of the target obstacle from the side of target obstacle Side;
Determine the target action executed to the target object, wherein the target action is according to the target obstacle What attribute determined, the target action is moved to the target disorders from the side of the target obstacle for the target object Type is crossed performed by the other side of object or climbs the movement of type;
The target object is controlled in the virtual scene executes the target action;
Wherein it is determined that including: according to the attribute of the target obstacle and described to the target action that the target object executes The attribute of target object selects the target action from the corresponding set of actions;
It is selected from the corresponding set of actions according to the attribute of the attribute of the target obstacle and the target object The target action includes: the set of actions searched from multiple set with the attributes match of the target obstacle;From The target action with the attributes match of the target object is searched in the set of actions.
2. the method according to claim 1, wherein detecting the first operation triggered in the client Before, the method also includes:
In the case where the target obstacle, which is, to be allowed to be crossed or climbed, display is for triggering in the client State the mark of the first operation.
3. being executed the method according to claim 1, wherein controlling the target object in the virtual scene The target action includes:
The target object is controlled in the virtual scene and executes the movement for crossing type for described in, and is shown and crossed with described The corresponding picture of the implementation procedure of the movement of type;Or, it is described for controlling the target object execution in the virtual scene The movement of type is climbed, and shows picture corresponding with the climbing implementation procedure of movement of type.
4. being executed the method according to claim 1, wherein controlling the target object in the virtual scene During the target action, the method also includes:
Detect the second operation triggered in the client;
In response to second operation detected, stop executing the target action according to the instruction of second operation.
5. the method according to claim 1, wherein searching the category with the target obstacle from multiple set The matched set of actions of property includes:
It is searched and the height of the target obstacle and the set of actions of thickness matching from the multiple set.
6. the method according to claim 1, wherein searching the category with the target obstacle from multiple set The matched set of actions of property includes:
Obtain in the target obstacle thickness in and the target obstacle between second point at first point, wherein described The point that some movement that type is crossed described in target object use is passed through when starting to cross the target obstacle, institute State second point by the target object use described in cross the point passed through when the target obstacle is crossed in the movement of type;
Obtain target parabola on thirdly with the distance between the 4th point, wherein it is described thirdly be the target parabola Ascent stage on described first point have mutually level point, described 4th point be the target parabolical decline stage Upper to have mutually level point with the second point, the target parabola is to cross type described in the target object uses Parabola is formed by when acting throwing over barrier;
Described first point between the second point thickness no more than it is described thirdly between described 4th point at a distance from In the case of, the type that included movement is searched from the multiple set is the set of actions for crossing type;
Described first point between the second point thickness be greater than it is described thirdly between described 4th point at a distance from feelings Under condition, the type that included movement is searched from the multiple set is the set of actions of the climbing type.
7. according to the method described in claim 6, it is characterized in that, being searched from multiple set and the target obstacle Before the set of actions of attributes match, the method also includes:
The target parabola is determined according at least one of the speed of the target object, inertia and direction.
8. the method according to claim 1, wherein being searched from the set of actions and the target object The target action of attributes match includes:
It is searched from the set of actions with the speed of the target object, inertia and towards the matched target action.
9. the method according to claim 1, wherein being searched from the set of actions and the target object The target action of attributes match includes:
Determine the height of the distance between the target object and the target obstacle and the target obstacle;
It is moved according to the height of the distance between the target object and the target obstacle and the target obstacle from described Work finds the target action in gathering, wherein for each movement in the set of actions configured with one apart from section With a height section, the distance between the target object and the target obstacle for the target action configure away from From in section and the height of the target obstacle is in the height section configured for the target action.
10. according to the method described in claim 9, it is characterized in that, confirming whether the barrier allows to be crossed or climbed It climbs and includes:
In the case where the target object is located at the target area in the virtual scene, obtain the barrier matches confidence Breath, wherein the distance between point and the barrier in the target area are in targets threshold;
In the case where the configuration information indicates that the barrier permission is crossed or climbed, confirm that the barrier allows It is crossed or is climbed;
In the case where the configuration information indicates that the barrier does not allow to be crossed or climbed, the barrier is confirmed not Permission is crossed or is climbed.
11. a kind of control device of object characterized by comprising
Detection unit, for detecting the trigger in the client first operation, wherein show virtual field in the client Scape, the target object that first operation is used to indicate in the virtual scene are moved to the mesh from the side of target obstacle Mark the other side of barrier;
Determination unit, for determining the target action executed to the target object, wherein the target action is according to What the attribute of target obstacle determined, the target action is that the target object is moved to from the side of the target obstacle Type is crossed performed by the other side of the target obstacle or climbs the movement of type;
Execution unit executes the target action for controlling the target object in the virtual scene;
Wherein, the determination unit is also used to according to the attribute of the attribute of the target obstacle and the target object from corresponding The set of actions in select the target action;
Wherein, the determination unit includes: the first searching module, for searching from multiple set and the target obstacle The set of actions of attributes match;Second searching module, for being searched from the set of actions and the target object The target action of attributes match.
12. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run Execute method described in 1 to 10 any one of the claims.
13. a kind of electronic device, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program, which is characterized in that the processor executes the claims 1 to 10 by the computer program Method described in one.
CN201810246273.2A 2018-03-23 2018-03-23 The control method and device of object, storage medium, electronic device Active CN108635853B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201810246273.2A CN108635853B (en) 2018-03-23 2018-03-23 The control method and device of object, storage medium, electronic device
PCT/CN2019/078225 WO2019179355A1 (en) 2018-03-23 2019-03-15 Object control method, device, storage medium and electronic device
US16/898,195 US11648475B2 (en) 2018-03-23 2020-06-10 Object control method and device, storage medium, and electronic device
US18/131,308 US20230241504A1 (en) 2018-03-23 2023-04-05 Object control method and device, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810246273.2A CN108635853B (en) 2018-03-23 2018-03-23 The control method and device of object, storage medium, electronic device

Publications (2)

Publication Number Publication Date
CN108635853A CN108635853A (en) 2018-10-12
CN108635853B true CN108635853B (en) 2019-06-21

Family

ID=63744425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810246273.2A Active CN108635853B (en) 2018-03-23 2018-03-23 The control method and device of object, storage medium, electronic device

Country Status (3)

Country Link
US (2) US11648475B2 (en)
CN (1) CN108635853B (en)
WO (1) WO2019179355A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108635853B (en) 2018-03-23 2019-06-21 腾讯科技(深圳)有限公司 The control method and device of object, storage medium, electronic device
CN109999497B (en) * 2019-04-30 2021-01-15 腾讯科技(深圳)有限公司 Control method and device of virtual object, storage medium and electronic device
CN110665230B (en) * 2019-09-26 2020-11-13 腾讯科技(深圳)有限公司 Virtual role control method, device, equipment and medium in virtual world
CN110681156B (en) * 2019-10-10 2021-10-29 腾讯科技(深圳)有限公司 Virtual role control method, device, equipment and storage medium in virtual world
CN111068324B (en) * 2019-11-26 2022-05-17 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium
CN111265856A (en) * 2020-01-17 2020-06-12 腾讯科技(深圳)有限公司 Control method and device of virtual operation object, storage medium and electronic device
CN111330272B (en) * 2020-02-14 2021-12-31 腾讯科技(深圳)有限公司 Virtual object control method, device, terminal and storage medium
CN111318020B (en) * 2020-03-03 2022-05-17 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium
CN111389005B (en) * 2020-03-09 2021-10-26 腾讯科技(深圳)有限公司 Virtual object control method, device, equipment and storage medium
CN111589137B (en) * 2020-04-29 2021-12-10 腾讯科技(深圳)有限公司 Control method, device, equipment and medium of virtual role
CN111729311A (en) * 2020-06-22 2020-10-02 苏州幻塔网络科技有限公司 Climbing jump method and device, computer equipment and computer readable storage medium
CN111714891B (en) * 2020-06-22 2021-05-11 苏州幻塔网络科技有限公司 Role climbing method and device, computer equipment and readable storage medium
CN112073471B (en) * 2020-08-17 2023-07-21 青岛海尔科技有限公司 Control method and device of equipment, storage medium and electronic device
CN112221147B (en) * 2020-10-15 2024-03-22 网易(杭州)网络有限公司 Obstacle avoidance method in game scene, electronic equipment and machine-readable storage medium
CN112807690A (en) * 2021-01-27 2021-05-18 网易(杭州)网络有限公司 Control method and device for virtual object
CN113304473A (en) * 2021-05-26 2021-08-27 网易(杭州)网络有限公司 Obstacle creating method, device, equipment and medium
CN113448667B (en) * 2021-06-09 2023-08-01 绿盟科技集团股份有限公司 Method and device for generating display relationship diagram

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201266A (en) * 2016-07-06 2016-12-07 广东小天才科技有限公司 Control method that a kind of virtual role moves and device, electronic equipment

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3111174B2 (en) * 1997-11-20 2000-11-20 コナミ株式会社 VIDEO GAME DEVICE, CHARACTER OPERATION INSTRUCTION METHOD IN VIDEO GAME, AND RECORDING MEDIUM RECORDING CHARACTER OPERATION INSTRUCTION PROGRAM
US6712703B2 (en) * 1998-11-19 2004-03-30 Nintendo Co., Ltd. Video game apparatus and information storage medium for video game
JP4233065B2 (en) * 1999-02-16 2009-03-04 株式会社バンダイナムコゲームス GAME DEVICE AND INFORMATION STORAGE MEDIUM
JP2002200333A (en) * 2000-11-01 2002-07-16 Sony Computer Entertainment Inc Recording medium, program, program execution system and program execution device
US20050071306A1 (en) * 2003-02-05 2005-03-31 Paul Kruszewski Method and system for on-screen animation of digital objects or characters
JP4765324B2 (en) * 2004-03-31 2011-09-07 株式会社セガ Game information processing apparatus and game control program
JP3770499B1 (en) * 2004-11-02 2006-04-26 任天堂株式会社 GAME DEVICE AND GAME PROGRAM
JP4125760B2 (en) * 2006-03-15 2008-07-30 株式会社スクウェア・エニックス Video game processing apparatus, video game processing method, and video game processing program
US8882590B2 (en) * 2006-04-28 2014-11-11 Nintendo Co., Ltd. Touch-controlled game character motion providing dynamically-positioned virtual control pad
US8823733B2 (en) * 2006-05-04 2014-09-02 Nintendo Co., Ltd. Enhanced virtual suction tool
JP4545809B2 (en) * 2008-06-05 2010-09-15 株式会社スクウェア・エニックス GAME DEVICE AND PROGRAM
JP5777332B2 (en) * 2010-12-21 2015-09-09 任天堂株式会社 GAME DEVICE, GAME PROGRAM, GAME SYSTEM, AND GAME METHOD
CN102693362B (en) * 2012-05-08 2016-05-18 北京像素软件科技股份有限公司 A kind of game role skip philosophy and device adapting with landform
JP6263917B2 (en) * 2013-09-17 2018-01-24 ソニー株式会社 Information processing apparatus, information processing method, and computer program
US8979652B1 (en) * 2014-03-27 2015-03-17 TECHLAND Sp. z o. o Natural movement in a virtual environment
KR101606074B1 (en) * 2015-03-23 2016-04-01 김진영 Apparatus and method for providing timing game based on touch
US10335686B2 (en) * 2015-06-30 2019-07-02 Gree, Inc. Program, control method, and information processing apparatus
CN105521603B (en) * 2015-12-11 2019-05-31 北京奇虎科技有限公司 The method, apparatus and system of virtual input control are carried out for the game of cool run class
US10500488B2 (en) * 2016-03-30 2019-12-10 Bloober Team S.A. Method of simultaneous playing in single-player video games
WO2018042467A1 (en) * 2016-08-31 2018-03-08 任天堂株式会社 Game program, game processing method, game system, and game device
JP6543345B2 (en) * 2016-08-31 2019-07-10 任天堂株式会社 GAME PROGRAM, GAME PROCESSING METHOD, GAME SYSTEM, AND GAME DEVICE
JP6114460B1 (en) * 2016-12-06 2017-04-12 任天堂株式会社 GAME SYSTEM, GAME PROCESSING METHOD, GAME PROGRAM, AND GAME DEVICE
US20180318705A1 (en) * 2017-05-04 2018-11-08 Roblox Corporation Touch-Screen Based Game Controller
CN108635853B (en) * 2018-03-23 2019-06-21 腾讯科技(深圳)有限公司 The control method and device of object, storage medium, electronic device
US11045735B2 (en) * 2018-09-14 2021-06-29 Bandai Namco Entertainment Inc. Computer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201266A (en) * 2016-07-06 2016-12-07 广东小天才科技有限公司 Control method that a kind of virtual role moves and device, electronic equipment

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
【流言终结者】第6期:《全军出击》中有攀爬功能吗?;上海综皇文化;《哔哩哔哩》;20180309;整个视频
全军出击和刺激战场哪个好_腾讯两款绝地求生手游对比评测;闪电侠;《APK8》;20180211;第1-4页
刺激战场很多人不知道的攀爬技巧 可以爬到别人到不了的地方;鸡动9组;《百度》;20180312;第1-3页
绝地求生刺激战场新手基础操作图详情介绍;pq;《清风手游网》;20180209;第1页
速报|《绝地求生 全军出击》爆料:加新载具 攀爬系统;1862游戏;《搜狐网》;20180310;第1-4页

Also Published As

Publication number Publication date
US20200298119A1 (en) 2020-09-24
US11648475B2 (en) 2023-05-16
US20230241504A1 (en) 2023-08-03
CN108635853A (en) 2018-10-12
WO2019179355A1 (en) 2019-09-26

Similar Documents

Publication Publication Date Title
CN108635853B (en) The control method and device of object, storage medium, electronic device
US11806623B2 (en) Apparatus for adapting virtual gaming with real world information
EP3266507B1 (en) Location-based experience with interactive merchandise
CN108211358A (en) The display methods and device of information, storage medium, electronic device
CN108310765A (en) The display methods and device of image, storage medium, electronic device
JP6509955B2 (en) INFORMATION PROCESSING METHOD, PROGRAM, AND INFORMATION PROCESSING DEVICE
CN112569607B (en) Display method, device, equipment and medium for pre-purchased prop
US20220305384A1 (en) Data processing method in virtual scene, device, storage medium, and program product
CN114080259A (en) Program, method, and information terminal device
JP7226946B2 (en) Programs, computer systems and game devices
US11471769B2 (en) Game system, storage medium for use therewith, and control method
JP6829364B2 (en) Game system and computer programs used for it
CN114007706A (en) Game program, game method, and terminal device
CN106861192A (en) Event execution method and device
JP2023528135A (en) VIRTUAL OBJECT CONTROL METHOD AND DEVICE, COMPUTER DEVICE AND PROGRAM
JP7121609B2 (en) Program and computer system
CN114007707A (en) Game program, game method, and information terminal device
CN114302762A (en) Program, method, and information processing terminal
CN114080260A (en) Game program, game method, and information terminal device
JP2019098163A (en) Game program, method, and information processor
KR102290406B1 (en) Fps game system for controlling squad
JP7440401B2 (en) Game program, game method, and information terminal device
JP7130506B2 (en) Program and computer system
JP2019093163A (en) Information processing method, program, and computer
JP2019103815A (en) Game program, method and information processing apparatus

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