[go: up one dir, main page]

CN114053692B - Virtual object control method and device and storage medium - Google Patents

Virtual object control method and device and storage medium Download PDF

Info

Publication number
CN114053692B
CN114053692B CN202010763546.8A CN202010763546A CN114053692B CN 114053692 B CN114053692 B CN 114053692B CN 202010763546 A CN202010763546 A CN 202010763546A CN 114053692 B CN114053692 B CN 114053692B
Authority
CN
China
Prior art keywords
target
area
virtual
virtual rocker
game
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
CN202010763546.8A
Other languages
Chinese (zh)
Other versions
CN114053692A (en
Inventor
刘行
姜宏维
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010763546.8A priority Critical patent/CN114053692B/en
Publication of CN114053692A publication Critical patent/CN114053692A/en
Application granted granted Critical
Publication of CN114053692B publication Critical patent/CN114053692B/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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • 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/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1062Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to a type of game, e.g. steering wheel

Landscapes

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

Abstract

本发明公开了一种云技术场景下的虚拟对象的控制方法和装置及存储介质,具体的,涉及云游戏技术。其中,该方法包括:在客户端中显示后台服务器发送的第一游戏画面;在第一游戏画面上叠加显示虚拟摇杆圆心以及虚拟摇杆区域;在虚拟摇杆圆心位于虚拟摇杆区域内的目标区域的情况下,发送目标操作指令至后台服务器,其中,目标操作指令用于指示后台服务器根据目标映射关系,获取与目标区域相对应的目标方向键,并生成与目标方向键相对应的第二游戏画面,第二游戏画面为目标虚拟对象向目标区域对应的目标方向执行目标移动操作的画面;获取后台服务器发送的第二游戏画面。本发明解决了虚拟对象的控制效率较低的技术问题。

The present invention discloses a control method and device for virtual objects in a cloud technology scenario and a storage medium, and specifically, relates to cloud gaming technology. The method comprises: displaying a first game screen sent by a background server in a client; superimposing and displaying a virtual joystick center and a virtual joystick area on the first game screen; when the virtual joystick center is located in a target area within the virtual joystick area, sending a target operation instruction to the background server, wherein the target operation instruction is used to instruct the background server to obtain a target direction key corresponding to the target area according to a target mapping relationship, and generate a second game screen corresponding to the target direction key, the second game screen being a screen in which a target virtual object performs a target movement operation in a target direction corresponding to the target area; and obtaining the second game screen sent by the background server. The present invention solves the technical problem of low control efficiency of virtual objects.

Description

Virtual object control method and device and storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a method and apparatus for controlling a virtual object, and a storage medium.
Background
In recent years, the market of cloud games is increasingly larger, and when the existing mobile terminal cloud games play a computer game, the direction key is triggered by directly clicking a virtual direction key, so that the operation mode is to trigger the direct clicking operation of the direction key of a computer keyboard, but on a mobile terminal, the virtual object is controlled by the direction key of the computer keyboard to have certain difficulty, and the virtual object cannot be controlled in the shortest time to achieve the effect wanted by a user. In other words, the control efficiency of the virtual object in the prior art is low.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a control method and device of a virtual object and a storage medium, which are used for at least solving the technical problem of low control efficiency of the virtual object.
According to one aspect of the embodiment of the invention, a control method of a virtual object is provided, which comprises the steps of displaying a first game picture sent by a background server in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, a target virtual object controlled by the client participates in a game task in the target cloud game, displaying a virtual rocker center and a virtual rocker area in a superimposed manner on the first game picture, wherein the virtual rocker area comprises a plurality of areas, a plurality of direction keys identifiable by the background server are used as target mapping relations, the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area, a target operation command is sent to the background server when the virtual rocker center is located in the target area in the virtual rocker area, the target operation command is used for instructing the background server to acquire a target direction key corresponding to the target area according to the target mapping relations, generating a second direction key corresponding to the target area, and sending the second direction key to the target game picture to the second game picture is executed by the background server.
According to another aspect of the embodiment of the invention, a control method of a virtual object is further provided, which includes sending a first game screen to a client, wherein the first game screen is a screen in a target cloud game operated by a background server, the target virtual object controlled by the client participates in a game task in the target cloud game, acquiring a target operation instruction sent by the client, wherein the target operation instruction is used for indicating a target area in which a virtual rocker center displayed on the first game screen in a superimposed manner is located in a virtual rocker area displayed on the first game screen, the virtual rocker area includes a plurality of areas, and a plurality of direction keys identifiable by the background server are target mapping relations, the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area, the target operation instruction is used for indicating the background server to acquire a target direction key corresponding to the target area according to the target mapping relation, generating a second game screen corresponding to the target direction key, the virtual rocker center is located in a virtual rocker area displayed on the first game screen in a superimposed manner, the virtual rocker area includes a plurality of areas, and the plurality of direction keys identifiable by the background server are mapped to the target areas, and the second game screen corresponding to the target direction key is generated according to the target direction of the target direction.
According to another aspect of the embodiment of the present invention, there is provided a control device for a virtual object, including a first display unit configured to display, in a client, a first game screen sent by a background server, where the first game screen is a screen in a target cloud game operated by the background server, a target virtual object controlled by the client participates in a game task in the target cloud game, a second display unit configured to superimpose and display a virtual rocker center and a virtual rocker area on the first game screen, where the virtual rocker area includes a plurality of areas, and the plurality of areas and a plurality of direction keys identifiable by the background server are in a target mapping relationship, the virtual rocker center is configured to determine a target area in the plurality of areas in the virtual rocker area, and a first sending unit configured to send a target operation instruction to the background server when the virtual rocker center is located in the target area, where the target operation instruction is configured to instruct the background server to acquire the target area according to the first game screen, and the target operation key is configured to acquire a second game screen corresponding to the target area, and the second game screen is configured to acquire the target area corresponding to the target area.
According to another aspect of the embodiment of the present invention, there is provided another control device for a virtual object, including a second sending unit configured to send a first game screen to a client, where the first game screen is a screen in a target cloud game operated by a background server, a target virtual object controlled by the client participates in a game task in the target cloud game, a second obtaining unit configured to obtain a target operation instruction sent by the client, where the target operation instruction is configured to indicate that a virtual rocker center displayed superimposed on the first game screen is located in a target area in a virtual rocker area superimposed on the first game screen, the virtual rocker area includes a plurality of areas, and the plurality of areas and a plurality of direction keys identifiable by the background server are in a target mapping relationship, the virtual rocker center is configured to determine a target area in the plurality of areas in the virtual rocker area, the target operation instruction is configured to instruct the background server to obtain a target direction key corresponding to the target area according to the target mapping relationship, and to generate a target direction key corresponding to the target area, and send the target operation instruction to a second direction key corresponding to the target area to the second game screen, and a second direction key is configured to obtain a target direction corresponding to the target area.
According to yet another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, wherein the computer program is configured to execute the control method of the virtual object described above when running.
According to still another aspect of the embodiments of the present invention, there is further provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the control method of the virtual object through the computer program.
In the embodiment of the invention, a first game picture sent by a background server is displayed in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, a target virtual object controlled by the client participates in a game task in the target cloud game, a virtual rocker center and a virtual rocker area are overlapped and displayed on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by the background server are used as target mapping relations, the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area, a target operation instruction is sent to the background server when the virtual rocker center is positioned in the target area in the virtual rocker area, the target operation instruction is used for instructing the background server to acquire a target direction key corresponding to the target area according to the target mapping relation, a second game picture corresponding to the target direction key is generated, the second game picture corresponding to the target direction key is converted, the virtual rocker center is positioned in the target area, the virtual rocker is controlled by the virtual rocker center, the virtual rocker is controlled by a user, the user can realize the control of the game picture, the game picture is further realized, the user can realize the control of the virtual rocker is more effective, and the user can realize the control of the game picture, and further solves the technical problem of lower control efficiency of the virtual object.
In the embodiment of the invention, a first game picture is sent to a client, wherein the first game picture is a picture in a target cloud game operated by a background server, a target virtual object controlled by the client participates in a game task in the target cloud game, a target operation instruction sent by the client is acquired, wherein the target operation instruction is used for indicating a target area of which the center of a virtual rocker is overlapped and displayed on the first game picture is positioned in a virtual rocker area overlapped and displayed on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by the background server are used for determining a target area in the plurality of areas in the virtual rocker area, the target operation instruction is used for indicating the background server to acquire a target direction key corresponding to the target area according to the target mapping relation, a second game picture corresponding to the target direction key is generated, the second game picture is a target area which is overlapped and displayed on the first game picture, the plurality of areas and the plurality of direction keys are positioned in the virtual rocker area, the virtual rocker is mapped to the target area corresponding to the target direction key, the target area is moved to the target area in advance, the target operation is controlled by the user, the cloud control key is moved to realize the control of the target area, and the target operation is mapped to the target area by moving the target area, the purpose of controlling the virtual object to execute the operation in a rocker mode which is more suitable for the operation of the terminal equipment is achieved, the effect of improving the control efficiency of the virtual object is achieved, and the technical problem that the control efficiency of the virtual object is lower is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a schematic illustration of an application environment of an alternative virtual object control method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a flow chart of an alternative virtual object control method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an alternative virtual object control method according to an embodiment of the invention;
FIG. 4 is a schematic diagram of another alternative virtual object control method according to an embodiment of the invention;
FIG. 5 is a schematic diagram of another alternative virtual object control method according to an embodiment of the invention;
FIG. 6 is a schematic diagram of another alternative virtual object control method according to an embodiment of the invention;
FIG. 7 is a schematic diagram of another alternative virtual object control method according to an embodiment of the invention;
FIG. 8 is a schematic diagram of a flow chart of another alternative virtual object control method according to an embodiment of the invention;
FIG. 9 is a schematic diagram of another alternative virtual object control method according to an embodiment of the invention;
FIG. 10 is a schematic diagram of another alternative virtual object control method according to an embodiment of the invention;
FIG. 11 is a schematic diagram of an alternative virtual object control apparatus according to an embodiment of the invention;
FIG. 12 is a schematic diagram of another alternative virtual object control apparatus according to an embodiment of the invention;
fig. 13 is a schematic structural view of an alternative electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Cloud technology (Cloud technology) refers to a hosting technology for integrating hardware, software, network and other series resources in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
Cloud technology (Cloud technology) is based on the general terms of network technology, information technology, integration technology, management platform technology, application technology and the like applied by Cloud computing business models, and can form a resource pool, so that the Cloud computing business model is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
Cloud gaming (Cloud gaming), which may also be referred to as game on demand, is an online gaming technology based on Cloud computing technology. Cloud gaming technology enables lightweight devices (THIN CLIENT) with relatively limited graphics processing and data computing capabilities to run high quality games. In a cloud game scene, the game is not run in a player game terminal, but is run in a cloud server, the cloud server renders the game scene into a video and audio stream, and the video and audio stream is transmitted to the player game terminal through a network. The player game terminal does not need to have strong graphic operation and data processing capability, and only needs to have basic streaming media playing capability and the capability of acquiring player input instructions and sending the player input instructions to the cloud server.
According to an aspect of the embodiment of the present invention, there is provided a control method of a virtual object, optionally, as an optional implementation manner, the control method of a virtual object may be, but is not limited to, applied to an environment as shown in fig. 1. The user device 102 may include, but is not limited to, a display 108, a processor 106, and a memory 104, the display 108 may be used to display a first game screen 1022, a target virtual object 1024 in the first game screen 1022, a virtual rocker center 1026 superimposed on the first game screen 1022, a virtual rocker area 1028, and a target area 1030 in the virtual rocker area 1028, the display 108 may be used to display a second game screen, and the target virtual object 1032 included in the second game screen 1032 may be used to perform a screen of the target movement operation 1034, and the display 108 may be used to mount a sensor capable of recognizing a touch operation.
The specific process comprises the following steps:
Step S102, the user equipment 102 obtains a signal triggered by the position of the virtual rocker center 1026, which is displayed on the first game screen 1022 and is displayed superimposed on the display 108, through the sensor installed in the display 108 and capable of recognizing the touch operation, and obtains a target operation instruction when the virtual rocker center 1026 is located in the target area 1032 in the virtual rocker area 1028;
Steps S104-S106, the user equipment 102 sends the target operation instruction to the server 112 through the network 110;
Step S108, the server 112 searches the database 114 for a target direction key (not shown) corresponding to the target area 1030 parsed in the target operation instruction, and generates a second game screen 1032 corresponding to the target direction key according to the target direction key identifiable by the server 112 through the processing engine 116;
Steps S110-S112, the server 112 transmitting the second game screen 1032 to the user equipment 102 via the network 110;
In step S114, the processor 106 in the user device 102 processes and displays the second game screen 1032 in the display 108, and stores the second game screen 1032 in the memory 104. Wherein the second game screen 1032 may include, but is not limited to, a screen including a virtual rocker center 1026 superimposed on a target area 1030 within the virtual rocker area 1028, and a target virtual object 1024 performing a target move operation 1034.
Optionally, as an optional implementation manner, as shown in fig. 2, the control method of the virtual object includes:
s202, displaying a first game picture sent by a background server in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, and a target virtual object controlled by the client participates in a game task in the target cloud game;
S204, superposing and displaying a virtual rocker center and a virtual rocker area on the first game picture, wherein the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys which can be identified by a background server are in a target mapping relation, and the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area;
S206, under the condition that the center of the virtual rocker is located in a target area in the virtual rocker area, sending a target operation instruction to the background server, wherein the target operation instruction is used for instructing the background server to acquire a target direction key corresponding to the target area according to a target mapping relation and generate a second game picture corresponding to the target direction key, and the second game picture is a picture for executing target moving operation of a target virtual object in a target direction corresponding to the target area;
S208, obtaining a second game picture sent by the background server.
Alternatively, a control method of a virtual object may be applied, but not limited to, in a cloud game scenario where a mobile terminal is used to control a virtual character in a computer end game to perform a virtual task. Optionally, the cloud game may be, but not limited to, a game mode based on cloud computing, in an operation mode of the cloud game, all games are operated at a server side, and after rendered game images are compressed and transmitted to a user through a network, while in a client side, a game device of the user does not need any high-end processor or display card, but may not be limited to only needing basic video decompression capability. The virtual rocker area may be, but not limited to, one or more circular areas, the virtual rocker center may be, but not limited to, the center of the virtual rocker area, optionally, the virtual rocker area may be, but not limited to, include one or more virtual areas, and in the case of multiple virtual areas, the multiple virtual areas may be, but not limited to, respectively, used for indicating that different rocker operation instructions are generated, but the rocker operation instructions are not typically recognized by the background server, and the direction operation instructions corresponding to the direction keys may be recognized by the background server. Alternatively, the game screen may be, but is not limited to being, one or more frames of screen. The directional keys may be, but are not limited to, in the form of signals recognizable by the background server, such as movement signals triggered by a physical keyboard. The direction key may be displayed in the mobile terminal or computer end stream, but is not limited thereto.
The method includes the steps of displaying a first game picture sent by a background server in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, a target virtual object controlled by the client participates in a game task in the target cloud game, superposing and displaying a virtual rocker center and a virtual rocker area on the first game picture, wherein the virtual rocker area comprises a plurality of areas, a plurality of direction keys which can be identified by the background server are used as target mapping relations, the virtual rocker center is used for determining target areas in the plurality of areas in the virtual rocker area, and sending a target operation instruction to the background server under the condition that the virtual rocker center is located in the target area in the virtual rocker area, wherein the target operation instruction is used for instructing the background server to obtain a target direction key corresponding to the target area according to the target mapping relation and generate a second game picture corresponding to the target direction key, the second game picture is a picture for executing target moving operation in a target direction corresponding to the target area of the target virtual object, and the second game picture sent by the background server is obtained.
Further illustrative, optional examples include, as shown in fig. 3, a mobile terminal 302 (client), a cloud server 304 (background server), and a computer end game 306 (target cloud game), which are as follows:
Step S302, the mobile terminal 302 detects that a mobile phone rocker (a virtual rocker center) is pressed and moved to a target area (a target area in the virtual rocker area);
step S304, the cloud server 304 identifies the target area to transmit key mapping information (target operation instruction);
step S306, the cloud server 304 performs corresponding key mapping (target direction key for instructing the control target virtual operation object to perform the target movement operation to the target direction) according to the key mapping information;
step S308, the computer end stream 306 returns the corresponding game screen (second game screen) to the cloud server 304;
step S310, the cloud server 304 returns the corresponding game screen (second game screen) to the mobile terminal 302;
Step S312, the mobile terminal 302 detects that lifting the rocker returns to default;
step S314, the cloud server 304 closes the previous key map transmission;
Step S316, the computer end stream 306 cancels the previous key mapping;
step S318, the computer end stream 306 returns the corresponding game screen (the first game screen) to the cloud server 304;
in step S320, the cloud server 304 returns the corresponding game screen (first game screen) to the mobile terminal 302.
According to the embodiment of the application, a first game picture sent by a background server is displayed in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, a target virtual object controlled by the client participates in a game task in the target cloud game, a virtual rocker center and a virtual rocker area are superimposed and displayed on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by the background server are in a target mapping relation, the virtual rocker center is used for determining the target area in the virtual rocker area, a target operation instruction is sent to the background server under the condition that the virtual rocker center is located in the target area in the virtual rocker area, the target operation instruction is used for indicating the background server to obtain a target direction key corresponding to the target area and generate a second game picture corresponding to the target direction key, the second game picture is a picture for executing target moving operation in the target direction corresponding to the target area, the second game picture sent by the background server is obtained, the virtual rocker center is converted into a control target direction by the virtual object, and the virtual rocker center is controlled by a control terminal in a mode of moving the virtual object, so that the user can realize a control effect of the game terminal is realized.
As an alternative scheme, a virtual rocker center, a first virtual rocker area and a second virtual rocker area are displayed on the first game picture in a superimposed manner, wherein the distance between the second virtual rocker area and the virtual rocker center is greater than the distance between the first virtual rocker area and the virtual rocker center.
The virtual rocker center, the first virtual rocker area and the second virtual rocker area are displayed on the first game picture in a superimposed mode, wherein the distance between the second virtual rocker area and the virtual rocker center is larger than that between the first virtual rocker area and the virtual rocker center.
Further illustrated, an alternative example is shown in FIG. 4, including a first game screen 402, and a virtual rocker center 404, a second virtual rocker area 406, and a first virtual rocker area 408 superimposed on the first game screen 402.
According to the embodiment of the application, the virtual rocker center, the first virtual rocker area and the second virtual rocker area are displayed on the first game picture in a superimposed manner, wherein the distance between the second virtual rocker area and the virtual rocker center is larger than that between the first virtual rocker area and the virtual rocker center, so that the aim of displaying various virtual rocker elements on the game picture in a superimposed manner is fulfilled, and the effect of improving the display diversity of the virtual game picture is realized.
As an alternative, before displaying the first game screen sent by the background server, the method includes:
s1, displaying a third game picture sent by a background server in a client;
s2, superposing and displaying a plurality of virtual direction keys on the third game picture, wherein the virtual direction keys and the plurality of direction keys identifiable by the background server are mapped one by one;
S3, sending a switching instruction to the background server, wherein the switching instruction is used for instructing the background server to generate a first game picture according to the third game picture;
s4, acquiring a first game picture sent by a background server.
The method includes the steps of displaying a third game picture sent by a background server in a client, displaying a plurality of virtual direction keys in a superimposed mode on the third game picture, wherein the virtual direction keys and the plurality of direction keys identifiable by the background server are mapped in a one-to-one mode, sending a switching instruction to the background server, wherein the switching instruction is used for instructing the background server to generate a first game picture according to the third game picture, and obtaining the first game picture sent by the background server.
Further by way of example, a switching button for switching the virtual operation key is optionally displayed in the client, and a switching operation instruction is generated when a touch instruction triggered on the switching button is detected, where the switching operation instruction is used to switch a current third game screen displaying the virtual operation key as a direction key to a first game screen displaying the virtual operation key as a virtual rocker.
According to the embodiment of the application, the third game picture sent by the background server is displayed in the client, a plurality of virtual direction keys are overlapped and displayed on the third game picture, wherein the virtual direction keys and the plurality of direction keys which can be identified by the background server are mapped one by one, a switching instruction is sent to the background server, the switching instruction is used for instructing the background server to generate the first game picture according to the third game picture, the first game picture sent by the background server is obtained, and the purpose of displaying various virtual operation keys in the game picture is achieved, so that the effect of displaying diversity of the game picture is achieved.
As an alternative, in the case that the virtual rocker center is located in the target area in the virtual rocker area, sending the target operation instruction to the background server includes:
S1, under the condition that the center of a virtual rocker is located in a first area in a first virtual rocker area, a first operation instruction is sent to a background server, wherein the first operation instruction is used for instructing the background server to acquire a first direction key corresponding to the first area according to a first mapping relation and generating a picture of a target virtual object for executing a first moving operation in a first direction corresponding to the first direction key;
S2, under the condition that the center of the virtual rocker is located in a second area in the first virtual rocker area, sending a second operation instruction to the background server, wherein the second operation instruction is used for instructing the background server to acquire a second direction key corresponding to the second area according to a second mapping relation and generating a picture of executing a first moving operation of the target virtual object in a second direction corresponding to the second direction key;
And S3, under the condition that the center of the virtual rocker is located in a third area in the first virtual rocker area, sending a third operation instruction to the background server, wherein the third operation instruction is used for instructing the background server to acquire a first direction key and a second direction key corresponding to the third area according to a third mapping relation, generating a picture of executing the first moving operation by the target virtual object in a third direction corresponding to the first direction key and the second direction key, and the third direction is a combined direction of the first direction and the second direction.
The method includes the steps of sending a first operation instruction to a background server under the condition that a virtual rocker center is located in a first area in a first virtual rocker area, wherein the first operation instruction is used for instructing the background server to obtain a first direction key corresponding to the first area according to a first mapping relation and generating a picture for enabling a target virtual object to execute first moving operation in a first direction corresponding to the first direction key, sending a second operation instruction to the background server under the condition that the virtual rocker center is located in a second area in the first virtual rocker area, wherein the second operation instruction is used for instructing the background server to obtain a second direction key corresponding to the second area according to a second mapping relation and generating a picture for enabling the target virtual object to execute first moving operation in a second direction corresponding to the second direction key, and sending a third operation instruction to the background server under the condition that the virtual rocker center is located in a third area, wherein the third operation instruction is used for instructing the background server to obtain the first direction key corresponding to the third area and the second direction key corresponding to the third area and the target virtual object and generating the first direction key and the second direction key corresponding to the third direction key according to the third mapping relation and combining the first direction and the second direction key and the first direction key and the second direction key.
Further illustratively, as shown in fig. 5, for example, a first area 502 within the first virtual rocker area 408 is optionally included, and in the case where the virtual rocker center 404 is located in the first area 502 within the first virtual rocker area 408, a second game screen 506 is displayed in which the target virtual object 410 performs a moving operation in the first direction indicated by the first direction key 504.
Further illustratively, as shown in fig. 6, the virtual rocker center 602 and the first virtual rocker area 604 are included, wherein the first virtual rocker area 604 includes 8 areas numbered 1-8, and each numbered area is used to indicate a corresponding movement direction key, for example, the area numbered 1 is used to indicate a forward movement direction key, the area numbered 7 is used to indicate a leftward movement direction key, and the area numbered 8 is used to indicate a movement direction of the leftward and forward direction key (i.e., a combination of leftward and forward direction keys).
According to the embodiment of the application, under the condition that the center of the virtual rocker is located in the first area in the first virtual rocker area, a first operation instruction is sent to the background server, wherein the first operation instruction is used for indicating the background server to acquire a first direction key corresponding to the first area according to the first mapping relation and generating a picture for enabling the target virtual object to execute first moving operation towards the first direction key, under the condition that the center of the virtual rocker is located in the second area in the first virtual rocker area, a second operation instruction is sent to the background server, wherein the second operation instruction is used for indicating the background server to acquire a second direction key corresponding to the second area according to the second mapping relation and generating a picture for enabling the target virtual object to execute first moving operation towards the second direction key, under the condition that the center of the virtual rocker is located in the third area, the third operation instruction is sent to the background server, and the third direction key corresponding to the third area is acquired according to the third mapping relation and the third direction key, and the first direction key is generated, and the movement direction of the target virtual object is enabled to execute the first moving operation towards the second direction key, and the first direction is achieved, and flexibility of the movement of the first direction key is improved.
As an alternative, in the case that the virtual rocker center is located in the target area in the virtual rocker area, sending the target operation instruction to the background server includes:
And under the condition that the center of the virtual rocker is located in a fourth area in the second virtual rocker area, sending a fourth operation instruction to the background server, wherein the fourth operation instruction is used for instructing the background server to acquire a first direction key corresponding to the fourth area and a target operation key according to a fourth mapping relation, and generating a picture that the target virtual object executes a second moving operation corresponding to the target operation key in a first direction corresponding to the first direction key.
Under the condition that the center of the virtual rocker is located in a fourth area in the second virtual rocker area, a fourth operation instruction is sent to the background server, wherein the fourth operation instruction is used for instructing the background server to acquire a first direction key and a target operation key corresponding to the fourth area according to a fourth mapping relation, and a picture that the target virtual object executes a second moving operation corresponding to the target operation key in a first direction corresponding to the first direction key is generated. Alternatively, the second moving operation may be, but not limited to, an operation for increasing the moving speed or the moving distance in a short time, such as acceleration running, jumping, scrolling, or the like.
Further by way of example, as shown in fig. 7, the second virtual rocker area 606 may be optionally included, where the second virtual rocker area 606 includes 8 numbered areas numbered a-H, optionally, the 8 numbered areas numbered a-H may be used to indicate operation keys for performing the same type of operation, optionally, all 8 numbered areas numbered a-H may be used to indicate operation keys for performing the run-up operation, the 8 numbered areas numbered a-H may be used to indicate operation keys for performing different types of operation, optionally, for example, the area numbered a may be used to indicate operation keys for performing the scroll operation, the area numbered B may be used to indicate operation keys for performing the jump operation, etc.
By way of further illustration, as shown in fig. 7, alternatively, when the virtual rocker center 602 slides to the number 1 area in the first virtual rocker area 604, a first direction key indicated by the number 1 area is obtained, on the basis of this, if the virtual rocker center 602 slides to the number a area of the second virtual rocker area 606 again, an operation key corresponding to the number a area for indicating to execute a scrolling operation is obtained, and the first direction key is combined with the operation key for indicating to execute the scrolling operation, and an operation instruction for indicating to execute the scrolling operation in the first direction is obtained.
According to the embodiment of the application, under the condition that the center of the virtual rocker is located in the fourth area in the second virtual rocker area, a fourth operation instruction is sent to the background server, wherein the fourth operation instruction is used for instructing the background server to acquire the first direction key and the target operation key corresponding to the fourth area according to the fourth mapping relation, and generating a picture that the target virtual object executes the second moving operation corresponding to the target operation key in the first direction corresponding to the first direction key, so that the combination of multiple rocker areas is achieved, the purpose of acquiring more comprehensive operation instructions is achieved, and the effect of improving the acquisition comprehensiveness of the operation instructions is achieved.
Alternatively, as an alternative embodiment, as shown in fig. 8, a control method of a virtual object includes:
s802, a first game picture is sent to a client, wherein the first game picture is a picture in a target cloud game operated by a background server, and a target virtual object controlled by the client participates in a game task in the target cloud game;
S804, acquiring a target operation instruction sent by a client, wherein the target operation instruction is used for indicating a target area, in which a virtual rocker center displayed in a superposition manner on a first game picture is located, in a virtual rocker area displayed in a superposition manner on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by a background server are in a target mapping relationship, the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area, the target operation instruction is used for indicating the background server to acquire a target direction key corresponding to the target area according to the target mapping relationship, and generating a second game picture corresponding to the target direction key, and the second game picture is a picture for executing target moving operation of a target virtual object to a target direction corresponding to the target area;
s806, acquiring a target direction key corresponding to the target area according to the target mapping relation, and generating a second game picture corresponding to the target direction key;
S808, sending the second game picture to the client.
Alternatively, a control method of a virtual object may be applied, but not limited to, in a cloud game scenario where a mobile terminal is used to control a virtual character in a computer end game to perform a virtual task. Optionally, the cloud game may be, but not limited to, a game mode based on cloud computing, in an operation mode of the cloud game, all games are operated at a server side, and after rendered game images are compressed and transmitted to a user through a network, while in a client side, a game device of the user does not need any high-end processor or display card, but may not be limited to only needing basic video decompression capability. The virtual rocker area may be, but is not limited to, one or more circular areas, and the virtual rocker center may be, but is not limited to, the center of the virtual rocker area, optional. The virtual rocker area may include one or more virtual areas, and in the case of multiple virtual areas, the multiple virtual areas may be used, but are not limited to, respectively, to indicate that different rocker operation instructions are generated, but the rocker operation instructions are not generally recognized by the background server, and the direction operation instructions corresponding to the direction keys may be recognized by the background server. Alternatively, the game screen may be, but is not limited to being, one or more frames of screen. The directional keys may be, but are not limited to, in the form of signals recognizable by the background server, such as movement signals triggered by a physical keyboard. The direction key may be displayed in the mobile terminal or computer end stream, but is not limited thereto.
The method includes the steps of receiving a first game picture from a client, wherein the first game picture is a picture in a target cloud game operated by a background server, a target virtual object controlled by the client participates in a game task in the target cloud game, obtaining a target operation command sent by the client, wherein the target operation command is used for indicating a target area of a virtual rocker circle center which is overlapped and displayed on the first game picture and is positioned in a virtual rocker area which is overlapped and displayed on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys which can be identified by the background server are target mapping relations, the virtual rocker circle center is used for determining target areas in the plurality of areas in the virtual rocker area, the target operation command is used for indicating the background server to obtain a target direction key corresponding to the target area according to the target mapping relation and generate a second game picture corresponding to the target direction key, the second game picture is obtained by the second game picture which is a target virtual object and is moved to the target direction corresponding to the target area, obtaining the target direction key corresponding to the target area according to the target mapping relation and generating the target direction key, and sending the second picture to the client.
According to the embodiment of the application, a first game picture is sent to a client, wherein the first game picture is a picture in a target cloud game operated by a background server, a target virtual object controlled by the client participates in a game task in the target cloud game, a target operation instruction sent by the client is acquired, wherein the target operation instruction is used for indicating a target area of which the virtual rocker center displayed in a superposition manner on the first game picture is positioned in a virtual rocker area displayed in a superposition manner on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by the background server are in a target mapping relationship, the virtual rocker center is used for determining the target area in the plurality of areas in the virtual rocker area, the target operation instruction is used for indicating the background server to acquire the target direction key corresponding to the target area according to the target mapping relationship and generate a second game picture corresponding to the target direction key, the second game picture is used for executing a target moving operation in the target direction corresponding to the target area, the target direction key is acquired according to the target mapping relationship, the second game picture is used for generating the target direction key corresponding to the target virtual object and the target direction, the second game picture is used for playing the target direction key moving in the target direction, the virtual picture is still used for playing the virtual object in a control mode of the virtual rocker is moved to the control point of the virtual object, the control window is realized in a mode of moving the virtual picture is realized, and the user is controlled by the virtual key is in a control of the control terminal in a moving the control mode of the virtual key is positioned in the virtual key in the control position in the control mode, thereby realizing the effect of improving the control efficiency of the virtual object.
As an alternative, before sending the first game screen to the client, the method includes:
S1, a third game picture is sent to a client, wherein a plurality of virtual direction keys are displayed on the third game picture in a superimposed mode, and the virtual direction keys and a plurality of direction keys identifiable by a background server are mapped in a one-to-one mode;
s2, acquiring a switching instruction sent by the client, wherein the switching instruction is used for instructing the background server to generate a first game picture according to the third game picture;
And S3, sending the first game picture generated according to the switching instruction to the client.
The method includes the steps of sending a third game picture to a client, wherein a plurality of virtual direction keys are overlapped and displayed on the third game picture, the virtual direction keys and a plurality of direction keys which can be identified by a background server are mapped in a one-to-one mode, acquiring a switching instruction sent by the client, wherein the switching instruction is used for instructing the background server to generate a first game picture according to the third game picture, and sending the first game picture generated according to the switching instruction to the client.
According to the embodiment of the application, the third game picture is sent to the client, wherein a plurality of virtual direction keys are overlapped and displayed on the third game picture, the virtual direction keys and the plurality of direction keys which can be identified by the background server are mapped one by one, the switching instruction sent by the client is obtained, the switching instruction is used for instructing the background server to generate the first game picture according to the third game picture, the first game picture generated according to the switching instruction is sent to the client, and the purpose of displaying various virtual operation keys in the game picture is further achieved, so that the effect of displaying diversity of the game picture is achieved.
As an alternative, according to the target mapping relationship, obtaining a target direction key corresponding to the target area includes:
S1, acquiring a first direction key corresponding to a first area of a virtual rocker center located in a first virtual rocker area according to a first mapping relation, and generating a picture of a target virtual object for executing a first moving operation in a first direction corresponding to the first direction key;
S2, acquiring a second direction key corresponding to a second area of the virtual rocker center in the first virtual rocker area according to a second mapping relation, and generating a picture of executing a first moving operation of the target virtual object in a second direction corresponding to the second direction key;
and S3, acquiring a first direction key and a second direction key corresponding to a third area of the virtual rocker center in the first virtual rocker area according to a third mapping relation, and generating a picture of executing a first moving operation on the target virtual object in a third direction corresponding to the first direction key and the second direction key, wherein the third direction is a combined direction of the first direction and the second direction.
The method includes the steps of obtaining a first direction key corresponding to a first area, located in a first virtual rocker area, of a virtual rocker center according to a first mapping relation, generating a picture for executing first moving operation of a target virtual object in a first direction corresponding to the first direction key, obtaining a second direction key corresponding to a second area, located in the first virtual rocker area, of the virtual rocker center according to a second mapping relation, generating a picture for executing first moving operation of the target virtual object in a second direction corresponding to the second direction key, obtaining a first direction key and a second direction key corresponding to a third area, located in the first virtual rocker area, of the virtual rocker center according to a third mapping relation, and generating a picture for executing first moving operation of the target virtual object in a third direction corresponding to the first direction key and the second direction key, wherein the third direction is a combined direction of the first direction and the second direction.
According to the embodiment of the application, a first direction key corresponding to a first area of a virtual rocker center in a first virtual rocker area is obtained according to a first mapping relation, a picture for executing a first moving operation in a first direction corresponding to the first direction key of a target virtual object is generated, a second direction key corresponding to a second area of the virtual rocker center in the first virtual rocker area is obtained according to a second mapping relation, a picture for executing the first moving operation in a second direction corresponding to the second direction key of the target virtual object is generated, a first direction key and a second direction key corresponding to a third area of the virtual rocker center in the first virtual rocker area are obtained according to a third mapping relation, a picture for executing the first moving operation in a third direction corresponding to the first direction key and the second direction key of the target virtual object is generated, and the third direction is a combined direction of the first direction and the second direction, so that the purpose of controlling the virtual object to execute the moving operation in multiple directions is achieved, and the effect of controlling the flexibility of executing the moving operation of the virtual object is achieved.
As an alternative, according to the target mapping relationship, obtaining a target direction key corresponding to the target area includes:
And acquiring a first direction key and a target operation key corresponding to a fourth area of the virtual rocker center in the second virtual rocker area according to the fourth mapping relation, and generating a picture of the target virtual object executing a second moving operation corresponding to the target operation key in a first direction corresponding to the first direction key, wherein the distance between the second virtual rocker area and the virtual rocker center is larger than the distance between the first virtual rocker area and the virtual rocker center.
It should be noted that, according to the fourth mapping relationship, the first direction key and the target operation key corresponding to the fourth area where the center of the virtual rocker is located in the second virtual rocker area are obtained, and a picture that the target virtual object executes the second moving operation corresponding to the target operation key in the first direction corresponding to the first direction key is generated, where the distance between the second virtual rocker area and the center of the virtual rocker is greater than the distance between the first virtual rocker area and the center of the virtual rocker.
According to the embodiment of the application, the first direction key and the target operation key corresponding to the fourth area of the virtual rocker center in the second virtual rocker area are acquired according to the fourth mapping relation, and the picture that the target virtual object executes the second moving operation corresponding to the target operation key in the first direction corresponding to the first direction key is generated, wherein the distance between the second virtual rocker area and the virtual rocker center is larger than the distance between the first virtual rocker area and the virtual rocker center, so that the purpose of flexibly controlling the virtual object to execute additional operation is achieved, and the effect of improving the flexibility of controlling the virtual object is achieved.
As an alternative, before obtaining the target operation instruction sent by the client, the method includes:
and establishing target mapping relations between each virtual rocker center located in a plurality of areas and a plurality of direction keys identifiable by a background server.
It should be noted that, the target mapping relationship between each virtual rocker center located in a plurality of areas and a plurality of direction keys identifiable by the background server is established.
Further by way of example, as shown in FIG. 9, optionally, a type mapping 904 of the plurality of regions in the second virtual rocker region 606 with the one or more operation keys 902 is established, and a direction mapping 908 of the plurality of regions in the first virtual rocker region 604 with the one or more operation direction keys 906 is established.
By the embodiment of the application, the target mapping relation between each virtual rocker center in a plurality of areas and a plurality of direction keys identifiable by a background server is established, so that the purpose of establishing the mapping relation in advance to rapidly determine the type and direction of the mobile operation to be executed according to the rocker areas is achieved, and the effect of improving the determination efficiency of the mobile operation is achieved.
As an alternative scheme, establishing a target mapping relationship between each virtual rocker center located in a plurality of areas and a plurality of direction keys identifiable by a background server, wherein the target mapping relationship comprises at least one of the following steps:
S1, establishing a first mapping relation of a virtual rocker center on a first area and a first direction key;
S2, establishing a second mapping relation of the center of the virtual rocker to the second region and the second direction key;
S3, establishing a third mapping relation of the center of the virtual rocker to the first direction key and the second direction key in a third area;
and S4, establishing a fourth mapping relation of the center of the virtual rocker to the fourth area, the first direction key and the target operation key.
The method includes the steps of establishing a first mapping relation of a virtual rocker center located in a first area and a first direction key, establishing a second mapping relation of the virtual rocker center located in a second area and a second direction key, establishing a third mapping relation of the virtual rocker center located in a third area and the first direction key and the second direction key, and establishing a fourth mapping relation of the virtual rocker center located in a fourth area and the first direction key and a target operation key.
Further by way of example, as shown in FIG. 10, a third mapping 1004 between the number 6 area in the first virtual rocker area 604 and the third directional key 1002 is established, and a fourth mapping 1008 between the number H area in the second virtual rocker area 606 and the target operation key 1006 is established.
According to the embodiment of the application, a first mapping relation of the virtual rocker center on the first area and the first direction key is established, a second mapping relation of the virtual rocker center on the second area and the second direction key is established, a third mapping relation of the virtual rocker center on the third area, the first direction key and the second direction key is established, a fourth mapping relation of the virtual rocker center on the fourth area, the first direction key and the target operation key is established, and the technical purpose of rapidly determining the movement operation to be performed by the virtual object through the preset comprehensive mapping relation is achieved by presetting the mapping relation of each direction, each type direction key or other type keys and the area, so that the technical effect of determining the efficiency of the movement operation to be performed by the virtual object is achieved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
According to another aspect of the embodiment of the present invention, there is also provided a control device for a virtual object for implementing the control method for a virtual object. As shown in fig. 11, the apparatus includes:
The first display unit 1102 is configured to display, in the client, a first game picture sent by the background server, where the first game picture is a picture in a target cloud game that is run by the background server, and a target virtual object controlled by the client participates in a game task in the target cloud game;
A second display unit 1104, configured to superimpose and display a virtual rocker center and a virtual rocker area on the first game screen, where the virtual rocker area includes a plurality of areas, and the plurality of areas and a plurality of direction keys identifiable by the background server are target mapping relationships, and the virtual rocker center is used to determine a target area in the plurality of areas in the virtual rocker area;
The first sending unit 1106 is configured to send a target operation instruction to the background server when the center of the virtual rocker is located in a target area in the virtual rocker area, where the target operation instruction is used to instruct the background server to obtain a target direction key corresponding to the target area according to a target mapping relationship, and generate a second game picture corresponding to the target direction key, where the second game picture is a picture that the target virtual object performs a target movement operation in a target direction corresponding to the target area;
The first obtaining unit 1108 is configured to obtain a second game screen sent by the background server.
Alternatively, a control device of a virtual object may be applied, but not limited to, in a cloud game scenario where a mobile terminal is used to control a virtual character in a computer end game to perform a virtual task. Optionally, the cloud game may be, but not limited to, a game mode based on cloud computing, in an operation mode of the cloud game, all games are operated at a server side, and after rendered game images are compressed and transmitted to a user through a network, while in a client side, a game device of the user does not need any high-end processor or display card, but may not be limited to only needing basic video decompression capability. The virtual rocker area may be, but is not limited to, one or more circular areas, and the virtual rocker center may be, but is not limited to, the center of the virtual rocker area, optional. The virtual rocker area may include one or more virtual areas, and in the case of multiple virtual areas, the multiple virtual areas may be used, but are not limited to, respectively, to indicate that different rocker operation instructions are generated, but the rocker operation instructions are not generally recognized by the background server, and the direction operation instructions corresponding to the direction keys may be recognized by the background server. Alternatively, the game screen may be, but is not limited to being, one or more frames of screen. The directional keys may be, but are not limited to, in the form of signals recognizable by the background server, such as movement signals triggered by a physical keyboard. The direction key may be displayed in the mobile terminal or computer end stream, but is not limited thereto.
The method includes the steps of displaying a first game picture sent by a background server in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, a target virtual object controlled by the client participates in a game task in the target cloud game, displaying a virtual rocker center and a virtual rocker area in a superposition mode on the first game picture, wherein the virtual rocker center is used for controlling the target virtual object to execute moving operation in the virtual rocker area, sending a target operation instruction to the background server under the condition that the virtual rocker center is located in a target area in the virtual rocker area, wherein the target operation instruction is used for instructing the background server to generate a second game picture according to a target mapping relation, the second game picture is a picture for executing target moving operation in a target direction corresponding to the target area by the target virtual object, the target mapping relation is a mapping relation between the target area and an operation instruction for instructing the target virtual operation object to execute target moving operation in the target direction, and obtaining a second game picture sent by the background server.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
According to the embodiment of the application, a first game picture sent by a background server is displayed in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, a target virtual object controlled by the client participates in a game task in the target cloud game, a virtual rocker center and a virtual rocker area are superimposed and displayed on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by the background server are in a target mapping relation, the virtual rocker center is used for determining the target area in the virtual rocker area, a target operation instruction is sent to the background server under the condition that the virtual rocker center is located in the target area in the virtual rocker area, the target operation instruction is used for indicating the background server to obtain a target direction key corresponding to the target area and generate a second game picture corresponding to the target direction key, the second game picture is a picture for executing target moving operation in the target direction corresponding to the target area, the second game picture sent by the background server is obtained, the virtual rocker center is converted into a control target direction by the virtual object, and the virtual rocker center is controlled by a control terminal in a mode of moving the virtual object, so that the user can realize a control effect of the game terminal is realized.
As an alternative, the second display unit 1104 includes:
the first display module is used for displaying the virtual rocker center, the first virtual rocker area and the second virtual rocker area in a superposition mode on the first game picture, wherein the distance between the second virtual rocker area and the virtual rocker center is larger than the distance between the first virtual rocker area and the virtual rocker center.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
As an alternative, it includes:
a third display unit, configured to display, in the client, a third game screen sent by the background server before displaying the first game screen sent by the background server;
a fourth display unit, configured to superimpose and display a plurality of virtual direction keys on the third game frame before displaying the first game frame sent by the background server, where the virtual direction keys and the plurality of direction keys identifiable by the background server are mapped one-to-one;
the second sending unit is used for sending a switching instruction to the background server before the first game picture sent by the background server is displayed, wherein the switching instruction is used for instructing the background server to generate the first game picture according to the third game picture;
and the second acquisition unit is used for acquiring the first game picture sent by the background server before the first game picture sent by the background server is displayed.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
As an alternative, the first transmitting unit 1106 includes:
The first sending module is used for sending a first operation instruction to the background server under the condition that the center of the virtual rocker is located in a first area in the first virtual rocker area, wherein the first operation instruction is used for instructing the background server to acquire a first direction key corresponding to the first area according to a first mapping relation and generating a picture of executing a first moving operation of a target virtual object in a first direction corresponding to the first direction key;
the second sending module is used for sending a second operation instruction to the background server under the condition that the center of the virtual rocker is located in a second area in the first virtual rocker area, wherein the second operation instruction is used for instructing the background server to acquire a second direction key corresponding to the second area according to a second mapping relation and generating a picture of executing a first moving operation of the target virtual object in a second direction corresponding to the second direction key;
The third sending module is used for sending a third operation instruction to the background server under the condition that the center of the virtual rocker is located in a third area in the first virtual rocker area, wherein the third operation instruction is used for instructing the background server to obtain a first direction key and a second direction key corresponding to the third area according to a third mapping relation, and generating a picture of executing the first moving operation of the target virtual object in a third direction corresponding to the first direction key and the second direction key, and the third direction is a combination direction of the first direction and the second direction.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
As an alternative, the first transmitting unit 1106 includes:
and the fourth sending module is used for sending a fourth operation instruction to the background server under the condition that the center of the virtual rocker is located in a fourth area in the second virtual rocker area, wherein the fourth operation instruction is used for instructing the background server to acquire a first direction key and a target operation key corresponding to the fourth area according to a fourth mapping relation and generating a picture that the target virtual object executes a second moving operation corresponding to the target operation key in a first direction corresponding to the first direction key.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
According to another aspect of the embodiment of the present invention, there is also provided a control device for a virtual object for implementing the control method for a virtual object. As shown in fig. 12, the apparatus includes:
A third sending unit 1202, configured to send a first game frame to a client, where the first game frame is a frame in a target cloud game that is run by a background server, and a target virtual object controlled by the client participates in a game task in the target cloud game;
A third obtaining unit 1204, configured to obtain a target operation instruction sent by the client, where the target operation instruction is used to indicate that a virtual rocker center displayed in a superimposed manner on the first game frame is located in a target area in the virtual rocker area displayed in a superimposed manner on the first game frame, the virtual rocker area includes a plurality of areas, and the plurality of areas and a plurality of direction keys identifiable by the background server are target mapping relationships, the virtual rocker center is used to determine a target area in the plurality of areas in the virtual rocker area, and the target operation instruction is used to instruct the background server to obtain a target direction key corresponding to the target area according to the target mapping relationships, and generate a second game frame corresponding to the target direction key, where the second game frame is a frame in which the target virtual object performs a target moving operation in a target direction corresponding to the target area;
A fourth obtaining unit 1206, configured to obtain a target direction key corresponding to the target area according to the target mapping relationship, and generate a second game screen corresponding to the target direction key;
a third sending unit 1208, configured to send the second game screen to the client.
Alternatively, a control device of a virtual object may be applied, but not limited to, in a cloud game scenario where a mobile terminal is used to control a virtual character in a computer end game to perform a virtual task. Optionally, the cloud game may be, but not limited to, a game mode based on cloud computing, in an operation mode of the cloud game, all games are operated at a server side, and after rendered game images are compressed and transmitted to a user through a network, while in a client side, a game device of the user does not need any high-end processor or display card, but may not be limited to only needing basic video decompression capability. The virtual rocker area may be, but is not limited to, one or more circular areas, and the virtual rocker center may be, but is not limited to, the center of the virtual rocker area, optional. The virtual rocker area may include one or more virtual areas, and in the case of multiple virtual areas, the multiple virtual areas may be used, but are not limited to, respectively, to indicate that different rocker operation instructions are generated, but the rocker operation instructions are not generally recognized by the background server, and the direction operation instructions corresponding to the direction keys may be recognized by the background server. Alternatively, the game screen may be, but is not limited to being, one or more frames of screen. The directional keys may be, but are not limited to, in the form of signals recognizable by the background server, such as movement signals triggered by a physical keyboard. The direction key may be displayed in the mobile terminal or computer end stream, but is not limited thereto.
The method includes the steps of receiving a first game picture from a client, wherein the first game picture is a picture in a target cloud game operated by a background server, a target virtual object controlled by the client participates in a game task in the target cloud game, obtaining a target operation command sent by the client, wherein the target operation command is used for indicating a target area of a virtual rocker circle center which is overlapped and displayed on the first game picture and is positioned in a virtual rocker area which is overlapped and displayed on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys which can be identified by the background server are target mapping relations, the virtual rocker circle center is used for determining target areas in the plurality of areas in the virtual rocker area, the target operation command is used for indicating the background server to obtain a target direction key corresponding to the target area according to the target mapping relation and generate a second game picture corresponding to the target direction key, the second game picture is obtained by the second game picture which is a target virtual object and is moved to the target direction corresponding to the target area, obtaining the target direction key corresponding to the target area according to the target mapping relation and generating the target direction key, and sending the second picture to the client.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
According to the embodiment of the application, a first game picture is sent to a client, wherein the first game picture is a picture in a target cloud game operated by a background server, a target virtual object controlled by the client participates in a game task in the target cloud game, a target operation instruction sent by the client is acquired, wherein the target operation instruction is used for indicating a target area of which the virtual rocker center displayed in a superposition manner on the first game picture is positioned in a virtual rocker area displayed in a superposition manner on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by the background server are in a target mapping relationship, the virtual rocker center is used for determining the target area in the plurality of areas in the virtual rocker area, the target operation instruction is used for indicating the background server to acquire the target direction key corresponding to the target area according to the target mapping relationship and generate a second game picture corresponding to the target direction key, the second game picture is used for executing a target moving operation in the target direction corresponding to the target area, the target direction key is acquired according to the target mapping relationship, the second game picture is used for generating the target direction key corresponding to the target virtual object and the target direction, the second game picture is used for playing the target direction key moving in the target direction, the virtual picture is still used for playing the virtual object in a control mode of the virtual rocker is moved to the control point of the virtual object, the control window is realized in a mode of moving the virtual picture is realized, and the user is controlled by the virtual key is in a control of the control terminal in a moving the control mode of the virtual key is positioned in the virtual key in the control position in the control mode, thereby realizing the effect of improving the control efficiency of the virtual object.
As an alternative, it includes:
A fourth sending unit, configured to send a third game frame to the client, where the third game frame is superimposed with a plurality of virtual direction keys, and the virtual direction keys and the plurality of direction keys identifiable by the background server are mapped in a one-to-one mapping manner;
a fifth obtaining unit, configured to obtain a switching instruction sent by the client, where the switching instruction is used to instruct the background server to generate a first game screen according to the third game screen;
and a fifth transmitting unit for transmitting the first game screen generated according to the switching instruction to the client.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
As an alternative, the fourth obtaining unit 1206 includes:
The first acquisition module is used for acquiring a first direction key corresponding to a first area of which the center of the virtual rocker is positioned in the first virtual rocker area according to a first mapping relation and generating a picture of executing a first moving operation of the target virtual object in a first direction corresponding to the first direction key;
the second acquisition module is used for acquiring a second direction key corresponding to a second area of the virtual rocker center in the first virtual rocker area according to a second mapping relation and generating a picture of executing a first moving operation of the target virtual object in a second direction corresponding to the second direction key;
the third obtaining module is used for obtaining a first direction key and a second direction key corresponding to a third area, where the center of the virtual rocker is located in the first virtual rocker area, according to a third mapping relation, and generating a picture of the target virtual object for executing a first moving operation towards the third direction corresponding to the first direction key and the second direction key, and the third direction is a combined direction of the first direction and the second direction.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
As an alternative, the fourth obtaining unit 1206 includes:
the fourth obtaining module is configured to obtain, according to a fourth mapping relationship, a first direction key and a target operation key corresponding to a fourth area where a virtual rocker center is located in a second virtual rocker area, and generate a picture that the target virtual object executes a second movement operation corresponding to the target operation key in a first direction corresponding to the first direction key, where a distance between the second virtual rocker area and the virtual rocker center is greater than a distance between the first virtual rocker area and the virtual rocker center.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
As an alternative, it includes:
The establishing unit is used for establishing target mapping relations between each virtual rocker center located in a plurality of areas and a plurality of direction keys identifiable by the background server before the first target operation instruction sent by the client is acquired.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
As an alternative, the establishing unit includes at least one of:
the first establishing module is used for establishing a first mapping relation of the virtual rocker center on the first area and the first direction key;
The second establishing module is used for establishing a second mapping relation of the virtual rocker center of a circle in the second area and the second direction key;
the third establishing module is used for establishing a third mapping relation of the virtual rocker center in a third area, the first direction key and the second direction key;
And the fourth establishing module is used for establishing a fourth mapping relation of the center of the virtual rocker in the fourth area, the first direction key and the target operation key.
For specific embodiments, reference may be made to the examples shown in the above-mentioned control method of the virtual object, which are not described herein.
According to a further aspect of the embodiments of the present invention, there is also provided an electronic device for implementing the above-described control method of a virtual object, as shown in fig. 13, the electronic device comprising a memory 1302 and a processor 1304, the memory 1302 having stored therein a computer program, the processor 1304 being arranged to perform the steps of any of the method embodiments described above by means of the computer program.
Alternatively, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, displaying a first game picture sent by a background server in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, and a target virtual object controlled by the client participates in a game task in the target cloud game;
s2, superposing and displaying a virtual rocker center and a virtual rocker area on the first game picture, wherein the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys which can be identified by a background server are in a target mapping relation, and the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area;
s3, under the condition that the center of the virtual rocker is located in a target area in the virtual rocker area, a target operation instruction is sent to the background server, wherein the target operation instruction is used for instructing the background server to acquire a target direction key corresponding to the target area according to a target mapping relation and generate a second game picture corresponding to the target direction key, and the second game picture is a picture for executing target moving operation of a target virtual object in a target direction corresponding to the target area;
S4, obtaining a second game picture sent by the background server. And/or
S1, a first game picture is sent to a client, wherein the first game picture is a picture in a target cloud game operated by a background server, and a target virtual object controlled by the client participates in a game task in the target cloud game;
S2, acquiring a target operation instruction sent by a client, wherein the target operation instruction is used for indicating a target area, in which a virtual rocker center displayed in a superposition manner on a first game picture is located, in the virtual rocker area displayed in the superposition manner on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by a background server are in a target mapping relationship, the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area, the target operation instruction is used for indicating the background server to acquire a target direction key corresponding to the target area according to the target mapping relationship, and generating a second game picture corresponding to the target direction key, and the second game picture is a picture for executing target moving operation of a target virtual object to a target direction corresponding to the target area;
S3, acquiring a target direction key corresponding to the target area according to the target mapping relation, and generating a second game picture corresponding to the target direction key;
s4, sending the second game picture to the client.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 13 is only schematic, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile internet device (Mobile INTERNET DEVICES, MID), a PAD, etc. Fig. 13 is not limited to the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 13, or have a different configuration than shown in FIG. 13.
The memory 1302 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for controlling a virtual object in the embodiment of the present invention, and the processor 1304 executes the software programs and modules stored in the memory 1302, thereby performing various functional applications and data processing, that is, implementing the method for controlling a virtual object described above. Memory 1302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 1302 may further include memory located remotely from processor 1304, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1302 may be used for storing information such as a first game screen, a target operation instruction, a target mapping relationship, and a second game screen, but is not limited to. As an example, as shown in fig. 13, the memory 1302 may include, but is not limited to, a first display unit 1102, a second display unit 1104, a first transmitting unit 1106, and a first acquiring unit 1108 in the control device of the virtual object, and a third transmitting unit (not shown in the figure), a third acquiring unit (not shown in the figure), a fourth acquiring unit (not shown in the figure), and a third transmitting unit (not shown in the figure) in the control device of the other virtual object. In addition, other module units in the control device of the virtual object may be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmission device 1306 is configured to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission means 1306 comprises a network adapter (Network Interface Controller, NIC) which can be connected to other network devices and routers via a network cable so as to communicate with the internet or a local area network. In one example, the transmission device 1306 is a Radio Frequency (RF) module for communicating wirelessly with the internet.
The electronic device further includes a display 1308 for displaying information such as the first game screen, the target operation command, the target mapping relation, and the second game screen, and a connection bus 1310 for connecting the respective module components of the electronic device.
According to a further aspect of embodiments of the present invention, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying a first game picture sent by a background server in a client, wherein the first game picture is a picture in a target cloud game operated by the background server, and a target virtual object controlled by the client participates in a game task in the target cloud game;
s2, superposing and displaying a virtual rocker center and a virtual rocker area on the first game picture, wherein the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys which can be identified by a background server are in a target mapping relation, and the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area;
s3, under the condition that the center of the virtual rocker is located in a target area in the virtual rocker area, a target operation instruction is sent to the background server, wherein the target operation instruction is used for instructing the background server to acquire a target direction key corresponding to the target area according to a target mapping relation and generate a second game picture corresponding to the target direction key, and the second game picture is a picture for executing target moving operation of a target virtual object in a target direction corresponding to the target area;
S4, obtaining a second game picture sent by the background server. And/or
S1, a first game picture is sent to a client, wherein the first game picture is a picture in a target cloud game operated by a background server, and a target virtual object controlled by the client participates in a game task in the target cloud game;
S2, acquiring a target operation instruction sent by a client, wherein the target operation instruction is used for indicating a target area, in which a virtual rocker center displayed in a superposition manner on a first game picture is located, in the virtual rocker area displayed in the superposition manner on the first game picture, the virtual rocker area comprises a plurality of areas, the plurality of areas and a plurality of direction keys identifiable by a background server are in a target mapping relationship, the virtual rocker center is used for determining a target area in the plurality of areas in the virtual rocker area, the target operation instruction is used for indicating the background server to acquire a target direction key corresponding to the target area according to the target mapping relationship, and generating a second game picture corresponding to the target direction key, and the second game picture is a picture for executing target moving operation of a target virtual object to a target direction corresponding to the target area;
S3, acquiring a target direction key corresponding to the target area according to the target mapping relation, and generating a second game picture corresponding to the target direction key;
s4, sending the second game picture to the client.
Alternatively, in this embodiment, all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing the terminal device related hardware, and the program may be stored in a computer readable storage medium, where the storage medium may include a flash disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method of the various embodiments of the present invention.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and are merely a logical functional division, and there may be other manners of dividing the apparatus in actual implementation, for example, multiple units or components 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 through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (15)

1. A method for controlling a virtual object, comprising:
Displaying a first game picture sent by a background server in a client of a mobile terminal, wherein the first game picture is a picture in a target cloud game operated by the background server, the target cloud game is a cloud game in which a target virtual object in a computer end game is controlled by the client, and the target virtual object controlled by the client participates in a game task in the target cloud game;
The virtual rocker center and the virtual rocker area are overlapped and displayed on the first game picture, wherein the virtual rocker area comprises a first virtual rocker area and a second virtual rocker area, the first virtual rocker area comprises a plurality of areas, a plurality of direction keys which can be identified by the areas and the background server are in a first target mapping relation, the second virtual rocker area comprises a plurality of operation areas, the plurality of operation areas and a plurality of operation keys identifiable by the background server are in a second target mapping relation, and the center of the virtual rocker is used for determining the plurality of areas or target areas in the plurality of operation areas in the virtual rocker area;
Transmitting a first target operation instruction to the background server under the condition that the center of the virtual rocker is located in the target area in the first virtual rocker area, wherein the first target operation instruction is used for instructing the background server to acquire a target direction key corresponding to the target area according to the first target mapping relation and generate a second game picture corresponding to the target direction key, and the second game picture is a picture of executing target moving operation of the target virtual object in a target direction corresponding to the target area;
Under the condition that the center of the virtual rocker slides from the first virtual rocker area to the target area in the second virtual rocker area, a second target operation instruction is sent to the background server, wherein the second target operation instruction is used for instructing the background server to acquire a target direction key and a target operation key corresponding to the target area according to the first target mapping relation and the second target mapping relation, and a second game picture corresponding to the target direction key and the target operation key is generated, and the second game picture is a picture of executing target compound operation from the target virtual object to a target direction corresponding to the target area;
and acquiring the second game picture sent by the background server.
2. The method of claim 1, wherein the superimposing the virtual rocker center and the virtual rocker area on the first game screen comprises:
And displaying the virtual rocker center, the first virtual rocker area and the second virtual rocker area in a superposition manner on the first game picture, wherein the distance between the second virtual rocker area and the virtual rocker center is larger than the distance between the first virtual rocker area and the virtual rocker center.
3. The method of claim 1, comprising, prior to displaying the first game screen sent by the background server:
Displaying a third game picture sent by the background server in the client;
A plurality of virtual direction keys are displayed on the third game picture in a superposition mode, wherein the virtual direction keys and the plurality of direction keys identifiable by the background server are in one-to-one mapping mode;
transmitting a switching instruction to the background server, wherein the switching instruction is used for instructing the background server to generate a first game picture according to the third game picture;
And acquiring the first game picture sent by the background server.
4. The method of claim 2, wherein the sending a first target operation instruction to the background server if the virtual rocker center is located in a target area within the first virtual rocker area comprises:
Transmitting a first operation instruction to the background server under the condition that the center of the virtual rocker is located in a first area in the first virtual rocker area, wherein the first operation instruction is used for instructing the background server to acquire a first direction key corresponding to the first area according to a first mapping relation and generating a picture of executing a first moving operation of the target virtual object in a first direction corresponding to the first direction key;
Transmitting a second operation instruction to the background server under the condition that the center of the virtual rocker is located in a second area in the first virtual rocker area, wherein the second operation instruction is used for instructing the background server to acquire a second direction key corresponding to the second area according to a second mapping relation and generating a picture of executing the first moving operation of the target virtual object in a second direction corresponding to the second direction key;
And under the condition that the center of the virtual rocker is located in a third area in the first virtual rocker area, sending a third operation instruction to the background server, wherein the third operation instruction is used for instructing the background server to acquire the first direction key and the second direction key corresponding to the third area according to a third mapping relation, generating a picture of executing the first moving operation by the target virtual object in a third direction corresponding to the first direction key and the second direction key, and the third direction is a combination direction of the first direction and the second direction.
5. The method of claim 4, wherein the sending a second target operation instruction to the background server if the virtual rocker center slides from the first virtual rocker area to the target area within the second virtual rocker area, further comprises:
and under the condition that the virtual rocker center slides from the first area to a fourth area, sending a fourth operation instruction to the background server, wherein the fourth operation instruction is used for instructing the background server to acquire the first direction key corresponding to a first area, in which the virtual rocker center is located in the first virtual rocker area, and the target operation key corresponding to a fourth area, in which the virtual rocker center is located in the second virtual rocker area, according to the first mapping relation and the fourth mapping relation, and generating a picture of executing the first direction corresponding to the first direction key and executing the second moving operation corresponding to the target operation key by the target virtual object, and the fourth area is the target area located in the second virtual rocker area.
6. A method for controlling a virtual object, comprising:
transmitting a first game picture to a client of a mobile terminal, wherein the first game picture is a picture in a target cloud game operated by a background server, the target cloud game is a cloud game in which a target virtual object in a computer end game is controlled by the client, and the target virtual object controlled by the client participates in a game task in the target cloud game;
The virtual rocker center and the virtual rocker area are overlapped and displayed on the first game picture, wherein the virtual rocker area comprises a first virtual rocker area and a second virtual rocker area, the first virtual rocker area comprises a plurality of areas, a plurality of direction keys which can be identified by the areas and the background server are in a first target mapping relation, the second virtual rocker area comprises a plurality of operation areas, the plurality of operation areas and a plurality of operation keys identifiable by the background server are in a second target mapping relation, and the center of the virtual rocker is used for determining the plurality of areas or target areas in the plurality of operation areas in the virtual rocker area;
Acquiring a first target operation instruction sent by the client under the condition that the center of the virtual rocker is located in the target area in the first virtual rocker area, wherein the first target operation instruction is used for indicating the background server to acquire a target direction key corresponding to the target area according to the first target mapping relation and generating a second game picture corresponding to the target direction key, and the second game picture is a picture of executing target moving operation of the target virtual object in a target direction corresponding to the target area;
Acquiring a second target operation instruction sent by the client under the condition that the center of the virtual rocker slides from the first virtual rocker area to the target area in the second virtual rocker area, wherein the second target operation instruction is used for indicating the background server to acquire a target direction key and a target operation key corresponding to the target area according to the first target mapping relation and the second target mapping relation, and generating a second game picture corresponding to the target direction key and the target operation key, and the second game picture is a picture for executing target compound operation from the target virtual object to the target direction corresponding to the target area;
and sending the second game picture to the client.
7. The method of claim 6, comprising, prior to said sending the first game screen to the client of the mobile terminal:
sending a third game picture to the client, wherein a plurality of virtual direction keys are overlapped and displayed on the third game picture, and the virtual direction keys and the plurality of direction keys which can be identified by the background server are mapped one by one;
Acquiring a switching instruction sent by the client, wherein the switching instruction is used for instructing the background server to generate a first game picture according to the third game picture;
And sending the first game picture generated according to the switching instruction to the client.
8. The method of claim 6, wherein the obtaining, according to the first target mapping relationship, a target direction key corresponding to the target area includes:
Acquiring a first direction key corresponding to a first area of which the center of the virtual rocker is positioned in a first virtual rocker area according to a first mapping relation, and generating a picture of executing a first moving operation of the target virtual object in a first direction corresponding to the first direction key;
Acquiring a second direction key corresponding to a second area of the virtual rocker center in the first virtual rocker area according to a second mapping relation, and generating a picture of the target virtual object for executing the first moving operation in a second direction corresponding to the second direction key;
And acquiring the first direction key and the second direction key corresponding to a third area, in which the center of the virtual rocker is located, in the first virtual rocker area according to a third mapping relation, and generating a picture of the target virtual object for executing the first moving operation towards a third direction corresponding to the first direction key and the second direction key, wherein the third direction is a combined direction of the first direction and the second direction.
9. The method of claim 8, wherein the obtaining, according to the first target mapping relationship and the second target mapping relationship, a target direction key and a target operation key corresponding to the target area includes:
Under the condition that the virtual rocker center slides from the first area to a fourth area, the first direction key corresponding to a first area, in which the virtual rocker center is located, of the first virtual rocker area is obtained according to a first mapping relation, a target operation key corresponding to a fourth area, in which the virtual rocker center is located, of the second virtual rocker area is obtained according to a fourth mapping relation, and a picture of the target virtual object executing the first direction corresponding to the first direction key and executing the second moving operation corresponding to the target operation key is generated, wherein the distance between the second virtual rocker area and the virtual rocker center is larger than the distance between the first virtual rocker area and the virtual rocker center, and the fourth area is the target area located in the second virtual rocker area.
10. The method of claim 9, comprising, prior to said obtaining the target operation instruction sent by the client:
and establishing the target mapping relation between each virtual rocker center positioned in the plurality of areas and the plurality of direction keys identifiable by the background server.
11. The method of claim 10, wherein the establishing the target mapping relationship between each of the virtual rocker centers located in the plurality of areas and the plurality of direction keys identifiable by the background server comprises at least one of:
Establishing the first mapping relation of the virtual rocker center on the first area and the first direction key;
establishing the second mapping relation of the virtual rocker center on the second area and the second direction key;
Establishing the third mapping relation of the center of the virtual rocker in the third area, the first direction key and the second direction key;
and establishing the fourth mapping relation of the center of the virtual rocker in the fourth region and the target operation key.
12. A control apparatus for a virtual object, comprising:
The first display unit is used for displaying a first game picture sent by a background server in a client of the mobile terminal, wherein the first game picture is a picture in a target cloud game operated by the background server, the target cloud game is a cloud game in which a target virtual object in a computer end game is controlled by the client, and the target virtual object controlled by the client participates in a game task in the target cloud game;
The second display unit is configured to superimpose and display a virtual rocker center and a virtual rocker area on the first game screen, where the virtual rocker area includes a first virtual rocker area and a second virtual rocker area, the first virtual rocker area includes a plurality of areas, a plurality of direction keys identifiable by the background server and the plurality of areas are a first target mapping relationship, the second virtual rocker area includes a plurality of operation areas, a plurality of operation keys identifiable by the background server and the plurality of operation areas are a second target mapping relationship, and the virtual rocker center is used to determine a target area in the plurality of areas or the plurality of operation areas in the virtual rocker area;
The first sending unit is used for sending a first target operation instruction to the background server under the condition that the center of the first virtual rocker is located in the target area in the virtual rocker area, wherein the first target operation instruction is used for instructing the background server to acquire a target direction key corresponding to the target area according to the first target mapping relation and generate a second game picture corresponding to the target direction key, and the second game picture is a picture of executing target moving operation of the target virtual object to a target direction corresponding to the target area;
A first obtaining unit, configured to obtain the second game screen sent by the background server;
The device is further configured to:
And under the condition that the center of the virtual rocker slides from the first virtual rocker area to the target area in the second virtual rocker area, sending a second target operation instruction to the background server, wherein the second target operation instruction is used for instructing the background server to acquire a target direction key and a target operation key corresponding to the target area according to the first target mapping relation and the second target mapping relation, and generating a second game picture corresponding to the target direction key and the target operation key, and the second game picture is a picture of executing target compound operation from the target virtual object to the target direction corresponding to the target area.
13. A control apparatus for a virtual object, comprising:
the second sending unit is used for sending a first game picture to a client of the mobile terminal, wherein the first game picture is a picture in a target cloud game operated by a background server, the target cloud game is a cloud game in which a target virtual object in a computer end game is controlled by the client, and the target virtual object controlled by the client participates in a game task in the target cloud game;
The device is further configured to:
The virtual rocker center and the virtual rocker area are overlapped and displayed on the first game picture, wherein the virtual rocker area comprises a first virtual rocker area and a second virtual rocker area, the first virtual rocker area comprises a plurality of areas, a plurality of direction keys which can be identified by the areas and the background server are in a first target mapping relation, the second virtual rocker area comprises a plurality of operation areas, the plurality of operation areas and a plurality of operation keys identifiable by the background server are in a second target mapping relation, and the center of the virtual rocker is used for determining the plurality of areas or target areas in the plurality of operation areas in the virtual rocker area;
Acquiring a first target operation instruction sent by the client under the condition that the center of the virtual rocker is located in the target area in the first virtual rocker area, wherein the first target operation instruction is used for indicating the background server to acquire a target direction key corresponding to the target area according to the first target mapping relation and generating a second game picture corresponding to the target direction key, and the second game picture is a picture of executing target moving operation of the target virtual object in a target direction corresponding to the target area;
Acquiring a second target operation instruction sent by the client under the condition that the center of the virtual rocker slides from the first virtual rocker area to the target area in the second virtual rocker area, wherein the second target operation instruction is used for indicating the background server to acquire a target direction key and a target operation key corresponding to the target area according to the first target mapping relation and the second target mapping relation, and generating a second game picture corresponding to the target direction key and the target operation key, and the second game picture is a picture for executing target compound operation from the target virtual object to the target direction corresponding to the target area;
and sending the second game picture to the client.
14. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when run performs the method of any of the preceding claims 1 to 11.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1 to 11 by means of the computer program.
CN202010763546.8A 2020-07-31 2020-07-31 Virtual object control method and device and storage medium Active CN114053692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010763546.8A CN114053692B (en) 2020-07-31 2020-07-31 Virtual object control method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010763546.8A CN114053692B (en) 2020-07-31 2020-07-31 Virtual object control method and device and storage medium

Publications (2)

Publication Number Publication Date
CN114053692A CN114053692A (en) 2022-02-18
CN114053692B true CN114053692B (en) 2025-07-11

Family

ID=80227912

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010763546.8A Active CN114053692B (en) 2020-07-31 2020-07-31 Virtual object control method and device and storage medium

Country Status (1)

Country Link
CN (1) CN114053692B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511782A (en) * 2015-11-30 2016-04-20 网易(杭州)网络有限公司 Game instruction processing method and device
CN107008003A (en) * 2017-04-13 2017-08-04 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and computer-readable recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002268818A (en) * 2001-03-09 2002-09-20 Ergo Soft Corp Method for controlling character input, program, recording medium and character input device
CN108905198A (en) * 2018-06-04 2018-11-30 网易(杭州)网络有限公司 A kind of control method and device of virtual objects jump
KR102016681B1 (en) * 2018-10-18 2019-08-30 김기연 Method for interfacing of user for touching employing smartphone being able to employing emulating game type

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511782A (en) * 2015-11-30 2016-04-20 网易(杭州)网络有限公司 Game instruction processing method and device
CN107008003A (en) * 2017-04-13 2017-08-04 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and computer-readable recording medium

Also Published As

Publication number Publication date
CN114053692A (en) 2022-02-18

Similar Documents

Publication Publication Date Title
US11752429B2 (en) Multi-user demo streaming service for cloud gaming
CN113018851B (en) Game processing method, device, computer equipment and storage medium
EP2919874B1 (en) Systems and methods for cloud processing and overlaying of content on streaming video frames of remotely processed applications
CN105159687B (en) A kind of information processing method, terminal and computer-readable storage medium
US20150287161A1 (en) Systems and Methods for Cloud Processing and Overlaying of Content on Streaming Video Frames of Remotely Processed Applications
CN113018857B (en) Game operation data processing method, device, equipment and storage medium
CN113617027A (en) Cloud game processing method, device, equipment and medium
CN112138381B (en) Game data processing method and device, storage medium and electronic device
CN111491197A (en) Live content display method and device and storage medium
CN113082707A (en) Virtual object prompting method and device, storage medium and computer equipment
CN113975804B (en) Virtual control display method, device, equipment, storage medium and product
US9948691B2 (en) Reducing input processing latency for remotely executed applications
CN114053692B (en) Virtual object control method and device and storage medium
CN112973116B (en) Virtual scene picture display method and device, computer equipment and storage medium
CN113617026A (en) Cloud game processing method and device, computer equipment and storage medium
CN113813607B (en) Game view angle switching method and device, storage medium and electronic equipment
JP6360711B2 (en) Server and method for providing game
US9954718B1 (en) Remote execution of applications over a dispersed network
US9398342B1 (en) Interactive applications
JP6122082B1 (en) Program, system and method
CN119536862A (en) Application interface display method and device, storage medium and electronic device
CN116248943B (en) Interactive live broadcast method, device, electronic device and storage medium
HK40047828B (en) Method and apparatus for processing game operation data, device and storage medium
HK40047828A (en) Method and apparatus for processing game operation data, device and storage medium
HK40054539A (en) Processing method of cloud game, device, equipment and medium

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
TG01 Patent term adjustment
TG01 Patent term adjustment