Search

CN-119883001-B - Interactive control method, device, equipment and storage medium

CN119883001BCN 119883001 BCN119883001 BCN 119883001BCN-119883001-B

Abstract

Embodiments of the present disclosure relate to a method, apparatus, device, and storage medium for interactive control. The method includes presenting a first indication element associated with a virtual object in an interactive interface of a virtual scene, the first indication 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 an upper number limit of the first virtual resource in response to the first action corresponding to a first action type, and updating the first indication element in the interactive interface to indicate the updated upper number limit of the first virtual resource. In this way, the embodiment of the disclosure can enrich the interaction modes between the user and the virtual scene, and improve the interaction experience of the user.

Inventors

  • YANG HUICHUN

Assignees

  • 北京字跳网络技术有限公司

Dates

Publication Date
20260508
Application Date
20250121

Claims (12)

  1. 1. An interaction control method, comprising: Presenting a first indication element associated with a virtual object in an interactive interface of a virtual scene, wherein the first indication element is associated with a first virtual resource; triggering the virtual object to execute a first action in response to a first interaction operation associated with the virtual object; Responsive to the first action corresponding to a first action type, reducing an upper limit of the number of first virtual resources based on an upper limit reduction corresponding to the first action, wherein the first action type is associated with a first virtual skill specific to a first state; consuming the amount of the first virtual resource based on the amount of resource consumption corresponding to the first action in response to the first action corresponding to the second action type, and Updating the first indication element in the interactive interface to indicate the updated upper limit of the number of the first virtual resources, The method further includes switching the virtual object from a first state to a second state in response to the upper number of the first virtual resources being below a first threshold, the first state and the second state corresponding to different interactive capabilities of the virtual object in the virtual scene.
  2. 2. The method of claim 1, wherein the second action type is associated with a first movement pattern of the virtual object in a first state, the first movement pattern being specific to the first state.
  3. 3. The method of claim 2, further comprising: The number of the first virtual resources is periodically increased in response to the virtual object being associated with a second movement pattern that is different from the first movement pattern.
  4. 4. The method of 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, increasing a number of second virtual resources associated with the virtual object, the second virtual resources to trigger the virtual object to perform a second action specific to a second state.
  5. 5. The method of claim 1, wherein updating the upper limit on the number of first virtual resources comprises: In response to the first action corresponding to a third action type, the upper limit of the number of the first virtual resources is increased based on an upper limit increase amount corresponding to the first action.
  6. 6. The method of claim 5, wherein the third action type is associated with a second virtual skill specific to a second state of the virtual object.
  7. 7. The method of claim 1, further comprising: In the interactive interface of the virtual scene, a second indicating element associated with the virtual object is presented, the second indicating element being associated with a second virtual resource for triggering the virtual object to perform a second action specific to a second state.
  8. 8. The method of claim 1, wherein updating the first indication element in the interactive interface comprises: displaying a first portion of the first indication element in a first format to indicate a change in the number of the first virtual resources, and/or A second portion of the first indication element is displayed in a second style to indicate a change in the upper limit of the number of the first virtual resources.
  9. 9. The method of claim 1, wherein a condition that the virtual object switches from the second state to the first state is associated with the upper number limit of the first virtual resource, and the upper number limit is capable of increasing based on a target action performed by the virtual object in the second state.
  10. 10. An apparatus for interactive control, comprising: a first presentation module configured to present, in an interactive interface of a virtual scene, a first indication element associated with a virtual object, the first indication element being associated with a first virtual resource; A triggering module configured to trigger the virtual object to perform a first action in response to a first interaction associated with the virtual object; A first update module configured to reduce an upper limit of the number of first virtual resources based on an upper limit reduction amount corresponding to the first action in response to the first action corresponding to a first action type, wherein the first action type is associated with a first virtual skill specific to a first state; A consumption module configured to consume the amount of the first virtual resource based on the amount of resource consumption corresponding to the first action in response to the first action corresponding to the second action type, and A second updating module configured to update the first indication element in the interactive interface to indicate the updated upper limit of the number of the first virtual resources, The second update module is further configured to switch the virtual object from a first state to a second state in response to the upper number of the first virtual resources being below a first threshold, the first state and the second state corresponding to different interactive capabilities of the virtual object in the virtual scene.
  11. 11. An electronic device, comprising: 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, which when executed by the at least one processing unit, cause the electronic device to perform the method of any one of claims 1 to 9.
  12. 12. A computer readable storage medium having stored thereon a computer program executable by a processor to implement the method of any of claims 1 to 9.

Description

Interactive control method, device, equipment and storage medium Technical Field Example embodiments of the present disclosure relate generally to the field of computers and, more particularly, relate to methods, apparatuses, devices, and computer-readable storage media for interactive control. Background With the development of computer technology, users can interact with other users through a computer, and experience some interactions in a scene provided by the computer (such as a simulation environment, a virtual environment, etc.), which cannot be realized or are not easy to realize in a physical environment. Disclosure of Invention In a first aspect of the present disclosure, a method of interactive control is provided. The method includes presenting, in an interactive interface of a virtual scene, a first indication element associated with a virtual object, the first indication 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 an upper number limit of the first virtual resource in response to the first action corresponding to a first action type, and updating the first indication element in the interactive interface to indicate the updated upper number limit of the first virtual resource. In a second aspect of the present disclosure, an apparatus for interactive control is provided. The device comprises a first presenting module, a triggering module, a first updating module and a second updating module, wherein the first presenting module is configured to present a first indicating element associated with a virtual object in an interactive interface of a virtual scene, the first indicating element is associated with a first virtual resource, the triggering module is configured to trigger the virtual object to execute a first action in response to a first interactive operation associated with the virtual object, the first updating module is 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 the second updating module is configured to update the first indicating element in the interactive interface to indicate the updated upper limit of the quantity of the first virtual resource. In a third aspect of the present disclosure, an electronic device is provided. The apparatus 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. The instructions, when executed by at least one processing unit, cause the apparatus to perform the method of the first aspect. In a fourth aspect of the present disclosure, a computer-readable storage medium is provided. The computer readable storage medium has stored thereon a computer program executable by a processor to implement the method of the first aspect. It should be understood that what is described in this section of the disclosure is not intended to limit key features or essential features of the embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description. Drawings The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals denote like or similar elements, in which: FIG. 1 illustrates a schematic diagram of an example environment in which embodiments in accordance with the present disclosure may be implemented; FIGS. 2A-2E illustrate example interfaces according to some embodiments of the present disclosure; FIG. 3 illustrates a flowchart of an example process of interactive control, according to some embodiments of the present disclosure; FIG. 4 shows a schematic block diagram of an example apparatus for interactive control, in accordance with some embodiments of the present disclosure, and Fig. 5 illustrates a block diagram of an electronic device capable of implementing various embodiments of the present disclosure. Detailed Description Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been illustrated in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather, these embodiments are provided so that this disclosure will be more thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not