CN108786108A - Target object control method, device, storage medium and equipment - Google Patents

Target object control method, device, storage medium and equipment Download PDF

Info

Publication number
CN108786108A
CN108786108A CN201810595628.9A CN201810595628A CN108786108A CN 108786108 A CN108786108 A CN 108786108A CN 201810595628 A CN201810595628 A CN 201810595628A CN 108786108 A CN108786108 A CN 108786108A
Authority
CN
China
Prior art keywords
target object
manipulation
movement
track
terminal
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.)
Granted
Application number
CN201810595628.9A
Other languages
Chinese (zh)
Other versions
CN108786108B (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 CN201810595628.9A priority Critical patent/CN108786108B/en
Publication of CN108786108A publication Critical patent/CN108786108A/en
Application granted granted Critical
Publication of CN108786108B publication Critical patent/CN108786108B/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/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • A63F13/355Performing operations on behalf of clients with restricted processing capabilities, e.g. servers transform changing game scene into an encoded video stream for transmitting to a mobile phone or a thin client
    • 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/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • A63F13/573Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game using trajectories of game objects, e.g. of a golf ball according to the point of impact
    • 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/50Features 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 details of game servers
    • A63F2300/53Features 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 details of game servers details of basic data processing
    • A63F2300/538Features 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 details of game servers details of basic data processing for performing operations on behalf of the game client, e.g. rendering
    • 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
    • A63F2300/646Methods 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 for calculating the trajectory of an object

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of target object control method, device, storage medium and equipment, belong to Internet technical field.The method includes:After beginning, the first movement track of target object that server issues is received, first movement track is server after the first manipulation object of target object and attacker collides, and is got according to mobile data of the target object after colliding;Receive the traveling time parameter with first movement path matching that server issues;Based on first movement track and traveling time parameter, control targe object moves on display interface;Wherein, first movement track includes each position that target object passes through at the end of after colliding to this bout.Motion track is handed down to terminal by the present invention in advance, and the display effect of terminal is can ensure that in the case where network is poor, be not in caused by the control to target object is out-of-sequence interface it is not smooth enough, the problem of poor display effect.

Description

Target object control method, device, storage medium and equipment
Technical field
The present invention relates to Internet technical field, more particularly to a kind of target object control method, device, storage medium and Equipment.
Background technology
At present online game has become a kind of common amusement and leisure mode, and user stays indoors can be by the exhibition of terminal institute Existing interface experiences the enjoyment of game.Wherein, the wide variety of online game, for example, batting game be at present by The favorite a online game of user.Batting game is similar to soldier's pang ball and moves in form, and the user for participating in game can be configured with One ball plate for batting.Wherein, ball is also referred to as target object herein, and ball plate also referred to as manipulates object.Game In the process, if after the attacker to lead off an attack hits ball, the defender for executing defence fails to intercept ball by ball plate, then into Offense wins.
By taking the man-machine game mode that single user participates in as an example, the relevant technologies can be according to following sides to the control of target object Formula:After beginning, if user A is currently attacker, after user A is hit ball by ball plate, server can obtain in real time The motion track of ball, and the motion track got is issued to the terminal of user A in real time, and the terminal is receiving movement It behind track, is moved on interface further according to the motion track control ball, to complete interface rendering.
For above-mentioned control mode, under conditions of network is poor, motion track possibly that server is got can not be real When be sent to terminal, for terminal, due to being not received by the motion track of server real time down, can go out The out-of-sequence situation of the now control to target object, and then cause interface not smooth enough, poor display effect.
Invention content
An embodiment of the present invention provides a kind of target object control method, device, storage medium and equipment, solve correlation The problem of interface existing for technology is not smooth enough, poor display effect.The technical solution is as follows:
On the one hand, a kind of target object control method is provided, terminal is applied to, the method includes:
After beginning, the first movement track for the target object that server issues is received, the first movement track is institute Server is stated after the first manipulation object of the target object and attacker collides, is being occurred according to the target object What the mobile data after collision was got;
Receive the traveling time parameter with the first movement path matching that the server issues;
Based on the first movement track and the traveling time parameter, the target object is controlled on display interface It is mobile;
Wherein, the first movement track includes that the target object passes through at the end of after colliding to this bout Each position.
On the other hand, a kind of target object control method is provided, server is applied to, the method includes:
After beginning, when the first manipulation object of target object and attacker collides, the target object is obtained Mobile data after colliding;
The first movement track of the target object is obtained according to the mobile data, the first movement track includes institute State each position that target object passes through at the end of after colliding to this bout;
It is sent to terminal by the first movement track and with the traveling time parameter of the first movement path matching, So that the terminal is based on the first movement track and the traveling time parameter, the target object is controlled on display circle It is moved on face.
On the other hand, a kind of target object control device is provided, terminal is applied to, described device includes:
First receiving module, it is described for after beginning, receiving the first movement track for the target object that server issues First movement track is the server after the first manipulation object of the target object and attacker collides, according to institute State what mobile data of the target object after colliding was got;
Second receiving module, the traveling time with the first movement path matching issued for receiving the server Parameter;
Control module controls the target pair for being based on the first movement track and the traveling time parameter As being moved on display interface;
Wherein, the first movement track includes that the target object passes through at the end of after colliding to this bout Each position.
On the other hand, a kind of target object control device is provided, server is applied to, described device includes:
First acquisition module is used for after beginning, when the first manipulation object of target object and attacker collides, Obtain mobile data of the target object after colliding;
Second acquisition module, the first movement track for obtaining the target object according to the mobile data are described First movement track includes each position that the target object passes through at the end of after colliding to this bout;
Sending module, for joining by the first movement track and with the traveling time of the first movement path matching Number is sent to terminal, so that the terminal is based on the first movement track and the traveling time parameter, controls the mesh Mark object moves on display interface.
On the other hand, provide a kind of storage medium, be stored at least one instruction in the storage medium, it is described at least One instruction is loaded by processor and is executed to realize the target object control method of above-mentioned terminal, or, above-mentioned server executes Target object control method.
On the other hand, a kind of equipment for control targe object is provided, the equipment includes processor and memory, At least one instruction is stored in the memory, at least one instruction is loaded by the processor and executed in realization The target object control method of terminal is stated, or, the target object control method that above-mentioned server executes.
It is struck away in a flash by attacker by manipulating object in target object, server is being hit based on target object Mobile data when getting out can obtain corresponding motion track and be handed down to terminal, without server in real time by target pair As current trace information is synchronized to terminal, due to the motion track got include target object after impact is gone out to this time The each position passed through at the end of conjunction may be based on the trace information got to control accordingly even when in the case of vulnerable network Target object processed not only ensures the display effect of terminal, is not in be swum caused by the control to target object is out-of-sequence The problem of play interface is not smooth enough, poor display effect, and the frequent communication due to reducing terminal and server, drop significantly The low pressure of server.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is the implementation environment schematic diagram involved by target object control method provided in an embodiment of the present invention;
Fig. 2 is a kind of target object control method flow chart provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of the motion track of the first target object provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of the motion track of second of target object provided in an embodiment of the present invention;
Fig. 5 is the schematic diagram of the motion track of the third target object provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of the motion track of the 4th kind of target object provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram of the motion track of the 5th kind of target object provided in an embodiment of the present invention;
Fig. 8 is a kind of target object control method flow chart provided in an embodiment of the present invention;
Fig. 9 is a kind of target object control method flow chart provided in an embodiment of the present invention;
Figure 10 is the schematic diagram of the motion track of the 6th kind of target object provided in an embodiment of the present invention;
Figure 11 is a kind of structural schematic diagram of target object control device provided in an embodiment of the present invention;
Figure 12 is a kind of structural schematic diagram of target object control device provided in an embodiment of the present invention;
Figure 13 is a kind of structural schematic diagram of equipment for control targe object provided in an embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of equipment for control targe object provided in an embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Before to the embodiment of the present invention carrying out that explanation is explained in detail, first to the present embodiments relate to some names Word is explained.
Player:It is referred to as user in embodiments of the present invention.
Wherein, player is alternatively referred to as player, is the term between a kind of trade game and participant in game.Broadly It says, player refers to the user for playing game, that is, participates in the people of any form game.
In addition, player can also be divided into attacker and defender, for example, for batting is played, attacker passes through service Realize attack, and defender completes to defend by receiving.It should be noted that player can within the different periods Identity is toggled between attack and defense.
It sums up, player is experiencer, user, estimator and the consumer of game.According to the difference of personality and hobby Different, the favorite type of play of different players is also different.
Target object:The object that attacker is used to lead off an attack is referred in embodiments of the present invention.For example, playing in batting Middle ball is target object.
Wherein, the form of expression of target object is various, such as can be several for cartoon character, cartoon animals image, solid What image etc., the embodiment of the present invention is to this without specifically limiting.
Manipulate object:Object and attacker of the defender for interception target object are referred in embodiments of the present invention Object for striking target object.For example, ball plate is to manipulate object in batting is played.
Wherein, the form of expression for manipulating object is various, for example can be any form of with impact or interception target object The object of ability, such as solid geometry image, the embodiment of the present invention is to this equally without specifically limiting.In the embodiment of the present invention In, the manipulation object of attacker can be referred to as the first manipulation object, the manipulation object of defender is referred to as the second manipulation pair As.
It should be noted that the embodiment of the present invention is applicable to man-machine mode game, two-player mode's game etc., for double Mode game, attacker and defender are made of player, and attacker is also referred to as attack user at this time, and defender also may be used Referred to as defend user;For man-machine mode game, attacker and defender are related to player and machine.
Bout:In embodiments of the present invention, attacker initiates an attack, and defender is primary to current attack defence to be claimed Be one bout.
By taking batting is played as an example, after hitting ball, defender carries out primary defence to this service and is attacker One bout.If in the bout, defender intercepts ball, then attacking and defending role changes in next bout, i.e., currently The attacker of bout needs to intercept the ball of rebound back in next bout;If in the bout, defender does not intercept To ball, then attacking and defending role does not still change in next bout, is still served a ball by the attacker of current pass.
Frame set:In embodiments of the present invention, the motion track of target object is specifically by server with the shape of frame set Formula is handed down to the terminal for participating in game.That is, the motion track information of target object carries in frame set.It is wrapped in one frame set Include multiframe.
Stage property:It refers in gaming and provides convenient virtual objects to player.By taking batting is played as an example, ball is in moving process Middle player can collect the stage property being arranged in game, these stage properties can assist the player to play.
The implementation environment being related to below to target object control method provided in an embodiment of the present invention is introduced.
Fig. 1 shows the implementation environment that target object control method provided in an embodiment of the present invention is related to.It, should referring to Fig. 1 Implementation environment includes:Terminal 101 and server 102.
Wherein, terminal 101 is responsible for display logic, for showing boundary based on the motion track control targe object received It is moved on face, i.e., terminal 101 is responsible for carrying out display interface rendering.In addition, terminal also is responsible for being triggered to server sync player Operation.
It should be noted that the type of terminal 101 includes but not limited to smart mobile phone, tablet computer, laptop, platform Formula computer etc., the embodiment of the present invention is to this without specifically limiting.
Server 102 is responsible for calculating logic, the motion track of the target object for obtaining player's control, and will get Motion track be issued to terminal 101.
In another embodiment, by taking batting is played as an example, player carries out HTML (HyperText Markup online Language, HyperText Markup Language) game when, generally use TCP (Transmission Control Protocol, pass Transport control protocol is discussed) it is communicated, so that current motion track of the server to terminal transmission ball.Distinguishingly, in vulnerable network situation Under, the motion track that server is got in real time tends not to be sent in real time to terminal, this will visually cause ball Phenomena such as delay and sudden strain of a muscle move.
As an example it is assumed that ball passed through location point 1-2-3-4 successively in 3 second time domestic demand, but terminal is in real-time reception To after being moved to the trace information of location point 1, fail real-time reception to 1-2 and 2-3 trace information, for this kind of situation, Delay phenomenon will occur in ball, i.e., ball fails to be moved within the normal time on normal position, but rests on location point 1.And after subsequent terminal disposably receives the trace information of 1-2,2-3 and 3-4, visually ball will moment by position Point 1 is moved to location point 4, that is, and ball is moved to location point 4 by location point 1 under normal circumstances may need 3 second time, but Under this kind of situation, it may only need complete movement within 0.5 second, visually ball will occur dodging the phenomenon that moving.
In conclusion the requirement due to the relevant technologies to network is excessively high, so in vulnerable network for terminal, It is possible that display interface is not smooth enough caused by the control to ball is out-of-sequence, the problem of poor display effect.
In order to solve the problems, such as that above-mentioned vulnerable network causes, the embodiment of the present invention takes the motion track of preload target object Mode.Wherein, the meaning of preloading is:The motion track of target object is calculated in advance by server and returns to end End.Because after beginning, for target object by attacker side outbound moment, the motion track after target object is can What mobile data when being flown out by target object was got.Wherein, above-mentioned mobile data includes but not limited to target pair The rate travel and moving direction of elephant.
A kind of expression way is changed, for target object by attacker side outbound moment, server immediately obtains target The motion track of object simultaneously issues client, and client directly carries out interface rendering after receiving the motion track, Without server by the current path real-time Transmission of target object to terminal.
In another embodiment, motion track of the target object before the manipulation object for reaching defender side is solid Fixed, and when the manipulation object of defender side can influence the motion track of target object, server can also obtain mesh again Mark object motion track simultaneously the motion track newly got is synchronized to terminal, with facilitate terminal according to new motion track come Carry out interface rendering.
In the case of vulnerable network, the target object control method which proposes can be solved effectively above-mentioned The delay and dodge shifting phenomenon that target object occurs, from the point of view of the performance of product side, display interface does not have very strong blunt sense, Fluency is preferable.And the frequent communication due to reducing terminal and server, greatly reduce the pressure of server.
In addition, using this preloading mode, it is possibility to have effect ground solves to be displayed without on display interface to have stage property, But the problem of stage property has been had in actual logic.
By taking the motion track of ball is a-b-c-d as an example, it is assumed that it is provided with stage property on this track b-c, but the rail of b-c Mark information terminal does not have real-time reception to arrive, if target object is directly moved to location point d by location point a in subsequent process, due to The motion track of target object in logic is a-b-c-d, so after target object is moved to location point d, thinks to play in logic Family has collected the stage property being arranged on the tracks b-c, but terminal does not show the picture that stage property is collected about player but Face, stage property suddenly disappear.
To carry out target object control method provided in an embodiment of the present invention below by specific embodiment detailed Ground illustrates.
Fig. 2 is a kind of flow chart of target object control method provided in an embodiment of the present invention, interaction agent be terminal and Server.Referring to Fig. 2, method flow provided in an embodiment of the present invention includes:
201, after beginning, when the first manipulation object of target object and attacker collides, target object is obtained Mobile data after colliding.
In embodiments of the present invention, game mode includes but not limited to single player mode and two-player mode.Wherein, single player mode For man-machine battle, two-player mode is that two players fight.
In addition, the beginning of game usually also needs to certain condition to trigger, for example, the terminal of player is opened receiving game Begin after instruction, respond the game sign on, starts game.Wherein, the triggering for sign on of playing is including but not limited to following Several ways:After determining the player for participating in game, game starts after M seconds automatically;Alternatively, determining the player for participating in game Afterwards, it is triggered by participating in any one player of game, the embodiment of the present invention is to this without specifically limiting.
Wherein, target object and the first manipulation object of attacker collide, i.e. starting point of the target object from attacker It sets out at position.As shown in Fig. 3 to Fig. 7, after beginning, attacker from start position A control operation object movement, i.e., Attacker strikes away target object at location point A.And in embodiments of the present invention, server is based on target object Mobile data when setting out at start position calculates the motion track after target object.Wherein, according to target object The difference of mobile data in a flash is struck away by attacker, the motion track of target object is generally also different, in general, on State the rate travel and moving direction that mobile data includes target object.
202, server obtains the first movement track of target object according to the mobile data, and first movement track includes institute State each position that target object passes through at the end of after colliding to this bout.
Change a kind of expression way, first movement track include target object by start position after at the end of this bout The each position passed through.
In embodiments of the present invention, server be specifically according to rate travel of the target object when start position sets out and Moving direction to calculate motion track that target object is formed on the move, and covers target object in the motion track To each position passed through at the end of this bout after by start position.
In general, the collision situation of target object and the first manipulation object of defender, can be divided into following several:
Situation one, target object normally collide the first manipulation object front, then change direction rebound and go back.
The i.e. corresponding defender of this kind of situation normally intercepts target object by the first manipulation object, and target object rebounds back It goes to attacker.Wherein, the motion track under this kind of situation shows target object after N1 border collision, with the first behaviour Object is controlled head-on crash occurs and rebounds to attacker.
For example, referring to Fig. 3, due to target object from location point A when mobile data it is found that so target pair As from the places location point A, by location point B, the location point C reached on the first manipulation object is rebounded again to location point D Track, server can get in advance, that is, what the motion track A-B-C-D of target object was to determine.In figure 3, N1 Value be 1, i.e., target object occur positioned at location point B 1 border collision after impinge upon on the first manipulation object.
Wherein, primary collision, referred to herein as a boundary occur for target object and the boundary of the left and right sides in Fig. 3 Collision.
Situation two, target object are hit in the side of the first manipulation object, are then directly fallen.
This kind of situation corresponds to defender and does not intercept target object, i.e. defence failure.Wherein, moving rail under this kind of situation Mark shows target object after N1 border collision, is manipulated with first and collides on the left of object and changing movement side It falls backward.As shown in figure 4, the left side of the first manipulation object is referred to first side herein, right side is referred to second side Generation.For server, it can determine whether target object passes through the left side of the first manipulation object, if it is, determining anti- Defence does not intercept target object, and for target object toward falling after changing moving direction, this process servers equally can be advance It gets.
Situation three, target object are hit in the side of the first manipulation object, are then directly fallen.
This kind of situation equally corresponds to defender and does not intercept target object, i.e. defence failure.Wherein, under this kind of situation Motion track shows target object after N1 border collision, with first manipulation object a vertex collide and It is fallen in the case of not changing moving direction.
For example, referring to Fig. 5, after target object is from location point A, pass through location point by a border collision B, finally passes through the vertex of the first manipulation object, i.e. location point C directly falls to location point D.
Situation four, target object are hit in the side of the first manipulation object, are then directly fallen.
This kind of situation equally corresponds to defender and does not intercept target object, i.e. defence failure.Wherein, under this kind of situation Motion track shows target object after N2 border collision, with first manipulation object second side collide and It is fallen after changing moving direction.
For example, pass through location point by border collision twice after target object is from location point A referring to Fig. 6 After B and location point C, the right side (location point D) of the first manipulation object is collided, location point E is finally directly fallen to.That is, mesh The motion track for marking object is A-B-C-D-E.
Situation five, target object are hit in the side of the first manipulation object, are then directly fallen.
This kind of situation equally corresponds to defender and does not intercept target object, i.e. defence failure.Wherein, under this kind of situation Motion track shows target object after N3 border collision, with first manipulation object first side collide and It is fallen after changing moving direction.
For example, pass through location point by border collision three times after target object is from location point A referring to Fig. 7 B, after location point C and location point D, the left side (location point E) of the first manipulation object is collided, location point is finally directly fallen to D.That is, the motion track of target object is A-B-C-D-E-F.
It should be noted that N1 < N2 < N3, and N1, N2 and N3 are positive integer.
203, server is sent to end by first movement track and with the traveling time parameter of first movement path matching End.
Wherein, terminal mentioned in this article refers in particular to participate in the terminal of the player of game.
In embodiments of the present invention, server may be selected when issuing the trace information of target object to terminal with frame collection The mode of conjunction is issued to terminal, and the embodiment of the present invention is to this without specifically limiting.
In another embodiment, server can also carry corresponding movement while issuing trace information to terminal Time parameter, so that terminal is moved according to the traveling time parameter come control targe object, to ensure interface display effect.Assuming that The motion track of target object is A-B-C-D-E, then traveling time parameter may include Tab、Tbc、Tcd、Tde, the embodiment of the present invention pair This is without specifically limiting.
204, traveling time parameter of the terminal based on first movement track and with first movement path matching, control targe Object moves on display interface.
Due to target object from start position in a flash, mobile number when server is just set out based on target object According to having got the motion track of target object, and it is synchronized to terminal, so terminal can know that target object is striking in advance Motion track after going out, such terminal can directly carry out interface rendering based on the motion track received, without service The current trace information of target object is synchronized to terminal by device in real time again.
Specifically, terminal is in the matched traveling time parameter of motion track with target object for receiving server and issuing Afterwards, the quality based on the machine performance is considered, can also be according further to the traveling time parameter received and local frame per second, to obtain Take the first movement time;Later, terminal is within the first movement time, based on the motion track that server issues, control targe pair As being moved on display interface.
In conclusion being struck away in a flash by attacker in target object, server is based on target object in starting point Mobile data at position can obtain corresponding motion track and be handed down to terminal, without server in real time by target object Current trace information is synchronized to terminal, not only reduces server and the communication number of terminal, reduces the pressure of server, Also assure the interface display effect of terminal in the case of vulnerable network.
In another embodiment, target object by attacker after being struck away, until reaching the second of defender Before manipulating object, if the second manipulation object moves, and final goal object collides with the second manipulation object, then takes Business device also needs to recalculate the motion track of target object and is synchronized to terminal, so that terminal is controlled according to newest motion track Target object processed moves on display interface.Referring to Fig. 8, it is described in detail as follows:
If 801, server detects that mobile and target object and the second manipulation pair occur for the second manipulation object of defender As colliding, then server according to second manipulation object mobile data and target object collision second manipulation object when shifting Dynamic data, obtain the second motion track of target object.
Wherein, defender second manipulation object whether move and target object whether with second manipulation object Colliding can be detected by terminal, and be synchronized to server after detecting corresponding event, and the embodiment of the present invention is to this Without specifically limiting.
In embodiments of the present invention, target object is colliding the second manipulation object in a flash, and server immediately obtains Vector x-the x` of second manipulation object movement.Wherein, x refers to the initial position of the second manipulation object, and x` refers to the second manipulation pair As the position after movement.If the second manipulation of setting object is only capable of transverse shifting in batting is played, then the y-axis of target object is moved Dynamic speed is constant, it is only necessary to recalculate x-axis movement speed.
Specifically, server first calculates the vector that the second manipulation object moves in the directions x, and then obtains the second manipulation object X-axis movement speed;Later, by the x-axis movement speed of the second manipulation object and x when target object collision the second manipulation object Axis movement speed is added, and obtains the newest x-axis movement speed of target object;Finally, it is newest to be based on target object again for server Mobile data obtains the newest motion track of target object, i.e. the second motion track.
802, server sends the second motion track to terminal.
Similarly with above-mentioned steps 203, details are not described herein again for this step.
803, terminal is based on the second motion track control targe after target object and the second manipulation object collide Object moves on display interface.
Similarly with above-mentioned steps 204, details are not described herein again for this step.
In another embodiment, target object by attacker after being struck away, until reaching the second of defender Before manipulating object, if the second manipulation object does not move, and final goal object collides with the second manipulation object, then After target object rebound is gone back, server also needs to recalculate the motion track of target object and is synchronized to terminal, so that eventually It is moved on display interface come control targe object according to newest motion track at end.For this kind of situation, the step of execution with Similarly to step 204, two processes are completely opposite for above-mentioned steps 201, and the attacking and defending identity of player is also exchanged.Referring to Fig. 9, retouch in detail It states as follows:
If 901, server detects that mobile and target object and the second manipulation do not occur for the second manipulation object of defender Object collides, then server obtains target object according to the mobile data after target object collision the second manipulation object Third motion track.
902, server sends third motion track to terminal.
903, terminal is based on third motion track control targe pair after target object and the second manipulation object collide As being moved on display interface.
In summary, if after attacker strikes away target object, defender fails to intercept, then in next bout In or attacker done by player before, and if defender intercepts target object, then attacking and defending identity is exchanged, track The acquisition of information and interface render process and preceding bout are similarly.
In another embodiment, after the frame that server-side issues is integrated into incoming terminal, terminal first judges that target object is worked as Preceding state, if target object just runs through the track of present frame set instruction, opportunity is very perfect, control targe object Directly followed by the track for running next frame set instruction.And if due to network delay or terminal capabilities etc., occur current The case where track of frame set instruction is not run through also, and server just sends next frame set, if then terminal is directly by target The first frame that object moves next frame set to starts to run, then will occur dodge move and player obviously do not have stage property The case where the falling but stage property but disappears.For this defect, the embodiment of the present invention also proposed corresponding solution, specific side Formula is as follows:
Terminal judges whether target object has moved to currently after receiving next frame set that server issues The final position of frame set instruction;If target object does not move to final position, terminal determines next frame set instruction First position and the second position.Wherein, first position and the second position are preceding two of target object process in next frame set A position;Later, terminal obtains the second traveling time that target object is moved to the second position by first position, and obtains current Position is to the target range between first position, and later, in the second traveling time, terminal is based on target range, control targe Object is moved to the second position by current location via first position.
A kind of expression way is changed, the processing mode that the present invention implements to take is to obtain first position in next frame set Set o'clock the time to second location point, then calculate the current location where target object to first location point distance, In the identical time, control targe object is rapidly moved to first location point from current location, then reaches second position Point.Visually seem just not have the performance dodged and move that either stage property is hidden suddenly in this way.
For example for, by taking the motion track of target object in next frame set is D-E-F as an example, it is assumed that work as terminal Present frame set A-B-C is not run through when receiving next frame set also, then in TefControl target object is by present bit in time It sets acceleration and is moved to location point F via location point D.
In another example, in the correct motion track such as Figure 10 of target object shown in black thickened portion, due to net Network postpones or the reasons such as local interim card cause the track of target object to be deviated, and tendency is as shown in the non-thickened portion of black.? During the present invention is implemented, it is poor that terminal can obtain the distance between location point B and C, then using location point C as starting point, in TbdIn time, Location point D is moved again to after being moved to location point B points according to the acceleration of above-mentioned range difference.
Method provided in an embodiment of the present invention, at a flash that target object is struck away by attacker by manipulating object Between, server can obtain corresponding motion track based on mobile data of the target object when striking away and be handed down to end End, is synchronized to terminal, due to the motion track packet got by the current trace information of target object in real time without server Target object is included after striking away to each position passed through at the end of this bout, accordingly even when in the case of vulnerable network, The trace information that may be based on getting carrys out control targe object, not only ensures the display effect of terminal, is not in because right The problem of interface is not smooth enough caused by the control of target object is out-of-sequence, poor display effect, and due to reducing The frequent communication of terminal and server, greatly reduces the pressure of server.
A kind of expression way is changed, in the case of vulnerable network, can effectively solve the delay of target object appearance and dodge to move Phenomenon, does not have very strong blunt sense from the point of view of the performance of product side, on the display interface of terminal, and fluency is preferable.And due to Reduce the frequent communication of terminal and server, so greatly reducing the pressure of server.In addition, also solving player obviously A stage property is not had the case where stage property but disappears, and effect is preferable.
Figure 11 is a kind of structural schematic diagram of target object control device provided in an embodiment of the present invention.It, should referring to Figure 11 Device includes:
First receiving module 1101, for after beginning, receiving the first movement track for the target object that server issues, The first movement track is the server after the first manipulation object of the target object and attacker collides, root It is got according to mobile data of the target object after colliding;
Second receiving module 1102, the movement with the first movement path matching issued for receiving the server Time parameter;
Control module 1103 is based on the first movement track and the traveling time parameter, controls the target pair As being moved on display interface;
Wherein, the first movement track includes that the target object passes through at the end of after colliding to this bout Each position.
Device provided in an embodiment of the present invention, at a flash that target object is struck away by attacker by manipulating object Between, server can obtain corresponding motion track based on mobile data of the target object when striking away and be handed down to end End, is synchronized to terminal, due to the motion track packet got by the current trace information of target object in real time without server Target object is included after striking away to each position passed through at the end of this bout, accordingly even when in the case of vulnerable network, The trace information that may be based on getting carrys out control targe object, not only ensures the display effect of terminal, is not in because right The problem of interface is not smooth enough caused by the control of target object is out-of-sequence, poor display effect, and due to reducing The frequent communication of terminal and server, greatly reduces the pressure of server.
In another embodiment, control module, is additionally operable to according to the traveling time parameter and local frame per second, obtains the One traveling time;Within the first movement time, it is based on the first movement track, controls the target object described aobvious Show and is moved on interface.
In another embodiment, the first receiving module is additionally operable to receive at least one frame set that server issues, institute State the first movement track that at least one frame set includes the target object.
In another embodiment, control module is additionally operable in the next frame set for receiving the server transmission Afterwards, judge whether the target object has moved to the final position of present frame set instruction;If the target object does not move It moves to the final position, it is determined that the first position and the second position of next frame set instruction, the first position It is the first two position that target object passes through described in next frame set with the second position;Obtain the target object by The first position is moved to the second traveling time of the second position;In second traveling time, the mesh is controlled Mark object is moved to the second position by current location via the first position.
In another embodiment, the first receiving module is additionally operable to receive the second motion track that the server issues, Second motion track is the server to be moved in the second manipulation object of defender, and the target object and institute It states after the second manipulation object collides, described in the mobile data for manipulating object according to described second and target object collision What mobile data when the second manipulation object obtained;
Control module is additionally operable to manipulate after object collides in the target object and described second, based on described the Two motion tracks control the target object and are moved on the display interface.
In another embodiment, the first receiving module is additionally operable to receive the third motion track that the server issues, The third motion track is the server not to be moved in the second manipulation object of defender, and the target object with After the second manipulation object collides, the mobile data after the second manipulation object is collided according to the target object and is obtained It takes;
Control module is additionally operable to manipulate after object collides in the target object and described second, based on described the Three motion tracks control the target object and are moved on the display interface.
In another embodiment, the first movement track shows that the target object passes through N1 border collision Afterwards, head-on crash occurs with the second manipulation object and rebounds to the attacker;Or,
The first movement track shows the target object after N1 border collision, with second manipulation pair The first side of elephant collides and is fallen after changing moving direction;Or,
The first movement track shows the target object after N1 border collision, with second manipulation pair A vertex for elephant collides and is fallen in the case where not changing moving direction;Or,
The first movement track shows the target object after N2 border collision, with second manipulation pair The second side of elephant collides and is fallen after changing moving direction;Or,
The first movement track shows the target object after N3 border collision, with second manipulation pair The first side of elephant collides and is fallen after changing moving direction;
Wherein, N1 < N2 < N3, and N1, N2 and N3 are positive integer.
The alternative embodiment that any combination forms the disclosure may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
Figure 12 is a kind of structural schematic diagram of target object control device provided in an embodiment of the present invention.It, should referring to Figure 12 Device includes:
First acquisition module is used for after beginning, when the first manipulation object of target object and attacker collides, Obtain mobile data of the target object after colliding;
Second acquisition module, the first movement track for obtaining the target object according to the mobile data are described First movement track includes each position that the target object passes through at the end of after colliding to this bout;
Sending module, for joining by the first movement track and with the traveling time of the first movement path matching Number is sent to terminal, so that the terminal is based on the first movement track and the traveling time parameter, controls the mesh Mark object moves on display interface.
Device provided in an embodiment of the present invention, at a flash that target object is struck away by attacker by manipulating object Between, server can obtain corresponding motion track based on mobile data of the target object when striking away and be handed down to end End, is synchronized to terminal, due to the motion track packet got by the current trace information of target object in real time without server Target object is included after striking away to each position passed through at the end of this bout, accordingly even when in the case of vulnerable network, The trace information that may be based on getting carrys out control targe object, not only ensures the display effect of terminal, is not in because right The problem of interface is not smooth enough caused by the control of target object is out-of-sequence, poor display effect, and due to reducing The frequent communication of terminal and server, greatly reduces the pressure of server.
In another embodiment, the mobile data includes the rate travel and moving direction of the target object;The Two acquisition modules are additionally operable to rate travel and moving direction according to the target object, obtain the first movement track.
In another embodiment, which further includes:
Second acquisition module, if the second manipulation object for being additionally operable to defender occur the mobile and described target object with it is described Second manipulation object collides, then the mobile data for manipulating object according to described second and target object collision described the Mobile data when two manipulation objects, obtains the second motion track of the target object;
Sending module is additionally operable to send second motion track to the terminal, so that the terminal is in the target After object collides with the second manipulation object, the target object is controlled described aobvious based on second motion track Show and is moved on interface.
In another embodiment, which further includes:
Second acquisition module, if the mobile and described target object and institute do not occur for the second manipulation object for being additionally operable to defender It states the second manipulation object to collide, then collides the mobile data after the second manipulation object according to the target object, obtain Take the third motion track of the target object;
Sending module is additionally operable to send the third motion track to the terminal, so that the terminal is in the target After object collides with the second manipulation object, the target object is controlled described aobvious based on the third motion track Show and is moved on interface.
The alternative embodiment that any combination forms the disclosure may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
It should be noted that:Above-described embodiment provide target object control device in control targe object, only more than The division progress of each function module is stated for example, in practical application, it can be as needed and by above-mentioned function distribution by difference Function module complete, i.e., the internal structure of device is divided into different function modules, with complete it is described above whole or Person's partial function.In addition, the target object control device that above-described embodiment provides belongs to target object control method embodiment Same design, specific implementation process refer to embodiment of the method, and which is not described herein again.
Figure 13 shows the knot for the equipment 1300 for control targe object that an illustrative embodiment of the invention provides Structure block diagram.The equipment 1300 can be portable mobile termianl, such as:Smart mobile phone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) is broadcast Put device, laptop or desktop computer.Equipment 1300 be also possible to be referred to as user equipment, portable terminal, laptop terminal, Other titles such as terminal console.
In general, equipment 1300 includes:Processor 1301 and memory 1302.
Processor 1301 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be used in reason device 1301 Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1301 can also include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 1301 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1301 can also wrap AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processors are for handling related machine learning Calculating operation.
Memory 1302 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1302 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1302 can Storage medium is read for storing at least one instruction, at least one instruction is for performed to realize this Shen by processor 1301 Please in embodiment of the method provide target object control method.
In some embodiments, equipment 1300 is also optional includes:Peripheral device interface 1303 and at least one periphery are set It is standby.It can be connected by bus or signal wire between processor 1301, memory 1302 and peripheral device interface 1303.It is each outer Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1303.Specifically, peripheral equipment includes: In radio circuit 1304, touch display screen 1305, camera 1306, voicefrequency circuit 1307, positioning component 1308 and power supply 1309 At least one.
Peripheral device interface 1303 can be used for I/O (Input/Output, input/output) is relevant at least one outer Peripheral equipment is connected to processor 1301 and memory 1302.In some embodiments, processor 1301, memory 1302 and periphery Equipment interface 1303 is integrated on same chip or circuit board;In some other embodiments, processor 1301, memory 1302 and peripheral device interface 1303 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1304 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1304 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1304 is by telecommunications Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1304 include:Antenna system, one or more amplifiers, tuner, oscillator, digital signal processor, compiles solution at RF transceivers Code chipset, user identity module card etc..Radio circuit 1304 can by least one wireless communication protocol come with it is other Equipment is communicated.The wireless communication protocol includes but not limited to:WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations In example, radio circuit 1304 can also include NFC (Near Field Communication, wireless near field communication) related Circuit, the application are not limited this.
Display screen 1305 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their arbitrary combination.When display screen 1305 is touch display screen, display screen 1305 also there is acquisition to exist The ability of the surface of display screen 1305 or the touch signal of surface.The touch signal can be used as control signal to be input to place Reason device 1301 is handled.At this point, display screen 1305 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1305 can be one, and the front panel of equipment 1300 is arranged;Another In a little embodiments, display screen 1305 can be at least two, be separately positioned on the different surfaces of equipment 1300 or in foldover design; In still other embodiments, display screen 1305 can be flexible display screen, be arranged on the curved surface of equipment 1300 or fold On face.Even, display screen 1305 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1305 can be with Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) etc. materials prepare.
CCD camera assembly 1306 is for acquiring image or video.Optionally, CCD camera assembly 1306 includes front camera And rear camera.In general, the front panel in equipment is arranged in front camera, rear camera is arranged at the back side of equipment.? In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting functions or other fusions are realized in angle camera fusion Shooting function.In some embodiments, CCD camera assembly 1306 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp can also be double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, be can be used for Light compensation under different-colour.
Voicefrequency circuit 1307 may include microphone and loud speaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1301 and handled, or be input to radio circuit 1304 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be multiple, be separately positioned on the different parts of equipment 1300. Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker is then used to that processor 1301 or radio frequency will to be come from The electric signal of circuit 1304 is converted to sound wave.Loud speaker can be traditional wafer speaker, can also be that piezoelectric ceramics is raised one's voice Device.When loud speaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1307 may be used also To include earphone jack.
Positioning component 1308 is used for the current geographic position of positioning device 1300, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1308 can be the GPS (Global based on the U.S. Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group Part.
Power supply 1309 is used to be powered for the various components in equipment 1300.Power supply 1309 can be alternating current, direct current Electricity, disposable battery or rechargeable battery.When power supply 1309 includes rechargeable battery, which can have micro USB Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, equipment 1300 further include there are one or multiple sensors 1310.The one or more senses Device 1310 includes but not limited to:Acceleration transducer 1311, gyro sensor 1312, pressure sensor 1313, fingerprint sensing Device 1314, optical sensor 1315 and proximity sensor 1316.
Acceleration transducer 1311 can detect the acceleration in three reference axis of the coordinate system established with equipment 1300 Size.For example, acceleration transducer 1311 can be used for detecting component of the acceleration of gravity in three reference axis.Processor The 1301 acceleration of gravity signals that can be acquired according to acceleration transducer 1311, control touch display screen 1305 is with transverse views Or longitudinal view carries out the display of user interface.Acceleration transducer 1311 can be also used for game or the exercise data of user Acquisition.
Gyro sensor 1312 can be with the body direction of detection device 1300 and rotational angle, gyro sensor 1312 Acquisition user can be cooperateed with to act the 3D of equipment 1300 with acceleration transducer 1311.Processor 1301 is according to gyro sensors The data that device 1312 acquires, may be implemented following function:Action induction (for example changing UI according to the tilt operation of user) is clapped Image stabilization, game control when taking the photograph and inertial navigation.
The lower layer of side frame and/or touch display screen 1305 in equipment 1300 can be arranged in pressure sensor 1313.When The gripping signal that user can be detected in the side frame of equipment 1300 to equipment 1300 is arranged in pressure sensor 1313, by Reason device 1301 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1313 acquires.Work as pressure sensor 1313 are arranged in the lower layer of touch display screen 1305, are grasped to the pressure of touch display screen 1305 according to user by processor 1301 Make, realization controls the operability control on the interfaces UI.Operability control include button control, scroll bar control, At least one of icon control, menu control.
Fingerprint sensor 1314 is used to acquire the fingerprint of user, is collected according to fingerprint sensor 1314 by processor 1301 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1314 according to the identity of collected fingerprint recognition user.Knowing When the identity for not going out user is trusted identity, the user is authorized to execute relevant sensitive operation, sensitivity behaviour by processor 1301 Work includes solving lock screen, checking encryption information, download software, payment and change setting etc..Fingerprint sensor 1314 can be set Install standby 1300 front, the back side or side.When being provided with physical button or manufacturer Logo in equipment 1300, fingerprint sensor 1314 can integrate with physical button or manufacturer Logo.
Optical sensor 1315 is for acquiring ambient light intensity.In one embodiment, processor 1301 can be according to light The ambient light intensity that sensor 1315 acquires is learned, the display brightness of touch display screen 1305 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1305 is turned up;When ambient light intensity is relatively low, the aobvious of touch display screen 1305 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1301 can also be acquired according to optical sensor 1315, is moved State adjusts the acquisition parameters of CCD camera assembly 1306.
Proximity sensor 1316, also referred to as range sensor are generally arranged at the front panel of equipment 1300.Proximity sensor 1316 the distance between the front for acquiring user and equipment 1300.In one embodiment, when proximity sensor 1316 is examined When measuring the distance between the front of user and equipment 1300 and tapering into, by processor 1301 control touch display screen 1305 from Bright screen state is switched to breath screen state;When proximity sensor 1316 detect the distance between front of user and equipment 1300 by When gradual change is big, touch display screen 1305 is controlled by processor 1301 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that structure shown in Figure 13 does not constitute the restriction to equipment 1300 Including than illustrating more or fewer components, either combining certain components or being arranged using different components.
Figure 14 is a kind of structural schematic diagram of equipment for control targe object provided in an embodiment of the present invention, the equipment 1400 can generate bigger difference because configuration or performance are different, may include one or more processors (central Processing units, CPU) 1401 and one or more memory 1402, wherein it is deposited in the memory 1402 At least one instruction is contained, at least one instruction is loaded by the processor 1401 and executed to realize above-mentioned each method The target object control method that embodiment provides.Certainly, the equipment can also have wired or wireless network interface, keyboard and The components such as input/output interface, to carry out input and output, which can also include other portions for realizing functions of the equipments Part, this will not be repeated here.
In the exemplary embodiment, a kind of computer readable storage medium, such as the memory including instruction are additionally provided, Above-metioned instruction can be executed by the processor in terminal to complete the target object control method in above-described embodiment.For example, described Computer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage Equipment etc..
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (15)

1. a kind of target object control method, which is characterized in that it is applied to terminal, the method includes:
After beginning, the first movement track for the target object that server issues is received, the first movement track is the clothes Business device is colliding after the first manipulation object of the target object and attacker collides according to the target object What mobile data afterwards was got;
Receive the traveling time parameter with the first movement path matching that the server issues;
Based on the first movement track and the traveling time parameter, controls the target object and moved up in display interface It is dynamic;
Wherein, the first movement track include the target object pass through at the end of after colliding to this bout it is each Position.
2. according to the method described in claim 1, it is characterized in that, described be based on the first movement track and the movement Time parameter controls the target object and is moved on display interface, including:
According to the traveling time parameter and local frame per second, the first movement time is obtained;
Within the first movement time, it is based on the first movement track, controls the target object in the display interface Upper movement.
3. according to the method described in claim 1, it is characterized in that, first shifting for receiving the target object that server issues Dynamic rail mark, including:
At least one frame set that server issues is received, at least one frame set includes the first shifting of the target object Dynamic rail mark.
4. according to the method described in claim 3, it is characterized in that, based on target pair described in the first movement TRAJECTORY CONTROL When as being moved on display interface, including:
After receiving next frame set that the server is sent, judge whether the target object has moved to currently The final position of frame set instruction;
If the target object does not move to the final position, it is determined that the first position of the next frame set instruction and The second position, the first position and the second position are the first two position that target object passes through described in next frame set It sets;
Obtain the second traveling time that the target object is moved to the second position by the first position;
In second traveling time, control the target object be moved to via the first position by current location it is described The second position.
5. the method according to any claim in Claims 1-4, which is characterized in that the method further includes:
The second motion track that the server issues is received, second motion track is the server the of defender After two manipulation objects move, and the target object collides with the second manipulation object, grasped according to described second What the mobile data when mobile data of control object and the target object collide the second manipulation object obtained;
After the target object collides with the second manipulation object, the mesh is controlled based on second motion track Mark object moves on the display interface.
6. the method according to any claim in Claims 1-4, which is characterized in that the method further includes:
The third motion track that the server issues is received, the third motion track is the server the of defender After two manipulation objects do not move, and the target object collides with the second manipulation object, according to the target Object collides the mobile data acquisition after the second manipulation object;
After the target object collides with the second manipulation object, the mesh is controlled based on the third motion track Mark object moves on the display interface.
7. the method according to any claim in Claims 1-4, which is characterized in that
The first movement track shows the target object after N1 border collision, with the second manipulation object hair Raw head-on crash simultaneously rebounds to the attacker;Or,
The first movement track shows the target object after N1 border collision, with the second manipulation object First side collides and is fallen after changing moving direction;Or,
The first movement track shows the target object after N1 border collision, with the second manipulation object One vertex collides and is fallen in the case where not changing moving direction;Or,
The first movement track shows the target object after N2 border collision, with the second manipulation object Second side collides and is fallen after changing moving direction;Or,
The first movement track shows the target object after N3 border collision, with the second manipulation object First side collides and is fallen after changing moving direction;
Wherein, N1 < N2 < N3, and N1, N2 and N3 are positive integer.
8. a kind of target object control method, which is characterized in that it is applied to server, the method includes:
After beginning, when the first manipulation object of target object and attacker collides, obtains the target object and sending out Mobile data after raw collision;
The first movement track of the target object is obtained according to the mobile data, the first movement track includes the mesh Each position that mark object passes through at the end of after colliding to this bout;
It is sent to terminal by the first movement track and with the traveling time parameter of the first movement path matching, so that The terminal is based on the first movement track and the traveling time parameter, controls the target object on display interface It is mobile.
9. according to the method described in claim 8, it is characterized in that, the mobile data includes the mobile speed of the target object Rate and moving direction;
The first movement track that the target object is obtained according to the mobile data, including:
According to the rate travel and moving direction of the target object, the first movement track is obtained.
10. method according to claim 8 or claim 9, which is characterized in that the method further includes:
It collides with the second manipulation object if the mobile and described target object occurs for the second manipulation object of defender, The mobile data and the target object for manipulating object according to described second collide mobile data when the second manipulation object, Obtain the second motion track of the target object;
Second motion track is sent to the terminal, so that the terminal is in the target object and second manipulation pair After colliding, the target object is controlled based on second motion track and is moved on the display interface.
11. method according to claim 8 or claim 9, which is characterized in that the method further includes:
It collides with the second manipulation object if the mobile and described target object does not occur for the second manipulation object of defender, The mobile data after the second manipulation object is then collided according to the target object, obtains the third movement of the target object Track;
The third motion track is sent to the terminal, so that the terminal is in the target object and second manipulation pair After colliding, the target object is controlled based on the third motion track and is moved on the display interface.
12. a kind of target object control device, which is characterized in that be applied to terminal, described device includes:
First receiving module is used for after beginning, the first movement track for the target object that reception server issues, and described first Motion track is the server after the first manipulation object of the target object and attacker collides, according to the mesh Mark what mobile data of the object after colliding was got;
Second receiving module, the traveling time ginseng with the first movement path matching issued for receiving the server Number;
Control module controls the target object and exists for being based on the first movement track and the traveling time parameter It is moved on display interface;
Wherein, the first movement track include the target object pass through at the end of after colliding to this bout it is each Position.
13. a kind of target object control device, which is characterized in that be applied to server, described device includes:
First acquisition module, for after beginning, when the first manipulation object of target object and attacker collides, obtaining Mobile data of the target object after colliding;
Second acquisition module, the first movement track for obtaining the target object according to the mobile data, described first Motion track includes each position that the target object passes through at the end of after colliding to this bout;
Sending module, for being sent out by the first movement track and with the traveling time parameter of the first movement path matching It send to terminal, so that the terminal is based on the first movement track and the traveling time parameter, controls the target pair As being moved on display interface.
14. a kind of storage medium, which is characterized in that it is stored at least one instruction in the storage medium, described at least one Instruction is loaded by processor and is executed to realize the target object control as described in any of claim 1 to 7 claim Method, or, the target object control method as described in any of claim 8 to 11 claim.
15. a kind of equipment for control targe object, which is characterized in that the equipment includes processor and memory, described At least one instruction is stored in memory, at least one instruction is loaded by the processor and executed to realize such as right It is required that the target object control method described in any of 1 to 7 claim, or, such as any of claim 8 to 11 right It is required that the target object control method.
CN201810595628.9A 2018-06-11 2018-06-11 Target object control method, device, storage medium and equipment Active CN108786108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810595628.9A CN108786108B (en) 2018-06-11 2018-06-11 Target object control method, device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810595628.9A CN108786108B (en) 2018-06-11 2018-06-11 Target object control method, device, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN108786108A true CN108786108A (en) 2018-11-13
CN108786108B CN108786108B (en) 2022-01-25

Family

ID=64088286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810595628.9A Active CN108786108B (en) 2018-06-11 2018-06-11 Target object control method, device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN108786108B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475573A (en) * 2020-04-08 2020-07-31 腾讯科技(深圳)有限公司 Data synchronization method and device, electronic equipment and storage medium
CN112121437A (en) * 2020-09-21 2020-12-25 腾讯科技(深圳)有限公司 Movement control method, device, medium and electronic equipment for target object
CN112354182A (en) * 2020-09-24 2021-02-12 成都完美天智游科技有限公司 Three-dimensional scene generation method and device, storage medium and electronic device
CN116688493A (en) * 2023-07-31 2023-09-05 厦门真有趣信息科技有限公司 Interactive control method for football game

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080096660A1 (en) * 2006-10-19 2008-04-24 Nintendo Co., Ltd. Storage medium storing a game program, game apparatus, and game control method
US20090042647A1 (en) * 2007-07-27 2009-02-12 Phenomenon Holdings, Ltd. Method and device for controlling a motion-sequence within a simulated game or sports event
TW201016274A (en) * 2008-10-23 2010-05-01 Univ Nat Cheng Kung Virtual sports system
CN105509735A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Method, apparatus and terminal for prompting information
US20160279526A1 (en) * 2015-03-25 2016-09-29 Realyagu Zone Co., Ltd. Method of operating screen baseball system
CN107678652A (en) * 2017-09-30 2018-02-09 网易(杭州)网络有限公司 To the method for controlling operation thereof and device of target object

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080096660A1 (en) * 2006-10-19 2008-04-24 Nintendo Co., Ltd. Storage medium storing a game program, game apparatus, and game control method
US20090042647A1 (en) * 2007-07-27 2009-02-12 Phenomenon Holdings, Ltd. Method and device for controlling a motion-sequence within a simulated game or sports event
TW201016274A (en) * 2008-10-23 2010-05-01 Univ Nat Cheng Kung Virtual sports system
US20160279526A1 (en) * 2015-03-25 2016-09-29 Realyagu Zone Co., Ltd. Method of operating screen baseball system
CN105509735A (en) * 2015-11-30 2016-04-20 小米科技有限责任公司 Method, apparatus and terminal for prompting information
CN107678652A (en) * 2017-09-30 2018-02-09 网易(杭州)网络有限公司 To the method for controlling operation thereof and device of target object

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475573A (en) * 2020-04-08 2020-07-31 腾讯科技(深圳)有限公司 Data synchronization method and device, electronic equipment and storage medium
WO2021203856A1 (en) * 2020-04-08 2021-10-14 腾讯科技(深圳)有限公司 Data synchronization method and apparatus, terminal, server, and storage medium
US11944904B2 (en) 2020-04-08 2024-04-02 Tencent Technology (Shenzhen) Company Limited Data synchronization method and apparatus, terminal, server, and storage medium
CN112121437A (en) * 2020-09-21 2020-12-25 腾讯科技(深圳)有限公司 Movement control method, device, medium and electronic equipment for target object
CN112354182A (en) * 2020-09-24 2021-02-12 成都完美天智游科技有限公司 Three-dimensional scene generation method and device, storage medium and electronic device
CN116688493A (en) * 2023-07-31 2023-09-05 厦门真有趣信息科技有限公司 Interactive control method for football game
CN116688493B (en) * 2023-07-31 2023-10-24 厦门真有趣信息科技有限公司 Interactive control method for football game

Also Published As

Publication number Publication date
CN108786108B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN108786108A (en) Target object control method, device, storage medium and equipment
JP4971483B2 (en) Image display program, image display apparatus, image display system, and image display method
JP5622446B2 (en) GAME PROGRAM, GAME DEVICE, GAME CONTROL METHOD, AND GAME SYSTEM
US20100203969A1 (en) Game device, game program and game object operation method
CN109529356B (en) Battle result determining method, device and storage medium
US20110172017A1 (en) Game machine, game program, and game machine control method
JP2008093165A (en) Program, information storage medium and server unit
CN107982918A (en) Game is played a game methods of exhibiting, device and the terminal of result
JP2006230578A (en) Program, information storage medium and game apparatus
TWI748119B (en) Recording media and dart game system
JP2012181616A (en) Program, information storage medium, game device and server system
CN110180176A (en) Display methods, device, equipment and the readable storage medium storing program for executing at war communique displaying interface
CN108066988A (en) target setting method, device and storage medium
JP2022017984A (en) Game program, game method, and information processing device
US9409085B2 (en) Game system, game control method, game device, and computer-readable storage medium
JP6002345B1 (en) Information processing apparatus including game program, method, and touch screen
JP5496991B2 (en) Image display program, image display apparatus, image display system, and image display method
US20230241505A1 (en) Non-transitory computer-readable storage medium having game program stored therein, game processing system, game processing apparatus, and game processing method
US20230241506A1 (en) Non-transitory computer-readable storage medium having game program stored therein, game processing system, game processing apparatus, and game processing method
CN113599810B (en) Virtual object-based display control method, device, equipment and medium
JP2013202321A (en) Unit, method and program of operation signal input for information processing terminal
CN108096840A (en) Resist mode switching method, device, storage medium and terminal
JP2014237040A (en) Game program and server device
JP2017185190A (en) Game program, method, and information processor including touch screen
JP6501814B2 (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