Method, apparatus, device and storage medium for interactive control
By presenting indicator elements associated with virtual objects in the virtual scene and updating the upper limit of the number of virtual resources in response to user operations, the problem of limited user interaction methods is solved, and a richer interactive experience and more efficient information acquisition are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2025-01-21
- Publication Date
- 2026-05-08
AI Technical Summary
In existing technologies, the ways in which users interact with virtual scenes are relatively simple and lack rich interactive mechanisms, resulting in an insufficient user experience.
In the interactive interface of the virtual scene, indicator elements associated with virtual objects are presented, which respond to user interaction operations to trigger virtual objects to perform actions, update the upper limit of the number of virtual resources, and display resource changes through different styles to enrich the interactive effects.
It improves the way users interact with virtual scenes, enhances the user's interactive experience, and improves the efficiency of information acquisition and the effectiveness of interaction through rich interactive mechanisms.
Smart Images

Figure CN119883001B_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and more particularly to methods, apparatuses, devices, and computer-readable storage media for interactive control. Background Technology
[0002] With the development of computer technology, users can interact with other users through computers and experience interactions that are impossible or difficult to achieve in a physical environment in computer-provided scenarios (such as simulation environments, virtual environments, etc.). Summary of the Invention
[0003] In a first aspect of this disclosure, an interactive control method is provided. The method includes: presenting a first indicator element associated with a virtual object and a first virtual resource in an interactive interface of a virtual scene; triggering the virtual object to perform a first action in response to a first interactive operation associated with the virtual object; updating the upper limit of the quantity of the first virtual resource in response to the first action corresponding to a first action type; and updating the first indicator element in the interactive interface to indicate the updated upper limit of the quantity of the first virtual resource.
[0004] In a second aspect of this disclosure, an apparatus for interactive control is provided. The apparatus includes: a first presentation module configured to present a first indicator element associated with a virtual object in an interactive interface of a virtual scene, the first indicator element being associated with a first virtual resource; a trigger module configured to trigger the virtual object to perform a first action in response to a first interactive operation associated with the virtual object; a first update module configured to update an upper limit for the quantity of the first virtual resource in response to the first action corresponding to a first action type; and a second update module configured to update the first indicator element in the interactive interface to indicate the updated upper limit for the quantity of the first virtual resource.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.
[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0009] Figure 1 A schematic diagram is shown of an example environment in which embodiments of the present disclosure may be implemented;
[0010] Figures 2A to 2E Example interfaces according to some embodiments of this disclosure are shown;
[0011] Figure 3 A flowchart illustrating an example process of interactive control according to some embodiments of the present disclosure is shown;
[0012] Figure 4 A schematic structural block diagram of an example device for interactive control according to some embodiments of the present disclosure is shown; and
[0013] Figure 5 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0014] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0015] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0016] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0017] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0018] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0019] As mentioned above, with the development of computer technology, users can interact with other users through computers and experience interactions that are impossible or difficult to achieve in a physical environment in computer-provided scenarios (such as simulation environments, virtual environments, etc.).
[0020] Embodiments of this disclosure propose an interactive control scheme. The scheme includes: presenting a first indicator element associated with a virtual object in an interactive interface of a virtual scene, the first indicator element being associated with a first virtual resource; triggering the virtual object to perform a first action in response to a first interactive operation associated with the virtual object; updating the upper limit of the quantity of the first virtual resource in response to the first action corresponding to a first action type; and updating the first indicator element in the interactive interface to indicate the updated upper limit of the quantity of the first virtual resource.
[0021] In this way, the embodiments of this disclosure can enrich the ways in which users interact with virtual scenes and improve the user's interactive experience.
[0022] The following section provides a detailed description of various example implementations of this scheme, with reference to the accompanying drawings.
[0023] Example Environment
[0024] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. For example... Figure 1 As shown, example environment 100 may include electronic device 110.
[0025] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. Example environment 100 may include an electronic device 110. Electronic device 110 may, for example, include a suitable type of portable device that can be held by a user's hands for various interactive operations. Such electronic device 110 may be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 may also support any type of user-facing interface (such as "wearable" circuitry).
[0026] In some embodiments, the electronic device 110 may include, for example, an appropriate type of sensor for detecting user gestures. For instance, the electronic device 110 may include a touchscreen for detecting various types of gestures made by the user on the touchscreen. Additionally or alternatively, the electronic device 110 may also include other appropriate types of sensing devices, such as a proximity sensor, to detect various types of gestures made by the user within a predetermined distance above the screen.
[0027] It should be understood that, although electronic device 110 is in Figure 1 The device is shown as a portable device, but this is only illustrative. In some other embodiments, the electronic device 110 may also be other suitable forms. For example, the electronic device 110 may include a display device for display and a computing device for computing, and the display device and the computing device may, for example, be physically coupled or decoupled.
[0028] For example, electronic device 110 may include a display screen for displaying images and a game console for image rendering and game control.
[0029] In this scenario, electronic device 110 can achieve interaction by utilizing other suitable input devices, such as a keyboard, mouse, joystick, or game controller.
[0030] Continue to refer to Figure 1 The electronic device 110 can present a user interface 120, which may, for example, present a corresponding virtual environment. For example, the user interface 120 may be a game application interface to present a corresponding game scene. Alternatively, the user interface 120 may be other suitable types of interactive interfaces that allow the user to control virtual objects in the interface to perform corresponding actions in the virtual environment.
[0031] It should be understood that the user interface 120 may be generated locally on the electronic device 110 or may be based on an image received by the electronic device 110 from a remote device (e.g., a cloud gaming console).
[0032] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0033] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0034] Example Interaction
[0035] Figures 2A to 2E Example interfaces 200A to 200E according to some embodiments of the present disclosure are shown. Interfaces 200A to 200E may, for example, be provided by... Figure 1 The electronic device 110 shown is provided. In some embodiments, the electronic device 110 can present, upon receiving an interaction request for a virtual object, such as... Figures 2A to 2E Interfaces 200A to 200E are shown. As described above, such interfaces 200A to 200E may include, for example, graphical interfaces associated with a virtual scene. Such virtual scenes may include, but are not limited to, various types of game scenes, simulation scenes, and so on.
[0036] As an example, interfaces 200A to 200E may be interactive interfaces for controlling specific virtual objects in a virtual scene (e.g., a dojo) to engage in combat (e.g., a target character controlled by the user is fighting an enemy). For example, a user can enter a control mode for a virtual object by performing a specific operation in the virtual scene or by clicking a specific button on the interface.
[0037] In interfaces 200A to 200E, electronic device 110 can present virtual object 210 (also referred to as target virtual object). Virtual object 210 includes, for example, virtual objects or characters. In some embodiments, virtual object 210 can be associated with a user, and can be, for example, a virtual character that the user can control, which typically has specific attributes, skills, and appearance. Electronic device 110 can control virtual object 210 to complete tasks, engage in combat, or develop storylines based on user operations. Such virtual object 210 can be referred to as target character, for example.
[0038] In interfaces 200A to 200E, electronic device 110 can also display virtual objects 220, such as enemies. Electronic device 110 can control virtual objects 210 to perform actions on virtual objects 220 through commands, such as controlling a target character to perform actions such as normal attacks or releasing skills on enemies.
[0039] In some embodiments, the electronic device 110 presents a first indicator element associated with a virtual object in an interactive interface of a virtual scene. The first indicator element is associated with a first virtual resource. For example, Figure 2A As shown, after presenting the virtual scene, the electronic device 110 can display a first indicator element 230 in the interface 200A. The first indicator element 230 can be presented in the form of a meter, such as a fuel meter associated with the virtual object 210. The first indicator element 230 can be used to display the quantity and upper limit of the first virtual resource.
[0040] In some embodiments, the electronic device 110 can control the virtual object to perform corresponding actions based on user interaction. Such actions could be, for example, controlling the virtual object 210 to move or controlling the virtual object 210 to launch an attack. Specifically, the electronic device 110 triggers the virtual object to perform a first action in response to a first interaction associated with the virtual object.
[0041] As an example, such as Figure 2A As shown, the electronic device 110 can receive a first interactive operation from the user. This first interactive operation can be, for example, an operation that triggers the electronic device 110 to control the virtual object 210 to perform a corresponding action. Such an action could be, for example, a movement action or an attack action of the virtual object 210. After receiving the first interactive operation, the electronic device 110 can control the virtual object 210 to perform the corresponding action (e.g., a movement action or an attack action).
[0042] In some embodiments, the electronic device 110 may update the upper limit of the quantity of the first virtual resource in response to a first action corresponding to a first action type.
[0043] As an example, such as Figure 2A As shown, when the virtual object 210 performs an action corresponding to the first interactive operation, the electronic device 110 can update the resource attributes corresponding to the first action. Such resource attributes may be, for example, the quantity (also called fuel) or the maximum quantity (also called fuel limit) of the first virtual resource (also called fuel value).
[0044] Additionally or alternatively, electronic device 110 may associate the attribute type of a resource attribute with different action types. For example, electronic device 110 may associate fuel value (i.e., the quantity of the first virtual resource) with the movement action of virtual object 210.
[0045] In some embodiments, when updating the first indicator element, the electronic device 110 may display a first portion of the first indicator element in a first style to indicate a change in the quantity of the first virtual resource. As an example, the electronic device 110 may use different colors to distinguish between the fuel value and the fuel limit. The first style used to display the fuel value could be, for example, a black-filled block; that is, the electronic device 110 may display the fuel value as a black-filled block. For example, Figure 2A The first indicator element 230 indicates a fuel value of 3 units.
[0046] In some embodiments, when updating the first indicator element, the electronic device 110 may display a second portion of the first indicator element in a second style to indicate a change in the upper limit of the first virtual resource. As an example, such as... Figure 2A As shown, the second style could be, for example, gray-filled. Electronic device 110 could use gray-filled blocks to represent the maximum current amount of fuel consumed. For example, Figure 2A The first indicator element 230 indicates a fuel limit of 3 units.
[0047] Presenting the quantity and upper limit of primary resources using different styles can effectively help users monitor changes in primary resources, thereby improving the efficiency of users in obtaining information related to virtual objects.
[0048] In some embodiments, when the first action is performed by the virtual object 210, the electronic device 110 can update the first indicator element in the interactive interface to indicate the updated upper limit of the virtual resource quantity. For example, when the first action is performed by the virtual object 210, the electronic device 110 can adjust the fuel value or fuel limit based on the action type corresponding to the first action. For instance, after the virtual object 210 performs an attack action (i.e., the first action corresponding to the first action type), the electronic device 110 can reduce the virtual object's fuel limit and display the updated fuel through the first indicator element 230. Adjusting the quantity or upper limit of the first virtual resource by the attribute type corresponding to the first action enriches the interactive effects triggered by the first interactive operation, thereby improving the user's interactive experience.
[0049] In some embodiments, electronic device 110 may consume a first virtual resource based on the resource consumption corresponding to the first action, in response to a first action corresponding to a second action type. The first action type is associated with a first movement mode of the virtual object in a first state, and the first movement mode is specific to the first state. As an example, electronic device 110 may configure virtual object 210 to perform the first action corresponding to the first action type only when it is in the first state. The first state may be, for example, the state in which virtual object 210 drives a virtual device, such as a virtual vehicle, virtual flight device, or virtual robot, and will be referred to hereafter as "mech state".
[0050] The first movement mode of the first action type could be, for example, a movement mode associated with flight. Such a movement mode could include, for example, a takeoff mode, an in-flight displacement mode, or a flight hold mode. After the virtual object 210 performs an action of the first action type, such as... Figure 2A and 2B As shown, the electronic device 110 can deduct fuel value based on the fuel consumption corresponding to the first action type. For example, the fuel value can be reduced from 3 units to 1 unit. The fuel consumption corresponding to the first action type can be set by those skilled in the art as needed, and this disclosure does not impose any restrictions on this.
[0051] In some scenarios, when the virtual object 210 remains in flight, the electronic device 110 can continuously reduce its fuel value. For example, when the virtual object remains in flight, the electronic device 110 can deduct 0.1 units of fuel value per second.
[0052] Additional or alternative land, such as Figure 2A As shown, the electronic device 110 can configure a first action type to be associated with the control 240. When the electronic device 110 receives a long press operation from the user on the control 240, the electronic device 110 can control the virtual object 210 to perform a takeoff action.
[0053] In some embodiments, the electronic device 110 can also restore the fuel value of the virtual object 210 based on the movement mode of the virtual object 210. Specifically, the electronic device 110 can periodically increase the quantity of the first virtual resource in response to the virtual object being associated with a second movement mode different from the first movement mode.
[0054] As an example, when the virtual object 210 is in the second movement mode, the electronic device 110 can continuously restore the fuel value associated with the virtual object. For example, when the virtual object 210 is in the second movement mode, the electronic device 110 can restore 0.5 units of fuel value per second. Such a second movement mode could be, for example, the virtual object 210 moving on the ground in a virtual scene, such as the virtual object 210 walking, standing, or performing other movement actions on the ground in the virtual scene.
[0055] In some embodiments, when the virtual object 210 performs an action corresponding to a first action type, the electronic device 110 may deduct the upper limit of the quantity of the first virtual resource. Specifically, the electronic device 110 may, in response to the first action corresponding to a first action type, reduce the upper limit of the quantity of the first virtual resource based on the reduction amount corresponding to the first action. The first action type is associated with a first virtual skill specific to the "mech state". Here, the first action corresponding to the first action type may be referred to as a first attack action.
[0056] As an example, such as Figure 2A and 2C As shown, after the first attack action is executed by the virtual object 210, the electronic device 110 can reduce the upper limit of the first virtual resource quantity based on the fuel limit reduction amount corresponding to the first attack action. After the upper limit of the first virtual resource quantity is reduced, the electronic device 110 can exhibit the following behavior: Figure 2C The updated first indicator element 230 is shown. The amount of fuel limit reduction corresponding to the first attack action could be, for example, a reduction of one unit of fuel limit. The specific amount of limit reduction can be set by those skilled in the art as needed, and this disclosure does not impose any restrictions on it.
[0057] In some scenarios, the first attack action is associated with a first virtual skill, such as the first attack skill of virtual object 210. The attack skill can be the ability of virtual object 210 to inflict damage or negative effects on target units (such as virtual object 220) in the virtual scene.
[0058] In other scenarios, the first attack action is bound to the "mech state" of virtual object 210, which can be the state in which virtual object 210 drives a virtual device. That is, the first attack action can only be executed by the virtual object 210. When virtual object 210 is in a second state, but the first attack action is triggered, electronic device 110 can control virtual object 210 to switch from the second state to the "mech state". Such a second state can be, for example, a state different from the driving state, and will be referred to as the "normal state" below.
[0059] In some embodiments, the electronic device 110 may present a second indicator element associated with a virtual object in an interactive interface of a virtual scene. The second indicator element is associated with a second virtual resource. The second virtual resource is used to trigger the virtual object to perform a second action specific to a second state.
[0060] As an example, such as Figure 2C As shown, the electronic device 110 can display an energy meter 250 (i.e., a second indicator element) in a virtual scene. The energy meter 250 is used to display the quantity of a second virtual resource. The second virtual resource can also be referred to as energy points. When the energy points reach a preset value, a second action corresponding to the "normal state" of the virtual object 210 is allowed to be triggered.
[0061] In some embodiments, after the first attack action is executed by the virtual object 210, the electronic device 110 may increase the number of second virtual resources. Specifically, the electronic device 110 may increase the number of second virtual resources associated with the virtual object in response to the first action corresponding to the first action type. The second virtual resources are used to trigger the virtual object to execute a second action specific to the second state.
[0062] As an example, such as Figure 2C As shown, after the virtual object 210 performs the first attack action, the electronic device 110 can add a preset unit of energy points to display the updated number of energy points in the energy table 250. For example, after the virtual object 210 performs the first attack action, the electronic device 110 can add one unit of energy points and update the visual representation of the energy table 250.
[0063] In some embodiments, the electronic device 110 may, in response to a first action corresponding to a third action type, increase the upper limit of the first virtual resource quantity based on the upper limit increase amount corresponding to the first action. The first action corresponding to the third action type may, for example, be referred to as a fuel recovery action.
[0064] As an example, such as Figure 2A and 2D As shown, when the fuel restoration action is executed by the virtual object 210, the electronic device 110 can restore the corresponding unit of fuel limit to... Figure 2A The visual representation of the fuel gauge 230 shown is updated as follows: Figure 2D The visual representation of the fuel gauge 230 is shown. For example, when the control 255 is selected, the electronic device 110 can control the virtual object 210 to perform a fuel recovery action to periodically restore the fuel limit (e.g., increase the fuel limit by 0.5 units per second).
[0065] In some embodiments, the third action type is associated with a second virtual skill specific to a second state of a virtual object. For example, such as... Figure 2C As shown, control 260 can be used to trigger a second virtual skill. When electronic device 110 receives the user's selection of control 260, electronic device 110 can determine whether the number of energy points associated with virtual object 210 is greater than a preset value. When electronic device 110 determines that the number of energy points is greater than the preset value, electronic device 110 can execute the second virtual skill with virtual object 210 and adjust the fuel limit.
[0066] In some scenarios, when the second virtual skill is executed by the virtual object 210, the electronic device 110 can reduce the number of energy points. The number of energy points reduced can be set by those skilled in the art as needed, and this disclosure does not impose any limitations on this.
[0067] In some embodiments, the electronic device 110 switches the virtual object from a first state to a second state in response to the upper limit of the number of the first virtual resource falling below a first threshold. As an example, such as... Figure 2E As shown, when the fuel limit is zero, the electronic device 110 can switch the virtual object 210 from "mech state" to "normal state".
[0068] In some embodiments, the condition for a virtual object to switch from a second state to a first state is associated with an upper limit on the quantity of a first virtual resource. Furthermore, the upper limit can be increased based on a target action performed by the virtual object in the second state. For example, when the virtual object 210 is in a "normal state" (i.e., the second state), the electronic device 110 can control the virtual object 210 to perform a target action, which can be associated with the "normal state." After the virtual object 210 performs the target action, the electronic device 110 can increase the fuel limit by a preset unit. When the fuel limit exceeds a second threshold, the electronic device 110 can control the virtual object 210 to switch from the "normal state" to the "mech state." By using rich interactive mechanisms to switch the state of the virtual object, the user's interactive experience can be enhanced.
[0069] In this way, the embodiments of this disclosure can enrich the ways in which users interact with virtual scenes and improve the user's interactive experience.
[0070] Example process
[0071] Figure 3 A flowchart of an example process 300 for interactive control according to some embodiments of the present disclosure is shown. Process 300 can be implemented at electronic device 110. Reference is made below. Figure 1 To describe process 300.
[0072] like Figure 3 As shown in box 310, in the interactive interface of the virtual scene, the electronic device 110 presents a first indicator element associated with a virtual object, which is associated with a first virtual resource.
[0073] In box 320, electronic device 110 responds to a first interactive operation associated with a virtual object, triggering the virtual object to perform a first action.
[0074] In box 330, electronic device 110 updates the upper limit of the quantity of the first virtual resource in response to the first action corresponding to the first action type.
[0075] In box 340, update the first indicator element in the interactive interface to indicate the updated upper limit of the first virtual resource quantity.
[0076] In some embodiments, process 300 further includes: in response to the first action corresponding to the second action type, consuming the amount of the first virtual resource based on the resource consumption corresponding to the first action.
[0077] In some embodiments, the second action type is associated with a first movement mode of the virtual object in a first state, the first movement mode being specific to the first state.
[0078] In some embodiments, process 300 further includes periodically increasing the number of the first virtual resource in response to the virtual object being associated with a second movement mode different from the first movement mode.
[0079] In some embodiments, a first action type is associated with a first virtual skill specific to a first state.
[0080] In some embodiments, the virtual object is in a first state, and the process 300 further includes: in response to a first action corresponding to a first action type, increasing the number of second virtual resources associated with the virtual object, the second virtual resources being used to trigger the virtual object to perform a second action specific to the second state.
[0081] In some embodiments, updating the resource attributes of the first virtual resource includes: in response to the first action corresponding to a third action type, increasing the upper limit of the quantity of the first virtual resource based on the upper limit increase amount corresponding to the first action.
[0082] In some embodiments, the third action type is associated with a second virtual skill specific to a second state of a virtual object.
[0083] In some embodiments, process 300 further includes: presenting a second indicator element associated with a virtual object in an interactive interface of a virtual scene, the second indicator element being associated with a second virtual resource, the second virtual resource being used to trigger the virtual object to perform a second action specific to a second state.
[0084] In some embodiments, updating the first indicator element in the interactive interface includes: displaying a first portion of the first indicator element in a first style to indicate a change in the quantity of the first virtual resource; and / or displaying a second portion of the first indicator element in a second style to indicate a change in the upper limit of the quantity of the first virtual resource.
[0085] In some embodiments, process 300 further includes: switching the virtual object from a first state to a second state in response to the upper limit of the number of the first virtual resource being lower than a first threshold.
[0086] In some embodiments, the condition for a virtual object to switch from a second state to a first state is associated with an upper limit on the quantity of a first virtual resource, and the upper limit can be increased based on a target action performed by the virtual object in the second state.
[0087] Example devices and equipment
[0088] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 4 A schematic structural block diagram of an example device 400 for interactive control according to certain embodiments of the present disclosure is shown. Device 400 may be implemented as or included in electronic device 110. Various modules / components in device 400 may be implemented by hardware, software, firmware, or any combination thereof.
[0089] like Figure 4 As shown, the device 400 includes: a first presentation module 410 configured to present a first indicator element associated with a virtual object in an interactive interface of a virtual scene, the first indicator element being associated with a first virtual resource; a trigger module 420 configured to trigger the virtual object to perform a first action in response to a first interactive operation associated with the virtual object; a first update module 430 configured to update the upper limit of the quantity of the first virtual resource in response to the first action corresponding to a first action type; and a second update module 440 configured to update the first indicator element in the interactive interface to indicate the updated upper limit of the quantity of the first virtual resource.
[0090] In some embodiments, the apparatus 400 further includes a consumption module configured to consume a quantity of first virtual resources based on the resource consumption amount corresponding to the first action, in response to a first action corresponding to a second action type.
[0091] In some embodiments, the second action type is associated with a first movement mode of the virtual object in a first state, the first movement mode being specific to the first state.
[0092] In some embodiments, the apparatus 400 further includes a first resource control module configured to periodically increase the number of first virtual resources in response to a virtual object being associated with a second movement mode different from the first movement mode.
[0093] In some embodiments, the update module 430 is further configured to: in response to the first action corresponding to the first action type, reduce the upper limit of the number of the first virtual resources based on the upper limit reduction amount corresponding to the first action.
[0094] In some embodiments, a first action type is associated with a first virtual skill specific to a first state.
[0095] In some embodiments, the virtual object is in a first state, and the apparatus 400 further includes a second resource control module configured to increase the number of second virtual resources associated with the virtual object in response to a first action corresponding to a first action type. The second virtual resources are used to trigger the virtual object to perform a second action specific to the second state.
[0096] In some embodiments, the first update module 430 is further configured to: in response to the first action corresponding to the third action type, increase the upper limit of the number of the first virtual resources based on the upper limit increase amount corresponding to the first action.
[0097] In some embodiments, the third action type is associated with a second virtual skill specific to the second state.
[0098] In some embodiments, the device 400 further includes a second presentation module configured to present a second indicator element associated with a virtual object in an interactive interface of a virtual scene. The second indicator element is associated with a second virtual resource, which is used to trigger the virtual object to perform a second action specific to a second state.
[0099] In some embodiments, the second update module 440 is further configured to: display a first portion of the first indicator element in a first style to indicate a change in the quantity of the first virtual resource; and / or display a second portion of the first indicator element in a second style to indicate a change in the upper limit of the quantity of the first virtual resource.
[0100] In some embodiments, the apparatus 400 further includes a switching module configured to switch a virtual object from a first state to a second state in response to an upper limit on the number of first virtual resources falling below a first threshold.
[0101] In some embodiments, the condition for a virtual object to switch from a second state to a first state is associated with an upper limit on the quantity of a first virtual resource, and the upper limit can be increased based on a target action performed by the virtual object in the second state.
[0102] The modules included in device 400 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more modules may be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 400 may be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that may be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SoCs), complex programmable logic devices (CPLDs), and so on.
[0103] Figure 5 A block diagram of an electronic device 500 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 5 The electronic device 500 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 5 The electronic device 500 shown can be used to implement the electronic device 110 discussed above.
[0104] like Figure 5 As shown, electronic device 500 is in the form of a general-purpose electronic device. Components of electronic device 500 may include, but are not limited to, one or more processors or processing units 510, memory 520, storage device 530, one or more communication units 540, one or more input devices 550, and one or more output devices 560. Processing unit 510 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 520. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 500.
[0105] Electronic device 500 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 500, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 520 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 530 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 500.
[0106] Electronic device 500 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 5 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 520 may include computer program product 525 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0107] Communication unit 540 enables communication with other electronic devices via a communication medium. Additionally, the functionality of components of electronic device 500 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, electronic device 500 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0108] Input device 550 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 560 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 500 can also communicate with one or more external devices (not shown) via communication unit 540 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 500, or with any device that enables electronic device 500 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0109] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0110] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should 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-readable program instructions.
[0111] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0112] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0113] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0114] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. An interactive control method, comprising: In the interactive interface of the virtual scene, a first indicator element associated with a virtual object is presented, and the first indicator element is associated with a first virtual resource; In response to a first interactive operation associated with the virtual object, the virtual object is triggered to perform a first action; In response to the first action corresponding to a first action type, the upper limit of the quantity of the first virtual resource is reduced based on the upper limit reduction amount corresponding to the first action, wherein the first action type is associated with a first virtual skill specific to a first state; In response to the first action corresponding to the second action type, the amount of the first virtual resource consumed is determined based on the resource consumption corresponding to the first action. as well as Update the first indicator element in the interactive interface to indicate the updated maximum quantity of the first virtual resource. The method further includes: in response to the upper limit of the quantity of the first virtual resource being lower than a first threshold, switching the virtual object from a first state to a second state, wherein the first state and the second state correspond to different interactive capabilities of the virtual object in the virtual scene.
2. The method of claim 1, wherein the second action type is associated with a first movement mode of the virtual object in a first state, the first movement mode being specific to the first state.
3. The method according to claim 2, further comprising: In response to the virtual object being associated with a second movement mode different from the first movement mode, the quantity of the first virtual resource is periodically increased.
4. The method according to claim 1, wherein the virtual object is in a first state, the method further comprising: In response to the first action corresponding to the first action type, the number of second virtual resources associated with the virtual object is increased, the second virtual resources being used to trigger the virtual object to perform a second action specific to the second state.
5. The method according to claim 1, wherein updating the upper limit of the quantity of the first virtual resource includes: In response to the first action corresponding to the third action type, the upper limit of the quantity of the first virtual resource is increased based on the upper limit increase amount corresponding to the first action.
6. The method of claim 5, wherein the third action type is associated with a second virtual skill specific to the second state of the virtual object.
7. The method according to claim 1, further comprising: In the interactive interface of the virtual scene, a second indicator element associated with the virtual object is presented. The second indicator element is associated with a second virtual resource, which is used to trigger the virtual object to perform a second action specific to a second state.
8. The method of claim 1, wherein updating the first indicator element in the interactive interface comprises: The first portion of the first indicator element is displayed in a first style to indicate the change in the quantity of the first virtual resource; and / or The second portion of the first indicator element is displayed in a second style to indicate the change in the upper limit of the quantity of the first virtual resource.
9. The method of claim 1, wherein the condition for the virtual object to switch from the second state to the first state is associated with the upper limit of the quantity of the first virtual resource, and the upper limit of the quantity can be increased based on a target action performed by the virtual object in the second state.
10. A device for interactive control, comprising: The first presentation module is configured to present a first indicator element associated with a virtual object in the interactive interface of the virtual scene, the first indicator element being associated with a first virtual resource; The triggering module is configured to trigger the virtual object to perform a first action in response to a first interactive operation associated with the virtual object. The first update module is configured to, in response to the first action corresponding to a first action type, reduce the upper limit of the quantity of the first virtual resource based on the upper limit reduction amount corresponding to the first action, wherein the first action type is associated with a first virtual skill specific to a first state; The consumption module is configured to consume the amount of the first virtual resource based on the resource consumption amount corresponding to the first action, in response to the first action corresponding to the second action type. as well as The second update module is configured to update the first indicator element in the interactive interface to indicate the updated maximum quantity of the first virtual resource. The second update module is further configured to: in response to the upper limit of the quantity of the first virtual resource being lower than a first threshold, switch the virtual object from a first state to a second state, wherein the first state and the second state correspond to different interactive capabilities of the virtual object in the virtual scene.
11. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, which, when executed by the at least one processing unit, cause the electronic device to perform the method according to any one of claims 1 to 9.
12. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Control instruction generation method and device thereof, storage medium and electronic device
CN113769407A
Display control method and device for instant card making game
CN115155065A
Virtual character interaction method and device in game, equipment and medium
CN115957507A
Virtual skill use method and device, equipment, medium and program product
CN116920394A