CN-121996331-A - Event execution method, event execution device, electronic device, storage medium, and program product
Abstract
The embodiment of the disclosure provides an event execution method, an event execution device, an electronic device, a storage medium and a program product. The method comprises the steps of displaying a plurality of event nodes of a current interaction event in an execution interface of the current interaction event, wherein the number of the event nodes is smaller than or equal to a first preset number, the event nodes comprise current event nodes to be executed of the current interaction event and first type event nodes of the current interaction event, at least part of the event nodes are determined based on the current event nodes, and responding to event execution operation acting in the execution interface to switch the current event nodes from an unexecuted state to an executed state. By utilizing the technical scheme, the embodiment of the disclosure can enrich the display modes of the event nodes of the current interaction event.
Inventors
- DING QIANNAN
- TENG FEI
Assignees
- 北京字跳网络技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241105
Claims (12)
- 1. An event execution method, comprising: Displaying a plurality of event nodes of a current interaction event in an execution interface of the current interaction event, wherein the number of the plurality of event nodes is smaller than or equal to a first preset number, the plurality of event nodes comprise current event nodes to be executed of the current interaction event and first type event nodes of the current interaction event, and at least part of the event nodes in the plurality of event nodes are determined based on the current event nodes; And responding to an event execution operation acting in the execution interface, and switching the current event node from an unexecuted state to an executed state.
- 2. The method of claim 1, wherein the plurality of event nodes further comprises at least one of a second type event node and a third type event node of the current interaction event, wherein the first type event node is an event node with a largest virtual resource value corresponding to the current interaction event, and the virtual resource value corresponding to the second type event node is greater than the virtual resource value corresponding to the third type event node.
- 3. The method of claim 2, wherein the first type of event node is a last event node of the current interaction event, the first preset number is less than a total number of nodes of the current interaction event, and the presenting the plurality of event nodes of the current interaction event in the execution interface of the current interaction event comprises at least one of: If the number of unexecuted event nodes of the current interaction event is smaller than or equal to the second preset number, displaying the continuous event nodes of the first preset number in the current interaction event in the execution interface; If the number of unexecuted event nodes of the current interaction event is greater than a second preset number, and the current interaction event does not have a second type event node located after a next event node of the current event node, displaying the first type event node and a first number of continuous event nodes in the execution interface, wherein the first number of continuous event nodes comprises the next event node; If the number of unexecuted event nodes of the current interaction event is greater than a second preset number, and the current interaction event has a second type of event node located after a next event node of the current event node, the first type of event node, the second type of event node located at least partially after the next event node, and a second number of consecutive event nodes are presented in the execution interface, the second number of consecutive event nodes including the next event node.
- 4. The method of claim 1, wherein the first type of event node has a different node pattern than other event nodes of the plurality of event nodes other than the first type of event, the node pattern comprising a node size and/or a node pattern.
- 5. The method of claim 1, wherein an event execution control is further presented in the execution interface, the event execution control configured to trigger execution of the event execution operation, the method further comprising: responding to event execution operation acted in the execution interface, and displaying the event execution control as an execution prompt control in a switching way; And responding to the triggering operation of the execution prompt control, starting an execution prompt function of the current interaction event, wherein the execution prompt function is used for prompting the execution of the current interaction event when the preset execution condition of the current interaction event is met.
- 6. The method of claim 1, further comprising at least one of: Responding to an event execution operation acting in the execution interface, and displaying first prompt information in a preset area of the execution interface, wherein the first prompt information is used for prompting node information of the first type event node or prompting node information of a second type event node which is nearest to the current event node and is not executed; Responding to event execution operation acting on the execution interface, updating a total virtual resource value corresponding to a current account based on a current virtual resource value corresponding to the current event node, and displaying resource update prompt information, wherein the resource update prompt information comprises character type prompt information or animation type prompt information, the character type prompt information displays the current virtual resource value and/or a first virtual resource value and a second virtual resource value obtained by splitting the current virtual resource value, the current event node is an nth event node in the current interaction event, the first virtual resource value is a virtual resource value corresponding to an nth event node in the last interaction event, the second virtual resource value is a difference value between the current virtual resource value and the first virtual resource value, and the animation type prompt information is also used for prompting the end of the current interaction event and/or the existence of a next interaction event.
- 7. The method of any of claims 1-6, wherein the presenting the plurality of event nodes of the current interaction event in the execution interface of the current interaction event comprises: Responding to the fact that a current event node to be executed in a previous interaction event is the first event node of the current interaction event, and displaying second prompt information, wherein the second prompt information is used for prompting event change information of the current interaction event compared with the previous interaction event; Displaying an execution interface of the current interaction event in response to the completion of the display of the second prompt information, displaying a plurality of event nodes of the current interaction event in the execution interface, and displaying third prompt information in a preset area of the execution interface, wherein the third prompt information is preset event change prompt information; and switching and displaying the third prompt information as fourth prompt information in response to the display time of the third prompt information reaching a preset time, wherein the fourth prompt information is used for prompting preset event information of the current interaction event.
- 8. The method of claim 7, wherein the event change information corresponds to at least one change item of a total number of nodes and a total virtual resource value of a current interaction event, and the second prompt information is used for presenting a change prompt screen from a first value corresponding to the previous interaction event to a second value corresponding to the current interaction event for the at least one change item.
- 9. An event execution device, comprising: The node display module is used for displaying a plurality of event nodes of the current interaction event in an execution interface of the current interaction event, wherein the number of the event nodes is smaller than or equal to a first preset number, the event nodes comprise current event nodes to be executed of the current interaction event and first type event nodes of the current interaction event, and at least part of event nodes in the event nodes are determined based on the current event nodes; and the state switching module is used for responding to the event execution operation acted in the execution interface and switching the current event node from the unexecuted state to the executed state.
- 10. An electronic device, comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the event execution method of any of claims 1-8.
- 11. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, the computer instructions for causing a processor to perform the event execution method of any of claims 1-8 when executed.
- 12. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the event execution method of any of claims 1-8.
Description
Event execution method, event execution device, electronic device, storage medium, and program product Technical Field The embodiment of the disclosure relates to the field of computer technology, in particular to an event execution method, an event execution device, electronic equipment, a storage medium and a program product. Background In some applications, at least a portion of event nodes of an interactive event may be presented in an execution panel of the interactive event. However, in the related art, the manner of displaying the event node is relatively single. Disclosure of Invention The embodiment of the disclosure provides an event execution method, an event execution device, electronic equipment, a storage medium and a program product, so as to enrich the display modes of event nodes of interaction events. In a first aspect, an embodiment of the present disclosure provides an event execution method, including: Displaying a plurality of event nodes of a current interaction event in an execution interface of the current interaction event, wherein the number of the plurality of event nodes is smaller than or equal to a first preset number, the plurality of event nodes comprise current event nodes to be executed of the current interaction event and first type event nodes of the current interaction event, and at least part of the event nodes in the plurality of event nodes are determined based on the current event nodes; And responding to an event execution operation acting in the execution interface, and switching the current event node from an unexecuted state to an executed state. In a second aspect, an embodiment of the present disclosure further provides an event execution apparatus, including: The node display module is used for displaying a plurality of event nodes of the current interaction event in an execution interface of the current interaction event, wherein the number of the event nodes is smaller than or equal to a first preset number, the event nodes comprise current event nodes to be executed of the current interaction event and first type event nodes of the current interaction event, and at least part of event nodes in the event nodes are determined based on the current event nodes; and the state switching module is used for responding to the event execution operation acted in the execution interface and switching the current event node from the unexecuted state to the executed state. In a third aspect, an embodiment of the present disclosure further provides an electronic device, including: One or more processors; A memory for storing one or more programs, The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the event execution methods as described in embodiments of the present disclosure. In a fourth aspect, the embodiments of the present disclosure further provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements an event execution method according to the embodiments of the present disclosure. In a fifth aspect, the disclosed embodiments also provide a computer program product, which when executed by a computer, causes the computer to implement the event execution method according to the disclosed embodiments. According to the event execution method, the device, the electronic equipment, the storage medium and the program product, at least part of the event nodes displayed in the execution interface of the current interaction event are determined based on the current event nodes, so that even if more event nodes exist in the current interaction event, at most only a first preset number of event nodes are displayed in the execution interface, the displayed event nodes comprise the current event nodes to be executed and the first type event nodes of the current interaction event, the display modes of the event nodes of the current interaction event can be enriched, the number of the displayed event nodes in the execution interface is reduced, the operation required to be executed for checking the node information of the current event nodes to be executed and the node information of the first type event nodes is simplified, and the practicability of the displayed event nodes in the execution interface is improved. 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. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale. Fig. 1 is a flow chart of an event execution method according to an embodiment of the disclosure; FIG. 2 is a schematic illustration of an execution interface accordin