CN112891936A - Virtual object rendering method and device, mobile terminal and storage medium - Google Patents

Virtual object rendering method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN112891936A
CN112891936A CN202110184674.1A CN202110184674A CN112891936A CN 112891936 A CN112891936 A CN 112891936A CN 202110184674 A CN202110184674 A CN 202110184674A CN 112891936 A CN112891936 A CN 112891936A
Authority
CN
China
Prior art keywords
game
area
mobile terminal
virtual object
control
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.)
Pending
Application number
CN202110184674.1A
Other languages
Chinese (zh)
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.)
Guangzhou Huya Technology Co Ltd
Original Assignee
Guangzhou Huya Technology 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 Guangzhou Huya Technology Co Ltd filed Critical Guangzhou Huya Technology Co Ltd
Priority to CN202110184674.1A priority Critical patent/CN112891936A/en
Publication of CN112891936A publication Critical patent/CN112891936A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

The application provides a virtual object rendering method, a virtual object rendering device, a mobile terminal and a storage medium, relates to the technical field of cloud computing, when a cloud game is operated by a cloud server and a virtual object for the cloud game and a mobile control area for the virtual object are displayed on a display interface of a mobile terminal which establishes communication with the cloud server, the mobile control area comprises a first operation area and a second operation area, the mobile terminal obtains the relative displacement information of the second operation area relative to the first operation area based on the first game operation of the user to the second operation area, further, the relative displacement information is converted into a corresponding object moving instruction according to a target operation configuration strategy corresponding to the cloud game, sending the object moving instruction to the cloud server so that the cloud server renders the virtual object based on the object moving instruction; therefore, the operation mode of the virtual object in the cloud game can be simplified, and the flexibility of controlling the virtual object is improved.

Description

Virtual object rendering method and device, mobile terminal and storage medium
Technical Field
The application relates to the technical field of cloud computing, in particular to a virtual object rendering method, a virtual object rendering device, a mobile terminal and a storage medium.
Background
The cloud game can endow a user with the ability of playing the game across terminals, the cloud game is remotely operated through the cloud server by utilizing the cloud computing technology, and only a game operation picture is displayed at the mobile terminal, so that the resource overhead of operating some high-quality games at the mobile terminal is reduced, and the possibility that the user experiences the high-quality games at the mobile terminal is realized.
Based on the difference between the configurations required by the mobile terminal and the end game, the mobile terminal generally does not have some hardware environments required by the end game, and therefore, some configurations are generally required to be performed on the mobile terminal, so as to simulate the operating environment of the end game.
However, some configuration strategies are not flexible enough to simulate the operating environment of the end-game, making it cumbersome for the user to operate at the mobile end.
Disclosure of Invention
An object of the present application is to provide a virtual object rendering method, apparatus, mobile terminal, and storage medium, which can simplify an operation manner when controlling a virtual object in a cloud game, and improve flexibility in controlling the virtual object.
In order to achieve the purpose, the technical scheme adopted by the application is as follows:
in a first aspect, the present application provides a virtual object rendering method, which is applied to a mobile terminal, where the mobile terminal establishes communication with a cloud server, the cloud server runs a cloud game, a display interface of the mobile terminal displays a virtual object for the cloud game and a movement control area for the virtual object, and the movement control area includes a first operation area and a second operation area;
the method comprises the following steps:
obtaining relative displacement information of the second operation area relative to the first operation area based on a first game operation of a user for the second operation area;
according to a target control configuration strategy corresponding to the cloud game, obtaining an object moving instruction corresponding to the relative displacement information in the target control configuration strategy;
sending the object moving instruction to the cloud server to enable the cloud server to render the virtual object based on the object moving instruction.
In a second aspect, the present application provides a virtual object rendering apparatus, which is applied to a mobile terminal, where the mobile terminal establishes communication with a cloud server, the cloud server runs a cloud game, a display interface of the mobile terminal displays a virtual object for the cloud game and a movement control area for the virtual object, and the movement control area includes a first operation area and a second operation area;
the device comprises:
the processing module is used for obtaining the relative displacement information of the second operation area relative to the first operation area based on the first game operation of the user aiming at the second operation area;
the processing module is further used for obtaining an object moving instruction corresponding to the relative displacement information in a target operation and control configuration strategy according to the target operation and control configuration strategy corresponding to the cloud game;
a sending module, configured to send the object moving instruction to the cloud server, so that the cloud server renders the virtual object based on the object moving instruction.
In a third aspect, the present application provides a mobile terminal comprising a memory for storing one or more programs; a processor; the one or more programs, when executed by the processor, implement the virtual object rendering method described above.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the virtual object rendering method described above.
When a cloud game runs on a cloud server and a virtual object for the cloud game and a mobile control area for the virtual object are displayed on a display interface of a mobile terminal which is in communication with the cloud server, the mobile control area comprises a first operation area and a second operation area, the mobile terminal obtains relative displacement information of the second operation area relative to the first operation area based on first game operation of a user on the second operation area, and then converts the relative displacement information into a corresponding object mobile instruction according to a target control configuration strategy corresponding to the cloud game, so that the object mobile instruction is sent to the cloud server, and the cloud server renders the virtual object based on the object mobile instruction; therefore, the mobile control area is configured at the mobile terminal to replace a virtual external device, so that the operation mode for controlling the virtual object in the cloud game is simplified, and the flexibility for controlling the virtual object is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly explain the technical solutions of the present application, the drawings needed for the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also derive other related drawings from these drawings without inventive effort.
Fig. 1 shows a schematic application scene diagram of a virtual object rendering method provided by the present application.
Fig. 2 shows a schematic block diagram of a mobile terminal provided in the present application.
Fig. 3 shows a schematic flowchart of a virtual object rendering method provided in the present application.
Fig. 4 shows a schematic diagram of a display interface of the mobile terminal.
Fig. 5 shows another schematic diagram of the display interface of the mobile terminal.
Fig. 6 shows still another schematic diagram of the display interface of the mobile terminal.
Fig. 7 shows a schematic structural block diagram of a virtual object rendering apparatus provided in the present application.
In the figure: 100-mobile terminal; 101-a memory; 102-a processor; 103-a memory controller; 104-peripheral interfaces; 105-a radio frequency unit; 106-communication bus/signal line; 107-a display unit; 300-virtual object rendering means; 301-a processing module; 302-sending module.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the accompanying drawings in some embodiments of the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. The components of the present application, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments obtained by a person of ordinary skill in the art based on a part of the embodiments in the present application without any creative effort belong to the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic application scene diagram of a virtual object rendering method provided in the present application, in some embodiments of the present application, a cloud server and a mobile terminal are located in a wireless network or a wired network, and the cloud server and the mobile terminal perform data interaction through the wireless network or the wired network.
In some embodiments of the present application, the mobile terminal may employ some smart devices, for example, a smart phone, a tablet computer, a wearable mobile terminal, a VR (Virtual Reality) device, an AR (Augmented Reality) device, and the like may be included.
The virtual object rendering method provided by the application can be applied to a mobile terminal shown in fig. 1, wherein an application program is installed in the mobile terminal, corresponds to a cloud server, and is used for providing a service for a user.
For example, in some possible scenarios, the cloud server may run a cloud game, the mobile terminal may be installed with an operation program of the cloud game, and a user may start the operation program of the mobile terminal, so that the mobile terminal sends a game start instruction to the cloud server, and the cloud server responds to the game start instruction to run the cloud game, and transmit game screen data of the running cloud game to the mobile terminal, so that the game program runs at the cloud server terminal, and the mobile terminal only displays the game screen data; therefore, hardware resources on the cloud server side are mainly used during game running, and the mobile terminal only uses a small amount of hardware resources, so that resource cost of the user when the user plays the game on the mobile terminal is reduced, and the user can experience a high-quality game on the mobile terminal.
Based on the difference between the configurations required by the mobile terminal and the end game, some end games may need some external devices to cooperate to configure when running on a PC (Personal Computer) such as a Personal Computer, for example, in some RPG (Role-playing game) games or MOBA (Multiplayer Online Battle sports game) games, a keyboard is generally required to cooperate, and various skills and functions can be realized through various keys on the keyboard.
However, in a mobile terminal such as a mobile phone or a tablet computer, a device such as a keyboard is not connected externally, so that the mobile terminal cannot play games with the external device like a PC terminal. Therefore, for the difference between the hardware environments of the mobile terminal and the PC terminal, some configuration strategies generally configure some virtual operation areas on the display interface of the mobile terminal, and virtualize the external devices of the PC terminal, such as a keyboard and a mouse, in the virtual operation areas, so that the operation environment of the PC terminal is simulated at the mobile terminal, and a user can implement the operation of the PC terminal at the mobile terminal.
However, the method is limited by the limitation of the hardware environment of the mobile terminal, on one hand, the display interface of the mobile terminal is small, and the general operation interface of the virtualized external device is small and difficult to operate; on the other hand, the skills of the character in the end game generally need to be used by matching a keyboard and a mouse, and when a user plays a cloud game on a mobile end, the user is limited by the size of a display interface, so that some skills are inconvenient to release, and the operation is not flexible enough.
To this end, based on some of the drawbacks of the above configuration strategy, some possible embodiments provided by the present application are: when a cloud game runs on a cloud server, and a virtual object for the cloud game and a mobile control area for the virtual object are displayed on a display interface of a mobile terminal which establishes communication with the cloud server, the mobile control area comprises a first operation area and a second operation area, the mobile terminal obtains relative displacement information of the second operation area relative to the first operation area based on first game operation of a user for the second operation area, and then converts the relative displacement information into a corresponding object mobile instruction according to a target control configuration strategy corresponding to the cloud game, so that the object mobile instruction is sent to the cloud server, and the cloud server renders the virtual object based on the object mobile instruction; therefore, the mobile control area is configured at the mobile terminal to replace a virtual external device, so that the operation mode for controlling the virtual object in the cloud game is simplified, and the flexibility for controlling the virtual object is improved.
Referring to fig. 2, fig. 2 is a schematic block diagram illustrating a mobile terminal 100 provided in the present application, and in some embodiments, the mobile terminal 100 may be, but is not limited to, a smart phone, a tablet computer, a wearable mobile terminal, a VR device, an AR device, and the like.
In some embodiments, the mobile terminal 100 may include a memory 101, one or more (only one shown) processors 102, a memory controller 103, a peripheral interface 104, a radio frequency unit 105, a display unit 107, and the like. These components communicate with each other via one or more communication buses/signal lines 106.
The memory 101 may be used to store software programs and modules, such as program instructions/modules corresponding to the virtual object rendering apparatus provided in the present application, and the processor 102 executes various functional applications, image processing, and the like by running the software programs and modules stored in the memory 101, so as to implement the virtual object rendering method provided in the present application.
The Memory 101 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Programmable Read-Only Memory (EEPROM), and the like.
The processor 102 may be an integrated circuit chip having signal processing capabilities. The Processor 102 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), a voice Processor, a video Processor, and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The methods, steps, and logic blocks disclosed in some embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor 102 may be any conventional processor or the like.
The peripheral interface 104 may couple various input/output devices to the processor 102 as well as to the memory 101. In some embodiments, the peripheral interface 104, the processor 102, and the memory controller 103 may be implemented in a single chip. In other embodiments of the present application, they may be implemented by separate chips.
The radio frequency unit 105 may receive and transmit electromagnetic waves, and perform interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as the mobile terminal and the cloud server in fig. 1.
The display unit 107 may be used to provide a graphical output interface for the user to display image information, such as game screens of the user while playing a cloud game.
It will be appreciated that the configuration shown in FIG. 2 is merely illustrative and that the mobile end 100 may include more or fewer components than shown in FIG. 2 or may have a different configuration than shown in FIG. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
The following takes the mobile terminal 100 shown in fig. 2 as an exemplary execution subject to exemplarily describe a virtual object rendering method provided in the present application.
Referring to fig. 3, fig. 3 shows a schematic flow chart of a virtual object rendering method provided in the present application, which may include the following steps in some embodiments:
in step 201, based on the first game operation of the user for the second operation area, relative displacement information of the second operation area relative to the first operation area is obtained.
Step 203, obtaining an object moving instruction corresponding to the relative displacement information in the target operation configuration strategy according to the target operation configuration strategy corresponding to the cloud game.
Step 205, sending the object moving instruction to the cloud server, so that the cloud server renders the virtual object based on the object moving instruction.
In some embodiments, as shown in fig. 1, the mobile terminal may establish communication with a cloud server, the cloud server may run a cloud game, and a display interface of the mobile terminal displays display content as illustrated in fig. 4, including game screen data, a virtual object in the cloud game, and a movement control area for the virtual object, where the movement control area may be used to control movement of the virtual object in the game screen, and the like.
Wherein the movement control area may include a first operation area and a second operation area; for example, as shown in fig. 4, the movement control area may be composed of two circular areas with different radii, the circular area with a relatively larger radius may be the first operation area, and the circular area with a relatively smaller radius may be the second operation area; under a default state (for example, a user does not input an operation instruction), the centers of circles of the two circular areas coincide, and in the process of controlling the movement of the virtual object by using the movement control area, the first operation area cannot be moved on the display interface of the moving end, and the second operation area can move in response to the operation of the user on the display interface, so that the second operation area and the first operation area are relatively displaced on the display interface, and the movement of the virtual object in the game picture is controlled according to the relative displacement between the second operation area and the first operation area.
Based on this, in some embodiments, during the process of using the mobile terminal to operate the virtual object, the user may input a first game operation to the movement control area in the display area of the mobile terminal, where the first game operation may control the second operation area to move in the mobile terminal display interface for the user.
Accordingly, after receiving the first game operation of the user for the second operation area, the mobile terminal may parse and obtain, based on the movement information indicated by the first game operation, the relative displacement information of the second operation area with respect to the first operation area in the display interface, where the relative displacement information may be used to indicate the movement condition of the virtual object in the game screen, such as controlling the virtual object to move left, right, up, or down in the game screen.
It should be noted that, because the operation mode of the mobile terminal is not completely the same as the operation mode of the end game in the PC terminal, for example, in the operation mode of the mobile terminal, when the control virtual object "moves left", the user may input an operation such as "slide left" in the display area of the mobile terminal; however, in the operation mode of the end game, because there is no manual input interface, the "leftward movement" of the virtual object in the end game generally needs to be completed by means of an external device such as a mouse or a keyboard; for example, in some MOBA games, "move left" requires the user to right click on the left position of the virtual object through the mouse to input the instruction of "move left" of the virtual object; still alternatively, in some RPG games, "move left" requires the user to click the "a" key on the keyboard to enter the virtual object "move left" instruction.
Therefore, in the above scenario, for example, the mobile terminal generally cannot directly process the relative displacement information obtained by analyzing the first game operation input by the user, and needs to convert the relative displacement information into a control command that can be recognized by the cloud server.
Moreover, since the control commands corresponding to the same operation are not completely consistent for different cloud games, for example, in the above example, the command of "move left" in some MOBA games is that the mouse clicks the right key at the left position of the virtual object, and the command of "move left" in some RPG games is that the user clicks the "a" key on the keyboard; therefore, based on the difference of cloud games operated by the cloud server, the mobile terminal may store a target manipulation configuration policy corresponding to the cloud game, where the target manipulation configuration policy may be used to convert an operation of a user on the mobile terminal into a moving instruction corresponding to the cloud game, so that the mobile terminal may obtain an object moving instruction of the relative displacement information in the target manipulation configuration policy based on the target manipulation configuration policy; for example, in the foregoing MOBA game scenario, the target manipulation configuration policy may be used to instruct an instruction to convert "move left" of the user on the moving end into "right click mouse on left position of the virtual object"; for another example, in the aforementioned RPG game scenario, the target manipulation configuration policy may be used to instruct the user to "move left" on the mobile terminal to convert to an instruction of "the user clicks" a "key on the keyboard".
Next, for an object movement instruction that can be recognized by the obtained cloud game, the moving end may send the object movement instruction to the cloud server, so that the cloud game running in the cloud server may render a virtual object based on the object movement instruction, for example, control movement of the virtual object, and send rendered game screen data to the moving end, so that the moving end displays the rendered game screen data, and the user may view the game screen of the virtual object moving according to the first game operation at the moving end.
It can be seen that, based on the above scheme provided by the present application, when a cloud game runs on a cloud server, and a virtual object for the cloud game and a movement control area for the virtual object are displayed on a display interface of a mobile terminal that establishes communication with the cloud server, the movement control area includes a first operation area and a second operation area, the mobile terminal obtains relative displacement information of the second operation area with respect to the first operation area based on a first game operation of a user for the second operation area, and further converts the relative displacement information into a corresponding object movement instruction according to a target operation configuration policy corresponding to the cloud game, so as to send the object movement instruction to the cloud server, so that the cloud server renders the virtual object based on the object movement instruction; therefore, the mobile control area is configured at the mobile terminal to replace a virtual external device, so that the operation mode for controlling the virtual object in the cloud game is simplified, and the flexibility for controlling the virtual object is improved.
In some possible scenarios, in the process of executing step 201 to obtain the relative displacement information, the mobile terminal may move the second operation area in the display interface in response to the first game operation of the user, for example, as shown in fig. 4, when the touch input of the user is located in the second operation area and moves, the second operation area may move together with the touch input of the user; then, the moving end uses the offset direction of the second operation area relative to the first operation area as the relative displacement information of the second operation area relative to the first operation area, for example, as illustrated in fig. 4, assuming that the second operation area moves to the right side of the first operation area along with the touch input of the user, the relative displacement information may be "moved to the right".
In addition, in order to increase the operation perception of the user when the mobile terminal plays the cloud game, in some embodiments, after the mobile terminal responds to the first game operation of the user to generate the relative displacement information of the second operation area relative to the first operation area, preset prompt information can be further displayed in the operation area corresponding to the relative displacement information in the first operation area; for example, referring to fig. 4 again, assuming that the relative displacement information indicates "move to the right", the right side frame of the first operation area may display a highlight to prompt the user that the current game operation is to control the virtual object to move to the right side of the game screen.
It can be understood that, in connection with the above example provided in this application, the offset direction of the second operation region relative to the first operation region is used as the relative displacement information of the second operation region relative to the first operation region, so that in some possible scenarios, even if the touch input of the user indicates that the second operation region moves to the left on the display interface, but the second operation region is located at the right side of the first operation region, the relative displacement information generated at this time is still "moved to the right".
In addition, in some other possible embodiments of the present application, in addition to taking the offset direction of the second operation region relative to the first operation region as the relative displacement information of the second operation region relative to the first operation region, some other manners may be adopted to generate the relative displacement information of the second operation region relative to the first operation region; for example, the first operation region may be configured as a movable range of the second operation region, the second operation region is not located outside the first operation region by all movement operations of the user for the second operation region, and when the touch input of the user drives the second operation region to move on the display interface, the moving direction of the second operation region is the relative location information of the second operation region with respect to the first operation region.
Also, the generated object movement instruction may be different based on the difference in information indicated by the relative displacement information based on the movement control area in the example display interface of fig. 4.
Therefore, in some embodiments, the target manipulation configuration policy corresponding to the cloud game stored by the mobile terminal may include a first operation control relationship corresponding to the movement control area, where the first operation control relationship may be used to indicate an instruction parsing manner of the movement control area, for example, the first operation control relationship may record a correspondence relationship between a plurality of pieces of displacement information and a plurality of movement instructions, that is: each displacement information may correspond to a movement instruction.
For example, in some MOBA games, the first operation control relationship may be expressed as follows:
displacement information Move instructions
Move to the left Right click of mouse on left side of virtual object
Move downwards Mouse on virtual objectRight click to the lower position of
To the right Right click of mouse on right position of virtual object
Move upwards Right click of mouse on virtual object
Based on this, for the first game operation input by the user, during the process of executing step 203, the mobile terminal may first obtain the first operation control relationship corresponding to the mobile control area in the target operation configuration policy according to the target operation configuration policy corresponding to the cloud game.
Then, the moving end may determine, as the object moving instruction, the moving instruction corresponding to the relative displacement information in the first operation control relationship based on the first operation control relationship. For example, according to the first operation control relationship of the above example, if the relative displacement information is "move left", the determined object movement instruction is "right click of the mouse on the left position of the virtual object"; if the relative displacement information is "move up", the determined object movement command is "right click of the mouse at a position above the virtual object".
It can be understood that the above-mentioned scheme provided by the present application is an example of the movement of the virtual object in the cloud game, and in a scenario of the cloud game, the present application may also optimize some skill releases of the virtual object.
For example, please refer to fig. 4 again, the display interface of the mobile terminal may further include an interaction control area, and the interaction control area may be used for the skill releasing operation of the virtual cloud game.
Based on this, in the process that the user plays the cloud game at the mobile terminal, if the user needs to control the virtual object to release the skill, a second game operation, such as releasing a certain skill, may be input in the interactive control area in the display interface of the mobile terminal; correspondingly, for a second game operation input by the user in the interactive control area, the mobile terminal may obtain an object operation instruction corresponding to the second game operation according to the stored target manipulation configuration policy corresponding to the cloud game, where the object operation instruction may be used to instruct the virtual object to release a certain skill in a certain manner, for example, release a certain skill toward a certain manner.
Next, the mobile terminal may send the object operation instruction to the cloud server, so that the cloud server renders the virtual object based on the object operation instruction, and sends rendered game screen data to the mobile terminal, so that the mobile terminal displays the rendered game screen data, thereby implementing an operation of releasing skills of a user.
In some possible scenarios, there may be multiple skills that can be released by the user when operating the virtual object, and therefore, in combination with fig. 4, the interactive control area may include multiple control sub-areas, and each control sub-area may be used for corresponding to a certain skill for controlling the virtual object; accordingly, the second game operation input by the user is a target game interaction operation aiming at the target subarea in the plurality of control subareas, namely: the second game operation indicates a release operation of one of the skills of the virtual object.
In some MOBA games, because different rules for releasing skills may be different, for each control sub-area included in the interaction control area, a second operation control relationship may be recorded in a target manipulation configuration policy corresponding to the cloud game, and the second operation control relationship may be recorded with an operation instruction corresponding to each control sub-area.
For example, in some MOBA games, the second operation control relationship may be expressed as follows:
Figure BDA0002942581860000141
Figure BDA0002942581860000151
based on this, in the process of obtaining the object operation instruction corresponding to the second game operation, the mobile terminal may first obtain a second operation control relationship corresponding to the interactive control area in the target operation configuration policy.
Then, the mobile terminal may determine, as the object operation instruction, an operation instruction corresponding to the target game interactive operation in the second operation control relationship based on the second operation control relationship. For example, according to the second operation control relationship of the above example, if the target game interactive operation is a touch operation in a "Q" area, the determined object operation instruction is "release Q skill in a specified direction"; and if the target game interactive operation is the touch operation of the 'E' area, determining that the object operation instruction is 'release of the E skill in the specified area'.
It should be noted that, in the process of playing some MOBA end games or RPG end games on the PC end, the user may move the map view through an external device such as a mouse, so that the user can view the map view, which is convenient for operation.
However, in the process of playing the cloud game by using the mobile terminal, the size of the display interface of the mobile terminal is limited, and the user is very inconvenient to move the view of the map; taking a mobile terminal playing some MOBA games as an example, a user needs to click a left button on a small map to move by using a virtual mouse on a display interface of the mobile terminal in the same manner as in an end game, so as to change the map content displayed on the display interface of the mobile terminal.
Therefore, in order to solve the problem that the field of view is inconvenient to move when the user plays the cloud game on the mobile terminal, in some embodiments, a field of view control area as illustrated in fig. 5 may be further configured on the display interface of the mobile terminal, and the user may move the map content displayed on the display interface by operating the field of view control area.
For example, when the user wishes to view the contents of other areas of the map, the user may input a third game operation in the view control area, and the third game operation may be used to indicate the position or area of the map area adjustment displayed on the display interface of the mobile terminal.
Correspondingly, the mobile terminal can analyze the third game operation input by the user in the visual field control area, and acquire a visual field movement instruction corresponding to the third game operation in the target control configuration strategy.
Illustratively, as shown in connection with fig. 5, in some embodiments, the visual field control region may include a first visual field operation region and a second visual field operation region, wherein the first visual field operation region may be configured to be fixed on the display interface of the moving end and the second visual field operation region may be configured to be movable on the display interface of the moving end; in this way, the user can adjust the map area displayed by moving the position of the second visual field operation area on the display interface by inputting the third game operation or the like to the display interface of the mobile terminal.
Accordingly, when receiving a third game operation input by the user, the mobile terminal may, in response to the third game operation, move the second visual field operation region in the display interface of the mobile terminal, for example, control the second visual field operation region to follow an operation trajectory input by the user; then, the moving end may continuously analyze and obtain the offset direction of the second visual field operation region relative to the first visual field operation region, so as to use the offset direction of the second visual field operation region relative to the first visual field operation region as a corresponding visual field movement instruction of the third game operation in the target manipulation configuration strategy.
For example, assuming that the offset direction of the second visual field operation region with respect to the first visual field operation region is "offset rightward", the corresponding visual field movement instruction may be "move the map visual field to the right side"; alternatively, if the direction of the shift of the second visual field operation region from the first visual field operation region is "shift upward", the corresponding visual field movement command may be "move the map visual field upward".
It is to be understood that the above-mentioned manner of generating the view field movement instruction provided in the present application is only an example, and in some other possible scenarios in the present application, the view field movement instruction may also be generated in some other manner; for example, taking the MOBA game shown in fig. 5 as an example, the view control area may be displayed as a reduced map of a cloud game, and when the user inputs a third game operation in the view control area, the mobile terminal may display the location information indicated by the third game operation in the view control area, and display a map area corresponding to the location information on a display interface of the mobile terminal; and when the user releases the third game operation, namely: when the user does not input in the visual field control area, the display interface of the mobile terminal can display the map area with the virtual object as the target by default.
In addition, after the view movement instruction is obtained based on the scheme, the mobile terminal can send the view movement instruction to the cloud server, so that the cloud server moves the game view picture based on the view movement instruction, and sends the moved game view picture to the mobile terminal, thereby completing the picture movement operation input by the user at the mobile terminal; therefore, compared with the adjustment mode of the virtual external equipment, the game view picture displayed by the mobile terminal can be adjusted more flexibly, and the operation is convenient.
Moreover, it can be understood that the game operation modes required by different users may be different based on different user operation habits.
Therefore, as shown in fig. 6, in some possible embodiments, before performing step 201, the mobile terminal displays a mobile control area on a display interface of the mobile terminal in response to a user manipulation configuration operation.
For example, in some MOBA games, before the virtual object is controlled by using the movement control area, the display interface of the moving end may display the display content as shown in fig. 6, and the user may input an operation configuration operation to the "+ MOBA key" in the configuration operation area of the display interface, so as to configure the movement control area as shown in fig. 4; of course, it will be understood that the user may also configure the interactive control area in fig. 4, and the view operation area in fig. 5, through the "+ MOBA key" area of the display interface.
In addition, based on the same inventive concept as the virtual object rendering method provided in the present application, please refer to fig. 7, fig. 7 shows a schematic structural block diagram of a virtual object rendering apparatus 300 provided in the present application, where the virtual object rendering apparatus 300 may be applied to a mobile terminal as in fig. 1, the mobile terminal establishes communication with a cloud server, the cloud server runs a cloud game, a display interface of the mobile terminal displays a virtual object for the cloud game and a movement control area for the virtual object, and the movement control area includes a first operation area and a second operation area; in some embodiments, the virtual object rendering apparatus 300 may include a processing module 301 and a sending module 302.
A processing module 301, configured to obtain, based on a first game operation of a user for a second operation region, relative displacement information of the second operation region with respect to a first operation region;
the processing module 301 is further configured to obtain an object movement instruction corresponding to the relative displacement information in the target manipulation configuration policy according to the target manipulation configuration policy corresponding to the cloud game;
a sending module 302, configured to send the object moving instruction to the cloud server, so that the cloud server renders the virtual object based on the object moving instruction.
Optionally, in some possible embodiments, when obtaining, according to a target manipulation configuration policy corresponding to the cloud game, an object movement instruction corresponding to the relative displacement information in the target manipulation configuration policy, the processing module 301 is specifically configured to:
acquiring a first operation control relation corresponding to a mobile control area in a target operation configuration strategy; the first operation control relation records the corresponding relation between a plurality of displacement information and a plurality of moving instructions;
and determining a movement instruction corresponding to the relative displacement information in the first operation control relation as an object movement instruction.
Optionally, in some possible embodiments, the display interface of the mobile terminal further includes an interaction control area;
the processing module 301 is further configured to, for a second game operation input by the user in the interactive control area, obtain an object operation instruction corresponding to the second game operation in the target manipulation configuration policy;
the sending module 302 is further configured to send the object operation instruction to the cloud server, so that the cloud server renders the virtual object based on the object operation instruction.
Optionally, in some possible embodiments, the interactive control area includes a plurality of control sub-areas; the second game operation is a target game interaction operation for a target control sub-area of the plurality of control sub-areas;
when acquiring the object operation instruction corresponding to the second game operation in the target manipulation configuration policy, the processing module 301 is specifically configured to:
acquiring a second operation control relation corresponding to the interactive control area in the target operation configuration strategy; the second operation control relation records an operation instruction corresponding to each control sub-area;
and determining the operation instruction corresponding to the target game interactive operation in the second control relationship as an object operation instruction.
Optionally, in some possible embodiments, the display interface of the mobile terminal further includes a visual field control region;
the processing module 301 is further configured to, for a third game operation input by the user in the view control area, acquire a view movement instruction corresponding to the target manipulation configuration policy for the third game operation;
the sending module 302 is further configured to send the view moving instruction to the cloud server, so that the cloud server moves the game view screen based on the view moving instruction.
Optionally, in some possible embodiments, the visual field control region comprises a first visual field operating region and a second visual field operating region;
when acquiring, for a third game operation input by the user in the view control area, a view movement instruction corresponding to the target manipulation configuration policy of the third game operation, the processing module 301 is specifically configured to:
and responding to the third game operation, moving the second visual field operation area in the display interface, and taking the offset direction of the second visual field operation area relative to the first visual field operation area as a corresponding visual field movement instruction of the third game operation in the target manipulation configuration strategy.
Optionally, in some possible embodiments, when obtaining the relative displacement information of the second operation area with respect to the first operation area based on the first game operation of the user on the second operation area, the processing module 301 is specifically configured to:
and in response to the first game operation, moving the second operation area in the display interface, and taking the offset direction of the second operation area relative to the first operation area as relative displacement information of the second operation area relative to the first operation area.
Optionally, in some possible embodiments, the processing module 301 is further configured to display preset prompt information in an operation area corresponding to the relative displacement information in the first operation area.
Optionally, in some possible embodiments, before obtaining, based on the first operation of the user on the second operation region, the relative displacement information of the second operation region with respect to the first operation region, the processing module 301 is further configured to:
and responding to the operation of the user for configuration, and displaying a mobile control area on a display interface of the mobile terminal.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to some embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in some embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to some embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, read only memory, random access memory, magnetic or optical disk, etc. for storing program codes.
The above description is only a few examples of the present application and is not intended to limit the present application, and those skilled in the art will appreciate that various modifications and variations can be made in the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (12)

1. A virtual object rendering method is applied to a mobile terminal, the mobile terminal establishes communication with a cloud server, the cloud server runs a cloud game, a display interface of the mobile terminal displays a virtual object aiming at the cloud game and a mobile control area aiming at the virtual object, and the mobile control area comprises a first operation area and a second operation area;
the method comprises the following steps:
obtaining relative displacement information of the second operation area relative to the first operation area based on a first game operation of a user for the second operation area;
according to a target control configuration strategy corresponding to the cloud game, obtaining an object moving instruction corresponding to the relative displacement information in the target control configuration strategy;
sending the object moving instruction to the cloud server to enable the cloud server to render the virtual object based on the object moving instruction.
2. The method of claim 1, wherein obtaining the object movement instruction corresponding to the relative displacement information in the target manipulation configuration policy according to the target manipulation configuration policy corresponding to the cloud game comprises:
acquiring a first operation control relation corresponding to the mobile control area in the target operation configuration strategy; the first operation control relationship records the corresponding relationship between a plurality of displacement information and a plurality of movement instructions;
and determining a movement instruction corresponding to the relative displacement information in the first operation control relationship as the object movement instruction.
3. The method of claim 1, wherein the display interface of the mobile terminal further comprises an interactive control area;
the method further comprises the following steps:
aiming at a second game operation input by a user in the interactive control area, acquiring an object operation instruction corresponding to the second game operation in the target control configuration strategy;
sending the object operation instruction to the cloud server so that the cloud server renders the virtual object based on the object operation instruction.
4. The method of claim 3, wherein the interactive control area comprises a plurality of control sub-areas; the second gaming operation is a target gaming interaction operation for a target control sub-area of the plurality of control sub-areas;
the obtaining of the object operation instruction corresponding to the second game operation in the target operation configuration policy includes:
acquiring a second operation control relation corresponding to the interactive control area in the target operation configuration strategy; the second operation control relationship records an operation instruction corresponding to each control sub-area;
and determining the operation instruction corresponding to the target game interactive operation in the second control relationship as the object operation instruction.
5. The method of claim 1, wherein the display interface of the mobile terminal further comprises a visual field control area;
the method further comprises the following steps:
aiming at a third game operation input by a user in the visual field control area, acquiring a visual field movement instruction corresponding to the target manipulation configuration strategy of the third game operation;
and sending the view moving instruction to the cloud server so that the cloud server moves the game view picture based on the view moving instruction.
6. The method of claim 5, wherein the visual field control region comprises a first visual field operating region and a second visual field operating region;
the obtaining of the visual field movement instruction corresponding to the target manipulation configuration strategy for the third game operation input by the user in the visual field control area includes:
and responding to the third game operation, moving the second visual field operation region in the display interface, and taking the offset direction of the second visual field operation region relative to the first visual field operation region as a corresponding visual field movement instruction of the third game operation in the target manipulation configuration strategy.
7. The method of claim 1, wherein the obtaining relative displacement information of the second operation region with respect to the first operation region based on a first game operation of a user with respect to the second operation region comprises:
and responding to the first game operation, moving the second operation area in the display interface, and taking the offset direction of the second operation area relative to the first operation area as the relative displacement information of the second operation area relative to the first operation area.
8. The method of claim 7, wherein the method further comprises:
and displaying preset prompt information in an operation area corresponding to the relative displacement information in the first operation area.
9. The method of claim 1, wherein prior to the obtaining relative displacement information of the second operation region with respect to the first operation region based on a first operation of the second operation region by a user, the method further comprises:
and responding to the operation configuration operation of a user, and displaying the mobile control area on a display interface of the mobile terminal.
10. A virtual object rendering device is applied to a mobile terminal, the mobile terminal establishes communication with a cloud server, the cloud server runs a cloud game, a display interface of the mobile terminal displays a virtual object aiming at the cloud game and a mobile control area aiming at the virtual object, and the mobile control area comprises a first operation area and a second operation area;
the device comprises:
the processing module is used for obtaining the relative displacement information of the second operation area relative to the first operation area based on the first game operation of the user aiming at the second operation area;
the processing module is further used for obtaining an object moving instruction corresponding to the relative displacement information in a target operation and control configuration strategy according to the target operation and control configuration strategy corresponding to the cloud game;
a sending module, configured to send the object moving instruction to the cloud server, so that the cloud server renders the virtual object based on the object moving instruction.
11. A mobile terminal, comprising:
a memory for storing one or more programs;
a processor;
the one or more programs, when executed by the processor, implement the method of any of claims 1-9.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN202110184674.1A 2021-02-10 2021-02-10 Virtual object rendering method and device, mobile terminal and storage medium Pending CN112891936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110184674.1A CN112891936A (en) 2021-02-10 2021-02-10 Virtual object rendering method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110184674.1A CN112891936A (en) 2021-02-10 2021-02-10 Virtual object rendering method and device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112891936A true CN112891936A (en) 2021-06-04

Family

ID=76123537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110184674.1A Pending CN112891936A (en) 2021-02-10 2021-02-10 Virtual object rendering method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112891936A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114972594A (en) * 2022-04-25 2022-08-30 北京百度网讯科技有限公司 Data processing method, device, equipment and medium for meta universe
WO2023273789A1 (en) * 2021-07-02 2023-01-05 腾讯科技(深圳)有限公司 Method and apparatus for displaying game picture, storage medium, and electronic device
WO2023029900A1 (en) * 2021-08-31 2023-03-09 腾讯科技(深圳)有限公司 Video frame rendering method and apparatus, device, and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111467791A (en) * 2020-04-13 2020-07-31 西安万像电子科技有限公司 Target object control method, device and system
CN112274909A (en) * 2020-10-22 2021-01-29 广州虎牙科技有限公司 Application operation control method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111467791A (en) * 2020-04-13 2020-07-31 西安万像电子科技有限公司 Target object control method, device and system
CN112274909A (en) * 2020-10-22 2021-01-29 广州虎牙科技有限公司 Application operation control method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023273789A1 (en) * 2021-07-02 2023-01-05 腾讯科技(深圳)有限公司 Method and apparatus for displaying game picture, storage medium, and electronic device
WO2023029900A1 (en) * 2021-08-31 2023-03-09 腾讯科技(深圳)有限公司 Video frame rendering method and apparatus, device, and storage medium
CN114972594A (en) * 2022-04-25 2022-08-30 北京百度网讯科技有限公司 Data processing method, device, equipment and medium for meta universe

Similar Documents

Publication Publication Date Title
CN107648847B (en) Information processing method and device, storage medium and electronic equipment
CN108905212B (en) Game screen display control method and device, storage medium and electronic equipment
CN112891936A (en) Virtual object rendering method and device, mobile terminal and storage medium
CN110559651A (en) Control method and device of cloud game, computer storage medium and electronic equipment
US9720567B2 (en) Multitasking and full screen menu contexts
CN109260713B (en) Virtual object remote assistance operation method and device, storage medium and electronic equipment
CN106873886B (en) Control method and device for stereoscopic display and electronic equipment
WO2020248711A1 (en) Display device and content recommendation method
TW201337711A (en) Systems and methods for presenting visual interface content
US10238960B2 (en) Dual input multilayer keyboard
JP2017217352A (en) Information processing program, information processing device, information processing system, and information processing method
CN111672132A (en) Game control method, game control device, server, and storage medium
CN109091864B (en) Information processing method and device, mobile terminal and storage medium
CN112965773A (en) Method, apparatus, device and storage medium for information display
CN112987924A (en) Method, apparatus, device and storage medium for device interaction
CN113797527B (en) Game processing method, device, equipment, medium and program product
JP2022529856A (en) Game controller with touchpad input
US10120523B2 (en) User interface facilitating mesh generation
CN114743422B (en) Answering method and device and electronic equipment
CN114344898A (en) Method and device for marking virtual object in game
CN114504808A (en) Information processing method, information processing apparatus, storage medium, processor, and electronic apparatus
CN114272607A (en) Game-based command interaction method and device and electronic equipment
CN111973984A (en) Coordinate control method and device for virtual scene, electronic equipment and storage medium
CN113694514A (en) Object control method and device
CN112755510A (en) Mobile terminal cloud game control method, system and computer readable storage 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210604