WO2017133601A1 - 一种确定移动轨迹的方法、及用户设备 - Google Patents

一种确定移动轨迹的方法、及用户设备 Download PDF

Info

Publication number
WO2017133601A1
WO2017133601A1 PCT/CN2017/072541 CN2017072541W WO2017133601A1 WO 2017133601 A1 WO2017133601 A1 WO 2017133601A1 CN 2017072541 W CN2017072541 W CN 2017072541W WO 2017133601 A1 WO2017133601 A1 WO 2017133601A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
simulated
trajectory
movement trajectory
template
Prior art date
Application number
PCT/CN2017/072541
Other languages
English (en)
French (fr)
Inventor
杨帆
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to KR1020187015534A priority Critical patent/KR102111870B1/ko
Priority to JP2018528595A priority patent/JP6904952B2/ja
Priority to EP17746921.0A priority patent/EP3412349B1/en
Publication of WO2017133601A1 publication Critical patent/WO2017133601A1/zh
Priority to US15/968,652 priority patent/US10549196B2/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/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
    • 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
    • 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/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • 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/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/57Simulating properties, behaviour or motion of objects in the game world, e.g. computing tyre load in a car race game
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P13/00Indicating or recording presence, absence, or direction, of movement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • 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

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method for determining a movement trajectory, and a user equipment.
  • simulation objects that issue object instructions to each other and create interactive scenes, which may be interactions between two simulated objects, or multiple simulated objects may interact with each other.
  • interactions may be interactions between two simulated objects, or multiple simulated objects may interact with each other.
  • a certain simulated object is moved by a long distance or a short distance.
  • the movement trajectory of the simulated object is usually realized by two schemes: one is that the developer pre-produces the movement trajectory of the simulated object, and the other is the calculation by the machine engine to simulate the movement trajectory of the simulated object.
  • the embodiment of the invention provides a method for determining a movement trajectory, which can determine a movement trajectory according to an environment in which the simulated object is currently located, and a real simulation of the movement trajectory of the simulated object can be realized with a small calculation amount.
  • the embodiment of the invention also provides a corresponding user equipment.
  • a first aspect of the present invention provides a method for determining a movement trajectory, comprising:
  • the user equipment determines the effect of the object instruction of the first simulated object on the second simulated object fruit
  • the user equipment determines a movement trajectory of the second simulation object according to the simulated environment information and the trajectory template.
  • a second aspect of the present invention provides a user equipment, including:
  • a first determining unit configured to determine an action effect of the object instruction of the first simulated object on the second simulated object
  • An acquiring unit configured to acquire a trajectory template corresponding to the action effect determined by the first determining unit from a preset trajectory template set, and acquire simulated environment information in which the second simulated object is located;
  • a second determining unit configured to determine a movement trajectory of the second simulated object according to the simulated environment information acquired by the acquiring unit and the trajectory template.
  • the method for determining the movement trajectory of the first simulation object is determined by the user equipment. And a function of the second simulation object; the user equipment acquires a trajectory template corresponding to the action effect, and acquires simulation environment information where the second simulation object is located; and the user equipment according to the simulated environment information and The trajectory template determines a movement trajectory of the second simulated object.
  • the movement trajectory can be determined according to the environment in which the simulated object is currently located, and the real simulation of the movement trajectory of the simulated object can be realized with a small calculation amount.
  • FIG. 1 is a schematic diagram of an embodiment of a method for determining a movement trajectory according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing an example of a track template in an embodiment of the present invention.
  • FIG. 3 is a schematic diagram showing an example of a movement trajectory determined in an embodiment of the present invention.
  • FIG. 4 is another schematic diagram of a movement trajectory determined in an embodiment of the present invention.
  • FIG. 5 is another schematic diagram of a movement trajectory determined in an embodiment of the present invention.
  • FIG. 6 is another schematic diagram of a movement trajectory determined in an embodiment of the present invention.
  • FIG. 7 is another schematic diagram of a movement trajectory determined in an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an embodiment of a system for moving track verification according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another embodiment of a system for moving track verification in an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an embodiment of a user equipment according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of another embodiment of a user equipment according to an embodiment of the present invention.
  • the embodiment of the invention provides a method for determining a movement trajectory, which can determine a movement trajectory according to an environment in which the simulated object is currently located, and a real simulation of the movement trajectory of the simulated object can be realized with a small calculation amount.
  • the embodiment of the invention also provides a corresponding user equipment and system. The details are described below separately.
  • MMO Massively Multiplayer Online
  • MMORPG Massively Multiple-player Online Role-Playing Game
  • Many game scenes are used. There are cases where such characters or monsters are shot. Whether it is a character or a monster, it can be called a mock object.
  • Flying can include flying with a kick, flying with a fist, The body flies and flies with weapons.
  • the curve of the moving trajectory of the simulated object can be divided into three parabolic lines, one main curve and two sub-curves, wherein the main curve can be understood as a dynamic adjustment segment, and the two sub-curves are supplementary performance segments.
  • the dynamic adjustment segment will have different performance curves along with the terrain of the environment in which the simulated object is located. When encountering a high obstacle, it will slide down the obstacle and cross the short obstacle. After the water falls, there will be sinking and floating in the water. As a result, the corresponding animation, sound, and special effects will change during the flight.
  • the auxiliary performance segment is a two-paragraph small parabola that can solve the rigid performance of a curve landing.
  • the template can be configured with a distance, a height, a floating time, and a grounding time on the basic template to obtain a new flying template, so that the configuration parameters of the new flying template only need to include the basic template.
  • Parameter IDs such as identification (ID), distance of flying, altitude, floating time and grounding time can be used, which can greatly reduce the workload of the developer to configure the flying template.
  • the user equipment can determine the movement track of the simulated object to be shot according to the fighting situation of the simulated object in the game during the game playing by the player.
  • FIG. 1 is a schematic diagram of an embodiment of a method for determining a movement trajectory according to an embodiment of the present invention.
  • an embodiment of a method for determining a movement trajectory provided by an embodiment of the present invention includes:
  • the user equipment determines an action effect of the object instruction of the first simulation object on the second simulation object.
  • the first simulation object and the second simulation object may be the character A and the character B in the game, or the character A and the blame B, or the blame A and the blame B, and the object instruction may be a fighting skill of the simulated object in the game.
  • the punches or kicked feet of the simulated object for example: can be heavy punches, light punches, heavy kicks and light kicks.
  • the effect refers to whether the first simulated object hits the second simulated object. For example, if it is a heavy kick, it can be understood as a first-level heavy blow, and a heavy punch can be understood as a secondary weight. Hit the fly, the light kick can be understood as a level of flick, the light punch can be understood as a two-level light kick.
  • the user equipment acquires a trajectory template corresponding to the action effect from a preset trajectory template set, and acquires simulated environment information where the second simulated object is located.
  • each type of action effect and the trajectory template can be expressed in the form of a table, or can be expressed in other forms.
  • the form of the table is taken as an example, and the corresponding relationship between each type of action effect and the track template is shown in Table 1.
  • Table 1 is only an example to illustrate, in fact, there may be many corresponding relationships between the effect and the track template.
  • the identifier of the track template corresponds to the corresponding track template, and the track template can be understood by referring to FIG. 2 .
  • the height and width of the parabola will be different for different flying effects.
  • the movement track includes a main curve segment and two sub-curve segments, and the sub-curve segment is used to simulate the feeling of the simulated object being shot twice after landing.
  • the height and width of the parabola of the first-level slamming fly can be greater than the height and width of the parabola of the secondary slamming fly. It can be deduced by analogy that the parabolic height and width of the secondary tapping fly are minimal in Table 1.
  • the simulated environment information in which the second simulated object is located refers to the terrain environment around the second simulated object, for example, whether there is a pool, an obstacle, a terrain, or the like.
  • the user equipment determines a movement trajectory of the second simulation object according to the simulated environment information and the trajectory template.
  • the second simulated object Because the second simulated object is hit, it may encounter obstacles or fall into the water during the flight, and may encounter other situations. It may not be able to move completely according to the curve shown in the trajectory template, so the real template follows the simulation. Environmental information settings are the most accurate.
  • the method for determining the movement trajectory of the first simulation object is determined by the user equipment. And a function of the second simulation object; the user equipment acquires a trajectory template corresponding to the action effect, and acquires simulation environment information where the second simulation object is located; and the user equipment according to the simulated environment information and The trajectory template determines a movement trajectory of the second simulated object.
  • the movement trajectory can be determined according to the environment in which the simulated object is currently located, and the real simulation of the movement trajectory of the simulated object can be realized with a small calculation amount.
  • the server determines the landing position of the second simulated object, generates landing position information of the second simulated object, and transmits the landing position information to the user equipment.
  • the user equipment receives the landing position information of the second simulated object; and based on the landing position information, determines a movement trajectory of the second simulated object according to the simulated environment information and the trajectory template.
  • the trajectory template includes a predicted movement trajectory of the object, wherein the predicted movement trajectory includes a main movement trajectory, and
  • Determining, by the user equipment, the movement track of the second simulated object according to the simulated environment information and the track template comprises:
  • the user equipment determines the primary movement trajectory of the predicted movement trajectory according to the simulated environment information.
  • the predicted movement trajectory further includes an auxiliary movement trajectory
  • the auxiliary movement trajectory includes at least two pieces of curves.
  • the method before the user equipment acquires the simulation environment information that the second simulation object is located, the method further includes:
  • the acquiring, by the user equipment, the simulated environment information that the second simulated object is located including:
  • the user equipment acquires simulated environment information in the moving direction and within the moving distance range.
  • the real flight estimate is the curve shown by the trajectory template, as shown in FIG. 2 .
  • FIG. 3 is a schematic diagram of a moving trajectory of a simulated object being hit by another flying attack during the flying process.
  • the initially calculated movement trajectory is the trajectory template shown in Fig. 2, but another flight is received during the flight, and the new movement trajectory is recalculated. That is to say, when the simulated object that is being shot is subjected to another attack by a flying attack, the performance item of the current segment will be canceled, and a new flying curve is generated starting from the current hit point.
  • Fig. 4 is a schematic view showing the movement path of the simulated object that is knocked over the low obstacle during the flying process.
  • the user equipment determines the trajectory template, determining that the obstacle in the flight of the second simulated object is lower than the flying point, it may be determined that the second simulated object will cross the obstacle, and the curve shown by the original trajectory template is completed to complete the entire flying. process.
  • FIG. 5 is a schematic diagram of a movement trajectory of a high-impact obstacle encountered by a simulated object being hit during a flight.
  • the user equipment determines the trajectory template, determining that the obstacle in the flight of the second simulated object is higher than the flying point, it may be determined that the second simulated object cannot cross the obstacle and slides along the obstacle until the calculated landing
  • the location, such a real movement trajectory becomes the trajectory of the main curve segment shown in Figure 5 that is not completed, encounters an obstacle, and slides down the obstacle until it falls.
  • Fig. 6 is a schematic view showing the path of the flying flight as an upward trajectory.
  • Fig. 7 is a schematic view showing the path of the flying flight as an upward trajectory.
  • the second simulated object will undulate in the water.
  • the landing position calculated by the server is only the position where the second simulated object falls into the water
  • the location information is generated, and the location information is sent to the user equipment.
  • the user equipment determines the movement trajectory.
  • the user equipment determines the fluctuation of the second simulated object in the water according to the buoyancy calculation formula. Specifically, the second simulated object will be subjected to downward gravity, upward buoyancy and upward viscous resistance when it falls into the water, gravity is constant, and buoyancy and viscous resistance are both falling into the water with the second simulated object. The depth of the change changes, so the second simulated object will show ups and downs in the water.
  • the track template further includes sound information
  • Determining, by the user equipment, the movement track of the second simulated object according to the simulated environment information and the track template includes:
  • the user equipment determines the sound information according to the simulated environment information.
  • the focus is on the movement trajectory.
  • animation, sound effects and special effects are also arranged on the trajectory template.
  • an embodiment of a system for moving track verification includes: a first user equipment, and a plurality of second user equipments (only two are illustrated in the figure, and may actually include only One, can also include many) and servers.
  • the first user equipment is configured to: determine an action effect of the object instruction of the first simulation object on the second simulation object; acquire a track template corresponding to the action effect from the preset track template set, and obtain the a simulation environment information in which the second simulation object is located; determining a movement trajectory of the second simulation object according to the simulation environment information and the trajectory template; and transmitting the determined movement trajectory of the second simulation object to the server;
  • the server is configured to: verify the moving track
  • the server is further configured to:
  • the system for moving track verification provided in the embodiment of the present invention can ensure that configuration parameters are not maliciously modified, and that the movement trajectory is reasonable.
  • the server can also control the pictures on each user equipment to be synchronized.
  • FIG. 9 another embodiment of a system for moving track verification provided by an embodiment of the present invention includes:
  • the first user equipment determines an action effect of the object instruction of the first simulation object on the second simulation object.
  • the first user equipment takes a trajectory template corresponding to the action effect, and acquires simulated environment information where the second simulated object is located.
  • the first user equipment determines a movement trajectory of the second simulation object according to the simulated environment information and the trajectory template.
  • the first user equipment sends the determined movement trajectory of the second simulated object to the server.
  • the server verifies the movement trajectory of the second simulation object. When the verification is reasonable, steps 206-209 are performed. When the verification is unreasonable, steps 210-214 are performed.
  • the server sends a response message to the first user equipment.
  • the server sends, to the second user equipment, a movement trajectory of the second simulation object and an identifier of the second simulation object.
  • the first user equipment controls, according to the response message, that the second simulated object moves according to the moving trajectory.
  • the second user equipment controls the second simulated object to move according to the moving trajectory.
  • FIG. 9 There may be multiple second user devices, and only one is shown in FIG. 9 as an exemplary illustration.
  • the server When the verification is reasonable, the server generates a new movement track.
  • the server sends a new mobile track to the first user equipment.
  • the server sends a new mobile trajectory and an identifier of the second simulated object to the first user equipment.
  • the first user equipment controls the second simulated object to move according to a new movement trajectory.
  • the second user equipment controls the second simulated object to move according to a new movement trajectory.
  • the system for moving track verification provided in the embodiment of the present invention can ensure that configuration parameters are not maliciously modified, and that the movement trajectory is reasonable.
  • the server can also control the pictures on each user equipment to be synchronized.
  • an embodiment of a user equipment provided by an embodiment of the present invention includes:
  • a first determining unit 301 configured to determine an action effect of the object instruction of the first simulated object on the second simulated object
  • the acquiring unit 302 is configured to acquire a trajectory template corresponding to the action effect determined by the first determining unit 301 from a preset trajectory template set, and acquire simulated environment information in which the second simulated object is located;
  • the second determining unit 303 is configured to determine a moving trajectory of the second simulated object according to the simulated environment information acquired by the acquiring unit 302 and the trajectory template.
  • the user equipment provided by the embodiment of the present invention can determine the movement trajectory according to the environment in which the simulated object is currently located, and can realize the real simulation of the movement trajectory of the simulated object by using a small calculation amount.
  • the first determining unit 301 is configured to: determine a distance between the first simulated object and the second simulated object, and determine, according to the distance, an action effect of the object instruction on the second simulated object.
  • the effect of the object instruction is determined by the distance between the two simulated objects, and the determining efficiency of the action effect can be improved.
  • the user equipment further includes: a receiving unit, configured to receive landing location information of the second simulated object sent by the server, where the landing location information is used to indicate a landing location of the second simulated object.
  • the second determining unit is further configured to determine a movement trajectory of the second simulation object according to the simulated environment information and the trajectory template based on the received landing position information.
  • the trajectory template includes a predicted movement trajectory of the object, wherein the predicted movement trajectory comprises a main movement trajectory, and
  • the second determining unit is further configured to determine the main moving track of the predicted moving track according to the simulated environment information.
  • the trajectory template includes sound information
  • the second determining unit is further configured to determine the sound information according to the simulated environment information.
  • the predicted movement trajectory further comprises an auxiliary movement trajectory
  • the auxiliary movement trajectory comprises at least two segments of the curve.
  • the acquiring unit 302 is configured to determine a trajectory template corresponding to the action effect according to a corresponding relationship between each type of action effect and a trajectory template.
  • the first determining unit 301 is further configured to determine, according to the direction in which the action instruction acts on the second simulated object, the movement of the second simulated object. a direction, determining a moving distance of the second simulated object according to the action effect;
  • the acquiring unit 302 is configured to acquire simulated environment information in the moving direction determined by the first determining unit 301 and within the moving distance range.
  • determining the action direction and the moving distance reduces the acquisition range of the simulated environment information, and improves the acquisition efficiency.
  • the second determining unit 303 is configured to be used according to the moving direction acquired by the acquiring unit 302. And the simulated environment information in the range of the moving distance adjusts the track template to determine a moving track of the second simulated object.
  • the embodiment of the invention is based on the simulation environment information in the moving direction and within the moving distance range Adjusting the trajectory template ensures that the resulting trajectory is more accurate.
  • FIG. 11 is a schematic structural diagram of a user equipment 30 according to an embodiment of the present invention.
  • the user equipment 30 is applied to a system for moving track verification, and the system for moving track verification includes a user equipment and a server, and the user equipment 30 includes a processor 310, a memory 350, and an input/output I/O device 330, and a memory.
  • the 350 can include read only memory and random access memory and provides operational instructions and data to the processor 310.
  • a portion of memory 350 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the memory 350 stores elements, executable modules or data structures, or a subset thereof, or their extended set:
  • the operation instruction can be stored in the operating system
  • the user equipment can determine the movement trajectory according to the environment in which the simulated object is currently located, as compared with the prior art that the motion trajectory is high in complexity and the machine calculation often obtains a movement trajectory that does not conform to the current scene.
  • Real simulation of the trajectory of the simulated object being manipulated can be achieved with a small amount of computation.
  • the processor 310 controls the operation of the user equipment 30, which may also be referred to as a CPU (Central Processing Unit).
  • Memory 350 can include read only memory and random access memory and provides instructions and data to processor 310. A portion of memory 350 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the various components of the user equipment 30 are coupled together by a bus system 320.
  • the bus system 320 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 320 in the figure.
  • Processor 310 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 310 or an instruction in a form of software.
  • the processor 310 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or discrete hardware. Component.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 350, and the processor 310 reads the information in the memory 350 and performs the steps of the above method in combination with its hardware.
  • the processor 310 is configured to determine a distance between the first simulated object and the second simulated object, and determine, according to the distance, an action effect of the object instruction on the second simulated object.
  • the processor 310 is configured to determine a trajectory template corresponding to the action effect according to a preset relationship between each type of action effect and the trajectory template.
  • the processor 310 is configured to determine a moving direction of the second simulated object according to a direction in which the action instruction acts on the second simulated object, and determine a moving distance of the second simulated object according to the action effect. And acquiring simulated environment information in the moving direction and within the moving distance range.
  • the processor 310 is configured to adjust the trajectory template according to the simulated environment information in the moving direction and the moving distance information to determine a moving trajectory of the second simulated object.
  • the I/O device 330 is configured to send the determined movement trajectory of the second simulation object to the server, so that the server checks the movement trajectory.
  • the above user equipment 30 can be understood by referring to the description in the parts of FIG. 1 to FIG. 10, and details are not described herein.
  • the storage medium may include: a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Processing Or Creating Images (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种确定移动轨迹的方法,包括:用户设备(30、40)确定第一模拟对象的对象指令作用于第二模拟对象的作用效果,用户设备(30、40)从预先设定的轨迹模板集中获取与作用效果对应的轨迹模板,并获取第二模拟对象所处的模拟环境信息,用户设备(30、40)根据模拟环境信息和轨迹模板信息确定第二模拟对象的移动轨迹。

Description

一种确定移动轨迹的方法、及用户设备
本申请要求于2016年2月1日提交中国专利局,申请号为201610071125.2,发明名称为“一种确定移动轨迹的方法、用户设备及***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机技术领域,具体涉及一种确定移动轨迹的方法、及用户设备。
背景技术
当前一些应用中,经常会有模拟对象之间互相发出对象指令,并产生相互作用的场景,可以是两个模拟对象之间的相互作用,也可以是多个模拟对象发生相互作用,模拟对象之间互相作用的过程中经常会有某个模拟对象被作用发生长距离或短距离移动的情况。
被作用模拟对象的移动轨迹通常通过两种方案实现:一种是开发人员预先制作出被作用模拟对象的移动轨迹,另一种是通过机器引擎进行计算,模拟出被作用模拟对象的移动轨迹。
但模拟对象之间相声相互影响的情况有很多,不可能开发人员预先针对每个被作用的情况都制作出移动轨迹,机器引擎计算的方式只能针对被作用的一瞬间的情况进行计算,实际模拟对象在移动过程中可能会发生很多变化,导致机器引擎计算的移动轨迹经常不符合当前的场景。
发明内容
本发明实施例提供一种确定移动轨迹的方法,可以根据被作用模拟对象当前所处的环境确定移动轨迹,使用很小的计算量就可以实现对被作用模拟对象的移动轨迹的真实模拟。本发明实施例还提供了相应的用户设备。
本发明第一方面提供一种确定移动轨迹的方法,包括:
用户设备确定第一模拟对象的对象指令作用于第二模拟对象的作用效 果;
所述用户设备从预先设定的轨迹模板集中获取与所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息;
所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
本发明第二方面提供一种用户设备,包括:
第一确定单元,用于确定第一模拟对象的对象指令作用于第二模拟对象的作用效果;
获取单元,用于从预先设定的轨迹模板集中获取与所述第一确定单元确定的所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息;
第二确定单元,用于根据所述获取单元获取的所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
与现有技术中人工制作移动轨迹复杂度高,机器计算经常得到不符合当前场景的移动轨迹相比,本发明实施例提供的确定移动轨迹的方法,用户设备确定第一模拟对象的对象指令作用于第二模拟对象的作用效果;所述用户设备获取与所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息;所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。可以根据被作用模拟对象当前所处的环境确定移动轨迹,使用很小的计算量就可以实现对被作用模拟对象的移动轨迹的真实模拟。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例中确定移动轨迹的方法的一实施例示意图;
图2是本发明实施例中轨迹模板的一示例示意图;
图3是本发明实施例中确定的移动轨迹的一示例示意图;
图4是本发明实施例中确定的移动轨迹的另一示例示意图;
图5是本发明实施例中确定的移动轨迹的另一示例示意图;
图6是本发明实施例中确定的移动轨迹的另一示例示意图;
图7是本发明实施例中确定的移动轨迹的另一示例示意图;
图8是本发明实施例中移动轨迹校验的***的一实施例示意图;
图9是本发明实施例中移动轨迹校验的***的另一实施例示意图;
图10是本发明实施例中用户设备的一实施例示意图;
图11是本发明实施例中用户设备的另一实施例示意图。
具体实施方式
本发明实施例提供一种确定移动轨迹的方法,可以根据被作用模拟对象当前所处的环境确定移动轨迹,使用很小的计算量就可以实现对被作用模拟对象的移动轨迹的真实模拟。本发明实施例还提供了相应的用户设备及***。以下分别进行详细说明。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
随着互联网的普及,游戏产业也随之快速发展,游戏中打斗游戏较多,有两人打斗的,也都多人打斗的,单机的或在线的,尤其是当前的大型多人在线(Massively Multiplayer Online,MMO)游戏非常流行,MMO游戏即大型多人在线角色扮演游戏(Massively Multiple-player Online Role-Playing Game,MMORPG)。这类游戏的打斗场景非常多,经常都是几百人同时打斗,打斗的过程中经常会出现人物被击飞的情况,当然,本处只是以MMO游戏为例进行说明,很多游戏场景中都存在这种人物或怪物被击飞的情况。无论是人物还是怪物,都可以称为模拟对象。击飞可以包括用脚踢飞、用拳打飞、 身体撞飞和用武器打飞等。
战斗中受击方被击飞的飞行过程以及倒地的过程中的模拟表现对战斗的爽快感起着重要的作用,所以在击飞场景中被击飞模拟对象的移动轨迹是至关重要的。所以本发明实施例中接下来说明如何确定被击飞模拟对象的移动轨迹。
本申请中可以把被击飞模拟对象的移动轨迹的曲线分成3个抛物线,一个主曲线和两段副曲线,其中,主曲线可以理解为是动态调整段,两段副曲线是补充表现段,动态调整段会随着模拟对象所处环境的地形有不同的表现曲线,碰到高的障碍物会随着障碍物滑下,越过矮的障碍物,落水后也会有水中的下沉和浮起,在击飞过程中相应的动画,声音,特效的表现项也会随之改变。辅助表现段是两段小抛物线,可以解决一段曲线落地的僵硬表现。
开发人员可以针对击飞的方案设置几套基础模板,例如:可以设置五套重击飞的基础模板,五套轻击飞的基础模板,然后再想增加模板时,开发人员只需要选择一个基础模板,在基础模板上配置击飞的距离、高度、浮空时间和倒地时间等参数,就可以得到一个新的击飞模板,这样该新的击飞模板的配置参数只需要包括基础模板的标识(ID)、击飞的距离、高度、浮空时间和倒地时间等参数ID即可,可以大大减少开发人员配置击飞模板的工作量。
配置好基础模板后,用户设备在玩家玩游戏的过程中可以根据游戏中模拟对象的打斗情况确定被击飞模拟对象的移动轨迹。
图1为本发明实施例中确定移动轨迹的方法的一实施例示意图。
参阅图1,本发明实施例提供的确定移动轨迹的方法的一实施例包括:
101、用户设备确定第一模拟对象的对象指令作用于第二模拟对象的作用效果。
第一模拟对象和第二模拟对象可以是游戏中的人物A和人物B,也可以是人物A和怪B,也可以是怪A和怪B,对象指令可以是游戏中模拟对象的打斗技能,如:模拟对象打出的拳或踢出的脚,例如:可以是重拳、轻拳、重踢和轻踢等。作用效果指的是第一模拟对象有没有打中第二模拟对象,例如:如果是重踢打中则可以理解为是一级重击飞,重拳打中则可以理解为是二级重 击飞,轻脚踢中可以理解为是一级轻击飞,轻拳打中可以理解为是二级轻踢飞。当然,此处只是举几个例子进行理解,实际游戏场景中,打斗的技能有很多,作用效果也可以分很多种情况。
102、所述用户设备从预先设定的轨迹模板集中获取与所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息。
各类型的作用效果与轨迹模板的对应关系可以用表格的形式来表示,也可以用其他的形式来表达。本申请中以表格的形式为例进行说明,各类型作用效果与轨迹模板的对应关系如表1所示。
作用效果 轨迹模板的标识
一级重击飞 模板1
二级重击飞 模板2
一级轻击飞 模板3
二级轻击飞 模板4
表1
表1只是举例进行说明,实际上作用效果与轨迹模板的对应关系可以有很多个。
当然,轨迹模板的标识会对应着相应的轨迹模板,轨迹模板可以参阅图2进行理解。在不同的轨迹模板中,针对不同的击飞效果,抛物线的高度和宽度会有不同。
如图2所示,移动轨迹包括一个主曲线段和两个副曲线段,副曲线段用来模拟被击飞的模拟对象在落地后弹两下的感觉。
例如:一级重击飞的抛物线高度和宽度都可以比二级重击飞的抛物线高度和宽度要大。可以以此类推,二级轻击飞的抛物线高度和宽度在表1中是最小的。
第二模拟对象所处的模拟环境信息指的是第二模拟对象周边的地形环境,例如:有没有水池、障碍物、地势高低等。
103、所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
因为第二模拟对象被击飞后,飞行过程中可能会碰到障碍物或者落入水中,也可能遇到其他情况,可能不能完全按照轨迹模板所示的曲线来移动,所以真实的模板按照模拟环境信息设置才是最准确的。
与现有技术中人工制作移动轨迹复杂度高,机器计算经常得到不符合当前场景的移动轨迹相比,本发明实施例提供的确定移动轨迹的方法,用户设备确定第一模拟对象的对象指令作用于第二模拟对象的作用效果;所述用户设备获取与所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息;所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。可以根据被作用模拟对象当前所处的环境确定移动轨迹,使用很小的计算量就可以实现对被作用模拟对象的移动轨迹的真实模拟。
在本发明的一个实施例中,服务器确定第二模拟对象的落地位置,生成第二模拟对象的落地位置信息,并将该落地位置信息发送到用户设备。用户设备接收该第二模拟对象的落地位置信息;并基于该落地位置信息,根据模拟环境信息和轨迹模板确定所述第二模拟对象的移动轨迹。
在本发明的一个实施例中,轨迹模板包括对象的预测移动轨迹,其中,所述预测移动轨迹包括主移动轨迹,以及
用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹包括:
所述用户设备根据所述模拟环境信息确定所述预测移动轨迹的所述主移动轨迹。
此外,所述预测移动轨迹还包括辅助移动轨迹,以及所述辅助移动轨迹包括至少两段曲线。
在本发明的一个实施例中,所述用户设备获取所述第二模拟对象所处的模拟环境信息之前,所述方法还包括:
所述用户设备根据所述作用指令作用于所述第二模拟对象的方向确定所述第二模拟对象的移动方向;
所述用户设备根据所述作用效果确定所述第二模拟对象的移动距离;
所述用户设备获取所述第二模拟对象所处的模拟环境信息,包括:
所述用户设备获取在所述移动方向上的,且所述移动距离范围内的模拟环境信息。
具体地,关于确定的真实轨迹可以结合以下几个附图进行理解。
如果第二模拟对象的所处的模拟环境信息都是平地,且没有任何障碍物,则真实的飞行估计就是轨迹模板所示的曲线,如图2所示。
图3为被击飞的模拟对象在击飞的过程中受到另一个击飞攻击的移动轨迹示意图。
这种情况,初始计算的移动轨迹即为图2所示的轨迹模板,但飞行的过程中又收到另外一个击飞,则重新计算出新的移动轨迹。也就是当被击飞的模拟对象在一段击飞的未完成时,受到另一个击飞攻击,那么将取消当前段的表现项,以当前受击点为起点生成了一个新的击飞曲线。
图4为被击飞的模拟对象在击飞的过程中越过低矮障碍物的移动轨迹示意图。
当用户设备确定轨迹模板后,确定第二模拟对象飞行过程中的障碍物较飞行点低,则可以确定第二模拟对象会越过该障碍物,保持原来的轨迹模板所示的曲线完成整个击飞过程。
图5为被击飞的模拟对象在击飞的过程中碰到高的障碍物的移动轨迹示意图。
当用户设备确定轨迹模板后,确定第二模拟对象飞行过程中的障碍物较飞行点高,则可以确定第二模拟对象不能越过该障碍物,会沿着该障碍物下滑,直到计算出可落地的地点,这样真实的移动轨迹就变成了图5中所示的主曲线段未完成,遇到障碍物,沿着障碍物下滑直到落地的移动轨迹。
图6为击飞的路径是上坡的移动轨迹示意图。
如图6所示,如果击飞的路径是上坡,则落地点就会发生变化,真实的移动轨迹就会变成图6所示的曲线。
图7为击飞的路径是上坡的移动轨迹示意图。
如图7所示,如果击飞的路径是下坡,则落地点就会发生变化,真实的移 动轨迹就会变成图7所示的曲线。
如果击飞落地后会掉入水中,则第二模拟对象会在水中起伏。在这种情况下,服务器计算的落地位置仅为第二模拟对象落入水中的位置,生成位置信息,并将该位置信息发送到用户设备。用户设备接收到所述位置信息后,确定移动轨迹。此外,所述用户设备根据浮力计算公式,确定第二模拟对象在水中的起伏。具体地,第二模拟对象落入水中后会受到向下的重力,向上的浮力和向上的粘滞阻力,重力是不变的,浮力和粘滞阻力都是随着第二模拟对象落入水中的深度发生变化的,所以,第二模拟对象会在水中表现出起伏。
另外,本发明实施例中,轨迹模板还包括声音信息,以及
所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹包括:
所述用户设备根据所述模拟环境信息确定所述声音信息。
以上实施例中,重点讲述了移动轨迹,实际上在轨迹模板上还配置有动画、音效和特效等。
参阅图8,本发明实施例提供的移动轨迹校验的***的一实施例包括:第一用户设备、多个第二用户设备(图中只是以两个为例进行说明,实际上可以只包括一个,也可以包括很多个)和服务器。
所述第一用户设备用于:确定第一模拟对象的对象指令作用于第二模拟对象的作用效果;从预先设定的轨迹模板集中获取与所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息;根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹;向所述服务器发送确定的所述第二模拟对象的移动轨迹;
所述服务器用于:校验所述移动轨迹;
当所述移动轨迹合理时,向所述第一用户设备发送响应消息,所述响应消息用于指示所述第一用户设备控制所述第二模拟对象按照所述移动轨迹移动;
当所述移动轨迹不合理时,生成新的移动轨迹,向所述第一用户设备发 送所述新的移动轨迹,使所述第一用户设备控制所述第二模拟对象按照所述新的移动轨迹移动。
可选地,所述服务器还用于:
当所述移动轨迹合理时,向每个第二用户设备发送所述移动轨迹和所述第二模拟对象的标识,使得所述每个第二用户设备都分别控制所述第二模拟对象按照所述移动轨迹移动;
当所述移动轨迹不合理时,向所述每个第二用户设备发送所述新的移动轨迹和所述第二模拟对象的标识,使所述每个第二用户设备控制所述第二模拟对象按照所述新的移动轨迹移动
本发明实施例中提供的移动轨迹校验的***可以确保配置参数不被恶意修改,确保移动轨迹都是合理的,另外,服务器还可以控制各个用户设备上的画面都是同步的。
参阅图9,本发明实施例提供的移动轨迹校验的***的另一实施例包括:
201、第一用户设备确定第一模拟对象的对象指令作用于第二模拟对象的作用效果。
202、第一用户设备取与所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息。
203、第一用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
204、第一用户设备向服务器发送确定的所述第二模拟对象的移动轨迹。
205、服务器校验所述第二模拟对象的移动轨迹,当校验合理时,执行步骤206-209,当校验不合理时,执行步骤210-214。
206、服务器向第一用户设备发送响应消息。
207、服务器向第二用户设备发送第二模拟对象的移动轨迹和第二模拟对象的标识。
208、第一用户设备根据所述响应消息控制所述第二模拟对象按照所述移动轨迹移动。
209、第二用户设备控制所述第二模拟对象按照所述移动轨迹移动。
第二用户设备可以有多个,图9中只是画出一个做示例性说明。
210、当校验合理时,服务器生成新的移动轨迹。
211、服务器向第一用户设备发送新的移动轨迹。
212、服务器向第一用户设备发送新的移动轨迹和第二模拟对象的标识。
213、第一用户设备控制所述第二模拟对象按照新的移动轨迹移动。
214、第二用户设备控制所述第二模拟对象按照新的移动轨迹移动。
本发明实施例中提供的移动轨迹校验的***可以确保配置参数不被恶意修改,确保移动轨迹都是合理的,另外,服务器还可以控制各个用户设备上的画面都是同步的。
参阅图10,本发明实施例提供的用户设备的一实施例包括:
第一确定单元301,用于确定第一模拟对象的对象指令作用于第二模拟对象的作用效果;
获取单元302,用于从预先设定的轨迹模板集中获取与所述第一确定单元301确定的所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息;以及
第二确定单元303,用于根据所述获取单元302获取的所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
本发明实施例提供的用户设备可以根据被作用模拟对象当前所处的环境确定移动轨迹,使用很小的计算量就可以实现对被作用模拟对象的移动轨迹的真实模拟。
可选地,在上述图10对应的实施例的基础上,本发明实施例提供的用户设备的一个可选实施例中,
所述第一确定单元301用于:确定所述第一模拟对象和所述第二模拟对象之间的距离,根据所述距离确定所述对象指令作用于第二模拟对象的作用效果。
本发明实施例中通过两个模拟对象之间的距离确定对象指令的作用效果,可以提高作用效果的确定效率。
可选地,在上述图10对应的实施例的基础上,在本发明的另一实施例中, 所述用户设备还包括:接收单元,用于接收服务器发送的所述第二模拟对象的落地位置信息,其中,所述落地位置信息用于表示所述第二模拟对象的落地位置。
在本发明的一个实施例中,所述第二确定单元还用于基于所接收的落地位置信息,根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
在本发明的一个实施例中,所述轨迹模板包括对象的预测移动轨迹,其中,所述预测移动轨迹包括主移动轨迹,以及
所述第二确定单元,还用于根据所述模拟环境信息确定所述预测移动轨迹的所述主移动轨迹。
在本发明的一个实施例中,所述轨迹模板包括声音信息,以及
所述第二确定单元,还用于根据所述模拟环境信息确定所述声音信息。
在本发明的一个实施例中,预测移动轨迹还包括辅助移动轨迹,以及所述辅助移动轨迹包括至少两段曲线。
在本发明的一个实施例中,所述获取单元302,用于根据预先配置的各类型作用效果与轨迹模板的对应关系,确定与所述作用效果对应的轨迹模板。
可选地,在本发明实施例提供的用户设备中,所述第一确定单元301,还用于根据所述作用指令作用于所述第二模拟对象的方向确定所述第二模拟对象的移动方向,根据所述作用效果确定所述第二模拟对象的移动距离;
所述获取单元302,用于获取所述第一确定单元301确定的所述移动方向上的,且所述移动距离范围内的模拟环境信息。
本发明实施例中确定作用方向和移动距离缩小了模拟环境信息的获取范围,提高了获取效率。
可选地,在上述用户设备的可选实施例的基础上,本发明实施例提供的用户设备中,所述第二确定单元303,用于根据所述获取单元302获取的所述移动方向上的,且所述移动距离范围内的模拟环境信息调整所述轨迹模板,确定所述第二模拟对象的移动轨迹。
本发明实施例根据动方向上的,且所述移动距离范围内的模拟环境信息 调整轨迹模板,可以确保得到的移动轨迹更准确。
图11是本发明实施例提供的用户设备30的结构示意图。所述用户设备30应用于移动轨迹校验的***,所移动轨迹校验的***包括用户设备和服务器,所述用户设备30包括处理器310、存储器350和输入/输出I/O设备330,存储器350可以包括只读存储器和随机存取存储器,并向处理器310提供操作指令和数据。存储器350的一部分还可以包括非易失性随机存取存储器(NVRAM)。
在一些实施方式中,存储器350存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:
在本发明实施例中,通过调用存储器350存储的操作指令(该操作指令可存储在操作***中),
确定第一模拟对象的对象指令作用于第二模拟对象的作用效果;
从预先设定的轨迹模板集中获取与所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息;
根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
与现有技术中人工制作移动轨迹复杂度高,机器计算经常得到不符合当前场景的移动轨迹相比,本发明实施例提供的用户设备可以根据被作用模拟对象当前所处的环境确定移动轨迹,使用很小的计算量就可以实现对被作用模拟对象的移动轨迹的真实模拟。
处理器310控制用户设备30的操作,处理器310还可以称为CPU(Central Processing Unit,中央处理单元)。存储器350可以包括只读存储器和随机存取存储器,并向处理器310提供指令和数据。存储器350的一部分还可以包括非易失性随机存取存储器(NVRAM)。具体的应用中用户设备30的各个组件通过总线***320耦合在一起,其中总线***320除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线***320。
上述本发明实施例揭示的方法可以应用于处理器310中,或者由处理器 310实现。处理器310可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器310中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器310可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器350,处理器310读取存储器350中的信息,结合其硬件完成上述方法的步骤。
可选地,处理器310用于确定所述第一模拟对象和所述第二模拟对象之间的距离,根据所述距离确定所述对象指令作用于第二模拟对象的作用效果。
可选地,处理器310用于根据预先配置的各类型作用效果与轨迹模板的对应关系,确定与所述作用效果对应的轨迹模板。
可选地,处理器310用于根据所述作用指令作用于所述第二模拟对象的方向确定所述第二模拟对象的移动方向,根据所述作用效果确定所述第二模拟对象的移动距离,获取所述移动方向上的,且所述移动距离范围内的模拟环境信息。
可选地,处理器310用于根据所述移动方向上的,且所述移动距离范围内的模拟环境信息调整所述轨迹模板,确定所述第二模拟对象的移动轨迹。
可选地,I/O设备330用于向所述服务器发送确定的所述第二模拟对象的移动轨迹,使得所述服务器校验所述移动轨迹。
以上的用户设备30可以参阅图1至图10部分的描述进行理解,本处不做过多赘述。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可 读存储介质中,存储介质可以包括:ROM、RAM、磁盘或光盘等。
以上对本发明实施例所提供的确定移动轨迹的方法、用户设备以及***进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (21)

  1. 一种确定移动轨迹的方法,包括:
    用户设备确定第一模拟对象的对象指令作用于第二模拟对象的作用效果;
    所述用户设备从预先设定的轨迹模板集中获取与所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环境信息;以及
    所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
  2. 根据权利要求1所述的方法,其中,所述用户设备确定第一模拟对象的对象指令作用于第二模拟对象的作用效果,包括:
    所述用户设备确定所述第一模拟对象和所述第二模拟对象之间的距离;以及
    所述用户设备根据所述距离确定所述对象指令作用于第二模拟对象的作用效果。
  3. 根据权利要求1所述的方法,还包括:
    所述用户设备接收服务器发送的所述第二模拟对象的落地位置信息,其中,所述落地位置信息用于表示所述第二模拟对象的落地位置。
  4. 根据权利要求3所述的方法,其中,所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹包括:
    所述用户设备基于所接收的落地位置信息,根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
  5. 根据权利要求1所述的方法,其中,所述轨迹模板包括对象的预测移动轨迹,其中,所述预测移动轨迹包括主移动轨迹,以及
    所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹包括:
    所述用户设备根据所述模拟环境信息确定所述预测移动轨迹的所述主移动轨迹。
  6. 根据权利要求5所述的方法,其中,所述轨迹模板包括声音信息,以及
    所述用户设备根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹包括:
    所述用户设备根据所述模拟环境信息确定所述声音信息。
  7. 根据权利要求5所述的方法,其中,所述预测移动轨迹还包括辅助移动轨迹,以及所述辅助移动轨迹包括至少两段曲线。
  8. 根据权利要求1所述的方法,其中,所述用户设备获取与所述作用效果对应的轨迹模板,包括:
    所述用户设备根据预先配置的各类型作用效果与轨迹模板的对应关系,确定与所述作用效果对应的轨迹模板。
  9. 根据权利要求1所述的方法,其特征在于,所述用户设备获取所述第二模拟对象所处的模拟环境信息之前,所述方法还包括:
    所述用户设备根据所述作用指令作用于所述第二模拟对象的方向确定所述第二模拟对象的移动方向;
    所述用户设备根据所述作用效果确定所述第二模拟对象的移动距离;
    所述用户设备获取所述第二模拟对象所处的模拟环境信息,包括:
    所述用户设备获取在所述移动方向上的,且所述移动距离范围内的模拟环境信息。
  10. 根据权利要求9所述的方法,其特征在于,所述用户设备根据所述距离确定所述对象指令作用于第二模拟对象的作用效果包括:
    根据所获取的所述移动方向上的,且所述移动距离范围内的模拟环境信息调整所述轨迹模板,确定所述第二模拟对象的移动轨迹。
  11. 一种用户设备,包括:
    第一确定单元,用于确定第一模拟对象的对象指令作用于第二模拟对象的作用效果;
    获取单元,用于从预先设定的轨迹模板集中获取与所述第一确定单元确定的所述作用效果对应的轨迹模板,并获取所述第二模拟对象所处的模拟环 境信息;
    第二确定单元,用于根据所述获取单元获取的所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
  12. 根据权利要求11所述的用户设备,其中,
    所述第一确定单元还用于:确定所述第一模拟对象和所述第二模拟对象之间的距离,并根据所述距离确定所述对象指令作用于第二模拟对象的作用效果。
  13. 根据权利要求11所述的用户设备,还包括:
    接收单元,用于接收服务器发送的所述第二模拟对象的落地位置信息,其中,所述落地位置信息用于表示所述第二模拟对象的落地位置。
  14. 根据权利要求13所述的用户设备,其中,所述第二确定单元还用于基于所接收的落地位置信息,根据所述模拟环境信息和所述轨迹模板确定所述第二模拟对象的移动轨迹。
  15. 根据权利要求11所述的用户设备,其中,所述轨迹模板包括对象的预测移动轨迹,其中,所述预测移动轨迹包括主移动轨迹,以及
    所述第二确定单元,还用于根据所述模拟环境信息确定所述预测移动轨迹的所述主移动轨迹。
  16. 根据权利要求15所述的用户设备,其中,所述轨迹模板包括声音信息,以及
    所述第二确定单元,还用于根据所述模拟环境信息确定所述声音信息。
  17. 根据权利要求15所述的用户设备,其中,所述预测移动轨迹还包括辅助移动轨迹,以及所述辅助移动轨迹包括至少两段曲线。
  18. 根据权利要求15所述的用户设备,其中,
    所述获取单元,用于根据预先配置的各类型作用效果与轨迹模板的对应关系,确定与所述作用效果对应的轨迹模板。
  19. 根据权利要求11所述的用户设备,其中,
    所述第一确定单元,还用于根据所述作用指令作用于所述第二模拟对象的方向确定所述第二模拟对象的移动方向,根据所述作用效果确定所述第二 模拟对象的移动距离;
    所述获取单元,用于获取所述第一确定单元确定的所述移动方向上的,且所述移动距离范围内的模拟环境信息。
  20. 根据权利要求19所述的用户设备,其特征在于,
    所述第二确定单元,用于根据所述获取单元获取的所述移动方向上的,且所述移动距离范围内的模拟环境信息调整所述轨迹模板,确定所述第二模拟对象的移动轨迹。
  21. 一种非易失性存储介质,存储有操作指令,其中,处理器执行所存储的操作指令时,执行根据权利要求1至10所述的确定移动轨迹的方法。
PCT/CN2017/072541 2016-02-01 2017-01-25 一种确定移动轨迹的方法、及用户设备 WO2017133601A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020187015534A KR102111870B1 (ko) 2016-02-01 2017-01-25 이동 궤적을 결정하는 방법, 및 사용자 장비
JP2018528595A JP6904952B2 (ja) 2016-02-01 2017-01-25 動き軌跡を決定する方法、及びユーザ機器
EP17746921.0A EP3412349B1 (en) 2016-02-01 2017-01-25 Method for determining a movement trace, and user equipment
US15/968,652 US10549196B2 (en) 2016-02-01 2018-05-01 Method for determining movement track, and user equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610071125.2 2016-02-01
CN201610071125.2A CN107019915B (zh) 2016-02-01 2016-02-01 一种确定移动轨迹的方法、用户设备及***

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/968,652 Continuation-In-Part US10549196B2 (en) 2016-02-01 2018-05-01 Method for determining movement track, and user equipment

Publications (1)

Publication Number Publication Date
WO2017133601A1 true WO2017133601A1 (zh) 2017-08-10

Family

ID=59499425

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/072541 WO2017133601A1 (zh) 2016-02-01 2017-01-25 一种确定移动轨迹的方法、及用户设备

Country Status (6)

Country Link
US (1) US10549196B2 (zh)
EP (1) EP3412349B1 (zh)
JP (1) JP6904952B2 (zh)
KR (1) KR102111870B1 (zh)
CN (1) CN107019915B (zh)
WO (1) WO2017133601A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305330A (zh) * 2018-01-15 2018-07-20 石化盈科信息技术有限责任公司 一种3d场景的展示方法及用于3d场景展示的电子设备
CN113509729A (zh) * 2021-05-20 2021-10-19 腾讯科技(深圳)有限公司 虚拟道具的控制方法、装置、计算机设备及存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11003183B2 (en) * 2017-09-13 2021-05-11 Baidu Usa Llc Driving scene based path planning for autonomous driving vehicles
CN107837530B (zh) * 2017-11-06 2021-11-16 网易(杭州)网络有限公司 游戏同步方法、装置及设备
CN108429793B (zh) * 2018-02-11 2021-10-08 鲸彩在线科技(大连)有限公司 载具物理模拟方法、***、客户端、电子设备以及服务器
CN110170169B (zh) * 2019-06-05 2021-03-26 腾讯科技(深圳)有限公司 信息的展示方法和装置、存储介质、电子装置
CN111054074B (zh) * 2019-12-27 2023-04-07 网易(杭州)网络有限公司 游戏中虚拟对象的移动方法、装置及电子设备
CN111068322B (zh) * 2019-12-28 2023-07-04 上海米哈游天命科技有限公司 一种对象移动方法、装置、终端及存储介质
CN110935172B (zh) * 2019-12-30 2021-03-16 腾讯科技(深圳)有限公司 虚拟对象处理方法、装置、***及其存储介质
JP7233399B2 (ja) * 2020-06-23 2023-03-06 任天堂株式会社 ゲームプログラム、ゲーム装置、ゲームシステム、およびゲーム処理方法
CN111784728B (zh) * 2020-06-29 2023-08-22 杭州海康威视数字技术股份有限公司 轨迹处理方法、装置、设备及存储介质
CN112426717A (zh) * 2020-09-21 2021-03-02 成都完美天智游科技有限公司 生成帧数据的方法及装置、存储介质、计算机设备
CN112619164B (zh) * 2020-12-22 2023-05-02 上海米哈游天命科技有限公司 发射目标飞行高度的确定方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016194A1 (en) * 2000-07-31 2002-02-07 Konami Computer Entertainment Osaka, Inc. Computer-readable recording medium whereon a game procedure control program is recorded, server, and game procedure control method
JP2005095387A (ja) * 2003-09-25 2005-04-14 Dimps:Kk ゲーム装置及びコンピュータを機能させるためのプログラム
CN1681566A (zh) * 2002-09-19 2005-10-12 科乐美电脑娱乐东京股份有限公司 游戏装置、游戏控制方法、程序、其配送装置及信息存储媒体
JP2011142997A (ja) * 2010-01-13 2011-07-28 Konami Digital Entertainment Co Ltd ゲーム装置、ゲーム制御方法、ならびに、プログラム
CN104225917A (zh) * 2013-06-06 2014-12-24 苏州蜗牛数字科技股份有限公司 基于网络游戏的3d武侠战斗方法

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08289979A (ja) * 1995-04-21 1996-11-05 Taito Corp 風の影響を加味したゴルフゲーム機
JP3433380B2 (ja) * 2000-06-07 2003-08-04 株式会社スクウェア・エニックス 球技系ゲームのプログラムを記録したコンピュータ読み取り可能な記録媒体、球技系ゲーム処理装置およびその方法
JP4343000B2 (ja) * 2004-03-30 2009-10-14 株式会社バンダイナムコゲームス プログラム、情報記憶媒体及びゲーム装置
JP4125758B2 (ja) * 2006-02-27 2008-07-30 株式会社スクウェア・エニックス ビデオゲーム処理装置、ビデオゲーム処理方法、およびビデオゲーム処理プログラム
JP4377415B2 (ja) * 2007-01-29 2009-12-02 株式会社バンダイナムコゲームス ゲーム装置及び情報記憶媒体
KR100970172B1 (ko) * 2009-11-30 2010-07-14 (주) 골프존 가상 골프 시뮬레이션 장치 및 그 방법
US11027193B2 (en) * 2013-07-01 2021-06-08 Flyingtee Tech, Llc Two-environment game play system
WO2015002983A1 (en) * 2013-07-01 2015-01-08 Origin, Llc Two-environment game play system
JP5712400B1 (ja) * 2014-08-22 2015-05-07 株式会社パオン ゲームプログラム及びゲーム装置
CN105046059B (zh) * 2015-06-24 2017-09-29 深圳市腾讯计算机***有限公司 游戏运动轨迹确定方法及装置
US20160378204A1 (en) * 2015-06-24 2016-12-29 Google Inc. System for tracking a handheld device in an augmented and/or virtual reality environment
WO2017045072A1 (en) 2015-09-17 2017-03-23 Zincnyx Energy Solutions Inc. Metal-air fuel cell
EP3296950A1 (en) * 2016-09-15 2018-03-21 Thomson Licensing Method and device for blurring a virtual object in a video

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020016194A1 (en) * 2000-07-31 2002-02-07 Konami Computer Entertainment Osaka, Inc. Computer-readable recording medium whereon a game procedure control program is recorded, server, and game procedure control method
CN1681566A (zh) * 2002-09-19 2005-10-12 科乐美电脑娱乐东京股份有限公司 游戏装置、游戏控制方法、程序、其配送装置及信息存储媒体
JP2005095387A (ja) * 2003-09-25 2005-04-14 Dimps:Kk ゲーム装置及びコンピュータを機能させるためのプログラム
JP2011142997A (ja) * 2010-01-13 2011-07-28 Konami Digital Entertainment Co Ltd ゲーム装置、ゲーム制御方法、ならびに、プログラム
CN104225917A (zh) * 2013-06-06 2014-12-24 苏州蜗牛数字科技股份有限公司 基于网络游戏的3d武侠战斗方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3412349A4 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305330A (zh) * 2018-01-15 2018-07-20 石化盈科信息技术有限责任公司 一种3d场景的展示方法及用于3d场景展示的电子设备
CN113509729A (zh) * 2021-05-20 2021-10-19 腾讯科技(深圳)有限公司 虚拟道具的控制方法、装置、计算机设备及存储介质
CN113509729B (zh) * 2021-05-20 2023-10-03 腾讯科技(深圳)有限公司 虚拟道具的控制方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
CN107019915B (zh) 2018-09-07
JP6904952B2 (ja) 2021-07-21
EP3412349A4 (en) 2019-08-21
KR20180078297A (ko) 2018-07-09
CN107019915A (zh) 2017-08-08
US20180243653A1 (en) 2018-08-30
JP2019505255A (ja) 2019-02-28
US10549196B2 (en) 2020-02-04
EP3412349B1 (en) 2023-01-11
EP3412349A1 (en) 2018-12-12
KR102111870B1 (ko) 2020-05-15

Similar Documents

Publication Publication Date Title
WO2017133601A1 (zh) 一种确定移动轨迹的方法、及用户设备
US10722802B2 (en) Augmented reality rhythm game
US7847808B2 (en) Photographic mapping in a simulation
US8734214B2 (en) Simulation of sporting events in a virtual environment
JP6286410B2 (ja) ゲーム方法およびゲームシステム
US10449458B2 (en) Skill matching for a multiplayer session
WO2022000971A1 (zh) 运镜模式的切换方法及装置、计算机程序、可读介质
JP2022141691A (ja) 没入型かつ反応型ゲームプレイの練習場、システムおよび方法
US20190381355A1 (en) Sport range simulator
CN115668138A (zh) 利用活动的现实世界数据的现实世界活动模拟增强
CN105771221A (zh) 足球模拟***
US20230021105A1 (en) Simulation system, simulation method, and simulation program for character operation in a virtual space
TWI450264B (zh) 用於模擬中之圖像對映的方法及電腦程式產品
CN113117327A (zh) 增强现实互动控制方法、装置、电子设备和存储介质
Moh et al. Game Cinematography: Towards Understanding Relationship between Spatial Distortion and Game-play
KR20210032838A (ko) 감정을 이용한 게임 장치 및 방법
Tuker et al. The 1980s: Level 1, Beginner
US20240115919A1 (en) Systems and methods for football training
KR102109141B1 (ko) 골프 게임 타수별 점수 규칙 설정 방법
Raut et al. SpinTopAR: Multiplayer Augmented Reality Game for Smartphones
KR101540461B1 (ko) 시나리오를 이용한 시뮬레이션 방법 및 시스템
Liu Meme Culture Shapes Rules Design in Games
Park et al. Challenges in Using Drone Swarms as Video Game Platforms
KR101540460B1 (ko) 실시간 중계를 위한 시뮬레이션 방법 및 시스템
JP2015173976A (ja) ゲーム方法およびゲームシステム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17746921

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20187015534

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2018528595

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE