CN112138397A - Trigger management method and device, computer equipment and storage medium - Google Patents

Trigger management method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112138397A
CN112138397A CN202011062225.1A CN202011062225A CN112138397A CN 112138397 A CN112138397 A CN 112138397A CN 202011062225 A CN202011062225 A CN 202011062225A CN 112138397 A CN112138397 A CN 112138397A
Authority
CN
China
Prior art keywords
trigger
sharing
shared
game
resource file
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
CN202011062225.1A
Other languages
Chinese (zh)
Inventor
张倬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202011062225.1A priority Critical patent/CN112138397A/en
Publication of CN112138397A publication Critical patent/CN112138397A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/63Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by the player, e.g. authoring using a level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/33Intelligent editors

Abstract

The invention discloses a trigger management method, a trigger management device, computer equipment and a storage medium, wherein a shared trigger of a first game can be determined from triggers of the first game; acquiring an initial trigger resource file of a shared trigger; determining a non-common node parameter of a sharing trigger based on the initial trigger resource file; deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger; the sharing trigger resource file of the sharing trigger is added to the sharing trigger set shared by a plurality of games, so that the strong correlation between the sharing trigger resource file in the sharing trigger set and the games from which the sharing trigger resource file is from is relieved, the sharing trigger resource file can be used by a plurality of games to generate a new trigger, the sharing of the trigger among different games is realized, the game editing time, the game editing cost and the game editing difficulty are reduced, and the editing speed is increased.

Description

Trigger management method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a trigger management method, a trigger management device, computer equipment and a storage medium.
Background
The game editor is a tool set supporting players to freely edit game scenes, units, values, logics and the like to realize new copies of new playing methods. The trigger is the core content for realizing the playing method of the new game copy.
When a game player wants to create a new map, the game player often needs to renew a piece of writing trigger. Triggers written in different games are strongly related to the game and therefore cannot be used universally, for example, current commercial editors such as the dota2 editor do not support individual copies of the trigger content unless all the content of the game is saved as a "base map" on which scene and other logical edits are made, and are very inflexible to operate.
Disclosure of Invention
Embodiments of the present invention provide a trigger management method and apparatus, a computer device, and a storage medium, which can reduce an association relationship between a trigger and a game, so that a trigger set on a certain game can be shared with other games after being processed, and thus, game editing difficulty, editing time, and editing cost can be effectively reduced.
The embodiment of the invention provides a trigger management method, which comprises the following steps:
determining a sharing trigger of a first game from triggers of the first game;
acquiring an initial trigger resource file of the shared trigger;
determining a non-common node parameter in node parameters of the shared trigger based on the initial trigger resource file, wherein the node parameter is used for node logic of nodes forming the shared trigger, and the non-common node parameter is a node parameter which cannot be commonly used by the shared trigger in the first game and other games;
deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger;
adding a sharing trigger resource file of the sharing trigger to a sharing trigger set, the sharing trigger set being available for at least two games to generate a new trigger based on the resource file in the sharing trigger set.
The embodiment of the invention also provides a trigger management method, which comprises the following steps:
determining a target sharing trigger from sharing triggers contained in a sharing trigger set, wherein the sharing trigger set is obtained based on the trigger management method;
acquiring a sharing trigger resource file of the target sharing trigger from the sharing trigger set;
determining a first trigger group to which the target sharing trigger belongs in the second game;
generating the target sharing trigger in the first trigger set based on existing triggers in the second game and the sharing trigger resource file.
An embodiment of the present invention provides a trigger management apparatus, including:
a first sharing trigger determining unit configured to determine a sharing trigger of a first game from among triggers of the first game;
a first file obtaining unit, configured to obtain an initial trigger resource file of the sharing trigger;
a non-common node parameter determining unit, configured to determine, based on the initial trigger resource file, a non-common node parameter in node parameters of the shared trigger, where the node parameter is used for a node logic of a node constituting the shared trigger, and the non-common node parameter is a node parameter that is not common to the shared trigger in the first game and another game;
the file generation unit is used for deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger;
and the trigger sharing unit is used for adding a sharing trigger resource file of the sharing trigger into a sharing trigger set, and the sharing trigger set can be used for at least two games to generate a new trigger based on the resource file in the sharing trigger set.
In an optional example, the non-common node parameter determining unit is configured to:
acquiring an optional node parameter list of the first game, wherein the optional node parameter list comprises optional node parameters of the nodes sharing the trigger in the first game, and in the optional node parameter list, a non-common identifier is set for the non-common node parameters;
and traversing the node parameters of the shared trigger in the initial trigger resource file, and determining non-common node parameters in the node parameters of the shared trigger based on the optional node parameter list.
In an optional example, the trigger sharing unit is configured to:
and transmitting the sharing trigger resource file of the sharing trigger to a server, and triggering the server to add the sharing trigger resource file of the sharing trigger to a sharing trigger set.
In an optional example, the non-common node parameter determining unit is configured to:
traversing the node parameters of the shared trigger in the initial trigger resource file, and determining nested node sub-parameters in the nested node parameters when the traversed node parameters are the nested node parameters;
and if the node sub-parameters are provided with non-common identifiers in the optional node parameter list, determining the node parameters of the nested type as the non-common node parameters.
In an optional example, a first sharing trigger determining unit to select a target trigger group among at least one trigger group of the first game;
determining a trigger in the target trigger set as a shared trigger.
In an optional example, the first sharing trigger determining unit is configured to:
displaying a trigger editing page corresponding to a first game, wherein the trigger editing page comprises a trigger copying control, and the first game comprises at least one trigger group;
when a trigger copy selection operation for the trigger copy control is detected, determining a target trigger group selected in the at least one trigger group by the trigger copy selection operation.
An embodiment of the present invention further provides a trigger management device, where the trigger management device includes:
a second sharing trigger determining unit, configured to determine a target sharing trigger from the sharing triggers included in the sharing trigger set, where the sharing trigger set is obtained based on the trigger management method according to any one of claims 1 to 6;
a second file obtaining unit, configured to obtain a sharing trigger resource file of the target sharing trigger from the sharing trigger set;
a trigger group determination unit configured to determine a first trigger group to which the target sharing trigger belongs in the second game;
a trigger generating unit, configured to generate the target sharing trigger in the first trigger group based on an existing trigger in the second game and the sharing trigger resource file.
In an optional example, the trigger group determination unit is configured to:
setting a new trigger group in the second game;
and determining the new trigger group as a first trigger group to which the target sharing trigger belongs.
In an optional example, the trigger group determination unit is configured to:
acquiring the grouping logic of the existing trigger group in the second game;
determining a first trigger group to which the shared trigger belongs among the existing trigger groups based on the grouping logic and node logic of the shared trigger.
In an optional example, the second sharing trigger determining unit is configured to:
determining a second trigger group from the shared trigger groups contained in the shared trigger set;
and determining the sharing trigger in the second trigger group as a target sharing trigger.
In an optional example, the second sharing trigger determining unit is configured to:
displaying a trigger edit page of a second game, the trigger edit page including a trigger setting control;
when a shared trigger set copy operation for the trigger setup control is detected, determining a second trigger set selected from the shared trigger set by the shared trigger copy operation.
In an optional example, the trigger generating unit is configured to:
determining new basic attribute information of the shared trigger in the first trigger group based on basic attribute information of existing triggers in the second game and architecture information of the shared trigger in the second trigger group;
and generating nodes required by the target sharing trigger in the first trigger group based on the new basic attribute information and the sharing trigger resource file.
In an optional example, the trigger generating unit is configured to:
establishing an incidence relation between the node parameter of the target sharing trigger in the sharing trigger resource file and the optional node parameter of the trigger node in the second game;
and generating nodes required by the sharing trigger in the first trigger group based on the new basic attribute information, the incidence relation and the resource file of the sharing trigger.
In an optional example, the apparatus further comprises a trigger update unit to:
after the trigger generation unit generates the target shared trigger in the first trigger group based on the existing trigger in the second game and the shared trigger resource file, displaying a trigger editing page, wherein the trigger editing page comprises an editing area of the target shared trigger, the editing area comprises a non-common node parameter editing control, and the non-common node parameter editing control is used for a user to set a node parameter at a non-common node parameter position in a node of the target shared trigger;
determining a replacement node parameter at the non-common node parameter position based on an editing operation for a non-common node parameter editing control in the editing area;
updating the target sharing trigger in the first trigger set based on the replacement node parameter.
Embodiments of the present invention further provide a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method when executing the computer program.
Embodiments of the present invention further provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the method described above.
The embodiment of the invention provides a trigger management method, a trigger management device, computer equipment and a storage medium, wherein a shared trigger of a first game can be determined from triggers of the first game; acquiring an initial trigger resource file of a shared trigger; determining non-common node parameters in node parameters of a shared trigger based on an initial trigger resource file, wherein the node parameters are used for node logic of nodes forming the shared trigger, and the non-common node parameters are node parameters which cannot be commonly used by the shared trigger in a first game and other games; deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger; the sharing trigger resource file of the sharing trigger is added into the sharing trigger set, the sharing trigger set can be used for at least two games to generate a new trigger based on the resource file in the sharing trigger set, therefore, the strong correlation between the sharing trigger resource file in the sharing trigger set and the game from which the sharing trigger resource file is from is relieved, the sharing trigger resource file can be used by a plurality of games to generate the new trigger, the sharing of the trigger among different games is realized, the game editing time, the cost and the difficulty are favorably reduced, and the editing speed is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of a trigger management method according to an embodiment of the present invention;
fig. 2a is a flowchart of a trigger management method according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of a node parameter set page of an action node in the practice of the present invention;
FIG. 2c is a schematic diagram of "Player type" parameters in action nodes setting specific node parameters in an implementation of the present invention;
FIG. 2d is a diagram illustrating the selection of a shared target set of flip-flops in accordance with an embodiment of the present invention;
FIG. 2e is a schematic diagram of another alternative set of target flip-flops provided in accordance with an embodiment of the present invention;
FIG. 3a is a flow chart of another trigger management method according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of a copy trigger set in a second game according to an embodiment of the present invention;
FIG. 3c is a schematic diagram of a setting of a sharing trigger in a second game according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a trigger management apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another trigger management apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a trigger management method and device, computer equipment and a storage medium. In particular, the present embodiment provides a trigger management method applicable to a trigger management apparatus, which may be integrated in a computer device. The computer device may be a terminal or other device, for example, a mobile phone, a tablet computer, a notebook computer, a desktop computer, or the like, or may be integrated in a server, where the server 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 basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform, but is not limited thereto.
The trigger management method of the embodiment can be implemented by the terminal and the server together.
Referring to fig. 1, a trigger management system provided in an embodiment of the present invention includes a first terminal 11, a second terminal 12, a server 20, and the like; the first terminal 11, the second terminal 12, and the server 20 are connected through a network, for example, a wired or wireless network connection.
The first terminal 11 may be configured to determine a sharing trigger of a first game from triggers of the first game; acquiring an initial trigger resource file of the shared trigger; determining a non-common node parameter in node parameters of the shared trigger based on the initial trigger resource file, wherein the node parameter is used for node logic of nodes forming the shared trigger, and the non-common node parameter is a node parameter which cannot be commonly used by the shared trigger in the first game and other games; deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger; adding a sharing trigger resource file of the sharing trigger to a sharing trigger set, the sharing trigger set being available for at least two games to generate a new trigger based on the resource file in the sharing trigger set.
Server 20 may be used to store and manage, among other things, a set of shared triggers.
The second terminal 12 may be configured to determine a target sharing trigger from the sharing triggers included in the sharing trigger set; acquiring a sharing trigger resource file of the target sharing trigger from the sharing trigger set; determining a first trigger group to which the target sharing trigger belongs in the second game; generating the target sharing trigger in the first trigger set based on existing triggers in the second game and the sharing trigger resource file.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
In the embodiment of the present invention, a sharing scheme of a trigger in a game is provided, where the sharing scheme of the trigger is mainly composed of two parts, a first part is an operation of "strong correlation release" between the shared trigger and a first game from which the shared trigger is derived, through which a shared trigger resource file available for other games can be obtained, and a second part is a process of generating a new trigger on a second game based on the shared trigger resource file, and the following example of the present embodiment will illustrate the schemes of the two parts in detail.
An aspect of the embodiment of the present invention provides a trigger management method (for differentiation, denoted as a first trigger management method), which may obtain a shared trigger resource file, as shown in fig. 2a, a flow of the trigger management method of this embodiment may be as follows:
201. determining a sharing trigger of the first game from the triggers of the first game;
in this embodiment, the triggers are important components of a game, one game may include multiple triggers, the triggers in the game may be grouped according to a certain rule to obtain at least one trigger group, and one trigger group includes a plurality of triggers.
One trigger comprises a set of logic functions, one trigger can be composed of a plurality of nodes with association relations, each node is provided with a node logic, each node logic comprises at least one node parameter, and for example, the nodes of the trigger can comprise three types, namely an event node, a condition node and an action node. Each node needs a plurality of node parameters to fill the complete node logic of the node according to different functions of the node.
In this embodiment, the game editor provides selectable node parameters for the nodes of the trigger, and a specific node parameter of the nodes of the trigger may be obtained from the selectable node parameters.
For example, referring to the action node parameter setting page of FIG. 2b, it can be seen that a node requires support of several node parameters, such as "select Player", "specify Point", "1", "Unit type", etc., above, which are all node parameters. In one example, the node parameter type required by the node may be considered a "level one parameter". For example, "Primary parameters" for "select Player" versus "Player type". When the specific node parameter is assigned to the primary parameter, the selectable item of the node parameter that can be assigned at the position of the node parameter is called a "secondary parameter". As shown in fig. 2c, for the node parameter position of "select player", the type of the node parameter set thereon is "player type", that is, the "player" option provided in the page in the middle position in fig. 2c, and the parameter in the list at the far right side in fig. 2c, that is, the secondary parameter, is described in the list below the node parameter selectable under "player type", the terminal may determine the node parameter specifically set at the node parameter position of "select player", for example, the user selects "player in click unit", according to the node parameter selected by the user in the far right side list, and the node parameter at the node parameter position of "select player" is "player in click unit".
The sharing trigger in this embodiment may be any trigger in the first game, and this embodiment is not limited to this, and in an example, the number of the sharing triggers may be only one, or there may be a plurality of sharing triggers, and the plurality of sharing triggers may be from different trigger groups.
In another example, the trigger group may be used as a basic unit for trigger replication, i.e., the triggers in the entire trigger group are used as shared triggers.
Optionally, the step "determining a sharing trigger of the first game from the triggers of the first game" may include:
selecting a target set of triggers among at least one set of triggers of a first game;
the triggers in the target trigger set are determined to be shared triggers.
In one example, the target set of triggers may be selected through a user page. Alternatively, the step of "selecting a target trigger group from at least one trigger group of the first game" may include:
displaying a trigger editing page corresponding to a first game, wherein the trigger editing page comprises a trigger copying control, and the first game comprises at least one trigger group;
when a trigger copy selection operation for the trigger copy control is detected, a target trigger group selected in the at least one trigger group by the trigger copy selection operation is determined.
Wherein, the step "determining a target trigger group selected in the at least one trigger group by the trigger copy selection operation when the trigger copy selection operation for the trigger copy control is detected" may include:
when the trigger operation aiming at the trigger copying control is detected, displaying a trigger group list, wherein the trigger group list comprises all trigger groups of a first game;
a target trigger set for the first game is determined based on a trigger selection operation on the list of trigger sets.
For example, referring to fig. 2d, the page shown in fig. 2d is a trigger edit page in which all trigger groups, i.e., "initialize", "player operation", and "trigger group 3", are displayed, and a trigger copy control 2011 is also displayed, and when a trigger operation for the trigger copy control 2011 is detected, a trigger group list on the right side of the trigger copy control 2011 is displayed, the trigger group list includes selection controls of "initialize", "player operation", and "trigger group 3", and when a trigger operation for "share initialization group" is detected, the "initialize" trigger group is determined as a target trigger group.
In one example, the target set of triggers may be selected through a user page. Alternatively, the step of "selecting a target trigger group from at least one trigger group of the first game" may include:
displaying a trigger editing page corresponding to a first game, wherein the trigger editing page comprises trigger groups and a first trigger group copy control set for each trigger group;
when the selected operation for the target first trigger group copy control is detected, determining the trigger group corresponding to the target first trigger group copy control as the target trigger group.
For example, referring to fig. 2e, the page shown in fig. 2e is a trigger editing page, all trigger groups, that is, "initialization," "player operation," and "trigger group 3," are displayed in the page, each trigger group is provided with a function control, for example, 2012 in fig. 2e, when a trigger operation for the function control is detected, a function control list, for example, a function list 2013 corresponding to the trigger group 3 is displayed, the function control list includes a first trigger group copy control 20131 set for the trigger group, and when a trigger operation, for example, a click operation, for the control 20131 is detected, the trigger group 3 is determined as a target trigger group.
202. Acquiring an initial trigger resource file of a shared trigger;
in this embodiment, the initial trigger resource file is specifically obtained from the game resource file of the first game.
203. Determining non-common node parameters in node parameters of a shared trigger based on an initial trigger resource file, wherein the node parameters are used for node logic of nodes forming the shared trigger, and the non-common node parameters are node parameters which cannot be commonly used by the shared trigger in a first game and other games;
in this embodiment, a selectable node parameter list may be set first, selectable node parameters of the trigger node provided by the game editor are all set in the selectable node parameter list, and a non-common node parameter is identified in the list, for example, a non-common identifier is set, and the non-common identifier may be composed of any character.
Optionally, the step "determining a non-common node parameter in the node parameters of the shared trigger based on the initial trigger resource file" may include:
acquiring an optional node parameter list of a first game, wherein the optional node parameter list comprises optional node parameters of nodes sharing a trigger in the first game, and non-common node parameters in the optional node parameter list are provided with non-common identifiers;
and traversing the node parameters of the shared trigger in the initial trigger resource file, and determining the non-common node parameters in the node parameters of the shared trigger based on the optional node parameter list.
When each node parameter is traversed, the node parameter is inquired in an optional node parameter list, if the node parameter in the list is not provided with a non-common identifier, the node parameter is determined to be a common node parameter, and if the node parameter in the list is provided with the non-common identifier, the node parameter is determined to be the non-common node parameter.
In this embodiment, for the node parameter of the nesting type, the specific parameter needs to be determined according to the nesting. Optionally, the step of "traversing the node parameters of the shared trigger in the initial trigger resource file, and determining a non-common node parameter in the node parameters of the shared trigger based on the optional node parameter list" may include:
traversing node parameters of a shared trigger in an initial trigger resource file, and determining nested node sub-parameters in the nested node parameters when the traversed node parameters are the nested node parameters;
and if the node sub-parameters are provided with the non-common identification in the optional node parameter list, determining the node parameters of the nested type as the non-common node parameters.
204. Deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger;
in one example, if the sharing triggers belong to the same trigger group, the generated sharing trigger resource file may be included in one sharing trigger group resource file.
205. And adding a sharing trigger resource file of the sharing trigger into a sharing trigger set, wherein the sharing trigger set can be used for at least two games to generate a new trigger based on the resource file in the sharing trigger set.
Optionally, the step "adding the sharing trigger resource file of the sharing trigger to the sharing trigger set" may include:
and transmitting the sharing trigger resource file of the sharing trigger to a server, and adding the sharing trigger resource file of the sharing trigger to a sharing trigger set by the triggering server.
The embodiment of the invention provides a trigger management method, a trigger management device, computer equipment and a storage medium, wherein a shared trigger of a first game can be determined from triggers of the first game; acquiring an initial trigger resource file of a shared trigger; determining non-common node parameters in node parameters of a shared trigger based on an initial trigger resource file, wherein the node parameters are used for node logic of nodes forming the shared trigger, and the non-common node parameters are node parameters which cannot be commonly used by the shared trigger in a first game and other games; deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger; the sharing trigger resource file of the sharing trigger is added into the sharing trigger set, the sharing trigger set can be used for at least two games to generate a new trigger based on the resource file in the sharing trigger set, therefore, the strong correlation between the sharing trigger resource file in the sharing trigger set and the game from which the sharing trigger resource file is from is relieved, the sharing trigger resource file can be used by a plurality of games to generate the new trigger, the sharing of the trigger among different games is realized, the game editing time, the cost and the difficulty are favorably reduced, and the editing speed is improved.
An embodiment of the present invention provides a trigger management method (for distinction, denoted as a second trigger management method), and as shown in fig. 3a, a flow of the trigger management method of this embodiment may be as follows:
301. determining a target sharing trigger from sharing triggers contained in a sharing trigger set, wherein the sharing trigger set is obtained based on a first trigger management method;
in this embodiment, the target shared trigger may be copied in units of trigger groups. Optionally, the step "determining a target sharing trigger from the sharing triggers included in the sharing trigger set" may include:
determining a second trigger group from the shared trigger groups contained in the shared trigger set;
and determining the sharing trigger in the second trigger group as a target sharing trigger.
In an alternative example, the step "determining the second trigger set from the shared trigger sets included in the shared trigger set" may include:
displaying a trigger edit page of the second game, the trigger edit page including a trigger setting control;
when a shared trigger set copy operation for the trigger setup control is detected, a second trigger set selected from the shared trigger set by the shared trigger copy operation is determined.
Wherein, the step "determining a second trigger group selected from the shared trigger set by the shared trigger copy operation when the shared trigger group copy operation for the trigger setting control is detected" may include:
when the trigger operation aiming at the trigger setting control is detected, displaying a newly-built function list, wherein the newly-built function list comprises a second trigger group copy control;
when the trigger operation aiming at the second trigger group copy control is detected, a trigger group selection list is displayed, wherein the trigger group selection list comprises the shared trigger groups in the shared trigger set and the selection controls of all the shared trigger groups;
and when the selected operation aiming at the target selection control is detected, determining that the sharing trigger group corresponding to the target selection control is a second trigger group.
For example, referring to fig. 3b, the "new" control in fig. 3b sets a control for a trigger, and when a click operation on the new control is detected, a new function list 3011 may be displayed, where the new function list includes a second trigger group copy control 30111 named "new from shared trigger", when a click operation on the second trigger group copy control is detected, a right trigger group selection list is displayed, where the list includes a shared trigger group in a shared trigger set and a selection control named "paste to this work", and when a click operation on the selection control is detected, a trigger group corresponding to the clicked selection control is the second trigger group
302. Acquiring a sharing trigger resource file of a target sharing trigger from a sharing trigger set;
303. determining a first trigger group to which a target sharing trigger belongs in a second game;
optionally, in this embodiment, a trigger group may be newly created in the second game, and used as a container to which the target shared trigger belongs.
The step of determining the first trigger group to which the target sharing trigger belongs in the second game may include:
setting a new trigger group in the second game;
and determining the new trigger group as a first trigger group to which the target sharing trigger belongs.
Alternatively, in one example, the target sharing trigger may be added to a trigger grouping already in existence for the second game.
The step of determining the first trigger group to which the target sharing trigger belongs in the second game may include:
acquiring the grouping logic of the existing trigger group in the second game;
based on the grouping logic and the node logic of the shared trigger, a first trigger group to which the shared trigger belongs in the existing trigger groups is determined.
304. A target shared trigger is generated in the first trigger set based on existing triggers in the second game and the shared trigger resource file.
In one example, step 304 may specifically include:
determining new basic attribute information of the shared trigger in the first trigger group based on basic attribute information of an existing trigger in the second game and architecture information of the shared trigger in the second trigger group;
and generating nodes required by the target sharing trigger in the first trigger group based on the new basic attribute information and the sharing trigger resource file.
The basic attribute information of the trigger in this embodiment may be used to determine the trigger, the nodes included in the trigger, and the parameters required by each node in the game. For example, the basic attribute information of the trigger may include the number of the trigger in the game, the node number of the trigger node, and the parameter number of the node parameter required by each node.
It can be understood that, in different games, the basic attribute information of the trigger may have a certain difference due to the difference between the number of triggers and the node parameters, so that when the trigger is generated based on the shared trigger resource file in the second game, new basic attribute information needs to be set for the shared trigger based on the basic attribute information of the existing trigger in the second game. For example, there are 24 existing triggers in the second game, the shared trigger sets the new number starting at 25. Thereby, the shared trigger is prevented from impacting the environment of the second game.
The architecture information of the shared trigger in the second trigger group includes the numbering order of the shared trigger(s) in the second trigger group, the order relationship between the nodes of the triggers, and the like.
When the number of the shared triggers is multiple, the trigger numbers of the shared triggers and the node numbers of the trigger nodes can be set according to the numbering sequence among the shared triggers.
In one example, the step "nodes required for generating the target sharing trigger in the first trigger group based on the new basic attribute information and the sharing trigger resource file" may include:
establishing an incidence relation between the node parameter of the target sharing trigger in the sharing trigger resource file and the optional node parameter of the trigger node in the second game;
and generating nodes required by the sharing trigger in the first trigger group based on the new basic attribute information, the association relation and the sharing trigger resource file.
Considering that the parameter numbers of the node parameters may be different in different games, the above association relationship may be established by updating the parameter numbers of the node parameters of the sharing triggers based on the parameter numbers of the optional node parameters of the target sharing triggers in the second game.
In the process of establishing the association relationship, if the node parameter of the target sharing trigger is the nested node parameter, the nested node sub-parameter in the nested node parameter needs to be determined, and the parameter number of the node sub-parameter is replaced from the parameter number in the first game to the parameter number in the second game, so that the nested node parameter can be normally used in the second game.
In one example, a user may set an alternate node parameter to the deleted non-common node parameter in the target sharing trigger to complete the node logic in the trigger. Optionally, the step "after generating the target sharing trigger in the first trigger group based on the existing trigger in the second game and the sharing trigger resource file" may further include:
displaying a trigger editing page, wherein the trigger editing page comprises an editing area of the target sharing trigger, the editing area comprises a non-common node parameter editing control, and the non-common node parameter editing control is used for a user to set a node parameter at a non-common node parameter position in nodes of the target sharing trigger;
determining a replacement node parameter at the non-common node parameter position based on an editing operation for a non-common node parameter editing control in the editing area;
the target sharing trigger in the first trigger set is updated based on the replacement node parameter.
The non-common node parameter editing control can correspondingly display prompt information of the non-common node parameters, and the prompt information can be used for prompting parameter types of the non-common node parameters.
For example, referring to FIG. 3c, the right side in the page of FIG. 3c is the edit region of a target shared trigger, such as shared trigger 1, including the edit sub-region of the trigger node; for an action node, a plurality of non-common node parameter editing controls are displayed in a page, for example, "selection unit" and "10" in "selection unit setting level is 10" are all controls which can be edited by a user, the user can set a replacement node parameter such as "selection unit" based on the operation of the non-common node parameter editing controls, and then update a target sharing trigger based on the replacement node parameter.
In this embodiment, the user may also modify the name of the target sharing trigger in the second game.
By adopting the trigger management method of the embodiment, a target shared trigger can be determined from shared triggers contained in a shared trigger set, wherein the shared trigger set is obtained based on a first trigger management method; acquiring a sharing trigger resource file of a target sharing trigger from a sharing trigger set; determining a first trigger group to which a target sharing trigger belongs in a second game; and generating a target sharing trigger in the first trigger group based on the existing triggers in the second game and the sharing trigger resource file, so that a new trigger can be generated in the second game based on the sharing trigger resource file acquired from other games, and the sharing of the trigger among different games is realized.
In order to better implement the above method, correspondingly, an embodiment of the present invention further provides a trigger management device (for differentiation, referred to as a first trigger management device). Referring to fig. 4, the first trigger management apparatus includes:
a first sharing trigger determining unit 401 for determining a sharing trigger of the first game from the triggers of the first game;
a first file obtaining unit 402, configured to obtain an initial trigger resource file of a sharing trigger;
a non-common node parameter determining unit 403, configured to determine, based on the initial trigger resource file, a non-common node parameter in node parameters of the shared trigger, where the node parameter is used to form a node logic of a node of the shared trigger, and the non-common node parameter is a node parameter that cannot be commonly used by the shared trigger in the first game and another game;
a file generating unit 404, configured to delete a non-common node parameter in the initial trigger resource file, to obtain a shared trigger resource file of a shared trigger;
a trigger sharing unit 405, configured to add a sharing trigger resource file of a sharing trigger to a sharing trigger set, where the sharing trigger set is available for at least two games to generate a new trigger based on the resource file in the sharing trigger set.
In an optional example, the non-common node parameter determining unit is configured to:
acquiring an optional node parameter list of a first game, wherein the optional node parameter list comprises optional node parameters of nodes sharing a trigger in the first game, and non-common node parameters in the optional node parameter list are provided with non-common identifiers;
and traversing the node parameters of the shared trigger in the initial trigger resource file, and determining the non-common node parameters in the node parameters of the shared trigger based on the optional node parameter list.
In an optional example, the trigger sharing unit is configured to:
and transmitting the sharing trigger resource file of the sharing trigger to a server, and adding the sharing trigger resource file of the sharing trigger to a sharing trigger set by the triggering server.
In an optional example, the non-common node parameter determining unit is configured to:
traversing node parameters of a shared trigger in an initial trigger resource file, and determining nested node sub-parameters in the nested node parameters when the traversed node parameters are the nested node parameters;
and if the node sub-parameters are provided with the non-common identification in the optional node parameter list, determining the node parameters of the nested type as the non-common node parameters.
In an alternative example, a first sharing trigger determining unit for selecting a target trigger group among at least one trigger group of a first game;
the triggers in the target trigger set are determined to be shared triggers.
In an optional example, the first sharing trigger determining unit is configured to:
displaying a trigger editing page corresponding to a first game, wherein the trigger editing page comprises a trigger copying control, and the first game comprises at least one trigger group;
when a trigger copy selection operation for the trigger copy control is detected, a target trigger group selected in the at least one trigger group by the trigger copy selection operation is determined.
With the trigger management apparatus of this embodiment, the sharing trigger of the first game may be determined from the triggers of the first game; acquiring an initial trigger resource file of a shared trigger; determining a non-common node parameter of a sharing trigger based on the initial trigger resource file; deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger; the sharing trigger resource file of the sharing trigger is added to the sharing trigger set shared by a plurality of games, so that the strong correlation between the sharing trigger resource file in the sharing trigger set and the games from which the sharing trigger resource file is from is relieved, the sharing trigger resource file can be used by a plurality of games to generate a new trigger, the sharing of the trigger among different games is realized, the game editing time, the game editing cost and the game editing difficulty are reduced, and the editing speed is increased.
In order to better implement the above method, correspondingly, an embodiment of the present invention further provides a trigger management apparatus (for distinction, denoted as a second trigger management apparatus). Referring to fig. 5, the second trigger management device includes:
a second sharing trigger determining unit 501, configured to determine a target sharing trigger from the sharing triggers included in the sharing trigger set, where the sharing trigger set is obtained based on the trigger management method of any one of claims 1 to 6;
a second file obtaining unit 502, configured to obtain a sharing trigger resource file of a target sharing trigger from a sharing trigger set;
a trigger group determination unit 503 for determining a first trigger group to which the target sharing trigger belongs in the second game;
a trigger generating unit 504, configured to generate a target sharing trigger in the first trigger group based on an existing trigger in the second game and the sharing trigger resource file.
In an optional example, the trigger group determination unit is configured to:
setting a new trigger group in the second game;
and determining the new trigger group as a first trigger group to which the target sharing trigger belongs.
In an optional example, the trigger group determination unit is configured to:
acquiring the grouping logic of the existing trigger group in the second game;
based on the grouping logic and the node logic of the shared trigger, a first trigger group to which the shared trigger belongs in the existing trigger groups is determined.
In an optional example, the second sharing trigger determining unit is configured to:
determining a second trigger group from the shared trigger groups contained in the shared trigger set;
and determining the sharing trigger in the second trigger group as a target sharing trigger.
In an optional example, the second sharing trigger determining unit is configured to:
displaying a trigger edit page of the second game, the trigger edit page including a trigger setting control;
when a shared trigger set copy operation for the trigger setup control is detected, a second trigger set selected from the shared trigger set by the shared trigger copy operation is determined.
In an optional example, the trigger generating unit is configured to:
determining new basic attribute information of the shared trigger in the first trigger group based on basic attribute information of an existing trigger in the second game and architecture information of the shared trigger in the second trigger group;
and generating nodes required by the target sharing trigger in the first trigger group based on the new basic attribute information and the sharing trigger resource file.
In an optional example, the trigger generating unit is configured to:
establishing an incidence relation between the node parameter of the target sharing trigger in the sharing trigger resource file and the optional node parameter of the trigger node in the second game;
and generating nodes required by the sharing trigger in the first trigger group based on the new basic attribute information, the association relation and the sharing trigger resource file.
In an optional example, the apparatus further comprises a trigger update unit to:
after a trigger generating unit generates a target shared trigger in a first trigger group based on an existing trigger in a second game and a shared trigger resource file, a trigger editing page is displayed, wherein the trigger editing page comprises an editing area of the target shared trigger, the editing area comprises a non-common node parameter editing control, and the non-common node parameter editing control is used for a user to set node parameters at the non-common node parameter position in nodes of the target shared trigger;
determining a replacement node parameter at the non-common node parameter position based on an editing operation for a non-common node parameter editing control in the editing area;
the target sharing trigger in the first trigger set is updated based on the replacement node parameter.
By adopting the trigger management device of the embodiment, a target shared trigger can be determined from shared triggers contained in a shared trigger set, wherein the shared trigger set is obtained based on the first trigger management device; acquiring a sharing trigger resource file of a target sharing trigger from a sharing trigger set; determining a first trigger group to which a target sharing trigger belongs in a second game; and generating a target sharing trigger in the first trigger group based on the existing triggers in the second game and the sharing trigger resource file, so that a new trigger can be generated in the second game based on the sharing trigger resource file acquired from other games, and the sharing of the trigger among different games is realized.
In addition, an embodiment of the present application further provides a trigger management system, which includes the first trigger management device, the second trigger management device, and a server.
In addition, the embodiment of the present application further provides a Computer device, where the Computer device may be a terminal, and the terminal may be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like. As shown in fig. 6, fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer device 1000 includes a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 601 is a control center of the computer apparatus 1000, connects various parts of the entire computer apparatus 1000 using various interfaces and lines, performs various functions of the computer apparatus 1000 and processes data by running or loading software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the computer apparatus 1000.
In the embodiment of the present application, the processor 601 in the computer device 1000 loads instructions corresponding to processes of one or more applications into the memory 602, and the processor 601 executes the applications stored in the memory 602 according to the following steps, so as to implement various functions:
determining a sharing trigger of the first game from the triggers of the first game;
acquiring an initial trigger resource file of a shared trigger;
determining non-common node parameters in node parameters of a shared trigger based on an initial trigger resource file, wherein the node parameters are used for node logic of nodes forming the shared trigger, and the non-common node parameters are node parameters which cannot be commonly used by the shared trigger in a first game and other games;
deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger;
for specific implementation of operations in which the shared trigger resource file of the shared trigger is added to the shared trigger set, and the shared trigger set can be used by at least two games to generate a new trigger based on the resource file in the shared trigger set, reference may be made to the foregoing embodiment, and details are not described here.
Optionally, as shown in fig. 6, the computer device 1000 further includes: a touch display screen 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display screen 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 6 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The touch display screen 603 can be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 603 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 601, and can receive and execute commands sent by the processor 601. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 601 to determine the type of the touch event, and then the processor 601 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 603 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display screen 603 can also be used as a part of the input unit 606 to implement an input function.
In this embodiment of the application, a graphical user interface is generated on the touch display screen 603 through the processor 601, and a user can operate on the graphical user interface to select a sharing trigger in the first game, generate a sharing trigger resource file of the sharing trigger, and add the resource file to the sharing trigger set.
The rf circuit 604 may be used for transceiving rf signals to establish wireless communication with a network device or other computer device via wireless communication, and for transceiving signals with the network device or other computer device.
The audio circuit 605 may be used to provide an audio interface between the user and the computer device through speakers, microphones. The audio circuit 605 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 605 and converted into audio data, which is then processed by the audio data output processor 601, and then transmitted to, for example, another computer device via the radio frequency circuit 604, or output to the memory 602 for further processing. The audio circuit 605 may also include an earbud jack to provide communication of peripheral headphones with the computer device.
The input unit 606 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 607 is used to power the various components of the computer device 1000. Optionally, the power supply 607 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 607 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 6, the computer device 1000 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of computer programs are stored, where the computer programs can be loaded by a processor to execute the steps in any one of the trigger management methods provided in the embodiments of the present application. For example, the computer program may perform the steps of:
determining a sharing trigger of the first game from the triggers of the first game;
acquiring an initial trigger resource file of a shared trigger;
determining non-common node parameters in node parameters of a shared trigger based on an initial trigger resource file, wherein the node parameters are used for node logic of nodes forming the shared trigger, and the non-common node parameters are node parameters which cannot be commonly used by the shared trigger in a first game and other games;
deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger;
and adding a sharing trigger resource file of the sharing trigger into a sharing trigger set, wherein the sharing trigger set can be used for at least two games to generate a new trigger based on the resource file in the sharing trigger set.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any trigger management method provided in the embodiments of the present application, the beneficial effects that can be achieved by any trigger management method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted for the foregoing embodiments.
The foregoing detailed description is directed to a method, an apparatus, a storage medium, and a computer device for managing a trigger provided in an embodiment of the present application, and a specific example is applied in the detailed description to explain the principles and implementations of the present application, and the description of the foregoing embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (18)

1. A method of trigger management, comprising:
determining a sharing trigger of a first game from triggers of the first game;
acquiring an initial trigger resource file of the shared trigger;
determining a non-common node parameter in node parameters of the shared trigger based on the initial trigger resource file, wherein the node parameter is used for node logic of nodes forming the shared trigger, and the non-common node parameter is a node parameter which cannot be commonly used by the shared trigger in the first game and other games;
deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger;
adding a sharing trigger resource file of the sharing trigger to a sharing trigger set, the sharing trigger set being available for at least two games to generate a new trigger based on the resource file in the sharing trigger set.
2. The trigger management method of claim 1, wherein the determining non-common node parameters of the shared trigger based on the initial trigger resource file comprises:
acquiring an optional node parameter list of the first game, wherein the optional node parameter list comprises optional node parameters of the nodes sharing the trigger in the first game, and in the optional node parameter list, a non-common identifier is set for the non-common node parameters;
and traversing the node parameters of the shared trigger in the initial trigger resource file, and determining non-common node parameters in the node parameters of the shared trigger based on the optional node parameter list.
3. The trigger management method of claim 1, wherein adding the sharing trigger resource file of the sharing trigger to a sharing trigger set comprises:
and transmitting the sharing trigger resource file of the sharing trigger to a server, and triggering the server to add the sharing trigger resource file of the sharing trigger to a sharing trigger set.
4. The trigger management method of claim 2, wherein traversing the node parameters of the shared trigger in the initial trigger resource file, determining non-common node parameters in the node parameters of the shared trigger based on the list of selectable node parameters, comprises:
traversing the node parameters of the shared trigger in the initial trigger resource file, and determining nested node sub-parameters in the nested node parameters when the traversed node parameters are the nested node parameters;
and if the node sub-parameters are provided with non-common identifiers in the optional node parameter list, determining the node parameters of the nested type as the non-common node parameters.
5. The trigger management method according to any one of claims 1 to 4, wherein the determining the shared trigger of the first game from the triggers of the first game comprises:
selecting a target set of triggers among at least one set of triggers of the first game;
determining a trigger in the target trigger set as a shared trigger.
6. The trigger management method of claim 5, wherein selecting the target set of triggers from the at least one set of triggers for the first game comprises:
displaying a trigger editing page corresponding to a first game, wherein the trigger editing page comprises a trigger copying control, and the first game comprises at least one trigger group;
when a trigger copy selection operation for the trigger copy control is detected, determining a target trigger group selected in the at least one trigger group by the trigger copy selection operation.
7. A method of trigger management, comprising:
determining a target sharing trigger from sharing triggers contained in a sharing trigger set, wherein the sharing trigger set is obtained based on the trigger management method of any one of claims 1-6;
acquiring a sharing trigger resource file of the target sharing trigger from the sharing trigger set;
determining a first trigger group to which the target sharing trigger belongs in the second game;
generating the target sharing trigger in the first trigger set based on existing triggers in the second game and the sharing trigger resource file.
8. The trigger management method of claim 7, wherein the determining the first trigger group to which the target sharing trigger belongs in the second game comprises:
setting a new trigger group in the second game;
and determining the new trigger group as a first trigger group to which the target sharing trigger belongs.
9. The trigger management method of claim 7, wherein the determining the first trigger group to which the target sharing trigger belongs in the second game comprises:
acquiring the grouping logic of the existing trigger group in the second game;
determining a first trigger group to which the shared trigger belongs among the existing trigger groups based on the grouping logic and node logic of the shared trigger.
10. The trigger management method according to any one of claims 7 to 9, wherein the determining a target sharing trigger from among the sharing triggers included in the sharing trigger set comprises:
determining a second trigger group from the shared trigger groups contained in the shared trigger set;
and determining the sharing trigger in the second trigger group as a target sharing trigger.
11. The method of claim 10, wherein determining the second set of triggers from the set of shared triggers comprises:
displaying a trigger edit page of a second game, the trigger edit page including a trigger setting control;
when a shared trigger set copy operation for the trigger setup control is detected, determining a second trigger set selected from the shared trigger set by the shared trigger copy operation.
12. The trigger management method of claim 10, wherein generating the target shared trigger in the first trigger group based on an existing trigger in the second game and the shared trigger resource file comprises:
determining new basic attribute information of the shared trigger in the first trigger group based on basic attribute information of existing triggers in the second game and architecture information of the shared trigger in the second trigger group;
and generating nodes required by the target sharing trigger in the first trigger group based on the new basic attribute information and the sharing trigger resource file.
13. The trigger management method of claim 12, wherein the generating nodes required for the target sharing trigger in the first trigger group based on the new base attribute information and the sharing trigger resource file comprises:
establishing an incidence relation between the node parameter of the target sharing trigger in the sharing trigger resource file and the optional node parameter of the trigger node in the second game;
and generating nodes required by the sharing trigger in the first trigger group based on the new basic attribute information, the incidence relation and the resource file of the sharing trigger.
14. The trigger management method of any of claims 7-9, wherein the generating the target shared trigger in the first set of triggers based on an existing trigger in the second game and the shared trigger resource file further comprises:
displaying a trigger editing page, wherein the trigger editing page comprises an editing area of the target sharing trigger, the editing area comprises a non-common node parameter editing control, and the non-common node parameter editing control is used for a user to set a node parameter at a non-common node parameter position in nodes of the target sharing trigger;
determining a replacement node parameter at the non-common node parameter position based on an editing operation for a non-common node parameter editing control in the editing area;
updating the target sharing trigger in the first trigger set based on the replacement node parameter.
15. A trigger management device, comprising:
a first sharing trigger determining unit configured to determine a sharing trigger of a first game from among triggers of the first game;
a first file obtaining unit, configured to obtain an initial trigger resource file of the sharing trigger;
a non-common node parameter determining unit, configured to determine, based on the initial trigger resource file, a non-common node parameter in node parameters of the shared trigger, where the node parameter is used for a node logic of a node constituting the shared trigger, and the non-common node parameter is a node parameter that is not common to the shared trigger in the first game and another game;
the file generation unit is used for deleting the non-common node parameters in the initial trigger resource file to obtain a shared trigger resource file of the shared trigger;
and the trigger sharing unit is used for adding a sharing trigger resource file of the sharing trigger into a sharing trigger set, and the sharing trigger set can be used for at least two games to generate a new trigger based on the resource file in the sharing trigger set.
16. A trigger management device, comprising:
a second sharing trigger determining unit, configured to determine a target sharing trigger from the sharing triggers included in the sharing trigger set, where the sharing trigger set is obtained based on the trigger management method according to any one of claims 1 to 6;
a second file obtaining unit, configured to obtain a sharing trigger resource file of the target sharing trigger from the sharing trigger set;
a trigger group determination unit configured to determine a first trigger group to which the target sharing trigger belongs in the second game;
a trigger generating unit, configured to generate the target sharing trigger in the first trigger group based on an existing trigger in the second game and the sharing trigger resource file.
17. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method according to any of claims 1-14 are implemented when the computer program is executed by the processor.
18. A storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the method according to any of claims 1-14.
CN202011062225.1A 2020-09-30 2020-09-30 Trigger management method and device, computer equipment and storage medium Pending CN112138397A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011062225.1A CN112138397A (en) 2020-09-30 2020-09-30 Trigger management method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011062225.1A CN112138397A (en) 2020-09-30 2020-09-30 Trigger management method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112138397A true CN112138397A (en) 2020-12-29

Family

ID=73951598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011062225.1A Pending CN112138397A (en) 2020-09-30 2020-09-30 Trigger management method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112138397A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327414A (en) * 2022-01-25 2022-04-12 重庆允丰科技有限公司 Method for implementing trigger capable of being plugged in and unplugged from node and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070006105A1 (en) * 2005-06-30 2007-01-04 Texas Instruments Incorporated Method and system for synthesis of flip-flops
JP2016024683A (en) * 2014-07-22 2016-02-08 キヤノン株式会社 Information processor and control method therefor
CN105721602A (en) * 2016-03-22 2016-06-29 苏州世纪天成信息技术有限公司 Game operating method and system for taking terminal as download source server
CN110876850A (en) * 2018-09-05 2020-03-13 网易(杭州)网络有限公司 Method and device for editing hand game
CN111405304A (en) * 2020-03-10 2020-07-10 腾讯科技(深圳)有限公司 Anchor interaction method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070006105A1 (en) * 2005-06-30 2007-01-04 Texas Instruments Incorporated Method and system for synthesis of flip-flops
JP2016024683A (en) * 2014-07-22 2016-02-08 キヤノン株式会社 Information processor and control method therefor
CN105721602A (en) * 2016-03-22 2016-06-29 苏州世纪天成信息技术有限公司 Game operating method and system for taking terminal as download source server
CN110876850A (en) * 2018-09-05 2020-03-13 网易(杭州)网络有限公司 Method and device for editing hand game
CN111405304A (en) * 2020-03-10 2020-07-10 腾讯科技(深圳)有限公司 Anchor interaction method and device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114327414A (en) * 2022-01-25 2022-04-12 重庆允丰科技有限公司 Method for implementing trigger capable of being plugged in and unplugged from node and computer readable storage medium
CN114327414B (en) * 2022-01-25 2022-11-15 重庆允丰科技有限公司 Method for implementing trigger capable of being plugged in and unplugged from node and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110368676B (en) Touch information control method and device, storage medium and electronic equipment
CN110875871A (en) Management method of instant messaging application and electronic equipment
CN113300933A (en) Session content management method and device, computer equipment and readable storage medium
CN112138397A (en) Trigger management method and device, computer equipment and storage medium
CN112044061B (en) Game picture processing method and device, electronic equipment and storage medium
CN113489637A (en) Method and device for adding reminding object, storage medium and computer equipment
CN115174890A (en) Flow playback test method and device, computer equipment and storage medium
CN114676371A (en) Page element information replacement method and device, computer equipment and storage medium
CN113568645A (en) Software updating method and device, electronic equipment and storage medium
CN114522420A (en) Game data processing method and device, computer equipment and storage medium
CN113890753A (en) Digital identity management method, device, system, computer equipment and storage medium
CN114095533A (en) Cloud game account login method and device, computer equipment and storage medium
CN112783860B (en) Method, device, storage medium and computer equipment for constructing mirror image database
JP2019160287A (en) Server device, client terminal, information processing method, and program
CN115794915A (en) Data calling method and device, computer equipment and storage medium
CN113350793B (en) Interface element setting method and device, electronic equipment and storage medium
CN114146418A (en) Game resource processing method and device, computer equipment and storage medium
CN113806801A (en) Transaction information chaining method, device, computer equipment and storage medium
CN114844911A (en) Data storage method and device, electronic equipment and computer readable storage medium
CN114422535A (en) Method and device for deploying contracts in block chain, computer equipment and storage medium
CN106970814B (en) Processing method, device and system for software upgrading
CN114168332A (en) Task processing method and device, electronic equipment and storage medium
CN115487501A (en) Game copy implementation method and device, storage medium and electronic equipment
CN114968595A (en) NFT owner information processing method and device, computer equipment and storage medium
CN115391278A (en) Resource processing 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
SE01 Entry into force of request for substantive examination