Layer processing method and apparatus in game, and electronic terminal

By responding to sliding operations and editing operations in the in-game graphical user interface, determining and processing target layers of multiple layers is solved, and batch processing efficiency is achieved when there are too many layers, and efficient batch selection and processing is achieved.

WO2025025930A1PCT designated stage expired Publication Date: 2025-02-06NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/101870
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-31
Filing Date
2024-06-27
Publication Date
2025-02-06

AI Technical Summary

Technical Problem

In the game, when the number of layers reaches one hundred or even higher, it is difficult for players to select multiple decals in a long list of layers, resulting in inefficient batch processing.

Method used

By displaying multiple layers set on the surface of the virtual object in the graphical user interface, the target layer involved in the sliding track is determined in response to the sliding operation, and all target layers are uniformly processed according to the edit operation.

Benefits of technology

It realizes a fast and efficient way to batch select layers, improves the efficiency of batch selection and batch processing of layers when there are many layers, and alleviates the problem of inefficient batch processing when there are too many layers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024101870_06022025_PF_FP_ABST
    Figure CN2024101870_06022025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of games. Provided are a layer processing method and apparatus in a game, and an electronic terminal, which alleviate the technical problem of the efficiency of batch processing of a plurality of layers being low when the number of layers is large. The method comprises: displaying, in a graphical user interface, a plurality of layers provided on the surface of a virtual object; in response to a sliding operation on any of the layers, determining from the plurality of layers at least one target layer involved in a sliding trajectory of the sliding operation; and in response to an editing operation on the layer, jointly processing, on the basis of the editing operation, setting effects of all of the target layers on the virtual object.
Need to check novelty before this filing date? Find Prior Art

Description

Layer processing method, device and electronic terminal in game

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application number 202310955645.X, filed on July 31, 2023, entitled “Layer processing method, device and electronic terminal in game”, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present disclosure relates to the field of game technology, and in particular to a method, device, and electronic terminal for processing layers in a game. Background Art

[0004] Currently, players can select and edit layers in games. For example, the decal editing system in racing games generally uses a layer manager to select and edit decals.

[0005] However, when the number of layers reaches 100 or more, it becomes difficult for players to select multiple decals within a long list of layers, affecting the efficiency of batch processing of multiple layers. Therefore, batch processing of multiple layers is less efficient when there are a large number of layers.

[0006] Summary of the Invention

[0007] The purpose of the present disclosure is to provide a layer processing method, device and electronic terminal in a game to alleviate the technical problem of low efficiency in batch processing of multiple layers when the number of layers is large.

[0008] In a first aspect, embodiments of the present disclosure provide a method for processing layers in a game, wherein a terminal device provides a graphical user interface, wherein the graphical user interface includes at least a portion of a game scene of the game, and wherein the game scene includes a virtual object controlled by the terminal device; the method comprises:

[0009] displaying a plurality of layers disposed on a surface of the virtual object in the graphical user interface;

[0010] In response to a sliding operation on any of the layers, determining at least one target layer involved in a sliding track of the sliding operation from the multiple layers;

[0011] In response to an editing operation on the layer, setting effects of all the target layers on the virtual object are processed together according to the editing operation.

[0012] In a second aspect, a layer processing device in a game is provided, which provides a graphical user interface through a terminal device, wherein the graphical user interface includes at least a portion of a game scene of the game, and the game scene includes virtual objects controlled by the terminal device; comprising:

[0013] a display module configured to display a plurality of layers disposed on a surface of the virtual object in the graphical user interface;

[0014] a determining module configured to, in response to a sliding operation on any of the layers, determine at least one target layer involved in a sliding track of the sliding operation from the multiple layers;

[0015] The processing module is configured to execute, in response to an editing operation on the layer, a common processing of setting effects of all the target layers on the virtual object according to the editing operation.

[0016] In a third aspect, an embodiment of the present disclosure provides an electronic terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the method described in the first aspect is implemented.

[0017] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the method described in the first aspect above.

[0018] The embodiments of the present disclosure bring the following beneficial effects:

[0019] The disclosed embodiments provide a method, device, and electronic terminal for processing layers in a game, which can respond to a sliding operation on any layer in a graphical user interface, determine at least one target layer involved in the sliding track of the layer sliding operation from multiple layers of the layer, and then respond to an editing operation on the layer layer, and jointly process the setting effects of all layer target layers on the layer virtual object according to the layer editing operation. In this solution, the target layer involved in the sliding track of the sliding operation can be determined from multiple layers through the sliding operation, and then all target layers are uniformly batch processed, realizing a fast and efficient way to batch select layers, which can meet the scenarios with a large number of layers and the need for batch layer operations, improve the efficiency of batch selecting and batch processing layers when there are a large number of layers, and alleviate the technical problem of low efficiency in batch processing of multiple layers when there are a large number of layers.

[0020] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the related technologies, the following briefly introduces the drawings required for use in the specific embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0022] FIG1 shows a schematic diagram of an application scenario provided by one embodiment of the present disclosure;

[0023] FIG2 shows a schematic structural diagram of a mobile phone provided by one embodiment of the present disclosure;

[0024] FIG3 shows a schematic diagram of a usage scenario of a touch terminal provided by one embodiment of the present disclosure;

[0025] FIG4 is a flowchart of a layer processing method in a game provided by one embodiment of the present disclosure;

[0026] FIG5 shows a schematic diagram of a touch terminal displaying a graphic user interface according to one embodiment of the present disclosure;

[0027] FIG6 is a schematic structural diagram of a layer processing device in a game provided by one embodiment of the present disclosure;

[0028] FIG7 shows a schematic structural diagram of an electronic device provided by one embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0030] The terms "including," "having," and any variations thereof, as used in the embodiments of the present disclosure, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to the process, method, product, or apparatus.

[0031] Currently, decal editing systems in racing games generally use a layer manager to batch select and edit decals. When the number of decals reaches 100 or more layers, it becomes difficult for players to select multiple decals within a long list of layers, resulting in inefficient batch processing of multiple layers.

[0032] Based on this, the embodiments of the present disclosure provide a method, device, and electronic terminal for layer processing in a game, which can alleviate the technical problem of low efficiency in batch processing of multiple layers when the number of layers is large.

[0033] In one embodiment of the present disclosure, the layer processing method in a game can be executed on a local terminal device or a server. When the layer processing method in a game is executed on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0034] In an optional embodiment, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the layer processing method in the game are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0035] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, conventionally downloading and installing the game program through an electronic device and running it. The local terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.

[0036] In one possible implementation, an embodiment of the present disclosure provides a layer processing method in a game, providing a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device mentioned above, or the client device in the cloud interaction system mentioned above.

[0037] For example, as shown in Figure 1, Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure. The application scenario may include a touch terminal (e.g., a mobile phone 102) and a server 101. The touch terminal may communicate with the server 101 via a wired network or a wireless network. The touch terminal is used to run a virtual desktop, which can interact with the server 101 through the virtual desktop to edit content in the server 101.

[0038] The touch terminal of this embodiment is described using a mobile phone 102 as an example. The mobile phone 102 includes components such as a radio frequency (RF) circuit 110, a memory 120, a touch screen 130, and a processor 140. Those skilled in the art will appreciate that the mobile phone structure shown in FIG2 does not limit the mobile phone and may include more or fewer components than shown, or combine or split certain components, or arrange the components differently. Those skilled in the art will appreciate that the touch screen 130 is a user interface (UI), and that the mobile phone 102 may include a user interface (UI) than shown or fewer.

[0039] The RF circuit 110 can also communicate with a network and other devices via wireless communications. The wireless communications can use any communication standard or protocol, including but not limited to Global System of Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0040] The memory 120 can be used to store software programs and modules. The processor 140 executes the various functional applications and data processing of the mobile phone 102 by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, at least one application required for a function, etc.; the data storage area may store data generated based on the use of the mobile phone 102, etc. In addition, the memory 120 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state memory device.

[0041] The touch screen 130 can be used to display a graphical user interface and receive user operations on the graphical user interface. The specific touch screen 130 may include a display panel and a touch panel. The display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. The touch panel may collect user contact or non-contact operations on or near it (for example, as shown in FIG3 , the user uses a finger 103 , a stylus, or any other suitable object or accessory to operate on or near the touch panel) and generate pre-set operation instructions. In addition, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch direction and posture, detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into information that the processor can process, and then sends it to the processor 140, and can receive commands sent by the processor 140 and execute them. In addition, the touch panel can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave, and any technology developed in the future can also be used to implement the touch panel. Furthermore, the touch panel can cover the display panel, and the user can operate on or near the touch panel covered on the display panel according to the graphical user interface displayed on the display panel. After the touch panel detects the operation on or near it, it transmits it to the processor 140 to determine the user input, and then the processor 140 provides a corresponding visual output on the display panel in response to the user input. In addition, the touch panel and the display panel can be implemented as two independent components or integrated.

[0042] The processor 140 is the control center of the mobile phone 102. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in the memory 120 and calling data stored in the memory 120, it executes various functions of the mobile phone 102 and processes data, thereby monitoring the mobile phone as a whole.

[0043] The embodiments of the present disclosure are further described below with reference to the accompanying drawings.

[0044] FIG4 is a flow chart of a layer processing method in a game provided by an embodiment of the present disclosure.

[0045] The method can be applied to a terminal device capable of presenting a graphical user interface (e.g., a computer, the mobile phone 102 shown in FIG. 2 , etc.), wherein the terminal device provides a graphical user interface, the graphical user interface includes at least a portion of a game scene, and the game scene includes virtual objects controlled by the terminal device. As shown in FIG. 4 , the method includes:

[0046] In step S410 , a plurality of layers disposed on the surface of the virtual object are displayed in a graphical user interface.

[0047] It should be noted that the layers in the embodiments of the present disclosure can be of any shape. For example, the layers can be square, rectangular, frame-shaped, or other shapes (e.g., circular). The layers can be displayed in the upper left, upper right, or other positions on the surface of the virtual object, and this exemplary embodiment does not limit this.

[0048] As an optional implementation, the player can choose to enter graffiti mode. Upon entering, the vehicle is locked at the current perspective. The player can then select decals by sliding the screen, making it easier for the player to observe the multiple layers on the surface of the virtual object. Exemplarily, this step may include the following steps: in response to a confirmation operation on the surface of the virtual object, displaying the virtual object and the multiple layers set on the surface of the virtual object at a specified display angle in the graphical user interface.

[0049] In actual applications, the virtual object can be any object in the game scene. For example, as shown in Figure 5, multiple layers such as layer A, layer B, layer C, layer D, layer E, and layer F placed on the surface of the racing car 501 (virtual object) are displayed in the graphical user interface.

[0050] Step S420 : In response to a sliding operation on any layer, determining at least one target layer involved in the sliding track of the sliding operation from multiple layers.

[0051] The sliding operation in the embodiment of the present disclosure may include multiple operation modes. For example, it may be a sliding operation performed on a graphical user interface on a display by a mouse in a computer, or it may be a sliding operation performed on a graphical user interface by a player's finger on a touch terminal.

[0052] In practical applications, there are multiple ways to determine whether the sliding track involves the target layer. All layers touched by the sliding track can be determined as the target layers involved by the sliding track, or all layers covered by the sliding track can be determined as the target layers involved by the sliding track, so as to make the determination of the target layer more accurate.

[0053] As an example, this step may include the following steps: in response to a sliding operation on any layer, determining at least one target layer contacted and / or covered by the sliding track of the sliding operation from multiple layers.

[0054] For example, as shown in FIG5 , the sliding track 502 corresponding to the player's sliding operation in the graphical user interface involves layer B, layer C, layer D, and layer E among the multiple layers, but does not involve layer A and layer F among the multiple layers. In this case, layer B, layer C, layer D, and layer E are determined as target layers, while layer A and layer F are determined as non-target layers.

[0055] As an optional implementation, the player can slide the screen to select decal layers, and all decal layers covered by the sliding track are determined as selected decal layers, that is, all decal layers covered by the sliding track of the player's sliding operation are determined as selected decal layers. Among them, for overlapping decal layers, all the overlapping upper and lower layers are selected.

[0056] Exemplarily, after this step, the method may further include the following step: in response to a confirmation operation on all target layers, determining all target layers as selected. For example, as shown in FIG5 , the selected target layers, namely, layer B, layer C, layer D, and layer E, may be displayed at the bottom of the graphical user interface.

[0057] As shown in Figure 5, if the player needs to change the target layer involved in the sliding track 502, he can select the reselection control 503 in the graphical user interface. The player can perform a second sliding operation again and determine at least one layer involved in the second sliding track corresponding to the second sliding operation as the target layer.

[0058] Step S430 , in response to the editing operation on the layer, collectively processing the setting effects of all target layers on the virtual object according to the editing operation.

[0059] The editing operations can include multiple batch editing methods, making batch editing of multiple target layers more flexible. For example, the editing operations can include any one or more of the following: combining multiple layers, mirroring, deleting, changing colors, adjusting positions, and adjusting sizes.

[0060] In actual applications, all target layers selected in the above step S420 can be uniformly batch edited. For example, as shown in Figure 5, all selected target layers, namely layer B, layer C, layer D and layer E, can be uniformly batch edited, such as batch grouping, one-click mirroring, one-click deletion, one-click color modification, batch position or size adjustment, etc.

[0061] In the disclosed embodiment, a sliding operation can be used to determine the target layer involved in the sliding trajectory of the sliding operation from multiple layers, and then all target layers can be uniformly batch processed, thereby realizing an efficient method of quick batch selection of layers. This method can meet the needs of scenarios with a large number of layers and the need for batch operations on layers, and improves the efficiency of batch selection and batch processing of layers when there are a large number of layers, such as efficiently batch selecting target decals through graffiti in a racing game.

[0062] The above steps are described in detail below.

[0063] In some embodiments, the sliding track can be made thinner when the sliding speed slows down, and thicker when the sliding speed increases, so as to improve the accuracy of selecting the target layer using the sliding track through the thickness of the sliding track. The thickness of the track can also be controlled by the player through the sliding speed, thereby improving the flexibility of using the sliding track. As an example, the above step S420 may include the following steps:

[0064] Step a), in response to a sliding operation on any layer, determining a sliding speed of the sliding operation;

[0065] Step b) if the sliding speed is greater than a preset speed, controlling the width of the sliding track of the sliding operation to increase, and determining at least one target layer involved in the sliding track after the width increase from the multiple layers;

[0066] Step c): if the sliding speed is less than or equal to the preset speed, controlling the width of the sliding track of the sliding operation to decrease, and determining at least one target layer involved in the sliding track after the width decreases from the multiple layers.

[0067] In the disclosed embodiment, the sliding track becomes thinner when the sliding speed slows down, and becomes thicker when the sliding speed increases. The thickness of the sliding track can improve the accuracy of selecting the target layer using the sliding track. Moreover, the thickness of the track can be controlled by the player through the sliding speed, thereby improving the flexibility of using the sliding track.

[0068] In some embodiments, the number of selected layers of overlapping layers can be determined by the pressure of the sliding operation, so that the number of overlapping layers under the sliding track can be selected more flexibly. As an example, the above step S420 may include the following steps:

[0069] Step d), in response to a sliding operation on any layer, determining an operation pressure strength of the sliding operation;

[0070] Step e) If the pressing force is greater than a predetermined force, determining that the number of overlapping layers involved in the sliding trajectory of the sliding operation has increased, and determining a target layer involved in the increased number of overlapping layers from the multiple layers;

[0071] Step f): if the operation pressure is less than or equal to the preset pressure, the number of overlapping layers involved in the sliding track of the sliding operation is determined to be reduced, and the target layer involved in the sliding track after the number of layers is reduced is determined from the multiple layers.

[0072] In practical applications, the operation pressure of the sliding operation can be determined first, and then the number of selected layers of the overlapping layers under the sliding track can be determined based on the operation pressure, so that the number of selected layers of the overlapping layers under the sliding track can be freely controlled by the player.

[0073] Based on the above steps d), e), and f), the above operation pressure can be determined by force sensing or finger touch area, so that the determination of the operation pressure is more efficient and accurate. As an example, the terminal device is a touch terminal; the above step d) may include the following steps:

[0074] Step g), in response to a sliding operation on any layer, sensing the touch force data of the sliding operation through the graphical user interface to determine the pressing force of the sliding operation; and / or

[0075] Step h) In response to a sliding operation on any layer, the operation pressure of the sliding operation is determined based on the touch area of ​​the sliding operation on the graphical user interface.

[0076] In practical applications, the operation pressure can be determined by the area of ​​the finger contacting the graphical user interface, or the graphical user interface sensing the force of the finger, so as to determine the operation pressure efficiently and accurately.

[0077] In some embodiments, multiple sliding operation tracks, such as the portion between two sliding operation tracks, can also be defaulted to the selected target layer, so that the method of selecting the target layer by sliding track is more efficient and flexible. As an example, the above step S420 may include the following steps:

[0078] Step i) in response to multiple sliding operations on any layer, determining multiple sliding tracks corresponding to the multiple sliding operations and at least one layer located between the multiple sliding tracks in the graphical user interface;

[0079] In step j), at least one layer located between the plurality of sliding tracks is determined as at least one target layer involved in the sliding track.

[0080] In actual applications, players can use multiple fingers to perform multiple sliding operations. For example, two fingers correspond to two sliding operations. The part between the sliding tracks of the two sliding operations can be defaulted to the selected target layer, and the selection method of selecting the target layer through the sliding track can be more efficient and flexible.

[0081] In some embodiments, when the sliding operation is a stroke operation between two layers, the layer to which the sliding track is closer can be determined as the target layer to improve the accuracy of determining the target layer. As an example, the above step S420 may include the following steps:

[0082] Step k), in response to a sliding operation on any layer, determining a sliding trajectory of the sliding operation;

[0083] Step 1) in response to the sliding track being located at a boundary between at least two layers, comparing the distances between the sliding track and the at least two layers, and determining that the distance between a first layer and the sliding track is greater than the distance between a second layer and the sliding track;

[0084] Step m): determining the second layer as the target layer involved in the sliding track.

[0085] In actual applications, if a sliding operation becomes a stroke operation between two layers but does not touch any of the two layers, the layer to which the sliding track is closer can be determined as the target layer, thereby improving the accuracy of determining the target layer.

[0086] FIG6 provides a schematic diagram of the structure of a layer processing device in a game. A graphical user interface is provided via a terminal device. The graphical user interface includes at least a portion of a game scene, and the game scene includes virtual objects controlled by the terminal device. As shown in FIG6 , the layer processing device 600 in the game includes:

[0087] The display module 601 is configured to display a plurality of layers provided on the surface of the virtual object in the graphical user interface;

[0088] The determining module 602 is configured to, in response to a sliding operation on any of the layers, determine at least one target layer involved in a sliding track of the sliding operation from the multiple layers;

[0089] The processing module 603 is configured to execute, in response to an editing operation on the layer, a common processing of setting effects of all the target layers on the virtual object according to the editing operation.

[0090] Through the above method, the target layer involved in the sliding track of the sliding operation can be determined from multiple layers through the sliding operation, and then all target layers can be uniformly batch processed, realizing a quick and efficient way to batch select layers, which can meet the scenarios with many layers and the need for batch operations on layers, improves the efficiency of batch selecting and batch processing layers when there are a large number of layers, and alleviates the technical problem of low efficiency in batch processing of multiple layers when there are a large number of layers.

[0091] In a feasible implementation scheme, the determination module is specifically configured to:

[0092] In response to a sliding operation on any of the layers, determining a sliding speed of the sliding operation;

[0093] If the sliding speed is greater than a preset speed, controlling the width of the sliding track of the sliding operation to increase, and determining at least one target layer involved in the sliding track after the width increase from the multiple layers;

[0094] If the sliding speed is less than or equal to the preset speed, the width of the sliding track of the sliding operation is controlled to decrease, and at least one target layer involved in the sliding track after the width is reduced is determined from the multiple layers.

[0095] In one feasible implementation, the determination module is specifically configured to execute:

[0096] In response to a sliding operation on any of the layers, determining an operation pressure intensity of the sliding operation;

[0097] If the pressing force of the operation is greater than a preset force, determining that the number of overlapping layers involved in the sliding track of the sliding operation is increased, and determining a target layer involved in the increased number of overlapping layers from the multiple layers;

[0098] If the operation pressing force is less than or equal to the preset force, it is determined that the number of overlapping layers involved in the sliding trajectory of the sliding operation is reduced, and the target layer with the reduced number of layers involved in the sliding trajectory is determined from the multiple layers.

[0099] In a feasible implementation manner, the terminal device is a touch terminal; and the determination module is further configured to execute:

[0100] In response to a sliding operation on any of the layers, determining the pressing force of the sliding operation by sensing the touch force data of the sliding operation by the graphical user interface; and / or

[0101] In response to a sliding operation on any of the layers, an operation pressure intensity of the sliding operation is determined according to a touch area of ​​the sliding operation on the graphical user interface.

[0102] In one feasible embodiment, the determination module is further configured to execute:

[0103] In response to a plurality of sliding operations on any of the layers, determining a plurality of sliding tracks corresponding to the plurality of sliding operations, and at least one layer located between the plurality of sliding tracks in the graphical user interface;

[0104] At least one layer located between the plurality of sliding tracks is determined as at least one target layer involved in the sliding track.

[0105] In one feasible embodiment, the determination module is further configured to execute:

[0106] In response to a sliding operation on any of the layers, determining a sliding track of the sliding operation;

[0107] In response to the sliding track being located at a boundary between at least two of the layers, comparing distances between the sliding track and the at least two layers, and determining that a distance between a first layer of the at least two layers and the sliding track is greater than a distance between a second layer and the sliding track;

[0108] The second layer is determined as the target layer involved in the sliding track.

[0109] In one feasible embodiment, the determination module is further configured to execute:

[0110] In response to a sliding operation on any of the layers, at least one target layer contacted and / or covered by a sliding track of the sliding operation is determined from the multiple layers.

[0111] In a feasible embodiment, the display module is specifically configured to perform:

[0112] In response to a confirmation operation for setting the surface of the virtual object, the virtual object and a plurality of layers set on the surface of the virtual object are displayed in the graphical user interface at a specified display angle.

[0113] In a feasible implementation manner, the determination module is further configured to execute: in response to a confirmation operation on all the target layers, determining all the target layers to be in a selected state.

[0114] In a feasible embodiment, the editing operation includes any one or more of the following:

[0115] The layers may be combined, mirrored, deleted, changed in color, adjusted in position, or resized.

[0116] The layer processing device in the game provided by the embodiment of the present disclosure has the same technical features as the layer processing method in the game provided by the above embodiment, so it can also solve the same technical problems and achieve the same technical effects.

[0117] FIG7 shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, including: a processor 701, a storage medium 702, and a bus 703. The storage medium 702 stores machine-readable instructions executable by the processor 701. When the electronic device runs a layer processing method in a game according to the embodiment, the processor 701 communicates with the storage medium 702 via the bus 703. The processor 701 executes the machine-readable instructions. The processor 701 performs the preamble of the method item to perform the following steps:

[0118] displaying a plurality of layers disposed on a surface of the virtual object in the graphical user interface;

[0119] In response to a sliding operation on any of the layers, determining at least one target layer involved in a sliding track of the sliding operation from the multiple layers;

[0120] In response to an editing operation on the layer, setting effects of all the target layers on the virtual object are processed together according to the editing operation.

[0121] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0122] In response to a sliding operation on any of the layers, determining a sliding speed of the sliding operation;

[0123] If the sliding speed is greater than a preset speed, controlling the width of the sliding track of the sliding operation to increase, and determining at least one target layer involved in the sliding track after the width increase from the multiple layers;

[0124] If the sliding speed is less than or equal to the preset speed, the width of the sliding track of the sliding operation is controlled to decrease, and at least one target layer involved in the sliding track after the width is reduced is determined from the multiple layers.

[0125] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0126] In response to a sliding operation on any of the layers, determining an operation pressure intensity of the sliding operation;

[0127] If the pressing force of the operation is greater than a preset force, determining that the number of overlapping layers involved in the sliding track of the sliding operation is increased, and determining a target layer involved in the increased number of overlapping layers from the multiple layers;

[0128] If the operation pressing force is less than or equal to the preset force, it is determined that the number of overlapping layers involved in the sliding trajectory of the sliding operation is reduced, and the target layer with the reduced number of layers involved in the sliding trajectory is determined from the multiple layers.

[0129] In a feasible embodiment, the terminal device is a touch terminal; when the processor determines the pressure of the sliding operation in response to the sliding operation on any of the layers, the processor is specifically configured to perform:

[0130] In response to a sliding operation on any of the layers, determining the pressing force of the sliding operation by sensing the touch force data of the sliding operation by the graphical user interface; and / or

[0131] In response to a sliding operation on any of the layers, an operation pressure intensity of the sliding operation is determined according to a touch area of ​​the sliding operation on the graphical user interface.

[0132] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0133] In response to a plurality of sliding operations on any of the layers, determining a plurality of sliding tracks corresponding to the plurality of sliding operations, and at least one layer located between the plurality of sliding tracks in the graphical user interface;

[0134] At least one layer located between the plurality of sliding tracks is determined as at least one target layer involved in the sliding track.

[0135] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0136] In response to a sliding operation on any of the layers, determining a sliding track of the sliding operation;

[0137] In response to the sliding track being located at a boundary between at least two of the layers, comparing distances between the sliding track and the at least two layers, and determining that a distance between a first layer of the at least two layers and the sliding track is greater than a distance between a second layer and the sliding track;

[0138] The second layer is determined as the target layer involved in the sliding track.

[0139] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0140] In response to a sliding operation on any of the layers, at least one target layer contacted and / or covered by a sliding track of the sliding operation is determined from the multiple layers.

[0141] In a feasible embodiment, when the processor displays multiple layers set on the surface of the virtual object in the graphical user interface, the processor is specifically configured to execute:

[0142] In response to a confirmation operation for setting the surface of the virtual object, the virtual object and a plurality of layers set on the surface of the virtual object are displayed in the graphical user interface at a specified display angle.

[0143] In a feasible embodiment, in response to a sliding operation on any of the layers, after determining at least one target layer involved in the sliding track of the sliding operation from the multiple layers, the processor is further configured to execute:

[0144] In response to the confirmation operation on all the target layers, all the target layers are determined to be in a selected state.

[0145] In a feasible embodiment, the editing operation includes any one or more of the following:

[0146] The layers may be combined, mirrored, deleted, changed in color, adjusted in position, or resized.

[0147] Through the above method, the target layer involved in the sliding track of the sliding operation can be determined from multiple layers through the sliding operation, and then all target layers can be uniformly batch processed, realizing a quick and efficient way to batch select layers, which can meet the scenarios with many layers and the need for batch operations on layers, improves the efficiency of batch selecting and batch processing layers when there are a large number of layers, and alleviates the technical problem of low efficiency in batch processing of multiple layers when there are a large number of layers.

[0148] In practical applications, the memory 701 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage. The system network element communicates with at least one other network element via at least one communication interface 704 (which may be wired or wireless), and may utilize the Internet, a wide area network, a local area network, a metropolitan area network, or the like.

[0149] Bus 703 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG7 shows only one bidirectional arrow, but this does not mean that there is only one bus or one type of bus.

[0150] Among them, the memory 701 is used to store programs, and the processor 702 executes the program after receiving the execution instruction. The method executed by the device defined by the process disclosed in any embodiment of the present disclosure can be applied to the processor 702 or implemented by the processor 702.

[0151] The processor 702 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 702 or software instructions. The above processor 702 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in memory 701, and processor 702 reads the information in memory 701 and, in conjunction with its hardware, completes the steps of the above method.

[0152] The present disclosure also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium. The computer program is executed by a processor when the processor is running, and the processor performs the following steps:

[0153] displaying a plurality of layers disposed on a surface of the virtual object in the graphical user interface;

[0154] In response to a sliding operation on any of the layers, determining at least one target layer involved in a sliding track of the sliding operation from the multiple layers;

[0155] In response to an editing operation on the layer, setting effects of all the target layers on the virtual object are processed together according to the editing operation.

[0156] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0157] In response to a sliding operation on any of the layers, determining a sliding speed of the sliding operation;

[0158] If the sliding speed is greater than a preset speed, controlling the width of the sliding track of the sliding operation to increase, and determining at least one target layer involved in the sliding track after the width increase from the multiple layers;

[0159] If the sliding speed is less than or equal to the preset speed, the width of the sliding track of the sliding operation is controlled to decrease, and at least one target layer involved in the sliding track after the width is reduced is determined from the multiple layers.

[0160] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0161] In response to a sliding operation on any of the layers, determining an operation pressure intensity of the sliding operation;

[0162] If the pressing force of the operation is greater than a preset force, determining that the number of overlapping layers involved in the sliding track of the sliding operation is increased, and determining a target layer involved in the increased number of overlapping layers from the multiple layers;

[0163] If the operation pressing force is less than or equal to the preset force, it is determined that the number of overlapping layers involved in the sliding trajectory of the sliding operation is reduced, and the target layer with the reduced number of layers involved in the sliding trajectory is determined from the multiple layers.

[0164] In a feasible embodiment, the terminal device is a touch terminal; when the processor determines the pressure of the sliding operation in response to the sliding operation on any of the layers, the processor is specifically configured to perform:

[0165] In response to a sliding operation on any of the layers, determining the pressing force of the sliding operation by sensing the touch force data of the sliding operation by the graphical user interface; and / or

[0166] In response to a sliding operation on any of the layers, an operation pressure intensity of the sliding operation is determined according to a touch area of ​​the sliding operation on the graphical user interface.

[0167] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0168] In response to a plurality of sliding operations on any of the layers, determining a plurality of sliding tracks corresponding to the plurality of sliding operations, and at least one layer located between the plurality of sliding tracks in the graphical user interface;

[0169] At least one layer located between the plurality of sliding tracks is determined as at least one target layer involved in the sliding track.

[0170] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0171] In response to a sliding operation on any of the layers, determining a sliding track of the sliding operation;

[0172] In response to the sliding track being located at a boundary between at least two of the layers, comparing distances between the sliding track and the at least two layers, and determining that a distance between a first layer of the at least two layers and the sliding track is greater than a distance between a second layer and the sliding track;

[0173] The second layer is determined as the target layer involved in the sliding track.

[0174] In a feasible embodiment, when the processor determines at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the processor is specifically configured to execute:

[0175] In response to a sliding operation on any of the layers, at least one target layer contacted and / or covered by a sliding track of the sliding operation is determined from the multiple layers.

[0176] In a feasible embodiment, when the processor displays multiple layers set on the surface of the virtual object in the graphical user interface, the processor is specifically configured to execute:

[0177] In response to a confirmation operation for setting the surface of the virtual object, the virtual object and a plurality of layers set on the surface of the virtual object are displayed in the graphical user interface at a specified display angle.

[0178] In a feasible embodiment, in response to a sliding operation on any of the layers, after determining at least one target layer involved in the sliding track of the sliding operation from the multiple layers, the processor is further configured to execute:

[0179] In response to the confirmation operation on all the target layers, all the target layers are determined to be in a selected state.

[0180] In a feasible embodiment, the editing operation includes any one or more of the following:

[0181] The layers may be combined, mirrored, deleted, changed in color, adjusted in position, or resized.

[0182] Through the above method, the target layer involved in the sliding track of the sliding operation can be determined from multiple layers through the sliding operation, and then all target layers can be uniformly batch processed, realizing a quick and efficient way to batch select layers, which can meet the scenarios with many layers and the need for batch operations on layers, improves the efficiency of batch selecting and batch processing layers when there are a large number of layers, and alleviates the technical problem of low efficiency in batch processing of multiple layers when there are a large number of layers.

[0183] In the embodiments of the present disclosure, the computer program can also execute other machine-readable instructions when run by the processor to execute methods as described in other embodiments. For the specific execution method steps and principles, please refer to the description of the embodiments and will not be repeated here.

[0184] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0185] For another example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0186] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0187] In addition, each functional unit in the embodiments provided in the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0188] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the layer processing method in the game described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program code.

[0189] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.

[0190] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above-mentioned embodiments, ordinary technicians in this field should understand that any technician familiar with this technical field can still modify the technical solutions described in the above-mentioned embodiments within the technical scope disclosed in the present disclosure, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present disclosure. They should all be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for processing layers in a game, wherein a terminal device provides a graphical user interface, wherein the graphical user interface includes at least part of a game scene of the game, and wherein the game scene includes a virtual object controlled by the terminal device; the method comprises: displaying, in the graphical user interface, a plurality of layers disposed on a surface of the virtual object; In response to a sliding operation on any of the layers, determining at least one target layer involved in a sliding track of the sliding operation from the multiple layers; In response to an editing operation on the layer, setting effects of all the target layers on the virtual object are processed together according to the editing operation.

2. The method according to claim 1, wherein: The step of determining, in response to a sliding operation on any of the layers, at least one target layer involved in a sliding track of the sliding operation from the multiple layers comprises: In response to a sliding operation on any of the layers, determining a sliding speed of the sliding operation; If the sliding speed is greater than a preset speed, the width of the sliding track of the sliding operation is controlled to increase, and at least one target layer involved in the sliding track after the width increase is determined from the multiple layers; If the sliding speed is less than or equal to the preset speed, the width of the sliding track of the sliding operation is controlled to be reduced, and at least one target layer involved in the sliding track after the width is reduced is determined from the multiple layers.

3. The method according to claim 1, wherein: The step of determining, in response to a sliding operation on any of the layers, at least one target layer involved in a sliding track of the sliding operation from the multiple layers comprises: In response to a sliding operation on any of the layers, determining an operation pressure intensity of the sliding operation; If the operation pressing force is greater than a preset force, determining that the number of overlapping layers involved in the sliding track of the sliding operation increases, and determining a target layer involved in the increased number of layers from the multiple layers; If the operation pressing force is less than or equal to the preset force, it is determined that the number of overlapping layers involved in the sliding track of the sliding operation is reduced, and the target layer with the reduced number of layers involved in the sliding track is determined from the multiple layers.

4. The method according to claim 3, wherein: The terminal device is a touch terminal; the step of determining the pressure of the sliding operation in response to the sliding operation on any of the layers includes: In response to a sliding operation on any of the layers, determining the operation pressure of the sliding operation through the touch force sensing data of the sliding operation by the graphical user interface; and / or, In response to a sliding operation on any of the layers, an operation pressure intensity of the sliding operation is determined according to a touch area of ​​the sliding operation on the graphical user interface.

5. The method according to claim 1, wherein: The step of determining, in response to a sliding operation on any of the layers, at least one target layer involved in a sliding track of the sliding operation from the multiple layers comprises: In response to a plurality of sliding operations on any of the layers, determining a plurality of sliding tracks corresponding to the plurality of sliding operations, and at least one layer located between the plurality of sliding tracks in the graphical user interface; At least one layer located between the plurality of sliding tracks is determined as at least one target layer involved in the sliding track.

6. The method according to claim 1, wherein: The step of determining, in response to a sliding operation on any of the layers, at least one target layer involved in a sliding track of the sliding operation from the multiple layers comprises: In response to a sliding operation on any of the layers, determining a sliding track of the sliding operation; In response to the sliding track being located at a boundary between at least two of the layers, comparing the distances between the sliding track and the at least two layers, and determining that the distance between a first layer of the at least two layers and the sliding track is greater than the distance between a second layer and the sliding track; The second layer is determined as the target layer involved in the sliding track.

7. The method according to claim 1, wherein: The step of determining, in response to a sliding operation on any of the layers, at least one target layer involved in a sliding track of the sliding operation from the multiple layers comprises: In response to a sliding operation on any of the layers, at least one target layer contacted and / or covered by a sliding track of the sliding operation is determined from the multiple layers.

8. The method according to claim 1, wherein: The step of displaying a plurality of layers arranged on the surface of the virtual object in the graphical user interface comprises: In response to a confirmation operation for setting the surface of the virtual object, the virtual object and a plurality of layers set on the surface of the virtual object are displayed in the graphical user interface at a specified display angle.

9. The method according to claim 1, wherein: After the step of determining at least one target layer involved in the sliding track of the sliding operation from the multiple layers in response to the sliding operation on any of the layers, the method further includes: In response to the confirmation operation on all the target layers, all the target layers are determined to be in a selected state.

10. The method according to claim 1, wherein: The editing operation includes any one or more of the following: A combination operation, a mirroring operation, a deletion operation, a color change operation, a position adjustment operation, and a size adjustment operation of the plurality of layers.

11. A layer processing device in a game, providing a graphical user interface through a terminal device, wherein the graphical user interface includes at least part of a game scene of the game, and the game scene includes a virtual object controlled by the terminal device; comprising: A display module configured to display a plurality of layers disposed on a surface of the virtual object in the graphical user interface; a determination module configured to execute, in response to a sliding operation on any of the layers, determining at least one target layer involved in a sliding track of the sliding operation from the multiple layers; The processing module is configured to execute a response to an editing operation on the layer and to jointly process setting effects of all the target layers on the virtual object according to the editing operation.

12. An electronic terminal comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor implements the method according to any one of claims 1 to 10 when executing the computer program.

13. A computer-readable storage medium storing computer-executable instructions, wherein when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Method for adjusting layer of control and mobile terminal

    CN105677178A

  • Layer selection method, system and computer storage medium

    CN110471658A

  • Interaction method and browser for multi-layer animation display

    CN112882637A

  • Image processing method and system and storage medium

    CN113703652A

  • Overlapped layer selection method and device, electronic equipment and storage medium

    CN115576479A