CN118045354A - Virtual character control method, device, equipment, storage medium and program product - Google Patents

Virtual character control method, device, equipment, storage medium and program product Download PDF

Info

Publication number
CN118045354A
CN118045354A CN202410302039.2A CN202410302039A CN118045354A CN 118045354 A CN118045354 A CN 118045354A CN 202410302039 A CN202410302039 A CN 202410302039A CN 118045354 A CN118045354 A CN 118045354A
Authority
CN
China
Prior art keywords
virtual
target
eliminated
virtual character
elimination
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
CN202410302039.2A
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202410302039.2A priority Critical patent/CN118045354A/en
Publication of CN118045354A publication Critical patent/CN118045354A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The present disclosure provides a method, apparatus, device, storage medium, and program product for controlling a virtual character, the method comprising: acquiring the reviving time length of the eliminated virtual roles in the eliminated state in the virtual scene; responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters; and controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character. The method and the device dynamically control and shorten the reviving time of the virtual characters in the virtual scene based on the elimination event of the virtual characters in the virtual scene, so that the survival number of the virtual characters in the virtual scene is dynamically controlled, and the user experience is improved.

Description

Virtual character control method, device, equipment, storage medium and program product
Technical Field
The present disclosure relates to the field of electronic computers and internet technologies, and in particular, to a method, an apparatus, a device, a storage medium, and a program product for controlling a virtual character.
Background
This section is intended to provide a background or context to the embodiments of the disclosure recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
In an electronic game, a reviving mechanism, i.e., a virtual character that is eliminated, is typically configured with the opportunity to revive to continue the game.
In the related art, the time period required for reviving the virtual character is usually preconfigured, and the time period required for reviving different virtual characters is usually the same, in which case the reviving time period of the virtual character is fixed, and the user experience is poor.
Disclosure of Invention
In view of the above, an object of the present disclosure is to provide a method, an apparatus, a device, a storage medium, and a program product for controlling a virtual character, which at least solve one of the technical problems in the related art to a certain extent.
In view of the above object, a first aspect of exemplary embodiments of the present disclosure provides a method for controlling a virtual character, including:
Acquiring the reviving time length of the eliminated virtual roles in the eliminated state in the virtual scene;
Responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters;
And controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character.
Based on the same inventive concept, a second aspect of exemplary embodiments of the present disclosure provides a control apparatus of a virtual character, including:
The revival time length acquisition module is configured to acquire revival time length of the eliminated virtual characters in the eliminated state in the virtual scene;
A reviving duration shortening module configured to control shortening a reviving duration of at least one target elimination virtual character in the elimination virtual character in response to at least one target elimination virtual character in the survival virtual character in the virtual scene being eliminated;
And the game state control module is configured to control the target elimination virtual character to enter the survival state according to the shortened revival time length of the target elimination virtual character.
Based on the same inventive concept, a third aspect of exemplary embodiments of the present disclosure provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method according to the first aspect when executing the program.
Based on the same inventive concept, a fourth aspect of the exemplary embodiments of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method according to the first aspect.
Based on the same inventive concept, a fifth aspect of exemplary embodiments of the present disclosure provides a computer program product comprising computer program instructions which, when run on a computer, cause the computer to perform the method as described in the first aspect.
As can be seen from the foregoing, the method, apparatus, device, storage medium and program product for controlling a virtual character according to the embodiments of the present disclosure include: acquiring the reviving time length of the eliminated virtual roles in the eliminated state in the virtual scene; responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters; and controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character. The method and the device dynamically control and shorten the reviving time of the virtual characters in the virtual scene based on the elimination event of the virtual characters in the virtual scene, so that the survival number of the virtual characters in the virtual scene is dynamically controlled, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present disclosure or related art, the drawings required for the embodiments or related art description will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is a schematic illustration of a reactivation time period provided by an exemplary embodiment of the present disclosure;
fig. 2 is a schematic view of an application scenario of a virtual character control method according to an exemplary embodiment of the present disclosure;
Fig. 3 is a schematic flow chart of a method for controlling a virtual character according to an exemplary embodiment of the present disclosure;
fig. 4 is another flow chart of a method for controlling a virtual character according to an exemplary embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a relationship between reduced duration and number of survivors provided by exemplary embodiments of the present disclosure;
FIG. 6 is a schematic diagram of the relationship between the number of foreshortening and the number of survivors provided by an exemplary embodiment of the present disclosure;
Fig. 7 is a schematic view of another application scenario of the virtual character control method according to the exemplary embodiment of the present disclosure;
Fig. 8 is another application scenario schematic diagram of a virtual character control method according to an exemplary embodiment of the present disclosure;
fig. 9 is a schematic structural view of a virtual character control device according to an exemplary embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
It can be appreciated that before using the technical solutions disclosed in the embodiments of the present application, the user should be informed and authorized of the type, the usage range, the usage scenario, etc. of the personal information related to the present application in an appropriate manner according to the relevant laws and regulations.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Therefore, the user can automatically select whether to provide personal information for software or hardware such as electronic equipment, application programs, servers or storage media for executing the operation of the technical scheme according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization acquisition process is merely illustrative and not limiting of the implementation of the present application, and that other ways of satisfying relevant legal regulations may be applied to the implementation of the present application.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
For purposes of making the objects, technical solutions, and advantages of the present disclosure more apparent, the principle and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are presented merely to enable one skilled in the art to better understand and practice the present disclosure and are not intended to limit the scope of the present disclosure in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In this document, it should be understood that any number of elements in the drawings is for illustration and not limitation, and that any naming is used only for distinction and not for any limitation.
It should be noted that unless otherwise defined, technical or scientific terms used in the embodiments of the present disclosure should be given the ordinary meaning as understood by one of ordinary skill in the art to which the present disclosure pertains. The terms "first," "second," and the like, as used in embodiments of the present disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed. The article "a" or "an" preceding an element does not exclude the presence of a plurality of such elements.
The principles and spirit of the present disclosure are explained in detail below with reference to several representative embodiments thereof.
As described in the background section, in an electronic game, a reviving mechanism, i.e., a virtual character that is eliminated, is generally configured with the opportunity to revive to continue the game.
In the related art, the time period required for reviving the virtual character is usually preconfigured, and the time period required for reviving different virtual characters is usually the same, in which case the reviving time period of the virtual character is fixed, and the user experience is poor.
Referring to fig. 1, as a specific example, a shuffle mode in an electronic game is described as an example, in which virtual characters controlled by multiple players play in the same virtual scene, other virtual characters can be eliminated by a designated game behavior (e.g., an attack behavior) between the virtual characters, the eliminated state is performed after the virtual characters are eliminated, and a reviving mechanism is activated to revive the virtual characters after a certain period of time to continue the game. In such an electronic game, the time period required to revive the virtual character is generally preconfigured, and the time period required for the revival of different virtual characters is generally the same.
And providing a graphical user interface through the terminal equipment, wherein the content displayed by the graphical user interface comprises at least part of virtual scenes, and the virtual scenes comprise a plurality of virtual roles. The revival countdown prompt box 110 characterizes a revival time period of 12 seconds of the current virtual character manipulated by the current terminal device to prompt a user holding the current terminal device. The gui may display, in addition to the reactivation time period of the current virtual character manipulated by the current terminal device, the reactivation time periods of other virtual characters of the virtual scene, for example, the reactivation time period of the first virtual character 121 is 12 seconds, the reactivation time period of the third virtual character 123 is 9 seconds, the reactivation time period of the fifth virtual character 125 is 10 seconds, the reactivation time period of the sixth virtual character 126 is 11 seconds, and the second virtual character 122 and the fourth virtual character 124 are in a survival state.
The inventors of the present disclosure found that since the reactivation time period is generally fixed, if multiple virtual characters are simultaneously eliminated, then the multiple virtual characters will be simultaneously revived, even if multiple virtual characters are eliminated in close time, then the multiple virtual characters will be revived in close time. In this case, if there are many virtual characters to be eliminated in a certain period of time and few virtual characters to be eliminated in another period of time, since the virtual characters are to be revived in a close period of time, the number of virtual characters to be survived in the virtual scene is less stable, so that there are problems that the number of virtual characters survived in the virtual scene is excessive in the existing period of time, the number of virtual characters survived in the virtual scene is disordered, the number of virtual characters survived in the virtual scene is too small in the existing period of time, the survived virtual characters can not be made, and the user experience is poor.
Also, assuming that the first and second virtual characters are eliminated at the same time or in close time, then the first and second virtual characters will be revived at the same time or in close time, in which case the first virtual character is most likely to continue playing with the second virtual character, while there is less chance of playing with other virtual characters at the same time, i.e., the virtual characters playing in the virtual scene are relatively fixed, and the user may feel boring and less experienced.
In order to solve the above problems, the present disclosure provides a control scheme for a virtual character, which specifically includes: acquiring the reviving time length of the eliminated virtual roles in the eliminated state in the virtual scene; responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters; and controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character. The method and the device dynamically control and shorten the reviving time of the virtual characters in the virtual scene based on the elimination event of the virtual characters in the virtual scene, so that the survival number of the virtual characters in the virtual scene is dynamically controlled, and the user experience is improved.
Having described the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are specifically described below.
Referring to fig. 2, an application scenario diagram of a virtual character control method according to an exemplary embodiment of the present disclosure is shown.
The application scenario includes a terminal device 210 and a server 220. The terminal device 210 and the server 220 may be connected through a wired or wireless communication network, so as to implement data interaction.
The terminal device 210 may be an electronic device with data transmission, multimedia input/output functions near the user side, including but not limited to a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a Personal Digital Assistant (PDA) or other electronic device capable of achieving the above functions, etc. The electronic device may include a processor for presenting a graphical user interface that may display an application interface, and a display screen with touch input functionality for processing application data, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
The server 220 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligent platforms, and the like.
In some exemplary embodiments, the control method of the avatar may be run on the terminal device 210 or the server 220.
When the control method of the virtual character is operated at the server 220, the server 220 serves to provide a control service of the virtual character to a user of a local terminal device, in which a client in communication with the server 220 is installed, through which the user can manipulate the virtual character to play a game in a virtual scene. The server 220 obtains the reviving time length of the eliminated virtual character in the eliminated state in the virtual scene; responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters; and controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character. The server 220 transmits the information of the shortened revival time to the client, and the client displays the shortened revival time to the user and controls the result of the target obsolete virtual character entering the survival state according to the shortened revival time of the target obsolete virtual character, so as to help the user play the game. The local terminal device may be the aforementioned terminal device 210.
When the control method of the virtual character is run on the server 220, the method can be implemented and executed based on the cloud interaction system.
The cloud interaction system comprises a client device and a cloud game server.
In some example embodiments, various cloud applications may be run under the cloud interaction system, such as: and (5) cloud game. Taking cloud game as an example, cloud game refers to a game mode based on cloud computing. In the running mode of the cloud game, the running main body of the game program and the game picture presentation main body are separated, the storage and running of the control method of the moving state in the game are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. When playing the game, the player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, codes and compresses data such as game pictures and the like, returns the data to the client device through a network, and finally decodes the data through the client device and outputs the game pictures.
In the above embodiments, the description has been given taking the example in which the control method of the virtual character is run on the server 220, but the present disclosure is not limited thereto, and in some exemplary embodiments, the control method of the virtual character may also be run on the terminal device 210.
When the control method of the avatar is operated at the terminal device 210, the terminal device 210 may include a display screen and a processor. A client is installed in the terminal device 210, and a user can play a game in a virtual scene by manipulating a virtual character through the client. The processor acquires the reviving time length of the eliminated virtual character in the eliminated state in the virtual scene; responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters; and controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character. The processor sends the information of the shortened reviving time to the client, and the client displays the shortened reviving time and the result of controlling the target obsolete virtual character to enter the survival state according to the shortened reviving time of the target obsolete virtual character to help the user play the game.
When the control method of the virtual character is run on the terminal device 210, taking a game as an example, the terminal device stores a game program and is used to present a game screen. The terminal device is used for interacting with the player through the graphical user interface, namely, conventionally downloading and installing the game program through the electronic device and running. The manner in which the terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal, or provided to the player by holographic projection. For example, the terminal device may include a display screen for presenting a graphical user interface including game visuals, and a processor for running the game, generating the graphical user interface, and controlling the display of the graphical user interface on the display screen.
A control method of a virtual character according to an exemplary embodiment of the present disclosure is described below in connection with the application scenario of fig. 2. It should be noted that the above application scenario is only shown for the convenience of understanding the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in any way in this respect. Rather, embodiments of the present disclosure may be applied to any scenario where applicable.
Referring to fig. 3, a flowchart of a method for controlling a virtual character according to an exemplary embodiment of the present disclosure is shown.
The control method of the virtual character comprises the following steps:
And step S310, obtaining the reviving time length of the eliminated virtual roles in the eliminated state in the virtual scene.
In particular, a virtual scene is a virtual scene that an application program displays (or provides) when running on a terminal or a server, i.e., a scene used during normal play. That is, the virtual scene refers to a virtual game control that carries a virtual object during the game, and the virtual object may be controlled by an operation instruction issued by a user (i.e., a player) to the terminal device in the virtual scene to perform actions such as movement and countermeasure. Alternatively, the virtual scene may be a simulation environment for the real world, a semi-simulation and semi-fictional virtual environment, or a pure fictional virtual environment. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. The virtual scene is a scene in which a user controls a virtual object to execute complete game logic. Alternatively, the virtual scene may also be used for virtual fight between at least two virtual objects, with virtual resources available for collection by a plurality of virtual objects in the virtual scene. By way of example, the virtual scene may include any one or more of the following elements: game background elements, game character elements, game prop elements, game material elements, and the like.
In this exemplary embodiment, the virtual scene includes several virtual characters, and the virtual characters may be in a surviving state or an obsolete state, and for simplicity of expression, the virtual characters in the surviving state are called surviving virtual characters, and the virtual characters in the obsolete state are called obsolete virtual characters.
In particular, a virtual character, i.e., a controlled virtual object, refers to a dynamic object that can be controlled in a virtual scene. Alternatively, the dynamic object may be a virtual character, a virtual object, or the like. The controlled virtual object is an object controlled by a user through an input device, or is artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) set in a virtual environment through training. In one possible implementation, the user can control the controlled virtual object to move in the virtual scene, for example, control the controlled virtual object to navigate or collect virtual resources, and the like, can also control the controlled virtual object to upgrade and develop on the building object created by the controlled virtual object, and can also control the controlled virtual object to fight with other virtual objects in camping. Alternatively, the controlled virtual object may have various functions, such as a function of not only collecting virtual resources but also a function of fighting. Alternatively, when the virtual environment is a three-dimensional virtual environment, the controlled virtual objects may be three-dimensional virtual models, each having its own shape and volume in the three-dimensional virtual environment, occupying a part of the space in the three-dimensional virtual environment. Alternatively, the three-dimensional virtual object is a three-dimensional character constructed based on a three-dimensional skeletal technology, and the controlled virtual object realizes different external figures through a wearing technology. In some implementations, the controlled virtual object may also be implemented using a 2.5-dimensional or 2-dimensional model, which is not limited in this embodiment of the application.
In specific implementation, the distinction between surviving and eliminating virtual roles is:
the surviving virtual character can play the game;
Eliminating the avatar requires waiting for reactivation to continue the game. And, the virtual character is eliminated, and the movement, attack or assistance and the like are limited, so that the game result can be influenced.
In specific implementation, the conversion relationship between the survival virtual roles and the elimination virtual roles is as follows:
When the survival virtual character is eliminated, the method enters an elimination state, and the survival virtual character is converted into an elimination virtual character;
when the obsolete virtual character is revived, i.e., enters a surviving state, the obsolete virtual character is converted into a surviving virtual character.
In the implementation, the eliminated virtual character is revived after a certain period of reviving time, so that the survival state is entered, and the eliminated virtual character is converted into the survival virtual character.
And step 320, responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling shortening of the reviving time of at least one target elimination virtual character in the elimination virtual characters.
In implementation, when at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene is eliminated, the target survival virtual character is controlled to enter the elimination state.
For S320, it is specifically required to determine the number of target elimination virtual characters, and determine the duration for which the revival duration is shortened, which will be described in one-to-one manner. For the sake of simplicity of expression, the time period in which the revival time period is shortened is called shortening time period, and the number of target elimination virtual characters is called shortening number.
In specific implementation, subtracting the shortened time from the default reviving time to obtain the application reviving time. The default revival time may be preconfigured, and the application revival time is the revival time of the actual application.
Referring to fig. 4, in the present exemplary embodiment, the controlling shortens a reactivation time period of at least one target elimination virtual character in the elimination virtual characters, including:
step S410, determining the survival number of the survival virtual characters in the virtual scene;
step S420, determining the shortened time length of the revival time length based on the survival number;
step S430, determining the shortening quantity of the target virtual roles based on the survival quantity;
step S440, controlling the shortened duration of the shortened number of the revival durations of the target elimination virtual characters.
In this exemplary embodiment, the determining, based on the survival number, the shortened duration of the revival duration includes:
the shortened duration is inversely related to the number of survivors.
Referring to fig. 5, in the implementation, the smaller the number of surviving virtual characters in a surviving state, the longer the shortened time period corresponding to the revival time period.
Alternatively, when there is no surviving virtual character in the virtual scene, the target can be immediately revived to eliminate the virtual character.
In this exemplary embodiment, the determining, based on the survival number, the shortening number of the target virtual character includes:
The shortened number is inversely related to the surviving number.
Optionally, when there is no surviving virtual character in the virtual scene, the revival time of all the eliminated virtual characters can be shortened.
Referring to fig. 6, in the implementation, the smaller the number of surviving virtual characters in a surviving state, the larger the number of foreshortening corresponding to the target virtual character.
By the embodiment, the number of survival of the survival virtual characters in the survival state in the virtual scene can be kept to be a stable number, and in general, the number of survival of the survival virtual characters in the survival state can be prevented from being too small.
In the above-described exemplary embodiments, the manner of determining the number of target elimination virtual characters and determining the length of time for which the revival time period is shortened is described, and the manner of determining the target elimination virtual character from among the several elimination virtual characters will be described below.
In this exemplary embodiment, the controlling shortens a reactivation duration of at least one target obsolete virtual character in the obsolete virtual characters, including:
Determining at least one of the eliminated virtual characters in the virtual scene as the target eliminated virtual character;
and controlling to shorten the reviving time of the target elimination virtual character.
In particular, the present disclosure provides a number of ways to determine a target decommissioning virtual character from among several decommissioning virtual characters, as will be described one-to-one.
In this exemplary embodiment, the determining that at least one of the eliminated virtual characters in the virtual scene is the target eliminated virtual character includes:
and randomly determining at least one of the eliminated virtual characters in the virtual scene as the eliminated virtual character of the target.
In the related art, since the revival time period is generally fixed, if a plurality of virtual characters are simultaneously eliminated, the plurality of virtual characters are concurrently revived, and even if the plurality of virtual characters are eliminated in the time of approach, the plurality of virtual characters are revived in the time of approach. In this case, if there are many virtual characters to be eliminated in a certain period of time and few virtual characters to be eliminated in another period of time, since the virtual characters are to be revived in a close period of time, the number of virtual characters to be survived in the virtual scene is less stable, so that there are problems that the number of virtual characters survived in the virtual scene is excessive in the existing period of time, the number of virtual characters survived in the virtual scene is disordered, the number of virtual characters survived in the virtual scene is too small in the existing period of time, the survived virtual characters can not be made, and the user experience is poor.
Also, assuming that the first and second virtual characters are eliminated at the same time or in close time, then the first and second virtual characters will be revived at the same time or in close time, in which case the first virtual character is most likely to continue playing with the second virtual character, while there is less chance of playing with other virtual characters at the same time, i.e., the virtual characters playing in the virtual scene are relatively fixed, and the user may feel boring and less experienced.
In the present disclosure, the revival time length of at least one target obsolete virtual character in the obsolete virtual characters in the obsolete state may be randomly shortened, specifically, through the above exemplary embodiment, the fewer surviving virtual characters in the surviving state, the more the number of obsolete virtual characters in the revived time length is shortened, and the longer the shortening time length of the reviving time length is shortened, that is, the reviving time length of the virtual characters in the virtual scene is shortened by random dynamic control, so that the surviving number of the virtual characters in the virtual scene is dynamically controlled. The method can avoid the problem that the number of the virtual characters surviving in the virtual scene is unstable, and simultaneously avoid the situation that the virtual characters operated by the player always play with the virtual characters which are relatively fixed, increase the diversity of the virtual characters playing the game at the same time, and promote the user experience.
In the above exemplary embodiment, the description has been given taking, as an example, randomly determining at least one of the eliminated virtual characters in the virtual scene as a target eliminated virtual character, however, the present disclosure is not limited thereto, and in some possible embodiments, the virtual characters in the virtual scene may be subordinate to different camps, and in a scene of distinguishing the camps, the present disclosure provides a plurality of ways of determining the target eliminated virtual character from among the eliminated virtual characters, which will be described one by one.
In this exemplary embodiment, the determining that at least one of the eliminated virtual characters in the virtual scene is the target eliminated virtual character includes:
Determining a target camping to which the target survival virtual role belongs;
And determining at least one of the eliminated virtual roles belonging to the target camp in the virtual scene as the target eliminated virtual role.
In specific implementation, when a survival virtual character of a certain camp is eliminated under a camp distinguishing scene, the reviving time of the eliminated virtual character in the camp is shortened, so that the situation that the survival virtual character of the certain camp is too few and the scene is out of balance is avoided.
In this exemplary embodiment, the determining that at least one of the eliminated virtual characters in the virtual scene is the target eliminated virtual character includes:
Determining a target camping to which the target survival virtual role belongs;
and determining at least one of the eliminated virtual roles belonging to a friendly camp with the target as the eliminated virtual role of the target in the virtual scene.
In the specific implementation, when the survival virtual roles of a certain camp are eliminated under the scene of distinguishing the camp, the reviving time of the eliminated virtual roles in the camp in friendly relation with the camp is shortened, so that the situation that the survival virtual roles of a certain party are too few and the scene is out of balance is avoided. The difference from the above-described exemplary embodiment is that the range of the obsolete virtual character that shortens the revival time period is expanded from the obsolete virtual character in the camp to the obsolete virtual character in the camp in friendly relation to the camp.
In this exemplary embodiment, the determining that at least one of the eliminated virtual characters in the virtual scene is the target eliminated virtual character includes:
determining a target camp to which the virtual character of the target survival virtual character is eliminated;
And determining at least one of the eliminated virtual roles belonging to the target camp in the virtual scene as the target eliminated virtual role.
In specific implementation, when a survival virtual character of a certain camp is eliminated under the scene of distinguishing the camp, the reviving time length of the eliminated virtual character in the camp eliminating the virtual character is shortened, so that an elimination enemy is encouraged, and the enthusiasm of fight is enhanced.
In this exemplary embodiment, the determining that at least one of the eliminated virtual characters in the virtual scene is the target eliminated virtual character includes:
Determining a target camping to which the target survival virtual role belongs;
And determining at least one of the eliminated virtual roles belonging to the target opponent in the virtual scene as the eliminated virtual role.
In specific implementation, when a survival virtual character of a certain camp is eliminated under a camp distinguishing scene, the reviving time of the eliminated virtual character in the camp in hostile relation with the camp is shortened, so that the elimination of hostile is encouraged, and the enthusiasm of combat is enhanced. The difference from the above-described exemplary embodiment is that the range of the eliminated virtual character for which the revival time period is shortened is expanded from a camping in which the virtual character is eliminated to a camping in which the virtual character is eliminated.
The control method of the virtual character provided by the disclosure can be matched with a certain animation effect, and is described one by one.
In the present exemplary embodiment, a graphical user interface is provided through a terminal device, where content displayed by the graphical user interface includes at least a part of the virtual scene;
The control shortens the revival time of at least one target elimination virtual character in the elimination virtual characters, and the method further comprises:
And controlling the graphical user interface to display the virtual prop, and controlling the virtual prop to move to the position of the target elimination virtual character so as to represent that the revival time length of the target elimination virtual character is shortened.
In practice, the virtual prop may be a virtual gold coin or a virtual diamond, etc.
In specific implementation, the terminal device related to the embodiment of the application mainly refers to a terminal for providing a graphical user interface and capable of controlling and operating a controlled virtual object. The terminal device may be a local terminal device mentioned below, or a client device in a cloud interaction system. The terminal device may include, but is not limited to, any of the following: smart phones, tablet computers, palm computers, personal Digital Assistants (PDAs), etc. The terminal device has installed and running therein an application program supporting a game, such as an application program supporting a three-dimensional game or a two-dimensional game. In the embodiment of the application, the application program is introduced as a game application, and optionally, the application program can be a single-board application program, such as a single-board 3D game program, or a network online application program.
In specific implementation, the graphical User Interface includes a User Interface (UI) and a game screen, where the UI is a medium for human-computer interaction and information exchange between the system and the User, and the UI can display system information in a form acceptable to humans, so that the User can conveniently and effectively operate the computer to achieve bidirectional human-computer interaction. The user operation interface may be composed of visual elements such as controls, text, graphics, images, icons, input boxes, and the like. In alternative embodiments, the user interface may include collection controls, research controls, characterization controls, and the like. In an alternative embodiment, the game screen is a display screen corresponding to the virtual scene displayed by the terminal device, and the game screen may include a controlled virtual object for executing game logic in the virtual scene, and the like.
Referring to fig. 7, a graphical user interface is provided through a terminal device, and content displayed by the graphical user interface includes at least a part of the virtual scene, where the virtual scene includes a plurality of surviving virtual characters 710 and a plurality of obsolete virtual characters 720.
The gui is controlled to display a virtual prop (as an example, a virtual coin) 730, and to move the virtual prop 730 to a position of a target-elimination virtual character (an arrow indicates a moving direction of the virtual prop 730) in the elimination virtual character 720, so as to represent that the revival period of the target-elimination virtual character is shortened.
In this exemplary embodiment, the content displayed by the graphical user interface further includes a reactivation time length control configured to display the reactivation time length;
the controlling the virtual prop to move to the position of the target elimination virtual character comprises the following steps:
And controlling the virtual prop to move to the revival duration control corresponding to the target elimination virtual character.
Referring to fig. 8, a graphical user interface is provided through a terminal device, where content displayed by the graphical user interface includes at least a portion of the virtual scene including a number of surviving virtual characters 810, a number of obsolete virtual characters 820, and a revival time length control 830 corresponding to the obsolete virtual characters 820, where the revival time length control 830 is configured to display revival time lengths, such as 9S (9 seconds), 10S (10 seconds), and 11S (11 seconds).
The graphical user interface is controlled to display a virtual prop (as an example, the virtual prop may be a virtual gold) 840, and to move the virtual prop 840 onto the reactivation duration control 830 corresponding to a target obsolete virtual character in the obsolete virtual character 820 to characterize that the reactivation duration of the target obsolete virtual character is shortened.
And step S330, controlling the target elimination virtual character to enter the survival state according to the shortened reviving time length of the target elimination virtual character.
In the implementation, the target obsolete virtual character is revived after the revived time period is shortened, so that the target obsolete virtual character enters a survival state, namely, the obsolete virtual character is converted into a survival virtual character.
In the present exemplary embodiment, the shortened reactivation time period may be counted down or counted up.
In specific implementation, when the shortened reviving time length is calculated by countdown, the control target elimination virtual character is switched from the elimination state to the survival state, namely revived when the countdown is finished.
In specific implementation, when the shortened reviving time length is calculated by positive timing, when the positive timing reaches a preset time point, the control target elimination virtual character is switched from an elimination state to a survival state, namely revived.
From the above, it can be seen that the method for controlling a virtual character provided in the embodiment of the present disclosure includes: acquiring the reviving time length of the eliminated virtual roles in the eliminated state in the virtual scene; responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters; and controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character. The method and the device dynamically control and shorten the reviving time of the virtual characters in the virtual scene based on the elimination event of the virtual characters in the virtual scene, so that the survival number of the virtual characters in the virtual scene is dynamically controlled, and the user experience is improved.
It should be noted that the method of the embodiments of the present disclosure may be performed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the methods of embodiments of the present disclosure, the devices interacting with each other to accomplish the methods.
It should be noted that the foregoing describes some embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Based on the same inventive concept, the present disclosure also provides a virtual character control device corresponding to the method of any embodiment.
Referring to fig. 9, a schematic diagram of a configuration of a virtual character control apparatus according to an exemplary embodiment of the present disclosure is provided.
The virtual character control device provided by the exemplary embodiment of the disclosure comprises the following modules:
A revival time length obtaining module 910 configured to obtain a revival time length of the eliminated virtual character in the eliminated state in the virtual scene;
A reviving duration shortening module 920 configured to control shortening a reviving duration of at least one target elimination virtual character in the elimination virtual character in response to at least one target elimination virtual character in the survival virtual characters in the virtual scene being eliminated;
A game state control module 930 configured to control the target obsolete virtual character to enter the surviving state according to the shortened revival time period of the target obsolete virtual character.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
Determining the survival number of the survival virtual characters in the virtual scene;
determining a shortened duration of the revival duration based on the number of survivors;
Determining a shortened number of the target virtual character based on the number of survivors;
And controlling the shortened duration of the shortened number of the revival durations of the target elimination virtual characters.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
the shortened duration is inversely related to the number of survivors.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
The shortened number is inversely related to the surviving number.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
Determining at least one of the eliminated virtual characters in the virtual scene as the target eliminated virtual character;
and controlling to shorten the reviving time of the target elimination virtual character.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
and randomly determining at least one of the eliminated virtual characters in the virtual scene as the eliminated virtual character of the target.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
Determining a target camping to which the target survival virtual role belongs;
And determining at least one of the eliminated virtual roles belonging to the target camp in the virtual scene as the target eliminated virtual role.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
Determining a target camping to which the target survival virtual role belongs;
and determining at least one of the eliminated virtual roles belonging to a friendly camp with the target as the eliminated virtual role of the target in the virtual scene.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
determining a target camp to which the virtual character of the target survival virtual character is eliminated;
And determining at least one of the eliminated virtual roles belonging to the target camp in the virtual scene as the target eliminated virtual role.
In some exemplary embodiments, the revival duration shortening module 920 is configured to:
Determining a target camping to which the target survival virtual role belongs;
And determining at least one of the eliminated virtual roles belonging to the target opponent in the virtual scene as the eliminated virtual role.
In some exemplary embodiments, providing, by the terminal device, a graphical user interface, the content displayed by the graphical user interface including at least a portion of the virtual scene; the revival duration shortening module 920 is configured to:
And controlling the graphical user interface to display the virtual prop, and controlling the virtual prop to move to the position of the target elimination virtual character so as to represent that the revival time length of the target elimination virtual character is shortened.
In some exemplary embodiments, the content displayed by the graphical user interface further includes a revival duration control configured to display the revival duration; the revival duration shortening module 920 is configured to:
And controlling the virtual prop to move to the revival duration control corresponding to the target elimination virtual character.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of the various modules may be implemented in the same one or more pieces of software and/or hardware when implementing the present disclosure.
The device of the foregoing embodiment is configured to implement the control method of the corresponding virtual character in any foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, the present disclosure also provides an electronic device corresponding to the method of any embodiment, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements the method for controlling the virtual character according to any embodiment when executing the program.
Fig. 10 shows a more specific hardware architecture of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage, dynamic storage, etc. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown in the figure) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The electronic device of the foregoing embodiment is configured to implement the control method of the corresponding virtual character in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
The memory 1020 stores machine readable instructions executable by the processor 1010, which when the electronic device is running, communicate between the processor 1010 and the memory 1020 over the bus 1030, causing the processor 1010 to execute the following instructions when running:
Acquiring the reviving time length of the eliminated virtual roles in the eliminated state in the virtual scene;
Responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters;
And controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character.
In a possible implementation manner, in the instructions executed by the processor 1010, the controlling to shorten a reactivation duration of at least one target obsolete virtual character in the obsolete virtual characters includes:
Determining the survival number of the survival virtual characters in the virtual scene;
determining a shortened duration of the revival duration based on the number of survivors;
Determining a shortened number of the target virtual character based on the number of survivors;
And controlling the shortened duration of the shortened number of the revival durations of the target elimination virtual characters.
In a possible implementation manner, in the instructions executed by the processor 1010, the determining, based on the survival number, a shortened duration of the revival duration includes:
the shortened duration is inversely related to the number of survivors.
In a possible implementation manner, in the instructions executed by the processor 1010, the determining the shortened number of the target virtual characters based on the surviving number includes:
The shortened number is inversely related to the surviving number.
In a possible implementation manner, in the instructions executed by the processor 1010, the controlling to shorten a reactivation duration of at least one target obsolete virtual character in the obsolete virtual characters includes:
Determining at least one of the eliminated virtual characters in the virtual scene as the target eliminated virtual character;
and controlling to shorten the reviving time of the target elimination virtual character.
In a possible implementation manner, in the instructions executed by the processor 1010, the determining that at least one of the eliminated virtual characters in the virtual scene is the eliminated virtual character of the target includes:
and randomly determining at least one of the eliminated virtual characters in the virtual scene as the eliminated virtual character of the target.
In a possible implementation manner, in the instructions executed by the processor 1010, the determining that at least one of the eliminated virtual characters in the virtual scene is the eliminated virtual character of the target includes:
Determining a target camping to which the target survival virtual role belongs;
And determining at least one of the eliminated virtual roles belonging to the target camp in the virtual scene as the target eliminated virtual role.
In a possible implementation manner, in the instructions executed by the processor 1010, the determining that at least one of the eliminated virtual characters in the virtual scene is the eliminated virtual character of the target includes:
Determining a target camping to which the target survival virtual role belongs;
and determining at least one of the eliminated virtual roles belonging to a friendly camp with the target as the eliminated virtual role of the target in the virtual scene.
In a possible implementation manner, in the instructions executed by the processor 1010, the determining that at least one of the eliminated virtual characters in the virtual scene is the eliminated virtual character of the target includes:
determining a target camp to which the virtual character of the target survival virtual character is eliminated;
And determining at least one of the eliminated virtual roles belonging to the target camp in the virtual scene as the target eliminated virtual role.
In a possible implementation manner, in the instructions executed by the processor 1010, the determining that at least one of the eliminated virtual characters in the virtual scene is the eliminated virtual character of the target includes:
Determining a target camping to which the target survival virtual role belongs;
And determining at least one of the eliminated virtual roles belonging to the target opponent in the virtual scene as the eliminated virtual role.
In a possible implementation manner, in the instructions executed by the processor 1010, a graphical user interface is provided through the terminal device, where the content displayed by the graphical user interface includes at least part of the virtual scene;
The control shortens the revival time of at least one target elimination virtual character in the elimination virtual characters, and the method further comprises:
And controlling the graphical user interface to display the virtual prop, and controlling the virtual prop to move to the position of the target elimination virtual character so as to represent that the revival time length of the target elimination virtual character is shortened.
In a possible implementation, in the instructions executed by the processor 1010, the content displayed by the graphical user interface further includes a reactivation time length control, where the reactivation time length control is configured to display the reactivation time length;
the controlling the virtual prop to move to the position of the target elimination virtual character comprises the following steps:
And controlling the virtual prop to move to the revival duration control corresponding to the target elimination virtual character.
By means of the method, the method and the device for controlling the virtual characters in the virtual scene are based on the elimination event of the virtual characters in the virtual scene, and the reviving time of the virtual characters in the virtual scene is shortened through dynamic control, so that the survival number of the virtual characters in the virtual scene is controlled dynamically, and user experience is improved.
Based on the same inventive concept, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the virtual character control method according to any of the above embodiments, corresponding to the method of any of the above embodiments.
The computer readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The non-transitory computer readable storage media described above can be any available media or data storage device that can be accessed by a computer, including, but not limited to, magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MOs), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), and semiconductor storage (e.g., ROM, EPROM, EEPROM, nonvolatile storage (NAND FLASH), solid State Disk (SSD)), etc.
The storage medium of the above embodiment stores computer instructions for causing the computer to execute the virtual character control method according to any one of the above exemplary method portions, and has the advantages of the corresponding method embodiments, which are not described herein.
Based on the same inventive concept, the present disclosure also provides a computer program product corresponding to the virtual character control method according to any of the above embodiments, which includes computer program instructions. In some embodiments, the computer program instructions may be executable by one or more processors of a computer to cause the computer and/or the processor to perform the method of controlling the virtual character. Corresponding to the execution subject corresponding to each step in each embodiment of the virtual character control method, the processor executing the corresponding step may belong to the corresponding execution subject.
The computer program product of the above embodiment is configured to enable the computer and/or the processor to execute the method for controlling the virtual character according to any one of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein.
Those skilled in the art will appreciate that embodiments of the present disclosure may be implemented as a system, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: all hardware, all software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software, is generally referred to herein as a "circuit," module, "or" system. Furthermore, in some embodiments, the present disclosure may also be embodied in the form of a computer program product in one or more computer-readable media, which contain computer-readable program code.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive example) of the computer-readable storage medium could include, for example: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer, for example, through the internet using an internet service provider.
It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Furthermore, although the operations of the methods of the present disclosure are depicted in the drawings in a particular order, this is not required or suggested that these operations must be performed in this particular order or that all of the illustrated operations must be performed in order to achieve desirable results. Rather, the steps depicted in the flowcharts may change the order of execution. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the application (including the claims) is limited to these examples; the technical features of the above embodiments or in the different embodiments may also be combined within the idea of the application, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the application as described above, which are not provided in detail for the sake of brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure the embodiments of the present application. Furthermore, the devices may be shown in block diagram form in order to avoid obscuring the embodiments of the present application, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the present application are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, and the like, which are within the spirit and principles of the embodiments of the application, are intended to be included within the scope of the application.
While the spirit and principles of the present disclosure have been described with reference to several particular embodiments, it is to be understood that this disclosure is not limited to the particular embodiments disclosed nor does it imply that features in these aspects are not to be combined to benefit from this division, which is done for convenience of description only. The disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims (16)

1. A method for controlling a virtual character, comprising:
Acquiring the reviving time length of the eliminated virtual roles in the eliminated state in the virtual scene;
Responding to the elimination of at least one target survival virtual character in the survival virtual characters in the survival state in the virtual scene, and controlling and shortening the reviving time of at least one target elimination virtual character in the elimination virtual characters;
And controlling the target elimination virtual character to enter the survival state according to the shortened reviving time of the target elimination virtual character.
2. The method of claim 1, wherein the controlling shortens a reactivation time period for at least one target of the obsolete virtual roles, comprising:
Determining the survival number of the survival virtual characters in the virtual scene;
determining a shortened duration of the revival duration based on the number of survivors;
Determining a shortened number of the target virtual character based on the number of survivors;
And controlling the shortened duration of the shortened number of the revival durations of the target elimination virtual characters.
3. The method of claim 2, wherein the determining the shortened duration of the revival time based on the number of survivors comprises:
the shortened duration is inversely related to the number of survivors.
4. The method of claim 2, wherein the determining the shortened number of target virtual characters based on the surviving number comprises:
The shortened number is inversely related to the surviving number.
5. The method of claim 1, wherein the controlling shortens a reactivation time period for at least one target of the obsolete virtual roles, comprising:
Determining at least one of the eliminated virtual characters in the virtual scene as the target eliminated virtual character;
and controlling to shorten the reviving time of the target elimination virtual character.
6. The method of claim 5, wherein the determining that at least one of the decommissioned virtual characters in the virtual scene is the target decommissioned virtual character comprises:
and randomly determining at least one of the eliminated virtual characters in the virtual scene as the eliminated virtual character of the target.
7. The method of claim 5, wherein the determining that at least one of the decommissioned virtual characters in the virtual scene is the target decommissioned virtual character comprises:
Determining a target camping to which the target survival virtual role belongs;
And determining at least one of the eliminated virtual roles belonging to the target camp in the virtual scene as the target eliminated virtual role.
8. The method of claim 5, wherein the determining that at least one of the decommissioned virtual characters in the virtual scene is the target decommissioned virtual character comprises:
Determining a target camping to which the target survival virtual role belongs;
and determining at least one of the eliminated virtual roles belonging to a friendly camp with the target as the eliminated virtual role of the target in the virtual scene.
9. The method of claim 5, wherein the determining that at least one of the decommissioned virtual characters in the virtual scene is the target decommissioned virtual character comprises:
determining a target camp to which the virtual character of the target survival virtual character is eliminated;
And determining at least one of the eliminated virtual roles belonging to the target camp in the virtual scene as the target eliminated virtual role.
10. The method of claim 5, wherein the determining that at least one of the decommissioned virtual characters in the virtual scene is the target decommissioned virtual character comprises:
Determining a target camping to which the target survival virtual role belongs;
And determining at least one of the eliminated virtual roles belonging to the target opponent in the virtual scene as the eliminated virtual role.
11. The method according to claim 1, characterized in that a graphical user interface is provided by a terminal device, the content displayed by the graphical user interface comprising at least part of the virtual scene;
The control shortens the revival time of at least one target elimination virtual character in the elimination virtual characters, and the method further comprises:
And controlling the graphical user interface to display the virtual prop, and controlling the virtual prop to move to the position of the target elimination virtual character so as to represent that the revival time length of the target elimination virtual character is shortened.
12. The method of claim 11, wherein the content displayed by the graphical user interface further comprises a revival duration control configured to display the revival duration;
the controlling the virtual prop to move to the position of the target elimination virtual character comprises the following steps:
And controlling the virtual prop to move to the revival duration control corresponding to the target elimination virtual character.
13. A virtual character control device, comprising:
The revival time length acquisition module is configured to acquire revival time length of the eliminated virtual characters in the eliminated state in the virtual scene;
A reviving duration shortening module configured to control shortening a reviving duration of at least one target elimination virtual character in the elimination virtual character in response to at least one target elimination virtual character in the survival virtual character in the virtual scene being eliminated;
And the game state control module is configured to control the target elimination virtual character to enter the survival state according to the shortened revival time length of the target elimination virtual character.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1 to 12 when the program is executed.
15. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 12.
16. A computer program product comprising computer program instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 12.
CN202410302039.2A 2024-03-15 2024-03-15 Virtual character control method, device, equipment, storage medium and program product Pending CN118045354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410302039.2A CN118045354A (en) 2024-03-15 2024-03-15 Virtual character control method, device, equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410302039.2A CN118045354A (en) 2024-03-15 2024-03-15 Virtual character control method, device, equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN118045354A true CN118045354A (en) 2024-05-17

Family

ID=91044797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410302039.2A Pending CN118045354A (en) 2024-03-15 2024-03-15 Virtual character control method, device, equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN118045354A (en)

Similar Documents

Publication Publication Date Title
US10348795B2 (en) Interactive control management for a live interactive video game stream
CA2825223C (en) Remotely emulating computing devices
CN108829453A (en) Configuration method, device, terminal and the storage medium of sensor
JP2024059715A (en) Managing and displaying web pages in a virtual three-dimensional space using a mixed reality system
US9021390B1 (en) Methods and apparatus for optimized pausing of an embedded application to render pop-up window
CN101911045B (en) Architecture for online communnity and connected experiences
CN104380256A (en) Method, system and executable piece of code for virtualisation of hardware resource associated with computer system
US20230306694A1 (en) Ranking list information display method and apparatus, and electronic device and storage medium
CN111949908A (en) Media information processing method and device, electronic equipment and storage medium
CN114327214A (en) Interaction method, interaction device, electronic equipment, storage medium and computer program product
CN104994920B (en) Presenting has the function of the digital content item of layer-stepping
JP7429930B2 (en) Computer program, method and server device
CN118045354A (en) Virtual character control method, device, equipment, storage medium and program product
CN113144606B (en) Skill triggering method of virtual object and related equipment
KR20190107535A (en) Method and system for game replay
CN115040866A (en) Cloud game image processing method, device, equipment and computer readable storage medium
EP4119208A1 (en) Image processing system, program, and image processing method
KR101744684B1 (en) Apparatus and method for providing cloud game service
KR20200044195A (en) System of Providing Gaming Video Using Cloud Computer
CN118001751A (en) Information display method, information display device, electronic device, storage medium, and program product
JP2019107255A (en) Information processing method, server device, program, information terminal, and information processing system
CN113138698B (en) Game resource processing method and device, storage medium and electronic equipment
CN118105696A (en) Information processing method, apparatus, electronic device, storage medium, and program product
CN116196622A (en) Information processing method and device in game
CN116974447A (en) Picture display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination