Page management method and apparatus for virtual game, electronic device, and storage medium
By introducing function group tags and logic editing interfaces into the game editing page, it solves the problem that players find it difficult to quickly manage and edit a large amount of game logic, and achieves more efficient editing experience and visual intuition.
Patent Information
- Application Number
- PCT/CN2024/106186
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-30
- Filing Date
- 2024-07-18
- Publication Date
- 2025-03-06
AI Technical Summary
During the game editing process, it is difficult for players to quickly manage and edit a large amount of game logic, resulting in reduced editing efficiency.
By introducing function group tags and logic editing interfaces into the editing page, players can display the corresponding logic editing interface by selecting function group tags to achieve modular management and editing of game logic.
This method enables players to manage and edit game logic more quickly, improves editing efficiency, and improves visual experience and logic search speed by reducing the number of game logic in each logic editing interface.
Smart Images

Figure CN2024106186_06032025_PF_FP_ABST
Abstract
Description
Virtual game page management method, device, electronic device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to Chinese patent application number 202311112986.7, filed on August 30, 2023, entitled “Page management method, device, electronic device and storage medium for virtual games”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the field of computers, and in particular to a page management method, device, electronic device, and computer-readable storage medium for a virtual game. Background Art
[0004] With the continuous development of online game technology, some game programs are embedded with graphical game editors with game editing functions. Players can use their imagination to visually create various game levels or game maps and other game play logic through the game editor to enrich the gameplay content of the game and enhance the player's sense of accomplishment in participating in the game.
[0005] In most game editors, players can drag and drop graphical logic components representing different instructions into the editing interface and then connect them together to create the corresponding gameplay logic. However, when players edit multiple gameplay logics, the editing interface will include the logic components corresponding to each gameplay logic. This will result in a large number of logic components being displayed in the editing interface. Players may not be able to quickly manage the logic components dragged into the editing interface, making it difficult to quickly edit the game logic, reducing the player's editing efficiency.
[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute relevant technology known to ordinary technicians in the field.
[0007] Summary of the Invention
[0008] The present disclosure provides a page management method, device, electronic device and computer-readable storage medium for a virtual game, which can enable players to manage and edit game logic more quickly, thereby improving the efficiency of players in game editing.
[0009] In a first aspect, an embodiment of the present disclosure provides a method for managing a page of a virtual game, the method comprising:
[0010] Displaying an editing page corresponding to a game editing function of a virtual game, the editing page including at least one function group tag, the function group tag corresponding to at least one function tag, the function tag being provided with corresponding game logic, each function group tag corresponding to a logic editing interface, the logic editing interface being used to edit and display the game logic corresponding to each function tag;
[0011] In response to a selection operation on the function group tag, a logic editing interface corresponding to the function group tag selected by the selection operation is displayed on the editing page.
[0012] In a second aspect, an embodiment of the present disclosure provides a page management device for a virtual game, the device comprising: a first display unit and a second display unit;
[0013] The first display unit is used to display an editing page corresponding to a game editing function of the virtual game, wherein the editing page includes at least one function group tag, each function group tag corresponds to at least one function tag, each function tag is provided with corresponding game logic, and each function group tag corresponds to a logic editing interface, wherein the logic editing interface is used to edit and display the game logic corresponding to each function tag;
[0014] The second display unit is configured to, in response to a selection operation on the function group tag, display a logic editing interface corresponding to the function group tag selected by the selection operation on the editing page.
[0015] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
[0016] processor; and
[0017] The memory is used to store a data processing program. After the electronic device is powered on and the program is run by the processor, the method of the first aspect is executed.
[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium storing a data processing program, which is executed by a processor to perform the method of the first aspect.
[0019] An embodiment of the present disclosure provides a page management method for a virtual game, which displays an editing page corresponding to a game editing function of the virtual game, wherein the editing page includes at least one function group tag, each function group tag corresponds to at least one function tag, each function tag is provided with corresponding game logic, and each function group tag corresponds to a logic editing interface, which is used to edit and display the game logic corresponding to each function tag; in the case where each function group tag corresponds to a logic editing interface, in response to a selection operation on the function group tag, the logic editing interface corresponding to the function group tag selected by the selection operation is displayed on the editing page.
[0020] It can be seen that through the above-mentioned setting method of each function group label corresponding to a logic editing interface, players can divide the game logic that needs to be edited into modules, so as to edit them separately according to modules in multiple logic editing interfaces, and each logic editing interface can only include a small amount of game logic. By reducing the amount of game logic contained in each logic editing interface, each game logic can be intuitively displayed in the logic editing interface, improving the player's visual experience of editing the game logic; at the same time, players can easily find the game logic that needs to be edited in a small amount of game logic, reducing the time players spend looking for game logic and improving the efficiency of players editing game logic. In addition, players can quickly switch between different logic editing interfaces by selecting each function group label, that is, quickly find different game logics, further improving the player's experience of editing the gameplay logic through the game editing function. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0022] FIG1 is a schematic diagram of a game system for implementing a page management method for a virtual game according to one embodiment of the present disclosure;
[0023] FIG2 is a flow chart of an example of a page management method for a virtual game provided by one of the embodiments of the present disclosure;
[0024] FIG3 is a schematic diagram of an example interface of an editing page corresponding to a game editing function provided in one embodiment of the present disclosure;
[0025] FIG4 is a schematic diagram of an interface showing various labels in a control display window provided by one of the embodiments of the present disclosure;
[0026] FIG5 is a schematic diagram of an interface for creating a function tag through a game trigger condition component according to one embodiment of the present disclosure;
[0027] FIG6 is a schematic diagram of an interface for creating an association relationship between a logic component in a logic component library and a logic component displayed in a logic editing interface, provided in accordance with one embodiment of the present disclosure;
[0028] FIG7 is a flowchart of another example of a page management method for a virtual game provided by one of the embodiments of the present disclosure;
[0029] FIG8 is a schematic diagram of an example interface for creating a scattered component tag provided by one of the embodiments of the present disclosure;
[0030] FIG9 is a schematic diagram of an interface showing the number of scattered logic components provided by one of the embodiments of the present disclosure;
[0031] FIG10 is a schematic diagram of an example interface for highlighting scattered logic components provided by one of the embodiments of the present disclosure;
[0032] FIG11 is a schematic diagram of an interface for deleting scattered logic components provided by one of the embodiments of the present disclosure;
[0033] FIG12 is a schematic diagram of an example interface showing an error prompt mark provided by one of the embodiments of the present disclosure;
[0034] FIG13 is a schematic diagram of another example interface for highlighting scattered logic components provided by one of the embodiments of the present disclosure;
[0035] FIG14 is a schematic diagram of an example interface showing a checkbox control provided by one of the embodiments of the present disclosure;
[0036] FIG15 is a schematic diagram of an example interface showing a management menu corresponding to each tag provided in one embodiment of the present disclosure;
[0037] FIG16 is a schematic diagram of another example interface of an editing page corresponding to a game editing function provided in one embodiment of the present disclosure;
[0038] FIG17 is a schematic diagram of the structure of a page management device for a virtual game provided by one of the embodiments of the present disclosure;
[0039] FIG18 is a block diagram of a structure of an electronic device providing a page for managing a virtual game according to one of the embodiments of the present disclosure. DETAILED DESCRIPTION
[0040] The following description sets forth many specific details to facilitate a full understanding of the present disclosure. However, the present disclosure can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the scope of the present disclosure. Therefore, the present disclosure is not limited to the specific implementations disclosed below.
[0041] It should be noted that the terms "first", "second", "third", etc. in the claims, description and drawings of the present disclosure are used to distinguish similar objects and are not used to describe a specific order or sequence. The data used in this way are interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having" and their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0042] It should be understood that in the embodiments of the present disclosure, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "Including A, B and / or C" means including any one, any two, or any three of A, B, and C.
[0043] It should be understood that in the embodiments of the present disclosure, "B corresponding to A," "B corresponding to A," "A corresponds to B," or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based solely on A; B can also be determined based on A and / or other information.
[0044] In view of the above-mentioned problems, the embodiments of the present disclosure provide a method, device, electronic device and computer-readable storage medium for managing pages of a virtual game.
[0045] The page management method for a virtual game provided in the embodiments of the present disclosure can be executed by an electronic device, which can be a terminal or server with a display screen. The terminal can be a terminal device such as a smartphone, tablet computer, laptop computer, smart wearable device, etc. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0046] In an optional embodiment, when the virtual game page management method is executed on a terminal device, the terminal device stores a game application and a virtual game scene. The terminal device interacts with the player via a graphical player interface (GUI). The terminal device can provide the GUI to the player in various ways, such as rendering on the terminal device's display screen or presenting the GUI through holographic projection.
[0047] In an optional embodiment, when the virtual game page management method runs on a server, the method can be implemented and executed based on a cloud gaming system. A cloud gaming system refers to a gaming method based on cloud computing. A cloud gaming system includes a server and a client device. The operating entity of the game application and the entity presenting the game screen are separate. The storage and operation of the game video display method in the game are completed on the server. The game screen presentation is completed on the client. The client is mainly used to receive and send game data and present the game screen. For example, the client can be a display device with data transmission capabilities close to the player, such as a mobile terminal, television, computer, PDA, personal digital assistant, head-mounted display device (HMD), etc., but the terminal device that processes the game data is a server in the cloud. When playing the game, the player operates the client to send instructions to the server. The server controls the game according to the instructions, encodes and compresses the game screen and other data, and returns it to the client via the network. Finally, the client decodes and outputs the game screen.
[0048] It should be noted that in the embodiments of the present disclosure, the execution entity of the virtual game page management method can be a terminal device or a server, wherein the terminal device can be a local terminal device or the client device in the aforementioned cloud game. The embodiments of the present disclosure do not limit the type of execution entity.
[0049] For example, in conjunction with the above introduction, FIG1 illustrates a gaming system 100 for implementing a page management method for a virtual game, according to an embodiment of the present disclosure. The gaming system 100 may include at least one terminal 110, at least one server 120, at least one database 130, and a network. The terminal 110 held by a player can connect to servers for different games via the network. A terminal is any device with computing hardware capable of supporting and executing software applications corresponding to a game.
[0050] The terminal 110 includes a display screen and a processor. The display screen is used to present the game screen and receive player operations generated by the game screen. The game screen may include a portion of a virtual game scene, which is a virtual world where virtual characters operate. The processor is used to run the game, generate the game screen, respond to operations, and control the display of the game screen on the display screen. When the player operates the game screen through the display screen, the game screen can control the local content of the terminal by responding to the received operation instructions, and can also control the content of the peer server by responding to the received operation instructions.
[0051] In addition, when the game system 100 includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc. In addition, the system 100 may include multiple databases, multiple databases coupled to different servers, and game-related information can be continuously stored in the database when different players play a multi-player game online.
[0052] It should be noted that the game system schematic diagram shown in Figure 1 is only an example. The game system 100 described in the embodiment of the present disclosure is to more clearly illustrate the technical solution of the embodiment of the present disclosure, and does not constitute a limitation on the technical solution provided by the embodiment of the present disclosure. Ordinary technicians in this field can know that with the evolution of game systems and the emergence of new business scenarios, the technical solution provided by the embodiment of the present disclosure is also applicable to similar technical problems.
[0053] It should be noted that the operations that appear in the subsequent detailed introduction of the page management method for the virtual game provided by the embodiment of the present disclosure can all be regarded as operations performed by the player through fingers or controlling a mouse, keyboard, or stylus and other media. The specific medium to be used can be determined according to the type of electronic device. For example, when the electronic device is a touch screen device such as a mobile phone, tablet computer, or game console, the player can operate on the touch screen through any suitable object or accessory such as a finger or stylus. When the terminal device is a non-touch screen terminal device such as a desktop computer or laptop computer, the player can operate through an external device such as a mouse or keyboard.
[0054] The technical solution of the present disclosure is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0055] As shown in Figure 2, Figure 2 is a flowchart of an example of a page management method for a virtual game provided by an embodiment of the present disclosure. It should be noted that the steps shown can be performed in a different logical order than shown in the flowchart of the method. The method may include the following steps S210 to S220.
[0056] Step S210: Display the editing page corresponding to the game editing function of the virtual game, the editing page includes at least one function group tag, the function group tag corresponds to at least one function tag, the function tag is set with corresponding game logic, each function group tag corresponds to a logic editing interface, the logic editing interface is used to edit and display the game logic corresponding to each corresponding function tag.
[0057] It is understood that after a player triggers the game editing function of a virtual game, an editing page corresponding to the game editing function may be displayed on the display screen of the electronic device. The game editing function of a virtual game can be understood as allowing the player to perform original editing of game content such as the game map, game characters, game supplies, or gameplay logic in the virtual game on the editing page corresponding to the editing function. The game content that can be edited by the above-mentioned game editing function is merely an example and does not constitute a limitation of the embodiments of the present disclosure.
[0058] The aforementioned function tags correspond to triggers. A trigger, as you can understand it, is a set of game logic associated with three types of programming statements: event trigger conditions, action execution conditions, and game execution actions. That is, each function tag sets the corresponding game logic, and managing this function tag enables management of the game logic associated with that tag. It should be noted that in this embodiment, each function tag on the edit page corresponds to a set of game logic.
[0059] Function group tags are labels corresponding to trigger groups. Trigger groups are formed by grouping triggers according to certain rules. In other words, function group tags are grouped according to certain rules. By managing function group tags, you can batch manage the function tags within that group, as well as the game logic corresponding to each function tag.
[0060] It is understandable that in this embodiment, the management of function labels may include renaming management, deletion management, and copy and paste management of function labels, etc. For the introduction of each management function, please refer to the subsequent detailed description, which will not be expanded here.
[0061] In this embodiment, each function group label corresponds to a logic editing interface. It is understandable that each function group label may correspond to one or more logic editing interfaces, and this embodiment does not specifically limit this. The so-called logic editing interface is a canvas, a tiled interface for editing and displaying multiple groups of game logic. In other words, each function group label corresponds to a canvas. In this way, the game logic for different groups can be displayed in different logic editing interfaces. A small amount of game logic can be included in a logic editing interface, so that each game logic can be intuitively displayed on the display screen of the electronic device, making it easier for players to edit and maintain the game logic.
[0062] Step S220: In response to the selection operation on the function group tag, a logic editing interface corresponding to the function group tag selected by the selection operation is displayed on the editing page.
[0063] After the edit page for the game editing function is displayed, the player can select each function group tag to display the logic editing interface corresponding to the selected function group tag on the edit page, thereby enabling the player to edit the game logic in the logic editing interface. It is understood that the function group tag selected by the selection operation can be any one of the function group controls displayed on the edit page, and this embodiment is not particularly limited thereto.
[0064] The above-mentioned selection operation of each function group label can be achieved through various gesture operations such as clicking, sliding, pressing, etc., or can also be achieved through voice command operation, shortcut key operation, etc. This embodiment does not specifically limit this. In the subsequent specific figures, the clicking operation is used as the selection operation for explanation. It should be noted that the various operations involved in this disclosure can be achieved through any of the above-mentioned methods, and can also be achieved through other feasible methods. This disclosure does not limit this. In the specific implementation process, it is sufficient to maintain the ability to distinguish the functions corresponding to various operations.
[0065] As shown in (a) in Figure 3, (a) in Figure 3 is an editing page corresponding to the game editing function of an example virtual game provided in an embodiment of the present disclosure. The editing page 300 shown in (a) in Figure 3 may include a menu bar 301. Among them, the menu bar 301 can be used to display a back control 10 for exiting the game logic editing function, an undo control 11 for undoing the player's current operation, and a restore control 12 for restoring the player's currently undone operation. The logic editing interface 302 is an editing interface provided to players for using logic components to edit game logic. It can be understood that the logic component is a graphical component of a programming language that encapsulates game logic, which can also be called a building block.
[0066] The editing page 300 also includes grouping labels such as function group label 1 and function group label 2. Referring to FIG3 (a), taking the selection operation to select function group label 2 as an example, when the player applies a click operation to function group label 2, the electronic device responds to the click operation, as shown in FIG3 (b), and can display the logic editing interface 302 corresponding to function group label 2 on the editing page 310. The logic editing interface 302 can display the game logic corresponding to each function label under function group label 2. Referring to FIG3 (b), the logic editing interface 302 displays game logic 13.
[0067] In some embodiments, the electronic device responds to the selection operation for each function group label by displaying each function label corresponding to the function group label selected by the selection operation. As shown in Figure 3 (a), a player's click operation on function label 2 can also expand and display each function label in function group label 2, such as the display of function label 1, function label 2, and so on, as shown in Figure 3 (b). It will be understood that the function group labels displayed in Figure 3 (b) are merely examples and do not limit the embodiments of the present disclosure.
[0068] It can be understood that the size of the logic editing interface 302 in (a) and (b) in the above Figure 3 displayed on the screen of the electronic device can be a part or the whole of the logic editing interface corresponding to the function group label 2. In actual applications, the size of the logic editing interface displayed on the display screen of the electronic device depends on the display ratio of the logic editing interface set by the player, and this embodiment does not limit this.
[0069] It should be noted that the dotted lines in Figure 3 and subsequent figures are intended to illustrate that the editing page contains a display area of multiple modules. They are fictitious lines for ease of understanding. These dotted lines do not exist on the editing page displayed on the display interface of the electronic device.
[0070] It can be seen that through the above-mentioned setting method of each function group label corresponding to a logic editing interface, players can divide the game logic that needs to be edited into modules, so as to edit them separately according to modules in multiple logic editing interfaces, and each logic editing interface can only include a small amount of game logic. By reducing the amount of game logic contained in each logic editing interface, each game logic can be intuitively displayed in the logic editing interface, improving the player's visual experience of editing the game logic; at the same time, players can easily find the game logic that needs to be edited in a small amount of game logic, reducing the time players spend looking for game logic and improving the efficiency of players editing game logic. In addition, players can quickly switch between different logic editing interfaces by selecting each function group label, that is, quickly find different game logics, further improving the player's experience of editing the gameplay logic through the game editing function.
[0071] Below, some optional specific implementation methods provided by the present disclosure are introduced in detail.
[0072] In an optional embodiment, the editing page also includes a tag management control. After the player triggers the game editing function of the virtual game and displays the editing page, the tag management control needs to be triggered to display the control display window on the editing page. Alternatively, in an embodiment, after opening the editing page, the control display window is directly displayed on the editing page.
[0073] The control display window includes each function group label. In response to a selection operation on each function group label, each function label corresponding to the selected function group label is displayed. In other words, the function group labels displayed on the editing page are collectively displayed in the control display window, making it easier for players to view the function group labels in a centralized manner.
[0074] Optionally, the above-mentioned control display window can be displayed in a certain area in the editing page. In this case, the control display window does not overlap with the logic editing interface; or, in some embodiments, the control display window can be displayed in a floating manner in the logic editing interface, and the display level of the control display window is higher than the logic editing interface. In this case, the transparency of the display of the space display window can be set so that the display of the space display window does not affect the logic editing interface of the next display level.
[0075] By constructing a multi-level display of each function group label and each function label, the purpose of each function label and the corresponding game logic are made clearer, the readability and comprehensibility of the game logic are enhanced, and it is also easier for players to find the game logic.
[0076] As shown in FIG4 (a), the editing page 320 shown in FIG4 (a) includes a menu bar 301, a logic editing interface 302, and a tag management control 303. In response to the player's triggering operation on the tag management control 303, as shown in FIG4 (b), a control display window 304 is displayed in the editing page 320 shown in FIG4 (b). Among them, the control display window 304 is displayed in a floating manner above the logic editing interface 302, and the transparency of the control display window is represented by the gray shadow shown in FIG4 (b), which does not block the display of each game logic in the logic editing interface 302. Each function group label is displayed in the control display window 304. In response to the player's click operation on the function group label 2, each function label corresponding to the function group label 2 is displayed under the level of the function group control 2.
[0077] In an optional embodiment, the editing page corresponding to the aforementioned game logic function may also include at least one logic component library for creating game logic. The logic component library is a repository provided by the virtual game for storing various logic components used to build game logic. The logic component library may include a game trigger condition component library, a game action execution component library, and an action execution condition component library. The game trigger condition component library stores various game trigger condition components, which are graphical components used to encapsulate corresponding game trigger conditions; the game action execution component library stores various game action execution components, which are graphical components used to encapsulate corresponding game actions; and the action execution condition component library stores various action execution condition components, which are graphical components used to encapsulate corresponding action execution conditions. In addition to the aforementioned component libraries, the logic component library may also include a control component library, a variable component library, a value component library, and a list component library, each of which stores corresponding graphical components. It is understood that players can create game logic by opening a logic component library and then selecting a logic component from it.
[0078] As shown in FIG5(a), the editing page 330 includes a display column 304 for logic component libraries, which displays the identifiers of the various logic component libraries. The display column 304 for logic component libraries in FIG5(a) respectively displays the game trigger condition component library 14, the game execution action component library 15, the action execution condition component library 16, and the variable component library 17. Of course, the logic component libraries shown in FIG5 are merely examples and are not intended to limit this embodiment.
[0079] In an optional embodiment, the virtual game page management method provided by the present disclosure may further include the following step S230.
[0080] Step S230: creating a corresponding new function label for the selected function group label.
[0081] It should be noted that in the disclosed embodiments, the game trigger condition component and the function tag have a strong correlation relationship. Creating a new function tag is usually associated with adding the game trigger condition component in the logic editing interface. For example, when creating a new function tag under the selected function group tag, the game trigger condition component is also added in the logic editing interface. Alternatively, when adding the game trigger condition component in the logic editing interface, a new function tag is also created under the selected function group tag. The above situations are explained below.
[0082] In a specific embodiment, the above-mentioned creation of a corresponding new function tag for the selected function group tag may include: responding to the addition operation of the game trigger condition component in the game trigger condition component library, displaying the game trigger condition component in the logic editing interface, and creating a corresponding new function tag for the selected function group tag. That is, while adding the game trigger condition component, the corresponding new function tag is created and displayed under the above-mentioned selected function group tag. It should be noted that, in this embodiment, when the player triggers the addition of logic components in the remaining logic component libraries except the game trigger condition component library in the logic editing interface corresponding to the selected function group tag, a corresponding new function tag will not be created for the selected function group tag. That is, the creation of a new function tag is strongly related to the game trigger condition component.
[0083] In the embodiment of the present disclosure, the operation of adding a game trigger condition component in the game trigger condition component library triggered in the logic editing interface corresponding to the selected function group label can specifically include the following operation methods: a selection operation for the game trigger condition component in the game trigger condition component library, and a drag operation of dragging the selected game trigger condition component from the game trigger condition component library to the logic editing interface. It can be understood that the above selection operation and drag operation for the game trigger condition component can be continuous and uninterrupted operations. As shown in Figure 5 (a), the player selects a game trigger condition component 141 from the game trigger condition component library 14 and drags it to the logic editing interface 302. When the electronic device detects that the player drags the game trigger condition component 141 to the logic editing interface 302, as shown in Figure 5 (b), a new function label 3 is added and displayed in the function group label 2 corresponding to the current logic editing page 340.
[0084] In an optional embodiment, the operation of adding a game trigger condition component from the game trigger condition component library triggered in the logic editing interface corresponding to the selected function group label may further include a first click operation on the game trigger condition component in the game trigger condition component library and a second click operation in the logic editing interface, wherein the first click operation and the second click operation are two consecutive click operations. Of course, the operation of adding a game trigger condition component from the game trigger condition component library triggered in the logic editing interface corresponding to the selected function group label may also be a preset shortcut key operation, a voice command operation, etc., which will not be further described here.
[0085] Alternatively, in a specific embodiment, the above-mentioned function label creation operation can also be implemented by using a preset add function label control on the editing page to create a function label under the selected function group label. For example, by clicking the preset add function label control, the player displays each game trigger condition component in the game trigger condition component library on the editing page. In response to the user's selection operation on each game trigger condition component, the function label is created and displayed under the selected function group label, and the selected game trigger condition component is displayed in the logic editing interface.
[0086] It is understandable that the label name of the new function label created for the selected function group label is consistent with the name of the game logic corresponding to the game trigger condition component dragged into the logic editing interface. In order to facilitate the player's management of each game logic, a naming convention for the function label can be provided in the game editing function, and the player can use the preset naming convention to name each function label. For example, the preset naming convention can be: game trigger condition component name + serial number. The serial number automatically starts from 1 and continues to be postponed if the same name is encountered. Of course, the player can also customize the name of each function label. The player can modify the name of the game logic corresponding to the function label in the logic editing interface by modifying the name of the function label. In one embodiment, as shown in (b) of Figure 5, the name of the game logic corresponding to function label 3 is function label 3, and the name of the game logic can be displayed at the top of the game trigger condition component. Of course, it can also be located on the left side, etc., and can be set according to specific needs. This embodiment is not specifically limited.
[0087] Alternatively, in some specific embodiments, the new function tag created for the selected function group tag may be a blank tag, i.e., a tag without a name. In this case, the player can customize the name of the new function tag. It should be noted that the number of function tags under the selected function group tag is consistent with the number of game trigger condition components in the logic editing interface corresponding to the selected function group tag.
[0088] So far, the introduction of the creation operation of the function label is completed. Next, the method of creating a new function group label provided in some embodiments of the present disclosure is introduced.
[0089] In response to the function group label creation operation, the electronic device adds the created new function group label in the editing page and creates a logic editing interface corresponding to the created new function group label.
[0090] In a specific embodiment, the above-mentioned function group label creation operation can be implemented through a preset new function group label control on the editing page. For example, the player can trigger the logical function corresponding to the new function group label control through gestures such as clicking, pressing, and sliding, thereby creating and displaying a new function group label on the editing page and creating a logical editing interface corresponding to the new function group label. Alternatively, it can be implemented through voice commands, shortcut keys, etc., which are not specifically limited in this embodiment.
[0091] As mentioned above, game logic consists of game trigger conditions, game actions, and action execution conditions, all of which have associated relationships. Therefore, when creating game logic, players need to visually set the corresponding relationships between the various logic components to form the game logic. Below, we will explain the process of visually setting relationships between the various logic components.
[0092] In an optional embodiment, the electronic device responds to a component association operation by establishing an association relationship between the logic component to be associated corresponding to the component association operation and the logic component displayed in the logic editing interface corresponding to the component association operation, displays the logic component to be associated in the logic editing interface, and adds the game logic corresponding to the logic component to be associated as the game logic of the function tag corresponding to the displayed logic component.
[0093] The aforementioned logic components to be associated are any logic components selected from each logic component library for associating with the displayed logic components when creating game logic. For example, they may be game trigger condition components, game action execution components, action execution condition components, and so on. This embodiment does not specifically limit the number of logic components to be associated, and one or more may be included.
[0094] The logic components displayed in the logic editing interface corresponding to the aforementioned component association operation can be understood as any one or more logic components selected by the component association operation among the logic components displayed in the logic editing interface. For example, this may include any one or more of the game trigger condition components, game action execution components, or action execution condition components displayed in the logic editing interface, although this embodiment does not specifically limit this.
[0095] In one embodiment, the component association operation may specifically include: a first dragging operation of dragging the to-be-associated logical component from the logical component library to the logic editing interface, and a second dragging operation of splicing the to-be-associated logical component with the displayed logical component. The second dragging operation may be an operation of dragging the to-be-associated logical component to the location of the displayed logical component in the logic editing interface and then releasing it, wherein the first dragging operation and the second dragging operation are continuous and uninterrupted.
[0096] As shown in FIG6 , when the game trigger condition component 141 is already displayed in the logic editing interface 304, when the player drags the selected logic component 161 to be associated from the action execution condition component library 16 to the logic editing interface 304, and continues dragging the logic component 161 to be associated and the game trigger condition component 141 to connect, the association relationship between the logic component 161 to be associated and the game trigger condition component 141 is set through the visual drag-and-drop operation, and the game logic corresponding to the logic component 161 to be associated is added as the game logic of the function tag 3 corresponding to the game trigger condition component 141. After the association relationship between the logic component 161 to be associated and the game trigger condition component 141 is set, and the game logic corresponding to the logic component 161 to be associated is added as the game logic of the function tag 3 corresponding to the game trigger condition component 141, the game logic composed of the game trigger condition component 141 and the logic component 161 to be associated can be managed by managing the function tag 3.
[0097] In another embodiment, the association creation operation may further include a first click operation on the to-be-associated logical component in the logical component library, and a second click operation on the displayed logical component in the logic editing interface, wherein the first click operation and the second click operation are two consecutive click operations. Of course, the association creation operation may also be a preset shortcut key operation, a voice command operation, etc., which will not be further described here.
[0098] It's important to note that, as explained above, when players add logic components to the logic editing interface corresponding to the selected function group tag, only adding the game trigger condition component to the logic editing interface triggers the addition of a new function tag under the selected function group tag. This allows for management of the game logic within the game trigger condition component within the logic editing interface through the management of the new function tag. However, in actual applications, due to the simplified functionality of implementing game logic through splicing between logic components, players can experiment with splicing by selecting different types of logic components and placing them in the blank spaces of the logic editing interface. During this experimentation, it's easy for logic components to be unassociated with the game trigger condition component, and there are no corresponding tags for convenient management of these logic components.
[0099] In this embodiment, when the electronic device detects that there is a logic component not associated with the game trigger condition component in the logic editing interface corresponding to the selected function group tag, it sets the logic component not associated with the game trigger condition component as a scattered logic component.
[0100] It is understandable that the above logic components not associated with the game trigger condition component may include:
[0101] In response to the component adding operation, the electronic device displays the logic component corresponding to the component adding operation in the logic editing interface, and determines the logic component corresponding to the component adding operation as a logic component that is not associated with the game trigger condition component.
[0102] Alternatively, in response to a deletion operation on a game trigger condition component displayed in a logic editing interface, the electronic device determines the logic component in the game logic corresponding to the game trigger condition component that is associated with the game trigger condition component as a logic component that is not associated with the game trigger condition component.
[0103] The operation of adding the above components may include: the player's selection operation for the logic component to be added in the logic component library, and the placement operation of the logic component to be added in the blank space of the logic editing interface; it can be understood that the above selection operation and placement operation may be a continuous drag operation, or a continuous two-click operation, which is not specifically displayed in this embodiment.
[0104] Scattered logic components can be a collection of useless logic components that a player has forgotten in the logic editing interface, or they can be a collection of functionally meaningful logic components that a player has temporarily placed in the logic editing interface, waiting to be connected to a game trigger condition component. It is understood that the number of logic components in a logic component collection can be one or more, and this embodiment does not specifically limit this.
[0105] Scattered logic components are scattered at random locations in the logic editing interface, which can easily block the logic component set that has been built into the usable game logic, causing certain visual interference to the player's creation of game logic; in addition, when there is a logic component set that the player temporarily places in the logic editing interface to be spliced among the scattered logic components, if the player needs to splice the logic component set with the game trigger condition set, the logic component set is mixed in the scattered logic components and is difficult to find.
[0106] Currently, there is no relevant management method for the above-mentioned scattered logic components. Therefore, it is necessary to provide a management method for the scattered logic components to facilitate players to manage the scattered logic components.
[0107] As shown in FIG7 , FIG7 is another flow chart of a method for managing a virtual game page according to an embodiment of the present disclosure. The method may further include the following step S240 or step S250 .
[0108] Step S240: In response to detecting that there are scattered logic components in the logic editing interface corresponding to the selected function group label, if no scattered component label is set in the selected function group label, a scattered component label is added to the selected function group label, and a correspondence between the scattered logic components and the scattered component labels is set.
[0109] Step S250: in response to detecting that there are scattered logic components in the logic editing interface corresponding to the selected function group label, if a scattered component label is set in the selected function group label, setting a correspondence between the scattered component label and the scattered logic component.
[0110] It is understood that the aforementioned scattered logic components are logic components that are not associated with game trigger conditions. Scattered component labels are labels corresponding to each scattered logic component in the logic editing interface. By setting the correspondence between scattered logic components and scattered component labels, the purpose of managing the scattered logic components in the logic editing interface can be achieved by managing the scattered component labels.
[0111] In this embodiment, after adding a scattered component label to a selected functional group label, the scattered component label can be displayed below the functional group label. This embodiment does not specifically limit the display location of the scattered component label. In the subsequent method description, the scattered component label is displayed at the top of the corresponding functional group label hierarchy as an example.
[0112] As shown in FIG8 (a), the logic editing interface 302 in the editing page 350 shown in FIG8 (a) includes a logic component set 18 and a logic component 162. In combination with FIG6, it can be seen that the logic component set 18 includes a game trigger condition component 141, and the player can manage the logic component set 18 through the function tag 3. The logic component 162 shown in FIG8 (a) is the action execution condition component 162 dragged from the action execution condition component library 16 to the logic editing interface 302. As can be seen from FIG8 (a), the action execution condition component 162 is not spliced with the game trigger condition component, that is, the action execution condition component 162 is not associated with the game trigger condition component. Therefore, the action execution condition component 162 is a scattered logic component.
[0113] When the electronic device detects the presence of the scattered logic component, action execution condition component 162, in the logic editing interface 302, it determines whether a scattered component label is set in the function group label 3. As shown in FIG8(a), if no scattered component label is set in the function group label 3, a scattered component label 19 is added and displayed for the function group label 3 in the editing page 360 shown in FIG8(b), and a correspondence between the scattered logic component and the scattered component label 19 is set. If a scattered component label is set in the function group label 3, there is no need to add the scattered component label 19 to the function group label 3. Instead, a correspondence between the scattered logic component and the scattered component label 19 is set. In this way, the player can achieve the purpose of managing the logical component set 20 by managing the scattered component label 19.
[0114] In an optional embodiment, the number of scattered logic components corresponding to the scattered component labels in the logic editing interface corresponding to the selected function group label can also be counted, and the counted number can be displayed at the corresponding position of the scattered component label.
[0115] It can be understood that the number of scattered logic components corresponding to the scattered component label is the number of all scattered logic components dragged by the player to the logic editing interface.
[0116] The corresponding position of the above-mentioned scattered component label can be any position such as the right side, left side or upper right corner of the adjacent scattered component label, or it can also be a fixed position in the editing page for displaying the number of scattered logical components. This embodiment does not specifically limit it.
[0117] As shown in FIG9 , the logic editing interface 302 in the editing page 370 shown in FIG9 includes two scattered logic components: an action execution condition component 162 and a logic component set 20. The logic component set includes an action execution condition component 163 dragged from the action execution condition component library 16 to the logic editing interface 302, and a variable component 171 dragged from the variable component library 17 to the logic editing interface 302. The number of scattered logic components in the logic editing interface 302, displayed to the right of the scattered component label 19, is two.
[0118] The following is a detailed introduction to the specific management methods of each function group label, each function group label and scattered component labels in the embodiment of the present disclosure.
[0119] In an optional embodiment, the player can perform a highlighting operation on the scattered component label, and the electronic device responds to the highlighting operation on the scattered component label in the selected functional group label by highlighting the scattered logical component corresponding to the scattered component label in the logical editing interface corresponding to the selected functional group label.
[0120] It will be understood that highlighting discrete logic components means displaying each discrete logic component in a manner different from the currently displayed discrete logic component. Specifically, highlighting may include one or more of the following exemplary display modes: highlighting, strobing, or strobing. Highlighting means displaying the discrete logic component at a brightness exceeding a preset brightness value. Stroke means bolding the border of the discrete logic component or displaying it in a preset color. Strobing means flashing the discrete logic component at a preset frequency.
[0121] In a specific embodiment, the aforementioned scattered label component is provided with a management menu, which includes a highlight control. In response to a triggering operation on the highlight control, the scattered logic components corresponding to the scattered component labels are highlighted in the logic editing interface corresponding to the selected function group label. For example, as shown in FIG10 , a management menu 21 is displayed to the right of the scattered label component in the editing page 380. The management menu 21 includes a highlight control 22. In response to the player's triggering operation on the highlight control 22, the electronic device bolds the borders of the action execution condition component 162 in the logic editing interface 302 and each logic component in the logic component set 20.
[0122] It is understandable that the highlighting operation on the scattered component labels may also include voice command operation or shortcut key operation, etc., which is not specifically limited in this embodiment.
[0123] By highlighting the scattered component labels as described above, the scattered logic components in the logic editing interface are highlighted, which can help players intuitively see the location distribution and approximate number of the scattered logic components in the logic editing interface.
[0124] In an optional embodiment, when the scattered logical component corresponding to the scattered component label is highlighted, in response to an operation of canceling the highlighting of the scattered component label, the highlighting of the logical component corresponding to the scattered component label is canceled.
[0125] In a specific embodiment, when the scattered logical components corresponding to the scattered component labels are highlighted by triggering the above-mentioned highlight control, the function corresponding to the highlight control in the management menu is adjusted to the function of canceling the highlighting. When the electronic device detects that the player applies a trigger operation to the highlight control again, it cancels the highlighting of the logical components corresponding to the scattered component labels.
[0126] In an optional embodiment, in response to a deletion operation on a tag in the selected function group tag, the tag selected by the deletion operation and the logic component corresponding to the tag selected by the deletion operation are deleted.
[0127] In a specific embodiment, the management menu for the scattered tag component settings also includes a delete control. In response to a triggering operation on the delete control, the tag selected by the delete operation and the logic component corresponding to the selected tag are deleted. Through this delete control, all scattered logic components in the logic editing interface can be deleted with one click, improving the efficiency of players in deleting scattered logic components.
[0128] As shown in the editing page 380 in FIG11 (a), a deletion control 23 is included in the management menu 21. The electronic device executes the deletion function corresponding to the deletion control 23 in response to the player's triggering operation on the deletion control 23. After the deletion function is executed, the scattered component label 19, the action execution condition component 162 in the logic editing interface 302, and each logic component in the logic component set 20 are deleted in the editing page 390 as shown in FIG11 (b).
[0129] It is understandable that the deletion operation of scattered component labels can also be triggered by voice command operation or shortcut key operation, etc., which is not specifically limited in this embodiment.
[0130] It can be understood that each logic component is an encapsulation of various programming statements. In the embodiment of the present disclosure, the variables of each logic component have preset parameters. When the player drags the logic component to build the game logic in the logic editing interface, the player can choose from the preset parameters to assign values to the variables of the logic component. If the player does not assign values to the variables in the logic component, the corresponding statement of the logic component will have a grammatical error, and the subsequent game logic will not be able to run normally. The current game editing function lacks the function of displaying the error status of the logic component when there is an error in the logic component. Therefore, the following is an introduction to the function of displaying the error status when there is an error in the logic component in the embodiment of the present disclosure.
[0131] When the electronic device detects that an error exists in a logic component in the logic editing interface corresponding to the selected function group label, an error prompt mark is displayed at a corresponding position of the label corresponding to the logic component with the error.
[0132] It is understood that the above-mentioned logic component can be any logic component in the logic editing interface. Errors in the above-mentioned logic component are usually syntax errors caused by missing parameters of the logic component, and can also include splicing errors caused by players in the process of splicing logic components. This embodiment does not specifically limit this.
[0133] The logic components with errors may include scattered logic components and logic components associated with game triggering conditions. The labels corresponding to the scattered logic components are scattered component labels, and the labels corresponding to the logic components associated with game triggering conditions are various function labels.
[0134] As shown in FIG12 , the game trigger condition component 141 displayed in the logic editing interface 302 includes an event name variable, the action execution condition component 161 includes a weather variable, and the action execution condition component 162 includes a condition variable, etc. Each variable corresponds to a parameter setting area. For example, the event name variable corresponds to a parameter setting area 24, the weather variable corresponds to a parameter setting area 25, and the condition variable corresponds to a parameter setting area 26. After the player drags each of the above logic components to the logic editing interface 302, it is necessary to assign values to each of the above variables. For example, the parameter setting area 24 corresponding to the event name variable is assigned a value of "rainy day", while the parameter setting area 25 corresponding to the weather variable and the parameter setting area 26 corresponding to the condition variable are not assigned values. At this time, as shown in FIG12 , an error prompt mark can be displayed at the corresponding position of the function label 3 corresponding to the action execution condition component 161, and an error prompt mark can be displayed at the corresponding position of the scattered component label 19 corresponding to the action execution condition component 162. It is understandable that the above error prompt identifier can be any customized identifier symbol. As shown in FIG12 , in this embodiment, an exclamation mark is displayed as the error prompt identifier.
[0135] Optionally, in this embodiment, an error prompt mark can also be displayed at the corresponding position of the functional group label to which the label corresponding to the logical component with the error belongs. As shown in Figure 12, an error prompt mark is displayed at the corresponding position of the functional group label 2 written by the functional label 3 and the scattered component label 19.
[0136] The display of the error prompt icon can remind players which tag corresponds to the logic component with a syntax error, reducing the player's memory pressure of not assigning variables. In addition, the error prompt icon is displayed at the corresponding position of the tag corresponding to each logic component with an error, making it easier for players to intuitively see which tag corresponds to the logic component with the error and help players quickly locate the location of the error logic component.
[0137] In an optional embodiment, the electronic device responds to the selection operation on the function tag in the selected function group tag by highlighting the logic component corresponding to the selected function tag in the logic editing interface corresponding to the selected function group tag.
[0138] It can be understood that by selecting the function label to highlight the logic component corresponding to the function label, players can accurately locate the location of the logic component corresponding to the function label, save players' time in finding the logic component, and improve players' efficiency in editing game logic.
[0139] The above-mentioned selection operation of the function label in the aforementioned selected function group label may include gesture operations such as clicking, pressing or sliding operations on the function label, or voice command operations, shortcut key operations, etc., which are not specifically limited in this embodiment.
[0140] The highlighting mode of the logic component corresponding to the above-selected function label may specifically include one or more of the following exemplary display modes: highlighting, strobing, strobing, or moving the logic editing interface so that the logic component is displayed in the center of the screen of the electronic device. Among them, by moving the logic editing interface so that the logic component is displayed in the center of the screen of the electronic device, the display of the logic component is more in line with the player's visual expectations when the logic component is positioned. For a detailed introduction to highlighting, strobing, and strobing, please refer to the aforementioned introduction to highlighting scattered logic components, which will not be repeated here.
[0141] In an optional embodiment, when a scattered component label corresponds to multiple scattered logical components, in response to a first selection operation on the scattered component label, a first scattered logical component among the multiple scattered logical components is highlighted; in response to a second selection operation on the scattered component label, a second scattered logical component among the multiple scattered logical components is highlighted, and the second selection operation and the first selection operation are two consecutive selection operations.
[0142] It can be understood that when a scattered component label corresponds to multiple scattered logical components, the player can perform multiple selection operations on the scattered component label. Each selection operation can highlight a scattered logical component, which can help the player locate the location of each scattered logical component.
[0143] It should be noted that in the disclosed embodiment, the first selection operation performed by the player on the scattered component label will highlight the scattered logic component that the player first dragged to the logic editing interface, or highlight the scattered logic component that the player has viewed the most times in history. This embodiment is not specifically limited.
[0144] The highlighting method may specifically include one or more of the following exemplary display methods: highlighting, strobing, strobing, or moving the logic editing interface so that the scattered logic components corresponding to the selection operation are displayed in the center of the screen of the electronic device.
[0145] The aforementioned selection operation for the scattered component labels may include a click operation, a press operation, a slide operation, a voice command operation, or a shortcut key operation. For example, the first selection operation and the second selection operation may be two consecutive click operations, or the first selection operation and the second selection operation may be two consecutive press operations, etc. This embodiment does not limit the specific selection operation.
[0146] For example, the first selection operation and the second selection operation are two consecutive click operations. As shown in FIG13(a), when the player applies the first click operation to the scattered component label 19, the mobile logic editing interface 302 moves the location of the action execution condition component 162 to the center of the electronic device screen for display. As shown in FIG13(b), when the player applies the second click operation to the scattered component label 19, the mobile logic editing interface 302 moves the location to the center of the electronic device screen for display of each logic component in the logic set 20.
[0147] In some embodiments, a first check mark control is displayed at a corresponding position of the function group label; the first check mark control is used to select to disable or enable editing of the function group label; a second check mark control is displayed at a corresponding position of the function label; the second check mark control is used to select to disable or enable editing of the function label.
[0148] Both the first checkbox and the second checkbox include a selected state and an unselected state. The selected state of the first checkbox indicates that editing of the function group label is enabled, while the unselected state indicates that editing of the function group label is disabled. The selected state of the second checkbox indicates that editing of the function label is enabled, while the unselected state of the second checkbox indicates that editing of the function group label is disabled. By setting checkboxes for each function group label and function label, if there are a large number of function group labels and function labels, it is possible to pre-disable function group labels and function labels that are not currently required for editing, thereby reducing the chance of players making errors when editing game logic.
[0149] As shown in Figure 14, a first checkbox control 27 is displayed on the left side of each function group label, and a second checkbox control 28 is displayed on the left side of each function label. Displaying a check mark on the icon of the first checkbox control indicates that the first checkbox control is in the selected state, and not displaying a check mark indicates that the first checkbox control is in the unselected state. The selected and unselected states of the second checkbox control can be displayed in the same manner as the first checkbox control. If the first checkbox control 27 corresponding to function group label 2 is set to the selected state, it means that the player can edit function group label 2. If the second checkbox control 28 corresponding to function label 1 is set to the selected state, it means that the player can edit function label 1.
[0150] Corresponding to the embodiment in which the aforementioned scattered component labels are provided with a management menu, in some embodiments, a corresponding management menu can be provided at the corresponding position of the function group label or the corresponding position of the function label, and in response to the triggering operation of the management menu, various management controls included in the management menu are displayed in the editing page. The management menu may include a rename control, a delete control, and a copy control. Among them, the rename control in the management menu corresponding to the function group label is used to modify the label identification of the function group label, the delete control in the management menu corresponding to the function group label is used to delete the function group label and the various function labels corresponding to the function group label, and the copy control in the management menu corresponding to the function group label is used to implement copying and pasting of the function group label and the various function labels corresponding to the function group label;
[0151] The Rename control in the management menu corresponding to the function tag is used to modify the identifier of the function tag and the identifier of the game logic corresponding to the function tag. The Copy control in the management menu corresponding to the function tag is used to copy the identifier of the function tag and the game logic corresponding to the function tag. The Delete control in the management menu corresponding to the function tag is used to delete the function tag and the game logic corresponding to the function tag.
[0152] As shown in FIG15 , a management menu icon 29 is displayed to the right of each function group label and each function label. By triggering the management menu icon 29 of function group label 2, the rename, copy, and delete controls in the management menu of function group label 2 are displayed adjacent to the right of function group label 2. Players can select the appropriate control to manage function group label 2 according to their needs.
[0153] In an optional implementation, the editing page corresponding to the game editing function of the virtual game further includes at least one folder tag, and the folder tag corresponds to at least one function group tag.
[0154] The above-mentioned folder labels can be understood as group labels obtained by grouping the functional group labels according to certain rules. In this way, the management method for each game logic in the editing page is a three-level management method from coarse to fine, namely the management method of folder labels, functional group labels, and functional labels. It can be understood that in the field of games with a large amount of resource data, by adopting a multi-level management method, it is convenient for players to classify different types of game logic with a clear classification level, which facilitates players to quickly and effectively find and manage game logic, giving players a better experience in using the game editing function.
[0155] As shown in Figure 16, Figure 16 is a schematic diagram of an editing interface of an example of a three-tier management method for folder labels, function group labels, and function labels provided by an embodiment of the present disclosure. The editing page 400 shown in Figure 16 includes a toolbar 401 and a logic editing interface 402. Among them, the toolbar 401 includes a new folder control 30 for creating a new folder label and a new function group control 31 for creating a new function group label. For example, in Figure 16, a new folder label 1 is created through the new folder control 30, and a new function group label 1 and a function group label 2 are created through the new function group control 31.
[0156] It will be understood that the editing page shown in FIG16 is merely an example and does not constitute a limitation to this embodiment.
[0157] In a preferred embodiment, the three-tier management method for folder labels, function group labels, and function labels can be used in electronic devices with larger display screens and higher processing power, such as computers. This way, each folder label, function group label, and function label has sufficient display area for display. Of course, it can also be applied to mobile terminal devices with smaller display screens, such as mobile phones. This embodiment is not specifically limited to this, and application to computers with larger display screens and higher processing power is a preferred embodiment.
[0158] In an optional embodiment, if the page management method for a virtual game is applied to a mobile terminal, and the page resources of the editing page corresponding to the editing function of the virtual game include folder tags, before displaying the editing page corresponding to the game editing function of the virtual game, the mobile terminal can delete the folder tags when detecting that the page resources of the editing page include folder tags, and retain the function group tags corresponding to the folder tags and the tags corresponding to the function group tags. In this way, it can be ensured that regardless of whether the page resources of the editing page contain folder tags, the function group tags and function tags can be displayed using the two-tier management method of function group tags and function tags when the mobile terminal is used.
[0159] It is understandable that mobile terminals are usually electronic devices with small display screens and weak processing capabilities. Displaying function group labels and function labels on mobile terminals using a two-layer management method can save area on the mobile terminal display screen for displaying each label, making the editing page of the game editing function of the virtual game more concise and giving players a better visual experience.
[0160] It can be understood that the size, appearance, layout, display text and other information of each element in the above-mentioned interface schematic diagrams similar to those shown in Figures 3 to 6 and Figures 8 to 16 are all exemplary and are not intended to limit the actual display elements.
[0161] Corresponding to the virtual game page management method provided by the embodiment of the present disclosure, the embodiment of the present disclosure also provides a virtual game page management device 500. As shown in FIG17 , the device 500 includes: a first display unit 501 and a second display unit 502.
[0162] The first display unit 501 is configured to execute and display an editing page corresponding to a game editing function of the virtual game, wherein the editing page includes at least one function group tag, each of which corresponds to at least one function tag, each of which is provided with corresponding game logic, and each function group tag corresponds to a logic editing interface, which is used to edit and display the game logic corresponding to each function tag;
[0163] The second display unit 502 is configured to respond to a selection operation on a function group tag and display a logic editing interface corresponding to the function group tag selected by the selection operation on the editing page.
[0164] Optionally, the apparatus 500 further includes a creating unit 503;
[0165] The creating unit 503 is configured to create a corresponding new function label for the selected function group label.
[0166] Optionally, the game logic includes game triggering conditions, game execution actions, and action execution conditions that have an associated relationship.
[0167] Optionally, the editing page further includes at least one logic component library for creating game logic; the at least one logic component library includes a game trigger condition component library, a game execution action component library, and an action execution condition component library;
[0168] The creation unit 503 is specifically configured to execute an add operation in response to the game trigger condition component in the game trigger condition component library, display the game trigger condition component in the logic editing interface, and create a corresponding new function tag for the selected function group tag.
[0169] Optionally, the second display unit 502 is configured to display each function label corresponding to the selected function group label according to the selection operation.
[0170] Optionally, the apparatus 500 further includes an association creation unit 504;
[0171] The association creation unit 504 is configured to execute, in response to a component association operation, an association relationship between the logic component to be associated corresponding to the component association operation and the logic component displayed in the logic editing interface corresponding to the component association operation, display the logic component to be associated in the logic editing interface, and add the game logic corresponding to the logic component to be associated as the game logic of the function tag corresponding to the displayed logic component.
[0172] Optionally, the apparatus 500 further includes a setting unit 505;
[0173] The setting unit 505 is configured to execute, in response to detecting that there is a logic component not associated with the game trigger condition component in the logic editing interface corresponding to the selected function group tag, setting the logic component not associated with the game trigger condition component as a scattered logic component.
[0174] Optionally, the above-mentioned setting unit 505 is also configured to execute in response to detecting the presence of scattered logic components in the logic editing interface corresponding to the selected function group label, when no scattered component label is set in the selected function group label, adding a scattered component label to the selected function group label, and setting the correspondence between the scattered logic components and the scattered component labels.
[0175] Optionally, the above-mentioned setting unit 505 is also configured to execute, in response to detecting the presence of scattered logic components in the logic editing interface corresponding to the selected function group label, setting the correspondence between the scattered component label and the scattered logic component when a scattered component label is set in the selected function group label.
[0176] Optionally, the apparatus 500 further includes a management unit 506;
[0177] The management unit 506 is configured to count the number of scattered logical components corresponding to the scattered component labels; display the scattered component labels, and display the number of scattered logical components at positions corresponding to the scattered component labels.
[0178] Optionally, the management unit 506 is further configured to execute an operation in response to highlighting the scattered component labels in the selected functional group label, and highlight the scattered logical components corresponding to the scattered component labels in the logic editing interface corresponding to the selected functional group label.
[0179] Optionally, the management unit 506 is further configured to cancel the highlighting of the logical component corresponding to the scattered component label in response to an operation of canceling the highlighting of the scattered component label when the scattered logical component corresponding to the scattered component label is highlighted.
[0180] Optionally, the management unit 506 is further configured to execute a deletion operation in response to a tag in the selected function group tag, deleting the tag selected by the deletion operation and the logical component corresponding to the tag selected by the deletion operation.
[0181] Optionally, the management unit 506 is further configured to display an error prompt icon at a corresponding position of the label corresponding to the erroneous logical component when it is detected that an error exists in the logical component in the logic editing interface corresponding to the selected function group label.
[0182] Optionally, the management unit 506 is further configured to display an error prompt mark at a corresponding position of the function group label to which the label corresponding to the logical component with the error belongs.
[0183] Optionally, the management unit 506 is further configured to execute, in response to a selection operation on a function tag in the selected function group tag, highlighting a logic component corresponding to the selected function tag in a logic editing interface corresponding to the selected function group tag.
[0184] Optionally, the management unit 506 is further configured to execute, when a scattered component label corresponds to multiple scattered logical components, in response to a first selection operation on the scattered component label, highlighting a first scattered logical component among the multiple scattered logical components; in response to a second selection operation on the scattered component label, highlighting a second scattered logical component among the multiple scattered logical components, the second selection operation and the first selection operation being two consecutive selection operations.
[0185] Optionally, the editing page further includes at least one folder label, and the folder label corresponds to at least one function group label.
[0186] Optionally, the above-mentioned virtual game page management method is applied to a mobile terminal;
[0187] The management unit 506 is further configured to delete the folder tag when detecting that the page resource of the edit page includes a folder tag, and retain the function group tags corresponding to the folder tag and the tags corresponding to the function group tag.
[0188] Optionally, the management unit 506 is further configured to display a first check mark control at a corresponding position of the function group label; the first check mark control is used to select to disable or enable editing of the function group label; and display a second check mark control at a corresponding position of the function label; the second check mark control is used to select to disable or enable editing of the function label.
[0189] Corresponding to the virtual game page management method provided in the embodiments of the present disclosure, the embodiments of the present disclosure also provide an electronic device for managing virtual game pages. As shown in FIG18 , the electronic device includes: a processor 601; and a memory 602 for storing a program for the virtual game page management method. After the device is powered on and the program for the virtual game page management method is executed by the processor, the following steps are performed:
[0190] Displaying an editing page corresponding to a game editing function of a virtual game, the editing page including at least one function group tag, the function group tag corresponding to at least one function tag, the function tag being provided with corresponding game logic, each function group tag corresponding to a logic editing interface, the logic editing interface being used to edit and display the game logic corresponding to each function tag;
[0191] In response to a selection operation on the function group tag, a logic editing interface corresponding to the function group tag selected by the selection operation is displayed on the editing page.
[0192] Corresponding to the virtual game page management method provided in the embodiment of the present disclosure, the embodiment of the present disclosure further provides a computer-readable storage medium storing a program for the virtual game page management method, which is executed by a processor to perform the following steps:
[0193] Displaying an editing page corresponding to a game editing function of a virtual game, the editing page including at least one function group tag, the function group tag corresponding to at least one function tag, the function tag being provided with corresponding game logic, each function group tag corresponding to a logic editing interface, the logic editing interface being used to edit and display the game logic corresponding to each function tag;
[0194] In response to a selection operation on the function group tag, a logic editing interface corresponding to the function group tag selected by the selection operation is displayed on the editing page.
[0195] It should be noted that for the detailed description of the device, electronic device and computer-readable storage medium provided in the embodiments of the present disclosure, reference can be made to the relevant description of the XXX method embodiment provided in the embodiments of the present disclosure, and no further details will be given here.
[0196] Although the present disclosure is disclosed as above in terms of preferred embodiments, it is not intended to limit the present disclosure. Any person skilled in the art may make possible changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the scope of protection of the present disclosure shall be based on the scope defined by the claims of the present disclosure.
[0197] In a typical configuration, the computing device of a blockchain node includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0198] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0199] 1. Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology to store information. Information can be computer-readable operations, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory computer-readable media, such as modulated data signals and carrier waves.
[0200] 2. Those skilled in the art will appreciate that embodiments of the present disclosure may be provided as methods, systems, or computer program products. Thus, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROMs, optical storage, etc.) containing computer-usable program code.
[0201] Although the present disclosure is disclosed as above in terms of preferred embodiments, it is not intended to limit the present disclosure. Any person skilled in the art may make possible changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the scope of protection of the present disclosure shall be based on the scope defined by the claims of the present disclosure.
Claims
1. A page management method for a virtual game, the method comprising: Display an editing page corresponding to a game editing function of a virtual game, wherein the editing page includes at least one function group tag, wherein the function group tag corresponds to at least one function tag, wherein the function tag is provided with a corresponding game logic, and each function group tag corresponds to a logic editing interface, wherein the logic editing interface is used to edit and display the game logic corresponding to each function tag; In response to a selection operation on the function group tag, a logic editing interface corresponding to the function group tag selected by the selection operation is displayed in the editing page.
2. The method according to claim 1, wherein: The method further comprises: A corresponding new function label is created for the selected function group label.
3. The method according to claim 2, wherein: The game logic includes game triggering conditions, game execution actions and action execution conditions that have an associated relationship.
4. The method according to claim 2, wherein: The editing page also includes at least one logic component library for creating game logic; the at least one logic component library includes a game trigger condition component library, a game execution action component library and an action execution condition component library; The creating a corresponding new function label for the selected function group label includes: In response to an adding operation of a game trigger condition component in the game trigger condition component library, the game trigger condition component is displayed in the logic editing interface, and a corresponding new function tag is created for the selected function group tag.
5. The method according to claim 1, wherein: The method further comprises: According to the selection operation, each function label corresponding to the selected function group label is displayed.
6. The method according to claim 4, wherein: The method further comprises: In response to a component association operation, an association relationship is set between the logic component to be associated corresponding to the component association operation and the logic component displayed in the logic editing interface corresponding to the component association operation, the logic component to be associated is displayed in the logic editing interface, and the game logic corresponding to the logic component to be associated is added as the game logic of the function tag corresponding to the displayed logic component.
7. The method according to claim 6, wherein: The method further comprises: In response to detecting that there is a logic component not associated with the game trigger condition component in the logic editing interface corresponding to the selected function group tag, the logic component not associated with the game trigger condition component is set as a scattered logic component.
8. The method according to claim 7, wherein: The method further comprises: In response to detecting that the scattered logic component exists in the logic editing interface corresponding to the selected function group label, if no scattered component label is set in the selected function group label, a scattered component label is added to the selected function group label, and a correspondence between the scattered logic component and the scattered component label is set.
9. The method according to claim 8, wherein: The method further comprises: In response to detecting that the scattered logic component exists in the logic editing interface corresponding to the selected function group label, when a scattered component label is set in the selected function group label, a correspondence between the scattered component label and the scattered logic component is set.
10. The method according to claim 9, wherein: The method further comprises: Counting the number of scattered logic components corresponding to the scattered component labels; The scattered component labels are displayed, and the quantity of the scattered logical components is displayed at the position corresponding to the scattered component labels.
11. The method according to claim 8, wherein: The method further comprises: In response to an operation of highlighting a scattered component label in the selected functional group label, the scattered logic component corresponding to the scattered component label is highlighted in a logic editing interface corresponding to the selected functional group label.
12. The method according to claim 11, wherein: The method further comprises: In the case where the scattered logical component corresponding to the scattered component label is highlighted, in response to an operation of canceling the highlighting of the scattered component label, the highlighting of the logical component corresponding to the scattered component label is canceled.
13. The method according to claim 8, wherein: The method further comprises: In response to a deletion operation on a tag in the selected function group tag, the tag selected by the deletion operation and the logic component corresponding to the tag selected by the deletion operation are deleted.
14. The method according to claim 6, wherein: The method further comprises: When it is detected that an error exists in the logic component in the logic editing interface corresponding to the selected function group label, an error prompt mark is displayed at a corresponding position of the label corresponding to the logic component with the error.
15. The method according to claim 12, wherein: The method further comprises: The error prompt mark is displayed at a corresponding position of the functional group label to which the label corresponding to the logical component having the error belongs.
16. The method according to claim 8, wherein: The method further comprises: In response to a selection operation on a function tag in the selected function group tag, a logic component corresponding to the selected function tag is highlighted in a logic editing interface corresponding to the selected function group tag.
17. The method according to claim 8, wherein: The method further comprises: In the case where the scattered component label corresponds to a plurality of scattered logic components, in response to a first selection operation on the scattered component label, highlighting a first scattered logic component among the plurality of scattered logic components; In response to a second selection operation on the scattered component label, a second scattered logic component among the plurality of scattered logic components is highlighted, and the second selection operation and the first selection operation are two consecutive selection operations.
18. The method according to any one of claims 1 to 17, wherein: The editing page further includes at least one folder tag, and the folder tag corresponds to at least one of the function group tags.
19. The method according to claim 18, wherein: The method is applied to a mobile terminal, and before displaying an editing page corresponding to a game editing function of a virtual game, the method further includes: When it is detected that the page resource of the editing page includes the folder tag, the folder tag is deleted, and the function group tags corresponding to the folder tag and the tags corresponding to the function group tag are retained.
20. The method according to any one of claims 1 to 17, wherein: The method further comprises: Displaying a first check control at a position corresponding to the function group label; the first check control is used to select to disable or enable editing of the function group label; A second check mark control is displayed at a corresponding position of the function label; the second check mark control is used to select to disable or enable editing of the function label.
21. A page management device for a virtual game, wherein: The device comprises: a first display unit and a second display unit; The first display unit is configured to execute and display an editing page corresponding to a game editing function of a virtual game, wherein the editing page includes at least one function group tag, wherein the function group tag corresponds to at least one function tag, wherein the function tag is provided with a corresponding game logic, and each function group tag corresponds to a logic editing interface, wherein the logic editing interface is used to edit and display the game logic corresponding to each function tag; The second display unit is configured to execute, in response to a selection operation on the function group tag, display, in the editing page, a logic editing interface corresponding to the function group tag selected by the selection operation.
22. An electronic device, comprising: processor; as well as The memory is used to store a data processing program. After the electronic device is powered on and the program is run by the processor, the method according to any one of claims 1 to 20 is executed.
23. A computer-readable storage medium storing a data processing program, wherein the program is executed by a processor to perform the method according to any one of claims 1 to 20.
Citation Information
Patent Citations
Game character editing system and method
CN108619724A
Game engine-based interface deployment method and device, equipment and storage medium
CN114130017A
Game editing method and device, game running method and device and computer equipment
CN114661284A
Virtual character editing method and device, electronic equipment and storage medium
CN116263976A
Virtual game page management method and device, electronic equipment and storage medium
CN117195838A