CN113769405B - Object control method and device - Google Patents

Object control method and device Download PDF

Info

Publication number
CN113769405B
CN113769405B CN202111078792.0A CN202111078792A CN113769405B CN 113769405 B CN113769405 B CN 113769405B CN 202111078792 A CN202111078792 A CN 202111078792A CN 113769405 B CN113769405 B CN 113769405B
Authority
CN
China
Prior art keywords
virtual
virtual character
absolute position
carrier
coordinate system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111078792.0A
Other languages
Chinese (zh)
Other versions
CN113769405A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202111078792.0A priority Critical patent/CN113769405B/en
Publication of CN113769405A publication Critical patent/CN113769405A/en
Application granted granted Critical
Publication of CN113769405B publication Critical patent/CN113769405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/65Methods for processing data by generating or executing the game program for computing the condition of a game character
    • 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/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/8017Driving on land or water; Flying

Landscapes

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

Abstract

The embodiment of the application provides an object control method and device, wherein the method comprises the following steps: a first absolute position of the virtual vehicle under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment are obtained. And acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier. And determining a fourth absolute position of the virtual character under a preset coordinate system at a second moment according to the first absolute position, the second absolute position, the third absolute position and the second movement information of the virtual character. And rendering the position of the virtual carrier at the second moment in time on the graphical user interface according to the third absolute position, and rendering the position of the virtual character at the second moment in time on the graphical user interface according to the fourth absolute position. The virtual character moves under the world coordinate system, so that the virtual character can upload and download the virtual carrier at any time, and the comprehensiveness of game operation is effectively improved.

Description

Object control method and device
Technical Field
The embodiment of the application relates to a computer technology, in particular to an object control method and device.
Background
With the continuous development of mobile communication technology, more and more mobile terminal games are currently emerging.
There is a class of games in which there are virtual characters and virtual vehicles, such as virtual boats, virtual vehicles, etc., in which the virtual characters may be located on the virtual vehicles to achieve the seating of the virtual characters on the virtual vehicles. However, when the virtual vehicle is moving, the virtual character cannot leave the virtual vehicle at any time, and cannot ride the virtual vehicle at any time.
Thus, in current implementations of such games, there is a problem in that the game operations lack comprehensiveness.
Disclosure of Invention
The embodiment of the application provides an object control method and device, which are used for solving the problem that the game operation lacks comprehensiveness.
In a first aspect, an embodiment of the present application provides an object control method, where a graphical user interface is provided by a terminal device, where the graphical user interface includes a virtual carrier and a virtual character, and the method includes:
Acquiring a first absolute position of the virtual carrier under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment;
Acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier;
determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the first absolute position, the second absolute position, the third absolute position and second movement information of the virtual character;
Rendering a position of the virtual vehicle at the second moment in time on the graphical user interface according to the third absolute position, and rendering a position of the virtual character at the second moment in time on the graphical user interface according to the fourth absolute position.
In one possible design, the determining, according to the first absolute position, the second absolute position, the third absolute position, and second movement information of the virtual character, a fourth absolute position of the virtual character in the preset coordinate system at the second moment includes:
Determining a first relative position of the virtual character with respect to the virtual vehicle according to the second absolute position and the first absolute position;
determining a fifth absolute position of the virtual character in the preset coordinate system according to the third absolute position and the first relative position, wherein the relative position of the fifth absolute position relative to the third absolute position is the first relative position;
and determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the second movement information of the virtual character and the fifth absolute position.
In one possible design, the second movement information includes a movement direction and a movement distance; determining a fourth absolute position of the virtual character in the preset coordinate system at the second moment according to the second movement information of the virtual character and the fifth absolute position, wherein the fourth absolute position comprises the following steps:
And updating the fifth absolute position according to the moving direction of the virtual character and the moving distance of the virtual character to obtain a fourth absolute position of the virtual character under the preset coordinate system at the second moment.
In one possible design, the method further comprises:
Determining a first positional relationship between the virtual character and the virtual vehicle according to the third absolute position and the fourth absolute position, wherein the first positional relationship indicates that the virtual character is positioned on the virtual vehicle or the virtual character is not positioned on the virtual vehicle;
If the first position relation indicates that the virtual character is located on the virtual carrier, determining the carrier identification corresponding to the virtual character by the identification of the virtual carrier;
and if the first position relation indicates that the virtual character is not located on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
In one possible design, determining the identifier of the virtual carrier to be the carrier identifier corresponding to the virtual character includes:
acquiring a second position relation between the virtual character and the virtual carrier at the first moment;
and if the second position relation indicates that the virtual character is not located on the virtual carrier, determining the carrier identification corresponding to the virtual character by the identification of the virtual carrier.
In one possible design, determining that the carrier identifier corresponding to the virtual character is empty includes:
acquiring a second position relation between the virtual character and the virtual carrier at the first moment;
And if the second position relation indicates that the virtual character is positioned on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
In one possible design, after the determining the identifier of the virtual carrier to the carrier identifier corresponding to the virtual character, the method further includes:
Sending first synchronization information to a server so that the server sends the first synchronization information to at least one second terminal device, wherein the at least one second terminal device and the terminal device are in the same game scene, and the first synchronization information comprises at least one of the following: and the virtual character corresponds to the carrier identifier and the first relative position of the virtual character relative to the virtual carrier.
In one possible design, after the determining the identifier of the virtual carrier to the carrier identifier corresponding to the virtual character, the method further includes:
Transmitting second synchronization information to a server so that the server transmits the second synchronization information to at least one second terminal device, wherein the at least one second terminal device and the terminal device are in the same game scene, and the second synchronization information comprises at least one of the following: the virtual character display method comprises the steps of first indication information and an absolute position of the virtual character at the current moment under the preset coordinate system, wherein the first indication information is used for indicating that a carrier mark corresponding to the virtual character is empty.
In a second aspect, an embodiment of the present application provides an object control apparatus, which provides a graphical user interface through a terminal device, where the graphical user interface includes a virtual carrier and a virtual character, and includes:
the virtual character comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring a first absolute position of the virtual carrier under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment;
the acquisition module is further used for acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier;
the determining module is used for determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the first absolute position, the second absolute position, the third absolute position and second movement information of the virtual character;
and the display module is used for rendering the position of the virtual carrier at the second moment in the graphical user interface according to the third absolute position and rendering the position of the virtual character at the second moment in the graphical user interface according to the fourth absolute position.
In one possible design, the determining module is specifically configured to:
Determining a first relative position of the virtual character with respect to the virtual vehicle according to the second absolute position and the first absolute position;
determining a fifth absolute position of the virtual character in the preset coordinate system according to the third absolute position and the first relative position, wherein the relative position of the fifth absolute position relative to the third absolute position is the first relative position;
and determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the second movement information of the virtual character and the fifth absolute position.
In one possible design, the determining module is specifically configured to:
And updating the fifth absolute position according to the moving direction of the virtual character and the moving distance of the virtual character to obtain a fourth absolute position of the virtual character under the preset coordinate system at the second moment.
In one possible design, the determining module is further configured to:
Determining a first positional relationship between the virtual character and the virtual vehicle according to the third absolute position and the fourth absolute position, wherein the first positional relationship indicates that the virtual character is positioned on the virtual vehicle or the virtual character is not positioned on the virtual vehicle;
If the first position relation indicates that the virtual character is located on the virtual carrier, determining the carrier identification corresponding to the virtual character by the identification of the virtual carrier;
and if the first position relation indicates that the virtual character is not located on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
In one possible design, the determining module is specifically configured to:
acquiring a second position relation between the virtual character and the virtual carrier at the first moment;
and if the second position relation indicates that the virtual character is not located on the virtual carrier, determining the carrier identification corresponding to the virtual character by the identification of the virtual carrier.
In one possible design, the determining module is specifically configured to:
acquiring a second position relation between the virtual character and the virtual carrier at the first moment;
And if the second position relation indicates that the virtual character is positioned on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
In one possible design, the apparatus further comprises: a first synchronization module;
The first synchronization module is specifically configured to:
after the identifier of the virtual carrier determines the carrier identifier corresponding to the virtual character, first synchronization information is sent to a server, so that the server sends the first synchronization information to at least one second terminal device, the at least one second terminal device and the terminal device are in the same game scene, and the first synchronization information comprises at least one of the following steps: and the virtual character corresponds to the carrier identifier and the first relative position of the virtual character relative to the virtual carrier.
In one possible design, the apparatus further comprises: a second synchronization module;
the second synchronization module is specifically configured to:
After the identifier of the virtual carrier determines the carrier identifier corresponding to the virtual character, second synchronization information is sent to a server, so that the server sends the second synchronization information to at least one second terminal device, the at least one second terminal device and the terminal device are in the same game scene, and the second synchronization information comprises at least one of the following steps: the virtual character display method comprises the steps of first indication information and an absolute position of the virtual character at the current moment under the preset coordinate system, wherein the first indication information is used for indicating that a carrier mark corresponding to the virtual character is empty.
In a third aspect, an embodiment of the present application provides an object control apparatus, including:
a memory for storing a program;
A processor for executing the program stored by the memory, the processor being adapted to perform the method of the first aspect and any of the various possible designs of the first aspect as described above when the program is executed.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect above and any of the various possible designs of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method according to the first aspect and any of the various possible designs of the first aspect.
The embodiment of the application provides an object control method and device, wherein the method comprises the following steps: a first absolute position of the virtual vehicle under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment are obtained. And acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier. And determining a fourth absolute position of the virtual character under a preset coordinate system at a second moment according to the first absolute position, the second absolute position, the third absolute position and the second movement information of the virtual character. And rendering the position of the virtual carrier at the second moment in time on the graphical user interface according to the third absolute position, and rendering the position of the virtual character at the second moment in time on the graphical user interface according to the fourth absolute position. The method and the device can ensure that the movement of the virtual character and the virtual carrier are carried out based on the world coordinate system by determining the fourth absolute position of the virtual character under the world coordinate system and determining the third absolute position of the virtual carrier under the world coordinate system, and simultaneously, the movement of the virtual character is determined based on the movement of the virtual carrier and further according to the second movement information.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic view of a scenario of an object control method according to an embodiment of the present application;
FIG. 2 is a flowchart of an object control method according to an embodiment of the present application;
FIG. 3 is a second flowchart of an object control method according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating movement of a virtual object and a virtual carrier according to an embodiment of the present application;
FIG. 5 is a second schematic diagram of movement of a virtual object and a virtual carrier according to an embodiment of the present application;
Fig. 6 is a third schematic diagram of movement of a virtual object and a virtual carrier according to an embodiment of the present application;
FIG. 7 is a flowchart III of an object control method according to an embodiment of the present application;
fig. 8 is a schematic diagram of a first implementation of determining a carrier identifier corresponding to a virtual role according to an embodiment of the present application;
Fig. 9 is a second implementation schematic diagram for determining a carrier identifier corresponding to a virtual role according to an embodiment of the present application;
Fig. 10 is a third implementation schematic diagram for determining a carrier identifier corresponding to a virtual role according to the embodiment of the present application;
fig. 11 is a schematic implementation diagram fourth for determining a carrier identifier corresponding to a virtual role according to an embodiment of the present application;
fig. 12 is a schematic diagram of an implementation of sending synchronization information according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an object control device according to an embodiment of the present application;
fig. 14 is a schematic hardware structure of an object control device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to better understand the technical scheme of the application, the related technology related to the application is further described in detail.
The object control method in the embodiment of the application can be operated on local terminal equipment or a cloud interaction system.
The cloud interaction system comprises a cloud server and user equipment and is used for running cloud applications. Cloud applications run separately.
In an alternative embodiment, cloud gaming refers to a game style based on cloud computing. In the running mode of the cloud game, a running main body of the game program and a game picture presentation main body are separated, the storage and the running of the object control method are completed on a cloud game server, and the functions of a cloud game client are used for receiving and sending data and presenting game pictures, for example, the cloud game client can be a display device with a data transmission function, such as a mobile terminal, a television, a computer, a palm computer and the like, which is close to a user side; but the cloud game server that performs game data processing is a cloud. When playing a game, a player operates the cloud game client to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the cloud game client through a network, and finally decodes the data through the cloud game client and outputs the game pictures.
In an alternative embodiment, the local terminal device stores a game program and is used to present game pictures. The local terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
The terminal device in this embodiment may be, for example, a mobile phone (or referred to as a "cellular" phone), a tablet computer, or may also be a computer device, a portable device, a pocket device, a hand-held device, a mobile device or a device with a built-in computer, etc., where no particular limitation is imposed, and the specific implementation of the terminal device may be selected according to actual requirements, so long as the above-described corresponding conditions are satisfied and the object control method in the present application may be executed.
In order to better understand the technical scheme of the application, the related technology related to the application is further described in detail.
With the continuous development of mobile communication technology, more and more mobile terminal games are emerging, wherein the mobile terminal games are of various types. There is currently a type of mobile terminal game in which there are virtual characters and virtual vehicles, wherein the virtual characters can be located on the virtual vehicles to realize that the virtual characters ride on the virtual vehicles.
For example, it may be understood with reference to fig. 1, where fig. 1 is a schematic view of a scenario of an object control method according to an embodiment of the present application.
As shown in fig. 1, it is assumed that a virtual character 101 and a virtual vehicle 102 are included in a graphical user interface of a game, wherein the virtual character 101 may be located on the virtual vehicle 102 as shown in fig. 1 to implement the virtual character 101 riding on the virtual vehicle 102.
In the actual implementation process, the virtual character may be, for example, a virtual character, a virtual animal, a virtual object, and the like, and the virtual vehicle may be, for example, a virtual ship, a virtual vehicle, a virtual plane, and the like, and the implementation manner of the virtual character and the virtual vehicle is not particularly limited in this embodiment, and may be selected according to the actual game design and the game scene, so long as the virtual character can be implemented to ride on the virtual vehicle.
Taking the example of a virtual vehicle as a watercraft, it will be appreciated that a virtual character may be moved on a moving watercraft, but in current game implementations, the virtual character cannot leave the vehicle at any time while the virtual vehicle is moving, nor can it ride the vehicle at any time.
For example, the virtual carrier is a ship, and the virtual character can move on the ship during the movement process of the ship, but the virtual character can not get on or off the ship at any time, and can get on or off the ship only after the ship stops moving.
Thus, in the current game including the virtual character and the virtual carrier, there is a problem that the game operation lacks comprehensiveness.
In the prior art, the virtual character cannot be moved away from or on the virtual vehicle at any time because the movement of the virtual character is actually based on the movement under the local coordinate system of the ship when the virtual character is on the virtual vehicle. It will be appreciated that when the avatar is located on the virtual vehicle, the avatar is actually located under the local coordinate system of the virtual vehicle, wherein the avatar may move randomly on the virtual vehicle based on this local coordinate system of the virtual vehicle. Meanwhile, when the virtual carrier moves, the local coordinate system of the corresponding virtual carrier also moves correspondingly, and because the virtual character is located under the local coordinate system of the virtual carrier, the virtual character also moves synchronously along with the movement of the local coordinate system.
Therefore, when the virtual character is positioned on the virtual carrier, the virtual character is positioned under the local coordinate system of the virtual carrier, and the movement of the virtual character along with the virtual carrier and the movement of the virtual carrier relative to the virtual carrier can be effectively realized.
Meanwhile, it can be understood that when the virtual character is going to be launched on the virtual carrier, the virtual character needs to be switched from the local coordinate system to the world coordinate system, but in the moving process of the virtual carrier, because the local coordinate system of the virtual carrier is continuously moving, the dependence of the virtual character on the local coordinate system of the virtual carrier cannot be quickly stopped, and the position of the current virtual character in the world coordinate system cannot be quickly determined, so that the conversion of the coordinate system cannot be timely realized at the moment.
Similarly, if the virtual character is not to be carried out on the virtual carrier, the virtual character needs to be switched from the world coordinate system to the local coordinate system, but in the moving process of the virtual carrier, because the local coordinate system of the virtual carrier is continuously moving, the dependency relationship of the virtual character on the local coordinate system of the virtual carrier cannot be quickly established, and the position of the current virtual character in the local coordinate system cannot be quickly determined, so that the conversion of the coordinate system cannot be timely realized at the moment. Therefore, in the current game implementation, the virtual carrier is not supported to be randomly up and down by the virtual character in the moving process of the virtual carrier.
Aiming at the problems in the prior art, the application provides the following technical conception: the movement of the virtual character and the movement of the virtual carrier are completed under a world coordinate system, the local coordinates of the virtual character relative to the virtual carrier can be determined based on the world coordinates of the virtual character and the world coordinates of the virtual carrier, and then the virtual character moves correspondingly according to the corresponding local coordinates when the virtual carrier moves, so that the situation that the virtual character and the virtual carrier can synchronously move can be ensured, and the virtual character and the virtual carrier move based on the world coordinate system, even if the virtual character wants to get on or off a ship in the moving process of the virtual carrier, the coordinate system is not required to be converted, and the virtual carrier can be effectively lifted up or down at will, so that the comprehensiveness of game operation is effectively improved.
On the basis of the above description, the object control method provided by the present application is described below with reference to specific embodiments, and first, an application scenario of the present application is further described with reference to fig. 1.
The object control method provided in this embodiment may provide a graphical user interface through a terminal device, where the terminal device may be the aforementioned local terminal device or may be a client device in the aforementioned cloud interaction system. The graphical user interface refers to a computer-operated user interface displayed in a graphical manner, which allows a user to manipulate icons or menu controls on a screen using an input device, such as a mouse, a touch screen, or the like, and the user performs operations through the graphical user interface during a game to interact with a client or a server.
In this embodiment, the graphical user interface includes a game frame, where the game frame includes at least one virtual character and at least one virtual carrier, and implementation manners of the virtual character and the virtual carrier are described above, which are not described herein again.
The terminal device may be the aforementioned local terminal device, or may be the aforementioned cloud game client.
On the basis of the above-described application scenario, the object control method provided by the present application is described below with reference to fig. 2, and fig. 2 is a flowchart of the object control method provided by the embodiment of the present application.
As shown in fig. 2, the method includes:
s201, acquiring a first absolute position of the virtual carrier under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment.
It will be appreciated that the game frames displayed in the gui are displayed in a frame-by-frame manner, and when determining the movement of the virtual character and the virtual carrier, the processing may be performed in a frame unit, and in this embodiment, a frame may correspond to a time, for example, so that it is assumed that the first time and the second time are corresponding to the frames of the adjacent frames, and that the second time is after the first time, then when determining the positions of the virtual character and the virtual carrier at the second time, for example, the positions of the virtual character and the virtual carrier at the first time may be determined according to the positions of the virtual character and the virtual carrier at the first time.
In this embodiment, therefore, the first time and the second time may be arbitrary times as long as the first time and the second time are times corresponding to adjacent frame pictures and the second time is after the first time.
In one possible implementation, for example, a first absolute position of the virtual vehicle under a preset coordinate system at a first moment may be obtained, and a second absolute position of the virtual character under the preset coordinate system may be obtained, where the preset coordinate system may be, for example, a world coordinate system of the game, so that both the current first absolute position and the second absolute position may be positions under the world coordinate system.
S202, acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier.
In this embodiment, when determining the movement of the virtual carrier, for example, first movement information of the virtual carrier may also be obtained, where the first movement information may indicate, for example, whether the position of the virtual carrier is moved, and if so, the first movement information may include, for example, a movement direction and a movement distance of the virtual carrier.
And, for example, second movement information of the virtual character may be obtained, where the second movement information may indicate, for example, whether the position of the virtual character is moved, and if so, the second movement information may include, for example, a movement direction and a movement distance of the virtual character.
In one possible implementation, whether the first movement information of the virtual vehicle or the second movement information of the virtual character, it may be determined according to an operation of the user, for example, the operation of the movement control by the user may be detected, so as to determine the first movement information and/or the second movement information; or the movement information may also be determined according to a preset setting of the game, for example, setting a boat or a virtual character to move in a preset game scenario according to the preset movement information.
The specific implementation manner of acquiring the first movement information and the second movement information is not limited in this embodiment, and the specific implementation manner may be selected and set according to actual requirements, so long as the first movement information may indicate movement of the virtual carrier according to the introduced content, and the second movement information may indicate movement of the virtual character according to the introduced content.
After determining the first absolute position of the virtual carrier, a third absolute position of the virtual carrier in the preset coordinate system at the second moment can be obtained according to the first movement information.
It may be understood that the first movement information may indicate whether the position of the virtual carrier moves, and if so, the first movement information may indicate a direction and a distance of the movement, and for example, the first movement information may be first used to determine whether the position of the virtual carrier moves.
In one possible implementation manner, if it is determined that the position of the virtual carrier moves, for example, a third absolute position of the virtual carrier under the preset coordinate system may be determined based on the first absolute position according to the moving direction and the moving distance indicated by the first movement information.
For example, if the moving direction is the north direction and the moving distance is 30, the position with the distance of 30 in the north direction of the first absolute position may be determined as the third absolute position, where the unit of the moving distance may be selected according to the actual requirement. In the actual implementation process, the moving direction and the moving distance can be selected according to actual requirements, which is not limited in this embodiment.
In another possible implementation, if it is determined that the position of the virtual carrier is not moving, it may be determined that the third absolute position and the first absolute position are equal, for example.
S203, determining a fourth absolute position of the virtual character under a preset coordinate system at a second moment according to the first absolute position, the second absolute position, the third absolute position and the second movement information of the virtual character.
It will be appreciated that during game implementation, the virtual character moves synchronously with the virtual carrier when the virtual character is located on the virtual carrier. If the virtual character does not move relative to the virtual carrier, if the virtual carrier moves, the virtual character also needs to move correspondingly so as to ensure that the virtual character can be positioned on the virtual carrier; and if the virtual character moves relative to the virtual carrier, the virtual character also needs to correspondingly move on the basis of the movement of the virtual carrier so as to ensure that the virtual character correspondingly moves on the virtual carrier.
That is, the change in the position of the virtual character in the present embodiment is actually determined according to the movement of the virtual vehicle and the movement of the virtual character, so in the present embodiment, after determining the second absolute position of the virtual character and the second movement information of the virtual character, the fourth absolute position of the virtual character in the preset coordinate system may be determined according to, for example, the first absolute position of the virtual vehicle, the second absolute position of the virtual character, the third absolute position of the virtual vehicle, and the second movement information of the virtual character.
It may be understood that the second movement information may indicate whether the position of the virtual character moves, where whether the position of the virtual character indicated by the second movement information moves indicates whether there is a corresponding instruction or a corresponding operation triggers the virtual character to move, if so, the second movement information may indicate the direction and the distance of the movement, and then, for example, the second movement information may first determine whether the position of the virtual character moves according to the second movement information.
In one possible implementation manner, if it is determined that the position of the virtual character changes, for example, the synchronous movement of the virtual character may be determined according to the movement of the virtual carrier, and then, based on the synchronous movement relative to the virtual carrier, the fourth absolute position of the virtual character under the preset coordinate system may be determined according to the movement direction and the movement distance indicated by the second movement information.
In another possible implementation manner, if it is determined that the position of the virtual character does not move, for example, a fourth absolute position of the virtual character under the preset coordinate system may be determined according to the third absolute position of the virtual vehicle, where the current second movement information indicates that the position of the virtual character does not move, that is, there is no corresponding operation or instruction to trigger the movement of the virtual character, but because the virtual character is located on the virtual vehicle, the virtual character needs to determine the corresponding position along with the movement information of the virtual vehicle.
S204, rendering the position of the virtual carrier at the second moment in the graphical user interface according to the third absolute position, and rendering the position of the virtual character at the second moment in the graphical user interface according to the fourth absolute position.
After determining the third absolute position of the virtual traffic in the preset coordinate system, the position of the virtual vehicle at the second moment can be rendered in the graphical user interface according to the third absolute position, and after determining the fourth absolute position of the virtual character in the preset coordinate system, the position of the virtual character at the second moment can be rendered in the graphical user interface according to the fourth absolute position, wherein both the third absolute position and the fourth absolute position are based on the world coordinate system, and therefore the virtual character and the virtual vehicle in the embodiment can move correspondingly based on the world coordinate system.
It can be understood from the above description that the position movement of the virtual carrier can be determined directly according to the first movement information, but the position movement of the virtual character is determined based on the movement of the virtual carrier and then according to the second movement information, so as to ensure that the virtual character can synchronously move along with the virtual carrier. Meanwhile, in the embodiment, the virtual character and the virtual carrier are moved under the world coordinate system, so that the scheme provided by the embodiment can ensure that the virtual character and the virtual carrier respectively move under the world coordinate system and effectively ensure that the virtual character moves along with the virtual carrier.
The object control method provided by the embodiment of the application comprises the following steps: a first absolute position of the virtual vehicle under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment are obtained. And acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier. And determining a fourth absolute position of the virtual character under a preset coordinate system at a second moment according to the first absolute position, the second absolute position, the third absolute position and the second movement information of the virtual character. And rendering the position of the virtual carrier at the second moment in time on the graphical user interface according to the third absolute position, and rendering the position of the virtual character at the second moment in time on the graphical user interface according to the fourth absolute position. The method and the device can ensure that the movement of the virtual character and the virtual carrier are carried out based on the world coordinate system by determining the fourth absolute position of the virtual character under the world coordinate system and determining the third absolute position of the virtual carrier under the world coordinate system, and simultaneously, the movement of the virtual character is determined based on the movement of the virtual carrier and further according to the second movement information.
On the basis of the above embodiment, the object control method provided by the present application is described in further detail below with reference to fig. 3 to 6, fig. 3 is a flowchart two of the object control method provided by the embodiment of the present application, fig. 4 is a schematic diagram one of movement of the virtual object and the virtual carrier provided by the embodiment of the present application, fig. 5 is a schematic diagram two of movement of the virtual object and the virtual carrier provided by the embodiment of the present application, and fig. 6 is a schematic diagram three of movement of the virtual object and the virtual carrier provided by the embodiment of the present application.
As shown in fig. 3, the method includes:
S301, acquiring a first absolute position of the virtual carrier under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment.
S302, acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier.
The implementation manner of S302 is similar to the implementation manner of S202 described above, and specific implementation manners are not described herein, and the implementation manner of determining the third absolute position of the virtual carrier according to the first movement information and the first absolute position is described in further detail below with reference to fig. 4.
As shown in fig. 4, by way of example, assuming that the virtual vehicle is the ship shown in fig. 4, and assuming that the preset coordinate system is the x-y coordinate system shown in fig. 4, it is to be understood that the coordinate system shown in fig. 4 is only a coordinate system illustrated herein for convenience of description of the scheme, and in an actual implementation, the preset coordinate system may be, for example, a world coordinate system in a game, for example, a three-dimensional coordinate system, etc., and the specific implementation of the preset coordinate system is not limited, and may be selected according to actual requirements.
Referring to fig. 4, it is assumed that the frame corresponding to the first time is the implementation shown at 401 in fig. 4, and the frame corresponding to the second time is the implementation shown at 402 in fig. 4. Assuming that the position of the virtual carrier is represented by the position of the center point of the virtual carrier, it can be determined based on fig. 4 that, in the frame 401 corresponding to the first moment, the first absolute position of the virtual carrier in the preset coordinate system is the position corresponding to x=a 1,y=y1.
And, assuming that the first movement information of the virtual carrier indicates that the virtual carrier moves and indicates that the movement direction is a direction having an angle of 0 ° with the positive direction of the x-axis), that is, a direction indicated by an arrow a in fig. 4, and indicates that the movement distance is β, a third absolute position of the virtual carrier under the preset coordinate system at the second moment may be determined according to the first movement information and the first absolute position.
As shown in fig. 4, a position corresponding to the moving direction a and having a distance of the first absolute position of the moving distance β may be determined as a third absolute position, as shown in fig. 4, toward the moving direction a, and a position corresponding to the first absolute position (a 1,y1) having a distance of the β of the moving distance β is (a 2,y1) in fig. 4, that is, a position corresponding to x=a 2,y=y1 in fig. 4, wherein a distance between a 1 and a 2 is β.
In the actual implementation process, the specific implementation manner of the first movement information may be selected according to the actual requirement, and this embodiment does not limit the implementation manner, so the specific implementation manner of the third absolute position may also determine the adaptability accordingly, so long as the third absolute position is determined according to the first movement information and the first absolute position.
S303, determining the first relative position of the virtual character relative to the virtual carrier according to the second absolute position and the first absolute position.
Based on the description of the above embodiments, it may be determined that, when determining the position change of the virtual character in the present embodiment, because the virtual character is on the virtual carrier and needs to move along with the virtual carrier, and meanwhile, the movement of the virtual character in the present embodiment is performed under the world coordinate system, when determining the position of the virtual character in the present embodiment, the relative position of the virtual character with respect to the virtual carrier may be determined, and then the position of the virtual character may be determined according to the relative position, so that the virtual character may be ensured to move along with the virtual carrier, and meanwhile, the virtual character is not limited to the local coordinate system of the virtual carrier.
In one possible implementation, for example, the first relative position of the virtual character with respect to the virtual carrier may be determined according to the second absolute position and the first absolute position, for example, the first relative position may be understood in conjunction with fig. 4, referring to fig. 4, assuming that in the frame 401 corresponding to the first time, the first absolute position of the virtual carrier is (a 1,y1), the second absolute position of the virtual character is (b 1,y2), the distance between the virtual character and the virtual carrier in the x-axis direction may be determined as δ, the distance between the virtual character and the virtual carrier in the y-axis direction is η, and further the relative direction information between the two may be determined, so as to determine the first phase position of the virtual character with respect to the virtual carrier.
In an actual implementation process, the first relative position may include, for example, the distance difference in each direction and the relative direction information described above, or the first relative position may be further determined by the following formula one and formula two:
locatiPlayerPosition=Quaternion.Inverse(shipRotation_1)×(playerPosition_1-shipPosition_1)
Equation one
Wherein shipRotation _1 is the rotation direction in the world coordinate system in the previous frame of the virtual vehicle, quaternion. Inverse () is the four element inverse function, playerPosition _1 is the second absolute coordinate of the virtual character in the world coordinate system, shipPosition _1 is the first absolute coordinate of the virtual vehicle in the world coordinate system, and locatiPlayerPosition is the local coordinate of the virtual character based on the virtual vehicle.
The formula II is:
localPlayerRotation
=Quaternion.Inverse(shipRotation_1)×playerRotation_1
Formula II
Wherein playerRotation _1 is the rotational orientation in the world coordinate system in the frame above the virtual character, localPlayerRotation is the local orientation of the virtual character based on the virtual vehicle.
Based on the first and second formulas, the first relative position in the embodiment may include, for example, the above-described local coordinates locatiPlayerPosition of the virtual character based on the virtual vehicle and the local orientations localPlayerRotation of the virtual character based on the virtual vehicle.
In the actual implementation process, the specific implementation manner of the first relative position may be selected according to actual requirements, as long as the first relative position may indicate the position of the virtual character relative to the virtual carrier.
And S304, determining a fifth absolute position of the virtual character in a preset coordinate system according to the third absolute position and the first relative position, wherein the relative position of the fifth absolute position relative to the third absolute position is the first relative position.
After determining the first relative position, a fifth absolute position of the virtual character in the preset coordinate system may be determined according to the third absolute position and the first relative position of the virtual carrier, and it may be understood that the fifth absolute position in the embodiment is a position of the virtual character in the preset coordinate system after the virtual character moves along with the virtual carrier, and the relative position of the fifth absolute position in the embodiment with respect to the third absolute position is the first relative position, that is, a position unchanged from the position of the virtual character in the embodiment with respect to the virtual carrier.
As can be understood from, for example, fig. 4, assuming that the third absolute position of the current virtual vehicle is the position shown in (a 2,y1) in fig. 4, and assuming that the first relative position includes the distance in the x-axis direction, the distance in the y-axis direction, and the relative direction information, the fifth absolute position (b 2,y2) shown in fig. 4 may be determined, for example, according to the determined distance δ in the x-axis direction, the distance in the y-axis direction, and the relative direction information, and it may be determined that the relative position of the fifth absolute position (b 2,y2) with respect to the third absolute position (a 2,y1) is the determined first relative position, that is, the currently determined fifth absolute position is the position where the virtual character does not move on the virtual vehicle, but the virtual character moves following the movement of the virtual vehicle, in conjunction with fig. 4.
In one possible implementation, the fifth absolute position of the virtual character may be determined, for example, according to the following formulas three and four, as opposed to formulas one and two.
playerPosition_2
=(shipRotation_2×localPlayerPosition)+shipPosition_2
Formula III
Wherein shipRotation _2 is the rotation direction of the virtual character in the world coordinate system in the current frame of the virtual carrier, locatiPlayerPosition is the local coordinate of the virtual character based on the virtual carrier, shipPosition _2 is the third absolute coordinate of the virtual carrier in the world coordinate system, and playerPosition _2 is the fifth absolute coordinate of the virtual character in the world coordinate system.
The formula four is:
playerRotation _2= shipRotation _2× localPlayerRotation formula four
Where localPlayerRotation is the local orientation of the virtual character based on the virtual vehicle, playerRotation _2 is the rotational orientation of the virtual character in the world coordinate system in the current frame of the virtual character, then the fifth absolute position of the virtual character may include, for example, the currently determined fifth absolute coordinate playerPosition _2 of the virtual character in the world coordinate system and the rotational orientation playerRotation _2 of the virtual character in the world coordinate system in the current frame of the virtual character.
And S305, determining a fourth absolute position of the virtual character under a preset coordinate system at a second moment according to the second movement information and the fifth absolute position.
After the fifth absolute position is determined, the virtual character moves along with the virtual carrier, and in addition, the virtual character can also move by itself, that is, the relative position information of the virtual character and the virtual carrier changes, so that a fourth absolute position of the virtual character under a preset coordinate system at the second moment can be further determined according to the second movement information and the fifth absolute position.
In a possible implementation, the second movement information may include a movement direction and a movement distance, and the fifth absolute position may be updated according to the movement direction and the movement distance, so as to obtain a fourth absolute position of the virtual character under the preset coordinate system at the second moment.
For example, as can be understood from fig. 5, as shown in fig. 5, it is assumed that the frame corresponding to the first time is the image shown at 501 in fig. 5, the frame corresponding to the second time is the image shown at 502 in fig. 5, the first absolute position of the virtual vehicle is the position indicated by the coordinate (a 1,y1) and the second absolute position of the virtual character is the position indicated by the coordinate (b 1,y2) in the frame corresponding to the first time 501.
Similar to the description of fig. 4 above, it is assumed that the third absolute position of the virtual traffic in the preset coordinate system at the second moment is currently determined to be the position indicated by the coordinate (a 2,y1) in fig. 5 according to the first movement information of the virtual vehicle and the first absolute position of the virtual vehicle.
And similar to the description of fig. 4 above, the first relative position of the virtual character with respect to the virtual vehicle may be determined based on the second absolute position and the first absolute position, and then the fifth absolute position (b 2,y2) of the virtual character in the preset coordinate system may be determined based on the third absolute position (a 2,y1) of the virtual vehicle and the first relative position, in a manner similar to the description of fig. 4 above.
Further, assuming that the moving direction of the second movement information is the direction indicated by the arrow a in fig. 5 and the moving distance is the distance indicated by epsilon in fig. 5, the fifth absolute position (b 2,y2) may be updated according to the moving direction and the moving distance, so as to obtain the fourth absolute position (b 3,y2) of the virtual character under the preset coordinate system.
Based on the description, it can be determined that, in the implementation process of the description, the fifth absolute position of the virtual character following the movement of the virtual carrier can be determined, then, based on the fifth absolute position, the fourth absolute position of the virtual character following the movement of the virtual carrier can be realized, and the determined position information of the virtual character is realized under the world coordinate system, so that the movement of the virtual character following the virtual carrier can be effectively realized under the world coordinate system, and meanwhile, the movement of the virtual character relative to the virtual carrier can be effectively realized under the world coordinate system, which is completed under the world coordinate system because the virtual character is not positioned under the local coordinate system of the virtual carrier, and therefore, the virtual character can be effectively realized to move up and down the virtual carrier at any time.
Based on the above description, it may be determined that, in this embodiment, the first movement information may indicate that the virtual vehicle moves or does not move, and the second movement information may indicate that the virtual character moves or does not move, so that multiple possible situations may exist for the corresponding virtual character and the implementation manner of the movement of the virtual vehicle.
In one possible implementation, the first movement information indicates that the virtual carrier moves, and the second movement information indicates that the virtual character moves, that is, the virtual carrier and the virtual character move simultaneously, as shown in fig. 5, in an implementation of this case, the position of the virtual carrier moves, and the position of the virtual character moves synchronously with the virtual carrier, and the position of the virtual character moves correspondingly with respect to the virtual carrier according to the second movement information.
In another possible implementation, the first movement information indicates that the virtual carrier is moving, and the second movement information indicates that the virtual character is not moving, that is, only the virtual carrier is moving, which can be implemented with reference to fig. 4, in which the position of the virtual carrier is moving, and the position of the virtual character follows the virtual carrier in synchronization, because the virtual character does not spontaneously move, and thus the position of the virtual character relative to the virtual carrier is not changed.
In another possible implementation, the first movement information indicates that the virtual vehicle does not move, and the second movement information indicates that the virtual character moves, that is, only the virtual character moves, which may be implemented by referring to fig. 6, where the position of the virtual vehicle does not move, is always located at the position indicated by the coordinates (a 1,y1), and the position of the virtual character moves from the position indicated by the coordinates (b 1,y2) to the position indicated by the coordinates (b 4,y2), so that the position of the virtual character with respect to the virtual vehicle also changes.
In the actual implementation process, the specific moving modes of the virtual carrier and the virtual object may be selected according to actual requirements, which is not limited in this embodiment.
S306, rendering the position of the virtual carrier at the second moment in the graphical user interface according to the third absolute position, and rendering the position of the virtual character at the second moment in the graphical user interface according to the fourth absolute position.
The implementation of S306 is similar to the implementation of S204 described above, and will not be repeated here.
According to the object control method provided by the embodiment of the application, the first relative position of the virtual character relative to the virtual carrier is determined according to the first absolute position of the virtual carrier and the second absolute position of the virtual character, then the fifth absolute position of the virtual character following the virtual carrier after synchronous movement can be determined according to the first relative position and the third absolute position of the virtual carrier after movement, then the movement of the virtual character is realized according to the fifth absolute position and the second movement information on the basis of the fifth absolute position, so that the fourth absolute position of the virtual character at the second moment after movement is determined, and the whole process is performed under the world coordinate system.
On the basis of the foregoing embodiments, the object control method provided by the embodiment of the present application may further detect and mark up and down virtual carriers of a virtual character, which is described below with reference to fig. 7 to 11, where fig. 7 is a flowchart three of the object control method provided by the embodiment of the present application, fig. 8 is a schematic implementation diagram one of determining a carrier identifier corresponding to the virtual character provided by the embodiment of the present application, fig. 9 is a schematic implementation diagram two of determining a carrier identifier corresponding to the virtual character provided by the embodiment of the present application, fig. 10 is a schematic implementation diagram three of determining a carrier identifier corresponding to the virtual character provided by the embodiment of the present application, and fig. 11 is a schematic implementation diagram four of determining a carrier identifier corresponding to the virtual character provided by the embodiment of the present application.
As shown in fig. 7, the method includes:
And S701, determining a first position relation between the virtual character and the virtual carrier according to the third absolute position and the fourth absolute position, wherein the first position relation indicates that the virtual character is positioned on the virtual carrier or the virtual character is not positioned on the virtual carrier.
In this embodiment, since the virtual character can be moved up and down the virtual carrier at any time, the virtual character may be located on the virtual carrier or the virtual character may not be located on the virtual carrier, and thus the first positional relationship between the virtual character and the virtual carrier needs to be determined in this embodiment.
In one possible implementation, for example, based on the third absolute position and the fourth absolute position, it may be determined whether the virtual character is located on the virtual vehicle, thereby determining a first positional relationship between the virtual character and the virtual vehicle, where the first positional relationship may indicate that the virtual character is located on the virtual vehicle, or the first positional relationship may also indicate that the virtual character is not located on the virtual vehicle.
Or because in the actual game implementation process, for example, the radiation detection with the preset length can be performed towards the underfoot by taking the sole of the virtual character as a starting point, so as to detect whether the virtual carrier exists under the foot of the virtual character. If the virtual carrier is detected to exist, determining that the first position relation indicates that the virtual character is located on the virtual carrier. If the virtual carrier is detected to be absent, determining that the first position relationship indicates that the virtual character is not located on the virtual carrier. The preset length of the radiation detection may be, for example, 3 meters, and in the actual implementation process, the length of the radiation detection may be selected according to the actual requirement, which is not particularly limited in this embodiment.
S702, judging whether the first position relation indicates that the virtual character is positioned on the virtual carrier, if so, executing S703, and if not, executing S705.
In this embodiment, different implementations exist for different indications of the first positional relationship, so it may be determined whether the first positional relationship indicates that the virtual character is located on the virtual carrier, and then corresponding operations are performed.
S703, acquiring a second position relationship between the virtual character and the virtual carrier at the first moment.
In one possible implementation manner, if it is determined that the first positional relationship indicates that the virtual character is located on the virtual carrier, further obtaining a second positional relationship between the virtual character and the virtual carrier in the frame image corresponding to the first moment is required to determine whether the virtual character is always located on the virtual carrier or just starts to be located on the virtual carrier, that is, whether the virtual character performs the boarding operation at the second moment compared with the first moment.
The second positional relationship in this embodiment is similar to the first positional relationship described above, and may indicate that the virtual character is located on the virtual vehicle, or may also indicate that the virtual character is not located on the virtual vehicle.
And S704, if the second position relationship indicates that the virtual character is not located on the virtual carrier, determining the carrier identification corresponding to the virtual character from the identification of the virtual carrier.
In one possible implementation, for example, it may be understood with reference to fig. 8, where 801 in fig. 8 is a frame corresponding to a first time, 802 in fig. 8 is a frame corresponding to a second time, and it may be determined based on fig. 8 that, based on the first time, the second position relationship indicates that the virtual character is not located on the virtual carrier, and based on the second time, the first position relationship indicates that the virtual character is located on the virtual carrier, it may be determined that the virtual character is just performing a boarding operation, so that the virtual character may be marked on the ship, for example, an identification of the virtual carrier may be determined as a carrier identification corresponding to the virtual character, for example, an identification of the virtual carrier is identified as a ship a, and, based on the second position relationship in fig. 8, a carrier identification corresponding to the character may be set as a ship a, for example, so as to mark that the character is located on the ship a.
In another possible implementation manner, for example, it may be understood in conjunction with fig. 9 that 901 in fig. 9 is a frame picture corresponding to a first time, 902 in fig. 9 is a frame picture corresponding to a second time, and it may be determined based on fig. 9 that, based on the first time, the second position relationship indicates that the virtual character is located on the virtual carrier, and based on the second time, the first position relationship indicates that the virtual character is located on the virtual carrier, it may be determined that the virtual character is always located on the virtual carrier, and that boarding has been performed before, so that no operation is currently required.
S705, acquiring a second position relation between the virtual character and the virtual carrier at the first moment.
In one possible implementation, if it is determined that the first positional relationship indicates that the virtual character is not located on the virtual carrier, further obtaining a second positional relationship between the virtual character and the virtual carrier at the first time is required to determine whether the virtual character is not located on the virtual carrier all the time or is not located on the virtual carrier just before, that is, whether the virtual character performs the ship-off operation at the second time compared to the first time.
The second positional relationship in this embodiment is similar to the first positional relationship described above, and may indicate that the virtual character is located on the virtual vehicle, or may also indicate that the virtual character is not located on the virtual vehicle.
S706, if the second position relationship indicates that the virtual character is located on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
In one possible implementation manner, for example, it may be understood with reference to fig. 10, where 1001 in fig. 10 is a frame picture corresponding to a first time, 1002 in fig. 10 is a frame picture corresponding to a second time, and it may be determined based on fig. 10 that, based on the first time, the second position relationship indicates that the virtual character is located on the virtual carrier, and based on the second time, the first position relationship indicates that the virtual character is not located on the virtual carrier, it may be determined that the virtual character is just performing a ship-off operation, and therefore, the virtual character ship-off may be marked, for example, it may be determined that the carrier corresponding to the virtual character is identified as empty, so as to mark that the virtual character is not currently located on the virtual carrier.
In another possible implementation manner, for example, it may be understood in conjunction with fig. 11 that 1101 in fig. 11 is a frame picture corresponding to a first time, 1102 in fig. 11 is a frame picture corresponding to a second time, based on fig. 11, it may be determined that the second positional relationship at the first time indicates that the virtual character is not located on the virtual carrier, and the first positional relationship at the second time indicates that the virtual character is not located on the virtual carrier, and then it may be determined that the virtual character is not located on the virtual carrier all the time, and the carrier corresponding to the virtual character has been determined to be empty before, so that no operation is currently required.
It will be appreciated that taking the example that the virtual carrier is a ship, the boarding or disembarking operations described above may be triggered in response to a jump operation, a climbing operation, etc. performed by the user, and after the corresponding command is triggered, the virtual character correspondingly performs the corresponding boarding or disembarking operation, and after the uploading operation or the disembarking operation is performed, the boarding or disembarking switching process described above may be performed.
According to the object control method provided by the embodiment of the application, the first position relation between the virtual character and the virtual carrier is determined according to the third absolute position and the fourth absolute position, and then the virtual character is marked on the ship or off the ship according to the second position relation at the first moment and the first position relation at the second moment, so that whether the virtual character is positioned on the virtual carrier or not and particularly on which virtual carrier is marked on the basis of realizing that the virtual character is positioned on the virtual carrier at any time based on the world coordinate system can be simply and effectively realized, and the ordering and the comprehensiveness of game data are ensured.
On the basis of the above embodiment, after the terminal device determines the game related information, the game related information needs to be synchronized to the other second terminal devices, so as to ensure the synchronism of the game data.
For example, it can be understood with reference to fig. 12, and fig. 12 is a schematic diagram of an implementation of sending synchronization information according to an embodiment of the present application.
As shown in fig. 12, the terminal device 1201 may send synchronization information to the server 1202, and then the server 1202 may send the synchronization information to at least one second terminal device, where the at least one second terminal device is in the same game scene as the terminal device, and may also be understood as a terminal device in the same game.
It may be understood that the terminal device herein is a terminal device for displaying a graphical user interface provided by the embodiment of the present application, which may also be understood as a terminal device held by a current user, and may also be considered as a first terminal device to be distinguished from a second terminal device, and the second terminal device is a terminal device held by the rest of users in the same game.
In one possible implementation manner, after determining the identifier of the virtual carrier and the carrier identifier corresponding to the virtual character, it may be determined that the virtual character is located on the virtual carrier, where, for example, first synchronization information may be sent to the server, so that the server sends the first synchronization information to at least one second terminal device, where the first synchronization information may include at least one of the following: the virtual character is corresponding to the carrier identification and the first relative position of the virtual character relative to the virtual carrier.
It may be appreciated that taking the example that the virtual carrier is a ship, when the virtual character is located on the ship, the terminal device may send the identification of the ship and the first relative position of the virtual character with respect to the ship to the other second terminal devices through the server, and then the second terminal device may obtain the position of the ship under the preset coordinate system according to the identification of the ship, then determine the position of the virtual character under the preset coordinate system according to the first relative position and the position of the ship under the preset coordinate system, and then render the virtual character according to the position of the virtual character under the preset coordinate system, so that synchronization and display of the position information of the virtual character may be accurately and effectively implemented.
In another possible implementation manner, after determining the identifier of the virtual carrier and the carrier identifier corresponding to the virtual character, it may be determined that the virtual character is not located on the virtual carrier, where, for example, second synchronization information may be sent to the server, so that the server sends the second synchronization information to at least one second terminal device, where the second synchronization information may include at least one of the following: the method comprises the steps of first indication information and absolute positions of the current moment of the virtual character under a preset coordinate system, wherein the first indication information is used for indicating that a carrier mark corresponding to the virtual character is empty.
It can be understood that taking the virtual carrier as a ship as an example, when the virtual character gets off the ship, the terminal device can send the first indication information to each second terminal device through the server to indicate that each second terminal device gets off the ship at the current virtual character, and meanwhile, because the virtual character does not need to move along with the virtual carrier after getting off the ship, the absolute position of the current moment of the virtual character under the preset coordinate system can be sent to each second terminal device, so that the synchronization of the ship-off information of each second terminal device and the synchronization of the position after the ship-off can be realized. And then rendering the virtual character according to the position of the virtual character under a preset coordinate system, so that the synchronization and display of the position information of the virtual character can be accurately and effectively realized.
It should be noted that, when the terminal device synchronizes the position of the virtual character with each second terminal device, the terminal device synchronizes a first relative position of the virtual character with respect to the virtual carrier, and then each second device determines an absolute position of the virtual character under the preset coordinate system according to the first relative position and an absolute position of the virtual carrier under the preset coordinate system. Here, the terminal device does not directly synchronize the absolute position of the virtual character under the preset coordinate system for the following two reasons.
First, the absolute position of the virtual character may change very rapidly along with the movement of the virtual carrier, and if the absolute position of the virtual character is directly synchronized to each second terminal device, the virtual character may have moved far along with the virtual carrier and not be in the current position when the second terminal device receives and displays the absolute position of the virtual character due to the influence of network delay, so that the situation of error in synchronization of the position of the virtual character between each terminal device may possibly be caused. However, the relative position of the virtual character with respect to the virtual carrier is relatively fixed, and the change is relatively small, so that the accuracy of the position synchronization of the virtual object can be effectively improved by synchronizing the first relative position.
Secondly, when the position of the virtual carrier is determined in the graphical user interface of the terminal device, the specific expression of the ship on the sea along with the sea wave is different for the ship, specifically, each terminal device handles the expression of the fluctuation by itself, so that the position of the virtual carrier is approximately the same but not completely the same in the graphical user interface of each terminal device, in this case, if the absolute position of the virtual character is directly synchronized to each terminal device for display, the situation that the virtual character display error may occur on part of the terminal devices, for example, the virtual character may sink into the virtual carrier, or the situation that the virtual character floats on the virtual carrier may occur. However, if the first relative positions are synchronized to the second terminal devices, the absolute positions of the virtual roles are determined by the second terminal devices according to the first relative positions, so that the correct display of the virtual roles can be effectively ensured, and the situation of display errors can be effectively avoided.
In summary, according to the scheme provided by the embodiment of the application, for each virtual character in a game, by determining the relative position between the virtual character and the virtual carrier, and then determining the absolute position of the virtual character after spontaneous movement according to the absolute position of the virtual character under the world coordinate system after the virtual carrier moves according to the relative position, the movement of the virtual character and the virtual carrier can be effectively realized under the world coordinate system, wherein the movement of the virtual character following the virtual carrier and the movement of the virtual character relative to the virtual carrier can be effectively realized, and the whole process is performed under the world coordinate system.
It should be noted that, in this embodiment, the movement of the virtual vehicle and the movement of the virtual character are performed in the world coordinate system, but if the virtual vehicle and the virtual character are merely placed in the world coordinate system without any processing, the following situations may occur:
For example, in the case that the virtual carrier is a ship, for a ship that is unmanned and sloshed on the sea surface, the ship will have heave under the action of the sea wave, and it is assumed that there is a virtual object on the ship, it will be understood that when the ship moves down under the action of the sea wave, the virtual object will also move down under the action of gravity (because the support of the sole of the virtual character moves down), and when the ship moves up under the action of the sea wave, the virtual object will also move up under the action of the support of the ship (because the support of the sole of the virtual character moves up, and the movement of the virtual object is completed under the action of the force, so that heave of the virtual object and movement of the virtual carrier are not realized synchronously, and thus the virtual character will shake.
And for a ship that is manipulated to move rapidly, if there is a virtual character on the ship and no processing is performed for the virtual character, the virtual character falls from the ship into the sea after the ship moves.
Both the above-mentioned situations occur because, although the virtual character and the virtual vehicle are located in the world coordinate system, no corresponding processing is performed for the movements of the virtual character and the virtual vehicle, and in the embodiments of the present application, the relative position of the virtual character with respect to the virtual vehicle is determined, and then the absolute position of the virtual character is determined according to the relative position and the absolute position of the virtual vehicle, so that the corresponding processing can be performed in the world coordinate system, so as to effectively realize the synchronous movement of the virtual character following the virtual vehicle, and at the same time effectively realize the spontaneous movement of the virtual character with respect to the virtual vehicle.
Fig. 13 is a schematic structural diagram of an object control device according to an embodiment of the present application. As shown in fig. 13, the apparatus 130 includes: an acquisition module 1301, a determination module 1302, a display module 1303, a first synchronization module 1304, a second synchronization module 1305.
An obtaining module 1301, configured to obtain, at a first moment, a first absolute position of the virtual vehicle under a preset coordinate system, and a second absolute position of the virtual character under the preset coordinate system;
the obtaining module 1301 is further configured to obtain, at a second moment, a third absolute position of the virtual carrier under a preset coordinate system according to the first movement information of the virtual carrier;
A determining module 1302, configured to determine, at the second moment, a fourth absolute position of the virtual character under the preset coordinate system according to the first absolute position, the second absolute position, the third absolute position, and second movement information of the virtual character;
The display module 1303 is configured to render, on the graphical user interface, a position of the virtual vehicle at the second time according to the third absolute position, and render, on the graphical user interface, a position of the virtual character at the second time according to the fourth absolute position.
In one possible design, the determining module 1302 is specifically configured to:
Determining a first relative position of the virtual character with respect to the virtual vehicle according to the second absolute position and the first absolute position;
determining a fifth absolute position of the virtual character in the preset coordinate system according to the third absolute position and the first relative position, wherein the relative position of the fifth absolute position relative to the third absolute position is the first relative position;
and determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the second movement information of the virtual character and the fifth absolute position.
In one possible design, the determining module 1302 is specifically configured to:
And updating the fifth absolute position according to the moving direction of the virtual character and the moving distance of the virtual character to obtain a fourth absolute position of the virtual character under the preset coordinate system at the second moment.
In one possible design, the determining module 1302 is further configured to:
Determining a first positional relationship between the virtual character and the virtual vehicle according to the third absolute position and the fourth absolute position, wherein the first positional relationship indicates that the virtual character is positioned on the virtual vehicle or the virtual character is not positioned on the virtual vehicle;
If the first position relation indicates that the virtual character is located on the virtual carrier, determining the carrier identification corresponding to the virtual character by the identification of the virtual carrier;
and if the first position relation indicates that the virtual character is not located on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
In one possible design, the determining module 1302 is specifically configured to:
acquiring a second position relation between the virtual character and the virtual carrier at the first moment;
and if the second position relation indicates that the virtual character is not located on the virtual carrier, determining the carrier identification corresponding to the virtual character by the identification of the virtual carrier.
In one possible design, the determining module 1302 is specifically configured to:
acquiring a second position relation between the virtual character and the virtual carrier at the first moment;
And if the second position relation indicates that the virtual character is positioned on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
In one possible design, the apparatus further comprises: a first synchronization module 1304;
the first synchronization module 1304 is specifically configured to:
after the identifier of the virtual carrier determines the carrier identifier corresponding to the virtual character, first synchronization information is sent to a server, so that the server sends the first synchronization information to at least one second terminal device, the at least one second terminal device and the terminal device are in the same game scene, and the first synchronization information comprises at least one of the following steps: and the virtual character corresponds to the carrier identifier and the first relative position of the virtual character relative to the virtual carrier.
In one possible design, the apparatus further comprises: a second synchronization module 1305;
the second synchronization module 1305 is specifically configured to:
After the identifier of the virtual carrier determines the carrier identifier corresponding to the virtual character, second synchronization information is sent to a server, so that the server sends the second synchronization information to at least one second terminal device, the at least one second terminal device and the terminal device are in the same game scene, and the second synchronization information comprises at least one of the following steps: the virtual character display method comprises the steps of first indication information and an absolute position of the virtual character at the current moment under the preset coordinate system, wherein the first indication information is used for indicating that a carrier mark corresponding to the virtual character is empty.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 14 is a schematic hardware structure of an object control device according to an embodiment of the present application, as shown in fig. 14, an object control device 140 of the present embodiment includes: a processor 1401 and a memory 1402; wherein the method comprises the steps of
Memory 1402 for storing computer-executable instructions;
A processor 1401 for executing computer-executable instructions stored in a memory to implement the steps executed by the object control method in the above-described embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, memory 1402 may be separate or integrated with processor 1401.
When the memory 1402 is provided separately, the object control device further comprises a bus 1403 for connecting the memory 1402 and the processor 1401.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the object control method executed by the object control device is realized.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be additional divisions when actually implemented, for example, multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the application.
It should be understood that the above Processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, a digital signal Processor (english: DIGITAL SIGNAL Processor, abbreviated as DSP), an Application-specific integrated Circuit (english: application SPECIFIC INTEGRATED Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (PERIPHERAL COMPONENT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (11)

1. An object control method, characterized in that a graphical user interface is provided by a terminal device, the graphical user interface including a virtual carrier and a virtual character, the method comprising:
Acquiring a first absolute position of the virtual carrier under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment;
Acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier;
determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the first absolute position, the second absolute position, the third absolute position and second movement information of the virtual character;
Rendering a position of the virtual vehicle at the second moment in the graphical user interface according to the third absolute position, and rendering a position of the virtual character at the second moment in the graphical user interface according to the fourth absolute position;
The determining, according to the first absolute position, the second absolute position, the third absolute position, and second movement information of the virtual character, a fourth absolute position of the virtual character in the preset coordinate system at the second moment, including:
Determining a first relative position of the virtual character with respect to the virtual vehicle according to the second absolute position and the first absolute position;
determining a fifth absolute position of the virtual character in the preset coordinate system according to the third absolute position and the first relative position, wherein the relative position of the fifth absolute position relative to the third absolute position is the first relative position;
and determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the second movement information of the virtual character and the fifth absolute position.
2. The method of claim 1, wherein the second movement information includes a movement direction and a movement distance; determining a fourth absolute position of the virtual character in the preset coordinate system at the second moment according to the second movement information of the virtual character and the fifth absolute position, wherein the fourth absolute position comprises the following steps:
And updating the fifth absolute position according to the moving direction of the virtual character and the moving distance of the virtual character to obtain a fourth absolute position of the virtual character under the preset coordinate system at the second moment.
3. The method according to claim 2, wherein the method further comprises:
Determining a first positional relationship between the virtual character and the virtual vehicle according to the third absolute position and the fourth absolute position, wherein the first positional relationship indicates that the virtual character is positioned on the virtual vehicle or the virtual character is not positioned on the virtual vehicle;
If the first position relation indicates that the virtual character is located on the virtual carrier, determining the carrier identification corresponding to the virtual character by the identification of the virtual carrier;
and if the first position relation indicates that the virtual character is not located on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
4. A method according to claim 3, wherein determining the identity of the virtual vehicle as the vehicle identity corresponding to the virtual character comprises:
acquiring a second position relation between the virtual character and the virtual carrier at the first moment;
and if the second position relation indicates that the virtual character is not located on the virtual carrier, determining the carrier identification corresponding to the virtual character by the identification of the virtual carrier.
5. A method according to claim 3, wherein determining that the carrier identity corresponding to the virtual character is empty comprises:
acquiring a second position relation between the virtual character and the virtual carrier at the first moment;
And if the second position relation indicates that the virtual character is positioned on the virtual carrier, determining that the carrier identifier corresponding to the virtual character is empty.
6. The method according to any one of claims 3-5, wherein after the determining the carrier identifier corresponding to the virtual character from the identifier of the virtual carrier, the method further includes:
Sending first synchronization information to a server so that the server sends the first synchronization information to at least one second terminal device, wherein the at least one second terminal device and the terminal device are in the same game scene, and the first synchronization information comprises at least one of the following: and the virtual character corresponds to the carrier identifier and the first relative position of the virtual character relative to the virtual carrier.
7. The method according to any one of claims 3-5, wherein after the determining the carrier identifier corresponding to the virtual character from the identifier of the virtual carrier, the method further includes:
Transmitting second synchronization information to a server so that the server transmits the second synchronization information to at least one second terminal device, wherein the at least one second terminal device and the terminal device are in the same game scene, and the second synchronization information comprises at least one of the following: the virtual character display method comprises the steps of first indication information and an absolute position of the virtual character at the current moment under the preset coordinate system, wherein the first indication information is used for indicating that a carrier mark corresponding to the virtual character is empty.
8. An object control apparatus, characterized in that a graphic user interface including a virtual carrier and a virtual character is provided through a terminal device, the apparatus comprising:
the virtual character comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring a first absolute position of the virtual carrier under a preset coordinate system and a second absolute position of the virtual character under the preset coordinate system at a first moment;
the acquisition module is further used for acquiring a third absolute position of the virtual carrier under a preset coordinate system at a second moment according to the first movement information of the virtual carrier;
the determining module is used for determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the first absolute position, the second absolute position, the third absolute position and second movement information of the virtual character;
A display module for rendering a position of the virtual vehicle at the second moment in time at the graphical user interface according to the third absolute position, and rendering a position of the virtual character at the second moment in time at the graphical user interface according to the fourth absolute position;
The determining module is specifically configured to determine a first relative position of the virtual character with respect to the virtual vehicle according to the second absolute position and the first absolute position;
determining a fifth absolute position of the virtual character in the preset coordinate system according to the third absolute position and the first relative position, wherein the relative position of the fifth absolute position relative to the third absolute position is the first relative position;
and determining a fourth absolute position of the virtual character under the preset coordinate system at the second moment according to the second movement information of the virtual character and the fifth absolute position.
9. An object control apparatus, characterized by comprising:
a memory for storing a program;
A processor for executing the program stored by the memory, the processor being for performing the method of any one of claims 1 to 7 when the program is executed.
10. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of any one of claims 1 to 7.
CN202111078792.0A 2021-09-15 2021-09-15 Object control method and device Active CN113769405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111078792.0A CN113769405B (en) 2021-09-15 2021-09-15 Object control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111078792.0A CN113769405B (en) 2021-09-15 2021-09-15 Object control method and device

Publications (2)

Publication Number Publication Date
CN113769405A CN113769405A (en) 2021-12-10
CN113769405B true CN113769405B (en) 2024-07-16

Family

ID=78843923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111078792.0A Active CN113769405B (en) 2021-09-15 2021-09-15 Object control method and device

Country Status (1)

Country Link
CN (1) CN113769405B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116920388A (en) * 2022-04-01 2023-10-24 腾讯科技(深圳)有限公司 Control method and related device for virtual carrier

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9033805B2 (en) * 2012-01-19 2015-05-19 Zynga Inc. Three dimensional operations in an isometric projection
US20140213358A1 (en) * 2013-01-30 2014-07-31 Zynga Inc. Gaming platform providing a multi-move game operation
CN107198883B (en) * 2017-05-26 2020-12-08 网易(杭州)网络有限公司 Path finding method and device for game object in virtual game
KR101981314B1 (en) * 2017-07-31 2019-05-22 주식회사 렛시 Apparatus and method for augmenting virtual object
CN107648847B (en) * 2017-08-22 2020-09-22 网易(杭州)网络有限公司 Information processing method and device, storage medium and electronic equipment
CN107890664A (en) * 2017-10-23 2018-04-10 网易(杭州)网络有限公司 Information processing method and device, storage medium, electronic equipment
WO2019210465A1 (en) * 2018-05-02 2019-11-07 SZ DJI Technology Co., Ltd. Optically supported object navigation
CN111311719A (en) * 2020-02-10 2020-06-19 网易(杭州)网络有限公司 Display processing method and device in game
CN112843683B (en) * 2021-03-09 2023-11-10 腾讯科技(深圳)有限公司 Virtual character control method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113769405A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
US11538501B2 (en) Method for generating video, and electronic device and readable storage medium thereof
US8624838B2 (en) Electronic apparatus
KR102595150B1 (en) Method for controlling multiple virtual characters, device, apparatus, and storage medium
CN108415705B (en) Webpage generation method and device, storage medium and equipment
US11090555B2 (en) Information processing method and apparatus, storage medium and electronic device
CN109977333B (en) Webpage display method and device, computer equipment and storage medium
US8619028B2 (en) Mobile communication terminal, application program, image display control apparatus, electronic apparatus, and image display control method
US11033817B2 (en) Information processing method and apparatus, storage medium and electronic device
CN109646944B (en) Control information processing method, control information processing device, electronic equipment and storage medium
CN111701238A (en) Virtual picture volume display method, device, equipment and storage medium
US9690533B2 (en) Displaying system, display controller, storage medium and method
US20080231602A1 (en) Electronic Apparatus
CN109448050B (en) Method for determining position of target point and terminal
US20140152562A1 (en) Display controller, display system, storage medium and method
CN113769405B (en) Object control method and device
CN112905280A (en) Page display method, device, equipment and storage medium
US20140111551A1 (en) Information-processing device, storage medium, information-processing method, and information-processing system
CN111598981B (en) Character model display method, device, equipment and storage medium
CN112181131A (en) Non-transitory computer readable medium, image processing method, and image processing system
JP4149893B2 (en) Mobile communication terminal and application program
CN112402967B (en) Game control method, game control device, terminal equipment and medium
KR102276816B1 (en) Method and system for providing content composed of spatial unit
JP4331239B2 (en) Mobile communication terminal and application program
JP2009207154A (en) Mobile communication terminal and application program
CN114139075A (en) Display method, device and terminal of search interface, storage medium and product

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