A method and device for generating game elements, and an interactive method and device

By displaying the text information of the game task list on the game interface and generating game elements in the construction area at the same level, the problems of complex construction operations and large resource occupancy in the existing technology are solved, and simplified operations and resource conservation are achieved.

CN114712855BActive Publication Date: 2025-08-08NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210200021.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-01
Publication Date
2025-08-08
Estimated Expiration
2042-03-01

AI Technical Summary

Technical Problem

The prior art requires jumps in multiple interfaces during construction, resulting in complex construction operations and large resource loading and storage.

Method used

By displaying the text information of the game task list on the game interface and generating game elements in the construction area at the same level, using the trigger operation to determine whether the generation requirements are met, and directly generate game elements in the construction area to avoid interface jumps.

Benefits of technology

Reduces resource loading and storage, simplifies construction operations, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114712855B_ABST
    Figure CN114712855B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for generating game elements, an interaction method and device, wherein the generation method includes: obtaining trigger information of game task information triggered in a game task list in a game interface; wherein the game task information is text information for describing the current player in the game interface, corresponding to the construction of the game element; determining whether the trigger information meets the generation requirements of the game element in the construction area of the game interface and can be generated according to the text information; if so, generating the game element in the construction area; thereby eliminating the need to load and store a large number of task graphics in the interface, thereby reducing the amount of resource loading and resource storage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer application technology, and more particularly to a method and device for generating game elements. The present application also relates to an interactive method and device for building game elements, as well as a computer storage medium and an electronic device. Background Art

[0002] Construction and management games mainly refer to games with themes such as city construction, farm construction, garden construction, training base construction, or confrontation field construction. They can be understood as building scene areas involved in the game from scratch.

[0003] In business simulation construction games, the typical construction process includes: clicking the construction button to enter a new construction interface or a secondary pop-up construction interface, clicking or dragging the model image to be built to the main game interface scene, and then completing the construction process of the game construction object. Summary of the Invention

[0004] The present application provides a method for generating game elements to solve the problem in the prior art that jumping between multiple interfaces during the construction process makes the construction operation complicated.

[0005] This application provides a method for generating game elements, comprising:

[0006] Obtaining trigger information of a triggered game task information in a game task list in a game interface; wherein the game task information is text information describing the current player in the game interface and corresponding to the construction of a game element;

[0007] Determining whether the trigger information satisfies a generation requirement of the game element in a construction area of the game interface and can be generated according to the text information;

[0008] If so, the game element is generated in the construction area.

[0009] In some embodiments, obtaining trigger information of the triggered game task information in the game task list in the game interface includes:

[0010] Displaying the game task information list in the game interface;

[0011] In response to a triggering operation of the game task information in the game task information list, the triggering information is acquired.

[0012] In some embodiments, in response to a triggering operation on the game task information in the game task information list, obtaining the trigger information includes:

[0013] In response to a drag trigger operation on the game task information in the game task information list, the text information, and the starting position and ending position of the drag track are acquired.

[0014] In some embodiments, determining whether the trigger information satisfies a generation requirement of the game element in the construction area of the game interface and can be generated according to the text information includes:

[0015] Determining whether the acquired starting position of the drag track of the drag trigger operation is within a list area of the game element task list;

[0016] If yes, determining whether the acquired end position of the dragging track is outside the range of the list area;

[0017] If so, it is determined that the triggering operation meets the generation requirement.

[0018] In some embodiments, determining that the triggering operation satisfies the generation requirement further includes:

[0019] Determining whether a construction area outside the list area corresponding to the end position of the dragging track meets the accommodation requirements for generating the game element;

[0020] If so, it is determined that the triggering operation satisfies the generation requirement for generating the game element in the construction area.

[0021] In some embodiments, when the determination of the construction area outside the list area corresponding to the end point of the dragging track meets the accommodation requirement for generating the game element, the method further includes:

[0022] Obtaining game element materials provided for generating the game element;

[0023] Determine whether the game element material meets the material requirements for generating the game element.

[0024] In some embodiments, generating the game element in the construction area includes:

[0025] Obtaining the end point of the drag track of the drag trigger operation;

[0026] Determine whether there is a touch signal on the game interface at the end position of the dragging track;

[0027] If not, determining that the drag trigger operation is disconnected from the game interface;

[0028] The game element is generated in the construction area according to the separation relationship.

[0029] In some embodiments, in response to a triggering operation on the game task information in the game task information list, obtaining the trigger information includes:

[0030] In response to a voice trigger operation on the game task information in the game task information list, the text information and the voice operation touch signal are acquired.

[0031] In some embodiments, determining whether the trigger information satisfies a generation requirement of the game element in the construction area of the game interface and can be generated according to the text information includes:

[0032] Acquire the trigger information generated based on the voice operation touch position; wherein the trigger information includes task voice information;

[0033] determining whether the keyword identified in the task voice information matches the text information in the game task information;

[0034] If so, it is determined that the trigger information meets the generation requirement.

[0035] In some embodiments, determining that the trigger information meets the generation requirement further includes:

[0036] Determining whether a preset construction area in the game interface meets the accommodation requirements for generating the game element; wherein the construction area is an area used to generate the game element;

[0037] If so, it is determined that the trigger information meets the generation requirement for generating the game element in the construction area.

[0038] In some embodiments, when determining that the preset construction area in the game interface meets the accommodation requirements for generating the game element, the method further includes:

[0039] Obtaining game element materials provided for generating the game element;

[0040] Determine whether the game element material meets the material requirements for generating the game element.

[0041] In some embodiments, generating the game element in the construction area includes:

[0042] Obtaining a touch operation position of a voice-triggered operation in the trigger information;

[0043] Determining whether a touch signal exists at the touch operation position for the game interface;

[0044] If not, it is determined that the voice triggering operation is disconnected from the game interface;

[0045] According to the separation relationship, it is determined to generate the game element in the construction area.

[0046] In some embodiments, generating the game element in the construction area includes:

[0047] generating, in the construction area, game element model information to be generated of the game element that matches the text task information;

[0048] The game element is generated in the construction area according to the to-be-generated game element model based on the determined disconnection relationship between the trigger information and the game interface.

[0049] In some embodiments, generating the to-be-generated game element model of the game element matching the text task information in the construction area includes:

[0050] constructing a virtual model image of the game element located in the construction area;

[0051] The virtual model image is rendered into the construction area as the game element model to be generated.

[0052] In some embodiments, further comprising:

[0053] When it is determined that the trigger operation does not meet the generation requirements of the game element in the construction area of the game interface according to the text information, an abnormal game element model of the game element matching the text task information is generated in the construction area.

[0054] The present application also provides a device for generating game elements, comprising:

[0055] An acquisition unit, configured to acquire trigger information of a triggered game task information in a game task list in a game interface; wherein the game task information is text information describing the current player in the game interface and corresponding to the construction of a game element;

[0056] a determining unit, configured to determine whether the trigger information satisfies a generation requirement of the game element in a construction area of the game interface and can be generated according to the text information;

[0057] A generating unit is configured to generate the game element in the building area when the determination result of the determining unit is yes.

[0058] This application also provides an interactive method for building game elements, including:

[0059] In response to a request to access the game interface, sending a game task list generated for the current player; wherein the game task list includes text information describing the game elements that the current player can build in the game interface;

[0060] Based on the triggering of the game task list displayed in the game interface, sending a request for generating game task information in the game task list;

[0061] In response to the generation request, determining whether the touch information satisfies a generation requirement of the game element in a construction area of the game interface and can be generated according to the text information;

[0062] If so, the game element is generated in the construction area.

[0063] The present application also provides an interactive device for building game elements, comprising:

[0064] A first sending unit is configured to send a game task list generated for a current player in response to an access request to a game interface; wherein the game task list includes text information describing game elements that the current player can construct in the game interface;

[0065] A second sending unit is configured to send a request for generating game task information in the game task list based on triggering the game task list displayed in the game interface;

[0066] a determining unit, configured to determine, in response to the generation request, whether the touch information satisfies a generation requirement of generating the game element according to the text information in a construction area of the game interface;

[0067] A generating unit is configured to generate the game element in the building area when the determination result of the determining unit is yes.

[0068] The present application also provides a computer storage medium for storing data generated by a network platform and a program for processing the data generated by the network platform;

[0069] When the program is read and executed by a processor, the program executes the method for generating game elements as described above; or, the program executes the interactive method for constructing game elements as described above.

[0070] The present application also provides an electronic device, comprising:

[0071] processor;

[0072] The memory is used to store a program for processing data generated by the network platform. When the program is read and executed by the processor, it executes the method for generating game elements as described; or, it executes the interactive method for constructing game elements as described.

[0073] Compared with the prior art, this application has the following advantages:

[0074] The present application provides a method for generating game elements that can display a game task list in the form of text information on a game interface, and the interface is located at the same level as the construction area for building the game element or the game interface (the construction area is part of the game interface). Therefore, there is no need to jump between multiple interfaces during the generation of the game element. By triggering the game task information in the game task list, it is possible to determine whether a game element is generated in the construction area. Therefore, there is no need to load and store a large number of task graphics in the interface, thereby reducing the amount of resource loading and resource storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1 This is a flowchart of an embodiment of a method for generating game elements provided by the present application;

[0076] Figure 2 This is a schematic diagram of a first embodiment scenario of generating a game element on a game interface in an embodiment of a method for generating a game element provided by the present application;

[0077] Figure 3 This is a schematic diagram of a second embodiment scenario of generating a game element on a game interface in an embodiment of a method for generating a game element provided by this application;

[0078] Figure 4 This is a structural diagram of an embodiment of a device for generating game elements provided by the present application;

[0079] Figure 5 This is an interactive schematic diagram of an embodiment of an interactive method for building game elements provided by the present application;

[0080] Figure 6 This is a schematic structural diagram of an embodiment of an interactive device for building game elements provided by the present application;

[0081] Figure 7 It is a structural diagram of an electronic device embodiment provided by this application. DETAILED DESCRIPTION

[0082] The following description sets forth many specific details to facilitate a thorough understanding of the present application. However, the present application 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 application. Therefore, the present application is not limited to the specific implementations disclosed below.

[0083] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. Descriptive terms such as "a," "a," "a first," and "a second," etc., used in this application and the appended claims, are not intended to limit quantity or sequence, but are used to distinguish information of the same type from one another.

[0084] Based on the above background technology, it can be seen that the invention concept of the method for generating game elements provided by this application is generated from the complex construction problems existing in the process of building game scenes in business-type construction games. As described in the background technology, for the construction process of business-type construction games, it is necessary to click the construction button to enter a new construction interface or a secondary pop-up window construction interface, click or drag the model image to be built to the main game interface scene, and then complete the construction process of the game construction object. This construction process requires game players to memorize all the items to be built, and complete the construction by searching after entering the construction interface. Therefore, for the game interface, when the number of construction items is large, the difficulty of finding the construction items increases accordingly, and the game interface also has certain requirements for providing a display layout of construction items; the experience is not friendly to game players.

[0085] Based on the problems existing in the above-mentioned business construction games, there are two methods in the prior art.

[0086] Method 1: After clicking a task in the game interface, the player is automatically redirected to the construction interface for the items required for the task. Once the player completes the construction and places it in the required area, the task is completed. For example, the player is guided to click a build button, and the construction item is automatically generated at the player's designated location. The task is then displayed as complete, and the player is guided to check in. This process requires at least four operations to complete the construction task. If there are multiple construction items, the player needs to memorize the items to be constructed and repeat the above four operations each time to complete the construction of each item. Obviously, method 1 has the disadvantages of complex construction operations and high construction costs.

[0087] Method 2: After clicking a construction task, an arrow will appear, directing the player to the next button to click, allowing them to enter the corresponding construction item selection interface. Once the construction task is completed, the player will be redirected from the construction item selection interface to the main game interface. This method has at least two problems. First, it requires too many clicks, and due to the presence of the arrow, the game interface is locked, meaning it is inoperable, except for the area where the arrow points. Therefore, the player cannot operate areas outside the arrow's direction, limiting their freedom in the game. Second, while the arrow can guide the player's operations, it requires switching between different interfaces, complicating the construction process and increasing the number of resources required to record them, which in turn occupies a large amount of resource storage space.

[0088] In view of the problems existing in the above-mentioned prior art, this application provides a method for generating game elements, such as Figure 1 As shown, Figure 1 : is a flowchart of an embodiment of a method for generating game elements provided by the present application, and the embodiment of the method includes:

[0089] Step S101: Acquire trigger information of the triggered game task information in the game task list in the game interface; wherein the game task information in the game task list is text information for describing the current player in the game interface and corresponding to the construction of the game element;

[0090] Step S102: Determine whether the trigger information satisfies the generation requirement of the game element in the construction area of the game interface according to the text information.

[0091] Step S103: If yes, then generate the game element in the construction area.

[0092] The steps S101 to S103 are described in two embodiments, as follows:

[0093] First embodiment:

[0094] like Figure 2 As shown, Figure 2 This is a scene diagram of a first embodiment of generating game elements in a game interface in an embodiment of a method for generating game elements provided by this application.

[0095] The purpose of step S101 is to obtain trigger information. Before describing the implementation process of step S101, the technical terms in step S101 are explained as follows:

[0096] In this embodiment, the game interface can be understood as a game interface related to business construction. The game interface may include a construction area, a game task list area, etc. The construction area and the game task list area are in the same level of interface layer, that is: the game task list and the interface for building game tasks belong to the same level; or, the game interface and the interface of the game task list may belong to the same level, and the game tasks are built on the game interface; for example: the interface for building a garden is displayed in the current game page, and the game task list is also displayed in the interface for building a garden, which may include one or more tasks such as building a small farm, building a ranch, and building a bridge. In this embodiment, the game task list can be located in the construction interface of the game task in the form of a floating window switch.

[0097] The game task list can be understood as a list of game task information that the current player has in the game interface, such as task information for building game elements, etc.; it can be displayed on the game interface of the terminal.

[0098] In this embodiment, the game task information is text information that can be used to describe the game task.

[0099] The game task is a task of building a game element, and the text information is text content describing the task of building a game element.

[0100] The trigger information includes the text information and the touch information of the game interface; in other words, the trigger information may be information that triggers the text content describing the task of building a game element in the game task information list; for example: the text information may be "build a small farm"; the trigger information may be a drag trigger operation or a voice trigger operation for "build a small farm".

[0101] The specific implementation process of step S101 may include:

[0102] Step S101-1: Obtain the player information of the current player;

[0103] Step S101-2: generating the game task information list in the game interface according to the player information;

[0104] Step S101 - 3 : In response to a triggering operation of the game task information in the game task information list, the triggering information is obtained.

[0105] The player information in step S101 - 1 may be information such as the player's game authority and / or game level in the game interface.

[0106] Step S101-2 may be to generate the game task information list corresponding to the game authority and / or game level of the player based on the game authority and / or game level. For example, when the player is at the beginner level (novice player) in the game interface, the game elements that the player can build in the game interface may be basic elements, and / or the area in the game interface where the player can build game elements may be set based on the player's game authority. Of course, any other content related to determining the construction of game elements based on player information may also be included. Here, only game authority and game level are used as examples for illustration.

[0107] The triggering operation in step S101-3 may be implemented in at least two embodiments for the game task information in the game task list, namely, a drag triggering operation or a voice triggering operation. In this embodiment, the drag triggering operation is mainly described as an example. That is, when the triggering operation is the drag triggering operation, step S101-3 may include:

[0108] Step S101-3-1: In response to the drag trigger operation on the game task information in the game task information list, obtain the text information, as well as the starting position and the ending position of the drag track.

[0109] The above is a description of step S101 in the first embodiment. Based on the above, the specific implementation process of step S102 in the first embodiment is described as follows:

[0110] The construction area in step S102 can be understood as an area in the game interface for placing game elements. In this area, complete game elements can be generated, or game elements of corresponding levels can be generated according to the generation level, that is, advanced game elements can be generated. The specific type and method of generating game elements are not limited.

[0111] The specific implementation process of step S102 may include:

[0112] Step S102-11: Determine whether the starting position of the drag track of the drag trigger operation is within the list area of the game element task list; specifically, the starting coordinates of the drag trigger operation in the game interface can be obtained to determine whether the starting coordinates are within the list area.

[0113] Step S102-12: If yes, determine whether the acquired end position of the dragging track is outside the list area; specifically, obtain the end coordinates of the drag trigger operation in the game interface to determine whether the end coordinates are outside the list area.

[0114] Step S102-13: If yes, determine whether the trigger operation meets the generation requirement.

[0115] The purpose of step S102-11 and step S102-12 is to determine whether the dragging track of the drag trigger operation is dragged from within the list area to outside the list area. If so, the generation requirement is met and step S103 can be executed.

[0116] To further improve the accuracy and completeness of constructing the game elements and enhance user experience, before executing step S103, step S102-13 may further include:

[0117] Step S102-131: Determine whether the construction area outside the list area corresponding to the end point of the dragging trajectory meets the accommodation requirements for generating the game element; the accommodation requirements may include whether other game elements exist in the construction area or whether construction is allowed in the construction area. The determination process may be based on the coordinates of the end point of the dragging trajectory in the game interface, and determine whether the map area corresponding to the coordinates meets the accommodation requirements. The map area may include the construction area, the area with existing game elements, etc., that is, the map information representing the layout of the game scene.

[0118] Step S102-132: If yes, determine that the trigger operation meets the generation requirement of generating the game element in the construction area.

[0119] To further improve the accuracy and completeness of constructing the game elements and enhance the user experience, before executing step S103, steps S102-131 may further include:

[0120] Step S102-131-11: Obtaining game element materials provided for generating the game elements;

[0121] Step S102-131-12: Determine whether the game element material meets the material requirements for generating the game element; if so, execute step S102-132.

[0122] The above is a description of the specific implementation process of step S102 in the first embodiment.

[0123] In the first embodiment, the specific implementation process of step S103 may include:

[0124] Step S103-1-1: generating to-be-generated game element model information of the game element matching the text task information in the construction area;

[0125] Step S103-1-2: generating the game element in the construction area according to the to-be-generated game element model based on the determined disconnection relationship between the trigger information and the game interface.

[0126] The specific implementation process of step S103-1-1 may include:

[0127] Step S103-1-11: Construct a virtual model image of the game element located in the construction area; in this embodiment, the virtual model image can be a translucent game element image corresponding to the game element model to be generated, or it can be a game element outline image corresponding to the game element model to be generated.

[0128] Step S103-1-12: Rendering the virtual model image as the to-be-generated game element model to the construction area. The purpose of step S103-1-12 is to allow the player to intuitively observe that the construction area can realize the construction of game elements.

[0129] The specific implementation process of step S103-1-2 may include:

[0130] Step S103-1-21: Obtain the end point position of the drag track of the drag trigger operation;

[0131] Step S103-1-22: Determine whether a touch signal exists at the end point of the dragging trajectory with respect to the game interface. Specifically, whether a touch signal exists between the touch point corresponding to the end point of the dragging trajectory and the game interface can be determined by determining whether the coordinates of the end point of the dragging trajectory are [0, 0]. If so, no touch signal exists. Alternatively, whether a touch signal exists can be determined by determining whether a capacitive signal exists between the touch point corresponding to the end point of the dragging trajectory and the game interface.

[0132] Step S103-1-23: If not, determining that the drag trigger operation is disconnected from the game interface;

[0133] Step S103-1-24: Determine, based on the disconnection relationship, to generate the game element in the construction area according to the model of the game element to be generated. Specifically, render the game element on the game interface in the construction area according to the model of the game element to be generated.

[0134] The above is the description of the first embodiment provided by this application.

[0135] Second embodiment:

[0136] like Figure 3 As shown, Figure 3This is a schematic diagram of a second embodiment scenario of generating game elements in a game interface in an embodiment of a method for generating game elements provided in this application.

[0137] The purpose of step S101 is to obtain trigger information. Before describing the implementation process of step S101, the technical terms in step S101 are explained as follows:

[0138] In this embodiment, the game interface can be understood as a game interface related to management and construction. The game interface may include a construction area, a game task list area, etc. The construction area and the game task list area are located at the same interface level, that is, the game task list and the interface for building game tasks belong to the same level. In this embodiment, the game task list can be located in the construction interface of the game task in the form of a floating window switch.

[0139] like Figure 2 and Figure 3 As shown, the game task list can be understood as a list of game task information currently held by the player in the game interface, such as task information for constructing game elements, etc.; it can be displayed on the game interface of the terminal. In this embodiment, the game task information is text information that can be used to describe the game task. The game task is a task for constructing a game element, and the text information is the text content describing the task for constructing a game element. The trigger information is information that triggers the text content describing the task for constructing a game element in the game task information list; for example, it can be a drag trigger operation or a voice trigger operation for the text information.

[0140] The specific implementation process of step S101 may include:

[0141] Step S101-1: Displaying the game task information list in the game interface;

[0142] Step S101 - 2 : In response to a triggering operation of the game task information in the game task information list, the triggering information is obtained.

[0143] In step S101-1, the game task list can be displayed in the game interface based on the player information of the current player. The player information can be information such as the player's game authority and / or game level in the game interface. The game task list can be based on the player's game authority and / or game level, and display the game task information list corresponding to the game authority and / or game level. For example, when the player is at the primary level of a novice player in the game interface, the game elements that the player can build in the game interface can be basic elements, and / or the area where the player can build game elements in the game interface is set according to the player's game authority. Of course, it can also include any other relevant content for determining the construction of game elements based on player information. Here, only game authority and game level are used as examples.

[0144] The triggering operation in step S101-3 may be implemented by using at least two embodiments of the game task information in the game task list, namely, a drag triggering operation or a voice triggering operation. The specific implementation process may be:

[0145] When the trigger operation is the drag trigger operation, step S101-3 may include:

[0146] Step S101-3-1: In response to the drag trigger operation on the game task information in the game task information list, obtain the text information, as well as the starting position and the ending position of the drag track.

[0147] The above is a description of step S101 in the second embodiment. The implementation of step S101 in the first embodiment and the second embodiment is the same. In the second embodiment, the specific implementation process of step S102 is described as follows:

[0148] The construction area in step S102 can be understood as an area in the game interface for placing game elements. In this area, complete game elements can be generated, or game elements of corresponding levels can be generated according to the generation level, that is, advanced game elements can be generated. The specific type and method of generating game elements are not limited.

[0149] The specific implementation process of step S101-3 may include:

[0150] Step S101-3-2: In response to a voice trigger operation on the game task information in the game task information list, the text information and the voice operation touch signal are obtained. When the trigger operation is the voice trigger operation, the step S102: determining whether the trigger information satisfies the generation requirements of the game element in the construction area of the game interface according to the text information can be generated. The specific implementation process in the second embodiment may include:

[0151] Step S102-21: Acquire the trigger information generated based on the voice operation touch position; wherein the trigger information includes task voice information;

[0152] Step S102-22: determining whether the keyword recognized in the task voice information matches the text information in the game task information;

[0153] Step S102-23: If yes, determine whether the trigger information meets the generation requirement.

[0154] The task voice information in step S102-21 may be the voice information entered by the player in response to the game task text information in the game task list.

[0155] The step S102-22 may include:

[0156] Step S102-221: identifying keywords in the task voice information;

[0157] Step S102-222: Match the keyword with the text information in the game task list. If there is matching text information, it is determined that the trigger information meets the generation requirement.

[0158] To further improve the accuracy and completeness of constructing the game elements and enhance user experience, before executing step S103, steps S102-23 may further include:

[0159] Step S102-231: Determine whether a preset construction area in the game interface meets the accommodation requirements for generating the game element; wherein the construction area is an area used to generate the game element;

[0160] Step S102-232: If yes, determine that the trigger operation meets the generation requirement of generating the game element in the construction area.

[0161] The specific implementation process of step S102-231 may include:

[0162] Step S102-231-11: Obtain game element materials provided for generating the game element; wherein the game element materials can be understood as the components included in the game element.

[0163] Step S102-231-12: Determine whether the game element material meets the material requirements for generating the game element; if so, execute step S102-232.

[0164] The above is a description of the specific implementation process of step S102 in the second embodiment.

[0165] Based on the above content, in the second embodiment, the specific implementation process of step S103 may include:

[0166] Step S103-2-1: generating to-be-generated game element model information of the game element matching the text task information in the construction area;

[0167] Step S103-2-2: Based on the determined disconnection relationship between the trigger information and the game interface, the game element is generated in the construction area according to the model of the game element to be generated.

[0168] The specific implementation process of step S103-2-1 may include:

[0169] Step S103-2-11: Construct a virtual model image of the game element located in the construction area; in this embodiment, the virtual model image can be a translucent game element image corresponding to the game element model to be generated, or it can be a game element outline image corresponding to the game element model to be generated.

[0170] Step S103-2-12: Rendering the virtual model image as the to-be-generated game element model to the construction area. The purpose of step S103-2-12 is to allow the player to intuitively observe that the construction area can realize the construction of game elements.

[0171] In the second embodiment, the specific implementation process of step S103-2-2 may include:

[0172] Step S103-2-21: Obtain the touch operation position of the voice trigger operation in the trigger information;

[0173] Step S103-2-22: Determine whether a touch signal exists at the touch operation position with respect to the game interface. Specifically, whether a touch signal exists between the touch point corresponding to the touch operation position and the game interface can be determined by determining whether the coordinates of the drag touch operation position are [0, 0]. If so, no touch signal exists. Alternatively, whether a touch signal exists can be determined by determining whether a capacitive signal exists between the touch point corresponding to the touch operation position and the game interface.

[0174] Step S103-2-23: If not, determining that the touch operation position and the game interface are disconnected;

[0175] Step S103-2-24: Determine, based on the disconnection relationship, to generate the game element in the construction area according to the model of the game element to be generated. Specifically, render the game element on the game interface in the construction area according to the model of the game element to be generated.

[0176] Based on the above, it can be understood that the generation of the game element in the construction area may not depend on the disconnection between the trigger information and the game interface. For example, according to the set time threshold, when the trigger time of the trigger information is greater than or equal to the time threshold, the game element is generated.

[0177] The above is a description of the second embodiment provided by this application. As can be seen from the above content, the specific implementation processes of steps S101, S103, and S104 in the first and second embodiments are similar. Therefore, similar parts can be referred to the description of the first embodiment, and the second embodiment is only a summary description.

[0178] Regardless of the first embodiment or the second embodiment, it may further include:

[0179] When it is determined that the triggering operation does not satisfy the requirements for generating the game element in the construction area of the game interface according to the text information, an abnormal game element model of the game element matching the text task information is generated in the construction area. The abnormal game element model can be an abnormal virtual model image representing the abnormality. For example, a virtual model image with a red color can also be a virtual model image with abnormal text information.

[0180] The above is a description of an embodiment of a method for generating game elements provided by this application. This embodiment displays a game task list in the form of text information on the game interface, and is located at the same level of the interface as the construction area where the game element is constructed. Therefore, there is no need to jump between multiple interfaces during the game element generation process. By triggering the game task information in the game task list, it is possible to determine whether a game element is generated in the construction area. Therefore, there is no need to load and store a large number of task graphics in the interface, thereby reducing the amount of resource loading and resource storage.

[0181] The above is a detailed description of an embodiment of a method for generating a game element provided by this application. Corresponding to the embodiment of a method for generating a game element provided above, this application also discloses an embodiment of a device for generating a game element. Figure 4 Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0182] like Figure 4 As shown, Figure 4 : is a structural diagram of an embodiment of a device for generating game elements provided by the present application, the device embodiment comprising:

[0183] The acquisition unit 401 is used to obtain the trigger information of the game task information triggered in the game task list in the game interface; wherein the game task information is text information used to describe the current player in the game interface, corresponding to the construction game element; the trigger information includes the text information, and touch information with respect to the game interface; the interface of the construction game task and the interface of the game task list belong to the same level.

[0184] The determination unit 402 is configured to determine whether the trigger information satisfies a requirement for generating the game element according to the text information in a construction area of the game interface.

[0185] The generating unit 403 is configured to generate the game element in the building area according to the determined disconnection relationship between the trigger information and the game interface when the determination result of the determining unit is yes.

[0186] The acquisition unit 401 may include: a first acquisition subunit, a generation subunit, and a second acquisition subunit; the first acquisition subunit is configured to acquire the player information of the current player; the generation subunit is configured to generate the game task information list in the game interface based on the player information; the second acquisition subunit is configured to acquire the trigger information in response to a trigger operation on the game task information in the game task information list; the second acquisition subunit is configured to acquire the text information, as well as the starting position and ending position of the dragging track in response to a trigger operation on the game task information in the game task information list.

[0187] In a first embodiment, the determination unit 402 may include: a first determination subunit, a second determination subunit and a third determination subunit; the first determination subunit is used to determine whether the starting position of the drag trajectory of the drag trigger operation is within the list area of the game element task list; the second determination subunit is used to determine whether the end position of the drag trajectory is outside the list area when the determination result of the first determination subunit is yes; the third determination subunit is used to determine that the trigger operation meets the generation requirements when the determination result of the second determination subunit is yes.

[0188] In a first embodiment, the third determination subunit includes: a containment requirement determination subunit for determining whether the construction area outside the list area corresponding to the end point of the dragging trajectory meets the containment requirement for generating the game element; if so, the third determination subunit is specifically configured to determine whether the triggering operation meets the generation requirement for generating the game element within the construction area. When the determination result of the containment requirement determination subunit is yes, the system may further include: a material acquisition subunit for acquiring game element materials provided for generating the game element; and a material requirement determination subunit for determining whether the game element materials meet the material requirements for generating the game element.

[0189] In a first embodiment, the generation unit includes: an acquisition subunit, a first determination subunit, a second determination subunit and a generation subunit; the acquisition subunit is used to acquire the end point position of the drag track of the drag trigger operation; the first determination subunit is used to determine whether there is a touch signal for the end point position of the drag track for the game interface; the second determination subunit is used to determine that the relationship between the drag trigger operation and the game interface is disconnected when the determination result of the first determination subunit is no; the generation subunit is used to generate the game element in the construction area when the determination result of the second determination subunit is disconnected.

[0190] In a second embodiment, the second acquisition subunit in the acquisition unit 401 is configured to acquire the text information and the voice operation touch signal in response to a voice trigger operation on the game task information in the game task information list.

[0191] In a second embodiment, the determination unit 402 includes: an acquisition subunit, a first determination subunit, and a second determination subunit; the acquisition subunit is configured to acquire the trigger information generated based on the voice operation touch position; wherein the trigger information includes task voice information; the first determination subunit is configured to determine whether the keywords recognized in the task voice information match the text information in the game task information; and the second determination subunit is configured to determine that the trigger information meets the generation requirement when the determination result of the first determination subunit is yes. The second determination subunit may further include: an accommodation requirement determination subunit and a generation requirement determination subunit, the accommodation requirement determination subunit being configured to determine whether a pre-set construction area in the game interface meets the accommodation requirement for generating the game element; wherein the construction area is an area for generating the game element; and the generation requirement determination subunit is configured to determine that the trigger operation meets the generation requirement for generating the game element within the construction area when the determination result of the accommodation requirement determination subunit is yes. The generation requirement determination subunit may further include: a material acquisition subunit and a material requirement determination subunit, wherein the material acquisition subunit is used to acquire game element materials provided for generating the game element; and the material requirement determination subunit is used to determine whether the game element materials meet the material requirements for generating the game element.

[0192] In a second embodiment, the generation unit 403 may include: an acquisition subunit, a first determination subunit, a second determination subunit and a third determination subunit, the acquisition subunit being used to acquire the touch operation position of the voice trigger operation in the trigger information; the first determination subunit being used to determine whether there is a touch signal at the touch operation position for the game interface; the second determination subunit being used to determine that the voice trigger operation and the game interface are disconnected when the determination result in the first determination subunit is no; the third determination subunit being used to determine that the game element is generated in the construction area based on the disconnected relationship.

[0193] Regardless of the first or second embodiment, the generation unit 403 may include: a model generation subunit, configured to generate, in the construction area, model information of the game element to be generated that matches the text task information; the generation unit 403 may specifically be configured to generate the game element in the construction area according to the model of the game element to be generated based on the determined disconnection relationship between the trigger information and the game interface. The model generation subunit includes: a construction subunit and a rendering subunit, the construction subunit being configured to construct a virtual model image of the game element located in the construction area; and the rendering subunit being configured to render the virtual model image as the model of the game element to be generated into the construction area.

[0194] Regardless of the first embodiment or the second embodiment, it can include: an abnormal model generation unit, which is used to generate an abnormal game element model of the game element that matches the text task information in the construction area when it is determined that the trigger operation does not meet the generation requirements of the game element in the construction area of the game interface according to the text information.

[0195] The above is a description of an embodiment of a device for generating game elements provided in this application. For the above embodiment of the device, reference may be made to the description of steps S101 to S103 of the above method embodiment, which will not be repeated here.

[0196] Based on the above content, this application also provides an interactive method for building game elements, such as Figure 5 As shown, Figure 5 : is a flowchart of an embodiment of an interactive method for building game elements provided by the present application, the interactive method embodiment comprising:

[0197] Step S501: In response to an access request to the game interface, a game task list generated for the current player is sent; wherein the game task list includes text information describing the game elements that the current player can build in the game interface; the interface of the game task list and the interface for building game elements are at the same level interface.

[0198] Step S502: Based on the triggering of the game task list displayed in the game interface, sending a request for generating game task information in the game task list; wherein the generation request carries trigger information, and the trigger information includes the text information and touch information related to the game interface;

[0199] Step S503: In response to the generation request, determining whether the touch information satisfies a generation requirement of the game element according to the text information in the construction area of the game interface;

[0200] Step S504: If yes, then generating the game element in the construction area according to the determined disconnection relationship between the touch information and the game interface.

[0201] The contents of steps S501 to S504 may refer to the contents of steps S101 to S103 above, and will not be repeated here.

[0202] It is understandable that when the game element is generated in the construction area, text information for describing the game element and / or prompt information for the current player to build the next game element may also be generated.

[0203] Based on the above content, this application also provides an interactive device for building game elements, such as Figure 6 As shown, Figure 6 : is a schematic structural diagram of an embodiment of an interactive device for building game elements provided by the present application, wherein the interactive device embodiment includes:

[0204] The first sending unit 601 is configured to send a game task list generated for the current player in response to a request to access the game interface; wherein the game task list includes text information describing the game elements that the current player can construct in the game interface;

[0205] The second sending unit 602 is configured to send a request for generating game task information in the game task list based on triggering the game task list displayed in the game interface; wherein the generation request carries trigger information, and the trigger information includes the text information and touch information related to the game interface;

[0206] A determination unit 603 is configured to determine, in response to the generation request, whether the touch information satisfies a generation requirement of generating the game element according to the text information in a construction area of the game interface;

[0207] The generating unit 604 is configured to generate the game element in the building area according to the determined disconnection relationship between the touch information and the game interface when the determination result of the determining unit 603 is yes.

[0208] Based on the above content, the present application also provides a computer storage medium for storing data generated by a network platform and a program for processing the data generated by the network platform;

[0209] When the program is read and executed by the processor, the contents of steps S101 to S103 in the above-mentioned embodiment of the method for generating game elements are executed; or the contents of steps S501 to S504 in the above-mentioned embodiment of the interactive method for building game elements are executed.

[0210] Based on the above content, the present application also provides an electronic device, such as Figure 7 As shown, the electronic device embodiment includes:

[0211] Processor 701;

[0212] Memory 702 is used to store a program for processing data generated by a network platform. When the program is read and executed by the processor, the program executes the contents of steps S101 to S103 in the above-mentioned embodiment of the method for generating game elements; or, executes the contents of steps S501 to S504 in the above-mentioned embodiment of the interactive method for constructing game elements.

[0213] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0214] 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.

[0215] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer-readable instructions, 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 media such as modulated data signals and carrier waves.

[0216] 2. Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present application 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-ROM, optical storage, etc.) containing computer-usable program code.

[0217] Although the present application is disclosed as above with the preferred embodiments, it is not intended to limit the present application. Any person skilled in the art may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

Claims

1. A method for generating game elements, characterized in that: include: Obtaining trigger information of a triggered game task information in a game task list in a game interface; wherein the game task information is text information describing the current player in the game interface and corresponding to the construction of a game element; Determining whether the trigger information satisfies a generation requirement of the game element in a construction area of the game interface and can be generated according to the text information; If so, the game element is generated in the construction area.

2. The method for generating game elements according to claim 1, wherein: The step of obtaining trigger information of the triggered game task information in the game task list in the game interface includes: Displaying the game task list in the game interface; In response to a triggering operation of the game task information in the game task list, the triggering information is obtained.

3. The method for generating game elements according to claim 2, wherein: The obtaining of the trigger information in response to a triggering operation on the game task information in the game task list includes: In response to a drag trigger operation on the game task information in the game task list, the text information, and the starting position and ending position of the drag track are acquired.

4. The method for generating game elements according to claim 3, wherein: The determining whether the trigger information satisfies a generation requirement of the game element in the construction area of the game interface and can be generated according to the text information includes: Determining whether the acquired starting position of the drag track of the drag trigger operation is within the list area of the game task list; If yes, determining whether the acquired end position of the dragging track is outside the range of the list area; If so, it is determined that the triggering operation meets the generation requirement.

5. The method for generating game elements according to claim 4, characterized in that: The determining that the triggering operation satisfies the generation requirement further includes: Determining whether a construction area outside the list area corresponding to the end position of the dragging track meets the accommodation requirements for generating the game element; If so, it is determined that the triggering operation satisfies the generation requirement for generating the game element in the construction area.

6. The method for generating game elements according to claim 5, characterized in that: When determining whether the construction area outside the list area corresponding to the end point of the dragging track meets the accommodation requirement for generating the game element, if the answer is yes, the method further includes: Obtaining game element materials provided for generating the game element; Determine whether the game element material meets the material requirements for generating the game element.

7. The method for generating game elements according to claim 3, wherein: Generating the game element in the construction area includes: Obtaining the end point of the drag track of the drag trigger operation; Determine whether there is a touch signal on the game interface at the end position of the dragging track; If not, determining that the drag trigger operation is disconnected from the game interface; The game element is generated in the construction area according to the separation relationship.

8. The method for generating game elements according to claim 2, wherein: The obtaining of the trigger information in response to a triggering operation on the game task information in the game task list includes: In response to a voice trigger operation on the game task information in the game task list, the text information and the voice operation touch signal are acquired.

9. The method for generating game elements according to claim 8, characterized in that: The determining whether the trigger information satisfies a generation requirement of the game element in the construction area of the game interface and can be generated according to the text information includes: Acquire the trigger information generated based on the voice operation touch position; wherein the trigger information includes task voice information; determining whether the keyword identified in the task voice information matches the text information in the game task information; If so, it is determined that the trigger information meets the generation requirement.

10. The method for generating game elements according to claim 9, characterized in that: The determining that the trigger information meets the generation requirement further includes: Determining whether a preset construction area in the game interface meets the accommodation requirements for generating the game element; wherein the construction area is an area used to generate the game element; If so, it is determined that the trigger information meets the generation requirement for generating the game element in the construction area.

11. The method for generating game elements according to claim 10, wherein: When determining whether the preset construction area in the game interface meets the accommodation requirement for generating the game element, if the answer is yes, the method further includes: Obtaining game element materials provided for generating the game element; Determine whether the game element material meets the material requirements for generating the game element.

12. The method for generating game elements according to claim 8, wherein: Generating the game element in the construction area includes: Obtaining a touch operation position of a voice-triggered operation in the trigger information; Determining whether a touch signal exists at the touch operation position for the game interface; If not, it is determined that the voice triggering operation is disconnected from the game interface; According to the separation relationship, it is determined to generate the game element in the construction area.

13. The method for generating game elements according to claim 1, wherein: Generating the game element in the construction area includes: generating, in the construction area, a to-be-generated game element model of the game element that matches the text information; The game element is generated in the construction area according to the to-be-generated game element model based on the determined disconnection relationship between the trigger information and the game interface.

14. The method for generating game elements according to claim 13, wherein: The step of generating a to-be-generated game element model of the game element matching the text information in the construction area includes: constructing a virtual model image of the game element located in the construction area; The virtual model image is rendered into the construction area as the game element model to be generated.

15. The method for generating game elements according to claim 1, wherein: Also includes: When determining whether the trigger information satisfies the generation requirements of the game element in the construction area of the game interface and can be generated according to the text information, if it is not, an abnormal game element model of the game element matching the text information is generated in the construction area.

16. A device for generating game elements, characterized in that: include: An acquisition unit, configured to acquire trigger information of a triggered game task information in a game task list in a game interface; wherein the game task information is text information describing the current player in the game interface and corresponding to the construction of a game element; a determining unit, configured to determine whether the trigger information satisfies a generation requirement of the game element in a construction area of the game interface and can be generated according to the text information; A generating unit is configured to generate the game element in the building area when the determination result of the determining unit is yes.

17. An interactive method for building game elements, characterized in that include: In response to a request to access the game interface, sending a game task list generated for the current player; wherein the game task list includes text information describing the game elements that the current player can build in the game interface; Based on the triggering of the game task list displayed in the game interface, sending a request for generating game task information in the game task list; In response to the generation request, determining whether the triggering information of the trigger satisfies a generation requirement of the game element in a construction area of the game interface and can be generated according to the text information; If so, the game element is generated in the construction area.

18. An interactive device for building game elements, characterized in that: include: A first sending unit is configured to send a game task list generated for a current player in response to an access request to a game interface; wherein the game task list includes text information describing game elements that the current player can construct in the game interface; A second sending unit is configured to send a request for generating game task information in the game task list based on triggering the game task list displayed in the game interface; a determining unit, configured to determine, in response to the generation request, whether the triggering information of the trigger satisfies a generation requirement of generating the game element according to the text information in a construction area of the game interface; A generating unit is configured to generate the game element in the building area when the determination result of the determining unit is yes.

19. A computer storage medium for storing data generated by a network platform and a program for processing the data generated by the network platform; When the program is read and executed by a processor, it executes the method for generating a game element according to any one of claims 1 to 15; or, it executes the interactive method for constructing a game element according to claim 17.

20. An electronic device comprising: processor; A memory for storing a program for processing data generated by a network platform, wherein when the program is read and executed by the processor, the program executes the method for generating a game element as described in any one of claims 1 to 15; or, executes the interactive method for constructing a game element as described in claim 17.

Citation Information

Patent Citations

  • Construction control method and device in game

    CN109663346A

  • Game information processing method and device, electronic equipment and storage medium

    CN113457148A